vendor: 28,184 bytes, lines 1-9
1function p$(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(n,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>n[a]})}}}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 a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();var Ap=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lv={exports:{}},yu={};/** 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 WA;function h$(){if(WA)return yu;WA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,a,o){var l=null;if(o!==void 0&&(l=""+o),a.key!==void 0&&(l=""+a.key),"key"in a){o={};for(var c in a)c!=="key"&&(o[c]=a[c])}else o=a;return a=o.ref,{$$typeof:e,type:n,key:l,ref:a!==void 0?a:null,props:o}}return yu.Fragment=t,yu.jsx=r,yu.jsxs=r,yu}var ZA;function m$(){return ZA||(ZA=1,Lv.exports=h$()),Lv.exports}var d=m$(),hs=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(){}},g$={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},y$=class{#t=g$;#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)}},Fo=new y$;function v$(e){setTimeout(e,0)}var ts=typeof window>"u"||"Deno"in globalThis;function vr(){}function x$(e,t){return typeof e=="function"?e(t):e}function p2(e){return typeof e=="number"&&e>=0&&e!==1/0}function wP(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ui(e,t){return typeof e=="function"?e(t):e}function Cn(e,t){return typeof e=="function"?e(t):e}function KA(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:o,queryKey:l,stale:c}=e;if(l){if(n){if(t.queryHash!==Sw(l,t.options))return!1}else if(!Vu(t.queryKey,l))return!1}if(r!=="all"){const f=t.isActive();if(r==="active"&&!f||r==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||o&&!o(t))}function VA(e,t){const{exact:r,status:n,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(Zi(t.options.mutationKey)!==Zi(o))return!1}else if(!Vu(t.options.mutationKey,o))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function Sw(e,t){return(t?.queryKeyHashFn||Zi)(e)}function Zi(e){return JSON.stringify(e,(t,r)=>h2(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function Vu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Vu(e[r],t[r])):!1}var b$=Object.prototype.hasOwnProperty;function ww(e,t){if(e===t)return e;const r=QA(e)&&QA(t);if(!r&&!(h2(e)&&h2(t)))return t;const a=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),l=o.length,c=r?new Array(l):{};let f=0;for(let p=0;p<l;p++){const g=r?p:o[p],m=e[g],y=t[g];if(m===y){c[g]=m,(r?p<a:b$.call(e,g))&&f++;continue}if(m===null||y===null||typeof m!="object"||typeof y!="object"){c[g]=y;continue}const b=ww(m,y);c[g]=b,b===m&&f++}return a===l&&f===a?e:c}function Qu(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function QA(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function h2(e){if(!YA(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!YA(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function YA(e){return Object.prototype.toString.call(e)==="[object Object]"}function S$(e){return new Promise(t=>{Fo.setTimeout(t,e)})}function m2(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?ww(e,t):t}function w$(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function C$(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var rn=Symbol();function CP(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===rn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function jP(e,t){return typeof e=="function"?e(...t):!!e}var j$=class extends hs{#t;#e;#r;constructor(){super(),this.#r=e=>{if(!ts&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#r=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"}},Cw=new j$;function g2(){let e,t;const r=new Promise((a,o)=>{e=a,t=o});r.status="pending",r.catch(()=>{});function n(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{n({status:"fulfilled",value:a}),e(a)},r.reject=a=>{n({status:"rejected",reason:a}),t(a)},r}var O$=v$;function N$(){let e=[],t=0,r=c=>{c()},n=c=>{c()},a=O$;const o=c=>{t?e.push(c):a(()=>{r(c)})},l=()=>{const c=e;e=[],c.length&&a(()=>{n(()=>{c.forEach(f=>{r(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||l()}return f},batchCalls:c=>(...f)=>{o(()=>{c(...f)})},schedule:o,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{n=c},setScheduler:c=>{a=c}}}var Tt=N$(),A$=class extends hs{#t=!0;#e;#r;constructor(){super(),this.#r=e=>{if(!ts&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#r=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#t}},sh=new A$;function D$(e){return Math.min(1e3*2**e,3e4)}function OP(e){return(e??"online")==="online"?sh.isOnline():!0}var y2=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function NP(e){let t=!1,r=0,n;const a=g2(),o=()=>a.status!=="pending",l=x=>{if(!o()){const w=new y2(x);y(w),e.onCancel?.(w)}},c=()=>{t=!0},f=()=>{t=!1},p=()=>Cw.isFocused()&&(e.networkMode==="always"||sh.isOnline())&&e.canRun(),g=()=>OP(e.networkMode)&&e.canRun(),m=x=>{o()||(n?.(),a.resolve(x))},y=x=>{o()||(n?.(),a.reject(x))},b=()=>new Promise(x=>{n=w=>{(o()||p())&&x(w)},e.onPause?.()}).then(()=>{n=void 0,o()||e.onContinue?.()}),C=()=>{if(o())return;let x;const w=r===0?e.initialPromise:void 0;try{x=w??e.fn()}catch(j){x=Promise.reject(j)}Promise.resolve(x).then(m).catch(j=>{if(o())return;const A=e.retry??(ts?0:3),_=e.retryDelay??D$,M=typeof _=="function"?_(r,j):_,N=A===!0||typeof A=="number"&&r<A||typeof A=="function"&&A(r,j);if(t||!N){y(j);return}r++,e.onFail?.(r,j),S$(M).then(()=>p()?void 0:b()).then(()=>{t?y(j):C()})})};return{promise:a,status:()=>a.status,cancel:l,continue:()=>(n?.(),a),cancelRetry:c,continueRetry:f,canStart:g,start:()=>(g()?C():b().then(C),a)}}var AP=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),p2(this.gcTime)&&(this.#t=Fo.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ts?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Fo.clearTimeout(this.#t),this.#t=void 0)}},_$=class extends AP{#t;#e;#r;#a;#n;#i;#s;constructor(e){super(),this.#s=!1,this.#i=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.#t=XA(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=XA(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const r=m2(this.state.data,e,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(vr).catch(vr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>Cn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===rn||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ui(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:!wP(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.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.#n&&(this.#s?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(f=>f.options.queryFn);c&&this.setOptions(c.options)}const r=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#s=!0,r.signal)})},a=()=>{const c=CP(this.options,t),p=(()=>{const g={client:this.#a,queryKey:this.queryKey,meta:this.meta};return n(g),g})();return this.#s=!1,this.options.persister?this.options.persister(c,p,this):c(p)},l=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return n(c),c})();this.options.behavior?.onFetch(l,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#o({type:"fetch",meta:l.fetchOptions?.meta}),this.#n=NP({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:c=>{c instanceof y2&&c.revert&&this.setState({...this.#e,fetchStatus:"idle"}),r.abort()},onFail:(c,f)=>{this.#o({type:"failed",failureCount:c,error:f})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const c=await this.#n.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#r.config.onSuccess?.(c,this),this.#r.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof y2){if(c.silent)return this.#n.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#o({type:"error",error:c}),this.#r.config.onError?.(c,this),this.#r.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#o(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...DP(r.data,this.options),fetchMeta:e.meta??null};case"success":const n={...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?n:void 0,n;case"error":const a=e.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),Tt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function DP(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:OP(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function XA(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Wd=class extends hs{constructor(e,t){super(),this.options=t,this.#t=e,this.#o=null,this.#s=g2(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#r=void 0;#a=void 0;#n;#i;#s;#o;#p;#d;#f;#c;#u;#l;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),JA(this.#e,this.options)?this.#h():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return v2(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return v2(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#S(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,r=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 Cn(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&&!Qu(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const n=this.hasListeners();n&&e5(this.#e,r,this.options,t)&&this.#h(),this.updateResult(),n&&(this.#e!==r||Cn(this.options.enabled,this.#e)!==Cn(t.enabled,this.#e)||Ui(this.options.staleTime,this.#e)!==Ui(t.staleTime,this.#e))&&this.#g();const a=this.#y();n&&(this.#e!==r||Cn(this.options.enabled,this.#e)!==Cn(t.enabled,this.#e)||a!==this.#l)&&this.#v(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),r=this.createResult(t,e);return T$(this,r)&&(this.#a=r,this.#i=this.options,this.#n=this.#e.state),r}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(r,n)=>(this.trackProp(n),t?.(n),n==="promise"&&!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),r=this.#t.getQueryCache().build(this.#t,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#h(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(vr)),t}#g(){this.#b();const e=Ui(this.options.staleTime,this.#e);if(ts||this.#a.isStale||!p2(e))return;const r=wP(this.#a.dataUpdatedAt,e)+1;this.#c=Fo.setTimeout(()=>{this.#a.isStale||this.updateResult()},r)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#S(),this.#l=e,!(ts||Cn(this.options.enabled,this.#e)===!1||!p2(this.#l)||this.#l===0)&&(this.#u=Fo.setInterval(()=>{(this.options.refetchIntervalInBackground||Cw.isFocused())&&this.#h()},this.#l))}#x(){this.#g(),this.#v(this.#y())}#b(){this.#c&&(Fo.clearTimeout(this.#c),this.#c=void 0)}#S(){this.#u&&(Fo.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const r=this.#e,n=this.options,a=this.#a,o=this.#n,l=this.#i,f=e!==r?e.state:this.#r,{state:p}=e;let g={...p},m=!1,y;if(t._optimisticResults){const P=this.hasListeners(),R=!P&&JA(e,t),F=P&&e5(e,r,t,n);(R||F)&&(g={...g,...DP(p.data,e.options)}),t._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:b,errorUpdatedAt:C,status:x}=g;y=g.data;let w=!1;if(t.placeholderData!==void 0&&y===void 0&&x==="pending"){let P;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(P=a.data,w=!0):P=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,P!==void 0&&(x="success",y=m2(a?.data,P,t),m=!0)}if(t.select&&y!==void 0&&!w)if(a&&y===o?.data&&t.select===this.#p)y=this.#d;else try{this.#p=t.select,y=t.select(y),y=m2(a?.data,y,t),this.#d=y,this.#o=null}catch(P){this.#o=P}this.#o&&(b=this.#o,y=this.#d,C=Date.now(),x="error");const j=g.fetchStatus==="fetching",A=x==="pending",_=x==="error",M=A&&j,N=y!==void 0,O={status:x,fetchStatus:g.fetchStatus,isPending:A,isSuccess:x==="success",isError:_,isInitialLoading:M,isLoading:M,data:y,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:C,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:j,isRefetching:j&&!A,isLoadingError:_&&!N,isPaused:g.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:_&&N,isStale:jw(e,t),refetch:this.refetch,promise:this.#s,isEnabled:Cn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const P=I=>{O.status==="error"?I.reject(O.error):O.data!==void 0&&I.resolve(O.data)},R=()=>{const I=this.#s=O.promise=g2();P(I)},F=this.#s;switch(F.status){case"pending":e.queryHash===r.queryHash&&P(F);break;case"fulfilled":(O.status==="error"||O.data!==F.value)&&R();break;case"rejected":(O.status!=="error"||O.error!==F.reason)&&R();break}}return O}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#n=this.#e.state,this.#i=this.options,this.#n.data!==void 0&&(this.#f=this.#e),Qu(t,e))return;this.#a=t;const r=()=>{if(!e)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!this.#m.size)return!0;const o=new Set(a??this.#m);return this.options.throwOnError&&o.add("error"),Object.keys(this.#a).some(l=>{const c=l;return this.#a[c]!==e[c]&&o.has(c)})};this.#C({listeners:r()})}#w(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#C(e){Tt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function E$(e,t){return Cn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function JA(e,t){return E$(e,t)||e.state.data!==void 0&&v2(e,t,t.refetchOnMount)}function v2(e,t,r){if(Cn(t.enabled,e)!==!1&&Ui(t.staleTime,e)!=="static"){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&jw(e,t)}return!1}function e5(e,t,r,n){return(e!==t||Cn(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&jw(e,r)}function jw(e,t){return Cn(t.enabled,e)!==!1&&e.isStaleByTime(Ui(t.staleTime,e))}function T$(e,t){return!Qu(e.getCurrentResult(),t)}function lh(e){return{onFetch:(t,r)=>{const n=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},f=0;const p=async()=>{let g=!1;const m=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=CP(t.options,t.fetchOptions),b=async(C,x,w)=>{if(g)return Promise.reject();if(x==null&&C.pages.length)return Promise.resolve(C);const A=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:x,direction:w?"backward":"forward",meta:t.options.meta};return m(D),D})(),_=await y(A),{maxPages:M}=t.options,N=w?C$:w$;return{pages:N(C.pages,_,M),pageParams:N(C.pageParams,x,M)}};if(a&&o.length){const C=a==="backward",x=C?_P:x2,w={pages:o,pageParams:l},j=x(n,w);c=await b(w,j,C)}else{const C=e??o.length;do{const x=f===0?l[0]??n.initialPageParam:x2(n,c);if(f>0&&x==null)break;c=await b(c,x),f++}while(f<C)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=p}}}function x2(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function _P(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function P$(e,t){return t?x2(e,t)!=null:!1}function M$(e,t){return!t||!e.getPreviousPageParam?!1:_P(e,t)!=null}var EP=class extends Wd{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:lh()})}getOptimisticResult(e){return e.behavior=lh(),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:r}=e,n=super.createResult(e,t),{isFetching:a,isRefetching:o,isError:l,isRefetchError:c}=n,f=r.fetchMeta?.fetchMore?.direction,p=l&&f==="forward",g=a&&f==="forward",m=l&&f==="backward",y=a&&f==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:P$(t,r.data),hasPreviousPage:M$(t,r.data),isFetchNextPageError:p,isFetchingNextPage:g,isFetchPreviousPageError:m,isFetchingPreviousPage:y,isRefetchError:c&&!p&&!m,isRefetching:o&&!g&&!y}}},R$=class extends AP{#t;#e;#r;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#e=[],this.state=e.state||TP(),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.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#r.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#n({type:"continue"})},r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=NP({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(o,l)=>{this.#n({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#n({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});const n=this.state.status==="pending",a=!this.#a.canStart();try{if(n)t();else{this.#n({type:"pending",variables:e,isPaused:a}),await this.#r.config.onMutate?.(e,this,r);const l=await this.options.onMutate?.(e,r);l!==this.state.context&&this.#n({type:"pending",context:l,variables:e,isPaused:a})}const o=await this.#a.start();return await this.#r.config.onSuccess?.(o,e,this.state.context,this,r),await this.options.onSuccess?.(o,e,this.state.context,r),await this.#r.config.onSettled?.(o,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(o,null,e,this.state.context,r),this.#n({type:"success",data:o}),o}catch(o){try{throw await this.#r.config.onError?.(o,e,this.state.context,this,r),await this.options.onError?.(o,e,this.state.context,r),await this.#r.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,o,e,this.state.context,r),o}finally{this.#n({type:"error",error:o})}}finally{this.#r.runNext(this)}}#n(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Tt.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function TP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var k$=class extends hs{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#r=0}#t;#e;#r;build(e,t,r){const n=new R$({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#t.add(e);const t=Dp(e);if(typeof t=="string"){const r=this.#e.get(t);r?r.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Dp(e);if(typeof t=="string"){const r=this.#e.get(t);if(r)if(r.length>1){const n=r.indexOf(e);n!==-1&&r.splice(n,1)}else r[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Dp(e);if(typeof t=="string"){const n=this.#e.get(t)?.find(a=>a.state.status==="pending");return!n||n===e}else return!0}runNext(e){const t=Dp(e);return typeof t=="string"?this.#e.get(t)?.find(n=>
9n!==e&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Tt.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(r=>VA(t,r))}findAll(e={}){return this.getAll().filter(t=>VA(e,t))}notify(e){Tt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Tt.batch(()=>Promise.all(e.map(t=>t.continue().catch(vr))))}};function Dp(e){return e.options.scope?.id}var I$=class extends hs{#t;#e=void 0;#r;#a;constructor(t,r){super(),this.#t=t,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const r=this.options;this.options=this.#t.defaultMutationOptions(t),Qu(this.options,r)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),r?.mutationKey&&this.options.mutationKey&&Zi(r.mutationKey)!==Zi(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#i()}mutate(t,r){return this.#a=r,this.#r?.removeObserver(this),this.#r=this.#t.getMutationCache().build(this.#t,this.options),this.#r.addObserver(this),this.#r.execute(t)}#n(){const t=this.#r?.state??TP();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){Tt.batch(()=>{if(this.#a&&this.hasListeners()){const r=this.#e.variables,n=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#a.onSuccess?.(t.data,r,n,a),this.#a.onSettled?.(t.data,null,r,n,a)):t?.type==="error"&&(this.#a.onError?.(t.error,r,n,a),this.#a.onSettled?.(void 0,t.error,r,n,a))}this.listeners.forEach(r=>{r(this.#e)})})}};function t5(e,t){const r=new Set(t);return e.filter(n=>!r.has(n))}function z$(e,t,r){const n=e.slice(0);return n[t]=r,n}var $$=class extends hs{#t;#e;#r;#a;#n;#i;#s;#o;#p=[];constructor(e,t,r){super(),this.#t=e,this.#a=r,this.#r=[],this.#n=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#n.forEach(e=>{e.subscribe(t=>{this.#u(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#n.forEach(e=>{e.destroy()})}setQueries(e,t){this.#r=e,this.#a=t,Tt.batch(()=>{const r=this.#n,n=this.#c(this.#r);this.#p=n,n.forEach(g=>g.observer.setOptions(g.defaultedQueryOptions));const a=n.map(g=>g.observer),o=a.map(g=>g.getCurrentResult()),l=r.length!==a.length,c=a.some((g,m)=>g!==r[m]),f=l||c,p=f?!0:o.some((g,m)=>{const y=this.#e[m];return!y||!Qu(g,y)});!f&&!p||(f&&(this.#n=a),this.#e=o,this.hasListeners()&&(f&&(t5(r,a).forEach(g=>{g.destroy()}),t5(a,r).forEach(g=>{g.subscribe(m=>{this.#u(g,m)})})),this.#l()))})}getCurrentResult(){return this.#e}getQueries(){return this.#n.map(e=>e.getCurrentQuery())}getObservers(){return this.#n}getOptimisticResult(e,t){const r=this.#c(e),n=r.map(a=>a.observer.getOptimisticResult(a.defaultedQueryOptions));return[n,a=>this.#f(a??n,t),()=>this.#d(n,r)]}#d(e,t){return t.map((r,n)=>{const a=e[n];return r.defaultedQueryOptions.notifyOnChangeProps?a:r.observer.trackResult(a,o=>{t.forEach(l=>{l.observer.trackProp(o)})})})}#f(e,t){return t?((!this.#i||this.#e!==this.#o||t!==this.#s)&&(this.#s=t,this.#o=this.#e,this.#i=ww(this.#i,t(e))),this.#i):e}#c(e){const t=new Map(this.#n.map(n=>[n.options.queryHash,n])),r=[];return e.forEach(n=>{const a=this.#t.defaultQueryOptions(n),o=t.get(a.queryHash);o?r.push({defaultedQueryOptions:a,observer:o}):r.push({defaultedQueryOptions:a,observer:new Wd(this.#t,a)})}),r}#u(e,t){const r=this.#n.indexOf(e);r!==-1&&(this.#e=z$(this.#e,r,t),this.#l())}#l(){if(this.hasListeners()){const e=this.#i,t=this.#d(this.#e,this.#p),r=this.#f(t,this.#a?.combine);e!==r&&Tt.batch(()=>
vendor: 5,176 bytes, line 9
9{this.listeners.forEach(n=>{n(this.#e)})})}}},L$=class extends hs{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,r){const n=t.queryKey,a=t.queryHash??Sw(n,t);let o=this.get(a);return o||(o=new _$({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(o)),o}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(){Tt.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(r=>KA(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>KA(e,r)):t}notify(e){Tt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Tt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Tt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},H$=class{#t;#e;#r;#a;#n;#i;#s;#o;constructor(e={}){this.#t=e.queryCache||new L$,this.#e=e.mutationCache||new k$,this.#r=e.defaultOptions||{},this.#a=new Map,this.#n=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=Cw.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=sh.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),r=this.#t.build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Ui(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),o=this.#t.get(n.queryHash)?.state.data,l=x$(t,o);if(l!==void 0)return this.#t.build(this,n).setData(l,{...r,manual:!0})}setQueriesData(e,t,r){return Tt.batch(()=>this.#t.findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;Tt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=this.#t;return Tt.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Tt.batch(()=>this.#t.findAll(e).map(a=>a.cancel(r)));return Promise.all(n).then(vr).catch(vr)}invalidateQueries(e,t={}){return Tt.batch(()=>(this.#t.findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Tt.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let o=a.fetch(void 0,r);return r.throwOnError||(o=o.catch(vr)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(vr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=this.#t.build(this,t);return r.isStaleByTime(Ui(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(vr).catch(vr)}fetchInfiniteQuery(e){return e.behavior=lh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(vr).catch(vr)}ensureInfiniteQueryData(e){return e.behavior=lh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return sh.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,t){this.#a.set(Zi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],r={};return t.forEach(n=>{Vu(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){this.#n.set(Zi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#n.values()],r={};return t.forEach(n=>{Vu(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Sw(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===rn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},Hv={exports:{}},$e={};
vendor: 7,157 bytes, lines 9-17
9/** 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 r5;function B$(){if(r5)return $e;r5=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),y=Symbol.iterator;function b(B){return B===null||typeof B!="object"?null:(B=y&&B[y]||B["@@iterator"],typeof B=="function"?B:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,w={};function j(B,K,V){this.props=B,this.context=K,this.refs=w,this.updater=V||C}j.prototype.isReactComponent={},j.prototype.setState=function(B,K){if(typeof B!="object"&&typeof B!="function"&&B!=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,B,K,"setState")},j.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function A(){}A.prototype=j.prototype;function _(B,K,V){this.props=B,this.context=K,this.refs=w,this.updater=V||C}var M=_.prototype=new A;M.constructor=_,x(M,j.prototype),M.isPureReactComponent=!0;var N=Array.isArray;function D(){}var O={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function R(B,K,V){var J=V.ref;return{$$typeof:e,type:B,key:K,ref:J!==void 0?J:null,props:V}}function F(B,K){return R(B.type,K,B.props)}function I(B){return typeof B=="object"&&B!==null&&B.$$typeof===e}function L(B){var K={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(V){return K[V]})}var G=/\/+/g;function W(B,K){return typeof B=="object"&&B!==null&&B.key!=null?L(""+B.key):K.toString(36)}function q(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(D,D):(B.status="pending",B.then(function(K){B.status==="pending"&&(B.status="fulfilled",B.value=K)},function(K){B.status==="pending"&&(B.status="rejected",B.reason=K)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function k(B,K,V,J,ce){var he=typeof B;(he==="undefined"||he==="boolean")&&(B=null);var de=!1;if(B===null)de=!0;else switch(he){case"bigint":case"string":case"number":de=!0;break;case"object":switch(B.$$typeof){case e:case t:de=!0;break;case g:return de=B._init,k(de(B._payload),K,V,J,ce)}}if(de)return ce=ce(B),de=J===""?"."+W(B,0):J,N(ce)?(V="",de!=null&&(V=de.replace(G,"$&/")+"/"),k(ce,K,V,"",function(me){return me})):ce!=null&&(I(ce)&&(ce=F(ce,V+(ce.key==null||B&&B.key===ce.key?"":(""+ce.key).replace(G,"$&/")+"/")+de)),K.push(ce)),1;de=0;var ge=J===""?".":J+":";if(N(B))for(var le=0;le<B.length;le++)J=B[le],he=ge+W(J,le),de+=k(J,K,V,he,ce);else if(le=b(B),typeof le=="function")for(B=le.call(B),le=0;!(J=B.next()).done;)J=J.value,he=ge+W(J,le++),de+=k(J,K,V,he,ce);else if(he==="object"){if(typeof B.then=="function")return k(q(B),K,V,J,ce);throw K=String(B),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return de}function H(B,K,V){if(B==null)return B;var J=[],ce=0;return k(B,J,"","",function(he){return K.call(V,he,ce++)}),J}function U(B){if(B._status===-1){var K=B._result;K=K(),K.then(function(V){(B._status===0||B._status===-1)&&(B._status=1,B._result=V)},function(V){(B._status===0||B._status===-1)&&(B._status=2,B._result=V)}),B._status===-1&&(B._status=0,B._result=K)}if(B._status===1)return B._result.default;throw B._result}var Y=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)},ae={map:H,forEach:function(B,K,V){H(B,function(){K.apply(this,arguments)},V)},count:function(B){var K=0;return H(B,function(){K++}),K},toArray:function(B){return H(B,function(K){return K})||[]},only:function(B){if(!I(B))throw Error("React.Children.only expected to receive a single React element child.");return B}};return $e.Activity=m,$e.Children=ae,$e.Component=j,$e.Fragment=r,$e.Profiler=a,$e.PureComponent=_,$e.StrictMode=n,$e.Suspense=f,$e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,$e.__COMPILER_RUNTIME={__proto__:null,c:function(B){return O.H.useMemoCache(B)}},$e.cache=function(B){return function(){return B.apply(null,arguments)}},$e.cacheSignal=function(){return null},$e.cloneElement=function(B,K,V){if(B==null)throw Error("The argument must be a React element, but you passed "+B+".");var J=x({},B.props),ce=B.key;if(K!=null)for(he in K.key!==void 0&&(ce=""+K.key),K)!P.call(K,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&K.ref===void 0||(J[he]=K[he]);var he=arguments.length-2;if(he===1)J.children=V;else if(1<he){for(var de=Array(he),ge=0;ge<he;ge++)de[ge]=arguments[ge+2];J.children=de}return R(B.type,ce,J)},$e.createContext=function(B){return B={$$typeof:l,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider=B,B.Consumer={$$typeof:o,_context:B},B},$e.createElement=function(B,K,V){var J,ce={},he=null;if(K!=null)for(J in K.key!==void 0&&(he=""+K.key),K)P.call(K,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ce[J]=K[J]);var de=arguments.length-2;if(de===1)ce.children=V;else if(1<de){for(var ge=Array(de),le=0;le<de;le++)ge[le]=arguments[le+2];ce.children=ge}if(B&&B.defaultProps)for(J in de=B.defaultProps,de)ce[J]===void 0&&(ce[J]=de[J]);return R(B,he,ce)},$e.createRef=function(){return{current:null}},$e.forwardRef=function(B){return{$$typeof:c,render:B}},$e.isValidElement=I,$e.lazy=function(B){return{$$typeof:g,_payload:{_status:-1,_result:B},_init:U}},$e.memo=function(B,K){return{$$typeof:p,type:B,compare:K===void 0?null:K}},$e.startTransition=function(B){var K=O.T,V={};O.T=V;try{var J=B(),ce=O.S;ce!==null&&ce(V,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(D,Y)}catch(he){Y(he)}finally{K!==null&&V.types!==null&&(K.types=V.types),O.T=K}},$e.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},$e.use=function(B){return O.H.use(B)},$e.useActionState=function(B,K,V){return O.H.useActionState(B,K,V)},$e.useCallback=function(B,K){return O.H.useCallback(B,K)},$e.useContext=function(B){return O.H.useContext(B)},$e.useDebugValue=function(){},$e.useDeferredValue=function(B,K){return O.H.useDeferredValue(B,K)},$e.useEffect=function(B,K){return O.H.useEffect(B,K)}
vendor: 1,363 bytes, line 17
17,$e.useEffectEvent=function(B){return O.H.useEffectEvent(B)},$e.useId=function(){return O.H.useId()},$e.useImperativeHandle=function(B,K,V){return O.H.useImperativeHandle(B,K,V)},$e.useInsertionEffect=function(B,K){return O.H.useInsertionEffect(B,K)},$e.useLayoutEffect=function(B,K){return O.H.useLayoutEffect(B,K)},$e.useMemo=function(B,K){return O.H.useMemo(B,K)},$e.useOptimistic=function(B,K){return O.H.useOptimistic(B,K)},$e.useReducer=function(B,K,V){return O.H.useReducer(B,K,V)},$e.useRef=function(B){return O.H.useRef(B)},$e.useState=function(B){return O.H.useState(B)},$e.useSyncExternalStore=function(B,K,V){return O.H.useSyncExternalStore(B,K,V)},$e.useTransition=function(){return O.H.useTransition()},$e.version="19.2.1",$e}var n5;function bm(){return n5||(n5=1,Hv.exports=B$()),Hv.exports}var T=bm();const $=tt(T),Sm=p$({__proto__:null,default:$},[T]);var PP=T.createContext(void 0),Zd=e=>{const t=T.useContext(PP);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},q$=({client:e,children:t})=>(T.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(PP.Provider,{value:e,children:t})),MP=T.createContext(!1),RP=()=>T.useContext(MP);MP.Provider;function F$(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var U$=T.createContext(F$()),kP=()=>T.useContext(U$),IP=(e,t)=>
17{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},zP=e=>{T.useEffect(()=>{e.clearReset()},[e])},$P=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(a&&e.data===void 0||jP(r,[e.error,n])),Ow=(e,t)=>t.state.data===void 0,LP=e=>{if(e.suspense){const r=a=>a==="static"?a:Math.max(a??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...a)=>r(n(...a)):r(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},HP=(e,t)=>e.isLoading&&e.isFetching&&!t,b2=(e,t)=>e?.suspense&&t.isPending,ch=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function BP({queries:e,...t},r){const n=Zd(r),a=RP(),o=kP(),l=T.useMemo(()=>e.map(x=>{const w=n.defaultQueryOptions(x);return w._optimisticResults=a?"isRestoring":"optimistic",w}),[e,n,a]);l.forEach(x=>{LP(x),IP(x,o)}),zP(o);const[c]=T.useState(()=>new $$(n,l,t)),[f,p,g]=c.getOptimisticResult(l,t.combine),m=!a&&t.subscribed!==!1;T.useSyncExternalStore(T.useCallback(x=>m?c.subscribe(Tt.batchCalls(x)):vr,[c,m]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),T.useEffect(()=>{c.setQueries(l,t)},[l,t,c]);const b=f.some((x,w)=>b2(l[w],x))?f.flatMap((x,w)=>{const j=l[w];if(j){const A=new Wd(n,j);if(b2(j,x))return ch(j,A,o);HP(x,a)&&ch(j,A,o)}return[]}):[];if(b.length>0)throw Promise.all(b);const C=f.find((x,w)=>{const j=l[w];return j&&$P({result:x,errorResetBoundary:o,throwOnError:j.throwOnError,query:n.getQueryCache().get(j.queryHash),suspense:j.suspense})});if(C?.error)throw C.error;return p(g())}function wm(e,t,r){const n=RP(),a=kP(),o=Zd(r),l=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=n?"isRestoring":"optimistic",LP(l),IP(l,a),zP(a);const c=!o.getQueryCache().get(l.queryHash),[f]=T.useState(()=>new t(o,l)),p=f.getOptimisticResult(l),g=!n&&e.subscribed!==!1;if(T.useSyncExternalStore(T.useCallback(m=>{const y=g?f.subscribe(Tt.batchCalls(m)):vr;return f.updateResult(),y},[f,g]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),T.useEffect(()=>{f.setOptions(l)},[l,f]),b2(l,p))throw ch(l,f,a);if($P({result:p,errorResetBoundary:a,throwOnError:l.throwOnError,query:o.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw p.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(l,p),l.experimental_prefetchInRender&&!ts&&HP(p,n)&&(c?ch(l,f,a):o.getQueryCache().get(l.queryHash)?.promise)?.catch(vr).finally(()=>{f.updateResult()}),l.notifyOnChangeProps?p:f.trackResult(p)}function G$(e,t){return wm(e,Wd,t)}function W$(e,t){return wm({...e,enabled:!0,suspense:!0,throwOnError:Ow,placeholderData:void 0},Wd,t)}function Z$(e,t){return wm({...e,enabled:!0,suspense:!0,throwOnError:Ow},EP,t)}function K$(e,t){return BP({...e,queries:e.queries.map(r=>({...r,suspense:!0,throwOnError:Ow,enabled:!0,placeholderData:void 0}))},t)}function V$(e,t){const r=Zd(t);r.getQueryState(e.queryKey)||r.prefetchQuery(e)}function Q$(e,t){const r=Zd(t);r.getQueryState(e.queryKey)||r.prefetchInfiniteQuery(e)}function Y$(e,t){const r=Zd(t),[n]=T.useState(()=>new I$(r,e));T.useEffect(()=>{n.setOptions(e)},[n,e]);const a=T.useSyncExternalStore(T.useCallback(l=>n.subscribe(Tt.batchCalls(l)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),o=T.useCallback((l,c)=>{n.mutate(l,c).catch(vr)},[n]);if(a.error&&jP(n.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:o,mutateAsync:a.mutate}}function X$(e,t){return wm(e,EP,t)}function rs(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}const J$=typeof Symbol=="function"&&!!Symbol.asyncIterator;function qP(e){return J$&&rs(e)&&Symbol.asyncIterator in e}var eL=Object.create,FP=Object.defineProperty,tL=Object.getOwnPropertyDescriptor,UP=Object.getOwnPropertyNames,rL=Object.getPrototypeOf,nL=Object.prototype.hasOwnProperty,Kd=(e,t)=>function(){return t||(0,e[UP(e)[0]])((t={exports:{}}).exports,t),t.exports},aL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=UP(t),o=0,l=a.length,c;o<l;o++)c=a[o],!nL.call(e,c)&&c!==r&&FP(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(n=tL(t,c))||n.enumerable});return e},Cm=(e,t,r)=>(r=e!=null?eL(rL(e)):{},aL(FP(r,"default",{value:e,enumerable:!0}),e));const GP=()=>{},a5=e=>{Object.freeze&&Object.freeze(e)};function WP(e,t,r){var n;const a=t.join(".");return(n=r[a])!==null&&n!==void 0||(r[a]=new Proxy(GP,{get(o,l){if(!(typeof l!="string"||l==="then"))return WP(e,[...t,l],r)},apply(o,l,c){const f=t[t.length-1];let p={args:c,path:t};return f==="call"?p={args:c.length>=2?[c[1]]:[],path:t.slice(0,-1)}:f==="apply"&&(p={args:c.length>=2?c[1]:[],path:t.slice(0,-1)}),a5(p.args),a5(p.path),e(p)}})),r[a]}const jm=e=>WP(e,[],Object.create(null)),Nw=e=>new Proxy(GP,{get(t,r){if(r!=="then")return e(r)}});var ZP=Kd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
17,t.exports.__esModule=!0,t.exports.default=t.exports,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),iL=Kd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=ZP().default;function n(a,o){if(r(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(r(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),oL=Kd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=ZP().default,n=iL();function a(o){var l=n(o,"string");return r(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),KP=Kd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=oL();function n(a,o,l){return(o=r(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Aw=Kd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=KP();function n(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);l&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(o,p).enumerable})),c.push.apply(c,f)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?n(Object(c),!0).forEach(function(f){r(o,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):n(Object(c)).forEach(function(f){Object.defineProperty(o,f,Object.getOwnPropertyDescriptor(c,f))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});Cm(Aw());Cm(KP());var _p=Cm(Aw());function sL(e,t){if("error"in e){const n=t.deserialize(e.error);return{ok:!1,error:(0,_p.default)((0,_p.default)({},e),{},{error:n})}}return{ok:!0,result:(0,_p.default)((0,_p.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var Bv=class extends Error{constructor(){super("Unable to transform response from server")}};function lL(e,t){let r;try{r=sL(e,t)}catch{throw new Bv}if(!r.ok&&(!rs(r.error.error)||typeof r.error.error.code!="number"))throw new Bv;if(r.ok&&!rs(r.result))throw new Bv;return r}Cm(Aw());function Om(e){const t={subscribe(r){let n=null,a=!1,o=!1,l=!1;function c(){if(n===null){l=!0;return}o||(o=!0,typeof n=="function"?n():n&&n.unsubscribe())}return n=e({next(f){var p;a||(p=r.next)===null||p===void 0||p.call(r,f)},error(f){var p;a||(a=!0,(p=r.error)===null||p===void 0||p.call(r,f),c())},complete(){var f;a||(a=!0,(f=r.complete)===null||f===void 0||f.call(r),c())}}),l&&c(),{unsubscribe:c}},pipe(...r){return r.reduce(cL,t)}};return t}function cL(e,t){return t(e)}function uL(e){const t=new AbortController;return new Promise((n,a)=>{let o=!1;function l(){o||(o=!0,c.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const c=e.subscribe({next(f){o=!0,n(f),l()},error(f){a(f)},complete(){t.abort(),l()}})})}var dL=Object.create,VP=Object.defineProperty,fL=Object.getOwnPropertyDescriptor,QP=Object.getOwnPropertyNames,pL=Object.getPrototypeOf,hL=Object.prototype.hasOwnProperty,Xi=(e,t)=>function(){return t||(0,e[QP(e)[0]])((t={exports:{}}).exports,t),t.exports},mL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=QP(t),o=0,l=a.length,c;o<l;o++)c=a[o],!hL.call(e,c)&&c!==r&&VP(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(n=fL(t,c))||n.enumerable});return e},ms=(e,t,r)=>(r=e!=null?dL(pL(e)):{},mL(t||!e||!e.__esModule?VP(r,"default",{value:e,enumerable:!0}):r,e)),gL=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function r(n,a){if(n==null)return{};var o={};for(var l in n)if({}.hasOwnProperty.call(n,l)){if(a.includes(l))continue;o[l]=n[l]}return o}
17t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),yL=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var r=gL();function n(a,o){if(a==null)return{};var l,c,f=r(a,o);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(c=0;c<p.length;c++)l=p[c],o.includes(l)||{}.propertyIsEnumerable.call(a,l)&&(f[l]=a[l])}return f}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),YP=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),vL=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=YP().default;function n(a,o){if(r(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(r(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),xL=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=YP().default,n=vL();function a(o){var l=n(o,"string");return r(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),bL=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=xL();function n(a,o,l){return(o=r(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Vd=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=bL();function n(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);l&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(o,p).enumerable})),c.push.apply(c,f)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?n(Object(c),!0).forEach(function(f){r(o,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):n(Object(c)).forEach(function(f){Object.defineProperty(o,f,Object.getOwnPropertyDescriptor(c,f))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),SL=ms(yL(),1),i5=ms(Vd(),1);const wL=["cursor","direction"];function na(e,t,r){const n=e.flatMap(a=>a.split("."));if(!t&&(!r||r==="any"))return n.length?[n]:[];if(r==="infinite"&&rs(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:o}=t,l=(0,SL.default)(t,wL);return[n,{input:l,type:"infinite"}]}return[n,(0,i5.default)((0,i5.default)({},typeof t<"u"&&t!==rn&&{input:t}),r&&r!=="any"&&{type:r})]}function eh(e){return na(e,void 0,"any")}var CL=Object.create,XP=Object.defineProperty,jL=Object.getOwnPropertyDescriptor,JP=Object.getOwnPropertyNames,OL=Object.getPrototypeOf,NL=Object.prototype.hasOwnProperty,ga=(e,t)=>function(){return t||(0,e[JP(e)[0]])((t={exports:{}}).exports,t),t.exports},AL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=JP(t),o=0,l=a.length,c;o<l;o++)c=a[o],!NL.call(e,c)&&c!==r&&XP(e,c,{get:(f=>t[f]).bind(null,c),enumerable:!(n=jL(t,c))||n.enumerable});return e},kt=(e,t,r)=>(r=e!=null?CL(OL(e)):{},AL(t||!e||!e.__esModule?XP(r,"default",{value:e,enumerable:!0}):r,e)),eM=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
17,t.exports.__esModule=!0,t.exports.default=t.exports,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),DL=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=eM().default;function n(a,o){if(r(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(r(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),_L=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=eM().default,n=DL();function a(o){var l=n(o,"string");return r(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),gs=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=_L();function n(a,o,l){return(o=r(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Gn=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=gs();function n(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);l&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(o,p).enumerable})),c.push.apply(c,f)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?n(Object(c),!0).forEach(function(f){r(o,f,c[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):n(Object(c)).forEach(function(f){Object.defineProperty(o,f,Object.getOwnPropertyDescriptor(c,f))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function EL(e){return t=>{let r=0,n=null;const a=[];function o(){n||(n=t.subscribe({next(c){for(const p of a){var f;(f=p.next)===null||f===void 0||f.call(p,c)}},error(c){for(const p of a){var f;(f=p.error)===null||f===void 0||f.call(p,c)}},complete(){for(const f of a){var c;(c=f.complete)===null||c===void 0||c.call(f)}}}))}function l(){if(r===0&&n){const c=n;n=null,c.unsubscribe()}}return Om(c=>(r++,a.push(c),o(),{unsubscribe(){r--,l();const f=a.findIndex(p=>p===c);f>-1&&a.splice(f,1)}}))}}function TL(e){let t=e;const r=[],n=l=>{t!==void 0&&l.next(t),r.push(l)},a=l=>{r.splice(r.indexOf(l),1)},o=Om(l=>(n(l),()=>{a(l)}));return o.next=l=>{if(t!==l){t=l;for(const c of r)c.next(l)}},o.get=()=>t,o}function PL(e){return Om(t=>{function r(a=0,o=e.op){const l=e.links[a];if(!l)throw new Error("No more links to execute - did you forget to add an ending link?");return l({op:o,next(f){return r(a+1,f)}})}return r().subscribe(t)})}var Ep=kt(gs(),1),ul=kt(Gn(),1);function ML(e){return e instanceof Rl}function RL(e){return rs(e)&&rs(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function kL(e,t){return typeof e=="string"?e:rs(e)&&typeof e.message=="string"?e.message:t}
17var Rl=class th extends Error{constructor(t,r){var n,a;const o=r?.cause;super(t,{cause:o}),(0,Ep.default)(this,"cause",void 0),(0,Ep.default)(this,"shape",void 0),(0,Ep.default)(this,"data",void 0),(0,Ep.default)(this,"meta",void 0),this.meta=r?.meta,this.cause=o,this.shape=r==null||(n=r.result)===null||n===void 0?void 0:n.error,this.data=r==null||(a=r.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,th.prototype)}static from(t,r={}){const n=t;return ML(n)?(r.meta&&(n.meta=(0,ul.default)((0,ul.default)({},n.meta),r.meta)),n):RL(n)?new th(n.error.message,(0,ul.default)((0,ul.default)({},r),{},{result:n})):new th(kL(n,"Unknown error"),(0,ul.default)((0,ul.default)({},r),{},{cause:n}))}};function IL(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:r=>r,deserialize:r=>r},output:{serialize:r=>r,deserialize:r=>r}}}const o5=e=>typeof e=="function";function zL(e){if(e)return e;if(typeof window<"u"&&o5(window.fetch))return window.fetch;if(typeof globalThis<"u"&&o5(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var $u=kt(Gn());function $L(e){return{url:e.url.toString(),fetch:e.fetch,transformer:IL(e.transformer),methodOverride:e.methodOverride}}function LL(e){const t={};for(let r=0;r<e.length;r++){const n=e[r];t[r]=n}return t}const HL={query:"GET",mutation:"POST",subscription:"PATCH"};function tM(e){return"input"in e?e.transformer.input.serialize(e.input):LL(e.inputs.map(t=>e.transformer.input.serialize(t)))}const rM=e=>{const t=e.url.split("?");let n=t[0].replace(/\/$/,"")+"/"+e.path;const a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),e.type==="query"||e.type==="subscription"){const o=tM(e);o!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(o))}`)}return a.length&&(n+="?"+a.join("&")),n},BL=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=tM(e);return t!==void 0?JSON.stringify(t):void 0},qL=e=>WL((0,$u.default)((0,$u.default)({},e),{},{contentTypeHeader:"application/json",getUrl:rM,getBody:BL}));var FL=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const UL=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 FL};async function GL(e){var t;UL(e.signal);const r=e.getUrl(e),n=e.getBody(e),a=(t=e.methodOverride)!==null&&t!==void 0?t:HL[e.type],o=await(async()=>{const c=await e.headers();return Symbol.iterator in c?Object.fromEntries(c):c})(),l=(0,$u.default)((0,$u.default)((0,$u.default)({},e.contentTypeHeader&&a!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),o);return zL(e.fetch)(r,{method:a,signal:e.signal,body:n,headers:l})}async function WL(e){const t={},r=await GL(e);t.response=r;const n=await r.json();return t.responseJSON=n,{json:n,meta:t}}kt(Gn(),1);const s5=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function l5(e){let t=null,r=null;const n=()=>{clearTimeout(r),r=null,t=null};function a(c){const f=[[]];let p=0;for(;;){const y=c[p];if(!y)break;const b=f[f.length-1];if(y.aborted){var g;(g=y.reject)===null||g===void 0||g.call(y,new Error("Aborted")),p++;continue}if(e.validate(b.concat(y).map(x=>x.key))){b.push(y),p++;continue}if(b.length===0){var m;(m=y.reject)===null||m===void 0||m.call(y,new Error("Input is too big for a single dispatch")),p++;continue}f.push([])}return f}function o(){const c=a(t);n();for(const f of c){if(!f.length)continue;const p={items:f};for(const m of f)m.batch=p;e.fetch(p.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(b,C)=>{const x=p.items[C];try{var w;const A=await Promise.resolve(b);(w=x.resolve)===null||w===void 0||w.call(x,A)}catch(A){var j;(j=x.reject)===null||j===void 0||j.call(x,A)}x.batch=null,x.reject=null,x.resolve=null}));for(const b of p.items){var y;(y=b.reject)===null||y===void 0||y.call(b,new Error("Missing result")),b.batch=null}}).catch(m=>{for(const b of p.items){var y;(y=b.reject)===null||y===void 0||y.call(b,m),b.batch=null}})}}function l(c){var f;const p={aborted:!1,key:c,batch:null,resolve:s5,reject:s5},g=new Promise((m,y)=>{var b;p.reject=y,p.resolve=m,(b=t)!==null&&b!==void 0||(t=[]),t.push(p)});return(f=r)!==null&&f!==void 0||(r=setTimeout(o)),g}return{load:l}}function ZL(...e){const t=new AbortController,r=e.length;let n=0;const a=()=>{++n===r&&t.abort()};for(const o of e)o?.aborted?a():o?.addEventListener("abort",a,{once:!0});return t.signal}var Tp=kt(Gn(),1);function KL(e){var t,r;const n=$L(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,o=(r=e.maxItems)!==null&&r!==void 0?r:1/0;return()=>{const l=g=>({validate(m){if(a===1/0&&o===1/0)return!0;
17if(m.length>o)return!1;const y=m.map(x=>x.path).join(","),b=m.map(x=>x.input);return rM((0,Tp.default)((0,Tp.default)({},n),{},{type:g,path:y,inputs:b,signal:null})).length<=a},async fetch(m){const y=m.map(A=>A.path).join(","),b=m.map(A=>A.input),C=ZL(...m.map(A=>A.signal)),x=await qL((0,Tp.default)((0,Tp.default)({},n),{},{path:y,inputs:b,type:g,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:m}):e.headers:{}},signal:C}));return(Array.isArray(x.json)?x.json:m.map(()=>x.json)).map(A=>({meta:x.meta,json:A}))}}),c=l5(l("query")),f=l5(l("mutation")),p={query:c,mutation:f};return({op:g})=>Om(m=>{/* istanbul ignore if -- @preserve */if(g.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const b=p[g.type].load(g);let C;return b.then(x=>{C=x;const w=lL(x.json,n.transformer.output);if(!w.ok){m.error(Rl.from(w.error,{meta:x.meta}));return}m.next({context:x.meta,result:w.result}),m.complete()}).catch(x=>{m.error(Rl.from(x,{meta:C?.meta}))}),()=>{}})}}kt(Gn(),1);const nM=(e,...t)=>typeof e=="function"?e(...t):e;kt(gs(),1);function VL(){let e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),resolve:e,reject:t}}async function QL(e){const t=await nM(e.url);if(!e.connectionParams)return t;const n=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+n}async function YL(e){const t={method:"connectionParams",data:await nM(e)};return JSON.stringify(t)}kt(gs(),1);var zo=kt(gs(),1);function XL(e){const{promise:t,resolve:r,reject:n}=VL();return e.addEventListener("open",()=>{e.removeEventListener("error",n),r()}),e.addEventListener("error",n),t}function JL(e,{intervalMs:t,pongTimeoutMs:r}){let n,a;function o(){n=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},r)},t)}function l(){clearTimeout(n),o()}function c(){clearTimeout(a),l()}e.addEventListener("open",o),e.addEventListener("message",({data:f})=>{clearTimeout(n),o(),f==="PONG"&&c()}),e.addEventListener("close",()=>{clearTimeout(n),clearTimeout(a)})}var eH=class S2{constructor(t){var r;if((0,zo.default)(this,"id",++S2.connectCount),(0,zo.default)(this,"WebSocketPonyfill",void 0),(0,zo.default)(this,"urlOptions",void 0),(0,zo.default)(this,"keepAliveOpts",void 0),(0,zo.default)(this,"wsObservable",TL(null)),(0,zo.default)(this,"openPromise",null),this.WebSocketPonyfill=(r=t.WebSocketPonyfill)!==null&&r!==void 0?r: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}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=++S2.connectCount;const r=QL(t.urlOptions).then(n=>new t.WebSocketPonyfill(n));t.openPromise=r.then(async n=>{t.ws=n,n.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&JL(n,t.keepAliveOpts),n.addEventListener("close",()=>{t.ws===n&&(t.ws=null)}),await XL(n),t.urlOptions.connectionParams&&n.send(await YL(t.urlOptions.connectionParams))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var r;(r=t.ws)===null||r===void 0||r.close()}}};(0,zo.default)(eH,"connectCount",0);kt(gs(),1);kt(Gn(),1);var qv=kt(gs(),1),c5=kt(Gn(),1),Nm=class{constructor(e){(0,qv.default)(this,"links",void 0),(0,qv.default)(this,"runtime",void 0),(0,qv.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return PL({links:this.links,op:(0,c5.default)((0,c5.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(EL())}async requestAsPromise(e){var t=this;try{const r=t.$request(e);return(await uL(r)).result.data}catch(r){throw Rl.from(r)}}query(e,t,r){return this.requestAsPromise({type:"query",path:e,input:t,context:r?.context,signal:r?.signal})}mutation(e,t,r){return this.requestAsPromise({type:"mutation",path:e,input:t,context:r?.context,signal:r?.signal})}subscription(e,t,r){return this.$request({type:"subscription",path:e,input:t,context:r.context,signal:r.signal}).subscribe({next(a){switch(a.result.type){case"state":{var o;(o=r.onConnectionStateChange)===null||o===void 0||o.call(r,a.result);break}case"started":{var l;(l=r.onStarted)===null||l===void 0||l.call(r,{context:a.context});break}case"stopped":{var c;
17(c=r.onStopped)===null||c===void 0||c.call(r);break}case"data":case void 0:{var f;(f=r.onData)===null||f===void 0||f.call(r,a.result.data);break}}},error(a){var o;(o=r.onError)===null||o===void 0||o.call(r,a)},complete(){var a;(a=r.onComplete)===null||a===void 0||a.call(r)}})}};const aM=Symbol.for("trpc_untypedClient"),tH={query:"query",mutate:"mutation",subscribe:"subscription"},rH=e=>tH[e];function iM(e){const t=jm(({path:r,args:n})=>{const a=[...r],o=rH(a.pop()),l=a.join(".");return e[o](l,...n)});return Nw(r=>r===aM?e:t[r])}function nH(e){const t=new Nm(e);return iM(t)}function Dw(e){return e[aM]}kt(Gn(),1);kt(Gn(),1);var aH=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function r(a){var o,l,c,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);f--;){if(l&&(o=a[l])!=null)return o.call(a);if(c&&(o=a[c])!=null)return new n(o.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function n(a){function o(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var c=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:c}})}return n=function(c){this.s=c,this.n=c.next},n.prototype={s:null,n:null,next:function(){return o(this.n.apply(this.s,arguments))},return:function(c){var f=this.s.return;return f===void 0?Promise.resolve({value:c,done:!0}):o(f.apply(this.s,arguments))},throw:function(c){var f=this.s.return;return f===void 0?Promise.reject(c):o(f.apply(this.s,arguments))}},new n(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});kt(aH(),1);kt(Gn(),1);var iH=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function r(){var n=typeof SuppressedError=="function"?SuppressedError:function(c,f){var p=Error();return p.name="SuppressedError",p.error=c,p.suppressed=f,p},a={},o=[];function l(c,f){if(f!=null){if(Object(f)!==f)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(c)var p=f[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(p===void 0&&(p=f[Symbol.dispose||Symbol.for("Symbol.dispose")],c))var g=p;if(typeof p!="function")throw new TypeError("Object is not disposable.");g&&(p=function(){try{g.call(f)}catch(y){return Promise.reject(y)}}),o.push({v:f,d:p,a:c})}else c&&o.push({d:f,a:c});return f}return{e:a,u:l.bind(null,!1),a:l.bind(null,!0),d:function(){var f,p=this.e,g=0;function m(){for(;f=o.pop();)try{if(!f.a&&g===1)return g=0,o.push(f),Promise.resolve().then(m);if(f.d){var b=f.d.call(f.v);if(f.a)return g|=2,Promise.resolve(b).then(m,y)}else g|=1}catch(C){return y(C)}if(g===1)return p!==a?Promise.reject(p):Promise.resolve();if(p!==a)throw p}function y(b){return p=p!==a?new n(b,p):b,m()}return m()}}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),oM=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function r(n,a){this.v=n,this.k=a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),oH=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var r=oM();function n(a){return new r(a,0)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),sH=ga({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var r=oM();function n(o){return function(){return new a(o.apply(this,arguments))}}function a(o){var l,c;function f(g,m){try{var y=o[g](m),b=y.value,C=b instanceof r;Promise.resolve(C?b.v:b).then(function(x){if(C){var w=g==="return"?"return":"next";if(!b.k||x.done)return f(w,x);x=o[w](x).value}p(y.done?"return":"normal",x)},function(x){f("throw",x)})}catch(x){p("throw",x)}}function p(g,m){switch(g){case"return":l.resolve({value:m,done:!0});break;case"throw":l.reject(m);break;default:l.resolve({value:m,done:!1})}(l=l.next)?f(l.key,l.arg):c=null}this._invoke=function(g,m){return new Promise(function(y,b){var C={key:g,arg:m,resolve:y,reject:b,next:null};c?c=c.next=C:(l=c=C,f(g,m))})},typeof o.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(o){return this._invoke("next",o)},a.prototype.throw=function(o){return this._invoke("throw",o)},a.prototype.return=function(o){return this._invoke("return",o)}
17,t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});kt(iH(),1);kt(oH(),1);kt(sH(),1);kt(Gn(),1);function lH(e){return jm(({path:t,args:r})=>{var n;const a=[...t],o=a.pop();if(o==="useMutation")return e[o](a,...r);if(o==="_def")return{path:a};const[l,...c]=r,f=(n=c[0])!==null&&n!==void 0?n:{};return e[o](a,l,f)})}var Fv;const cH=["client","ssrContext","ssrState","abortOnUnmount"],uH=(Fv=T.createContext)===null||Fv===void 0?void 0:Fv.call(Sm,null),dH=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 fH(e){return jm(t=>{const r=[...t.path],n=r.pop(),a=[...t.args],o=a.shift(),l=dH(n),c=na(r,o,l);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(r,c,a[0]),queryOptions:()=>e.queryOptions(r,c,...a),fetch:()=>e.fetchQuery(c,...a),fetchInfinite:()=>e.fetchInfiniteQuery(c,a[0]),prefetch:()=>e.prefetchQuery(c,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(c,a[0]),ensureData:()=>e.ensureQueryData(c,...a),invalidate:()=>e.invalidateQueries(c,...a),reset:()=>e.resetQueries(c,...a),refetch:()=>e.refetchQueries(c,...a),cancel:()=>e.cancelQuery(c,...a),setData:()=>{e.setQueryData(c,a[0],a[1])},setQueriesData:()=>e.setQueriesData(c,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(c,a[0],a[1])},getData:()=>e.getQueryData(c),getInfiniteData:()=>e.getInfiniteQueryData(c),setMutationDefaults:()=>e.setMutationDefaults(eh(r),o),getMutationDefaults:()=>e.getMutationDefaults(eh(r)),isMutating:()=>e.isMutating({mutationKey:eh(r)})}[n]()})}function pH(e){const t=iM(e.client),r=fH(e);return Nw(n=>{const a=n;return a==="client"?t:cH.includes(a)?e[a]:r[n]})}var hH=ms(Vd(),1);function u5(e){const t=e instanceof Nm?e:Dw(e);return jm(r=>{const n=r.path,a=n.join("."),[o,l]=r.args;return(0,hH.default)({queryKey:na(n,o,"query"),queryFn:()=>t.query(a,o,l?.trpc)},l)})}var Uv=ms(Vd(),1);function Nr(e,t,r){var n;const a=e[0];let o=(n=e[1])===null||n===void 0?void 0:n.input;if(r){var l;o=(0,Uv.default)((0,Uv.default)((0,Uv.default)({},(l=o)!==null&&l!==void 0?l:{}),r.pageParam?{cursor:r.pageParam}:{}),{},{direction:r.direction})}return[a.join("."),o,t?.trpc]}var mH=Xi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function r(a){var o,l,c,f=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);f--;){if(l&&(o=a[l])!=null)return o.call(a);if(c&&(o=a[c])!=null)return new n(o.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function n(a){function o(l){if(Object(l)!==l)return Promise.reject(new TypeError(l+" is not an object."));var c=l.done;return Promise.resolve(l.value).then(function(f){return{value:f,done:c}})}return n=function(c){this.s=c,this.n=c.next},n.prototype={s:null,n:null,next:function(){return o(this.n.apply(this.s,arguments))},return:function(c){var f=this.s.return;return f===void 0?Promise.resolve({value:c,done:!0}):o(f.apply(this.s,arguments))},throw:function(c){var f=this.s.return;return f===void 0?Promise.reject(c):o(f.apply(this.s,arguments))}},new n(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),gH=ms(mH(),1);function w2(e){return{path:e.path.join(".")}}function vu(e){const t=w2(e);return T.useMemo(()=>t,[t])}async function sM(e,t,r){const a=t.getQueryCache().build(t,{queryKey:r});a.setState({data:[],status:"success"});const o=[];var l=!1,c=!1,f;try{for(var p=(0,gH.default)(e),g;l=!(g=await p.next()).done;l=!1){const m=g.value;o.push(m),a.setState({data:[...o]})}}catch(m){c=!0,f=m}finally{try{l&&p.return!=null&&await p.return()}finally{if(c)throw f}}return o}var Ye=ms(Vd(),1);function yH(e){const{client:t,queryClient:r}=e,n=t instanceof Nm?t:Dw(t);return{infiniteQueryOptions:(a,o,l)=>{var c,f;const p=((c=o[1])===null||c===void 0?void 0:c.input)===rn,g=async m=>{var y;const b=(0,Ye.default)((0,Ye.default)({},l),{},{trpc:(0,Ye.default)((0,Ye.default)({},l?.trpc),!(l==null||(y=l.trpc)===null||y===void 0)&&y.abortOnUnmount?{signal:m.signal}:{signal:null})});return await n.query(...Nr(o,b,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,Ye.default)((0,Ye.default)({},l),{},{initialData:l?.initialData,queryKey:o,queryFn:p?rn:g,initialPageParam:(f=l?.initialCursor)!==null&&f!==void 0?f:null}),{trpc:w2({path:a})})},queryOptions:(a,o,l)=>{var c;const f=((c=o[1])===null||c===void 0?void 0:c.input)===rn,p=async g=>{var m;const y=(0,Ye.default)((0,Ye.default)({},l),{},{trpc:(0,Ye.default)((0,Ye.default)({},l?.trpc),!(l==null||(m=l.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:g.signal}:{signal:null})}),b=await n.query(...Nr(o,y));return qP(b)?sM(b,r,o):b};return Object.assign((0,Ye.default)((0,Ye.default)({},l),{},{initialData:l?.initialData,queryKey:o,queryFn:f?rn:p}),{trpc:w2({path:a})})},fetchQuery:(a,o)=>r.fetchQuery((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a,queryFn:()=>
17n.query(...Nr(a,o))})),fetchInfiniteQuery:(a,o)=>{var l;return r.fetchInfiniteQuery((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a,queryFn:({pageParam:c,direction:f})=>n.query(...Nr(a,o,{pageParam:c,direction:f})),initialPageParam:(l=o?.initialCursor)!==null&&l!==void 0?l:null}))},prefetchQuery:(a,o)=>r.prefetchQuery((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a,queryFn:()=>n.query(...Nr(a,o))})),prefetchInfiniteQuery:(a,o)=>{var l;return r.prefetchInfiniteQuery((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a,queryFn:({pageParam:c,direction:f})=>n.query(...Nr(a,o,{pageParam:c,direction:f})),initialPageParam:(l=o?.initialCursor)!==null&&l!==void 0?l:null}))},ensureQueryData:(a,o)=>r.ensureQueryData((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a,queryFn:()=>n.query(...Nr(a,o))})),invalidateQueries:(a,o,l)=>r.invalidateQueries((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a}),l),resetQueries:(a,o,l)=>r.resetQueries((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a}),l),refetchQueries:(a,o,l)=>r.refetchQueries((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a}),l),cancelQuery:(a,o)=>r.cancelQueries({queryKey:a},o),setQueryData:(a,o,l)=>r.setQueryData(a,o,l),setQueriesData:(a,o,l,c)=>r.setQueriesData((0,Ye.default)((0,Ye.default)({},o),{},{queryKey:a}),l,c),getQueryData:a=>r.getQueryData(a),setInfiniteQueryData:(a,o,l)=>r.setQueryData(a,o,l),getInfiniteQueryData:a=>r.getQueryData(a),setMutationDefaults:(a,o)=>{const l=a[0],c=f=>n.mutation(...Nr([l,{input:f}],e));return r.setMutationDefaults(a,typeof o=="function"?o({canonicalMutationFn:c}):o)},getMutationDefaults:a=>r.getMutationDefaults(a),isMutating:a=>r.isMutating((0,Ye.default)((0,Ye.default)({},a),{},{exact:!0}))}}var ve=ms(Vd());const d5=(e,t)=>new Proxy(e,{get(n,a){return t(a),n[a]}});function vH(e){var t,r;const n=(t=void 0)!==null&&t!==void 0?t:N=>N.originalFn(),a=(r=void 0)!==null&&r!==void 0?r:uH,o=nH,l=N=>{var D;const{abortOnUnmount:O=!1,queryClient:P,ssrContext:R}=N,[F,I]=T.useState((D=N.ssrState)!==null&&D!==void 0?D:!1),L=N.client instanceof Nm?N.client:Dw(N.client),G=T.useMemo(()=>yH({client:L,queryClient:P}),[L,P]),W=T.useMemo(()=>(0,ve.default)({abortOnUnmount:O,queryClient:P,client:L,ssrContext:R??null,ssrState:F},G),[O,L,G,P,R,F]);return T.useEffect(()=>{I(q=>q?"mounted":!1)},[]),d.jsx(a.Provider,{value:W,children:N.children})};function c(){const N=T.useContext(a);if(!N)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return N}function f(N,D){var O;const{queryClient:P,ssrState:R}=c();return R&&R!=="mounted"&&((O=P.getQueryCache().find({queryKey:N}))===null||O===void 0?void 0:O.state.status)==="error"?(0,ve.default)({retryOnMount:!1},D):D}function p(N,D,O){var P,R,F,I,L;const G=c(),{abortOnUnmount:W,client:q,ssrState:k,queryClient:H,prefetchQuery:U}=G,Y=na(N,D,"query"),ae=H.getQueryDefaults(Y),B=D===rn;typeof window>"u"&&k==="prepass"&&(O==null||(P=O.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((R=O?.enabled)!==null&&R!==void 0?R:ae?.enabled)!==!1&&!B&&!H.getQueryCache().find({queryKey:Y})&&U(Y,O);const K=f(Y,(0,ve.default)((0,ve.default)({},ae),O)),V=(F=(I=O==null||(L=O.trpc)===null||L===void 0?void 0:L.abortOnUnmount)!==null&&I!==void 0?I:void 0)!==null&&F!==void 0?F:W,J=G$((0,ve.default)((0,ve.default)({},K),{},{queryKey:Y,queryFn:B?D:async ce=>{const he=(0,ve.default)((0,ve.default)({},K),{},{trpc:(0,ve.default)((0,ve.default)({},K?.trpc),V?{signal:ce.signal}:{signal:null})}),de=await q.query(...Nr(Y,he));return qP(de)?sM(de,H,Y):de}}),H);return J.trpc=vu({path:N}),J}function g(N,D,O){var P,R,F;const I=c(),L=na(N,D,"query"),G=D===rn,W=(P=(R=O==null||(F=O.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&R!==void 0?R:void 0)!==null&&P!==void 0?P:I.abortOnUnmount;V$((0,ve.default)((0,ve.default)({},O),{},{queryKey:L,queryFn:G?D:q=>{const k={trpc:(0,ve.default)((0,ve.default)({},O?.trpc),W?{signal:q.signal}:{})};return I.client.query(...Nr(L,k))}}))}function m(N,D,O){var P,R,F;const I=c(),L=na(N,D,"query"),G=(P=(R=O==null||(F=O.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&R!==void 0?R:void 0)!==null&&P!==void 0?P:I.abortOnUnmount,W=W$((0,ve.default)((0,ve.default)({},O),{},{queryKey:L,queryFn:q=>{const k=(0,ve.default)((0,ve.default)({},O),{},{trpc:(0,ve.default)((0,ve.default)({},O?.trpc),G?{signal:q.signal}:{signal:null})});return I.client.query(...Nr(L,k))}}),I.queryClient);return W.trpc=vu({path:N}),[W.data,W]}function y(N,D){const{client:O,queryClient:P}=c(),R=eh(N),F=P.defaultMutationOptions(P.getMutationDefaults(R)),I=Y$((0,ve.default)((0,ve.default)({},D),{},{mutationKey:R,mutationFn:L=>O.mutation(...Nr([N,{input:L}],D)),onSuccess(...L){var G,W;return n({originalFn:()=>{var k,H,U;return(k=D==null||(H=D.onSuccess)===null||H===void 0?void 0:H.call(D,...L
17))!==null&&k!==void 0?k:F==null||(U=F.onSuccess)===null||U===void 0?void 0:U.call(F,...L)},queryClient:P,meta:(G=(W=D?.meta)!==null&&W!==void 0?W:F?.meta)!==null&&G!==void 0?G:{}})}}),P);return I.trpc=vu({path:N}),I}const b={data:void 0,error:null,status:"idle"},C={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function x(N,D,O){var P;const R=(P=O?.enabled)!==null&&P!==void 0?P:D!==rn,F=Zi(na(N,D,"any")),{client:I}=c(),L=T.useRef(O);T.useEffect(()=>{L.current=O});const[G]=T.useState(new Set([])),W=T.useCallback(B=>{G.add(B)},[G]),q=T.useRef(null),k=T.useCallback(B=>{const K=U.current,V=U.current=B(K);let J=!1;for(const ce of G)if(K[ce]!==V[ce]){J=!0;break}J&&ae(d5(V,W))},[W,G]),H=T.useCallback(()=>{var B;if((B=q.current)===null||B===void 0||B.unsubscribe(),!R){k(()=>(0,ve.default)((0,ve.default)({},b),{},{reset:H}));return}k(()=>(0,ve.default)((0,ve.default)({},C),{},{reset:H}));const K=I.subscription(N.join("."),D??void 0,{onStarted:()=>{var V,J;(V=(J=L.current).onStarted)===null||V===void 0||V.call(J),k(ce=>(0,ve.default)((0,ve.default)({},ce),{},{status:"pending",error:null}))},onData:V=>{var J,ce;(J=(ce=L.current).onData)===null||J===void 0||J.call(ce,V),k(he=>(0,ve.default)((0,ve.default)({},he),{},{status:"pending",data:V,error:null}))},onError:V=>{var J,ce;(J=(ce=L.current).onError)===null||J===void 0||J.call(ce,V),k(he=>(0,ve.default)((0,ve.default)({},he),{},{status:"error",error:V}))},onConnectionStateChange:V=>{k(J=>{switch(V.state){case"idle":return(0,ve.default)((0,ve.default)({},J),{},{status:V.state,error:null,data:void 0});case"connecting":return(0,ve.default)((0,ve.default)({},J),{},{error:V.error,status:V.state});case"pending":return J}})},onComplete:()=>{var V,J;(V=(J=L.current).onComplete)===null||V===void 0||V.call(J),k(ce=>(0,ve.default)((0,ve.default)({},ce),{},{status:"idle",error:null,data:void 0}))}});q.current=K},[I,F,R,k]);T.useEffect(()=>(H(),()=>{var B;(B=q.current)===null||B===void 0||B.unsubscribe()}),[H]);const U=T.useRef(R?(0,ve.default)((0,ve.default)({},C),{},{reset:H}):(0,ve.default)((0,ve.default)({},b),{},{reset:H})),[Y,ae]=T.useState(d5(U.current,W));return Y}function w(N,D,O){var P,R,F,I,L;const{client:G,ssrState:W,prefetchInfiniteQuery:q,queryClient:k,abortOnUnmount:H}=c(),U=na(N,D,"infinite"),Y=k.getQueryDefaults(U),ae=D===rn;typeof window>"u"&&W==="prepass"&&(O==null||(P=O.trpc)===null||P===void 0?void 0:P.ssr)!==!1&&((R=O?.enabled)!==null&&R!==void 0?R:Y?.enabled)!==!1&&!ae&&!k.getQueryCache().find({queryKey:U})&&q(U,(0,ve.default)((0,ve.default)({},Y),O));const B=f(U,(0,ve.default)((0,ve.default)({},Y),O)),K=(F=O==null||(I=O.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&F!==void 0?F:H,V=X$((0,ve.default)((0,ve.default)({},B),{},{initialPageParam:(L=O.initialCursor)!==null&&L!==void 0?L:null,persister:O.persister,queryKey:U,queryFn:ae?D:J=>{var ce;const he=(0,ve.default)((0,ve.default)({},B),{},{trpc:(0,ve.default)((0,ve.default)({},B?.trpc),K?{signal:J.signal}:{signal:null})});return G.query(...Nr(U,he,{pageParam:(ce=J.pageParam)!==null&&ce!==void 0?ce:O.initialCursor,direction:J.direction}))}}),k);return V.trpc=vu({path:N}),V}function j(N,D,O){var P,R,F;const I=c(),L=na(N,D,"infinite"),G=I.queryClient.getQueryDefaults(L),W=D===rn,q=f(L,(0,ve.default)((0,ve.default)({},G),O)),k=(P=O==null||(R=O.trpc)===null||R===void 0?void 0:R.abortOnUnmount)!==null&&P!==void 0?P:I.abortOnUnmount;Q$((0,ve.default)((0,ve.default)({},O),{},{initialPageParam:(F=O.initialCursor)!==null&&F!==void 0?F:null,queryKey:L,queryFn:W?D:H=>{var U;const Y=(0,ve.default)((0,ve.default)({},q),{},{trpc:(0,ve.default)((0,ve.default)({},q?.trpc),k?{signal:H.signal}:{})});return I.client.query(...Nr(L,Y,{pageParam:(U=H.pageParam)!==null&&U!==void 0?U:O.initialCursor,direction:H.direction}))}}))}function A(N,D,O){var P,R,F;const I=c(),L=na(N,D,"infinite"),G=I.queryClient.getQueryDefaults(L),W=f(L,(0,ve.default)((0,ve.default)({},G),O)),q=(P=O==null||(R=O.trpc)===null||R===void 0?void 0:R.abortOnUnmount)!==null&&P!==void 0?P:I.abortOnUnmount,k=Z$((0,ve.default)((0,ve.default)({},O),{},{initialPageParam:(F=O.initialCursor)!==null&&F!==void 0?F:null,queryKey:L,queryFn:H=>{var U;const Y=(0,ve.default)((0,ve.default)({},W),{},{trpc:(0,ve.default)((0,ve.default)({},W?.trpc),q?{signal:H.signal}:{})});return I.client.query(...Nr(L,Y,{pageParam:(U=H.pageParam)!==null&&U!==void 0?U:O.initialCursor,direction:H.direction}))}}),I.queryClient);return k.trpc=vu({path:N}),[k.data,k]}return{Provider:l,createClient:o,useContext:c,useUtils:c,useQuery:p,usePrefetchQuery:g,useSuspenseQuery:m,useQueries:(N,D)=>{const{ssrState:O,queryClient:P,prefetchQuery:R,client:F}=c(),I=u5(F),L=N(I);if(typeof window>"u"&&O==="prepass")for(const W of L){var G;const q=W;((G=q.trpc)===null||G===void 0?void 0:G.ssr)!==!1&&!P.getQueryCache().find({queryKey:q.queryKey})&&R(q.queryKey,q)}return BP({queries:L.map(W=>(0,ve.default)((0,ve.default)({},W),{},{queryKey:W.queryKey})),combine:D?.combine},P)}
17,useSuspenseQueries:N=>{const{queryClient:D,client:O}=c(),P=u5(O),R=N(P),F=K$({queries:R.map(I=>(0,ve.default)((0,ve.default)({},I),{},{queryFn:I.queryFn,queryKey:I.queryKey}))},D);return[F.map(I=>I.data),F]},useMutation:y,useSubscription:x,useInfiniteQuery:w,usePrefetchInfiniteQuery:j,useSuspenseInfiniteQuery:A}}function xH(e){const t=lH(e);return Nw(r=>r==="useContext"||r==="useUtils"?()=>{const n=e.useUtils();return T.useMemo(()=>pH(n),[n])}:e.hasOwnProperty(r)?e[r]:t[r])}function bH(e){const t=vH();return xH(t)}const _e=bH(),SH="Please login (10001)";var Gv={exports:{}},xu={},Wv={exports:{}},Zv={};/** 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 f5;function wH(){return f5||(f5=1,(function(e){function t(k,H){var U=k.length;k.push(H);e:for(;0<U;){var Y=U-1>>>1,ae=k[Y];if(0<a(ae,H))k[Y]=H,k[U]=ae,U=Y;else break e}}function r(k){return k.length===0?null:k[0]}function n(k){if(k.length===0)return null;var H=k[0],U=k.pop();if(U!==H){k[0]=U;e:for(var Y=0,ae=k.length,B=ae>>>1;Y<B;){var K=2*(Y+1)-1,V=k[K],J=K+1,ce=k[J];if(0>a(V,U))J<ae&&0>a(ce,V)?(k[Y]=ce,k[J]=U,Y=J):(k[Y]=V,k[K]=U,Y=K);else if(J<ae&&0>a(ce,U))k[Y]=ce,k[J]=U,Y=J;else break e}}return H}function a(k,H){var U=k.sortIndex-H.sortIndex;return U!==0?U:k.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],p=[],g=1,m=null,y=3,b=!1,C=!1,x=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function M(k){for(var H=r(p);H!==null;){if(H.callback===null)n(p);else if(H.startTime<=k)n(p),H.sortIndex=H.expirationTime,t(f,H);else break;
vendor: 7,400 bytes, lines 25-41
25H=r(p)}}function N(k){if(x=!1,M(k),!C)if(r(f)!==null)C=!0,D||(D=!0,L());else{var H=r(p);H!==null&&q(N,H.startTime-k)}}var D=!1,O=-1,P=5,R=-1;function F(){return w?!0:!(e.unstable_now()-R<P)}function I(){if(w=!1,D){var k=e.unstable_now();R=k;var H=!0;try{e:{C=!1,x&&(x=!1,A(O),O=-1),b=!0;var U=y;try{t:{for(M(k),m=r(f);m!==null&&!(m.expirationTime>k&&F());){var Y=m.callback;if(typeof Y=="function"){m.callback=null,y=m.priorityLevel;var ae=Y(m.expirationTime<=k);if(k=e.unstable_now(),typeof ae=="function"){m.callback=ae,M(k),H=!0;break t}m===r(f)&&n(f),M(k)}else n(f);m=r(f)}if(m!==null)H=!0;else{var B=r(p);B!==null&&q(N,B.startTime-k),H=!1}}break e}finally{m=null,y=U,b=!1}H=void 0}}finally{H?L():D=!1}}}var L;if(typeof _=="function")L=function(){_(I)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,W=G.port2;G.port1.onmessage=I,L=function(){W.postMessage(null)}}else L=function(){j(I,0)};function q(k,H){O=j(function(){k(e.unstable_now())},H)}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(k){k.callback=null},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(k){switch(y){case 1:case 2:case 3:var H=3;break;default:H=y}var U=y;y=H;try{return k()}finally{y=U}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(k,H){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var U=y;y=k;try{return H()}finally{y=U}},e.unstable_scheduleCallback=function(k,H,U){var Y=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?Y+U:Y):U=Y,k){case 1:var ae=-1;break;case 2:ae=250;break;case 5:ae=1073741823;break;case 4:ae=1e4;break;default:ae=5e3}return ae=U+ae,k={id:g++,callback:H,priorityLevel:k,startTime:U,expirationTime:ae,sortIndex:-1},U>Y?(k.sortIndex=U,t(p,k),r(f)===null&&k===r(p)&&(x?(A(O),O=-1):x=!0,q(N,U-Y))):(k.sortIndex=ae,t(f,k),C||b||(C=!0,D||(D=!0,L()))),k},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(k){var H=y;return function(){var U=y;y=H;try{return k.apply(this,arguments)}finally{y=U}}}})(Zv)),Zv}var p5;function CH(){return p5||(p5=1,Wv.exports=wH()),Wv.exports}var Kv={exports:{}},mr={};/** 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 h5;function jH(){if(h5)return mr;h5=1;var e=bm();function t(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+f+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(f,p,g){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:f,containerInfo:p,implementation:g}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,p){if(f==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return mr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,mr.createPortal=function(f,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return o(f,p,null,g)},mr.flushSync=function(f){var p=l.T,g=n.p;try{if(l.T=null,n.p=2,f)return f()}finally{l.T=p,n.p=g,n.d.f()}},mr.preconnect=function(f,p){typeof f=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,n.d.C(f,p))},mr.prefetchDNS=function(f){typeof f=="string"&&n.d.D(f)},mr.preinit=function(f,p){if(typeof f=="string"&&p&&typeof p.as=="string"){var g=p.as,m=c(g,p.crossOrigin),y=typeof p.integrity=="string"?p.integrity:void 0,b=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?n.d.S(f,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:m,integrity:y,fetchPriority:b}):g==="script"&&n.d.X(f,{crossOrigin:m,integrity:y,fetchPriority:b,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},mr.preinitModule=function(f,p){if(typeof f=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=c(p.as,p.crossOrigin);n.d.M(f,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&n.d.M(f)},mr.preload=function(f,p){if(typeof f=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,m=c(g,p.crossOrigin);n.d.L(f,g,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},mr.preloadModule=function(f,p){if(typeof f=="string")if(p){var g=c(p.as,p.crossOrigin);n.d.m(f,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else n.d.m(f)},mr.requestFormReset=function(f){n.d.r(f)},mr.unstable_batchedUpdates=function(f,p){return f(p)},mr.useFormState=function(f,p,g){return l.H.useFormState(f,p,g)},mr.useFormStatus=function(){return l.H.useHostTransitionStatus()},mr.version="19.2.1",mr}var m5;function lM(){if(m5)return Kv.exports;m5=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(),Kv.exports=jH(),Kv.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 g5;function OH(){if(g5)return xu;g5=1;var e=CH(),t=bm(),r=lM();function n(i){var s="https://react.dev/errors/"+i;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+i+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function o(i){var s=i,u=i;if(i.alternate)for(;s.return;)s=s.return;else{i=s;do s=i,(s.flags&4098)!==0&&(u=s.return),i=s.return;while(i)}return s.tag===3?u:null}function l(i){if(i.tag===13){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}
vendor: 15,021 bytes, lines 41-48
41function c(i){if(i.tag===31){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}function f(i){if(o(i)!==i)throw Error(n(188))}function p(i){var s=i.alternate;if(!s){if(s=o(i),s===null)throw Error(n(188));return s!==i?null:i}for(var u=i,h=s;;){var v=u.return;if(v===null)break;var S=v.alternate;if(S===null){if(h=v.return,h!==null){u=h;continue}break}if(v.child===S.child){for(S=v.child;S;){if(S===u)return f(v),i;if(S===h)return f(v),s;S=S.sibling}throw Error(n(188))}if(u.return!==h.return)u=v,h=S;else{for(var E=!1,z=v.child;z;){if(z===u){E=!0,u=v,h=S;break}if(z===h){E=!0,h=v,u=S;break}z=z.sibling}if(!E){for(z=S.child;z;){if(z===u){E=!0,u=S,h=v;break}if(z===h){E=!0,h=S,u=v;break}z=z.sibling}if(!E)throw Error(n(189))}}if(u.alternate!==h)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?i:s}function g(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i;for(i=i.child;i!==null;){if(s=g(i),s!==null)return s;i=i.sibling}return null}var m=Object.assign,y=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),_=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function L(i){return i===null||typeof i!="object"?null:(i=I&&i[I]||i["@@iterator"],typeof i=="function"?i:null)}var G=Symbol.for("react.client.reference");function W(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===G?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case x:return"Fragment";case j:return"Profiler";case w:return"StrictMode";case N:return"Suspense";case D:return"SuspenseList";case R:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case C:return"Portal";case _:return i.displayName||"Context";case A:return(i._context.displayName||"Context")+".Consumer";case M:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case O:return s=i.displayName||null,s!==null?s:W(i.type)||"Memo";case P:s=i._payload,i=i._init;try{return W(i(s))}catch{}}return null}var q=Array.isArray,k=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},Y=[],ae=-1;function B(i){return{current:i}}function K(i){0>ae||(i.current=Y[ae],Y[ae]=null,ae--)}function V(i,s){ae++,Y[ae]=i.current,i.current=s}var J=B(null),ce=B(null),he=B(null),de=B(null);function ge(i,s){switch(V(he,s),V(ce,i),V(J,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?mA(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=mA(s),i=gA(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}K(J),V(J,i)}function le(){K(J),K(ce),K(he)}function me(i){i.memoizedState!==null&&V(de,i);var s=J.current,u=gA(s,i.type);s!==u&&(V(ce,i),V(J,u))}function ye(i){ce.current===i&&(K(J),K(ce)),de.current===i&&(K(de),pu._currentValue=U)}var ie,Be;function Ee(i){if(ie===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ie=s&&s[1]||"",Be=-1<u.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+ie+i+Be}var it=!1;function rt(i,s){if(!i||it)return"";it=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(ne){var re=ne}Reflect.construct(i,[],fe)}else{try{fe.call()}catch(ne){re=ne}i.call(fe.prototype)}}else{try{throw Error()}catch(ne){re=ne}(fe=i())&&typeof fe.catch=="function"&&fe.catch(function(){})}}catch(ne){if(ne&&re&&typeof ne.stack=="string")return[ne.stack,re.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=h.DetermineComponentFrameRoot(),E=S[0],z=S[1];if(E&&z){var Z=E.split(` 44`),te=z.split(` 45`);for(v=h=0;h<Z.length&&!Z[h].includes("DetermineComponentFrameRoot");)h++;for(;v<te.length&&!te[v].includes("DetermineComponentFrameRoot");)v++;if(h===Z.length||v===te.length)for(h=Z.length-1,v=te.length-1;1<=h&&0<=v&&Z[h]!==te[v];)v--;for(;1<=h&&0<=v;h--,v--)if(Z[h]!==te[v]){if(h!==1||v!==1)do if(h--,v--,0>v||Z[h]!==te[v]){var oe=` 46`+Z[h].replace(" at new "," at ");return i.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",i.displayName)),oe}while(1<=h&&0<=v);break}}}finally{it=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Ee(u):""}function mt(i,s){switch(i.tag){case 26:case 27:case 5:return Ee(i.type);case 16:return Ee("Lazy");case 13:return i.child!==s&&s!==null?Ee("Suspense Fallback"):Ee("Suspense");case 19:return Ee("SuspenseList");case 0:case 15:return rt(i.type,!1);case 11:return rt(i.type.render,!1);case 1:return rt(i.type,!0);case 31:return Ee("Activity");default:return""}}function Er(i){try{var s="",u=null;do s+=mt(i,u),u=i,i=i.return;while(i);return s}catch(h){return` 47Error generating stack: `+h.message+` 48`+h.stack}}var It=Object.prototype.hasOwnProperty,Zn=e.unstable_scheduleCallback,Ur=e.unstable_cancelCallback,Ot=e.unstable_shouldYield,cn=e.unstable_requestPaint,Qt=e.unstable_now,ws=e.unstable_getCurrentPriorityLevel,co=e.unstable_ImmediatePriority,pf=e.unstable_UserBlockingPriority,uo=e.unstable_NormalPriority,Nc=e.unstable_LowPriority,ba=e.unstable_IdlePriority,hf=e.log,di=e.unstable_setDisableYieldValue,fo=null,Cr=null;function Tn(i){if(typeof hf=="function"&&di(i),Cr&&typeof Cr.setStrictMode=="function")try{Cr.setStrictMode(fo,i)}catch{}}var pr=Math.clz32?Math.clz32:Kn,Dg=Math.log,Ac=Math.LN2;function Kn(i){return i>>>=0,i===0?32:31-(Dg(i)/Ac|0)|0}var Cs=256,js=262144,po=4194304;function Vn(i){var s=i&42;if(s!==0)return s;switch(i&-i){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 i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Ie(i,s,u){var h=i.pendingLanes;if(h===0)return 0;var v=0,S=i.suspendedLanes,E=i.pingedLanes;i=i.warmLanes;var z=h&134217727;return z!==0?(h=z&~S,h!==0?v=Vn(h):(E&=z,E!==0?v=Vn(E):u||(u=z&~i,u!==0&&(v=Vn(u))))):(z=h&~S,z!==0?v=Vn(z):E!==0?v=Vn(E):u||(u=h&~i,u!==0&&(v=Vn(u)))),v===0?0:s!==0&&s!==v&&(s&S)===0&&(S=v&-v,u=s&-s,S>=u||S===32&&(u&4194048)!==0)?s:v}function wt(i,s){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&s)===0}function Yt(i,s){switch(i){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 hr(){var i=po;return po<<=1,(po&62914560)===0&&(po=4194304),i}function fi(i){for(var s=[],u=0;31>u;u++)s.push(i);return s}function Nt(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Tr(i,s,u,h,v,S){var E=i.pendingLanes;i.pendingLanes=u,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=u,i.entangledLanes&=u,i.errorRecoveryDisabledLanes&=u,i.shellSuspendCounter=0;var z=i.entanglements,Z=i.expirationTimes,te=i.hiddenUpdates;for(u=E&~u;0<u;){var oe=31-pr(u),fe=1<<oe;z[oe]=0,Z[oe]=-1;var re=te[oe];if(re!==null)for(te[oe]=null,oe=0;oe<re.length;oe++){var ne=re[oe];ne!==null&&(ne.lane&=-536870913)}u&=~fe}h!==0&&ho(i,h,0),S!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=S&~(E&~s))}function ho(i,s,u){i.pendingLanes|=s,i.suspendedLanes&=~s;var h=31-pr(s);i.entangledLanes|=s,i.entanglements[h]=i.entanglements[h]|1073741824|u&261930}function Pr(i,s){var u=i.entangledLanes|=s;for(i=i.entanglements;u;){var h=31-pr(u),v=1<<h;v&s|i[h]&s&&(i[h]|=s),u&=~v}}function Mr(i,s){var u=s&-s;return u=(u&42)!==0?1:Os(u),(u&(i.suspendedLanes|s))!==0?0:u}function Os(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=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:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function Pn(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function _g(){var i=H.p;return i!==0?i:(i=window.event,i===void 0?32:LA(i.type))}function tj(i,s){var u=H.p;try{return H.p=i,s()}finally{H.p=u}}var pi=Math.random().toString(36).slice(2),or="__reactFiber$"+pi,Rr="__reactProps$"+pi,Ns="__reactContainer$"+pi,Eg="__reactEvents$"+pi,r9="__reactListeners$"+pi,n9="__reactHandles$"+pi,rj="__reactResources$"+pi,Dc="__reactMarker$"+pi;function Tg(i){delete i[or],delete i[Rr],delete i[Eg],delete i[r9],delete i[n9]}function As(i){var s=i[or];if(s)return s;for(var u=i.parentNode;u;){if(s=u[Ns]||u[or]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(i=CA(i);i!==null;){if(u=i[or])return u;i=CA(i)}return s}i=u,u=i.parentNode}return null}function Ds(i){if(i=i[or]||i[Ns]){var s=i.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return i}return null}function _c(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i.stateNode;throw Error(n(33))}function _s(i){var s=i[rj];return s||(s=i[rj]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Xt(i){i[Dc]=!0}var nj=new Set,aj={};function mo(i,s){Es(i,s),Es(i+"Capture",s)}function Es(i,s){for(aj[i]=s,i=0;i<s.length;i++)nj.add(s[i])}var a9=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]*$"),ij={},oj={};function i9(i){return It.call(oj,i)?!0:It.call(ij,i)?!1:a9.test(i)?oj[i]=!0:(ij[i]=!0,!1)}function mf(i,s,u){if(i9(s))if(u===null)i.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":i.removeAttribute(s);return;case"boolean":var h=s.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(s);return}}i.setAttribute(s,""+u)}}function gf(i,s,u){if(u===null)i.removeAttribute(s);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(s);return}i.setAttribute(s,""+u)}}function Sa(i,s,u,h){if(h===null)i.removeAttribute(u);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttributeNS(s,u,""+h)}}function un(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function sj(i){var s=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function o9(i,s,u){var h=Object.getOwnPropertyDescriptor(i.constructor.prototype,s);if(!i.hasOwnProperty(s)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var v=h.get,S=h.set;return Object.defineProperty(i,s,{configurable:!0,get:function(){return v.call(this)},set:function(E){u=""+E,S.call(this,E)}}),Object.defineProperty(i,s,{enumerable:h.enumerable}),{getValue:function(){return u},setValue:function(E){u=""+E},stopTracking:function(){i._valueTracker=null,delete i[s]}}}}function Pg(i){if(!i._valueTracker){var s=sj(i)?"checked":"value";i._valueTracker=o9(i,s,""+i[s])}}function lj(i){if(!i)return!1;var s=i._valueTracker;if(!s)return!0;var u=s.getValue(),h="";return i&&(h=sj(i)?i.checked?"true":"false":i.value),i=h,i!==u?(s.setValue(i),!0):!1}function yf(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var s9=/[\n"\\]/g;function dn(i){return i.replace(s9,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Mg(i,s,u,h,v,S,E,z){i.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?i.type=E:i.removeAttribute("type"),s!=null?E==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=""+un(s)):i.value!==""+un(s)&&(i.value=""+un(s)):E!=="submit"&&E!=="reset"||i.removeAttribute("value"),s!=null?Rg(i,E,un(s)):u!=null?Rg(i,E,un(u)):h!=null&&i.removeAttribute("value"),v==null&&S!=null&&(i.defaultChecked=!!S),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?i.name=""+un(z):i.removeAttribute("name")}function cj(i,s,u,h,v,S,E,z){if(S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(i.type=S),s!=null||u!=null){if(!(S!=="submit"&&S!=="reset"||s!=null)){Pg(i);return}u=u!=null?""+un(u):"",s=s!=null?""+un(s):u,z||s===i.value||(i.value=s),i.defaultValue=s}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=z?i.checked:!!h,i.defaultChecked=!!h,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(i.name=E),Pg(i)}function Rg(i,s,u){s==="number"&&yf(i.ownerDocument)===i||i.defaultValue===""+u||(i.defaultValue=""+u)}function Ts(i,s,u,h){if(i=i.options,s){s={};for(var v=0;v<u.length;v++)s["$"+u[v]]=!0;for(u=0;u<i.length;u++)v=s.hasOwnProperty("$"+i[u].value),i[u].selected!==v&&(i[u].selected=v),v&&h&&(i[u].defaultSelected=!0)}else{for(u=""+un(u),s=null,v=0;v<i.length;v++){if(i[v].value===u){i[v].selected=!0,h&&(i[v].defaultSelected=!0);return}s!==null||i[v].disabled||(s=i[v])}s!==null&&(s.selected=!0)}}function uj(i,s,u){if(s!=null&&(s=""+un(s),s!==i.value&&(i.value=s),u==null)){i.defaultValue!==s&&(i.defaultValue=s);return}i.defaultValue=u!=null?""+un(u):""}function dj(i,s,u,h){if(s==null){if(h!=null){if(u!=null)throw Error(n(92));if(q(h)){if(1<h.length)throw Error(n(93));h=h[0]}u=h}u==null&&(u=""),s=u}u=un(s),i.defaultValue=u,h=i.textContent,h===u&&h!==""&&h!==null&&(i.value=h),Pg(i)}function Ps(i,s){if(s){var u=i.firstChild;
vendor: 4,140 bytes, line 48
48if(u&&u===i.lastChild&&u.nodeType===3){u.nodeValue=s;return}}i.textContent=s}var l9=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 fj(i,s,u){var h=s.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?h?i.setProperty(s,""):s==="float"?i.cssFloat="":i[s]="":h?i.setProperty(s,u):typeof u!="number"||u===0||l9.has(s)?s==="float"?i.cssFloat=u:i[s]=(""+u).trim():i[s]=u+"px"}function pj(i,s,u){if(s!=null&&typeof s!="object")throw Error(n(62));if(i=i.style,u!=null){for(var h in u)!u.hasOwnProperty(h)||s!=null&&s.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var v in s)h=s[v],s.hasOwnProperty(v)&&u[v]!==h&&fj(i,v,h)}else for(var S in s)s.hasOwnProperty(S)&&fj(i,S,s[S])}function kg(i){if(i.indexOf("-")===-1)return!1;switch(i){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 c9=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"]]),u9=/^[\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 vf(i){return u9.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function wa(){}var Ig=null;function zg(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Ms=null,Rs=null;function hj(i){var s=Ds(i);if(s&&(i=s.stateNode)){var u=i[Rr]||null;e:switch(i=s.stateNode,s.type){case"input":if(Mg(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),s=u.name,u.type==="radio"&&s!=null){for(u=i;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+dn(""+s)+'"][type="radio"]'),s=0;s<u.length;s++){var h=u[s];if(h!==i&&h.form===i.form){var v=h[Rr]||null;if(!v)throw Error(n(90));Mg(h,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(s=0;s<u.length;s++)h=u[s],h.form===i.form&&lj(h)}break e;case"textarea":uj(i,u.value,u.defaultValue);break e;case"select":s=u.value,s!=null&&Ts(i,!!u.multiple,s,!1)}}}var $g=!1;function mj(i,s,u){if($g)return i(s,u);$g=!0;try{var h=i(s);return h}finally{if($g=!1,(Ms!==null||Rs!==null)&&(ip(),Ms&&(s=Ms,i=Rs,Rs=Ms=null,hj(s),i)))for(s=0;s<i.length;s++)hj(i[s])}}function Ec(i,s){var u=i.stateNode;if(u===null)return null;var h=u[Rr]||null;if(h===null)return null;u=h[s];e:switch(s){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)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(u&&typeof u!="function")throw Error(n(231,s,typeof u));return u}var Ca=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Lg=!1;if(Ca)try{var Tc={};Object.defineProperty(Tc,"passive",{get:function(){Lg=!0}}),window.addEventListener("test",Tc,Tc),window.removeEventListener("test",Tc,Tc)}catch{Lg=!1}var hi=null,Hg=null,xf=null;function gj(){if(xf)return xf;var i,s=Hg,u=s.length,h,v="value"in hi?hi.value:hi.textContent,S=v.length;for(i=0;i<u&&s[i]===v[i];i++);var E=u-i;for(h=1;h<=E&&s[u-h]===v[S-h];h++);return xf=v.slice(i,1<h?1-h:void 0)}function bf(i){var s=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&s===13&&(i=13)):i=s,i===10&&(i=13),32<=i||i===13?i:0}function Sf(){return!0}function yj(){return!1}function kr(i){function s(u,h,v,S,E){this._reactName=u,this._targetInst=v,this.type=h,this.nativeEvent=S,this.target=E,this.currentTarget=null;for(var z in i)i.hasOwnProperty(z)&&(u=i[z],this[z]=u?u(S):S[z]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?Sf:yj,this.isPropagationStopped=yj,this}return m(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Sf)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Sf)},persist:function(){},isPersistent:Sf}),s}var go={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wf=kr(go),Pc=m({},go,{view:0,detail:0}),d9=kr(Pc),Bg,qg,Mc,Cf=m({},Pc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ug,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Mc&&(Mc&&i.type==="mousemove"?(Bg=i.screenX-Mc.screenX,qg=i.screenY-Mc.screenY):qg=Bg=0,Mc=i),Bg)},movementY:function(i){return"movementY"in i?i.movementY:qg}}),vj=kr(Cf),f9=m({},Cf,{dataTransfer:0}),p9=kr(f9),h9=m({},Pc,{relatedTarget:0}),Fg=kr(h9),m9=m({},go,{animationName:0,elapsedTime:0,pseudoElement:0}),g9=kr(m9),y9=m({},go,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),v9=kr(y9),x9=m({},go,{data:0}),xj=kr(x9),b9={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S9={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"},w9={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C9(i){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(i):(i=w9[i])?!!s[i]:!1}function Ug(){return C9}var j9=m({},Pc,{key:function(i){if(i.key){var s=b9[i.key]||i.key;if(s!=="Unidentified")return s}
vendor: 4,180 bytes, line 48
48return i.type==="keypress"?(i=bf(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?S9[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ug,charCode:function(i){return i.type==="keypress"?bf(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?bf(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),O9=kr(j9),N9=m({},Cf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bj=kr(N9),A9=m({},Pc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ug}),D9=kr(A9),_9=m({},go,{propertyName:0,elapsedTime:0,pseudoElement:0}),E9=kr(_9),T9=m({},Cf,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),P9=kr(T9),M9=m({},go,{newState:0,oldState:0}),R9=kr(M9),k9=[9,13,27,32],Gg=Ca&&"CompositionEvent"in window,Rc=null;Ca&&"documentMode"in document&&(Rc=document.documentMode);var I9=Ca&&"TextEvent"in window&&!Rc,Sj=Ca&&(!Gg||Rc&&8<Rc&&11>=Rc),wj=" ",Cj=!1;function jj(i,s){switch(i){case"keyup":return k9.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Oj(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var ks=!1;function z9(i,s){switch(i){case"compositionend":return Oj(s);case"keypress":return s.which!==32?null:(Cj=!0,wj);case"textInput":return i=s.data,i===wj&&Cj?null:i;default:return null}}function $9(i,s){if(ks)return i==="compositionend"||!Gg&&jj(i,s)?(i=gj(),xf=Hg=hi=null,ks=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Sj&&s.locale!=="ko"?null:s.data;default:return null}}var L9={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 Nj(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!L9[i.type]:s==="textarea"}function Aj(i,s,u,h){Ms?Rs?Rs.push(h):Rs=[h]:Ms=h,s=fp(s,"onChange"),0<s.length&&(u=new wf("onChange","change",null,u,h),i.push({event:u,listeners:s}))}var kc=null,Ic=null;function H9(i){cA(i,0)}function jf(i){var s=_c(i);if(lj(s))return i}function Dj(i,s){if(i==="change")return s}var _j=!1;if(Ca){var Wg;if(Ca){var Zg="oninput"in document;if(!Zg){var Ej=document.createElement("div");Ej.setAttribute("oninput","return;"),Zg=typeof Ej.oninput=="function"}Wg=Zg}else Wg=!1;_j=Wg&&(!document.documentMode||9<document.documentMode)}function Tj(){kc&&(kc.detachEvent("onpropertychange",Pj),Ic=kc=null)}function Pj(i){if(i.propertyName==="value"&&jf(Ic)){var s=[];Aj(s,Ic,i,zg(i)),mj(H9,s)}}function B9(i,s,u){i==="focusin"?(Tj(),kc=s,Ic=u,kc.attachEvent("onpropertychange",Pj)):i==="focusout"&&Tj()}function q9(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return jf(Ic)}function F9(i,s){if(i==="click")return jf(s)}function U9(i,s){if(i==="input"||i==="change")return jf(s)}function G9(i,s){return i===s&&(i!==0||1/i===1/s)||i!==i&&s!==s}var Gr=typeof Object.is=="function"?Object.is:G9;function zc(i,s){if(Gr(i,s))return!0;if(typeof i!="object"||i===null||typeof s!="object"||s===null)return!1;var u=Object.keys(i),h=Object.keys(s);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var v=u[h];if(!It.call(s,v)||!Gr(i[v],s[v]))return!1}return!0}function Mj(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Rj(i,s){var u=Mj(i);i=0;for(var h;u;){if(u.nodeType===3){if(h=i+u.textContent.length,i<=s&&h>=s)return{node:u,offset:s-i};i=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Mj(u)}}function kj(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?kj(i,s.parentNode):"contains"in i?i.contains(s):i.
vendor: 23,117 bytes, line 48
48compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function Ij(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var s=yf(i.document);s instanceof i.HTMLIFrameElement;){try{var u=typeof s.contentWindow.location.href=="string"}catch{u=!1}if(u)i=s.contentWindow;else break;s=yf(i.document)}return s}function Kg(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}var W9=Ca&&"documentMode"in document&&11>=document.documentMode,Is=null,Vg=null,$c=null,Qg=!1;function zj(i,s,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Qg||Is==null||Is!==yf(h)||(h=Is,"selectionStart"in h&&Kg(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),$c&&zc($c,h)||($c=h,h=fp(Vg,"onSelect"),0<h.length&&(s=new wf("onSelect","select",null,s,u),i.push({event:s,listeners:h}),s.target=Is)))}function yo(i,s){var u={};return u[i.toLowerCase()]=s.toLowerCase(),u["Webkit"+i]="webkit"+s,u["Moz"+i]="moz"+s,u}var zs={animationend:yo("Animation","AnimationEnd"),animationiteration:yo("Animation","AnimationIteration"),animationstart:yo("Animation","AnimationStart"),transitionrun:yo("Transition","TransitionRun"),transitionstart:yo("Transition","TransitionStart"),transitioncancel:yo("Transition","TransitionCancel"),transitionend:yo("Transition","TransitionEnd")},Yg={},$j={};Ca&&($j=document.createElement("div").style,"AnimationEvent"in window||(delete zs.animationend.animation,delete zs.animationiteration.animation,delete zs.animationstart.animation),"TransitionEvent"in window||delete zs.transitionend.transition);function vo(i){if(Yg[i])return Yg[i];if(!zs[i])return i;var s=zs[i],u;for(u in s)if(s.hasOwnProperty(u)&&u in $j)return Yg[i]=s[u];return i}var Lj=vo("animationend"),Hj=vo("animationiteration"),Bj=vo("animationstart"),Z9=vo("transitionrun"),K9=vo("transitionstart"),V9=vo("transitioncancel"),qj=vo("transitionend"),Fj=new Map,Xg="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(" ");Xg.push("scrollEnd");function Mn(i,s){Fj.set(i,s),mo(s,[i])}var Of=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},fn=[],$s=0,Jg=0;function Nf(){for(var i=$s,s=Jg=$s=0;s<i;){var u=fn[s];fn[s++]=null;var h=fn[s];fn[s++]=null;var v=fn[s];fn[s++]=null;var S=fn[s];if(fn[s++]=null,h!==null&&v!==null){var E=h.pending;E===null?v.next=v:(v.next=E.next,E.next=v),h.pending=v}S!==0&&Uj(u,v,S)}}function Af(i,s,u,h){fn[$s++]=i,fn[$s++]=s,fn[$s++]=u,fn[$s++]=h,Jg|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function ey(i,s,u,h){return Af(i,s,u,h),Df(i)}function xo(i,s){return Af(i,null,null,s),Df(i)}function Uj(i,s,u){i.lanes|=u;var h=i.alternate;h!==null&&(h.lanes|=u);for(var v=!1,S=i.return;S!==null;)S.childLanes|=u,h=S.alternate,h!==null&&(h.childLanes|=u),S.tag===22&&(i=S.stateNode,i===null||i._visibility&1||(v=!0)),i=S,S=S.return;return i.tag===3?(S=i.stateNode,v&&s!==null&&(v=31-pr(u),i=S.hiddenUpdates,h=i[v],h===null?i[v]=[s]:h.push(s),s.lane=u|536870912),S):null}function Df(i){if(50<ou)throw ou=0,cv=null,Error(n(185));for(var s=i.return;s!==null;)i=s,s=i.return;return i.tag===3?i.stateNode:null}var Ls={};function Q9(i,s,u,h){this.tag=i,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,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 Wr(i,s,u,h){return new Q9(i,s,u,h)}function ty(i){return i=i.prototype,!(!i||!i.isReactComponent)}function ja(i,s){var u=i.alternate;return u===null?(u=Wr(i.tag,s,i.key,i.mode),u.elementType=i.elementType,u.type=i.type,u.stateNode=i.stateNode,u.alternate=i,i.alternate=u):(u.pendingProps=s,u.type=i.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=i.flags&65011712,u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,s=i.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},u.sibling=i.sibling,u.index=i.index,u.ref=i.ref,u.refCleanup=i.refCleanup,u}function Gj(i,s){i.flags&=65011714;var u=i.alternate;return u===null?(i.childLanes=0,i.lanes=s,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,s=u.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),i}function _f(i,s,u,h,v,S){var E=0;if(h=i,typeof i=="function")ty(i)&&(E=1);else if(typeof i=="string")E=t$(i,u,J.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case R:return i=Wr(31,u,s,v),i.elementType=R,i.lanes=S,i;case x:return bo(u.children,v,S,s);case w:E=8,v|=24;break;case j:return i=Wr(12,u,s,v|2),i.elementType=j,i.lanes=S,i;case N:return i=Wr(13,u,s,v),i.elementType=N,i.lanes=S,i;case D:return i=Wr(19,u,s,v),i.elementType=D,i.lanes=S,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case _:E=10;break e;case A:E=9;break e;case M:E=11;break e;case O:E=14;break e;case P:E=16,h=null;break e}E=29,u=Error(n(130,i===null?"null":typeof i,"")),h=null}return s=Wr(E,u,s,v),s.elementType=i,s.type=h,s.lanes=S,s}function bo(i,s,u,h){return i=Wr(7,i,h,s),i.lanes=u,i}function ry(i,s,u){return i=Wr(6,i,null,s),i.lanes=u,i}function Wj(i){var s=Wr(18,null,null,0);return s.stateNode=i,s}function ny(i,s,u){return s=Wr(4,i.children!==null?i.children:[],i.key,s),s.lanes=u,s.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},s}var Zj=new WeakMap;function pn(i,s){if(typeof i=="object"&&i!==null){var u=Zj.get(i);return u!==void 0?u:(s={value:i,source:s,stack:Er(s)},Zj.set(i,s),s)}return{value:i,source:s,stack:Er(s)}}var Hs=[],Bs=0,Ef=null,Lc=0,hn=[],mn=0,mi=null,Qn=1,Yn="";function Oa(i,s){Hs[Bs++]=Lc,Hs[Bs++]=Ef,Ef=i,Lc=s}function Kj(i,s,u){hn[mn++]=Qn,hn[mn++]=Yn,hn[mn++]=mi,mi=i;var h=Qn;i=Yn;var v=32-pr(h)-1;h&=~(1<<v),u+=1;var S=32-pr(s)+v;if(30<S){var E=v-v%5;S=(h&(1<<E)-1).toString(32),h>>=E,v-=E,Qn=1<<32-pr(s)+v|u<<v|h,Yn=S+i}else Qn=1<<S|u<<v|h,Yn=i}function ay(i){i.return!==null&&(Oa(i,1),Kj(i,1,0))}function iy(i){for(;i===Ef;)Ef=Hs[--Bs],Hs[Bs]=null,Lc=Hs[--Bs],Hs[Bs]=null;for(;i===mi;)mi=hn[--mn],hn[mn]=null,Yn=hn[--mn],hn[mn]=null,Qn=hn[--mn],hn[mn]=null}function Vj(i,s){hn[mn++]=Qn,hn[mn++]=Yn,hn[mn++]=mi,Qn=s.id,Yn=s.overflow,mi=i}var sr=null,xt=null,Ze=!1,gi=null,gn=!1,oy=Error(n(519));function yi(i){var s=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Hc(pn(s,i)),oy}function Qj(i){var s=i.stateNode,u=i.type,h=i.memoizedProps;switch(s[or]=i,s[Rr]=h,u){case"dialog":Ue("cancel",s),Ue("close",s);break;case"iframe":case"object":case"embed":Ue("load",s);break;case"video":case"audio":for(u=0;u<lu.length;u++)Ue(lu[u],s);break;case"source":Ue("error",s);break;case"img":case"image":case"link":Ue("error",s),Ue("load",s);break;case"details":Ue("toggle",s);break;case"input":Ue("invalid",s),cj(s,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":Ue("invalid",s);break;case"textarea":Ue("invalid",s),dj(s,h.value,h.defaultValue,h.children)}u=h.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||s.textContent===""+u||h.suppressHydrationWarning===!0||pA(s.textContent,u)?(h.popover!=null&&(Ue("beforetoggle",s),Ue("toggle",s)),h.onScroll!=null&&Ue("scroll",s),h.onScrollEnd!=null&&Ue("scrollend",s),h.onClick!=null&&(s.onclick=wa),s=!0):s=!1,s||yi(i,!0)}function Yj(i){for(sr=i.return;sr;)switch(sr.tag){case 5:case 31:case 13:gn=!1;return;case 27:case 3:gn=!0;return;default:sr=sr.return}}function qs(i){if(i!==sr)return!1;if(!Ze)return Yj(i),Ze=!0,!1;var s=i.tag,u;if((u=s!==3&&s!==27)&&((u=s===5)&&(u=i.type,u=!(u!=="form"&&u!=="button")||jv(i.type,i.memoizedProps)),u=!u),u&&xt&&yi(i),Yj(i),s===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));xt=wA(i)}else if(s===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));xt=wA(i)}else s===27?(s=xt,Ti(i.type)?(i=_v,_v=null,xt=i):xt=s):xt=sr?vn(i.stateNode.nextSibling):null;return!0}function So(){xt=sr=null,Ze=!1}function sy(){var i=gi;return i!==null&&(Lr===null?Lr=i:Lr.push.apply(Lr,i),gi=null),i}function Hc(i){gi===null?gi=[i]:gi.push(i)}var ly=B(null),wo=null,Na=null;function vi(i,s,u){V(ly,s._currentValue),s._currentValue=u}function Aa(i){i._currentValue=ly.current,K(ly)}function cy(i,s,u){for(;i!==null;){var h=i.alternate;if((i.childLanes&s)!==s?(i.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),i===u)break;i=i.return}}function uy(i,s,u,h){var v=i.child;for(v!==null&&(v.return=i);v!==null;){var S=v.dependencies;if(S!==null){var E=v.child;S=S.firstContext;e:for(;S!==null;){var z=S;S=v;for(var Z=0;Z<s.length;Z++)if(z.context===s[Z]){S.lanes|=u,z=S.alternate,z!==null&&(z.lanes|=u),cy(S.return,u,i),h||(E=null);break e}S=z.next}}else if(v.tag===18){if(E=v.return,E===null)throw Error(n(341));E.lanes|=u,S=E.alternate,S!==null&&(S.lanes|=u),cy(E,u,i),E=null}else E=v.child;if(E!==null)E.return=v;else for(E=v;E!==null;){if(E===i){E=null;break}if(v=E.sibling,v!==null){v.return=E.return,E=v;break}E=E.return}v=E}}function Fs(i,s,u,h){i=null;for(var v=s,S=!1;v!==null;){if(!S){if((v.flags&524288)!==0)S=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var E=v.alternate;if(E===null)throw Error(n(387));if(E=E.memoizedProps,E!==null){var z=v.type;Gr(v.pendingProps.value,E.value)||(i!==null?i.push(z):i=[z])}}else if(v===de.current){if(E=v.alternate,E===null)throw Error(n(387));E.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(i!==null?i.push(pu):i=[pu])}v=v.return}i!==null&&uy(s,i,u,h),s.flags|=262144}function Tf(i){for(i=i.firstContext;i!==null;){if(!Gr(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function Co(i){wo=i,Na=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function lr(i){return Xj(wo,i)}function Pf(i,s){return wo===null&&Co(i),Xj(i,s)}function Xj(i,s){var u=s._currentValue;if(s={context:s,memoizedValue:u,next:null},Na===null){if(i===null)throw Error(n(308));Na=s,i.dependencies={lanes:0,firstContext:s},i.flags|=524288}else Na=Na.next=s;return u}var Y9=typeof AbortController<"u"?AbortController:function(){var i=[],s=this.signal={aborted:!1,addEventListener:function(u,h){i.push(h)}};this.abort=function(){s.aborted=!0,i.forEach(function(u){return u()})}},X9=e.unstable_scheduleCallback,J9=e.unstable_NormalPriority,zt={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function dy(){return{controller:new Y9,data:new Map,refCount:0}}function Bc(i){i.refCount--,i.refCount===0&&X9(J9,function(){i.controller.abort()})}var qc=null,fy=0,Us=0,Gs=null;function ez(i,s){if(qc===null){var u=qc=[];fy=0,Us=mv(),Gs={status:"pending",value:void 0,then:function(h){u.push(h)}}}return fy++,s.then(Jj,Jj),s}function Jj(){if(--fy===0&&qc!==null){Gs!==null&&(Gs.status="fulfilled");var i=qc;qc=null,Us=0,Gs=null;for(var s=0;s<i.length;s++)(0,i[s])()}}function tz(i,s){var u=[],h={status:"pending",value:null,reason:null,then:function(v){u.push(v)}};return i.then(function(){h.status="fulfilled",h.value=s;for(var v=0;v<u.length;v++)(0,u[v])(s)},function(v){for(h.status="rejected",h.reason=v,v=0;v<u.length;v++)(0,u[v])(void 0)}),h}var eO=k.S;k.S=function(i,s){zN=Qt(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&ez(i,s),eO!==null&&eO(i,s)};var jo=B(null);function py(){var i=jo.current;return i!==null?i:pt.pooledCache}function Mf(i,s){s===null?V(jo,jo.current):V(jo,s.pool)}function tO(){var i=py();return i===null?null:{parent:zt._currentValue,pool:i}}var Ws=Error(n(460)),hy=Error(n(474)),Rf=Error(n(542)),kf={then:function(){}};function rO(i){return i=i.status,i==="fulfilled"||i==="rejected"}function nO(i,s,u){switch(u=i[u],u===void 0?i.push(s):u!==s&&(s.then(wa,wa),s=u),s.status){case"fulfilled":return s.value;case"rejected":throw i=s.reason,iO(i),i;default:if(typeof s.status=="string")s.then(wa,wa);else{if(i=pt,i!==null&&100<i.shellSuspendCounter)throw Error(n(482));i=s,i.status="pending",i.then(function(h){if(s.status==="pending"){var v=s;v.status="fulfilled",v.value=h}},function(h){if(s.status==="pending"){var v=s;v.status="rejected",v.reason=h}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw i=s.reason,iO(i),i}throw No=s,Ws}}function Oo(i){try{var s=i._init;return s(i._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(No=u,Ws):u}}var No=null;function aO(){if(No===null)throw Error(n(459));var i=No;return No=null,i}function iO(i){if(i===Ws||i===Rf)throw Error(n(483))}var Zs=null,Fc=0;function If(i){var s=Fc;return Fc+=1,Zs===null&&(Zs=[]),nO(Zs,i,s)}function Uc(i,s){s=s.props.ref,i.ref=s!==void 0?s:null}function zf(i,s){throw s.$$typeof===y?Error(n(525)):(i=Object.prototype.toString.call(s),Error(n(31,i==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":i)))}function oO(i){function s(X,Q){if(i){var ee=X.deletions;ee===null?(X.deletions=[Q],X.flags|=16):ee.push(Q)}}function u(X,Q){if(!i)return null;for(;Q!==null;)s(X,Q),Q=Q.sibling;return null}function h(X){for(var Q=new Map;X!==null;)X.key!==null?Q.set(X.key,X):Q.set(X.index,X),X=X.sibling;return Q}function v(X,Q){return X=ja(X,Q),X.index=0,X.sibling=null,X}function S(X,Q,ee){return X.index=ee,i?(ee=X.alternate,ee!==null?(ee=ee.index,ee<Q?(X.flags|=67108866,Q):ee):(X.flags|=67108866,Q)):(X.flags|=1048576,Q)}function E(X){return i&&X.alternate===null&&(X.flags|=67108866),X}function z(X,Q,ee,ue){return Q===null||Q.tag!==6?(Q=ry(ee,X.mode,ue),Q.return=X,Q):(Q=v(Q,ee),Q.return=X,Q)}function Z(X,Q,ee,ue){var De=ee.type;return De===x?oe(X,Q,ee.props.children,ue,ee.key):Q!==null&&(Q.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===P&&Oo(De)===Q.type)?(Q=v(Q,ee.props),Uc(Q,ee),Q.return=X,Q):(Q=_f(ee.type,ee.key,ee.props,null,X.mode,ue),Uc(Q,ee),Q.return=X,Q)}function te(X,Q,ee,ue){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==ee.containerInfo||Q.stateNode.implementation!==ee.implementation?(Q=ny(ee,X.mode,ue),Q.return=X,Q):(Q=v(Q,ee.children||[]),Q.return=X,Q)}function oe(X,Q,ee,ue,De){return Q===null||Q.tag!==7?(Q=bo(ee,X.mode,ue,De),Q.return=X,Q):(Q=v(Q,ee),Q.return=X,Q)}function fe(X,Q,ee){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=ry(""+Q,X.mode,ee),Q.return=X,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case b:return ee=_f(Q.type,Q.key,Q.props,null,X.mode,ee),Uc(ee,Q),ee.return=X,ee;case C:return Q=ny(Q,X.mode,ee),Q.return=X,Q;case P:return Q=Oo(Q),fe(X,Q,ee)}if(q(Q)||L(Q))return Q=bo(Q,X.mode,ee,null),Q.return=X,Q;if(typeof Q.then=="function")return fe(X,If(Q),ee);if(Q.$$typeof===_)return fe(X,Pf(X,Q),ee);zf(X,Q)}return null}function re(X,Q,ee,ue){var De=Q!==null?Q.key:null;if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return De!==null?null:z(X,Q,""+ee,ue);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case b:return ee.key===De?Z(X,Q,ee,ue):null;case C:return ee.key===De?te(X,Q,ee,ue):null;case P:return ee=Oo(ee),re(X,Q,ee,ue)}if(q(ee)||L(ee))return De!==null?null:oe(X,Q,ee,ue,null);if(typeof ee.then=="function")return re(X,Q,If(ee),ue);if(ee.$$typeof===_)return re(X,Q,Pf(X,ee),ue);zf(X,ee)}return null}function ne(X,Q,ee,ue,De){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return X=X.get(ee)||null,z(Q,X,""+ue,De);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case b:return X=X.get(ue.key===null?ee:ue.key)||null,Z(Q,X,ue,De);case C:return X=X.get(ue.key===null?ee:ue.key)||null,te(Q,X,ue,De);case P:return ue=Oo(ue),ne(X,Q,ee,ue,De)}if(q(ue)||L(ue))return X=X.get(ee)||null,oe(Q,X,ue,De,null);if(typeof ue.then=="function")return ne(X,Q,ee,If(ue),De);if(ue.$$typeof===_)return ne(X,Q,ee,Pf(Q,ue),De);zf(Q,ue)}return null}function Ce(X,Q,ee,ue){for(var De=null,Ve=null,Ne=Q,He=Q=0,We=null;Ne!==null&&He<ee.length;He++){Ne.index>He?(We=Ne,Ne=null):We=Ne.sibling;var Qe=re(X,Ne,ee[He],ue);if(Qe===null){Ne===null&&(Ne=We);break}i&&Ne&&Qe.alternate===null&&s(X,Ne),Q=S(Qe,Q,He),Ve===null?De=Qe:Ve.sibling=Qe,Ve=Qe,Ne=We}if(He===ee.length)return u(X,Ne),Ze&&Oa(X,He),De;if(Ne===null){for(;He<ee.length;He++)Ne=fe(X,ee[He],ue),Ne!==null&&(Q=S(Ne,Q,He),Ve===null?De=Ne:Ve.sibling=Ne,Ve=Ne);return Ze&&Oa(X,He),De}for(Ne=h(Ne);He<ee.length;He++)We=ne(Ne,X,He,ee[He],ue),We!==null&&(i&&We.alternate!==null&&Ne.delete(We.key===null?He:We.key),Q=S(We,Q,He),Ve===null?De=We:Ve.sibling=We,Ve=We);return i&&Ne.forEach(function(Ii){return s(X,Ii)}),Ze&&Oa(X,He),De}function Te(X,Q,ee,ue){if(ee==null)throw Error(n(151));for(var De=null,Ve=null,Ne=Q,He=Q=0,We=null,Qe=ee.next();Ne!==null&&!Qe.done;He++,Qe=ee.next()){Ne.index>He?(We=Ne,Ne=null):We=Ne.sibling;var Ii=re(X,Ne,Qe.value,ue);if(Ii===null){Ne===null&&(Ne=We);break}i&&Ne&&Ii.alternate===null&&s(X,Ne),Q=S(Ii,Q,He),Ve===null?De=Ii:Ve.sibling=Ii,Ve=Ii,Ne=We}if(Qe.done)return u(X,Ne),Ze&&Oa(X,He),De;if(Ne===null){for(;!Qe.done;He++,Qe=ee.next())Qe=fe(X,Qe.value,ue),Qe!==null&&(Q=S(Qe,Q,He),Ve===null?De=Qe:Ve.sibling=Qe,Ve=Qe);return Ze&&Oa(X,He),De}for(Ne=h(Ne);!Qe.done;He++,Qe=ee.next())Qe=ne(Ne,X,He,Qe.value,ue),Qe!==null&&(i&&Qe.alternate!==null&&Ne.delete(Qe.key===null?He:Qe.key),Q=S(Qe,Q,He),Ve===null?De=Qe:Ve.sibling=Qe,Ve=Qe);return i&&Ne.forEach(function(f$){return s(X,f$)}),Ze&&Oa(X,He),De}function dt(X,Q,ee,ue){if(typeof ee=="object"&&ee!==null&&ee.type===x&&ee.key===null&&(ee=ee.props.children),typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case b:e:{for(var De=ee.key;Q!==null;){if(Q.key===De){if(De=ee.type,De===x){if(Q.tag===7){u(X,Q.sibling),ue=v(Q,ee.props.children),ue.return=X,X=ue;break e}}else if(Q.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===P&&Oo(De)===Q.type){u(X,Q.sibling),ue=v(Q,ee.props),Uc(ue,ee),ue.return=X,X=ue;break e}u(X,Q);break}else s(X,Q);Q=Q.sibling}ee.type===x?(ue=bo(ee.props.children,X.mode,ue,ee.key),ue.return=X,X=ue):(ue=_f(ee.type,ee.key,ee.props,null,X.mode,ue),Uc(ue,ee),ue.return=X,X=ue)}return E(X);case C:e:{for(De=ee.key;Q!==null;){if(Q.key===De)if(Q.tag===4&&Q.stateNode.containerInfo===ee.containerInfo&&Q.stateNode.implementation===ee.implementation){u(X,Q.sibling),ue=v(Q,ee.children||[]),ue.return=X,X=ue;break e}else{u(X,Q);break}else s(X,Q);Q=Q.sibling}ue=ny(ee,X.mode,ue),ue.return=X,X=ue}return E(X);case P:return ee=Oo(ee),dt(X,Q,ee,ue)}if(q(ee))return Ce(X,Q,ee,ue);if(L(ee)){if(De=L(ee),typeof De!="function")throw Error(n(150));return ee=De.call(ee),Te(X,Q,ee,ue)}if(typeof ee.then=="function")return dt(X,Q,If(ee),ue);if(ee.$$typeof===_)return dt(X,Q,Pf(X,ee),ue);zf(X,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint"?(ee=""+ee,Q!==null&&Q.tag===6?(u(X,Q.sibling),ue=v(Q,ee),ue.return=X,X=ue):(u(X,Q),ue=ry(ee,X.mode,ue),ue.return=X,X=ue),E(X)):u(X,Q)}return function(X,Q,ee,ue){try{Fc=0;var De=dt(X,Q,ee,ue);return Zs=null,De}catch(Ne){if(Ne===Ws||Ne===Rf)throw Ne;var Ve=Wr(29,Ne,null,X.mode);return Ve.lanes=ue,Ve.return=X,Ve}finally{}}}var Ao=oO(!0),sO=oO(!1),xi=!1;function my(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gy(i,s){i=i.updateQueue,s.updateQueue===i&&(s.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function bi(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function Si(i,s,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(Je&2)!==0){var v=h.pending;return v===null?s.next=s:(s.next=v.next,v.next=s),h.pending=s,s=Df(i),Uj(i,null,u),s}return Af(i,h,s,u),Df(i)}function Gc(i,s,u){if(s=s.updateQueue,s!==null&&(s=s.shared,(u&4194048)!==0)){var h=s.lanes;h&=i.pendingLanes,u|=h,s.lanes=u,Pr(i,u)}}function yy(i,s){var u=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var v=null,S=null;if(u=u.firstBaseUpdate,u!==null){do{var E={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};S===null?v=S=E:S=S.next=E,u=u.next}while(u!==null);S===null?v=S=s:S=S.next=s}else v=S=s;u={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:S,shared:h.shared,callbacks:h.callbacks},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=s:i.next=s,u.lastBaseUpdate=s}var vy=!1;function Wc(){if(vy){var i=Gs;if(i!==null)throw i}}function Zc(i,s,u,h){vy=!1;var v=i.updateQueue;xi=!1;var S=v.firstBaseUpdate,E=v.lastBaseUpdate,z=v.shared.pending;if(z!==null){v.shared.pending=null;var Z=z,te=Z.next;Z.next=null,E===null?S=te:E.next=te,E=Z;var oe=i.alternate;oe!==null&&(oe=oe.updateQueue,z=oe.lastBaseUpdate,z!==E&&(z===null?oe.firstBaseUpdate=te:z.next=te,oe.lastBaseUpdate=Z))}if(S!==null){var fe=v.baseState;E=0,oe=te=Z=null,z=S;do{var re=z.lane&-536870913,ne=re!==z.lane;if(ne?(Ge&re)===re:(h&re)===re){re!==0&&re===Us&&(vy=!0),oe!==null&&(oe=oe.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var Ce=i,Te=z;re=s;var dt=u;switch(Te.tag){case 1:if(Ce=Te.payload,typeof Ce=="function"){fe=Ce.call(dt,fe,re);break e}fe=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Te.payload,re=typeof Ce=="function"?Ce.call(dt,fe,re):Ce,re==null)break e;fe=m({},fe,re);break e;case 2:xi=!0}}re=z.callback,re!==null&&(i.flags|=64,ne&&(i.flags|=8192),ne=v.callbacks,ne===null?v.callbacks=[re]:ne.push(re))}else ne={lane:re,tag:z.tag,payload:z.payload,callback:z.callback,next:null},oe===null?(te=oe=ne,Z=fe):oe=oe.next=ne,E|=re;
vendor: 5,400 bytes, line 48
48if(z=z.next,z===null){if(z=v.shared.pending,z===null)break;ne=z,z=ne.next,ne.next=null,v.lastBaseUpdate=ne,v.shared.pending=null}}while(!0);oe===null&&(Z=fe),v.baseState=Z,v.firstBaseUpdate=te,v.lastBaseUpdate=oe,S===null&&(v.shared.lanes=0),Ni|=E,i.lanes=E,i.memoizedState=fe}}function lO(i,s){if(typeof i!="function")throw Error(n(191,i));i.call(s)}function cO(i,s){var u=i.callbacks;if(u!==null)for(i.callbacks=null,i=0;i<u.length;i++)lO(u[i],s)}var Ks=B(null),$f=B(0);function uO(i,s){i=Ia,V($f,i),V(Ks,s),Ia=i|s.baseLanes}function xy(){V($f,Ia),V(Ks,Ks.current)}function by(){Ia=$f.current,K(Ks),K($f)}var Zr=B(null),yn=null;function wi(i){var s=i.alternate;V(Pt,Pt.current&1),V(Zr,i),yn===null&&(s===null||Ks.current!==null||s.memoizedState!==null)&&(yn=i)}function Sy(i){V(Pt,Pt.current),V(Zr,i),yn===null&&(yn=i)}function dO(i){i.tag===22?(V(Pt,Pt.current),V(Zr,i),yn===null&&(yn=i)):Ci()}function Ci(){V(Pt,Pt.current),V(Zr,Zr.current)}function Kr(i){K(Zr),yn===i&&(yn=null),K(Pt)}var Pt=B(0);function Lf(i){for(var s=i;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Av(u)||Dv(u)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Da=0,Le=null,ct=null,$t=null,Hf=!1,Vs=!1,Do=!1,Bf=0,Kc=0,Qs=null,rz=0;function Dt(){throw Error(n(321))}function wy(i,s){if(s===null)return!1;for(var u=0;u<s.length&&u<i.length;u++)if(!Gr(i[u],s[u]))return!1;return!0}function Cy(i,s,u,h,v,S){return Da=S,Le=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,k.H=i===null||i.memoizedState===null?KO:$y,Do=!1,S=u(h,v),Do=!1,Vs&&(S=pO(s,u,h,v)),fO(i),S}function fO(i){k.H=Yc;var s=ct!==null&&ct.next!==null;if(Da=0,$t=ct=Le=null,Hf=!1,Kc=0,Qs=null,s)throw Error(n(300));i===null||Lt||(i=i.dependencies,i!==null&&Tf(i)&&(Lt=!0))}function pO(i,s,u,h){Le=i;var v=0;do{if(Vs&&(Qs=null),Kc=0,Vs=!1,25<=v)throw Error(n(301));if(v+=1,$t=ct=null,i.updateQueue!=null){var S=i.updateQueue;S.lastEffect=null,S.events=null,S.stores=null,S.memoCache!=null&&(S.memoCache.index=0)}k.H=VO,S=s(u,h)}while(Vs);return S}function nz(){var i=k.H,s=i.useState()[0];return s=typeof s.then=="function"?Vc(s):s,i=i.useState()[0],(ct!==null?ct.memoizedState:null)!==i&&(Le.flags|=1024),s}function jy(){var i=Bf!==0;return Bf=0,i}function Oy(i,s,u){s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~u}function Ny(i){if(Hf){for(i=i.memoizedState;i!==null;){var s=i.queue;s!==null&&(s.pending=null),i=i.next}Hf=!1}Da=0,$t=ct=Le=null,Vs=!1,Kc=Bf=0,Qs=null}function jr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?Le.memoizedState=$t=i:$t=$t.next=i,$t}function Mt(){if(ct===null){var i=Le.alternate;i=i!==null?i.memoizedState:null}else i=ct.next;var s=$t===null?Le.memoizedState:$t.next;if(s!==null)$t=s,ct=i;else{if(i===null)throw Le.alternate===null?Error(n(467)):Error(n(310));ct=i,i={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},$t===null?Le.memoizedState=$t=i:$t=$t.next=i}return $t}function qf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vc(i){var s=Kc;return Kc+=1,Qs===null&&(Qs=[]),i=nO(Qs,i,s),s=Le,($t===null?s.memoizedState:$t.next)===null&&(s=s.alternate,k.H=s===null||s.memoizedState===null?KO:$y),i}function Ff(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Vc(i);if(i.$$typeof===_)return lr(i)}throw Error(n(438,String(i)))}function Ay(i){var s=null,u=Le.updateQueue;if(u!==null&&(s=u.memoCache),s==null){var h=Le.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(s={data:h.data.map(function(v){return v.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),u===null&&(u=qf(),Le.updateQueue=u),u.memoCache=s,u=s.data[s.index],u===void 0)for(u=s.data[s.index]=Array(i),h=0;h<i;h++)u[h]=F;return s.index++,u}function _a(i,s){return typeof s=="function"?s(i):s}function Uf(i){var s=Mt();return Dy(s,ct,i)}function Dy(i,s,u){var h=i.queue;if(h===null)throw Error(n(311));h.lastRenderedReducer=u;var v=i.baseQueue,S=h.pending;if(S!==null){if(v!==null){var E=v.next;v.next=S.next,S.next=E}s.baseQueue=v=S,h.pending=null}if(S=i.baseState,v===null)i.memoizedState=S;else{s=v.next;var z=E=null,Z=null,te=s,oe=!1;do{var fe=te.lane&-536870913;if(fe!==te.lane?(Ge&fe)===fe:(Da&fe)===fe){var re=te.revertLane;if(re===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),fe===Us&&(oe=!0);else if((Da&re)===re){te=te.next,re===Us&&(oe=!0);continue}else fe={lane:0,revertLane:te.revertLane,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},Z===null?(z=Z=fe,E=S):Z=Z.next=fe,Le.lanes|=re,Ni|=re;fe=te.action,Do&&u(S,fe),S=te.hasEagerState?te.eagerState:u(S,fe)}else re={lane:fe,revertLane:te.revertLane,gesture:te.gesture,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},Z===null?(z=Z=re,E=S):Z=Z.next=re,Le.lanes|=fe,Ni|=fe;te=te.next}
vendor: 15,256 bytes, line 48
48while(te!==null&&te!==s);if(Z===null?E=S:Z.next=z,!Gr(S,i.memoizedState)&&(Lt=!0,oe&&(u=Gs,u!==null)))throw u;i.memoizedState=S,i.baseState=E,i.baseQueue=Z,h.lastRenderedState=S}return v===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function _y(i){var s=Mt(),u=s.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=i;var h=u.dispatch,v=u.pending,S=s.memoizedState;if(v!==null){u.pending=null;var E=v=v.next;do S=i(S,E.action),E=E.next;while(E!==v);Gr(S,s.memoizedState)||(Lt=!0),s.memoizedState=S,s.baseQueue===null&&(s.baseState=S),u.lastRenderedState=S}return[S,h]}function hO(i,s,u){var h=Le,v=Mt(),S=Ze;if(S){if(u===void 0)throw Error(n(407));u=u()}else u=s();var E=!Gr((ct||v).memoizedState,u);if(E&&(v.memoizedState=u,Lt=!0),v=v.queue,Py(yO.bind(null,h,v,i),[i]),v.getSnapshot!==s||E||$t!==null&&$t.memoizedState.tag&1){if(h.flags|=2048,Ys(9,{destroy:void 0},gO.bind(null,h,v,u,s),null),pt===null)throw Error(n(349));S||(Da&127)!==0||mO(h,s,u)}return u}function mO(i,s,u){i.flags|=16384,i={getSnapshot:s,value:u},s=Le.updateQueue,s===null?(s=qf(),Le.updateQueue=s,s.stores=[i]):(u=s.stores,u===null?s.stores=[i]:u.push(i))}function gO(i,s,u,h){s.value=u,s.getSnapshot=h,vO(s)&&xO(i)}function yO(i,s,u){return u(function(){vO(s)&&xO(i)})}function vO(i){var s=i.getSnapshot;i=i.value;try{var u=s();return!Gr(i,u)}catch{return!0}}function xO(i){var s=xo(i,2);s!==null&&Hr(s,i,2)}function Ey(i){var s=jr();if(typeof i=="function"){var u=i;if(i=u(),Do){Tn(!0);try{u()}finally{Tn(!1)}}}return s.memoizedState=s.baseState=i,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:i},s}function bO(i,s,u,h){return i.baseState=u,Dy(i,ct,typeof h=="function"?h:_a)}function az(i,s,u,h,v){if(Zf(i))throw Error(n(485));if(i=s.action,i!==null){var S={payload:v,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){S.listeners.push(E)}};k.T!==null?u(!0):S.isTransition=!1,h(S),u=s.pending,u===null?(S.next=s.pending=S,SO(s,S)):(S.next=u.next,s.pending=u.next=S)}}function SO(i,s){var u=s.action,h=s.payload,v=i.state;if(s.isTransition){var S=k.T,E={};k.T=E;try{var z=u(v,h),Z=k.S;Z!==null&&Z(E,z),wO(i,s,z)}catch(te){Ty(i,s,te)}finally{S!==null&&E.types!==null&&(S.types=E.types),k.T=S}}else try{S=u(v,h),wO(i,s,S)}catch(te){Ty(i,s,te)}}function wO(i,s,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(h){CO(i,s,h)},function(h){return Ty(i,s,h)}):CO(i,s,u)}function CO(i,s,u){s.status="fulfilled",s.value=u,jO(s),i.state=u,s=i.pending,s!==null&&(u=s.next,u===s?i.pending=null:(u=u.next,s.next=u,SO(i,u)))}function Ty(i,s,u){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do s.status="rejected",s.reason=u,jO(s),s=s.next;while(s!==h)}i.action=null}function jO(i){i=i.listeners;for(var s=0;s<i.length;s++)(0,i[s])()}function OO(i,s){return s}function NO(i,s){if(Ze){var u=pt.formState;if(u!==null){e:{var h=Le;if(Ze){if(xt){t:{for(var v=xt,S=gn;v.nodeType!==8;){if(!S){v=null;break t}if(v=vn(v.nextSibling),v===null){v=null;break t}}S=v.data,v=S==="F!"||S==="F"?v:null}if(v){xt=vn(v.nextSibling),h=v.data==="F!";break e}}yi(h)}h=!1}h&&(s=u[0])}}return u=jr(),u.memoizedState=u.baseState=s,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:OO,lastRenderedState:s},u.queue=h,u=GO.bind(null,Le,h),h.dispatch=u,h=Ey(!1),S=zy.bind(null,Le,!1,h.queue),h=jr(),v={state:s,dispatch:null,action:i,pending:null},h.queue=v,u=az.bind(null,Le,v,S,u),v.dispatch=u,h.memoizedState=i,[s,u,!1]}function AO(i){var s=Mt();return DO(s,ct,i)}function DO(i,s,u){if(s=Dy(i,s,OO)[0],i=Uf(_a)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var h=Vc(s)}catch(E){throw E===Ws?Rf:E}else h=s;s=Mt();var v=s.queue,S=v.dispatch;return u!==s.memoizedState&&(Le.flags|=2048,Ys(9,{destroy:void 0},iz.bind(null,v,u),null)),[h,S,i]}function iz(i,s){i.action=s}function _O(i){var s=Mt(),u=ct;if(u!==null)return DO(s,u,i);Mt(),s=s.memoizedState,u=Mt();var h=u.queue.dispatch;return u.memoizedState=i,[s,h,!1]}function Ys(i,s,u,h){return i={tag:i,create:u,deps:h,inst:s,next:null},s=Le.updateQueue,s===null&&(s=qf(),Le.updateQueue=s),u=s.lastEffect,u===null?s.lastEffect=i.next=i:(h=u.next,u.next=i,i.next=h,s.lastEffect=i),i}function EO(){return Mt().memoizedState}function Gf(i,s,u,h){var v=jr();Le.flags|=i,v.memoizedState=Ys(1|s,{destroy:void 0},u,h===void 0?null:h)}function Wf(i,s,u,h){var v=Mt();h=h===void 0?null:h;var S=v.memoizedState.inst;ct!==null&&h!==null&&wy(h,ct.memoizedState.deps)?v.memoizedState=Ys(s,S,u,h):(Le.flags|=i,v.memoizedState=Ys(1|s,S,u,h))}function TO(i,s){Gf(8390656,8,i,s)}function Py(i,s){Wf(2048,8,i,s)}function oz(i){Le.flags|=4;var s=Le.updateQueue;if(s===null)s=qf(),Le.updateQueue=s,s.events=[i];else{var u=s.events;u===null?s.events=[i]:u.push(i)}}function PO(i){var s=Mt().memoizedState;return oz({ref:s,nextImpl:i}),function(){if((Je&2)!==0)throw Error(n(440));return s.impl.apply(void 0,arguments)}}function MO(i,s){return Wf(4,2,i,s)}function RO(i,s){return Wf(4,4,i,s)}function kO(i,s){if(typeof s=="function"){i=i();var u=s(i);return function(){typeof u=="function"?u():s(null)}}if(s!=null)return i=i(),s.current=i,function(){s.current=null}}function IO(i,s,u){u=u!=null?u.concat([i]):null,Wf(4,4,kO.bind(null,s,i),u)}function My(){}function zO(i,s){var u=Mt();s=s===void 0?null:s;var h=u.memoizedState;return s!==null&&wy(s,h[1])?h[0]:(u.memoizedState=[i,s],i)}function $O(i,s){var u=Mt();s=s===void 0?null:s;var h=u.memoizedState;if(s!==null&&wy(s,h[1]))return h[0];if(h=i(),Do){Tn(!0);try{i()}finally{Tn(!1)}}return u.memoizedState=[h,s],h}function Ry(i,s,u){return u===void 0||(Da&1073741824)!==0&&(Ge&261930)===0?i.memoizedState=s:(i.memoizedState=u,i=LN(),Le.lanes|=i,Ni|=i,u)}function LO(i,s,u,h){return Gr(u,s)?u:Ks.current!==null?(i=Ry(i,u,h),Gr(i,s)||(Lt=!0),i):(Da&42)===0||(Da&1073741824)!==0&&(Ge&261930)===0?(Lt=!0,i.memoizedState=u):(i=LN(),Le.lanes|=i,Ni|=i,s)}function HO(i,s,u,h,v){var S=H.p;H.p=S!==0&&8>S?S:8;var E=k.T,z={};k.T=z,zy(i,!1,s,u);try{var Z=v(),te=k.S;if(te!==null&&te(z,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var oe=tz(Z,h);Qc(i,s,oe,Yr(i))}else Qc(i,s,h,Yr(i))}catch(fe){Qc(i,s,{then:function(){},status:"rejected",reason:fe},Yr())}finally{H.p=S,E!==null&&z.types!==null&&(E.types=z.types),k.T=E}}function sz(){}function ky(i,s,u,h){if(i.tag!==5)throw Error(n(476));var v=BO(i).queue;HO(i,v,s,U,u===null?sz:function(){return qO(i),u(h)})}function BO(i){var s=i.memoizedState;if(s!==null)return s;s={memoizedState:U,baseState:U,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:U},next:null};var u={};return s.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:u},next:null},i.memoizedState=s,i=i.alternate,i!==null&&(i.memoizedState=s),s}function qO(i){var s=BO(i);s.next===null&&(s=i.alternate.memoizedState),Qc(i,s.next.queue,{},Yr())}function Iy(){return lr(pu)}function FO(){return Mt().memoizedState}function UO(){return Mt().memoizedState}function lz(i){for(var s=i.return;s!==null;){switch(s.tag){case 24:case 3:var u=Yr();i=bi(u);var h=Si(s,i,u);h!==null&&(Hr(h,s,u),Gc(h,s,u)),s={cache:dy()},i.payload=s;return}s=s.return}}function cz(i,s,u){var h=Yr();u={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Zf(i)?WO(s,u):(u=ey(i,s,u,h),u!==null&&(Hr(u,i,h),ZO(u,s,h)))}function GO(i,s,u){var h=Yr();Qc(i,s,u,h)}function Qc(i,s,u,h){var v={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Zf(i))WO(s,v);else{var S=i.alternate;if(i.lanes===0&&(S===null||S.lanes===0)&&(S=s.lastRenderedReducer,S!==null))try{var E=s.lastRenderedState,z=S(E,u);if(v.hasEagerState=!0,v.eagerState=z,Gr(z,E))return Af(i,s,v,0),pt===null&&Nf(),!1}catch{}finally{}if(u=ey(i,s,v,h),u!==null)return Hr(u,i,h),ZO(u,s,h),!0}return!1}function zy(i,s,u,h){if(h={lane:2,revertLane:mv(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},Zf(i)){if(s)throw Error(n(479))}else s=ey(i,u,h,2),s!==null&&Hr(s,i,2)}function Zf(i){var s=i.alternate;return i===Le||s!==null&&s===Le}function WO(i,s){Vs=Hf=!0;var u=i.pending;u===null?s.next=s:(s.next=u.next,u.next=s),i.pending=s}function ZO(i,s,u){if((u&4194048)!==0){var h=s.lanes;h&=i.pendingLanes,u|=h,s.lanes=u,Pr(i,u)}}var Yc={readContext:lr,use:Ff,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useLayoutEffect:Dt,useInsertionEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useSyncExternalStore:Dt,useId:Dt,useHostTransitionStatus:Dt,useFormState:Dt,useActionState:Dt,useOptimistic:Dt,useMemoCache:Dt,useCacheRefresh:Dt};Yc.useEffectEvent=Dt;var KO={readContext:lr,use:Ff,useCallback:function(i,s){return jr().memoizedState=[i,s===void 0?null:s],i},useContext:lr,useEffect:TO,useImperativeHandle:function(i,s,u){u=u!=null?u.concat([i]):null,Gf(4194308,4,kO.bind(null,s,i),u)},useLayoutEffect:function(i,s){return Gf(4194308,4,i,s)},useInsertionEffect:function(i,s){Gf(4,2,i,s)},useMemo:function(i,s){var u=jr();s=s===void 0?null:s;var h=i();if(Do){Tn(!0);try{i()}finally{Tn(!1)}}return u.memoizedState=[h,s],h},useReducer:function(i,s,u){var h=jr();if(u!==void 0){var v=u(s);if(Do){Tn(!0);try{u(s)}finally{Tn(!1)}}}else v=s;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=cz.bind(null,Le,i),[h.memoizedState,i]},useRef:function(i){var s=jr();return i={current:i},s.memoizedState=i},useState:function(i){i=Ey(i);var s=i.queue,u=GO.bind(null,Le,s);return s.dispatch=u,[i.memoizedState,u]},useDebugValue:My,useDeferredValue:function(i,s){var u=jr();return Ry(u,i,s)},useTransition:function(){var i=Ey(!1);return i=HO.bind(null,Le,i.queue,!0,!1),jr().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,s,u){var h=Le,v=jr();if(Ze){if(u===void 0)throw Error(n(407));u=u()}else{if(u=s(),pt===null)throw Error(n(349));(Ge&127)!==0||mO(h,s,u)}v.memoizedState=u;var S={value:u,getSnapshot:s};return v.queue=S,TO(yO.bind(null,h,S,i),[i]),h.flags|=2048,Ys(9,{destroy:void 0},gO.bind(null,h,S,u,s),null),u},useId:function(){var i=jr(),s=pt.identifierPrefix;if(Ze){var u=Yn,h=Qn;u=(h&~(1<<32-pr(h)-1)).toString(32)+u,s="_"+s+"R_"+u,u=Bf++,0<u&&(s+="H"+u.toString(32)),s+="_"}else u=rz++,s="_"+s+"r_"+u.toString(32)+"_";return i.memoizedState=s},useHostTransitionStatus:Iy,useFormState:NO,useActionState:NO,useOptimistic:function(i){var s=jr();s.memoizedState=s.baseState=i;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=u,s=zy.bind(null,Le,!0,u),u.dispatch=s,[i,s]},useMemoCache:Ay,useCacheRefresh:function(){return jr().memoizedState=lz.bind(null,Le)},useEffectEvent:function(i){var s=jr(),u={impl:i};return s.memoizedState=u,function(){if((Je&2)!==0)throw Error(n(440));return u.impl.apply(void 0,arguments)}}},$y={readContext:lr,use:Ff,useCallback:zO,useContext:lr,useEffect:Py,useImperativeHandle:IO,useInsertionEffect:MO,useLayoutEffect:RO,useMemo:$O,useReducer:Uf,useRef:EO,useState:function(){return Uf(_a)},useDebugValue:My,useDeferredValue:function(i,s){var u=Mt();return LO(u,ct.memoizedState,i,s)},useTransition:function(){var i=Uf(_a)[0],s=Mt().memoizedState;return[typeof i=="boolean"?i:Vc(i),s]},useSyncExternalStore:hO,useId:FO,useHostTransitionStatus:Iy,useFormState:AO,useActionState:AO,useOptimistic:function(i,s){var u=Mt();return bO(u,ct,i,s)},useMemoCache:Ay,useCacheRefresh:UO};$y.useEffectEvent=PO;var VO={readContext:lr,use:Ff,useCallback:zO,useContext:lr,useEffect:Py,useImperativeHandle:IO,useInsertionEffect:MO,useLayoutEffect:RO,useMemo:$O,useReducer:_y,useRef:EO,useState:function(){return _y(_a)},useDebugValue:My,useDeferredValue:function(i,s){var u=Mt();return ct===null?Ry(u,i,s):LO(u,ct.memoizedState,i,s)},useTransition:function(){var i=_y(_a)[0],s=Mt().memoizedState;return[typeof i=="boolean"?i:Vc(i),s]},useSyncExternalStore:hO,useId:FO,useHostTransitionStatus:Iy,useFormState:_O,useActionState:_O,useOptimistic:function(i,s){var u=Mt();return ct!==null?bO(u,ct,i,s):(u.baseState=i,[i,u.queue.dispatch])},useMemoCache:Ay,useCacheRefresh:UO};VO.useEffectEvent=PO;function Ly(i,s,u,h){s=i.memoizedState,u=u(h,s),u=u==null?s:m({},s,u),i.memoizedState=u,i.lanes===0&&(i.updateQueue.baseState=u)}var Hy={enqueueSetState:function(i,s,u){i=i._reactInternals;var h=Yr(),v=bi(h);v.payload=s,u!=null&&(v.callback=u),s=Si(i,v,h),s!==null&&(Hr(s,i,h),Gc(s,i,h))},enqueueReplaceState:function(i,s,u){i=i._reactInternals;var h=Yr(),v=bi(h);v.tag=1,v.payload=s,u!=null&&(v.callback=u),s=Si(i,v,h),s!==null&&(Hr(s,i,h),Gc(s,i,h))},enqueueForceUpdate:function(i,s){i=i._reactInternals;var u=Yr(),h=bi(u);h.tag=2,s!=null&&(h.callback=s),s=Si(i,h,u),s!==null&&(Hr(s,i,u),Gc(s,i,u))}};function QO(i,s,u,h,v,S,E){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,S,E):s.prototype&&s.prototype.isPureReactComponent?!zc(u,h)||!zc(v,S):!0}function YO(i,s,u,h){i=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(u,h),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(u,h),s.state!==i&&Hy.enqueueReplaceState(s,s.state,null)}function _o(i,s){var u=s;if("ref"in s){u={};for(var h in s)h!=="ref"&&(u[h]=s[h])}if(i=i.defaultProps){u===s&&(u=m({},u));for(var v in i)u[v]===void 0&&(u[v]=i[v])}return u}function XO(i){Of(i)}function JO(i){console.error(i)}function eN(i){Of(i)}function Kf(i,s){try{var u=i.onUncaughtError;u(s.value,{componentStack:s.stack})}catch(h){setTimeout(function(){throw h})}}function tN(i,s,u){try{var h=i.onCaughtError;h(u.value,{componentStack:u.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function By(i,s,u){return u=bi(u),u.tag=3,u.payload={element:null},u.callback=function(){Kf(i,s)},u}function rN(i){return i=bi(i),i.tag=3,i}function nN(i,s,u,h){var v=u.type.getDerivedStateFromError;if(typeof v=="function"){var S=h.value;i.payload=function(){return v(S)},i.callback=function(){tN(s,u,h)}}var E=u.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(i.callback=function(){tN(s,u,h),typeof v!="function"&&(Ai===null?Ai=new Set([this]):Ai.add(this));var z=h.stack;this.componentDidCatch(h.value,{componentStack:z!==null?z:""})})}function uz(i,s,u,h,v){if(u.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(s=u.alternate,s!==null&&Fs(s,u,v,!0),u=Zr.current,u!==null){switch(u.tag){case 31:case 13:return yn===null?op():u.alternate===null&&_t===0&&(_t=3),u.flags&=-257,u.flags|=65536,u.lanes=v,h===kf?u.flags|=16384:(s=u.updateQueue,s===null?u.updateQueue=new Set([h]):s.add(h),fv(i,h,v)),!1;case 22:return u.flags|=65536,h===kf?u.flags|=16384:(s=u.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([h])},u.updateQueue=s):(u=s.retryQueue,u===null?s.retryQueue=new Set([h]):u.add(h)),fv(i,h,v)),!1}throw Error(n(435,u.tag))}return fv(i,h,v),op(),!1}if(Ze)return s=Zr.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=v,h!==oy&&(i=Error(n(422),{cause:h}),Hc(pn(i,u)))):(h!==oy&&(s=Error(n(423),{cause:h}
vendor: 13,590 bytes, line 48
48),Hc(pn(s,u))),i=i.current.alternate,i.flags|=65536,v&=-v,i.lanes|=v,h=pn(h,u),v=By(i.stateNode,h,v),yy(i,v),_t!==4&&(_t=2)),!1;var S=Error(n(520),{cause:h});if(S=pn(S,u),iu===null?iu=[S]:iu.push(S),_t!==4&&(_t=2),s===null)return!0;h=pn(h,u),u=s;do{switch(u.tag){case 3:return u.flags|=65536,i=v&-v,u.lanes|=i,i=By(u.stateNode,h,i),yy(u,i),!1;case 1:if(s=u.type,S=u.stateNode,(u.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(Ai===null||!Ai.has(S))))return u.flags|=65536,v&=-v,u.lanes|=v,v=rN(v),nN(v,i,u,h),yy(u,v),!1}u=u.return}while(u!==null);return!1}var qy=Error(n(461)),Lt=!1;function cr(i,s,u,h){s.child=i===null?sO(s,null,u,h):Ao(s,i.child,u,h)}function aN(i,s,u,h,v){u=u.render;var S=s.ref;if("ref"in h){var E={};for(var z in h)z!=="ref"&&(E[z]=h[z])}else E=h;return Co(s),h=Cy(i,s,u,E,S,v),z=jy(),i!==null&&!Lt?(Oy(i,s,v),Ea(i,s,v)):(Ze&&z&&ay(s),s.flags|=1,cr(i,s,h,v),s.child)}function iN(i,s,u,h,v){if(i===null){var S=u.type;return typeof S=="function"&&!ty(S)&&S.defaultProps===void 0&&u.compare===null?(s.tag=15,s.type=S,oN(i,s,S,h,v)):(i=_f(u.type,null,h,s,s.mode,v),i.ref=s.ref,i.return=s,s.child=i)}if(S=i.child,!Qy(i,v)){var E=S.memoizedProps;if(u=u.compare,u=u!==null?u:zc,u(E,h)&&i.ref===s.ref)return Ea(i,s,v)}return s.flags|=1,i=ja(S,h),i.ref=s.ref,i.return=s,s.child=i}function oN(i,s,u,h,v){if(i!==null){var S=i.memoizedProps;if(zc(S,h)&&i.ref===s.ref)if(Lt=!1,s.pendingProps=h=S,Qy(i,v))(i.flags&131072)!==0&&(Lt=!0);else return s.lanes=i.lanes,Ea(i,s,v)}return Fy(i,s,u,h,v)}function sN(i,s,u,h){var v=h.children,S=i!==null?i.memoizedState:null;if(i===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((s.flags&128)!==0){if(S=S!==null?S.baseLanes|u:u,i!==null){for(h=s.child=i.child,v=0;h!==null;)v=v|h.lanes|h.childLanes,h=h.sibling;h=v&~S}else h=0,s.child=null;return lN(i,s,S,u,h)}if((u&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},i!==null&&Mf(s,S!==null?S.cachePool:null),S!==null?uO(s,S):xy(),dO(s);else return h=s.lanes=536870912,lN(i,s,S!==null?S.baseLanes|u:u,u,h)}else S!==null?(Mf(s,S.cachePool),uO(s,S),Ci(),s.memoizedState=null):(i!==null&&Mf(s,null),xy(),Ci());return cr(i,s,v,u),s.child}function Xc(i,s){return i!==null&&i.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function lN(i,s,u,h,v){var S=py();return S=S===null?null:{parent:zt._currentValue,pool:S},s.memoizedState={baseLanes:u,cachePool:S},i!==null&&Mf(s,null),xy(),dO(s),i!==null&&Fs(i,s,h,!0),s.childLanes=v,null}function Vf(i,s){return s=Yf({mode:s.mode,children:s.children},i.mode),s.ref=i.ref,i.child=s,s.return=i,s}function cN(i,s,u){return Ao(s,i.child,null,u),i=Vf(s,s.pendingProps),i.flags|=2,Kr(s),s.memoizedState=null,i}function dz(i,s,u){var h=s.pendingProps,v=(s.flags&128)!==0;if(s.flags&=-129,i===null){if(Ze){if(h.mode==="hidden")return i=Vf(s,h),s.lanes=536870912,Xc(null,i);if(Sy(s),(i=xt)?(i=SA(i,gn),i=i!==null&&i.data==="&"?i:null,i!==null&&(s.memoizedState={dehydrated:i,treeContext:mi!==null?{id:Qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},u=Wj(i),u.return=s,s.child=u,sr=s,xt=null)):i=null,i===null)throw yi(s);return s.lanes=536870912,null}return Vf(s,h)}var S=i.memoizedState;if(S!==null){var E=S.dehydrated;if(Sy(s),v)if(s.flags&256)s.flags&=-257,s=cN(i,s,u);else if(s.memoizedState!==null)s.child=i.child,s.flags|=128,s=null;else throw Error(n(558));else if(Lt||Fs(i,s,u,!1),v=(u&i.childLanes)!==0,Lt||v){if(h=pt,h!==null&&(E=Mr(h,u),E!==0&&E!==S.retryLane))throw S.retryLane=E,xo(i,E),Hr(h,i,E),qy;op(),s=cN(i,s,u)}else i=S.treeContext,xt=vn(E.nextSibling),sr=s,Ze=!0,gi=null,gn=!1,i!==null&&Vj(s,i),s=Vf(s,h),s.flags|=4096;return s}return i=ja(i.child,{mode:h.mode,children:h.children}),i.ref=s.ref,s.child=i,i.return=s,i}function Qf(i,s){var u=s.ref;if(u===null)i!==null&&i.ref!==null&&(s.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(n(284));(i===null||i.ref!==u)&&(s.flags|=4194816)}}function Fy(i,s,u,h,v){return Co(s),u=Cy(i,s,u,h,void 0,v),h=jy(),i!==null&&!Lt?(Oy(i,s,v),Ea(i,s,v)):(Ze&&h&&ay(s),s.flags|=1,cr(i,s,u,v),s.child)}function uN(i,s,u,h,v,S){return Co(s),s.updateQueue=null,u=pO(s,h,u,v),fO(i),h=jy(),i!==null&&!Lt?(Oy(i,s,S),Ea(i,s,S)):(Ze&&h&&ay(s),s.flags|=1,cr(i,s,u,S),s.child)}function dN(i,s,u,h,v){if(Co(s),s.stateNode===null){var S=Ls,E=u.contextType;typeof E=="object"&&E!==null&&(S=lr(E)),S=new u(h,S),s.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=Hy,s.stateNode=S,S._reactInternals=s,S=s.stateNode,S.props=h,S.state=s.memoizedState,S.refs={},my(s),E=u.contextType,S.context=typeof E=="object"&&E!==null?lr(E):Ls,S.state=s.memoizedState,E=u.getDerivedStateFromProps,typeof E=="function"&&(Ly(s,u,E,h),S.state=s.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(E=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),E!==S.state&&Hy.enqueueReplaceState(S,S.state,null),Zc(s,h,S,v),Wc(),S.state=s.memoizedState),typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!0}else if(i===null){S=s.stateNode;var z=s.memoizedProps,Z=_o(u,z);S.props=Z;var te=S.context,oe=u.contextType;E=Ls,typeof oe=="object"&&oe!==null&&(E=lr(oe));var fe=u.getDerivedStateFromProps;oe=typeof fe=="function"||typeof S.getSnapshotBeforeUpdate=="function",z=s.pendingProps!==z,oe||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(z||te!==E)&&YO(s,S,h,E),xi=!1;var re=s.memoizedState;S.state=re,Zc(s,h,S,v),Wc(),te=s.memoizedState,z||re!==te||xi?(typeof fe=="function"&&(Ly(s,u,fe,h),te=s.memoizedState),(Z=xi||QO(s,u,Z,h,re,te,E))?(oe||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(s.flags|=4194308)):(typeof S.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=te),S.props=h,S.state=te,S.context=E,h=Z):(typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{S=s.stateNode,gy(i,s),E=s.memoizedProps,oe=_o(u,E),S.props=oe,fe=s.pendingProps,re=S.context,te=u.contextType,Z=Ls,typeof te=="object"&&te!==null&&(Z=lr(te)),z=u.getDerivedStateFromProps,(te=typeof z=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(E!==fe||re!==Z)&&YO(s,S,h,Z),xi=!1,re=s.memoizedState,S.state=re,Zc(s,h,S,v),Wc();var ne=s.memoizedState;E!==fe||re!==ne||xi||i!==null&&i.dependencies!==null&&Tf(i.dependencies)?(typeof z=="function"&&(Ly(s,u,z,h),ne=s.memoizedState),(oe=xi||QO(s,u,oe,h,re,ne,Z)||i!==null&&i.dependencies!==null&&Tf(i.dependencies))?(te||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(h,ne,Z),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(h,ne,Z)),typeof S.componentDidUpdate=="function"&&(s.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof S.componentDidUpdate!="function"||E===i.memoizedProps&&re===i.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||E===i.memoizedProps&&re===i.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=ne),S.props=h,S.state=ne,S.context=Z,h=oe):(typeof S.componentDidUpdate!="function"||E===i.memoizedProps&&re===i.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||E===i.memoizedProps&&re===i.memoizedState||(s.flags|=1024),h=!1)}return S=h,Qf(i,s),h=(s.flags&128)!==0,S||h?(S=s.stateNode,u=h&&typeof u.getDerivedStateFromError!="function"?null:S.render(),s.flags|=1,i!==null&&h?(s.child=Ao(s,i.child,null,v),s.child=Ao(s,null,u,v)):cr(i,s,u,v),s.memoizedState=S.state,i=s.child):i=Ea(i,s,v),i}function fN(i,s,u,h){return So(),s.flags|=256,cr(i,s,u,h),s.child}var Uy={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gy(i){return{baseLanes:i,cachePool:tO()}}function Wy(i,s,u){return i=i!==null?i.childLanes&~u:0,s&&(i|=Qr),i}function pN(i,s,u){var h=s.pendingProps,v=!1,S=(s.flags&128)!==0,E;if((E=S)||(E=i!==null&&i.memoizedState===null?!1:(Pt.current&2)!==0),E&&(v=!0,s.flags&=-129),E=(s.flags&32)!==0,s.flags&=-33,i===null){if(Ze){if(v?wi(s):Ci(),(i=xt)?(i=SA(i,gn),i=i!==null&&i.data!=="&"?i:null,i!==null&&(s.memoizedState={dehydrated:i,treeContext:mi!==null?{id:Qn,overflow:Yn}:null,retryLane:536870912,hydrationErrors:null},u=Wj(i),u.return=s,s.child=u,sr=s,xt=null)):i=null,i===null)throw yi(s);return Dv(i)?s.lanes=32:s.lanes=536870912,null}var z=h.children;return h=h.fallback,v?(Ci(),v=s.mode,z=Yf({mode:"hidden",children:z},v),h=bo(h,v,u,null),z.return=s,h.return=s,z.sibling=h,s.child=z,h=s.child,h.memoizedState=Gy(u),h.childLanes=Wy(i,E,u),s.memoizedState=Uy,Xc(null,h)):(wi(s),Zy(s,z))}var Z=i.memoizedState;if(Z!==null&&(z=Z.dehydrated,z!==null)){if(S)s.flags&256?(wi(s),s.flags&=-257,s=Ky(i,s,u)):s.memoizedState!==null?(Ci(),s.child=i.child,s.flags|=128,s=null):(Ci(),z=h.fallback,v=s.mode,h=Yf({mode:"visible",children:h.children},v),z=bo(z,v,u,null),z.flags|=2,h.return=s,z.return=s,h.sibling=z,s.child=h,Ao(s,i.child,null,u),h=s.child,h.memoizedState=Gy(u),h.childLanes=Wy(i,E,u),s.memoizedState=Uy,s=Xc(null,h));else if(wi(s),Dv(z)){if(E=z.nextSibling&&z.nextSibling.dataset,E)var te=E.dgst;E=te,h=Error(n(419)),h.stack="",h.digest=E,Hc({value:h,source:null,stack:null}),s=Ky(i,s,u)}else if(Lt||Fs(i,s,u,!1),E=(u&i.childLanes)!==0,Lt||E){if(E=pt,E!==null&&(h=Mr(E,u),h!==0&&h!==Z.retryLane))throw Z.retryLane=h,xo(i,h),Hr(E,i,h),qy;Av(z)||op(),s=Ky(i,s,u)}else Av(z)?(s.flags|=192,s.child=i.child,s=null):(i=Z.treeContext,xt=vn(z.nextSibling),sr=s,Ze=!0,gi=null,gn=!1,i!==null&&Vj(s,i),s=Zy(s,h.children),s.flags|=4096);return s}return v?(Ci(),z=h.fallback,v=s.mode,Z=i.child,te=Z.sibling,h=ja(Z,{mode:"hidden",children:h.children}),h.subtreeFlags=Z.subtreeFlags&65011712,te!==null?z=ja(te,z):(z=bo(z,v,u,null),z.flags|=2),z.return=s,h.return=s,h.sibling=z,s.child=h,Xc(null,h),h=s.child,z=i.child.memoizedState,z===null?z=Gy(u):(v=z.cachePool,v!==null?(Z=zt._currentValue,v=v.parent!==Z?{parent:Z,pool:Z}:v):v=tO(),z={baseLanes:z.baseLanes|u,cachePool:v}),h.memoizedState=z,h.childLanes=Wy(i,E,u),s.memoizedState=Uy,Xc(i.child,h)):(wi(s),u=i.child,i=u.sibling,u=ja(u,{mode:"visible",children:h.children}),u.return=s,u.sibling=null,i!==null&&(E=s.deletions,E===null?(s.deletions=[i],s.flags|=16):E.push(i)),s.child=u,s.memoizedState=null,u)}function Zy(i,s){return s=Yf({mode:"visible",children:s},i.mode),s.return=i,i.child=s}function Yf(i,s){return i=Wr(22,i,null,s),i.lanes=0,i}function Ky(i,s,u){return Ao(s,i.child,null,u),i=Zy(s,s.pendingProps.children),i.flags|=2,s.memoizedState=null,i}function hN(i,s,u){i.lanes|=s;var h=i.alternate;h!==null&&(h.lanes|=s),cy(i.return,s,u)}function Vy(i,s,u,h,v,S){var E=i.memoizedState;E===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:v,treeForkCount:S}:(E.isBackwards=s,E.rendering=null,E.renderingStartTime=0,E.last=h,E.tail=u,E.tailMode=v,E.treeForkCount=S)}function mN(i,s,u){var h=s.pendingProps,v=h.revealOrder,S=h.tail;h=h.children;var E=Pt.current,z=(E&2)!==0;if(z?(E=E&1|2,s.flags|=128):E&=1,V(Pt,E),cr(i,s,h,u),h=Ze?Lc:0,!z&&i!==null&&(i.flags&128)!==0)e:for(i=s.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&hN(i,u,s);else if(i.tag===19)hN(i,u,s);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===s)break e;for(;i.sibling===null;){if(i.return===null||i.return===s)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(v){case"forwards":for(u=s.child,v=null;u!==null;)i=u.alternate,i!==null&&Lf(i)===null&&(v=u),u=u.sibling;u=v,u===null?(v=s.child,s.child=null):(v=u.sibling,u.sibling=null),Vy(s,!1,v,u,S,h);break;case"backwards":case"unstable_legacy-backwards":for(u=null,v=s.child,s.child=null;v!==null;){if(i=v.alternate,i!==null&&Lf(i)===null){s.child=v;break}i=v.sibling,v.sibling=u,u=v,v=i}Vy(s,!0,u,null,S,h);break;case"together":Vy(s,!1,null,null,void 0,h);break;default:s.memoizedState=null}return s.child}function Ea(i,s,u){if(i!==null&&(s.dependencies=i.dependencies),Ni|=s.lanes,(u&s.childLanes)===0)if(i!==null){if(Fs(i,s,u,!1),(u&s.childLanes)===0)return null}else return null;if(i!==null&&s.child!==i.child)throw Error(n(153));if(s.child!==null){for(i=s.child,u=ja(i,i.pendingProps),s.child=u,u.return=s;i.sibling!==null;)i=i.sibling,u=u.sibling=ja(i,i.pendingProps),u.return=s;u.sibling=null}return s.child}function Qy(i,s){return(i.lanes&s)!==0?!0:(i=i.dependencies,!!(i!==null&&Tf(i)))}function fz(i,s,u){switch(s.tag){case 3:ge(s,s.stateNode.containerInfo),vi(s,zt,i.memoizedState.cache),So();break;case 27:case 5:me(s);break;case 4:ge(s,s.stateNode.containerInfo);break;case 10:vi(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,Sy(s),null;break;case 13:var h=s.memoizedState;if(h!==null)return h.dehydrated!==null?(wi(s),s.flags|=128,null):(u&s.child.childLanes)!==0?pN(i,s,u):(wi(s),i=Ea(i,s,u),i!==null?i.sibling:null);
vendor: 4,585 bytes, line 48
48wi(s);break;case 19:var v=(i.flags&128)!==0;if(h=(u&s.childLanes)!==0,h||(Fs(i,s,u,!1),h=(u&s.childLanes)!==0),v){if(h)return mN(i,s,u);s.flags|=128}if(v=s.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),V(Pt,Pt.current),h)break;return null;case 22:return s.lanes=0,sN(i,s,u,s.pendingProps);case 24:vi(s,zt,i.memoizedState.cache)}return Ea(i,s,u)}function gN(i,s,u){if(i!==null)if(i.memoizedProps!==s.pendingProps)Lt=!0;else{if(!Qy(i,u)&&(s.flags&128)===0)return Lt=!1,fz(i,s,u);Lt=(i.flags&131072)!==0}else Lt=!1,Ze&&(s.flags&1048576)!==0&&Kj(s,Lc,s.index);switch(s.lanes=0,s.tag){case 16:e:{var h=s.pendingProps;if(i=Oo(s.elementType),s.type=i,typeof i=="function")ty(i)?(h=_o(i,h),s.tag=1,s=dN(null,s,i,h,u)):(s.tag=0,s=Fy(null,s,i,h,u));else{if(i!=null){var v=i.$$typeof;if(v===M){s.tag=11,s=aN(null,s,i,h,u);break e}else if(v===O){s.tag=14,s=iN(null,s,i,h,u);break e}}throw s=W(i)||i,Error(n(306,s,""))}}return s;case 0:return Fy(i,s,s.type,s.pendingProps,u);case 1:return h=s.type,v=_o(h,s.pendingProps),dN(i,s,h,v,u);case 3:e:{if(ge(s,s.stateNode.containerInfo),i===null)throw Error(n(387));h=s.pendingProps;var S=s.memoizedState;v=S.element,gy(i,s),Zc(s,h,null,u);var E=s.memoizedState;if(h=E.cache,vi(s,zt,h),h!==S.cache&&uy(s,[zt],u,!0),Wc(),h=E.element,S.isDehydrated)if(S={element:h,isDehydrated:!1,cache:E.cache},s.updateQueue.baseState=S,s.memoizedState=S,s.flags&256){s=fN(i,s,h,u);break e}else if(h!==v){v=pn(Error(n(424)),s),Hc(v),s=fN(i,s,h,u);break e}else{switch(i=s.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(xt=vn(i.firstChild),sr=s,Ze=!0,gi=null,gn=!0,u=sO(s,null,h,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(So(),h===v){s=Ea(i,s,u);break e}cr(i,s,h,u)}s=s.child}return s;case 26:return Qf(i,s),i===null?(u=AA(s.type,null,s.pendingProps,null))?s.memoizedState=u:Ze||(u=s.type,i=s.pendingProps,h=pp(he.current).createElement(u),h[or]=s,h[Rr]=i,ur(h,u,i),Xt(h),s.stateNode=h):s.memoizedState=AA(s.type,i.memoizedProps,s.pendingProps,i.memoizedState),null;case 27:return me(s),i===null&&Ze&&(h=s.stateNode=jA(s.type,s.pendingProps,he.current),sr=s,gn=!0,v=xt,Ti(s.type)?(_v=v,xt=vn(h.firstChild)):xt=v),cr(i,s,s.pendingProps.children,u),Qf(i,s),i===null&&(s.flags|=4194304),s.child;case 5:return i===null&&Ze&&((v=h=xt)&&(h=qz(h,s.type,s.pendingProps,gn),h!==null?(s.stateNode=h,sr=s,xt=vn(h.firstChild),gn=!1,v=!0):v=!1),v||yi(s)),me(s),v=s.type,S=s.pendingProps,E=i!==null?i.memoizedProps:null,h=S.children,jv(v,S)?h=null:E!==null&&jv(v,E)&&(s.flags|=32),s.memoizedState!==null&&(v=Cy(i,s,nz,null,null,u),pu._currentValue=v),Qf(i,s),cr(i,s,h,u),s.child;case 6:return i===null&&Ze&&((i=u=xt)&&(u=Fz(u,s.pendingProps,gn),u!==null?(s.stateNode=u,sr=s,xt=null,i=!0):i=!1),i||yi(s)),null;case 13:return pN(i,s,u);case 4:return ge(s,s.stateNode.containerInfo),h=s.pendingProps,i===null?s.child=Ao(s,null,h,u):cr(i,s,h,u),s.child;case 11:return aN(i,s,s.type,s.pendingProps,u);case 7:return cr(i,s,s.pendingProps,u),s.child;case 8:return cr(i,s,s.pendingProps.children,u),s.child;case 12:return cr(i,s,s.pendingProps.children,u),s.child;case 10:return h=s.pendingProps,vi(s,s.type,h.value),cr(i,s,h.children,u),s.child;case 9:return v=s.type._context,h=s.pendingProps.children,Co(s),v=lr(v),h=h(v),s.flags|=1,cr(i,s,h,u),s.child;case 14:return iN(i,s,s.type,s.pendingProps,u);case 15:return oN(i,s,s.type,s.pendingProps,u);case 19:return mN(i,s,u);case 31:return dz(i,s,u);case 22:return sN(i,s,u,s.pendingProps);case 24:return Co(s),h=lr(zt),i===null?(v=py(),v===null&&(v=pt,S=dy(),v.pooledCache=S,S.refCount++,S!==null&&(v.pooledCacheLanes|=u),v=S),s.memoizedState={parent:h,cache:v},my(s),vi(s,zt,v)):((i.lanes&u)!==0&&(gy(i,s),Zc(s,null,null,u),Wc()),v=i.memoizedState,S=s.memoizedState,v.parent!==h?(v={parent:h,cache:h},s.memoizedState=v,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=v),vi(s,zt,h)):(h=S.cache,vi(s,zt,h),h!==v.cache&&uy(s,[zt],u,!0))),cr(i,s,s.pendingProps.children,u),s.child;case 29:throw s.pendingProps}throw Error(n(156,s.tag))}function Ta(i){i.flags|=4}function Yy(i,s,u,h,v){if((s=(i.mode&32)!==0)&&(s=!1),s){if(i.flags|=16777216,(v&335544128)===v)if(i.stateNode.complete)i.flags|=8192;else if(FN())i.flags|=8192;else throw No=kf,hy}else i.flags&=-16777217}function yN(i,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!PA(s))if(FN())i.flags|=8192;else throw No=kf,hy}function Xf(i,s){s!==null&&(i.flags|=4),i.flags&16384&&(s=i.tag!==22?hr():536870912,i.lanes|=s,tl|=s)}
vendor: 8,483 bytes, line 48
48function Jc(i,s){if(!Ze)switch(i.tailMode){case"hidden":s=i.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?i.tail=null:u.sibling=null;break;case"collapsed":u=i.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?s||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function bt(i){var s=i.alternate!==null&&i.alternate.child===i.child,u=0,h=0;if(s)for(var v=i.child;v!==null;)u|=v.lanes|v.childLanes,h|=v.subtreeFlags&65011712,h|=v.flags&65011712,v.return=i,v=v.sibling;else for(v=i.child;v!==null;)u|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=i,v=v.sibling;return i.subtreeFlags|=h,i.childLanes=u,s}function pz(i,s,u){var h=s.pendingProps;switch(iy(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(s),null;case 1:return bt(s),null;case 3:return u=s.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),Aa(zt),le(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(i===null||i.child===null)&&(qs(s)?Ta(s):i===null||i.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,sy())),bt(s),null;case 26:var v=s.type,S=s.memoizedState;return i===null?(Ta(s),S!==null?(bt(s),yN(s,S)):(bt(s),Yy(s,v,null,h,u))):S?S!==i.memoizedState?(Ta(s),bt(s),yN(s,S)):(bt(s),s.flags&=-16777217):(i=i.memoizedProps,i!==h&&Ta(s),bt(s),Yy(s,v,i,h,u)),null;case 27:if(ye(s),u=he.current,v=s.type,i!==null&&s.stateNode!=null)i.memoizedProps!==h&&Ta(s);else{if(!h){if(s.stateNode===null)throw Error(n(166));return bt(s),null}i=J.current,qs(s)?Qj(s):(i=jA(v,h,u),s.stateNode=i,Ta(s))}return bt(s),null;case 5:if(ye(s),v=s.type,i!==null&&s.stateNode!=null)i.memoizedProps!==h&&Ta(s);else{if(!h){if(s.stateNode===null)throw Error(n(166));return bt(s),null}if(S=J.current,qs(s))Qj(s);else{var E=pp(he.current);switch(S){case 1:S=E.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:S=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":S=E.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":S=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":S=E.createElement("div"),S.innerHTML="<script><\/script>",S=S.removeChild(S.firstChild);break;case"select":S=typeof h.is=="string"?E.createElement("select",{is:h.is}):E.createElement("select"),h.multiple?S.multiple=!0:h.size&&(S.size=h.size);break;default:S=typeof h.is=="string"?E.createElement(v,{is:h.is}):E.createElement(v)}}S[or]=s,S[Rr]=h;e:for(E=s.child;E!==null;){if(E.tag===5||E.tag===6)S.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===s)break e;for(;E.sibling===null;){if(E.return===null||E.return===s)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}s.stateNode=S;e:switch(ur(S,v,h),v){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&Ta(s)}}return bt(s),Yy(s,s.type,i===null?null:i.memoizedProps,s.pendingProps,u),null;case 6:if(i&&s.stateNode!=null)i.memoizedProps!==h&&Ta(s);else{if(typeof h!="string"&&s.stateNode===null)throw Error(n(166));if(i=he.current,qs(s)){if(i=s.stateNode,u=s.memoizedProps,h=null,v=sr,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[or]=s,i=!!(i.nodeValue===u||h!==null&&h.suppressHydrationWarning===!0||pA(i.nodeValue,u)),i||yi(s,!0)}else i=pp(i).createTextNode(h),i[or]=s,s.stateNode=i}return bt(s),null;case 31:if(u=s.memoizedState,i===null||i.memoizedState!==null){if(h=qs(s),u!==null){if(i===null){if(!h)throw Error(n(318));if(i=s.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(557));i[or]=s}else So(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;bt(s),i=!1}else u=sy(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),i=!0;if(!i)return s.flags&256?(Kr(s),s):(Kr(s),null);if((s.flags&128)!==0)throw Error(n(558))}return bt(s),null;case 13:if(h=s.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=qs(s),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(n(318));if(v=s.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(n(317));v[or]=s}else So(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;bt(s),v=!1}else v=sy(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=v),v=!0;if(!v)return s.flags&256?(Kr(s),s):(Kr(s),null)}return Kr(s),(s.flags&128)!==0?(s.lanes=u,s):(u=h!==null,i=i!==null&&i.memoizedState!==null,u&&(h=s.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool),S=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(S=h.memoizedState.cachePool.pool),S!==v&&(h.flags|=2048)),u!==i&&u&&(s.child.flags|=8192),Xf(s,s.updateQueue),bt(s),null);case 4:return le(),i===null&&xv(s.stateNode.containerInfo),bt(s),null;case 10:return Aa(s.type),bt(s),null;case 19:if(K(Pt),h=s.memoizedState,h===null)return bt(s),null;if(v=(s.flags&128)!==0,S=h.rendering,S===null)if(v)Jc(h,!1);else{if(_t!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(S=Lf(i),S!==null){for(s.flags|=128,Jc(h,!1),i=S.updateQueue,s.updateQueue=i,Xf(s,i),s.subtreeFlags=0,i=u,u=s.child;u!==null;)Gj(u,i),u=u.sibling;return V(Pt,Pt.current&1|2),Ze&&Oa(s,h.treeForkCount),s.child}i=i.sibling}h.tail!==null&&Qt()>np&&(s.flags|=128,v=!0,Jc(h,!1),s.lanes=4194304)}else{if(!v)if(i=Lf(S),i!==null){if(s.flags|=128,v=!0,i=i.updateQueue,s.updateQueue=i,Xf(s,i),Jc(h,!0),h.tail===null&&h.tailMode==="hidden"&&!S.alternate&&!Ze)return bt(s),null}else 2*Qt()-h.renderingStartTime>np&&u!==536870912&&(s.flags|=128,v=!0,Jc(h,!1),s.lanes=4194304);h.isBackwards?(S.sibling=s.child,s.child=S):(i=h.last,i!==null?i.sibling=S:s.child=S,h.last=S)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Qt(),i.sibling=null,u=Pt.current,V(Pt,v?u&1|2:u&1),Ze&&Oa(s,h.treeForkCount),i):(bt(s),null);case 22:case 23:return Kr(s),by(),h=s.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(s.flags|=8192):h&&(s.flags|=8192),h?(u&536870912)!==0&&(s.flags&128)===0&&(bt(s),s.subtreeFlags&6&&(s.flags|=8192)):bt(s),u=s.updateQueue,u!==null&&Xf(s,u.retryQueue),u=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==u&&(s.flags|=2048),i!==null&&K(jo),null;case 24:return u=null,i!==null&&(u=i.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),Aa(zt),bt(s),null;case 25:return null;case 30:return null}throw Error(n(156,s.tag))}function hz(i,s){switch(iy(s),s.tag){case 1:return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return Aa(zt),le(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 26:case 27:case 5:return ye(s),null;case 31:if(s.memoizedState!==null){if(Kr(s),s.alternate===null)throw Error(n(340));So()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 13:if(Kr(s),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(n(340));So()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return K(Pt),null;case 4:return le(),null;case 10:return Aa(s.type),null;case 22:case 23:return Kr(s),by(),i!==null&&K(jo),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 24:return Aa(zt),null;case 25:return null;default:return null}}function vN(i,s){switch(iy(s),s.tag){case 3:Aa(zt),le();break;case 26:case 27:case 5:ye(s);break;case 4:le();break;case 31:s.memoizedState!==null&&Kr(s);break;case 13:Kr(s);break;case 19:K(Pt);break;case 10:Aa(s.type);break;case 22:case 23:Kr(s),by(),i!==null&&K(jo);break;case 24:Aa(zt)}}function eu(i,s){try{var u=s.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var v=h.next;u=v;do{if((u.tag&i)===i){h=void 0;var S=u.create,E=u.inst;h=S(),E.destroy=h}u=u.next}while(u!==v)}}catch(z){st(s,s.return,z)}}function ji(i,s,u){try{var h=s.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var S=v.next;h=S;do{if((h.tag&i)===i){var E=h.inst,z=E.destroy;if(z!==void 0){E.destroy=void 0,v=s;var Z=u,te=z;try{te()}catch(oe){st(v,Z,oe)}}}h=h.next}while(h!==S)}}catch(oe){st(s,s.return,oe)}}function xN(i){var s=i.updateQueue;if(s!==null){var u=i.stateNode;try{cO(s,u)}catch(h){st(i,i.return,h)}}}function bN(i,s,u){u.props=_o(i.type,i.memoizedProps),u.state=i.memoizedState;
vendor: 16,000 bytes, line 48
48try{u.componentWillUnmount()}catch(h){st(i,s,h)}}function tu(i,s){try{var u=i.ref;if(u!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof u=="function"?i.refCleanup=u(h):u.current=h}}catch(v){st(i,s,v)}}function Xn(i,s){var u=i.ref,h=i.refCleanup;if(u!==null)if(typeof h=="function")try{h()}catch(v){st(i,s,v)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(v){st(i,s,v)}else u.current=null}function SN(i){var s=i.type,u=i.memoizedProps,h=i.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":u.autoFocus&&h.focus();break e;case"img":u.src?h.src=u.src:u.srcSet&&(h.srcset=u.srcSet)}}catch(v){st(i,i.return,v)}}function Xy(i,s,u){try{var h=i.stateNode;Iz(h,i.type,u,s),h[Rr]=s}catch(v){st(i,i.return,v)}}function wN(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Ti(i.type)||i.tag===4}function Jy(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||wN(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&Ti(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function ev(i,s,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,s?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(i,s):(s=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,s.appendChild(i),u=u._reactRootContainer,u!=null||s.onclick!==null||(s.onclick=wa));else if(h!==4&&(h===27&&Ti(i.type)&&(u=i.stateNode,s=null),i=i.child,i!==null))for(ev(i,s,u),i=i.sibling;i!==null;)ev(i,s,u),i=i.sibling}function Jf(i,s,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,s?u.insertBefore(i,s):u.appendChild(i);else if(h!==4&&(h===27&&Ti(i.type)&&(u=i.stateNode),i=i.child,i!==null))for(Jf(i,s,u),i=i.sibling;i!==null;)Jf(i,s,u),i=i.sibling}function CN(i){var s=i.stateNode,u=i.memoizedProps;try{for(var h=i.type,v=s.attributes;v.length;)s.removeAttributeNode(v[0]);ur(s,h,u),s[or]=i,s[Rr]=u}catch(S){st(i,i.return,S)}}var Pa=!1,Ht=!1,tv=!1,jN=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function mz(i,s){if(i=i.containerInfo,wv=bp,i=Ij(i),Kg(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var v=h.anchorOffset,S=h.focusNode;h=h.focusOffset;try{u.nodeType,S.nodeType}catch{u=null;break e}var E=0,z=-1,Z=-1,te=0,oe=0,fe=i,re=null;t:for(;;){for(var ne;fe!==u||v!==0&&fe.nodeType!==3||(z=E+v),fe!==S||h!==0&&fe.nodeType!==3||(Z=E+h),fe.nodeType===3&&(E+=fe.nodeValue.length),(ne=fe.firstChild)!==null;)re=fe,fe=ne;for(;;){if(fe===i)break t;if(re===u&&++te===v&&(z=E),re===S&&++oe===h&&(Z=E),(ne=fe.nextSibling)!==null)break;fe=re,re=fe.parentNode}fe=ne}u=z===-1||Z===-1?null:{start:z,end:Z}}else u=null}u=u||{start:0,end:0}}else u=null;for(Cv={focusedElem:i,selectionRange:u},bp=!1,Jt=s;Jt!==null;)if(s=Jt,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,Jt=i;else for(;Jt!==null;){switch(s=Jt,S=s.alternate,i=s.flags,s.tag){case 0:if((i&4)!==0&&(i=s.updateQueue,i=i!==null?i.events:null,i!==null))for(u=0;u<i.length;u++)v=i[u],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&S!==null){i=void 0,u=s,v=S.memoizedProps,S=S.memoizedState,h=u.stateNode;try{var Ce=_o(u.type,v);i=h.getSnapshotBeforeUpdate(Ce,S),h.__reactInternalSnapshotBeforeUpdate=i}catch(Te){st(u,u.return,Te)}}break;case 3:if((i&1024)!==0){if(i=s.stateNode.containerInfo,u=i.nodeType,u===9)Nv(i);else if(u===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Nv(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(n(163))}if(i=s.sibling,i!==null){i.return=s.return,Jt=i;break}Jt=s.return}}function ON(i,s,u){var h=u.flags;switch(u.tag){case 0:case 11:case 15:Ra(i,u),h&4&&eu(5,u);break;case 1:if(Ra(i,u),h&4)if(i=u.stateNode,s===null)try{i.componentDidMount()}catch(E){st(u,u.return,E)}else{var v=_o(u.type,s.memoizedProps);s=s.memoizedState;try{i.componentDidUpdate(v,s,i.__reactInternalSnapshotBeforeUpdate)}catch(E){st(u,u.return,E)}}h&64&&xN(u),h&512&&tu(u,u.return);break;case 3:if(Ra(i,u),h&64&&(i=u.updateQueue,i!==null)){if(s=null,u.child!==null)switch(u.child.tag){case 27:case 5:s=u.child.stateNode;break;case 1:s=u.child.stateNode}try{cO(i,s)}catch(E){st(u,u.return,E)}}break;case 27:s===null&&h&4&&CN(u);case 26:case 5:Ra(i,u),s===null&&h&4&&SN(u),h&512&&tu(u,u.return);break;case 12:Ra(i,u);break;case 31:Ra(i,u),h&4&&DN(i,u);break;case 13:Ra(i,u),h&4&&_N(i,u),h&64&&(i=u.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(u=jz.bind(null,u),Uz(i,u))));break;case 22:if(h=u.memoizedState!==null||Pa,!h){s=s!==null&&s.memoizedState!==null||Ht,v=Pa;var S=Ht;Pa=h,(Ht=s)&&!S?ka(i,u,(u.subtreeFlags&8772)!==0):Ra(i,u),Pa=v,Ht=S}break;case 30:break;default:Ra(i,u)}}function NN(i){var s=i.alternate;s!==null&&(i.alternate=null,NN(s)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(s=i.stateNode,s!==null&&Tg(s)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Ct=null,Ir=!1;function Ma(i,s,u){for(u=u.child;u!==null;)AN(i,s,u),u=u.sibling}function AN(i,s,u){if(Cr&&typeof Cr.onCommitFiberUnmount=="function")try{Cr.onCommitFiberUnmount(fo,u)}catch{}switch(u.tag){case 26:Ht||Xn(u,s),Ma(i,s,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Ht||Xn(u,s);var h=Ct,v=Ir;Ti(u.type)&&(Ct=u.stateNode,Ir=!1),Ma(i,s,u),uu(u.stateNode),Ct=h,Ir=v;break;case 5:Ht||Xn(u,s);case 6:if(h=Ct,v=Ir,Ct=null,Ma(i,s,u),Ct=h,Ir=v,Ct!==null)if(Ir)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(u.stateNode)}catch(S){st(u,s,S)}else try{Ct.removeChild(u.stateNode)}catch(S){st(u,s,S)}break;case 18:Ct!==null&&(Ir?(i=Ct,xA(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,u.stateNode),cl(i)):xA(Ct,u.stateNode));break;case 4:h=Ct,v=Ir,Ct=u.stateNode.containerInfo,Ir=!0,Ma(i,s,u),Ct=h,Ir=v;break;case 0:case 11:case 14:case 15:ji(2,u,s),Ht||ji(4,u,s),Ma(i,s,u);break;case 1:Ht||(Xn(u,s),h=u.stateNode,typeof h.componentWillUnmount=="function"&&bN(u,s,h)),Ma(i,s,u);break;case 21:Ma(i,s,u);break;case 22:Ht=(h=Ht)||u.memoizedState!==null,Ma(i,s,u),Ht=h;break;default:Ma(i,s,u)}}function DN(i,s){if(s.memoizedState===null&&(i=s.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{cl(i)}catch(u){st(s,s.return,u)}}}function _N(i,s){if(s.memoizedState===null&&(i=s.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{cl(i)}catch(u){st(s,s.return,u)}}function gz(i){switch(i.tag){case 31:case 13:case 19:var s=i.stateNode;return s===null&&(s=i.stateNode=new jN),s;case 22:return i=i.stateNode,s=i._retryCache,s===null&&(s=i._retryCache=new jN),s;default:throw Error(n(435,i.tag))}}function ep(i,s){var u=gz(i);s.forEach(function(h){if(!u.has(h)){u.add(h);var v=Oz.bind(null,i,h);h.then(v,v)}})}function zr(i,s){var u=s.deletions;if(u!==null)for(var h=0;h<u.length;h++){var v=u[h],S=i,E=s,z=E;e:for(;z!==null;){switch(z.tag){case 27:if(Ti(z.type)){Ct=z.stateNode,Ir=!1;break e}break;case 5:Ct=z.stateNode,Ir=!1;break e;case 3:case 4:Ct=z.stateNode.containerInfo,Ir=!0;break e}z=z.return}if(Ct===null)throw Error(n(160));AN(S,E,v),Ct=null,Ir=!1,S=v.alternate,S!==null&&(S.return=null),v.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)EN(s,i),s=s.sibling}var Rn=null;function EN(i,s){var u=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:zr(s,i),$r(i),h&4&&(ji(3,i,i.return),eu(3,i),ji(5,i,i.return));break;case 1:zr(s,i),$r(i),h&512&&(Ht||u===null||Xn(u,u.return)),h&64&&Pa&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(u=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=u===null?h:u.concat(h))));break;case 26:var v=Rn;if(zr(s,i),$r(i),h&512&&(Ht||u===null||Xn(u,u.return)),h&4){var S=u!==null?u.memoizedState:null;if(h=i.memoizedState,u===null)if(h===null)if(i.stateNode===null){e:{h=i.type,u=i.memoizedProps,v=v.ownerDocument||v;t:switch(h){case"title":S=v.getElementsByTagName("title")[0],(!S||S[Dc]||S[or]||S.namespaceURI==="http://www.w3.org/2000/svg"||S.hasAttribute("itemprop"))&&(S=v.createElement(h),v.head.insertBefore(S,v.querySelector("head > title"))),ur(S,h,u),S[or]=i,Xt(S),h=S;break e;case"link":var E=EA("link","href",v).get(h+(u.href||""));if(E){for(var z=0;z<E.length;z++)if(S=E[z],S.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&S.getAttribute("rel")===(u.rel==null?null:u.rel)&&S.getAttribute("title")===(u.title==null?null:u.title)&&S.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){E.splice(z,1);break t}}S=v.createElement(h),ur(S,h,u),v.head.appendChild(S);break;case"meta":if(E=EA("meta","content",v).get(h+(u.content||""))){for(z=0;z<E.length;z++)if(S=E[z],S.getAttribute("content")===(u.content==null?null:""+u.content)&&S.getAttribute("name")===(u.name==null?null:u.name)&&S.getAttribute("property")===(u.property==null?null:u.property)&&S.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&S.getAttribute("charset")===(u.charSet==null?null:u.charSet)){E.splice(z,1);break t}}S=v.createElement(h),ur(S,h,u),v.head.appendChild(S);break;default:throw Error(n(468,h))}S[or]=i,Xt(S),h=S}i.stateNode=h}else TA(v,i.type,i.stateNode);else i.stateNode=_A(v,h,i.memoizedProps);else S!==h?(S===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):S.count--,h===null?TA(v,i.type,i.stateNode):_A(v,h,i.memoizedProps)):h===null&&i.stateNode!==null&&Xy(i,i.memoizedProps,u.memoizedProps)}break;case 27:zr(s,i),$r(i),h&512&&(Ht||u===null||Xn(u,u.return)),u!==null&&h&4&&Xy(i,i.memoizedProps,u.memoizedProps);break;case 5:if(zr(s,i),$r(i),h&512&&(Ht||u===null||Xn(u,u.return)),i.flags&32){v=i.stateNode;try{Ps(v,"")}catch(Ce){st(i,i.return,Ce)}}h&4&&i.stateNode!=null&&(v=i.memoizedProps,Xy(i,v,u!==null?u.memoizedProps:v)),h&1024&&(tv=!0);break;case 6:if(zr(s,i),$r(i),h&4){if(i.stateNode===null)throw Error(n(162));h=i.memoizedProps,u=i.stateNode;try{u.nodeValue=h}catch(Ce){st(i,i.return,Ce)}}break;case 3:if(gp=null,v=Rn,Rn=hp(s.containerInfo),zr(s,i),Rn=v,$r(i),h&4&&u!==null&&u.memoizedState.isDehydrated)try{cl(s.containerInfo)}catch(Ce){st(i,i.return,Ce)}tv&&(tv=!1,TN(i));break;case 4:h=Rn,Rn=hp(i.stateNode.containerInfo),zr(s,i),$r(i),Rn=h;break;case 12:zr(s,i),$r(i);break;case 31:zr(s,i),$r(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,ep(i,h)));break;case 13:zr(s,i),$r(i),i.child.flags&8192&&i.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(rp=Qt()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,ep(i,h)));break;case 22:v=i.memoizedState!==null;var Z=u!==null&&u.memoizedState!==null,te=Pa,oe=Ht;if(Pa=te||v,Ht=oe||Z,zr(s,i),Ht=oe,Pa=te,$r(i),h&8192)e:for(s=i.stateNode,s._visibility=v?s._visibility&-2:s._visibility|1,v&&(u===null||Z||Pa||Ht||Eo(i)),u=null,s=i;;){if(s.tag===5||s.tag===26){if(u===null){Z=u=s;try{if(S=Z.stateNode,v)E=S.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{z=Z.stateNode;var fe=Z.memoizedProps.style,re=fe!=null&&fe.hasOwnProperty("display")?fe.display:null;z.style.display=re==null||typeof re=="boolean"?"":(""+re).trim()}}catch(Ce){st(Z,Z.return,Ce)}}}else if(s.tag===6){if(u===null){Z=s;try{Z.stateNode.nodeValue=v?"":Z.memoizedProps}catch(Ce){st(Z,Z.return,Ce)}}}else if(s.tag===18){if(u===null){Z=s;try{var ne=Z.stateNode;v?bA(ne,!0):bA(Z.stateNode,!1)}catch(Ce){st(Z,Z.return,Ce)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===i)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break e;for(;s.sibling===null;){if(s.return===null||s.return===i)break e;u===s&&(u=null),s=s.return}u===s&&(u=null),s.sibling.return=s.return,s=s.sibling}h&4&&(h=i.updateQueue,h!==null&&(u=h.retryQueue,u!==null&&(h.retryQueue=null,ep(i,u))));break;case 19:zr(s,i),$r(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,ep(i,h)));break;case 30:break;case 21:break;default:zr(s,i),$r(i)}}function $r(i){var s=i.flags;if(s&2){try{for(var u,h=i.return;h!==null;){if(wN(h)){u=h;break}h=h.return}if(u==null)throw Error(n(160));switch(u.tag){case 27:var v=u.stateNode,S=Jy(i);Jf(i,S,v);break;case 5:var E=u.stateNode;u.flags&32&&(Ps(E,""),u.flags&=-33);var z=Jy(i);Jf(i,z,E);break;case 3:case 4:var Z=u.stateNode.containerInfo,te=Jy(i);ev(i,te,Z);break;default:throw Error(n(161))}}catch(oe){st(i,i.return,oe)}i.flags&=-3}s&4096&&(i.flags&=-4097)}function TN(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var s=i;TN(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),i=i.sibling}}function Ra(i,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)ON(i,s.alternate,s),s=s.sibling}function Eo(i){for(i=i.child;i!==null;){var s=i;switch(s.tag){case 0:case 11:case 14:case 15:ji(4,s,s.return),Eo(s);break;case 1:Xn(s,s.return);var u=s.stateNode;typeof u.componentWillUnmount=="function"&&bN(s,s.return,u),Eo(s);break;case 27:uu(s.stateNode);case 26:case 5:Xn(s,s.return),Eo(s);break;case 22:s.memoizedState===null&&Eo(s);break;case 30:Eo(s);break;default:Eo(s)}i=i.sibling}}function ka(i,s,u){for(u=u&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var h=s.alternate,v=i,S=s,E=S.flags;switch(S.tag){case 0:case 11:case 15:ka(v,S,u),eu(4,S);break;case 1:if(ka(v,S,u),h=S,v=h.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(te){st(h,h.return,te)}if(h=S,v=h.updateQueue,v!==null){var z=h.stateNode;try{var Z=v.shared.hiddenCallbacks;if(Z!==null)for(v.shared.hiddenCallbacks=null,v=0;v<Z.length;v++)lO(Z[v],z)}catch(te){st(h,h.return,te)}}u&&E&64&&xN(S),tu(S,S.return);break;case 27:CN(S);case 26:case 5:ka(v,S,u),u&&h===null&&E&4&&SN(S),tu(S,S.return);break;case 12:ka(v,S,u);break;case 31:ka(v,S,u),u&&E&4&&DN(v,S);break;case 13:ka(v,S,u),u&&E&4&&_N(v,S);break;case 22:S.memoizedState===null&&ka(v,S,u),tu(S,S.return);break;case 30:break;default:ka(v,S,u)}s=s.sibling}}function rv(i,s){var u=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),i=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(i=s.memoizedState.cachePool.pool),i!==u&&(i!=null&&i.refCount++,u!=null&&Bc(u))}function nv(i,s){i=null,s.alternate!==null&&(i=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==i&&(s.refCount++,i!=null&&Bc(i))}function kn(i,s,u,h){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)PN(i,s,u,h),s=s.sibling}function PN(i,s,u,h){var v=s.flags;switch(s.tag){case 0:case 11:case 15:kn(i,s,u,h),v&2048&&eu(9,s);break;case 1:kn(i,s,u,h);break;case 3:kn(i,s,u,h),v&2048&&(i=null,s.alternate!==null&&(i=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==i&&(s.refCount++,i!=null&&Bc(i)));break;case 12:if(v&2048){kn(i,s,u,h),i=s.stateNode;try{var S=s.memoizedProps,E=S.id,z=S.onPostCommit;typeof z=="function"&&z(E,s.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(Z){st(s,s.return,Z)}}else kn(i,s,u,h);break;case 31:kn(i,s,u,h);break;case 13:kn(i,s,u,h);break;case 23:break;case 22:S=s.stateNode,E=s.alternate,s.memoizedState!==null?S._visibility&2?kn(i,s,u,h):ru(i,s):S._visibility&2?kn(i,s,u,h):(S._visibility|=2,Xs(i,s,u,h,(s.subtreeFlags&10256)!==0||!1)),v&2048&&rv(E,s);break;case 24:kn(i,s,u,h),v&2048&&nv(s.alternate,s);break;default:kn(i,s,u,h)}}function Xs(i,s,u,h,v){for(v=v&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var S=i,E=s,z=u,Z=h,te=E.flags;switch(E.tag){case 0:case 11:case 15:Xs(S,E,z,Z,v),eu(8,E);break;case 23:break;case 22:var oe=E.stateNode;E.memoizedState!==null?oe._visibility&2?Xs(S,E,z,Z,v):ru(S,E):(oe._visibility|=2,Xs(S,E,z,Z,v)),v&&te&2048&&rv(E.alternate,E);break;case 24:Xs(S,E,z,Z,v),v&&te&2048&&nv(E.alternate,E);break;default:Xs(S,E,z,Z,v)}s=s.sibling}}
vendor: 6,951 bytes, line 48
48function ru(i,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var u=i,h=s,v=h.flags;switch(h.tag){case 22:ru(u,h),v&2048&&rv(h.alternate,h);break;case 24:ru(u,h),v&2048&&nv(h.alternate,h);break;default:ru(u,h)}s=s.sibling}}var nu=8192;function Js(i,s,u){if(i.subtreeFlags&nu)for(i=i.child;i!==null;)MN(i,s,u),i=i.sibling}function MN(i,s,u){switch(i.tag){case 26:Js(i,s,u),i.flags&nu&&i.memoizedState!==null&&r$(u,Rn,i.memoizedState,i.memoizedProps);break;case 5:Js(i,s,u);break;case 3:case 4:var h=Rn;Rn=hp(i.stateNode.containerInfo),Js(i,s,u),Rn=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=nu,nu=16777216,Js(i,s,u),nu=h):Js(i,s,u));break;default:Js(i,s,u)}}function RN(i){var s=i.alternate;if(s!==null&&(i=s.child,i!==null)){s.child=null;do s=i.sibling,i.sibling=null,i=s;while(i!==null)}}function au(i){var s=i.deletions;if((i.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var h=s[u];Jt=h,IN(h,i)}RN(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)kN(i),i=i.sibling}function kN(i){switch(i.tag){case 0:case 11:case 15:au(i),i.flags&2048&&ji(9,i,i.return);break;case 3:au(i);break;case 12:au(i);break;case 22:var s=i.stateNode;i.memoizedState!==null&&s._visibility&2&&(i.return===null||i.return.tag!==13)?(s._visibility&=-3,tp(i)):au(i);break;default:au(i)}}function tp(i){var s=i.deletions;if((i.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var h=s[u];Jt=h,IN(h,i)}RN(i)}for(i=i.child;i!==null;){switch(s=i,s.tag){case 0:case 11:case 15:ji(8,s,s.return),tp(s);break;case 22:u=s.stateNode,u._visibility&2&&(u._visibility&=-3,tp(s));break;default:tp(s)}i=i.sibling}}function IN(i,s){for(;Jt!==null;){var u=Jt;switch(u.tag){case 0:case 11:case 15:ji(8,u,s);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var h=u.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Bc(u.memoizedState.cache)}if(h=u.child,h!==null)h.return=u,Jt=h;else e:for(u=i;Jt!==null;){h=Jt;var v=h.sibling,S=h.return;if(NN(h),h===u){Jt=null;break e}if(v!==null){v.return=S,Jt=v;break e}Jt=S}}}var yz={getCacheForType:function(i){var s=lr(zt),u=s.data.get(i);return u===void 0&&(u=i(),s.data.set(i,u)),u},cacheSignal:function(){return lr(zt).controller.signal}},vz=typeof WeakMap=="function"?WeakMap:Map,Je=0,pt=null,Fe=null,Ge=0,ot=0,Vr=null,Oi=!1,el=!1,av=!1,Ia=0,_t=0,Ni=0,To=0,iv=0,Qr=0,tl=0,iu=null,Lr=null,ov=!1,rp=0,zN=0,np=1/0,ap=null,Ai=null,Ut=0,Di=null,rl=null,za=0,sv=0,lv=null,$N=null,ou=0,cv=null;function Yr(){return(Je&2)!==0&&Ge!==0?Ge&-Ge:k.T!==null?mv():_g()}function LN(){if(Qr===0)if((Ge&536870912)===0||Ze){var i=js;js<<=1,(js&3932160)===0&&(js=262144),Qr=i}else Qr=536870912;return i=Zr.current,i!==null&&(i.flags|=32),Qr}function Hr(i,s,u){(i===pt&&(ot===2||ot===9)||i.cancelPendingCommit!==null)&&(nl(i,0),_i(i,Ge,Qr,!1)),Nt(i,u),((Je&2)===0||i!==pt)&&(i===pt&&((Je&2)===0&&(To|=u),_t===4&&_i(i,Ge,Qr,!1)),Jn(i))}function HN(i,s,u){if((Je&6)!==0)throw Error(n(327));var h=!u&&(s&127)===0&&(s&i.expiredLanes)===0||wt(i,s),v=h?Sz(i,s):dv(i,s,!0),S=h;do{if(v===0){el&&!h&&_i(i,s,0,!1);break}else{if(u=i.current.alternate,S&&!xz(u)){v=dv(i,s,!1),S=!1;continue}if(v===2){if(S=s,i.errorRecoveryDisabledLanes&S)var E=0;else E=i.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){s=E;e:{var z=i;v=iu;var Z=z.current.memoizedState.isDehydrated;if(Z&&(nl(z,E).flags|=256),E=dv(z,E,!1),E!==2){if(av&&!Z){z.errorRecoveryDisabledLanes|=S,To|=S,v=4;break e}S=Lr,Lr=v,S!==null&&(Lr===null?Lr=S:Lr.push.apply(Lr,S))}v=E}if(S=!1,v!==2)continue}}if(v===1){nl(i,0),_i(i,s,0,!0);break}e:{switch(h=i,S=v,S){case 0:case 1:throw Error(n(345));case 4:if((s&4194048)!==s)break;case 6:_i(h,s,Qr,!Oi);break e;case 2:Lr=null;break;case 3:case 5:break;default:throw Error(n(329))}if((s&62914560)===s&&(v=rp+300-Qt(),10<v)){if(_i(h,s,Qr,!Oi),Ie(h,0,!0)!==0)break e;za=s,h.timeoutHandle=yA(BN.bind(null,h,u,Lr,ap,ov,s,Qr,To,tl,Oi,S,"Throttled",-0,0),v);break e}BN(h,u,Lr,ap,ov,s,Qr,To,tl,Oi,S,null,-0,0)}}break}while(!0);Jn(i)}function BN(i,s,u,h,v,S,E,z,Z,te,oe,fe,re,ne){if(i.timeoutHandle=-1,fe=s.subtreeFlags,fe&8192||(fe&16785408)===16785408){fe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:wa},MN(s,S,fe);var Ce=(S&62914560)===S?rp-Qt():(S&4194048)===S?zN-Qt():0;if(Ce=n$(fe,Ce),Ce!==null){za=S,i.cancelPendingCommit=Ce(VN.bind(null,i,s,S,u,h,v,E,z,Z,oe,fe,null,re,ne)),_i(i,S,E,!te);return}}VN(i,s,S,u,h,v,E,z,Z)}function xz(i){for(var s=i;;){var u=s.tag;if((u===0||u===11||u===15)&&s.flags&16384&&(u=s.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var h=0;h<u.length;h++){var v=u[h],S=v.getSnapshot;v=v.value;try{if(!Gr(S(),v))return!1}catch{return!1}}if(u=s.child,s.subtreeFlags&16384&&u!==null)u.return=s,s=u;else{if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function _i(i,s,u,h){s&=~iv,s&=~To,i.suspendedLanes|=s,i.pingedLanes&=~s,h&&(i.warmLanes|=s),h=i.expirationTimes;for(var v=s;0<v;){var S=31-pr(v),E=1<<S;h[S]=-1,v&=~E}u!==0&&ho(i,u,s)}function ip(){return(Je&6)===0?(su(0),!1):!0}function uv(){if(Fe!==null){if(ot===0)var i=Fe.return;else i=Fe,Na=wo=null,Ny(i),Zs=null,Fc=0,i=Fe;for(;i!==null;)vN(i.alternate,i),i=i.return;Fe=null}}function nl(i,s){var u=i.timeoutHandle;u!==-1&&(i.timeoutHandle=-1,Lz(u)),u=i.cancelPendingCommit,u!==null&&(i.cancelPendingCommit=null,u()),za=0,uv(),pt=i,Fe=u=ja(i.current,null),Ge=s,ot=0,Vr=null,Oi=!1,el=wt(i,s),av=!1,tl=Qr=iv=To=Ni=_t=0,Lr=iu=null,ov=!1,(s&8)!==0&&(s|=s&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=s;0<h;){var v=31-pr(h),S=1<<v;s|=i[v],h&=~S}return Ia=s,Nf(),u}function qN(i,s){Le=null,k.H=Yc,s===Ws||s===Rf?(s=aO(),ot=3):s===hy?(s=aO(),ot=4):ot=s===qy?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,Vr=s,Fe===null&&(_t=1,Kf(i,pn(s,i.current)))}function FN(){var i=Zr.current;return i===null?!0:(Ge&4194048)===Ge?yn===null:(Ge&62914560)===Ge||(Ge&536870912)!==0?i===yn:!1}function UN(){var i=k.H;return k.H=Yc,i===null?Yc:i}function GN(){var i=k.A;return k.A=yz,i}function op(){_t=4,Oi||(Ge&4194048)!==Ge&&Zr.current!==null||(el=!0),(Ni&134217727)===0&&(To&134217727)===0||pt===null||_i(pt,Ge,Qr,!1)}function dv(i,s,u){var h=Je;Je|=2;var v=UN(),S=GN();(pt!==i||Ge!==s)&&(ap=null,nl(i,s)),s=!1;var E=_t;e:do try{if(ot!==0&&Fe!==null){var z=Fe,Z=Vr;switch(ot){case 8:uv(),E=6;break e;case 3:case 2:case 9:case 6:Zr.current===null&&(s=!0);var te=ot;if(ot=0,Vr=null,al(i,z,Z,te),u&&el){E=0;break e}break;default:te=ot,ot=0,Vr=null,al(i,z,Z,te)}}bz(),E=_t;break}catch(oe){qN(i,oe)}while(!0);return s&&i.shellSuspendCounter++,Na=wo=null,Je=h,k.H=v,k.A=S,Fe===null&&(pt=null,Ge=0,Nf()),E}function bz(){for(;Fe!==null;)WN(Fe)}function Sz(i,s){var u=Je;Je|=2;var h=UN(),v=GN();pt!==i||Ge!==s?(ap=null,np=Qt()+500,nl(i,s)):el=wt(i,s);e:do try{if(ot!==0&&Fe!==null){s=Fe;var S=Vr;
vendor: 3,381 bytes, line 48
48t:switch(ot){case 1:ot=0,Vr=null,al(i,s,S,1);break;case 2:case 9:if(rO(S)){ot=0,Vr=null,ZN(s);break}s=function(){ot!==2&&ot!==9||pt!==i||(ot=7),Jn(i)},S.then(s,s);break e;case 3:ot=7;break e;case 4:ot=5;break e;case 7:rO(S)?(ot=0,Vr=null,ZN(s)):(ot=0,Vr=null,al(i,s,S,7));break;case 5:var E=null;switch(Fe.tag){case 26:E=Fe.memoizedState;case 5:case 27:var z=Fe;if(E?PA(E):z.stateNode.complete){ot=0,Vr=null;var Z=z.sibling;if(Z!==null)Fe=Z;else{var te=z.return;te!==null?(Fe=te,sp(te)):Fe=null}break t}}ot=0,Vr=null,al(i,s,S,5);break;case 6:ot=0,Vr=null,al(i,s,S,6);break;case 8:uv(),_t=6;break e;default:throw Error(n(462))}}wz();break}catch(oe){qN(i,oe)}while(!0);return Na=wo=null,k.H=h,k.A=v,Je=u,Fe!==null?0:(pt=null,Ge=0,Nf(),_t)}function wz(){for(;Fe!==null&&!Ot();)WN(Fe)}function WN(i){var s=gN(i.alternate,i,Ia);i.memoizedProps=i.pendingProps,s===null?sp(i):Fe=s}function ZN(i){var s=i,u=s.alternate;switch(s.tag){case 15:case 0:s=uN(u,s,s.pendingProps,s.type,void 0,Ge);break;case 11:s=uN(u,s,s.pendingProps,s.type.render,s.ref,Ge);break;case 5:Ny(s);default:vN(u,s),s=Fe=Gj(s,Ia),s=gN(u,s,Ia)}i.memoizedProps=i.pendingProps,s===null?sp(i):Fe=s}function al(i,s,u,h){Na=wo=null,Ny(s),Zs=null,Fc=0;var v=s.return;try{if(uz(i,v,s,u,Ge)){_t=1,Kf(i,pn(u,i.current)),Fe=null;return}}catch(S){if(v!==null)throw Fe=v,S;_t=1,Kf(i,pn(u,i.current)),Fe=null;return}s.flags&32768?(Ze||h===1?i=!0:el||(Ge&536870912)!==0?i=!1:(Oi=i=!0,(h===2||h===9||h===3||h===6)&&(h=Zr.current,h!==null&&h.tag===13&&(h.flags|=16384))),KN(s,i)):sp(s)}function sp(i){var s=i;do{if((s.flags&32768)!==0){KN(s,Oi);return}i=s.return;var u=pz(s.alternate,s,Ia);if(u!==null){Fe=u;return}if(s=s.sibling,s!==null){Fe=s;return}Fe=s=i}while(s!==null);_t===0&&(_t=5)}function KN(i,s){do{var u=hz(i.alternate,i);if(u!==null){u.flags&=32767,Fe=u;return}if(u=i.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!s&&(i=i.sibling,i!==null)){Fe=i;return}Fe=i=u}while(i!==null);_t=6,Fe=null}function VN(i,s,u,h,v,S,E,z,Z){i.cancelPendingCommit=null;do lp();while(Ut!==0);if((Je&6)!==0)throw Error(n(327));if(s!==null){if(s===i.current)throw Error(n(177));if(S=s.lanes|s.childLanes,S|=Jg,Tr(i,u,S,E,z,Z),i===pt&&(Fe=pt=null,Ge=0),rl=s,Di=i,za=u,sv=S,lv=v,$N=h,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,Nz(uo,function(){return eA(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||h){h=k.T,k.T=null,v=H.p,H.p=2,E=Je,Je|=4;try{mz(i,s,u)}finally{Je=E,H.p=v,k.T=h}}Ut=1,QN(),YN(),XN()}}function QN(){if(Ut===1){Ut=0;var i=Di,s=rl,u=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||u){u=k.T,k.T=null;var h=H.p;H.p=2;var v=Je;Je|=4;try{EN(s,i);var S=Cv,E=Ij(i.containerInfo),z=S.focusedElem,Z=S.selectionRange;if(E!==z&&z&&z.ownerDocument&&kj(z.ownerDocument.documentElement,z)){if(Z!==null&&Kg(z)){var te=Z.start,oe=Z.end;if(oe===void 0&&(oe=te),"selectionStart"in z)z.selectionStart=te,z.selectionEnd=Math.min(oe,z.value.length);else{var fe=z.ownerDocument||document,re=fe&&fe.defaultView||window;if(re.getSelection){var ne=re.getSelection(),Ce=z.textContent.length,Te=Math.min(Z.start,Ce),dt=Z.end===void 0?Te:Math.min(Z.end,Ce);!ne.extend&&Te>dt&&(E=dt,dt=Te,Te=E);var X=Rj(z,Te),Q=Rj(z,dt);if(X&&Q&&(ne.rangeCount!==1||ne.anchorNode!==X.node||ne.anchorOffset!==X.offset||ne.focusNode!==Q.node||ne.focu
vendor: 13,307 bytes, line 48
48sOffset!==Q.offset)){var ee=fe.createRange();ee.setStart(X.node,X.offset),ne.removeAllRanges(),Te>dt?(ne.addRange(ee),ne.extend(Q.node,Q.offset)):(ee.setEnd(Q.node,Q.offset),ne.addRange(ee))}}}}for(fe=[],ne=z;ne=ne.parentNode;)ne.nodeType===1&&fe.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<fe.length;z++){var ue=fe[z];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}bp=!!wv,Cv=wv=null}finally{Je=v,H.p=h,k.T=u}}i.current=s,Ut=2}}function YN(){if(Ut===2){Ut=0;var i=Di,s=rl,u=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||u){u=k.T,k.T=null;var h=H.p;H.p=2;var v=Je;Je|=4;try{ON(i,s.alternate,s)}finally{Je=v,H.p=h,k.T=u}}Ut=3}}function XN(){if(Ut===4||Ut===3){Ut=0,cn();var i=Di,s=rl,u=za,h=$N;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?Ut=5:(Ut=0,rl=Di=null,JN(i,i.pendingLanes));var v=i.pendingLanes;if(v===0&&(Ai=null),Pn(u),s=s.stateNode,Cr&&typeof Cr.onCommitFiberRoot=="function")try{Cr.onCommitFiberRoot(fo,s,void 0,(s.current.flags&128)===128)}catch{}if(h!==null){s=k.T,v=H.p,H.p=2,k.T=null;try{for(var S=i.onRecoverableError,E=0;E<h.length;E++){var z=h[E];S(z.value,{componentStack:z.stack})}}finally{k.T=s,H.p=v}}(za&3)!==0&&lp(),Jn(i),v=i.pendingLanes,(u&261930)!==0&&(v&42)!==0?i===cv?ou++:(ou=0,cv=i):ou=0,su(0)}}function JN(i,s){(i.pooledCacheLanes&=s)===0&&(s=i.pooledCache,s!=null&&(i.pooledCache=null,Bc(s)))}function lp(){return QN(),YN(),XN(),eA()}function eA(){if(Ut!==5)return!1;var i=Di,s=sv;sv=0;var u=Pn(za),h=k.T,v=H.p;try{H.p=32>u?32:u,k.T=null,u=lv,lv=null;var S=Di,E=za;if(Ut=0,rl=Di=null,za=0,(Je&6)!==0)throw Error(n(331));var z=Je;if(Je|=4,kN(S.current),PN(S,S.current,E,u),Je=z,su(0,!1),Cr&&typeof Cr.onPostCommitFiberRoot=="function")try{Cr.onPostCommitFiberRoot(fo,S)}catch{}return!0}finally{H.p=v,k.T=h,JN(i,s)}}function tA(i,s,u){s=pn(u,s),s=By(i.stateNode,s,2),i=Si(i,s,2),i!==null&&(Nt(i,2),Jn(i))}function st(i,s,u){if(i.tag===3)tA(i,i,u);else for(;s!==null;){if(s.tag===3){tA(s,i,u);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Ai===null||!Ai.has(h))){i=pn(u,i),u=rN(2),h=Si(s,u,2),h!==null&&(nN(u,h,s,i),Nt(h,2),Jn(h));break}}s=s.return}}function fv(i,s,u){var h=i.pingCache;if(h===null){h=i.pingCache=new vz;var v=new Set;h.set(s,v)}else v=h.get(s),v===void 0&&(v=new Set,h.set(s,v));v.has(u)||(av=!0,v.add(u),i=Cz.bind(null,i,s,u),s.then(i,i))}function Cz(i,s,u){var h=i.pingCache;h!==null&&h.delete(s),i.pingedLanes|=i.suspendedLanes&u,i.warmLanes&=~u,pt===i&&(Ge&u)===u&&(_t===4||_t===3&&(Ge&62914560)===Ge&&300>Qt()-rp?(Je&2)===0&&nl(i,0):iv|=u,tl===Ge&&(tl=0)),Jn(i)}function rA(i,s){s===0&&(s=hr()),i=xo(i,s),i!==null&&(Nt(i,s),Jn(i))}function jz(i){var s=i.memoizedState,u=0;s!==null&&(u=s.retryLane),rA(i,u)}function Oz(i,s){var u=0;switch(i.tag){case 31:case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(u=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(n(314))}h!==null&&h.delete(s),rA(i,u)}function Nz(i,s){return Zn(i,s)}var cp=null,il=null,pv=!1,up=!1,hv=!1,Ei=0;function Jn(i){i!==il&&i.next===null&&(il===null?cp=il=i:il=il.next=i),up=!0,pv||(pv=!0,Dz())}function su(i,s){if(!hv&&up){hv=!0;do for(var u=!1,h=cp;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var S=0;else{var E=h.suspendedLanes,z=h.pingedLanes;S=(1<<31-pr(42|i)+1)-1,S&=v&~(E&~z),S=S&201326741?S&201326741|1:S?S|2:0}S!==0&&(u=!0,oA(h,S))}else S=Ge,S=Ie(h,h===pt?S:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(S&3)===0||wt(h,S)||(u=!0,oA(h,S));h=h.next}while(u);hv=!1}}function Az(){nA()}function nA(){up=pv=!1;var i=0;Ei!==0&&$z()&&(i=Ei);for(var s=Qt(),u=null,h=cp;h!==null;){var v=h.next,S=aA(h,s);S===0?(h.next=null,u===null?cp=v:u.next=v,v===null&&(il=u)):(u=h,(i!==0||(S&3)!==0)&&(up=!0)),h=v}Ut!==0&&Ut!==5||su(i),Ei!==0&&(Ei=0)}function aA(i,s){for(var u=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,S=i.pendingLanes&-62914561;0<S;){var E=31-pr(S),z=1<<E,Z=v[E];Z===-1?((z&u)===0||(z&h)!==0)&&(v[E]=Yt(z,s)):Z<=s&&(i.expiredLanes|=z),S&=~z}if(s=pt,u=Ge,u=Ie(i,i===s?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,u===0||i===s&&(ot===2||ot===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&Ur(h),i.callbackNode=null,i.callbackPriority=0;if((u&3)===0||wt(i,u)){if(s=u&-u,s===i.callbackPriority)return s;switch(h!==null&&Ur(h),Pn(u)){case 2:case 8:u=pf;break;case 32:u=uo;break;case 268435456:u=ba;break;default:u=uo}return h=iA.bind(null,i),u=Zn(u,h),i.callbackPriority=s,i.callbackNode=u,s}return h!==null&&h!==null&&Ur(h),i.callbackPriority=2,i.callbackNode=null,2}function iA(i,s){if(Ut!==0&&Ut!==5)return i.callbackNode=null,i.callbackPriority=0,null;var u=i.callbackNode;if(lp()&&i.callbackNode!==u)return null;var h=Ge;return h=Ie(i,i===pt?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(HN(i,h,s),aA(i,Qt()),i.callbackNode!=null&&i.callbackNode===u?iA.bind(null,i):null)}function oA(i,s){if(lp())return null;HN(i,s,!0)}function Dz(){Hz(function(){(Je&6)!==0?Zn(co,Az):nA()})}function mv(){if(Ei===0){var i=Us;i===0&&(i=Cs,Cs<<=1,(Cs&261888)===0&&(Cs=256)),Ei=i}return Ei}function sA(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:vf(""+i)}function lA(i,s){var u=s.ownerDocument.createElement("input");return u.name=s.name,u.value=s.value,i.id&&u.setAttribute("form",i.id),s.parentNode.insertBefore(u,s),i=new FormData(i),u.parentNode.removeChild(u),i}function _z(i,s,u,h,v){if(s==="submit"&&u&&u.stateNode===v){var S=sA((v[Rr]||null).action),E=h.submitter;E&&(s=(s=E[Rr]||null)?sA(s.formAction):E.getAttribute("formAction"),s!==null&&(S=s,E=null));var z=new wf("action","action",null,h,v);i.push({event:z,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(Ei!==0){var Z=E?lA(v,E):new FormData(v);ky(u,{pending:!0,data:Z,method:v.method,action:S},null,Z)}}else typeof S=="function"&&(z.preventDefault(),Z=E?lA(v,E):new FormData(v),ky(u,{pending:!0,data:Z,method:v.method,action:S},S,Z))},currentTarget:v}]})}}for(var gv=0;gv<Xg.length;gv++){var yv=Xg[gv],Ez=yv.toLowerCase(),Tz=yv[0].toUpperCase()+yv.slice(1);Mn(Ez,"on"+Tz)}Mn(Lj,"onAnimationEnd"),Mn(Hj,"onAnimationIteration"),Mn(Bj,"onAnimationStart"),Mn("dblclick","onDoubleClick"),Mn("focusin","onFocus"),Mn("focusout","onBlur"),Mn(Z9,"onTransitionRun"),Mn(K9,"onTransitionStart"),Mn(V9,"onTransitionCancel"),Mn(qj,"onTransitionEnd"),Es("onMouseEnter",["mouseout","mouseover"]),Es("onMouseLeave",["mouseout","mouseover"]),Es("onPointerEnter",["pointerout","pointerover"]),Es("onPointerLeave",["pointerout","pointerover"]),mo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mo("onBeforeInput",["compositionend","keypress","textInput","paste"]),mo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lu="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(" "),Pz=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lu));function cA(i,s){s=(s&4)!==0;for(var u=0;u<i.length;u++){var h=i[u],v=h.event;h=h.listeners;e:{var S=void 0;if(s)for(var E=h.length-1;0<=E;E--){var z=h[E],Z=z.instance,te=z.currentTarget;if(z=z.listener,Z!==S&&v.isPropagationStopped())break e;S=z,v.currentTarget=te;try{S(v)}catch(oe){Of(oe)}v.currentTarget=null,S=Z}else for(E=0;E<h.length;E++){if(z=h[E],Z=z.instance,te=z.currentTarget,z=z.listener,Z!==S&&v.isPropagationStopped())break e;S=z,v.currentTarget=te;try{S(v)}catch(oe){Of(oe)}v.currentTarget=null,S=Z}}}}function Ue(i,s){var u=s[Eg];u===void 0&&(u=s[Eg]=new Set);var h=i+"__bubble";u.has(h)||(uA(s,i,2,!1),u.add(h))}function vv(i,s,u){var h=0;s&&(h|=4),uA(u,i,h,s)}var dp="_reactListening"+Math.random().toString(36).slice(2);function xv(i){if(!i[dp]){i[dp]=!0,nj.forEach(function(u){u!=="selectionchange"&&(Pz.has(u)||vv(u,!1,i),vv(u,!0,i))});var s=i.nodeType===9?i:i.ownerDocument;s===null||s[dp]||(s[dp]=!0,vv("selectionchange",!1,s))}}function uA(i,s,u,h){switch(LA(s)){case 2:var v=o$;break;case 8:v=s$;break;default:v=Rv}u=v.bind(null,s,u,i),v=void 0,!Lg||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(v=!0),h?v!==void 0?i.addEventListener(s,u,{capture:!0,passive:v}):i.addEventListener(s,u,!0):v!==void 0?i.addEventListener(s,u,{passive:v}):i.addEventListener(s,u,!1)}function bv(i,s,u,h,v){var S=h;if((s&1)===0&&(s&2)===0&&h!==null)e:for(;;){if(h===null)return;var E=h.tag;if(E===3||E===4){var z=h.stateNode.containerInfo;if(z===v)break;if(E===4)for(E=h.return;E!==null;){var Z=E.tag;if((Z===3||Z===4)&&E.stateNode.containerInfo===v)return;E=E.return}for(;z!==null;){if(E=As(z),E===null)return;if(Z=E.tag,Z===5||Z===6||Z===26||Z===27){h=S=E;continue e}z=z.parentNode}}h=h.return}mj(function(){var te=S,oe=zg(u),fe=[];e:{var re=Fj.get(i);if(re!==void 0){var ne=wf,Ce=i;switch(i){case"keypress":if(bf(u)===0)break e;case"keydown":case"keyup":ne=O9;break;case"focusin":Ce="focus",ne=Fg;break;case"focusout":Ce="blur",ne=Fg;break;case"beforeblur":case"afterblur":ne=Fg;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=vj;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=p9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=D9;break;case Lj:case Hj:case Bj:ne=g9;break;case qj:ne=E9;break;case"scroll":case"scrollend":ne=d9;break;case"wheel":ne=P9;break;case"copy":case"cut":case"paste":ne=v9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=bj;break;case"toggle":case"beforetoggle":ne=R9}var Te=(s&4)!==0,dt=!Te&&(i==="scroll"||i==="scrollend"),X=Te?re!==null?re+"Capture":null:re;Te=[];for(var Q=te,ee;Q!==null;){var ue=Q;if(ee=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||ee===null||X===null||(ue=Ec(Q,X),ue!=null&&Te.push(cu(Q,ue,ee))),dt)break;Q=Q.return}0<Te.length&&(re=new ne(re,Ce,null,u,oe),fe.push({event:re,listeners:Te}))}}if((s&7)===0){e:{if(re=i==="mouseover"||i==="pointerover",ne=i==="mouseout"||i==="pointerout",re&&u!==Ig&&(Ce=u.relatedTarget||u.fromElement)&&(As(Ce)||Ce[Ns]))break e;if((ne||re)&&(re=oe.window===oe?oe:(re=oe.ownerDocument)?re.defaultView||re.parentWindow:window,ne?(Ce=u.relatedTarget||u.toElement,ne=te,Ce=Ce?As(Ce):null,Ce!==null&&(dt=o(Ce),Te=Ce.tag,Ce!==dt||Te!==5&&Te!==27&&Te!==6)&&(Ce=null)):(ne=null,Ce=te),ne!==Ce)){if(Te=vj,ue="onMouseLeave",X="onMouseEnter",Q="mouse",(i==="pointerout"||i==="pointerover")&&(Te=bj,ue="onPointerLeave",X="onPointerEnter",Q="pointer"),dt=ne==null?re:_c(ne),ee=Ce==null?re:_c(Ce),re=new Te(ue,Q+"leave",ne,u,oe),re.target=dt,re.relatedTarget=ee,ue=null,As(oe)===te&&(Te=new Te(X,Q+"enter",Ce,u,oe),Te.target=ee,Te.relatedTarget=dt,ue=Te),dt=ue,ne&&Ce)t:{for(Te=Mz,X=ne,Q=Ce,ee=0,ue=X;ue;ue=Te(ue))ee++;ue=0;for(var De=Q;De;De=Te(De))ue++;for(;0<ee-ue;)X=Te(X),ee--;for(;0<ue-ee;)Q=Te(Q),ue--;for(;ee--;){if(X===Q||Q!==null&&X===Q.alternate){Te=X;break t}X=Te(X),Q=Te(Q)}Te=null}else Te=null;ne!==null&&dA(fe,re,ne,Te,!1),Ce!==null&&dt!==null&&dA(fe,dt,Ce,Te,!0)}}e:{if(re=te?_c(te):window,ne=re.nodeName&&re.nodeName.toLowerCase(),ne==="select"||ne==="input"&&re.type==="file")var Ve=Dj;else if(Nj(re))if(_j)Ve=U9;else{Ve=q9;var Ne=B9}else ne=re.nodeName,!ne||ne.toLowerCase()!=="input"||re.type!=="checkbox"&&re.type!=="radio"?te&&kg(te.elementType)&&(Ve=Dj):Ve=F9;if(Ve&&(Ve=Ve(i,te))){Aj(fe,Ve,u,oe);break e}Ne&&Ne(i,re,te),i==="focusout"&&te&&re.type==="number"&&te.memoizedProps.value!=null&&Rg(re,"number",re.value)}switch(Ne=te?_c(te):window,i){case"focusin":(Nj(Ne)||Ne.contentEditable==="true")&&(Is=Ne,Vg=te,$c=null);break;case"focusout":$c=Vg=Is=null;break;case"mousedown":Qg=!0;break;case"contextmenu":case"mouseup":case"dragend":Qg=!1,zj(fe,u,oe);break;case"selectionchange":if(W9)break;case"keydown":case"keyup":zj(fe,u,oe)}var He;if(Gg)e:{switch(i){case"compositionstart":var We="onCompositionStart";break e;case"compositionend":We="onCompositionEnd";break e;case"compositionupdate":We="onCompositionUpdate";break e}We=void 0}else ks?jj(i,u)&&(We="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(We="onCompositionStart");We&&(Sj&&u.locale!=="ko"&&(ks||We!=="onCompositionStart"?We==="onCompositionEnd"&&ks&&(He=gj()):(hi=oe,Hg="value"in hi?hi.value:hi.textContent,ks=!0)),Ne=fp(te,We),0<Ne.length&&(We=new xj(We,i,null,u,oe),fe.push({event:We,listeners:Ne}),He?We.data=He:(He=Oj(u),He!==null&&(We.data=He)))),(He=I9?z9(i,u):$9(i,u))&&(We=fp(te,"onBeforeInput"),0<We.length&&(Ne=new xj("onBeforeInput","beforeinput",null,u,oe),fe.push({event:Ne,listeners:We}
vendor: 7,411 bytes, lines 48-49
48),Ne.data=He)),_z(fe,i,te,u,oe)}cA(fe,s)})}function cu(i,s,u){return{instance:i,listener:s,currentTarget:u}}function fp(i,s){for(var u=s+"Capture",h=[];i!==null;){var v=i,S=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||S===null||(v=Ec(i,u),v!=null&&h.unshift(cu(i,v,S)),v=Ec(i,s),v!=null&&h.push(cu(i,v,S))),i.tag===3)return h;i=i.return}return[]}function Mz(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function dA(i,s,u,h,v){for(var S=s._reactName,E=[];u!==null&&u!==h;){var z=u,Z=z.alternate,te=z.stateNode;if(z=z.tag,Z!==null&&Z===h)break;z!==5&&z!==26&&z!==27||te===null||(Z=te,v?(te=Ec(u,S),te!=null&&E.unshift(cu(u,te,Z))):v||(te=Ec(u,S),te!=null&&E.push(cu(u,te,Z)))),u=u.return}E.length!==0&&i.push({event:s,listeners:E})}var Rz=/\r\n?/g,kz=/\u0000|\uFFFD/g;function fA(i){return(typeof i=="string"?i:""+i).replace(Rz,` 49`).replace(kz,"")}function pA(i,s){return s=fA(s),fA(i)===s}function ut(i,s,u,h,v,S){switch(u){case"children":typeof h=="string"?s==="body"||s==="textarea"&&h===""||Ps(i,h):(typeof h=="number"||typeof h=="bigint")&&s!=="body"&&Ps(i,""+h);break;case"className":gf(i,"class",h);break;case"tabIndex":gf(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":gf(i,u,h);break;case"style":pj(i,h,S);break;case"data":if(s!=="object"){gf(i,"data",h);break}case"src":case"href":if(h===""&&(s!=="a"||u!=="href")){i.removeAttribute(u);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=vf(""+h),i.setAttribute(u,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(u,"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 S=="function"&&(u==="formAction"?(s!=="input"&&ut(i,s,"name",v.name,v,null),ut(i,s,"formEncType",v.formEncType,v,null),ut(i,s,"formMethod",v.formMethod,v,null),ut(i,s,"formTarget",v.formTarget,v,null)):(ut(i,s,"encType",v.encType,v,null),ut(i,s,"method",v.method,v,null),ut(i,s,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=vf(""+h),i.setAttribute(u,h);break;case"onClick":h!=null&&(i.onclick=wa);break;case"onScroll":h!=null&&Ue("scroll",i);break;case"onScrollEnd":h!=null&&Ue("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(n(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(n(60));i.innerHTML=u}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.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"){i.removeAttribute("xlink:href");break}u=vf(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);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"?i.setAttribute(u,""+h):i.removeAttribute(u);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"?i.setAttribute(u,""):i.removeAttribute(u);break;case"capture":case"download":h===!0?i.setAttribute(u,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(u,h):i.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(u,h):i.removeAttribute(u);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(u):i.setAttribute(u,h);break;case"popover":Ue("beforetoggle",i),Ue("toggle",i),mf(i,"popover",h);break;case"xlinkActuate":Sa(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":Sa(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":Sa(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":Sa(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":Sa(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":Sa(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":Sa(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":Sa(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":Sa(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":mf(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=c9.get(u)||u,mf(i,u,h))}}function Sv(i,s,u,h,v,S){switch(u){case"style":pj(i,h,S);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(n(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(n(60));i.innerHTML=u}}break;case"children":typeof h=="string"?Ps(i,h):(typeof h=="number"||typeof h=="bigint")&&Ps(i,""+h);break;case"onScroll":h!=null&&Ue("scroll",i);break;case"onScrollEnd":h!=null&&Ue("scrollend",i);break;case"onClick":h!=null&&(i.onclick=wa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!aj.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(v=u.endsWith("Capture"),s=u.slice(2,v?u.length-7:void 0),S=i[Rr]||null,S=S!=null?S[u]:null,typeof S=="function"&&i.removeEventListener(s,S,v),typeof h=="function")){typeof S!="function"&&S!==null&&(u in i?i[u]=null:i.hasAttribute(u)&&i.removeAttribute(u)),i.addEventListener(s,h,v);break e}u in i?i[u]=h:h===!0?i.setAttribute(u,""):mf(i,u,h)}}}function ur(i,s,u){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ue("error",i),Ue("load",i);var h=!1,v=!1,S;for(S in u)if(u.hasOwnProperty(S)){var E=u[S];if(E!=null)switch(S){case"src":h=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:ut(i,s,S,E,u,null)}}v&&ut(i,s,"srcSet",u.srcSet,u,null),h&&ut(i,s,"src",u.src,u,null);return;case"input":Ue("invalid",i);var z=S=E=v=null,Z=null,te=null;for(h in u)if(u.hasOwnProperty(h)){var oe=u[h];if(oe!=null)switch(h){case"name":v=oe;break;case"type":E=oe;break;case"checked":Z=oe;break;case"defaultChecked":te=oe;break;case"value":S=oe;break;case"defaultValue":z=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(n(137,s));break;default:ut(i,s,h,oe,u,null)}}cj(i,S,z,Z,te,E,v,!1);return;case"select":Ue("invalid",i),h=E=S=null;for(v in u)if(u.hasOwnProperty(v)&&(z=u[v],z!=null))switch(v){case"value":S=z;break;case"defaultValue":E=z;break;case"multiple":h=z;default:ut(i,s,v,z,u,null)}
vendor: 5,218 bytes, line 49
49s=S,u=E,i.multiple=!!h,s!=null?Ts(i,!!h,s,!1):u!=null&&Ts(i,!!h,u,!0);return;case"textarea":Ue("invalid",i),S=v=h=null;for(E in u)if(u.hasOwnProperty(E)&&(z=u[E],z!=null))switch(E){case"value":h=z;break;case"defaultValue":v=z;break;case"children":S=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(n(91));break;default:ut(i,s,E,z,u,null)}dj(i,h,v,S);return;case"option":for(Z in u)if(u.hasOwnProperty(Z)&&(h=u[Z],h!=null))switch(Z){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:ut(i,s,Z,h,u,null)}return;case"dialog":Ue("beforetoggle",i),Ue("toggle",i),Ue("cancel",i),Ue("close",i);break;case"iframe":case"object":Ue("load",i);break;case"video":case"audio":for(h=0;h<lu.length;h++)Ue(lu[h],i);break;case"image":Ue("error",i),Ue("load",i);break;case"details":Ue("toggle",i);break;case"embed":case"source":case"link":Ue("error",i),Ue("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(te in u)if(u.hasOwnProperty(te)&&(h=u[te],h!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:ut(i,s,te,h,u,null)}return;default:if(kg(s)){for(oe in u)u.hasOwnProperty(oe)&&(h=u[oe],h!==void 0&&Sv(i,s,oe,h,u,void 0));return}}for(z in u)u.hasOwnProperty(z)&&(h=u[z],h!=null&&ut(i,s,z,h,u,null))}function Iz(i,s,u,h){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,S=null,E=null,z=null,Z=null,te=null,oe=null;for(ne in u){var fe=u[ne];if(u.hasOwnProperty(ne)&&fe!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":Z=fe;default:h.hasOwnProperty(ne)||ut(i,s,ne,null,h,fe)}}for(var re in h){var ne=h[re];if(fe=u[re],h.hasOwnProperty(re)&&(ne!=null||fe!=null))switch(re){case"type":S=ne;break;case"name":v=ne;break;case"checked":te=ne;break;case"defaultChecked":oe=ne;break;case"value":E=ne;break;case"defaultValue":z=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(n(137,s));break;default:ne!==fe&&ut(i,s,re,ne,h,fe)}}Mg(i,E,z,Z,te,oe,S,v);return;case"select":ne=E=z=re=null;for(S in u)if(Z=u[S],u.hasOwnProperty(S)&&Z!=null)switch(S){case"value":break;case"multiple":ne=Z;default:h.hasOwnProperty(S)||ut(i,s,S,null,h,Z)}for(v in h)if(S=h[v],Z=u[v],h.hasOwnProperty(v)&&(S!=null||Z!=null))switch(v){case"value":re=S;break;case"defaultValue":z=S;break;case"multiple":E=S;default:S!==Z&&ut(i,s,v,S,h,Z)}s=z,u=E,h=ne,re!=null?Ts(i,!!u,re,!1):!!h!=!!u&&(s!=null?Ts(i,!!u,s,!0):Ts(i,!!u,u?[]:"",!1));return;case"textarea":ne=re=null;for(z in u)if(v=u[z],u.hasOwnProperty(z)&&v!=null&&!h.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:ut(i,s,z,null,h,v)}for(E in h)if(v=h[E],S=u[E],h.hasOwnProperty(E)&&(v!=null||S!=null))switch(E){case"value":re=v;break;case"defaultValue":ne=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(n(91));break;default:v!==S&&ut(i,s,E,v,h,S)}uj(i,re,ne);return;case"option":for(var Ce in u)if(re=u[Ce],u.hasOwnProperty(Ce)&&re!=null&&!h.hasOwnProperty(Ce))switch(Ce){case"selected":i.selected=!1;break;default:ut(i,s,Ce,null,h,re)}for(Z in h)if(re=h[Z],ne=u[Z],h.hasOwnProperty(Z)&&re!==ne&&(re!=null||ne!=null))switch(Z){case"selected":i.selected=re&&typeof re!="function"&&typeof re!="symbol";break;default:ut(i,s,Z,re,h,ne)}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 u)re=u[Te],u.hasOwnProperty(Te)&&re!=null&&!h.hasOwnProperty(Te)&&ut(i,s,Te,null,h,re);for(te in h)if(re=h[te],ne=u[te],h.hasOwnProperty(te)&&re!==ne&&(re!=null||ne!=null))switch(te){case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(n(137,s));break;default:ut(i,s,te,re,h,ne)}return;default:if(kg(s)){for(var dt in u)re=u[dt],u.hasOwnProperty(dt)&&re!==void 0&&!h.hasOwnProperty(dt)&&Sv(i,s,dt,void 0,h,re);for(oe in h)re=h[oe],ne=u[oe],!h.hasOwnProperty(oe)||re===ne||re===void 0&&ne===void 0||Sv(i,s,oe,re,h,ne);return}}for(var X in u)re=u[X],u.hasOwnProperty(X)&&re!=null&&!h.hasOwnProperty(X)&&ut(i,s,X,null,h,re);for(fe in h)re=h[fe],ne=u[fe],!h.hasOwnProperty(fe)||re===ne||re==null&&ne==null||ut(i,s,fe,re,h,ne)}function hA(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zz(){if(typeof performance.getEntriesByType=="function"){for(var i=0,s=0,u=performance.getEntriesByType("resource"),h=0;h<u.length;h++){var v=u[h],S=v.transferSize,E=v.initiatorType,z=v.duration;if(S&&z&&hA(E)){for(E=0,z=v.responseEnd,h+=1;h<u.length;h++){var Z=u[h],te=Z.startTime;if(te>z)break;var oe=Z.transferSize,fe=Z.initiatorType;oe&&hA(fe)&&(Z=Z.responseEnd,E+=oe*(Z<z?1:(z-te)/(Z-te)))}if(--h,s+=8*(S+E)/(v.duration/1e3),i++,10<i)break}}if(0<i)return s/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var wv=null,Cv=null;function pp(i){return i.nodeType===9?i:i.ownerDocument}function mA(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}
vendor: 16,190 bytes, line 49
49function gA(i,s){if(i===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&s==="foreignObject"?0:i}function jv(i,s){return i==="textarea"||i==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Ov=null;function $z(){var i=window.event;return i&&i.type==="popstate"?i===Ov?!1:(Ov=i,!0):(Ov=null,!1)}var yA=typeof setTimeout=="function"?setTimeout:void 0,Lz=typeof clearTimeout=="function"?clearTimeout:void 0,vA=typeof Promise=="function"?Promise:void 0,Hz=typeof queueMicrotask=="function"?queueMicrotask:typeof vA<"u"?function(i){return vA.resolve(null).then(i).catch(Bz)}:yA;function Bz(i){setTimeout(function(){throw i})}function Ti(i){return i==="head"}function xA(i,s){var u=s,h=0;do{var v=u.nextSibling;if(i.removeChild(u),v&&v.nodeType===8)if(u=v.data,u==="/$"||u==="/&"){if(h===0){i.removeChild(v),cl(s);return}h--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")h++;else if(u==="html")uu(i.ownerDocument.documentElement);else if(u==="head"){u=i.ownerDocument.head,uu(u);for(var S=u.firstChild;S;){var E=S.nextSibling,z=S.nodeName;S[Dc]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&S.rel.toLowerCase()==="stylesheet"||u.removeChild(S),S=E}}else u==="body"&&uu(i.ownerDocument.body);u=v}while(u);cl(s)}function bA(i,s){var u=i;i=0;do{var h=u.nextSibling;if(u.nodeType===1?s?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(s?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),h&&h.nodeType===8)if(u=h.data,u==="/$"){if(i===0)break;i--}else u!=="$"&&u!=="$?"&&u!=="$~"&&u!=="$!"||i++;u=h}while(u)}function Nv(i){var s=i.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var u=s;switch(s=s.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Nv(u),Tg(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}i.removeChild(u)}}function qz(i,s,u,h){for(;i.nodeType===1;){var v=u;if(i.nodeName.toLowerCase()!==s.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[Dc])switch(s){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(S=i.getAttribute("rel"),S==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(S!==v.rel||i.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||i.getAttribute("title")!==(v.title==null?null:v.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(S=i.getAttribute("src"),(S!==(v.src==null?null:v.src)||i.getAttribute("type")!==(v.type==null?null:v.type)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&S&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(s==="input"&&i.type==="hidden"){var S=v.name==null?null:""+v.name;if(v.type==="hidden"&&i.getAttribute("name")===S)return i}else return i;if(i=vn(i.nextSibling),i===null)break}return null}function Fz(i,s,u){if(s==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!u||(i=vn(i.nextSibling),i===null))return null;return i}function SA(i,s){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!s||(i=vn(i.nextSibling),i===null))return null;return i}function Av(i){return i.data==="$?"||i.data==="$~"}function Dv(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function Uz(i,s){var u=i.ownerDocument;if(i.data==="$~")i._reactRetry=s;else if(i.data!=="$?"||u.readyState!=="loading")s();else{var h=function(){s(),u.removeEventListener("DOMContentLoaded",h)};u.addEventListener("DOMContentLoaded",h),i._reactRetry=h}}function vn(i){for(;i!=null;i=i.nextSibling){var s=i.nodeType;if(s===1||s===3)break;if(s===8){if(s=i.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;if(s==="/$"||s==="/&")return null}}return i}var _v=null;function wA(i){i=i.nextSibling;for(var s=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"||u==="/&"){if(s===0)return vn(i.nextSibling);s--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||s++}i=i.nextSibling}return null}function CA(i){i=i.previousSibling;for(var s=0;i;){if(i.nodeType===8){var u=i.data;if(u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"){if(s===0)return i;s--}else u!=="/$"&&u!=="/&"||s++}i=i.previousSibling}return null}function jA(i,s,u){switch(s=pp(u),i){case"html":if(i=s.documentElement,!i)throw Error(n(452));return i;case"head":if(i=s.head,!i)throw Error(n(453));return i;case"body":if(i=s.body,!i)throw Error(n(454));return i;default:throw Error(n(451))}}function uu(i){for(var s=i.attributes;s.length;)i.removeAttributeNode(s[0]);Tg(i)}var xn=new Map,OA=new Set;function hp(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var $a=H.d;H.d={f:Gz,r:Wz,D:Zz,C:Kz,L:Vz,m:Qz,X:Xz,S:Yz,M:Jz};function Gz(){var i=$a.f(),s=ip();return i||s}function Wz(i){var s=Ds(i);s!==null&&s.tag===5&&s.type==="form"?qO(s):$a.r(i)}var ol=typeof document>"u"?null:document;function NA(i,s,u){var h=ol;if(h&&typeof s=="string"&&s){var v=dn(s);v='link[rel="'+i+'"][href="'+v+'"]',typeof u=="string"&&(v+='[crossorigin="'+u+'"]'),OA.has(v)||(OA.add(v),i={rel:i,crossOrigin:u,href:s},h.querySelector(v)===null&&(s=h.createElement("link"),ur(s,"link",i),Xt(s),h.head.appendChild(s)))}}function Zz(i){$a.D(i),NA("dns-prefetch",i,null)}function Kz(i,s){$a.C(i,s),NA("preconnect",i,s)}function Vz(i,s,u){$a.L(i,s,u);var h=ol;if(h&&i&&s){var v='link[rel="preload"][as="'+dn(s)+'"]';s==="image"&&u&&u.imageSrcSet?(v+='[imagesrcset="'+dn(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(v+='[imagesizes="'+dn(u.imageSizes)+'"]')):v+='[href="'+dn(i)+'"]';var S=v;switch(s){case"style":S=sl(i);break;case"script":S=ll(i)}xn.has(S)||(i=m({rel:"preload",href:s==="image"&&u&&u.imageSrcSet?void 0:i,as:s},u),xn.set(S,i),h.querySelector(v)!==null||s==="style"&&h.querySelector(du(S))||s==="script"&&h.querySelector(fu(S))||(s=h.createElement("link"),ur(s,"link",i),Xt(s),h.head.appendChild(s)))}}function Qz(i,s){$a.m(i,s);var u=ol;if(u&&i){var h=s&&typeof s.as=="string"?s.as:"script",v='link[rel="modulepreload"][as="'+dn(h)+'"][href="'+dn(i)+'"]',S=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":S=ll(i)}if(!xn.has(S)&&(i=m({rel:"modulepreload",href:i},s),xn.set(S,i),u.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(fu(S)))return}h=u.createElement("link"),ur(h,"link",i),Xt(h),u.head.appendChild(h)}}}function Yz(i,s,u){$a.S(i,s,u);var h=ol;if(h&&i){var v=_s(h).hoistableStyles,S=sl(i);s=s||"default";var E=v.get(S);if(!E){var z={loading:0,preload:null};if(E=h.querySelector(du(S)))z.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":s},u),(u=xn.get(S))&&Ev(i,u);var Z=E=h.createElement("link");Xt(Z),ur(Z,"link",i),Z._p=new Promise(function(te,oe){Z.onload=te,Z.onerror=oe}),Z.addEventListener("load",function(){z.loading|=1}),Z.addEventListener("error",function(){z.loading|=2}),z.loading|=4,mp(E,s,h)}E={type:"stylesheet",instance:E,count:1,state:z},v.set(S,E)}}}function Xz(i,s){$a.X(i,s);var u=ol;if(u&&i){var h=_s(u).hoistableScripts,v=ll(i),S=h.get(v);S||(S=u.querySelector(fu(v)),S||(i=m({src:i,async:!0},s),(s=xn.get(v))&&Tv(i,s),S=u.createElement("script"),Xt(S),ur(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(v,S))}}function Jz(i,s){$a.M(i,s);var u=ol;if(u&&i){var h=_s(u).hoistableScripts,v=ll(i),S=h.get(v);S||(S=u.querySelector(fu(v)),S||(i=m({src:i,async:!0,type:"module"},s),(s=xn.get(v))&&Tv(i,s),S=u.createElement("script"),Xt(S),ur(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(v,S))}}function AA(i,s,u,h){var v=(v=he.current)?hp(v):null;if(!v)throw Error(n(446));switch(i){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(s=sl(u.href),u=_s(v).hoistableStyles,h=u.get(s),h||(h={type:"style",instance:null,count:0,state:null},u.set(s,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){i=sl(u.href);var S=_s(v).hoistableStyles,E=S.get(i);if(E||(v=v.ownerDocument||v,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},S.set(i,E),(S=v.querySelector(du(i)))&&!S._p&&(E.instance=S,E.state.loading=5),xn.has(i)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},xn.set(i,u),S||e$(v,i,u,E.state))),s&&h===null)throw Error(n(528,""));return E}if(s&&h!==null)throw Error(n(529,""));return null;case"script":return s=u.async,u=u.src,typeof u=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=ll(u),u=_s(v).hoistableScripts,h=u.get(s),h||(h={type:"script",instance:null,count:0,state:null},u.set(s,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,i))}}function sl(i){return'href="'+dn(i)+'"'}function du(i){return'link[rel="stylesheet"]['+i+"]"}function DA(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function e$(i,s,u,h){i.querySelector('link[rel="preload"][as="style"]['+s+"]")?h.loading=1:(s=i.createElement("link"),h.preload=s,s.addEventListener("load",function(){return h.loading|=1}),s.addEventListener("error",function(){return h.loading|=2}),ur(s,"link",u),Xt(s),i.head.appendChild(s))}function ll(i){return'[src="'+dn(i)+'"]'}function fu(i){return"script[async]"+i}function _A(i,s,u){if(s.count++,s.instance===null)switch(s.type){case"style":var h=i.querySelector('style[data-href~="'+dn(u.href)+'"]');if(h)return s.instance=h,Xt(h),h;var v=m({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),Xt(h),ur(h,"style",v),mp(h,u.precedence,i),s.instance=h;case"stylesheet":v=sl(u.href);var S=i.querySelector(du(v));if(S)return s.state.loading|=4,s.instance=S,Xt(S),S;h=DA(u),(v=xn.get(v))&&Ev(h,v),S=(i.ownerDocument||i).createElement("link"),Xt(S);var E=S;return E._p=new Promise(function(z,Z){E.onload=z,E.onerror=Z}),ur(S,"link",h),s.state.loading|=4,mp(S,u.precedence,i),s.instance=S;case"script":return S=ll(u.src),(v=i.querySelector(fu(S)))?(s.instance=v,Xt(v),v):(h=u,(v=xn.get(S))&&(h=m({},u),Tv(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),Xt(v),ur(v,"link",h),i.head.appendChild(v),s.instance=v);case"void":return null;default:throw Error(n(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(h=s.instance,s.state.loading|=4,mp(h,u.precedence,i));return s.instance}function mp(i,s,u){for(var h=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,S=v,E=0;E<h.length;E++){var z=h[E];if(z.dataset.precedence===s)S=z;else if(S!==v)break}S?S.parentNode.insertBefore(i,S.nextSibling):(s=u.nodeType===9?u.head:u,s.insertBefore(i,s.firstChild))}function Ev(i,s){i.crossOrigin==null&&(i.crossOrigin=s.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=s.referrerPolicy),i.title==null&&(i.title=s.title)}function Tv(i,s){i.crossOrigin==null&&(i.crossOrigin=s.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=s.referrerPolicy),i.integrity==null&&(i.integrity=s.integrity)}var gp=null;function EA(i,s,u){if(gp===null){var h=new Map,v=gp=new Map;v.set(u,h)}else v=gp,h=v.get(u),h||(h=new Map,v.set(u,h));if(h.has(i))return h;for(h.set(i,null),u=u.getElementsByTagName(i),v=0;v<u.length;v++){var S=u[v];if(!(S[Dc]||S[or]||i==="link"&&S.getAttribute("rel")==="stylesheet")&&S.namespaceURI!=="http://www.w3.org/2000/svg"){var E=S.getAttribute(s)||"";E=i+E;var z=h.get(E);z?z.push(S):h.set(E,[S])}}return h}function TA(i,s,u){i=i.ownerDocument||i,i.head.insertBefore(u,s==="title"?i.querySelector("head > title"):null)}function t$(i,s,u){if(u===1||s.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return i=s.disabled,typeof s.precedence=="string"&&i==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function PA(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function r$(i,s,u,h){if(u.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var v=sl(h.href),S=s.querySelector(du(v));if(S){s=S._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(i.count++,i=yp.bind(i),s.then(i,i)),u.state.loading|=4,u.instance=S,Xt(S);return}S=s.ownerDocument||s,h=DA(h),(v=xn.get(v))&&Ev(h,v),S=S.createElement("link"),Xt(S);var E=S;E._p=new Promise(function(z,Z){E.onload=z,E.onerror=Z}),ur(S,"link",h),u.instance=S}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(u,s),(s=u.state.preload)&&(u.state.loading&3)===0&&(i.count++,u=yp.bind(i),s.addEventListener("load",u),s.addEventListener("error",u))}}var Pv=0;function n$(i,s){return i.stylesheets&&i.count===0&&xp(i,i.stylesheets),0<i.count||0<i.imgCount?function(u){var h=setTimeout(function(){if(i.stylesheets&&xp(i,i.stylesheets),i.unsuspend){var S=i.unsuspend;i.unsuspend=null,S()}},6e4+s);0<i.imgBytes&&Pv===0&&(Pv=62500*zz());var v=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&xp(i,i.stylesheets),i.unsuspend)){var S=i.unsuspend;i.unsuspend=null,S()}},(i.imgBytes>Pv?50:800)+s);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(v)}}:null}function yp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)xp(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var vp=null;function xp(i,s){i.stylesheets=null,i.unsuspend!==null&&(i.count++,vp=new Map,s.forEach(a$,i),vp=null,yp.call(i))}function a$(i,s){if(!(s.state.loading&4)){var u=vp.get(i);if(u)var h=u.get(null);else{u=new Map,vp.set(i,u);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),S=0;S<v.length;S++){var E=v[S];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(u.set(E.dataset.precedence,E),h=E)}h&&u.set(null,h)}v=s.instance,E=v.getAttribute("data-precedence"),S=u.get(E)||h,S===h&&u.set(null,v),u.set(E,v),this.count++,h=yp.bind(this),v.addEventListener("load",h),v.addEventListener("error",h),S?S.parentNode.insertBefore(v,S.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(v,i.firstChild)),s.state.loading|=4}}var pu={$$typeof:_,Provider:null,Consumer:null,_currentValue:U,_currentValue2:U,_threadCount:0};function i$(i,s,u,h,v,S,E,z,Z){this.tag=1,this.containerInfo=i,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=fi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fi(0),this.hiddenUpdates=fi(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=S,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Z,this.incompleteTransitions=new Map}function MA(i,s,u,h,v,S,E,z,Z,te,oe,fe){return i=new i$(i,s,u,E,Z,te,oe,fe,z),s=1,S===!0&&(s|=24),S=Wr(3,null,null,s),i.current=S,S.stateNode=i,s=dy(),s.refCount++,i.pooledCache=s,s.refCount++,S.memoizedState={element:h,isDehydrated:u,cac
vendor: 8,168 bytes, line 49
49he:s},my(S),i}function RA(i){return i?(i=Ls,i):Ls}function kA(i,s,u,h,v,S){v=RA(v),h.context===null?h.context=v:h.pendingContext=v,h=bi(s),h.payload={element:u},S=S===void 0?null:S,S!==null&&(h.callback=S),u=Si(i,h,s),u!==null&&(Hr(u,i,s),Gc(u,i,s))}function IA(i,s){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<s?u:s}}function Mv(i,s){IA(i,s),(i=i.alternate)&&IA(i,s)}function zA(i){if(i.tag===13||i.tag===31){var s=xo(i,67108864);s!==null&&Hr(s,i,67108864),Mv(i,67108864)}}function $A(i){if(i.tag===13||i.tag===31){var s=Yr();s=Os(s);var u=xo(i,s);u!==null&&Hr(u,i,s),Mv(i,s)}}var bp=!0;function o$(i,s,u,h){var v=k.T;k.T=null;var S=H.p;try{H.p=2,Rv(i,s,u,h)}finally{H.p=S,k.T=v}}function s$(i,s,u,h){var v=k.T;k.T=null;var S=H.p;try{H.p=8,Rv(i,s,u,h)}finally{H.p=S,k.T=v}}function Rv(i,s,u,h){if(bp){var v=kv(h);if(v===null)bv(i,s,h,Sp,u),HA(i,h);else if(c$(v,i,s,u,h))h.stopPropagation();else if(HA(i,h),s&4&&-1<l$.indexOf(i)){for(;v!==null;){var S=Ds(v);if(S!==null)switch(S.tag){case 3:if(S=S.stateNode,S.current.memoizedState.isDehydrated){var E=Vn(S.pendingLanes);if(E!==0){var z=S;for(z.pendingLanes|=2,z.entangledLanes|=2;E;){var Z=1<<31-pr(E);z.entanglements[1]|=Z,E&=~Z}Jn(S),(Je&6)===0&&(np=Qt()+500,su(0))}}break;case 31:case 13:z=xo(S,2),z!==null&&Hr(z,S,2),ip(),Mv(S,2)}if(S=kv(h),S===null&&bv(i,s,h,Sp,u),S===v)break;v=S}v!==null&&h.stopPropagation()}else bv(i,s,h,null,u)}}function kv(i){return i=zg(i),Iv(i)}var Sp=null;function Iv(i){if(Sp=null,i=As(i),i!==null){var s=o(i);if(s===null)i=null;else{var u=s.tag;if(u===13){if(i=l(s),i!==null)return i;i=null}else if(u===31){if(i=c(s),i!==null)return i;i=null}else if(u===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;i=null}else s!==i&&(i=null)}}return Sp=i,null}function LA(i){switch(i){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(ws()){case co:return 2;case pf:return 8;case uo:case Nc:return 32;case ba:return 268435456;default:return 32}default:return 32}}var zv=!1,Pi=null,Mi=null,Ri=null,hu=new Map,mu=new Map,ki=[],l$="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 HA(i,s){switch(i){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":hu.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":mu.delete(s.pointerId)}}function gu(i,s,u,h,v,S){return i===null||i.nativeEvent!==S?(i={blockedOn:s,domEventName:u,eventSystemFlags:h,nativeEvent:S,targetContainers:[v]},s!==null&&(s=Ds(s),s!==null&&zA(s)),i):(i.eventSystemFlags|=h,s=i.targetContainers,v!==null&&s.indexOf(v)===-1&&s.push(v),i)}function c$(i,s,u,h,v){switch(s){case"focusin":return Pi=gu(Pi,i,s,u,h,v),!0;case"dragenter":return Mi=gu(Mi,i,s,u,h,v),!0;case"mouseover":return Ri=gu(Ri,i,s,u,h,v),!0;case"pointerover":var S=v.pointerId;return hu.set(S,gu(hu.get(S)||null,i,s,u,h,v)),!0;case"gotpointercapture":return S=v.pointerId,mu.set(S,gu(mu.get(S)||null,i,s,u,h,v)),!0}return!1}function BA(i){var s=As(i.target);if(s!==null){var u=o(s);if(u!==null){if(s=u.tag,s===13){if(s=l(u),s!==null){i.blockedOn=s,tj(i.priority,function(){$A(u)});return}}else if(s===31){if(s=c(u),s!==null){i.blockedOn=s,tj(i.priority,function(){$A(u)});return}}else if(s===3&&u.stateNode.current.memoizedState.isDehydrated){i.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}i.blockedOn=null}function wp(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;0<s.length;){var u=kv(i.nativeEvent);if(u===null){u=i.nativeEvent;var h=new u.constructor(u.type,u);Ig=h,u.target.dispatchEvent(h),Ig=null}else return s=Ds(u),s!==null&&zA(s),i.blockedOn=u,!1;s.shift()}return!0}function qA(i,s,u){wp(i)&&u.delete(s)}function u$(){zv=!1,Pi!==null&&wp(Pi)&&(Pi=null),Mi!==null&&wp(Mi)&&(Mi=null),Ri!==null&&wp(Ri)&&(Ri=null),hu.forEach(qA),mu.forEach(qA)}function Cp(i,s){i.blockedOn===s&&(i.blockedOn=null,zv||(zv=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,u$)))}var jp=null;function FA(i){jp!==i&&(jp=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){jp===i&&(jp=null);for(var s=0;s<i.length;s+=3){var u=i[s],h=i[s+1],v=i[s+2];if(typeof h!="function"){if(Iv(h||u)===null)continue;break}var S=Ds(u);S!==null&&(i.splice(s,3),s-=3,ky(S,{pending:!0,data:v,method:u.method,action:h},h,v))}}))}function cl(i){function s(Z){return Cp(Z,i)}Pi!==null&&Cp(Pi,i),Mi!==null&&Cp(Mi,i),Ri!==null&&Cp(Ri,i),hu.forEach(s),mu.forEach(s);for(var u=0;u<ki.length;u++){var h=ki[u];h.blockedOn===i&&(h.blockedOn=null)}for(;0<ki.length&&(u=ki[0],u.blockedOn===null);)BA(u),u.blockedOn===null&&ki.shift();if(u=(i.ownerDocument||i).$$reactFormReplay,u!=null)for(h=0;h<u.length;h+=3){var v=u[h],S=u[h+1],E=v[Rr]||null;if(typeof S=="function")E||FA(u);else if(E){var z=null;if(S&&S.hasAttribute("formAction")){if(v=S,E=S[Rr]||null)z=E.formAction;else if(Iv(v)!==null)continue}else z=E.action;typeof z=="function"?u[h+1]=z:(u.splice(h,3),h-=3),FA(u)}}}function UA(){function i(S){S.canIntercept&&S.info==="react-transition"&&S.intercept({handler:function(){return new Promise(function(E){return v=E})},focusReset:"manual",scroll:"manual"})}function s(){v!==null&&(v(),v=null),h||setTimeout(u,20)}function u(){if(!h&&!navigation.transition){var S=navigation.currentEntry;S&&S.url!=null&&navigation.navigate(S.url,{state:S.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,v=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(u,100),function(){h=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),v!==null&&(v(),v=null)}}}function $v(i){this._internalRoot=i}Op.prototype.render=$v.prototype.render=function(i){var s=this._internalRoot;if(s===null)throw Error(n(409));var u=s.current,h=Yr();kA(u,h,i,s,null,null)},Op.prototype.unmount=$v.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var s=i.containerInfo;kA(i.current,2,null,i,null,null),ip(),s[Ns]=null}};function Op(i){this._internalRoot=i}Op.prototype.unstable_scheduleHydration=function(i){if(i){var s=_g();i={blockedOn:null,target:i,priority:s};for(var u=0;u<ki.length&&s!==0&&s<ki[u].priority;u++);ki.splice(u,0,i),u===0&&BA(i)}};var GA=t.version;if(GA!=="19.2.1")throw Error(n(527,GA,"19.2.1"));H.findDOMNode=function(i){var s=i._reactInternals;if(s===void 0)throw typeof i.render=="function"?Error(n(188)):(i=Object.keys(i).join(","),Error(n(268,i)));return i=p(s),i=i!==null?g(i):null,i=i===null?null:i.stateNode,i};var d$={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.1"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Np=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Np.isDisabled&&Np.supportsFiber)try{fo=Np.inject(d$),Cr=Np}catch{}}return xu.createRoot=function(i,s){if(!a(i))throw Error(n(299));var u=!1,h="",v=XO,S=JO,E=eN;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(v=s.onUncaughtError),s.onCaughtError!==void 0&&(S=s.onCaughtError),s.onRecoverableError!==void 0&&(E=s.onRecoverableError)),s=MA(i,1,!1,null,null,u,h,null,v,S,E,UA),i[Ns]=s.current,xv(i),new $v(s)},xu.hydrateRoot=function(i,s,u){if(!a(i))throw Error(n(299));var h=!1,v="",S=XO,E=JO,z=eN,Z=null;return u!=null&&(u.unstable_strictMode===!0&&(h=!0),u.identifierPrefix!==void 0&&(v=u.identifierPrefix),u.onUncaughtError!==void 0&&(S=u.onUncaughtError),u.onCaughtError!==void 0&&(E=u.onCaughtError),u.onRecoverableError!==void 0&&(z=u.onRecoverableError),u.formState!==void 0&&(Z=u.formState)),s=MA(i,1,!0,s,u??null,h,v,Z,S,E,z,UA),s.context=RA(null),u=s.current,h=Yr(),h=Os(h),v=bi(h),v.callback=null,Si(u,v,h),u=h,s.current.lanes=u,Nt(s,u),Jn(s),i[Ns]=s.current,xv(i),new Op(s)},xu.version="19.2.1",xu}var y5;function NH(){if(y5)return Gv.exports;y5=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(),Gv.exports=OH(),Gv.exports}var AH=NH(),DH=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,r){this.keyToValue.set(t,r),this.valueToKey.set(r,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})(),cM=(function(){function e(t){this.generateIdentifier=t,this.kv=new DH}return e.prototype.register=function(t,r){this.kv.getByValue(t)||(r||(r=this.generateIdentifier(t)),this.kv.set(r,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})(),_H=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),EH=(function(e){_H(t,e);function t(){var r=e.call(this,function(n){return n.name})||this;return r.classToAllowedProps=new Map,r}return t.prototype.register=function(r,n){typeof n=="object"?(n.allowProps&&this.classToAllowedProps.set(r,n.allowProps),e.prototype.register.call(this,r,n.identifier)):e.prototype.register.call(this,r,n)},t.prototype.getAllowedProps=function(r){return this.classToAllowedProps.get(r)},t})(cM),TH=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return o};function PH(e){if("values"in Object)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}function MH(e,t){var r=PH(e);if("find"in r)return r.find(t);for(var n=r,a=0;a<n.length;a++){var o=n[a];if(t(o))return o}}function kl(e,t){Object.entries(e).forEach(function(r){var n=TH(r,2),a=n[0],o=n[1];return t(o,a)})}function rh(e,t){return e.indexOf(t)!==-1}function v5(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}}var RH=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return MH(this.transfomers,function(r){return r.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),kH=function(e){return Object.prototype.toString.call(e).slice(8,-1)},uM=function(e){return typeof e>"u"},IH=function(e){return e===null},Yu=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},C2=function(e){return Yu(e)&&Object.keys(e).length===0},Ki=function(e){return Array.isArray(e)},zH=function(e){return typeof e=="string"},$H=function(e){return typeof e=="number"&&!isNaN(e)},LH=function(e){return typeof e=="boolean"},HH=function(e){return e instanceof RegExp},Xu=function(e){return e instanceof Map},Ju=function(e){return e instanceof Set},dM=function(e){return kH(e)==="Symbol"},BH=function(e){return e instanceof Date&&!isNaN(e.valueOf())},qH=function(e){return e instanceof Error},x5=function(e){return typeof e=="number"&&isNaN(e)},FH=function(e){return LH(e)||IH(e)||uM(e)||$H(e)||zH(e)||dM(e)},UH=function(e){return typeof e=="bigint"},GH=function(e){return e===1/0||e===-1/0},WH=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},ZH=function(e){return e instanceof URL},fM=function(e){return e.replace(/\./g,"\\.")},Vv=function(e){return e.map(String).map(fM).join(".")},Lu=function(e){for(var t=[],r="",n=0;n<e.length;n++){var a=e.charAt(n),o=a==="\\"&&e.charAt(n+1)===".";if(o){r+=".",n++;continue}var l=a===".";if(l){t.push(r),r="";
49continue}r+=a}var c=r;return t.push(c),t},j2=function(){return j2=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},j2.apply(this,arguments)},O2=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return o},N2=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};function ea(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var pM=[ea(uM,"undefined",function(){return null},function(){}),ea(UH,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),ea(BH,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),ea(qH,"Error",function(e,t){var r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(n){r[n]=e[n]}),r},function(e,t){var r=new Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(function(n){r[n]=e[n]}),r}),ea(HH,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)}),ea(Ju,"set",function(e){return N2([],O2(e.values()))},function(e){return new Set(e)}),ea(Xu,"map",function(e){return N2([],O2(e.entries()))},function(e){return new Map(e)}),ea(function(e){return x5(e)||GH(e)},"number",function(e){return x5(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),ea(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),ea(ZH,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Am(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var hM=Am(function(e,t){if(dM(e)){var r=!!t.symbolRegistry.getIdentifier(e);return r}return!1},function(e,t){var r=t.symbolRegistry.getIdentifier(e);return["symbol",r]},function(e){return e.description},function(e,t,r){var n=r.symbolRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),KH=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),mM=Am(WH,function(e){return["typed-array",e.constructor.name]},function(e){return N2([],O2(e))},function(e,t){var r=KH[t[1]];if(!r)throw new Error("Trying to deserialize unknown typed array");return new r(e)});function gM(e,t){if(e?.constructor){var r=!!t.classRegistry.getIdentifier(e.constructor);return r}return!1}var yM=Am(gM,function(e,t){var r=t.classRegistry.getIdentifier(e.constructor);return["class",r]},function(e,t){var r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return j2({},e);var n={};return r.forEach(function(a){n[a]=e[a]}),n},function(e,t,r){var n=r.classRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),e)}),vM=Am(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var r=t.customTransformerRegistry.findApplicable(e);return["custom",r.name]},function(e,t){var r=t.customTransformerRegistry.findApplicable(e);return r.serialize(e)},function(e,t,r){var n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),VH=[yM,hM,vM,mM],b5=function(e,t){var r=v5(VH,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};var n=v5(pM,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation}},xM={};pM.forEach(function(e){xM[e.annotation]=e});var QH=function(e,t,r){if(Ki(t))switch(t[0]){case"symbol":return hM.untransform(e,t,r);case"class":return yM.untransform(e,t,r);case"custom":return vM.untransform(e,t,r);case"typed-array":return mM.untransform(e,t,r);default:throw new Error("Unknown transformation: "+t)}else{var n=xM[t];if(!n)throw new Error("Unknown transformation: "+t);return n.untransform(e,r)}},bl=function(e,t){for(var r=e.keys();t>0;)r.next(),t--;return r.next().value};function bM(e){if(rh(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(rh(e,"prototype"))throw new Error("prototype is not allowed as a property");if(rh(e,"constructor"))throw new Error("constructor is not allowed as a property")}var YH=function(e,t){bM(t);for(var r=0;r<t.length;r++){var n=t[r];
49if(Ju(e))e=bl(e,+n);else if(Xu(e)){var a=+n,o=+t[++r]==0?"key":"value",l=bl(e,a);switch(o){case"key":e=l;break;case"value":e=e.get(l);break}}else e=e[n]}return e},A2=function(e,t,r){if(bM(t),t.length===0)return r(e);for(var n=e,a=0;a<t.length-1;a++){var o=t[a];if(Ki(n)){var l=+o;n=n[l]}else if(Yu(n))n=n[o];else if(Ju(n)){var c=+o;n=bl(n,c)}else if(Xu(n)){var f=a===t.length-2;if(f)break;var c=+o,p=+t[++a]==0?"key":"value",g=bl(n,c);switch(p){case"key":n=g;break;case"value":n=n.get(g);break}}}var m=t[t.length-1];if(Ki(n)?n[+m]=r(n[+m]):Yu(n)&&(n[m]=r(n[m])),Ju(n)){var y=bl(n,+m),b=r(y);y!==b&&(n.delete(y),n.add(b))}if(Xu(n)){var c=+t[t.length-2],C=bl(n,c),p=+m==0?"key":"value";switch(p){case"key":{var x=r(C);n.set(x,n.get(C)),x!==C&&n.delete(C);break}case"value":{n.set(C,r(n.get(C)));break}}}return e},qa=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return o},qi=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};function D2(e,t,r){if(r===void 0&&(r=[]),!!e){if(!Ki(e)){kl(e,function(l,c){return D2(l,t,qi(qi([],qa(r)),qa(Lu(c))))});return}var n=qa(e,2),a=n[0],o=n[1];o&&kl(o,function(l,c){D2(l,t,qi(qi([],qa(r)),qa(Lu(c))))}),t(a,r)}}function XH(e,t,r){return D2(t,function(n,a){e=A2(e,a,function(o){return QH(o,n,r)})}),e}function JH(e,t){function r(l,c){var f=YH(e,Lu(c));l.map(Lu).forEach(function(p){e=A2(e,p,function(){return f})})}if(Ki(t)){var n=qa(t,2),a=n[0],o=n[1];a.forEach(function(l){e=A2(e,Lu(l),function(){return e})}),o&&kl(o,r)}else kl(t,r);return e}var eB=function(e,t){return Yu(e)||Ki(e)||Xu(e)||Ju(e)||gM(e,t)};function tB(e,t,r){var n=r.get(e);n?n.push(t):r.set(e,[t])}function rB(e,t){var r={},n=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(f){return f.map(String)}).sort(function(f,p){return f.length-p.length}));var o=qa(a),l=o[0],c=o.slice(1);l.length===0?n=c.map(Vv):r[Vv(l)]=c.map(Vv)}}),n?C2(r)?[n]:[n,r]:C2(r)?void 0:r}var SM=function(e,t,r,n,a,o,l){var c;a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l=new Map);var f=FH(e);if(!f){tB(e,a,t);var p=l.get(e);if(p)return n?{transformedValue:null}:p}if(!eB(e,r)){var g=b5(e,r),m=g?{transformedValue:g.value,annotations:[g.type]}:{transformedValue:e};return f||l.set(e,m),m}if(rh(o,e))return{transformedValue:null};var y=b5(e,r),b=(c=y?.value)!==null&&c!==void 0?c:e,C=Ki(b)?[]:{},x={};kl(b,function(j,A){var _=SM(j,t,r,n,qi(qi([],qa(a)),[A]),qi(qi([],qa(o)),[e]),l);C[A]=_.transformedValue,Ki(_.annotations)?x[A]=_.annotations:Yu(_.annotations)&&kl(_.annotations,function(M,N){x[fM(A)+"."+N]=M})});var w=C2(x)?{transformedValue:C,annotations:y?[y.type]:void 0}:{transformedValue:C,annotations:y?[y.type,x]:x};return f||l.set(e,w),w};function wM(e){return Object.prototype.toString.call(e).slice(8,-1)}function S5(e){return wM(e)==="Array"}function nB(e){if(wM(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function aB(e,t,r,n,a){const o={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=r),a&&o==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function _2(e,t={}){if(S5(e))return e.map(a=>_2(a,t));if(!nB(e))return e;const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols(e);return[...r,...n].reduce((a,o)=>{if(S5(t.props)&&!t.props.includes(o))return a;const l=e[o],c=_2(l,t);return aB(a,o,c,e,t.nonenumerable),a},{})}var Bo=function(){return Bo=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Bo.apply(this,arguments)},iB=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(l)throw l.error}}return o},oB=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},ii=(function(){function e(t){var r=t===void 0?{}:t,n=r.dedupe,a=n===void 0?!1:n;this.classRegistry=new EH,this.symbolRegistry=new cM(function(o){var l;return(l=o.description)!==null&&l!==void 0?l:""}),this.customTransformerRegistry=new RH,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var r=new Map,n=SM(t,r,this,this.dedupe),a={json:n.transformedValue};n.annotations&&(a.meta=Bo(Bo({},a.meta),{values:n.annotations}));var o=rB(r,this.dedupe);return o&&(a.meta=Bo(Bo({},a.meta),{referentialEqualities:o})),a},e.prototype.deserialize=function(t){var r=t.json,n=t.meta,a=_2(r);return n?.values&&(a=XH(a,n.values,this)),n?.referentialEqualities&&(a=JH(a,n.referentialEqualities)),a},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,r){this.classRegistry.register(t,r)},e.prototype.registerSymbol=function(t,r){this.symbolRegistry.register(t,r)},e.prototype.registerCustom=function(t,r){this.customTransformerRegistry.register(Bo({name:r},t))},e.prototype.allowErrorProps=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];(t=this.allowedErrorProps).push.apply(t,oB([],iB(r)))},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})();
vendor: 4,470 bytes, line 49
49ii.serialize;ii.deserialize;ii.stringify;ii.parse;ii.registerClass;ii.registerCustom;ii.registerSymbol;ii.allowErrorProps;var sB=(e,t,r,n,a,o,l,c)=>{let f=document.documentElement,p=["light","dark"];function g(b){(Array.isArray(e)?e:[e]).forEach(C=>{let x=C==="class",w=x&&o?a.map(j=>o[j]||j):a;x?(f.classList.remove(...w),f.classList.add(o&&o[b]?o[b]:b)):f.setAttribute(C,b)}),m(b)}function m(b){c&&p.includes(b)&&(f.style.colorScheme=b)}function y(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(n)g(n);else try{let b=localStorage.getItem(t)||r,C=l&&b==="system"?y():b;g(C)}catch{}},lB=T.createContext(void 0),cB={setTheme:e=>{},themes:[]},uB=()=>{var e;return(e=T.useContext(lB))!=null?e:cB};T.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:a,defaultTheme:o,value:l,themes:c,nonce:f,scriptProps:p})=>{let g=JSON.stringify([r,t,o,e,c,l,n,a]).slice(1,-1);return T.createElement("script",{...p,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${sB.toString()})(${g})`}})});var ys=lM();const CM=tt(ys);function dB(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}const fB=e=>{switch(e){case"success":return mB;case"info":return yB;case"warning":return gB;case"error":return vB;default:return null}},pB=Array(12).fill(0),hB=({visible:e,className:t})=>$.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},$.createElement("div",{className:"sonner-spinner"},pB.map((r,n)=>$.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),mB=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),gB=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},$.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"})),yB=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),vB=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),xB=$.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"},$.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),$.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bB=()=>{const[e,t]=$.useState(document.hidden);return $.useEffect(()=>{const r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e};let E2=1;class SB{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:n,...a}=t,o=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:E2++,l=this.toasts.find(f=>f.id===o),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),l?this.toasts=this.toasts.map(f=>f.id===o?(this.publish({...f,...t,id:o,title:n}
vendor: 3,172 bytes, line 49
49),{...f,...t,id:o,dismissible:c,title:n}):f):this.addToast({title:n,...a,dismissible:c,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let o=n!==void 0,l;const c=a.then(async p=>{if(l=["resolve",p],$.isValidElement(p))o=!1,this.create({id:n,type:"default",message:p});else if(CB(p)&&!p.ok){o=!1;const m=typeof r.error=="function"?await r.error(`HTTP error! status: ${p.status}`):r.error,y=typeof r.description=="function"?await r.description(`HTTP error! status: ${p.status}`):r.description,C=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:y,...C})}else if(p instanceof Error){o=!1;const m=typeof r.error=="function"?await r.error(p):r.error,y=typeof r.description=="function"?await r.description(p):r.description,C=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:y,...C})}else if(r.success!==void 0){o=!1;const m=typeof r.success=="function"?await r.success(p):r.success,y=typeof r.description=="function"?await r.description(p):r.description,C=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:n,type:"success",description:y,...C})}}).catch(async p=>{if(l=["reject",p],r.error!==void 0){o=!1;const g=typeof r.error=="function"?await r.error(p):r.error,m=typeof r.description=="function"?await r.description(p):r.description,b=typeof g=="object"&&!$.isValidElement(g)?g:{message:g};this.create({id:n,type:"error",description:m,...b})}}).finally(()=>{o&&(this.dismiss(n),n=void 0),r.finally==null||r.finally.call(r)}),f=()=>new Promise((p,g)=>c.then(()=>l[0]==="reject"?g(l[1]):p(l[1])).catch(g));return typeof n!="string"&&typeof n!="number"?{unwrap:f}:Object.assign(n,{unwrap:f})},this.custom=(t,r)=>{const n=r?.id||E2++;return this.create({jsx:t(n),id:n,...r}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Br=new SB,wB=(e,t)=>{const r=t?.id||E2++;return Br.addToast({title:e,...t,id:r}),r},CB=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",jB=wB,OB=()=>Br.toasts,NB=()=>Br.getActiveToasts(),Re=Object.assign(jB,{success:Br.success,info:Br.info,warning:Br.warning,error:Br.error,custom:Br.custom,message:Br.message,promise:Br.promise,dismiss:Br.dismiss,loading:Br.loading},{getHistory:OB,getToasts:NB});dB
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: 2,326 bytes, line 49
49Pp(e){return e.label!==void 0}const AB=3,DB="24px",_B="16px",w5=4e3,EB=356,TB=14,PB=45,MB=200;function ta(...e){return e.filter(Boolean).join(" ")}function RB(e){const[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}const kB=e=>{var t,r,n,a,o,l,c,f,p;const{invert:g,toast:m,unstyled:y,interacting:b,setHeights:C,visibleToasts:x,heights:w,index:j,toasts:A,expanded:_,removeToast:M,defaultRichColors:N,closeButton:D,style:O,cancelButtonStyle:P,actionButtonStyle:R,className:F="",descriptionClassName:I="",duration:L,position:G,gap:W,expandByDefault:q,classNames:k,icons:H,closeButtonAriaLabel:U="Close toast"}=e,[Y,ae]=$.useState(null),[B,K]=$.useState(null),[V,J]=$.useState(!1),[ce,he]=$.useState(!1),[de,ge]=$.useState(!1),[le,me]=$.useState(!1),[ye,ie]=$.useState(!1),[Be,Ee]=$.useState(0),[it,rt]=$.useState(0),mt=$.useRef(m.duration||L||w5),Er=$.useRef(null),It=$.useRef(null),Zn=j===0,Ur=j+1<=x,Ot=m.type,cn=m.dismissible!==!1,Qt=m.className||"",ws=m.descriptionClassName||"",co=$.useMemo(()=>w.findIndex(Ie=>Ie.toastId===m.id)||0,[w,m.id]),pf=$.useMemo(()=>{var Ie;return(Ie=m.closeButton)!=null?Ie:D},[m.closeButton,D]),uo=$.useMemo(()=>m.duration||L||w5,[m.duration,L]),Nc=$.useRef(0),ba=$.useRef(0),hf=$.useRef(0),di=$.useRef(null),[fo,Cr]=G.split("-"),Tn=$.useMemo(()=>w.reduce((Ie,wt,Yt)=>Yt>=co?Ie:Ie+wt.height,0),[w,co]),pr=bB(),Dg=m.invert||g,Ac=Ot==="loading";ba.current=$.useMemo(()=>co*W+Tn,[co,Tn]),$.useEffect(()=>{mt.current=uo},[uo]),$.useEffect(()=>{J(!0)},[]),$.useEffect(()=>{const Ie=It.current;if(Ie){const wt=Ie.getBoundingClientRect().height;return rt(wt),C(Yt=>[{toastId:m.id,height:wt,position:m.position},...Yt]),()=>C(Yt=>Yt.filter(hr=>hr.toastId!==m.id))}},[C,m.id]),$.useLayoutEffect(()=>{if(!V)return;const Ie=It.current,wt=Ie.style.height;Ie.style.height="auto";const Yt=Ie.getBoundingClientRect().height;Ie.style.height=wt,rt(Yt),C(hr=>hr.find(Nt=>Nt.toastId===m.id)?hr.map(Nt=>Nt.toastId===m.id?{...Nt,height:Yt}:Nt):[{toastId:m.id,height:Yt,position:m.position},...hr])},[V,m.title,m.description,C,m.id,m.jsx,m.action,m.cancel]);const Kn=$.useCallback(()=>{he(!0),Ee(ba.current),C(Ie=>Ie.filter(wt=>wt.toastId!==m.id)),setTimeout(()=>{M(m)},MB)},[m,M,C,ba]);$.useEffect(()=>{if(m.promise&&Ot==="loading"||m.duration===1/0||m.type==="loading")return;let Ie;return _||b||pr?(()=>
vendor: 6,600 bytes, line 49
49{if(hf.current<Nc.current){const hr=new Date().getTime()-Nc.current;mt.current=mt.current-hr}hf.current=new Date().getTime()})():(()=>{mt.current!==1/0&&(Nc.current=new Date().getTime(),Ie=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Kn()},mt.current))})(),()=>clearTimeout(Ie)},[_,b,m,Ot,pr,Kn]),$.useEffect(()=>{m.delete&&(Kn(),m.onDismiss==null||m.onDismiss.call(m,m))},[Kn,m.delete]);function Cs(){var Ie;if(H?.loading){var wt;return $.createElement("div",{className:ta(k?.loader,m==null||(wt=m.classNames)==null?void 0:wt.loader,"sonner-loader"),"data-visible":Ot==="loading"},H.loading)}return $.createElement(hB,{className:ta(k?.loader,m==null||(Ie=m.classNames)==null?void 0:Ie.loader),visible:Ot==="loading"})}const js=m.icon||H?.[Ot]||fB(Ot);var po,Vn;return $.createElement("li",{tabIndex:0,ref:It,className:ta(F,Qt,k?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,k?.default,k?.[Ot],m==null||(r=m.classNames)==null?void 0:r[Ot]),"data-sonner-toast":"","data-rich-colors":(po=m.richColors)!=null?po:N,"data-styled":!(m.jsx||m.unstyled||y),"data-mounted":V,"data-promise":!!m.promise,"data-swiped":ye,"data-removed":ce,"data-visible":Ur,"data-y-position":fo,"data-x-position":Cr,"data-index":j,"data-front":Zn,"data-swiping":de,"data-dismissible":cn,"data-type":Ot,"data-invert":Dg,"data-swipe-out":le,"data-swipe-direction":B,"data-expanded":!!(_||q&&V),"data-testid":m.testId,style:{"--index":j,"--toasts-before":j,"--z-index":A.length-j,"--offset":`${ce?Be:ba.current}px`,"--initial-height":q?"auto":`${it}px`,...O,...m.style},onDragEnd:()=>{ge(!1),ae(null),di.current=null},onPointerDown:Ie=>{Ie.button!==2&&(Ac||!cn||(Er.current=new Date,Ee(ba.current),Ie.target.setPointerCapture(Ie.pointerId),Ie.target.tagName!=="BUTTON"&&(ge(!0),di.current={x:Ie.clientX,y:Ie.clientY})))},onPointerUp:()=>{var Ie,wt,Yt;if(le||!cn)return;di.current=null;const hr=Number(((Ie=It.current)==null?void 0:Ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),fi=Number(((wt=It.current)==null?void 0:wt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Nt=new Date().getTime()-((Yt=Er.current)==null?void 0:Yt.getTime()),Tr=Y==="x"?hr:fi,ho=Math.abs(Tr)/Nt;if(Math.abs(Tr)>=PB||ho>.11){Ee(ba.current),m.onDismiss==null||m.onDismiss.call(m,m),K(Y==="x"?hr>0?"right":"left":fi>0?"down":"up"),Kn(),me(!0);return}else{var Pr,Mr;(Pr=It.current)==null||Pr.style.setProperty("--swipe-amount-x","0px"),(Mr=It.current)==null||Mr.style.setProperty("--swipe-amount-y","0px")}ie(!1),ge(!1),ae(null)},onPointerMove:Ie=>{var wt,Yt,hr;if(!di.current||!cn||((wt=window.getSelection())==null?void 0:wt.toString().length)>0)return;const Nt=Ie.clientY-di.current.y,Tr=Ie.clientX-di.current.x;var ho;const Pr=(ho=e.swipeDirections)!=null?ho:RB(G);!Y&&(Math.abs(Tr)>1||Math.abs(Nt)>1)&&ae(Math.abs(Tr)>Math.abs(Nt)?"x":"y");let Mr={x:0,y:0};const Os=Pn=>1/(1.5+Math.abs(Pn)/20);if(Y==="y"){if(Pr.includes("top")||Pr.includes("bottom"))if(Pr.includes("top")&&Nt<0||Pr.includes("bottom")&&Nt>0)Mr.y=Nt;else{const Pn=Nt*Os(Nt);Mr.y=Math.abs(Pn)<Math.abs(Nt)?Pn:Nt}}else if(Y==="x"&&(Pr.includes("left")||Pr.includes("right")))if(Pr.includes("left")&&Tr<0||Pr.includes("right")&&Tr>0)Mr.x=Tr;else{const Pn=Tr*Os(Tr);Mr.x=Math.abs(Pn)<Math.abs(Tr)?Pn:Tr}(Math.abs(Mr.x)>0||Math.abs(Mr.y)>0)&&ie(!0),(Yt=It.current)==null||Yt.style.setProperty("--swipe-amount-x",`${Mr.x}px`),(hr=It.current)==null||hr.style.setProperty("--swipe-amount-y",`${Mr.y}px`)}},pf&&!m.jsx&&Ot!=="loading"?$.createElement("button",{"aria-label":U,"data-disabled":Ac,"data-close-button":!0,onClick:Ac||!cn?()=>{}:()=>{Kn(),m.onDismiss==null||m.onDismiss.call(m,m)},className:ta(k?.closeButton,m==null||(n=m.classNames)==null?void 0:n.closeButton)},(Vn=H?.close)!=null?Vn:xB):null,(Ot||m.icon||m.promise)&&m.icon!==null&&(H?.[Ot]!==null||m.icon)?$.createElement("div",{"data-icon":"",className:ta(k?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Cs():null,m.type!=="loading"?js:null):null,$.createElement("div",{"data-content":"",className:ta(k?.content,m==null||(o=m.classNames)==null?void 0:o.content)},$.createElement("div",{"data-title":"",className:ta(k?.title,m==null||(l=m.classNames)==null?void 0:l.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?$.createElement("div",{"data-description":"",className:ta(I,ws,k?.description,m==null||(c=m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),$.isValidElement(m.cancel)?m.cancel:m.cancel&&Pp(m.cancel)?$.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||P,onClick:Ie=>{Pp(m.cancel)&&cn&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Ie),Kn())},className:ta(k?.cancelButton,m==null||(f=m.classNames)==null?void 0:f.cancelButton)},m.cancel.label):null,$.isValidElement(m.action)?m.action:m.action&&Pp(m.action)?$.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||R,onClick:Ie=>{Pp(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Ie),!Ie.defaultPrevented&&Kn())},className:ta(k?.actionButton,m==null||(p=m.classNames)==null?void 0:p.actionButton)},m.action.label):null)};function C5(){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 IB(e,t){const r={};return[e,t].forEach((n,a)=>{const o=a===1,l=o?"--mobile-offset":"--offset",c=o?_B:DB;function f(p){["top","right","bottom","left"].forEach(g=>{r[`${l}-${g}`]=typeof p=="number"?`${p}px`:p})}typeof n=="number"||typeof n=="string"?f(n):typeof n=="object"?["top","right","bottom","left"].forEach(p=>{n[p]===void 0?r[`${l}-${p}`]=c:r[`${l}-${p}`]=typeof n[p]=="number"?`${n[p]}px`:n[p]}):f(c)}),r}const zB=$.forwardRef(function(t,r){const{id:n,invert:a,position:o="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:f,className:p,offset:g,mobileOffset:m,theme:y="light",richColors:b,duration:C,style:x,visibleToasts:w=AB,toastOptions:j,dir:A=C5(),gap:_=TB,icons:M,containerAriaLabel:N="Notifications"}=t,[D,O]=$.useState([]),P=$.useMemo(()=>n?D.filter(V=>V.toasterId===n):D.filter(V=>!V.toasterId),[D,n]),R=$.useMemo(()=>Array.from(new Set([o].concat(P.filter(V=>V.position).map(V=>V.position)))),[P,o]),[F,I]=$.useState([]),[L,G]=$.useState(!1),[W,q]=$.useState(!1),[k,H]=$.useState(y!=="system"?y:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
49k":"light"),U=$.useRef(null),Y=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),ae=$.useRef(null),B=$.useRef(!1),K=$.useCallback(V=>{O(J=>{var ce;return(ce=J.find(he=>he.id===V.id))!=null&&ce.delete||Br.dismiss(V.id),J.filter(({id:he})=>he!==V.id)})},[]);return $.useEffect(()=>Br.subscribe(V=>{if(V.dismiss){requestAnimationFrame(()=>{O(J=>J.map(ce=>ce.id===V.id?{...ce,delete:!0}:ce))});return}setTimeout(()=>{CM.flushSync(()=>{O(J=>{const ce=J.findIndex(he=>he.id===V.id);return ce!==-1?[...J.slice(0,ce),{...J[ce],...V},...J.slice(ce+1)]:[V,...J]})})})}),[D]),$.useEffect(()=>{if(y!=="system"){H(y);return}if(y==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:J})=>{H(J?"dark":"light")})}catch{V.addListener(({matches:ce})=>{try{H(ce?"dark":"light")}catch(he){console.error(he)}})}},[y]),$.useEffect(()=>{D.length<=1&&G(!1)},[D]),$.useEffect(()=>{const V=J=>{var ce;if(l.every(ge=>J[ge]||J.code===ge)){var de;G(!0),(de=U.current)==null||de.focus()}J.code==="Escape"&&(document.activeElement===U.current||(ce=U.current)!=null&&ce.contains(document.activeElement))&&G(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[l]),$.useEffect(()=>{if(U.current)return()=>{ae.current&&(ae.current.focus({preventScroll:!0}),ae.current=null,B.current=!1)}},[U.current]),$.createElement("section",{ref:r,"aria-label":`${N} ${Y}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((V,J)=>{var ce;const[he,de]=V.split("-");return P.length?$.createElement("ol",{key:V,dir:A==="auto"?C5():A,tabIndex:-1,ref:U,className:p,"data-sonner-toaster":!0,"data-sonner-theme":k,"data-y-position":he,"data-x-position":de,style:{"--front-toast-height":`${((ce=F[0])==null?void 0:ce.height)||0}px`,"--width":`${EB}px`,"--gap":`${_}px`,...x,...IB(g,m)},onBlur:ge=>{B.current&&!ge.currentTarget.contains(ge.relatedTarget)&&(B.current=!1,ae.current&&(ae.current.focus({preventScroll:!0}),ae.current=null))},onFocus:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||B.current||(B.current=!0,ae.current=ge.relatedTarget)},onMouseEnter:()=>G(!0),onMouseMove:()=>G(!0),onMouseLeave:()=>{W||G(!1)},onDragEnd:()=>G(!1),onPointerDown:ge=>{ge.target instanceof HTMLElement&&ge.target.dataset.dismissible==="false"||q(!0)},onPointerUp:()=>q(!1)},P.filter(ge=>!ge.position&&J===0||ge.position===V).map((ge,le)=>{var me,ye;return $.createElement(kB,{key:ge.id,icons:M,index:le,toast:ge,defaultRichColors:b,duration:(me=j?.duration)!=null?me:C,className:j?.className,descriptionClassName:j?.descriptionClassName,invert:a,visibleToasts:w,closeButton:(ye
vendor: 11,411 bytes, line 49
49=j?.closeButton)!=null?ye:f,interacting:W,position:V,style:j?.style,unstyled:j?.unstyled,classNames:j?.classNames,cancelButtonStyle:j?.cancelButtonStyle,actionButtonStyle:j?.actionButtonStyle,closeButtonAriaLabel:j?.closeButtonAriaLabel,removeToast:K,toasts:P.filter(ie=>ie.position==ge.position),heights:F.filter(ie=>ie.position==ge.position),setHeights:I,expandByDefault:c,gap:_,expanded:L,swipeDirections:t.swipeDirections})})):null}))}),$B=({...e})=>{const{theme:t="system"}=uB();return d.jsx(zB,{"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 vt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),r===!1||!a.defaultPrevented)return t?.(a)}}function j5(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function jM(...e){return t=>{let r=!1;const n=e.map(a=>{const o=j5(a,t);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let a=0;a<n.length;a++){const o=n[a];typeof o=="function"?o():j5(e[a],null)}}}}function Ft(...e){return T.useCallback(jM(...e),e)}function Dm(e,t=[]){let r=[];function n(o,l){const c=T.createContext(l),f=r.length;r=[...r,l];const p=m=>{const{scope:y,children:b,...C}=m,x=y?.[e]?.[f]||c,w=T.useMemo(()=>C,Object.values(C));return d.jsx(x.Provider,{value:w,children:b})};p.displayName=o+"Provider";function g(m,y){const b=y?.[e]?.[f]||c,C=T.useContext(b);if(C)return C;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${o}\``)}return[p,g]}const a=()=>{const o=r.map(l=>T.createContext(l));return function(c){const f=c?.[e]||o;return T.useMemo(()=>({[`__scope${e}`]:{...c,[e]:f}}),[c,f])}};return a.scopeName=e,[n,LB(a,...t)]}function LB(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const l=n.reduce((c,{useScope:f,scopeName:p})=>{const m=f(o)[`__scope${p}`];return{...c,...m}},{});return T.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}function ed(e){const t=HB(e),r=T.forwardRef((n,a)=>{const{children:o,...l}=n,c=T.Children.toArray(o),f=c.find(qB);if(f){const p=f.props.children,g=c.map(m=>m===f?T.Children.count(p)>1?T.Children.only(null):T.isValidElement(p)?p.props.children:null:m);return d.jsx(t,{...l,ref:a,children:T.isValidElement(p)?T.cloneElement(p,void 0,g):null})}return d.jsx(t,{...l,ref:a,children:o})});return r.displayName=`${e}.Slot`,r}var OM=ed("Slot");function HB(e){const t=T.forwardRef((r,n)=>{const{children:a,...o}=r;if(T.isValidElement(a)){const l=UB(a),c=FB(o,a.props);return a.type!==T.Fragment&&(c.ref=n?jM(n,l):l),T.cloneElement(a,c)}return T.Children.count(a)>1?T.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var NM=Symbol("radix.slottable");function BB(e){const t=({children:r})=>d.jsx(d.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=NM,t}function qB(e){return T.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===NM}function FB(e,t){const r={...t};for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...c)=>{const f=o(...c);return a(...c),f}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function UB(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var GB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],At=GB.reduce((e,t)=>{const r=ed(`Primitive.${t}`),n=T.forwardRef((a,o)=>{const{asChild:l,...c}=a,f=l?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(f,{...c,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function WB(e,t){e&&ys.flushSync(()=>e.dispatchEvent(t))}function ns(e){const t=T.useRef(e);return T.useEffect(()=>{t.current=e}),T.useMemo(()=>(...r)=>t.current?.(...r),[])}function ZB(e,t=globalThis?.document){const r=ns(e);T.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var KB="DismissableLayer",T2="dismissableLayer.update",VB="dismissableLayer.pointerDownOutside",QB="dismissableLayer.focusOutside",O5,AM=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_w=T.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...f}=e,p=T.useContext(AM),[g,m]=T.useState(null),y=g?.ownerDocument??globalThis?.document,[,b]=T.useState({}),C=Ft(t,O=>m(O)),x=Array.from(p.layers),[w]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),j=x.indexOf(w),A=g?x.indexOf(g):-1,_=p.layersWithOutsidePointerEventsDisabled.size>0,M=A>=j,N=JB(O=>{const P=O.target,R=[...p.branches].some(F=>F.contains(P));!M||R||(a?.(O),l?.(O),O.defaultPrevented||c?.())},y),D=eq(O=>{const P=O.target;[...p.branches].some(F=>F.contains(P))||(o?.(O),l?.(O),O.defaultPrevented||c?.())},y);return ZB(O=>{A===p.layers.size-1&&(n?.(O),!O.defaultPrevented&&c&&(O.preventDefault(),c()))},y),T.useEffect(()=>{if(g)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(O5=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),N5(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=O5)}},[g,y,r,p]),T.useEffect(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),N5())},[g,p]),T.useEffect(()=>{const O=()=>b({});return document.addEventListener(T2,O),()=>document.removeEventListener(T2,O)},[]),d.jsx(At.div,{...f,ref:C,style:{pointerEvents:_?M?"auto":"none":void 0,...e.style},onFocusCapture:vt(e.onFocusCapture,D.onFocusCapture),onBlurCapture:vt(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:vt(e.onPointerDownCapture,N.onPointerDownCapture)})});_w.displayName=KB;var YB="DismissableLayerBranch",XB=T.forwardRef((e,t)=>{const r=T.useContext(AM),n=T.useRef(null),a=Ft(t,n);return T.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),d.jsx(At.div,{...e,ref:a})});XB.displayName=YB;function JB(e,t=globalThis?.document){const r=ns(e),n=T.useRef(!1),a=T.useRef(()=>{});return T.useEffect(()=>{const o=c=>{if(c.target&&!n.current){let f=function(){DM(VB,r,p,{discrete:!0})};const p={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=f,t.addEventListener("click",a.current,{once:!0})):f()}else t.removeEventListener("click",a.current);n.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function eq(e,t=globalThis?.document){const r=ns(e),n=T.useRef(!1);return T.useEffect(()=>{const a=o=>{o.target&&!n.current&&DM(QB,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function N5(){const e=new CustomEvent(T2);document.dispatchEvent(e)}function DM(e,t,r,{discrete:n}){const a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?WB(a,o):a.dispatchEvent(o)}var Sr=globalThis?.document?T.useLayoutEffect:()=>{},tq=Sm[" useId ".trim().toString()]||(()=>{}),rq=0;function _m(e){const[t,r]=T.useState(tq());return Sr(()=>{r(n=>n??String(rq++))},[e]),t?`radix-${t}`:""}const nq=["top","right","bottom","left"],Vi=Math.min,tn=Math.max,uh=Math.round,Mp=Math.floor,la=e=>({x:e,y:e}),aq={left:"right",right:"left",bottom:"top",top:"bottom"},iq={start:"end",end:"start"};function P2(e,t,r){return tn(e,Vi(t,r))}function Xa(e,t){return typeof e=="function"?e(t):e}function Ja(e){return e.split("-")[0]}function uc(e){return e.split("-")[1]}function Ew(e){return e==="x"?"y":"x"}function Tw(e){return e==="y"?"height":"width"}const oq=new Set(["top","bottom"]);function oa(e){return oq.has(Ja(e))?"y":"x"}function Pw(e){return Ew(oa(e))}function sq(e,t,r){r===void 0&&(r=!1);const n=uc(e),a=Pw(e),o=Tw(a);let l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=dh(l)),[l,dh(l)]}function lq(e){const t=dh(e);return[M2(e),t,M2(t)]}function M2(e){return e.replace(/start|end/g,t=>iq[t])}const A5=["left","right"],D5=["right","left"],cq=["top","bottom"],uq=["bottom","top"];function dq(e,t,r){switch(e){case"top":case"bottom":return r?t?D5:A5:t?A5:D5;case"left":case"right":return t?cq:uq;default:return[]}}function fq(e,t,r,n){const a=uc(e);let o=dq(Ja(e),r==="start",n);return a&&(o=o.map(l=>l+"-"+a),t&&(o=o.concat(o.map(M2)))),o}function dh(e){return e.replace(/left|right|bottom|top/g,t=>aq[t])}function pq(e){return{top:0,right:0,bottom:0,left:0,...e}}function _M(e){return typeof e!="number"?pq(e):{top:e,right:e,bottom:e,left:e}}function fh(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function _5(e,t,r){let{reference:n,floating:a}=e;const o=oa(t),l=Pw(t),c=Tw(l),f=Ja(t),p=o==="y",g=n.x+n.width/2-a.width/2,m=n.y+n.height/2-a.height/2,y=n[c]/2-a[c]/2;let b;switch(f){case"top":b={x:g,y:n.y-a.height};break;case"bottom":b={x:g,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-a.width,y:m};break;default:b={x:n.x,y:n.y}}switch(uc(t)){case"start":b[l]-=y*(r&&p?-1:1);break;case"end":b[l]+=y*(r&&p?-1:1);break}return b}const hq=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:o=[],platform:l}=r,c=o.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:g,y:m}=_5(p,n,f),y=n,b={},C=0;for(let x=0;x<c.length;x++){const{name:w,fn:j}=c[x],{x:A,y:_,data:M,reset:N}=await j({x:g,y:m,initialPlacement:n,placement:y,strategy:a,middlewareData:b,rects:p,platform:l,elements:{reference:e,floating:t}});g=A??g,m=_??m,b={...b,[w]:{...b[w],...M}},N&&C<=50&&(C++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(p=N.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:a}):N.rects),{x:g,y:m}=_5(p,y,f)),x=-1)}return{x:g,y:m,placement:y,strategy:a,middlewareData:b}};async function td(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:o,rects:l,elements:c,strategy:f}=e,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=Xa(t,e),C=_M(b),w=c[y?m==="floating"?"reference":"floating":m],j=fh(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(w)))==null||r?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:p,rootBoundary:g,strategy:f})),A=m==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),M=await(o.isElement==null?void 0:o.isElement(_))?await(
vendor: 15,409 bytes, line 49
49o.getScale==null?void 0:o.getScale(_))||{x:1,y:1}:{x:1,y:1},N=fh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:A,offsetParent:_,strategy:f}):A);return{top:(j.top-N.top+C.top)/M.y,bottom:(N.bottom-j.bottom+C.bottom)/M.y,left:(j.left-N.left+C.left)/M.x,right:(N.right-j.right+C.right)/M.x}}const mq=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:o,platform:l,elements:c,middlewareData:f}=t,{element:p,padding:g=0}=Xa(e,t)||{};if(p==null)return{};const m=_M(g),y={x:r,y:n},b=Pw(a),C=Tw(b),x=await l.getDimensions(p),w=b==="y",j=w?"top":"left",A=w?"bottom":"right",_=w?"clientHeight":"clientWidth",M=o.reference[C]+o.reference[b]-y[b]-o.floating[C],N=y[b]-o.reference[b],D=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p));let O=D?D[_]:0;(!O||!await(l.isElement==null?void 0:l.isElement(D)))&&(O=c.floating[_]||o.floating[C]);const P=M/2-N/2,R=O/2-x[C]/2-1,F=Vi(m[j],R),I=Vi(m[A],R),L=F,G=O-x[C]-I,W=O/2-x[C]/2+P,q=P2(L,W,G),k=!f.arrow&&uc(a)!=null&&W!==q&&o.reference[C]/2-(W<L?F:I)-x[C]/2<0,H=k?W<L?W-L:W-G:0;return{[b]:y[b]+H,data:{[b]:q,centerOffset:W-q-H,...k&&{alignmentOffset:H}},reset:k}}}),gq=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:o,rects:l,initialPlacement:c,platform:f,elements:p}=t,{mainAxis:g=!0,crossAxis:m=!0,fallbackPlacements:y,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...w}=Xa(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const j=Ja(a),A=oa(c),_=Ja(c)===c,M=await(f.isRTL==null?void 0:f.isRTL(p.floating)),N=y||(_||!x?[dh(c)]:lq(c)),D=C!=="none";!y&&D&&N.push(...fq(c,x,C,M));const O=[c,...N],P=await td(t,w),R=[];let F=((n=o.flip)==null?void 0:n.overflows)||[];if(g&&R.push(P[j]),m){const W=sq(a,l,M);R.push(P[W[0]],P[W[1]])}if(F=[...F,{placement:a,overflows:R}],!R.every(W=>W<=0)){var I,L;const W=(((I=o.flip)==null?void 0:I.index)||0)+1,q=O[W];if(q&&(!(m==="alignment"?A!==oa(q):!1)||F.every(U=>oa(U.placement)===A?U.overflows[0]>0:!0)))return{data:{index:W,overflows:F},reset:{placement:q}};let k=(L=F.filter(H=>H.overflows[0]<=0).sort((H,U)=>H.overflows[1]-U.overflows[1])[0])==null?void 0:L.placement;if(!k)switch(b){case"bestFit":{var G;const H=(G=F.filter(U=>{if(D){const Y=oa(U.placement);return Y===A||Y==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(Y=>Y>0).reduce((Y,ae)=>Y+ae,0)]).sort((U,Y)=>U[1]-Y[1])[0])==null?void 0:G[0];H&&(k=H);break}case"initialPlacement":k=c;break}if(a!==k)return{reset:{placement:k}}}return{}}}};function E5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T5(e){return nq.some(t=>e[t]>=0)}const yq=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=Xa(e,t);switch(n){case"referenceHidden":{const o=await td(t,{...a,elementContext:"reference"}),l=E5(o,r.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:T5(l)}}}case"escaped":{const o=await td(t,{...a,altBoundary:!0}),l=E5(o,r.floating);return{data:{escapedOffsets:l,escaped:T5(l)}}}default:return{}}}}},EM=new Set(["left","top"]);async function vq(e,t){const{placement:r,platform:n,elements:a}=e,o=await(n.isRTL==null?void 0:n.isRTL(a.floating)),l=Ja(r),c=uc(r),f=oa(r)==="y",p=EM.has(l)?-1:1,g=o&&f?-1:1,m=Xa(t,e);let{mainAxis:y,crossAxis:b,alignmentAxis:C}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof C=="number"&&(b=c==="end"?C*-1:C),f?{x:b*g,y:y*p}:{x:y*p,y:b*g}}const xq=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:o,placement:l,middlewareData:c}=t,f=await vq(t,e);return l===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+f.x,y:o+f.y,data:{...f,placement:l}}}}},bq=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:c={fn:w=>{let{x:j,y:A}=w;return{x:j,y:A}}},...f}=Xa(e,t),p={x:r,y:n},g=await td(t,f),m=oa(Ja(a)),y=Ew(m);let b=p[y],C=p[m];if(o){const w=y==="y"?"top":"left",j=y==="y"?"bottom":"right",A=b+g[w],_=b-g[j];b=P2(A,b,_)}if(l){const w=m==="y"?"top":"left",j=m==="y"?"bottom":"right",A=C+g[w],_=C-g[j];C=P2(A,C,_)}const x=c.fn({...t,[y]:b,[m]:C});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[y]:o,[m]:l}}}}}},Sq=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:o,middlewareData:l}=t,{offset:c=0,mainAxis:f=!0,crossAxis:p=!0}=Xa(e,t),g={x:r,y:n},m=oa(a),y=Ew(m);let b=g[y],C=g[m];const x=Xa(c,t),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(f){const _=y==="y"?"height":"width",M=o.reference[y]-o.floating[_]+w.mainAxis,N=o.reference[y]+o.reference[_]-w.mainAxis;b<M?b=M:b>N&&(b=N)}if(p){var j,A;const _=y==="y"?"width":"height",M=EM.has(Ja(a)),N=o.reference[m]-o.floating[_]+(M&&((j=l.offset)==null?void 0:j[m])||0)+(M?0:w.crossAxis),D=o.reference[m]+o.reference[_]+(M?0:((A=l.offset)==null?void 0:A[m])||0)-(M?w.crossAxis:0);C<N?C=N:C>D&&(C=D)}return{[y]:b,[m]:C}}}},wq=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:o,platform:l,elements:c}=t,{apply:f=()=>{},...p}=Xa(e,t),g=await td(t,p),m=Ja(a),y=uc(a),b=oa(a)==="y",{width:C,height:x}=o.floating;let w,j;m==="top"||m==="bottom"?(w=m,j=y===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(j=m,w=y==="end"?"top":"bottom");const A=x-g.top-g.bottom,_=C-g.left-g.right,M=Vi(x-g[w],A),N=Vi(C-g[j],_),D=!t.middlewareData.shift;let O=M,P=N;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(P=_),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(O=A),D&&!y){const F=tn(g.left,0),I=tn(g.right,0),L=tn(g.top,0),G=tn(g.bottom,0);b?P=C-2*(F!==0||I!==0?F+I:tn(g.left,g.right)):O=x-2*(L!==0||G!==0?L+G:tn(g.top,g.bottom))}await f({...t,availableWidth:P,availableHeight:O});const R=await l.getDimensions(c.floating);return C!==R.width||x!==R.height?{reset:{rects:!0}}:{}}}};function Em(){return typeof window<"u"}function dc(e){return TM(e)?(e.nodeName||"").toLowerCase():"#document"}function an(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ya(e){var t;return(t=(TM(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function TM(e){return Em()?e instanceof Node||e instanceof an(e).Node:!1}function qn(e){return Em()?e instanceof Element||e instanceof an(e).Element:!1}function pa(e){return Em()?e instanceof HTMLElement||e instanceof an(e).HTMLElement:!1}function P5(e){return!Em()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof an(e).ShadowRoot}const Cq=new Set(["inline","contents"]);function Qd(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Fn(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Cq.has(a)}const jq=new Set(["table","td","th"]);function Oq(e){return jq.has(dc(e))}const Nq=[":popover-open",":modal"];function Tm(e){return Nq.some(t=>{try{return e.matches(t)}catch{return!1}})}const Aq=["transform","translate","scale","rotate","perspective"],Dq=["transform","translate","scale","rotate","perspective","filter"],_q=["paint","layout","strict","content"];function Mw(e){const t=Rw(),r=qn(e)?Fn(e):e;return Aq.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Dq.some(n=>(r.willChange||"").includes(n))||_q.some(n=>(r.contain||"").includes(n))}function Eq(e){let t=Qi(e);for(;pa(t)&&!Il(t);){if(Mw(t))return t;if(Tm(t))return null;t=Qi(t)}return null}function Rw(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Tq=new Set(["html","body","#document"]);function Il(e){return Tq.has(dc(e))}function Fn(e){return an(e).getComputedStyle(e)}function Pm(e){return qn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Qi(e){if(dc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||P5(e)&&e.host||ya(e);return P5(t)?t.host:t}function PM(e){const t=Qi(e);return Il(t)?e.ownerDocument?e.ownerDocument.body:e.body:pa(t)&&Qd(t)?t:PM(t)}function rd(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=PM(e),o=a===((n=e.ownerDocument)==null?void 0:n.body),l=an(a);if(o){const c=R2(l);return t.concat(l,l.visualViewport||[],Qd(a)?a:[],c&&r?rd(c):[])}return t.concat(a,rd(a,[],r))}function R2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function MM(e){const t=Fn(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=pa(e),o=a?e.offsetWidth:r,l=a?e.offsetHeight:n,c=uh(r)!==o||uh(n)!==l;return c&&(r=o,n=l),{width:r,height:n,$:c}}function kw(e){return qn(e)?e:e.contextElement}function Dl(e){const t=kw(e);if(!pa(t))return la(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:o}=MM(t);let l=(o?uh(r.width):r.width)/n,c=(o?uh(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Pq=la(0);function RM(e){const t=an(e);return!Rw()||!t.visualViewport?Pq:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mq(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==an(e)?!1:t}function as(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),o=kw(e);let l=la(1);t&&(n?qn(n)&&(l=Dl(n)):l=Dl(e));const c=Mq(o,r,n)?RM(o):la(0);let f=(a.left+c.x)/l.x,p=(a.top+c.y)/l.y,g=a.width/l.x,m=a.height/l.y;if(o){const y=an(o),b=n&&qn(n)?an(n):n;let C=y,x=R2(C);for(;x&&n&&b!==C;){const w=Dl(x),j=x.getBoundingClientRect(),A=Fn(x),_=j.left+(x.clientLeft+parseFloat(A.paddingLeft))*w.x,M=j.top+(x.clientTop+parseFloat(A.paddingTop))*w.y;f*=w.x,p*=w.y,g*=w.x,m*=w.y,f+=_,p+=M,C=an(x),x=R2(C)}}return fh({width:g,height:m,x:f,y:p})}function Mm(e,t){const r=Pm(e).scrollLeft;return t?t.left+r:as(ya(e)).left+r}function kM(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Mm(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Rq(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const o=a==="fixed",l=ya(n),c=t?Tm(t.floating):!1;if(n===l||c&&o)return r;let f={scrollLeft:0,scrollTop:0},p=la(1);const g=la(0),m=pa(n);if((m||!m&&!o)&&((dc(n)!=="body"||Qd(l))&&(f=Pm(n)),pa(n))){const b=as(n);p=Dl(n),g.x=b.x+n.clientLeft,g.y=b.y+n.clientTop}const y=l&&!m&&!o?kM(l,f):la(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-f.scrollLeft*p.x+g.x+y.x,y:r.y*p.y-f.scrollTop*p.y+g.y+y.y}}function kq(e){return Array.from(e.getClientRects())}function Iq(e){const t=ya(e),r=Pm(e),n=e.ownerDocument.body,a=tn(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=tn(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+Mm(e);const c=-r.scrollTop;return Fn(n).direction==="rtl"&&(l+=tn(t.clientWidth,n.clientWidth)-a),{width:a,height:o,x:l,y:c}}const M5=25;function zq(e,t){const r=an(e),n=ya(e),a=r.visualViewport;let o=n.clientWidth,l=n.clientHeight,c=0,f=0;if(a){o=a.width,l=a.height;const g=Rw();(!g||g&&t==="fixed")&&(c=a.offsetLeft,f=a.offsetTop)}const p=Mm(n);if(p<=0){const g=n.ownerDocument,m=g.body,y=getComputedStyle(m),b=g.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,C=Math.abs(n.clientWidth-m.clientWidth-b);C<=M5&&(o-=C)}else p<=M5&&(o+=p);return{width:o,height:l,x:c,y:f}}const $q=new Set(["absolute","fixed"]);function Lq(e,t){const r=as(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,o=pa(e)?Dl(e):la(1),l=e.clientWidth*o.x,c=e.clientHeight*o.y,f=a*o.x,p=n*o.y;return{width:l,height:c,x:f,y:p}}function R5(e,t,r){let n;if(t==="viewport")n=zq(e,r);else if(t==="document")n=Iq(ya(e));else if(qn(t))n=Lq(t,r);else{const a=RM(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return fh(n)}function IM(e,t){const r=Qi(e);return r===t||!qn(r)||Il(r)?!1:Fn(r).position==="fixed"||IM(r,t)}function Hq(e,t){const r=t.get(e);if(r)return r;let n=rd(e,[],!1).filter(c=>qn(c)&&dc(c)!=="body"),a=null;const o=Fn(e).position==="fixed";let l=o?Qi(e):e;for(;qn(l)&&!Il(l);){const c=Fn(l),f=Mw(l);!f&&c.position==="fixed"&&(a=null),(o?!f&&!a:!f&&c.position==="static"&&!!a&&$q.has(a.position)||Qd(l)&&!f&&IM(e,l))?n=n.filter(g=>g!==l):a=c,l=Qi(l)}return t.set(e,n),n}function Bq(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const l=[...r==="clippingAncestors"?Tm(t)?[]:Hq(t,this._c):[].concat(r),n],c=l[0],f=l.reduce((p,g)=>{const m=R5(t,g,a);return p.top=tn(m.top,p.top),p.right=Vi(m.right,p.right),p.bottom=Vi(m.bottom,p.bottom),p.left=tn(m.left,p.left),p},R5(t,c,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function qq(e){const{width:t,height:r}=MM(e);return{width:t,height:r}}function Fq(e,t,r){const n=pa(t),a=ya(t),o=r==="fixed",l=as(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const f=la(0);function p(){f.x=Mm(a)}if(n||!n&&!o)if((dc(t)!=="body"||Qd(a))&&(c=Pm(t)),n){const b=as(t,!0,o,t);f.x=b.x+t.clientLeft,f.y=b.y+t.clientTop}else a&&p();o&&!n&&a&&p();const g=a&&!n&&!o?kM(a,c):la(0),m=l.left+c.scrollLeft-f.x-g.x,y=l.top+c.scrollTop-f.y-g.y;return{x:m,y,width:l.width,height:l.height}}function Qv(e){return Fn(e).position==="static"}function k5(e,t){if(!pa(e)||Fn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ya(e)===r&&(r=r.ownerDocument.body),r}function zM(e,t){const r=an(e);if(Tm(e))return r;if(!pa(e)){let a=Qi(e);for(;a&&!Il(a);){if(qn(a)&&!Qv(a))return a;a=Qi(a)}return r}let n=k5(e,t);for(;n&&Oq(n)&&Qv(n);)n=k5(n,t);return n&&Il(n)&&Qv(n)&&!Mw(n)?r:n||Eq(e)||r}const Uq=async function(e){const t=this.getOffsetParent||zM,r=this.getDimensions,n=await r(e.floating);return{reference:Fq(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Gq(e){return Fn(e).direction==="rtl"}const Wq={convertOffsetParentRelativeRectToViewportRelativeRect:Rq,getDocumentElement:ya,getClippingRect:Bq,getOffsetParent:zM,getElementRects:Uq,getClientRects:kq,getDimensions:qq,getScale:Dl,isElement:qn,isRTL:Gq};function $M(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Zq(e,t){let r=null,n;const a=ya(e);function o(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function l(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),o();const p=e.getBoundingClientRect(),{left:g,top:m,width:y,height:b}=p;if(c||t(),!y||!b)return;const C=Mp(m),x=Mp(a.clientWidth-(g+y)),w=Mp(a.clientHeight-(m+b)),j=Mp(g),_={rootMargin:-C+"px "+-x+"px "+-w+"px "+-j+"px",threshold:tn(0,Vi(1,f))||1};let M=!0;function N(D){const O=D[0].intersectionRatio;if(O!==f){if(!M)return l();O?l(!1,O):n=setTimeout(()=>{l(!1,1e-7)},1e3)}O===1&&!$M(p,e.getBoundingClientRect())&&l(),M=!1}try{r=new IntersectionObserver(N,{..._,root:a.ownerDocument})}catch{r=new IntersectionObserver(N,_)}r.observe(e)}return l(!0),o}function Kq(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,p=kw(e),g=a||o?[...p?rd(p):[],...rd(t)]:[];g.forEach(j=>{a&&j.addEventListener("scroll",r,{passive:!0}),o&&j.addEventListener("resize",r)});const m=p&&c?Zq(p,r):null;let y=-1,b=null;
vendor: 7,139 bytes, line 49
49l&&(b=new ResizeObserver(j=>{let[A]=j;A&&A.target===p&&b&&(b.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var _;(_=b)==null||_.observe(t)})),r()}),p&&!f&&b.observe(p),b.observe(t));let C,x=f?as(e):null;f&&w();function w(){const j=as(e);x&&!$M(x,j)&&r(),x=j,C=requestAnimationFrame(w)}return r(),()=>{var j;g.forEach(A=>{a&&A.removeEventListener("scroll",r),o&&A.removeEventListener("resize",r)}),m?.(),(j=b)==null||j.disconnect(),b=null,f&&cancelAnimationFrame(C)}}const Vq=xq,Qq=bq,Yq=gq,Xq=wq,Jq=yq,I5=mq,eF=Sq,tF=(e,t,r)=>{const n=new Map,a={platform:Wq,...r},o={...a.platform,_c:n};return hq(e,t,{...a,platform:o})};var rF=typeof document<"u",nF=function(){},nh=rF?T.useLayoutEffect:nF;function ph(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 r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!ph(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const o=a[n];if(!(o==="_owner"&&e.$$typeof)&&!ph(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function LM(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function z5(e,t){const r=LM(e);return Math.round(t*r)/r}function Yv(e){const t=T.useRef(e);return nh(()=>{t.current=e}),t}function aF(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:o,floating:l}={},transform:c=!0,whileElementsMounted:f,open:p}=e,[g,m]=T.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[y,b]=T.useState(n);ph(y,n)||b(n);const[C,x]=T.useState(null),[w,j]=T.useState(null),A=T.useCallback(U=>{U!==D.current&&(D.current=U,x(U))},[]),_=T.useCallback(U=>{U!==O.current&&(O.current=U,j(U))},[]),M=o||C,N=l||w,D=T.useRef(null),O=T.useRef(null),P=T.useRef(g),R=f!=null,F=Yv(f),I=Yv(a),L=Yv(p),G=T.useCallback(()=>{if(!D.current||!O.current)return;const U={placement:t,strategy:r,middleware:y};I.current&&(U.platform=I.current),tF(D.current,O.current,U).then(Y=>{const ae={...Y,isPositioned:L.current!==!1};W.current&&!ph(P.current,ae)&&(P.current=ae,ys.flushSync(()=>{m(ae)}))})},[y,t,r,I,L]);nh(()=>{p===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,m(U=>({...U,isPositioned:!1})))},[p]);const W=T.useRef(!1);nh(()=>(W.current=!0,()=>{W.current=!1}),[]),nh(()=>{if(M&&(D.current=M),N&&(O.current=N),M&&N){if(F.current)return F.current(M,N,G);G()}},[M,N,G,F,R]);const q=T.useMemo(()=>({reference:D,floating:O,setReference:A,setFloating:_}),[A,_]),k=T.useMemo(()=>({reference:M,floating:N}),[M,N]),H=T.useMemo(()=>{const U={position:r,left:0,top:0};if(!k.floating)return U;const Y=z5(k.floating,g.x),ae=z5(k.floating,g.y);return c?{...U,transform:"translate("+Y+"px, "+ae+"px)",...LM(k.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Y,top:ae}},[r,c,k.floating,g.x,g.y]);return T.useMemo(()=>({...g,update:G,refs:q,elements:k,floatingStyles:H}),[g,G,q,k,H])}const iF=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?I5({element:n.current,padding:a}).fn(r):{}:n?I5({element:n,padding:a}).fn(r):{}}}},oF=(e,t)=>({...Vq(e),options:[e,t]}),sF=(e,t)=>({...Qq(e),options:[e,t]}),lF=(e,t)=>({...eF(e),options:[e,t]}),cF=(e,t)=>({...Yq(e),options:[e,t]}),uF=(e,t)=>({...Xq(e),options:[e,t]}),dF=(e,t)=>({...Jq(e),options:[e,t]}),fF=(e,t)=>({...iF(e),options:[e,t]});var pF="Arrow",HM=T.forwardRef((e,t)=>{const{children:r,width:n=10,height:a=5,...o}=e;return d.jsx(At.svg,{...o,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});HM.displayName=pF;var hF=HM;function mF(e){const[t,r]=T.useState(void 0);return Sr(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let l,c;if("borderBoxSize"in o){const f=o.borderBoxSize,p=Array.isArray(f)?f[0]:f;l=p.inlineSize,c=p.blockSize}else l=e.offsetWidth,c=e.offsetHeight;r({width:l,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Iw="Popper",[BM,Rm]=Dm(Iw),[gF,qM]=BM(Iw),FM=e=>{const{__scopePopper:t,children:r}=e,[n,a]=T.useState(null);return d.jsx(gF,{scope:t,anchor:n,onAnchorChange:a,children:r})};FM.displayName=Iw;var UM="PopperAnchor",GM=T.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,o=qM(UM,r),l=T.useRef(null),c=Ft(t,l),f=T.useRef(null);return T.useEffect(()=>{const p=f.current;f.current=n?.current||l.current,p!==f.current&&o.onAnchorChange(f.current)}),n?null:d.jsx(At.div,{...a,ref:c})});GM.displayName=UM;var zw="PopperContent",[yF,vF]=BM(zw),WM=T.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:a=0,align:o="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:p=[],collisionPadding:g=0,sticky:m="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:C,...x}=e,w=qM(zw,r),[j,A]=T.useState(null),_=Ft(t,de=>A(de)),[M,N]=T.useState(null),D=mF(M),O=D?.width??0,P=D?.height??0,R=n+(o!=="center"?"-"+o:""),F=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},I=Array.isArray(p)?p:[p],L=I.length>0,G={padding:F,boundary:I.filter(bF),altBoundary:L},{refs:W,floatingStyles:q,placement:k,isPositioned:H,middlewareData:U}=aF({strategy:"fixed",placement:R,whileElementsMounted:(...de)=>Kq(...de,{animationFrame:b==="always"}),elements:{reference:w.anchor},middleware:[oF({mainAxis:a+P,alignmentAxis:l}),f&&sF({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?lF():void 0,...G}),f&&cF({...G}),uF({...G,apply:({elements:de,rects:ge,availableWidth:le,availableHeight:me})=>{const{width:ye,height:ie}=ge.reference,Be=de.floating.style;Be.setProperty("--radix-popper-available-width",`${le}px`),Be.setProperty("--radix-popper-available-height",`${me}px`),Be.setProperty("--radix-popper-anchor-width",`${ye}px`),Be.setProperty("--radix-popper-anchor-height",`${ie}px`)}}),M&&fF({element:M,padding:c}),SF({arrowWidth:O,arrowHeight:P}),y&&dF({strategy:"referenceHidden",...G})]}),[Y,ae]=VM(k),B=ns(C);Sr(()=>{H&&B?.()},[H,B]);const K=U.arrow?.x,V=U.arrow?.y,J=U.arrow?.centerOffset!==0,[ce,he]=T.useState();return Sr(()=>{j&&he(window.getComputedStyle(j).zIndex)},[j]),d.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:H?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[U.transformOrigin?.x,U.transformOrigin?.y].join(" "),...U.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(yF,{scope:r,placedSide:Y,onArrowChange:N,arrowX:K,arrowY:V,shouldHideArrow:J,children:d.jsx(At.div,{"data-side":Y,"data-align":ae,...x,ref:_,style:{...x.style,animation:H?void 0:"none"}})})})});WM.displayName=zw;var ZM="PopperArrow",xF={top:"bottom",right:"left",bottom:"top",left:"r
49ight"},KM=T.forwardRef(function(t,r){const{__scopePopper:n,...a}=t,o=vF(ZM,n),l=xF[o.placedSide];return d.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:d.jsx(hF,{...a,ref:r,style:{...a.style,display:"block"}})})});KM.displayName=ZM;function bF(e){return e!==null}var SF=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:a}=t,l=a.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[p,g]=VM(r),m={start:"0%",center:"50%",end:"100%"}[g],y=(a.arrow?.x??0)+c/2,b=(a.arrow?.y??0)+f/2;let C="",x="";return p==="bottom"?(C=l?m:`${y}px`,x=`${-f}px`):p==="top"?(C=l?m:`${y}px`,x=`${n.floating.height+f}px`):p==="right"?(C=`${-f}px`,x=l?m:`${b}px`):p==="left"&&(C=`${n.floating.width+f}px`,x=l?m:`${b}px`),{data:{x:C,y:x}}}});function VM(e){const[t,r="center"]=e.split("-");return[t,r]}var QM=FM,YM=GM,XM=WM,JM=KM,wF="Portal",$w=T.forwardRef((e,t)=>{const{container:r,...n}=e,[a,o]=T.useState(!1);Sr(()=>o(!0),[]);const l=r||a&&globalThis?.document?.body;return l?CM.createPortal(d.jsx(At.div,{...n,ref:t}),l):null});$w.displayName=wF;function CF(e,t){return T.useReducer((r,n)=>t[r][n]??r,e)}var Lw=e=>{const{present:t,children:r}=e,n=jF(t),a=typeof r=="function"?r({present:n.isPresent}):T.Children.only(r),o=Ft(n.ref,OF(a));return typeof r=="function"||n.isPresent?T.cloneElement(a,{ref:o}):null};Lw.displayName="Presence";function jF(e){const[t,r]=T.useState(),n=T.useRef(null),a=T.useRef(e),o=T.useRef("none"),l=e?"mounted":"unmounted",[c,f]=CF(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const p=Rp(n.current);o.current=c==="mounted"?p:"none"},[c]),Sr(()=>{const p=n.current,g=a.current;if(g!==e){const y=o.current,b=Rp(p);e?f("MOUNT"):b==="none"||p?.display==="none"?f("UNMOUNT"):f(g&&y!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,f]),Sr(()=>{if(t){let p;const g=t.ownerDocument.defaultView??window,m=b=>{const x=Rp(n.current).includes(CSS.escape(b.animationName));if(b.target===t&&x&&(f("ANIMATION_END"),!a.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",p=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},y=b=>{b.target===t&&(o.current=Rp(n.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{g.clearTimeout(p),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:T.useCallback(p=>{n.current=p?getComputedStyle(p):null,r(p)},[])}}function Rp(e){return e?.animationName||"none"}function OF(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var NF=Sm[" useInsertionEffect ".trim().toString()]||Sr;function k2({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[a,o,l]=AF({defaultProp:t,onChange:r}),c=e!==void 0,f=c?e:a;{const g=T.useRef(e!==void 0);T.useEffect(()=>{const m=g.current;m!==c&&console.warn(`${n} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=c},[c,n])}const p=T.useCallback(g=>{if(c){const m=DF(g)?g(e):g;m!==e&&l.current?.(m)}else o(g)},[c,e,o,l]);return[f,p]}function AF({defaultProp:e,onChange:t}){const[r,n]=T.useState(e),a=T.useRef(r),o=T.useRef(t);return NF(()=>{o.current=t},[t]),T.useEffect(()=>{a.current!==r&&(o.current?.(r),a.current=r)},[r,a]),[r,n,o]}function DF(e){return typeof e=="function"}var e6=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"}),_F="VisuallyHidden",t6=T.forwardRef((e,t)=>
vendor: 4,614 bytes, line 49
49d.jsx(At.span,{...e,ref:t,style:{...e6,...e.style}}));t6.displayName=_F;var EF=t6,[km]=Dm("Tooltip",[Rm]),Im=Rm(),r6="TooltipProvider",TF=700,I2="tooltip.open",[PF,Hw]=km(r6),n6=e=>{const{__scopeTooltip:t,delayDuration:r=TF,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,l=T.useRef(!0),c=T.useRef(!1),f=T.useRef(0);return T.useEffect(()=>{const p=f.current;return()=>window.clearTimeout(p)},[]),d.jsx(PF,{scope:t,isOpenDelayedRef:l,delayDuration:r,onOpen:T.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:T.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:T.useCallback(p=>{c.current=p},[]),disableHoverableContent:a,children:o})};n6.displayName=r6;var nd="Tooltip",[MF,Yd]=km(nd),a6=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,f=Hw(nd,e.__scopeTooltip),p=Im(t),[g,m]=T.useState(null),y=_m(),b=T.useRef(0),C=l??f.disableHoverableContent,x=c??f.delayDuration,w=T.useRef(!1),[j,A]=k2({prop:n,defaultProp:a??!1,onChange:O=>{O?(f.onOpen(),document.dispatchEvent(new CustomEvent(I2))):f.onClose(),o?.(O)},caller:nd}),_=T.useMemo(()=>j?w.current?"delayed-open":"instant-open":"closed",[j]),M=T.useCallback(()=>{window.clearTimeout(b.current),b.current=0,w.current=!1,A(!0)},[A]),N=T.useCallback(()=>{window.clearTimeout(b.current),b.current=0,A(!1)},[A]),D=T.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{w.current=!0,A(!0),b.current=0},x)},[x,A]);return T.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),d.jsx(QM,{...p,children:d.jsx(MF,{scope:t,contentId:y,open:j,stateAttribute:_,trigger:g,onTriggerChange:m,onTriggerEnter:T.useCallback(()=>{f.isOpenDelayedRef.current?D():M()},[f.isOpenDelayedRef,D,M]),onTriggerLeave:T.useCallback(()=>{C?N():(window.clearTimeout(b.current),b.current=0)},[N,C]),onOpen:M,onClose:N,disableHoverableContent:C,children:r})})};a6.displayName=nd;var z2="TooltipTrigger",i6=T.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Yd(z2,r),o=Hw(z2,r),l=Im(r),c=T.useRef(null),f=Ft(t,c,a.onTriggerChange),p=T.useRef(!1),g=T.useRef(!1),m=T.useCallback(()=>p.current=!1,[]);return T.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),d.jsx(YM,{asChild:!0,...l,children:d.jsx(At.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:f,onPointerMove:vt(e.onPointerMove,y=>{y.pointerType!=="touch"&&!g.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),g.current=!0)}),onPointerLeave:vt(e.onPointerLeave,()=>{a.onTriggerLeave(),g.current=!1}),onPointerDown:vt(e.onPointerDown,()=>{a.open&&a.onClose(),p.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:vt(e.onFocus,()=>{p.current||a.onOpen()}),onBlur:vt(e.onBlur,a.onClose),onClick:vt(e.onClick,a.onClose)})})});i6.displayName=z2;var Bw="TooltipPortal",[RF,kF]=km(Bw,{forceMount:void 0}),o6=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=Yd(Bw,t);return d.jsx(RF,{scope:t,forceMount:r,children:d.jsx(Lw,{present:r||o.open,children:d.jsx($w,{asChild:!0,container:a,children:n})})})};o6.displayName=Bw;var zl="TooltipContent",s6=T.forwardRef((e,t)=>{const r=kF(zl,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...o}=e,l=Yd(zl,e.__scopeTooltip);return d.jsx(Lw,{present:n||l.open,children:l.disableHoverableContent?d.jsx(l6,{side:a,...o,ref:t}):d.jsx(IF,{side:a,...o,ref:t})})}),IF=T.forwardRef((e,t)=>{const r=Yd(zl,e.__scopeTooltip),n=Hw(zl,e.__scopeTooltip),a=T.useRef(null),o=Ft(t,a),[l,c]=T.useState(null),{trigger:f,onClose:p}=r,g=a.current,{onPointerInTransitChange:m}=n,y=T.useCallback(()=>{c(null),m(!1)},[m]),b=T.useCallback((C,x)=>{const w=C.currentTarget,j={x:C.clientX,y:C.clientY},A=HF(j,w.getBoundingClientRect()),_=BF(j,A),M=qF(x.getBoundingClientRect()),N=UF([..._,...M]);c(N),m(!0)},[m]);return T.useEffect(()=>()=>y(),[y]),T.useEffect(()=>{if(f&&g){const C=w=>b(w,g),x=w=>b(w,f);return f.addEventListener("pointerleave",C),g.addEventListener("pointerleave",x),()=>{f.removeEventListener("pointerleave",C),g.removeEventListener("pointerleave",x)}}},[f,g,b,y]),T.useEffect(()=>{if(l){const C=x=>{const w=x.target,j={x:x.clientX,y:x.clientY},A=f?.contains(w)||g?.contains(w),_=!FF(j,l);A?y():_&&(y(),p())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[f,g,l,p,y]),d.jsx(l6,{...e,ref:o})}),[zF,$F]=km(nd,{isInside:!1}),LF=BB("TooltipContent"),l6=T.forwardRef((e,t)=>
vendor: 4,095 bytes, line 49
49{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,f=Yd(zl,r),p=Im(r),{onClose:g}=f;return T.useEffect(()=>(document.addEventListener(I2,g),()=>document.removeEventListener(I2,g)),[g]),T.useEffect(()=>{if(f.trigger){const m=y=>{y.target?.contains(f.trigger)&&g()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[f.trigger,g]),d.jsx(_w,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:g,children:d.jsxs(XM,{"data-state":f.stateAttribute,...p,...c,ref:t,style:{...c.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:[d.jsx(LF,{children:n}),d.jsx(zF,{scope:r,isInside:!0,children:d.jsx(EF,{id:f.contentId,role:"tooltip",children:a||n})})]})})});s6.displayName=zl;var c6="TooltipArrow",u6=T.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=Im(r);return $F(c6,r).isInside?null:d.jsx(JM,{...a,...n,ref:t})});u6.displayName=c6;function HF(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function BF(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function qF(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function FF(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const c=t[o],f=t[l],p=c.x,g=c.y,m=f.x,y=f.y;g>n!=y>n&&r<(m-p)*(n-g)/(y-g)+p&&(a=!a)}return a}function UF(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),GF(t)}function GF(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],l=r[r.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var WF=n6,ZF=a6,KF=i6,VF=o6,QF=s6,YF=u6;function d6(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=d6(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ke(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=d6(e))&&(n&&(n+=" "),n+=t);return n}const qw="-",XF=e=>{const t=eU(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{const c=l.split(qw);return c[0]===""&&c.length!==1&&c.shift(),f6(c,t)||JF(l)},getConflictingClassGroupIds:(l,c)=>{const f=r[l]||[];return c&&n[l]?[...f,...n[l]]:f}}},f6=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?f6(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const o=e.join(qw);return t.validators.find(({validator:l})=>l(o))?.classGroupId},$5=/^\[(.+)\]$/,JF=e=>{if($5.test(e)){const t=$5.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},eU=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const a in r)$2(r[a],n,a,t);return n},$2=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:L5(t,a);o.classGroupId=r;return}
vendor: 3,719 bytes, line 49
49if(typeof a=="function"){if(tU(a)){$2(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,l])=>{$2(l,L5(t,o),r,n)})})},L5=(e,t)=>{let r=e;return t.split(qw).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},tU=e=>e.isThemeGetter,rU=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(o,l)=>{r.set(o,l),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let l=r.get(o);if(l!==void 0)return l;if((l=n.get(o))!==void 0)return a(o,l),l},set(o,l){r.has(o)?r.set(o,l):a(o,l)}}},L2="!",H2=":",nU=H2.length,aU=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const o=[];let l=0,c=0,f=0,p;for(let C=0;C<a.length;C++){let x=a[C];if(l===0&&c===0){if(x===H2){o.push(a.slice(f,C)),f=C+nU;continue}if(x==="/"){p=C;continue}}x==="["?l++:x==="]"?l--:x==="("?c++:x===")"&&c--}const g=o.length===0?a:a.substring(f),m=iU(g),y=m!==g,b=p&&p>f?p-f:void 0;return{modifiers:o,hasImportantModifier:y,baseClassName:m,maybePostfixModifierPosition:b}};if(t){const a=t+H2,o=n;n=l=>l.startsWith(a)?o(l.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(r){const a=n;n=o=>r({className:o,parseClassName:a})}return n},iU=e=>e.endsWith(L2)?e.substring(0,e.length-1):e.startsWith(L2)?e.substring(1):e,oU=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const a=[];let o=[];return n.forEach(l=>{l[0]==="["||t[l]?(a.push(...o.sort(),l),o=[]):o.push(l)}),a.push(...o.sort()),a}},sU=e=>({cache:rU(e.cacheSize),parseClassName:aU(e),sortModifiers:oU(e),...XF(e)}),lU=/\s+/,cU=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:o}=t,l=[],c=e.trim().split(lU);let f="";for(let p=c.length-1;p>=0;p-=1){const g=c[p],{isExternal:m,modifiers:y,hasImportantModifier:b,baseClassName:C,maybePostfixModifierPosition:x}=r(g);if(m){f=g+(f.length>0?" "+f:f);continue}let w=!!x,j=n(w?C.substring(0,x):C);if(!j){if(!w){f=g+(f.length>0?" "+f:f);continue}if(j=n(C),!j){f=g+(f.length>0?" "+f:f);continue}w=!1}const A=o(y).join(":"),_=b?A+L2:A,M=_+j;if(l.includes(M))continue;l.push(M);const N=a(j,w);for(let D=0;D<N.length;++D){const O=N[D];l.push(_+O)}f=g+(f.length>0?" "+f:f)}return f};function uU(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=p6(t))&&(n&&(n+=" "),n+=r);return n}const p6=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=p6(e[n]))&&(r&&(r+=" "),r+=t);return r};function dU(e,...t){let r,n,a,o=l;function l(f){const p=t.reduce((g,m)=>m(g),e());return r=sU(p),n=r.cache.get,a=r.cache.set,o=c,c(f)}function c(f){const p=n(f);if(p)return p;const g=cU(f,r);return a(f,g),g}return function(){return o(uU.apply(null,arguments))}}const Gt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},h6=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,m6=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fU=/^\d+\/\d+$/,pU=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hU=/\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$/,mU=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,gU=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yU=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dl=e=>fU.test(e),qe=e=>!!e&&!Number.isNaN(Number(e)),zi=e=>!!e&&Number.isInteger(Number(e)),Xv=e=>e.endsWith("%")&&qe(e.slice(0,-1)),La=e=>pU.test(e),vU=()=>!0,xU=e=>hU.test(e)&&!mU.test(e),g6=()=>!1,bU=e=>gU.test(e),SU=e=>yU.test(e),wU=e=>!je(e)&&!Oe(e),CU=e=>fc(e,x6,g6),je=e=>h6.test(e),Po=e=>fc(e,b6,xU),Jv=e=>fc(e,DU,qe),H5=e=>
vendor: 4,114 bytes, line 49
49fc(e,y6,g6),jU=e=>fc(e,v6,SU),kp=e=>fc(e,S6,bU),Oe=e=>m6.test(e),bu=e=>pc(e,b6),OU=e=>pc(e,_U),B5=e=>pc(e,y6),NU=e=>pc(e,x6),AU=e=>pc(e,v6),Ip=e=>pc(e,S6,!0),fc=(e,t,r)=>{const n=h6.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},pc=(e,t,r=!1)=>{const n=m6.exec(e);return n?n[1]?t(n[1]):r:!1},y6=e=>e==="position"||e==="percentage",v6=e=>e==="image"||e==="url",x6=e=>e==="length"||e==="size"||e==="bg-size",b6=e=>e==="length",DU=e=>e==="number",_U=e=>e==="family-name",S6=e=>e==="shadow",EU=()=>{const e=Gt("color"),t=Gt("font"),r=Gt("text"),n=Gt("font-weight"),a=Gt("tracking"),o=Gt("leading"),l=Gt("breakpoint"),c=Gt("container"),f=Gt("spacing"),p=Gt("radius"),g=Gt("shadow"),m=Gt("inset-shadow"),y=Gt("text-shadow"),b=Gt("drop-shadow"),C=Gt("blur"),x=Gt("perspective"),w=Gt("aspect"),j=Gt("ease"),A=Gt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...M(),Oe,je],D=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],P=()=>[Oe,je,f],R=()=>[dl,"full","auto",...P()],F=()=>[zi,"none","subgrid",Oe,je],I=()=>["auto",{span:["full",zi,Oe,je]},zi,Oe,je],L=()=>[zi,"auto",Oe,je],G=()=>["auto","min","max","fr",Oe,je],W=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],k=()=>["auto",...P()],H=()=>[dl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],U=()=>[e,Oe,je],Y=()=>[...M(),B5,H5,{position:[Oe,je]}],ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],B=()=>["auto","cover","contain",NU,CU,{size:[Oe,je]}],K=()=>[Xv,bu,Po],V=()=>["","none","full",p,Oe,je],J=()=>["",qe,bu,Po],ce=()=>["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"],de=()=>[qe,Xv,B5,H5],ge=()=>["","none",C,Oe,je],le=()=>["none",qe,Oe,je],me=()=>["none",qe,Oe,je],ye=()=>[qe,Oe,je],ie=()=>[dl,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[La],breakpoint:[La],color:[vU],container:[La],"drop-shadow":[La],ease:["in","out","in-out"],font:[wU],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[La],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[La],shadow:[La],spacing:["px",qe],text:[La],"text-shadow":[La],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dl,je,Oe,w]}],container:["container"],columns:[{columns:[qe,je,Oe,c]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:N()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}
vendor: 11,585 bytes, line 49
49],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[zi,"auto",Oe,je]}],basis:[{basis:[dl,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[qe,dl,"auto","initial","none",je]}],grow:[{grow:["",qe,Oe,je]}],shrink:[{shrink:["",qe,Oe,je]}],order:[{order:[zi,"first","last","none",Oe,je]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:I()}],"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":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],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:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[c,"screen",...H()]}],"min-w":[{"min-w":[c,"screen","none",...H()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",r,bu,Po]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Oe,Jv]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Xv,je]}],"font-family":[{font:[OU,je,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:[a,Oe,je]}],"line-clamp":[{"line-clamp":[qe,"none",Oe,Jv]}],leading:[{leading:[o,...P()]}],"list-image":[{"list-image":["none",Oe,je]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Oe,je]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:U()}],"text-color":[{text:U()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[qe,"from-font","auto",Oe,Po]}],"text-decoration-color":[{decoration:U()}],"underline-offset":[{"underline-offset":[qe,"auto",Oe,je]}],"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",Oe,je]}],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",Oe,je]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Y()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zi,Oe,je],radial:["",Oe,je],conic:[zi,Oe,je]},AU,jU]}],"bg-color":[{bg:U()}],"gradient-from-pos":[{from:K()}],"gradient-via-pos":[{via:K()}],"gradient-to-pos":[{to:K()}],"gradient-from":[{from:U()}],"gradient-via":[{via:U()}],"gradient-to":[{to:U()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:U()}],"border-color-x":[{"border-x":U()}],"border-color-y":[{"border-y":U()}],"border-color-s":[{"border-s":U()}],"border-color-e":[{"border-e":U()}],"border-color-t":[{"border-t":U()}],"border-color-r":[{"border-r":U()}],"border-color-b":[{"border-b":U()}],"border-color-l":[{"border-l":U()}],"divide-color":[{divide:U()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[qe,Oe,je]}],"outline-w":[{outline:["",qe,bu,Po]}],"outline-color":[{outline:U()}],shadow:[{shadow:["","none",g,Ip,kp]}],"shadow-color":[{shadow:U()}],"inset-shadow":[{"inset-shadow":["none",m,Ip,kp]}],"inset-shadow-color":[{"inset-shadow":U()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:U()}],"ring-offset-w":[{"ring-offset":[qe,Po]}],"ring-offset-color":[{"ring-offset":U()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":U()}],"text-shadow":[{"text-shadow":["none",y,Ip,kp]}],"text-shadow-color":[{"text-shadow":U()}],opacity:[{opacity:[qe,Oe,je]}],"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":[qe]}],"mask-image-linear-from-pos":[{"mask-linear-from":de()}],"mask-image-linear-to-pos":[{"mask-linear-to":de()}],"mask-image-linear-from-color":[{"mask-linear-from":U()}],"mask-image-linear-to-color":[{"mask-linear-to":U()}],"mask-image-t-from-pos":[{"mask-t-from":de()}],"mask-image-t-to-pos":[{"mask-t-to":de()}],"mask-image-t-from-color":[{"mask-t-from":U()}],"mask-image-t-to-color":[{"mask-t-to":U()}],"mask-image-r-from-pos":[{"mask-r-from":de()}],"mask-image-r-to-pos":[{"mask-r-to":de()}],"mask-image-r-from-color":[{"mask-r-from":U()}],"mask-image-r-to-color":[{"mask-r-to":U()}],"mask-image-b-from-pos":[{"mask-b-from":de()}],"mask-image-b-to-pos":[{"mask-b-to":de()}],"mask-image-b-from-color":[{"mask-b-from":U()}],"mask-image-b-to-color":[{"mask-b-to":U()}],"mask-image-l-from-pos":[{"mask-l-from":de()}],"mask-image-l-to-pos":[{"mask-l-to":de()}],"mask-image-l-from-color":[{"mask-l-from":U()}],"mask-image-l-to-color":[{"mask-l-to":U()}],"mask-image-x-from-pos":[{"mask-x-from":de()}],"mask-image-x-to-pos":[{"mask-x-to":de()}],"mask-image-x-from-color":[{"mask-x-from":U()}],"mask-image-x-to-color":[{"mask-x-to":U()}],"mask-image-y-from-pos":[{"mask-y-from":de()}],"mask-image-y-to-pos":[{"mask-y-to":de()}],"mask-image-y-from-color":[{"mask-y-from":U()}],"mask-image-y-to-color":[{"mask-y-to":U()}],"mask-image-radial":[{"mask-radial":[Oe,je]}],"mask-image-radial-from-pos":[{"mask-radial-from":de()}],"mask-image-radial-to-pos":[{"mask-radial-to":de()}],"mask-image-radial-from-color":[{"mask-radial-from":U()}],"mask-image-radial-to-color":[{"mask-radial-to":U()}],"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":M()}],"mask-image-conic-pos":[{"mask-conic":[qe]}],"mask-image-conic-from-pos":[{"mask-conic-from":de()}],"mask-image-conic-to-pos":[{"mask-conic-to":de()}],"mask-image-conic-from-color":[{"mask-conic-from":U()}],"mask-image-conic-to-color":[{"mask-conic-to":U()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Y()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Oe,je]}],filter:[{filter:["","none",Oe,je]}],blur:[{blur:ge()}],brightness:[{brightness:[qe,Oe,je]}],contrast:[{contrast:[qe,Oe,je]}],"drop-shadow":[{"drop-shadow":["","none",b,Ip,kp]}],"drop-shadow-color":[{"drop-shadow":U()}],grayscale:[{grayscale:["",qe,Oe,je]}],"hue-rotate":[{"hue-rotate":[qe,Oe,je]}],invert:[{invert:["",qe,Oe,je]}],saturate:[{saturate:[qe,Oe,je]}],sepia:[{sepia:["",qe,Oe,je]}],"backdrop-filter":[{"backdrop-filter":["","none",Oe,je]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[qe,Oe,je]}],"backdrop-contrast":[{"backdrop-contrast":[qe,Oe,je]}],"backdrop-grayscale":[{"backdrop-grayscale":["",qe,Oe,je]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[qe,Oe,je]}],"backdrop-invert":[{"backdrop-invert":["",qe,Oe,je]}],"backdrop-opacity":[{"backdrop-opacity":[qe,Oe,je]}],"backdrop-saturate":[{"backdrop-saturate":[qe,Oe,je]}],"backdrop-sepia":[{"backdrop-sepia":["",qe,Oe,je]}],"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",Oe,je]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[qe,"initial",Oe,je]}],ease:[{ease:["linear","initial",j,Oe,je]}],delay:[{delay:[qe,Oe,je]}],animate:[{animate:["none",A,Oe,je]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,Oe,je]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:le()}],"rotate-x":[{"rotate-x":le()}],"rotate-y":[{"rotate-y":le()}],"rotate-z":[{"rotate-z":le()}],scale:[{scale:me()}],"scale-x":[{"scale-x":me()}],"scale-y":[{"scale-y":me()}],"scale-z":[{"scale-z":me()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[Oe,je,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:U()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:U()}
vendor: 5,466 bytes, line 49
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",Oe,je]}],"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",Oe,je]}],fill:[{fill:["none",...U()]}],"stroke-w":[{stroke:[qe,bu,Po,Jv]}],stroke:[{stroke:["none",...U()]}],"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"]}},TU=dU(EU);function ar(...e){return TU(ke(e))}function Fw({delayDuration:e=0,...t}){return d.jsx(WF,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}function PU({...e}){return d.jsx(Fw,{"data-loc":"client/src/components/ui/tooltip.tsx:23",children:d.jsx(ZF,{"data-loc":"client/src/components/ui/tooltip.tsx:24","data-slot":"tooltip",...e})})}function MU({...e}){return d.jsx(KF,{"data-loc":"client/src/components/ui/tooltip.tsx:32","data-slot":"tooltip-trigger",...e})}function RU({className:e,sideOffset:t=0,children:r,...n}){return d.jsx(VF,{"data-loc":"client/src/components/ui/tooltip.tsx:42",children:d.jsxs(QF,{"data-loc":"client/src/components/ui/tooltip.tsx:43","data-slot":"tooltip-content",sideOffset:t,className:ar("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
49de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...n,children:[r,d.jsx(YF,{"data-loc":"client/src/components/ui/tooltip.tsx:53",className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}const q5=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,F5=ke,w6=(e,t)=>r=>{var n;if(t?.variants==null)return F5(e,r?.class,r?.className);const{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(p=>{const g=r?.[p],m=o?.[p];if(g===null)return null;const y=q5(g)||q5(m);return a[p][y]}),c=r&&Object.entries(r).reduce((p,g)=>{let[m,y]=g;return y===void 0||(p[m]=y),p},{}),f=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((p,g)=>{let{class:m,className:y,...b}=g;return Object.entries(b).every(C=>{let[x,w]=C;return Array.isArray(w)?w.includes({...o,...c}[x]):{...o,...c}[x]===w})?[...p,m,y]:p},[]);return F5(e,l,f,r?.class,r?.className)},kU=w6("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 be({className:e,variant:t,size:r,asChild:n=!1,...a}){const o=n?OM:"button";return d.jsx(o,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:ar(kU({variant:t,size:r,className:e})),...a})}function Uo({className:e,...t}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:ar("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Sl({className:e,...t}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:20","data-slot":"card-header",className:ar("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function wl({className:e,...t}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:33","data-slot":"card-title",className:ar("leading-none font-semibold",e),...t})}function Eu({className:e,...t}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:43","data-slot":"card-description",className:ar("text-muted-foreground text-sm",e),...t})}function Go({className:e,...t}){return d.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:ar("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 IU=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),C6=(...e)=>e.filter((t,r,n)=>!!t&&n.indexOf(t)===r).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 zU={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 $U=T.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:o,iconNode:l,...c},f)=>T.createElement("svg",{ref:f,...zU,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:C6("lucide",a),...c},[...l.map(([p,g])=>T.createElement(p,g)),...Array.isArray(o)?o:[o]]));/** 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 Se=(e,t)=>{const r=T.forwardRef(({className:n,...a},o)=>T.createElement($U,{ref:o,iconNode:t,className:C6(`lucide-${IU(e)}`,n),...a}
69));return r.displayName=`${e}`,r};/** 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 LU=Se("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/** 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 HU=Se("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 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 BU=Se("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 qU=Se("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** 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 FU=Se("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/** 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 UU=Se("BellOff",[["path",{d:"M8.7 3A6 6 0 0 1 18 8a21.3 21.3 0 0 0 .6 5",key:"o7mx20"}],["path",{d:"M17 17H3s3-2 3-9a4.67 4.67 0 0 1 .3-1.7",key:"16f1lm"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/** 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 Uw=Se("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/** 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 GU=Se("BookmarkCheck",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2Z",key:"169p4p"}],["path",{d:"m9 10 2 2 4-4",key:"1gnqz4"}]]);/** 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 Gi=Se("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/** 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 WU=Se("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** 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 Yo=Se("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 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 j6=Se("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"}]]);/** 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 O6=Se("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 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 Nn=Se("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/** 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 U5=Se("CheckCheck",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);/** 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 ZU=Se("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 zm=Se("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 Ua=Se("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 N6=Se("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 165 * @license lucide-react v0.453.0 - ISC 166 * 167 * This source code is licensed under the ISC license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const aa=Se("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"}]]);/** 170 * @license lucide-react v0.453.0 - ISC 171 * 172 * This source code is licensed under the ISC license. 173 * See the LICENSE file in the root directory of this source tree. 174 */const Gw=Se("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 175 * @license lucide-react v0.453.0 - ISC 176 * 177 * This source code is licensed under the ISC license. 178 * See the LICENSE file in the root directory of this source tree. 179 */const ei=Se("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 180 * @license lucide-react v0.453.0 - ISC 181 * 182 * This source code is licensed under the ISC license. 183 * See the LICENSE file in the root directory of this source tree.
184 */const G5=Se("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 185 * @license lucide-react v0.453.0 - ISC 186 * 187 * This source code is licensed under the ISC license. 188 * See the LICENSE file in the root directory of this source tree. 189 */const A6=Se("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/** 190 * @license lucide-react v0.453.0 - ISC 191 * 192 * This source code is licensed under the ISC license. 193 * See the LICENSE file in the root directory of this source tree. 194 */const KU=Se("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"}]]);/** 195 * @license lucide-react v0.453.0 - ISC 196 * 197 * This source code is licensed under the ISC license. 198 * See the LICENSE file in the root directory of this source tree. 199 */const VU=Se("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 200 * @license lucide-react v0.453.0 - ISC 201 * 202 * This source code is licensed under the ISC license. 203 * See the LICENSE file in the root directory of this source tree. 204 */const Tu=Se("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 205 * @license lucide-react v0.453.0 - ISC 206 * 207 * This source code is licensed under the ISC license. 208 * See the LICENSE file in the root directory of this source tree. 209 */const QU=Se("FileCheck2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m3 15 2 2 4-4",key:"1lhrkk"}]]);/** 210 * @license lucide-react v0.453.0 - ISC 211 * 212 * This source code is licensed under the ISC license. 213 * See the LICENSE file in the root directory of this source tree. 214 */const D6=Se("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/** 215 * @license lucide-react v0.453.0 - ISC 216 * 217 * This source code is licensed under the ISC license. 218 * See the LICENSE file in the root directory of this source tree. 219 */const YU=Se("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 220 * @license lucide-react v0.453.0 - ISC 221 * 222 * This source code is licensed under the ISC license. 223 * See the LICENSE file in the root directory of this source tree. 224 */const ad=Se("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 225 * @license lucide-react v0.453.0 - ISC 226 * 227 * This source code is licensed under the ISC license. 228 * See the LICENSE file in the root directory of this source tree. 229 */const is=Se("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 230 * @license lucide-react v0.453.0 - ISC 231 * 232 * This source code is licensed under the ISC license. 233 * See the LICENSE file in the root directory of this source tree. 234 */const _6=Se("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 235 * @license lucide-react v0.453.0 - ISC 236 * 237 * This source code is licensed under the ISC license. 238 * See the LICENSE file in the root directory of this source tree. 239 */const $m=Se("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"}]]);/** 240 * @license lucide-react v0.453.0 - ISC 241 * 242 * This source code is licensed under the ISC license. 243 * See the LICENSE file in the root directory of this source tree. 244 */const Ww=Se("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** 245 * @license lucide-react v0.453.0 - ISC 246 * 247 * This source code is licensed under the ISC license. 248 * See the LICENSE file in the root directory of this source tree. 249 */const XU=Se("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 250 * @license lucide-react v0.453.0 - ISC 251 * 252 * This source code is licensed under the ISC license. 253 * See the LICENSE file in the root directory of this source tree. 254 */const JU=Se("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
254y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/** 255 * @license lucide-react v0.453.0 - ISC 256 * 257 * This source code is licensed under the ISC license. 258 * See the LICENSE file in the root directory of this source tree. 259 */const ca=Se("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 260 * @license lucide-react v0.453.0 - ISC 261 * 262 * This source code is licensed under the ISC license. 263 * See the LICENSE file in the root directory of this source tree. 264 */const br=Se("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 265 * @license lucide-react v0.453.0 - ISC 266 * 267 * This source code is licensed under the ISC license. 268 * See the LICENSE file in the root directory of this source tree. 269 */const hh=Se("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/** 270 * @license lucide-react v0.453.0 - ISC 271 * 272 * This source code is licensed under the ISC license. 273 * See the LICENSE file in the root directory of this source tree. 274 */const eG=Se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 275 * @license lucide-react v0.453.0 - ISC 276 * 277 * This source code is licensed under the ISC license. 278 * See the LICENSE file in the root directory of this source tree. 279 */const tG=Se("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 280 * @license lucide-react v0.453.0 - ISC 281 * 282 * This source code is licensed under the ISC license. 283 * See the LICENSE file in the root directory of this source tree. 284 */const E6=Se("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** 285 * @license lucide-react v0.453.0 - ISC 286 * 287 * This source code is licensed under the ISC license. 288 * See the LICENSE file in the root directory of this source tree. 289 */const rG=Se("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/** 290 * @license lucide-react v0.453.0 - ISC 291 * 292 * This source code is licensed under the ISC license. 293 * See the LICENSE file in the root directory of this source tree. 294 */const Ka=Se("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 295 * @license lucide-react v0.453.0 - ISC 296 * 297 * This source code is licensed under the ISC license. 298 * See the LICENSE file in the root directory of this source tree. 299 */const B2=Se("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 300 * @license lucide-react v0.453.0 - ISC 301 * 302 * This source code is licensed under the ISC license. 303 * See the LICENSE file in the root directory of this source tree. 304 */const mh=Se("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/** 305 * @license lucide-react v0.453.0 - ISC 306 * 307 * This source code is licensed under the ISC license. 308 * See the LICENSE file in the root directory of this source tree. 309 */const T6=Se("QrCode",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]]);/** 310 * @license lucide-react v0.453.0 - ISC 311 * 312 * This source code is licensed under the ISC license. 313 * See the LICENSE file in the root directory of this source tree. 314 */const nG=Se("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/** 315 * @license lucide-react v0.453.0 - ISC 316 * 317 * This source code is licensed under the ISC license. 318 * See the LICENSE file in the root directory of this source tree. 319 */const aG=Se("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"}]]);/** 320 * @license lucide-react v0.453.0 - ISC 321 * 322 * This source code is licensed under the ISC license. 323 * See the LICENSE file in the root directory of this source tree. 324 */const P6=Se("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"}]]);/** 325 * @license lucide-react v0.453.0 - ISC 326 * 327 * This source code is licensed under the ISC license. 328 * See the LICENSE file in the root directory of this source tree. 329 */const id=Se("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 330 * @license lucide-react v0.453.0 - ISC 331 * 332 * This source code is licensed under the ISC license. 333 * See the LICENSE file in the root directory of this source tree. 334 */const iG=Se("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 335 * @license lucide-react v0.453.0 - ISC 336 * 337 * This source code is licensed under the ISC license. 338 * See the LICENSE file in the root directory of this source tree. 339 */const M6=Se("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 340 * @license lucide-react v0.453.0 - ISC 341 * 342 * This source code is licensed under the ISC license. 343 * See the LICENSE file in the root directory of this source tree. 344 */const Xd=Se("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",ke
344y:"oel41y"}]]);/** 345 * @license lucide-react v0.453.0 - ISC 346 * 347 * This source code is licensed under the ISC license. 348 * See the LICENSE file in the root directory of this source tree. 349 */const oG=Se("SlidersVertical",[["line",{x1:"4",x2:"4",y1:"21",y2:"14",key:"1p332r"}],["line",{x1:"4",x2:"4",y1:"10",y2:"3",key:"gb41h5"}],["line",{x1:"12",x2:"12",y1:"21",y2:"12",key:"hf2csr"}],["line",{x1:"12",x2:"12",y1:"8",y2:"3",key:"1kfi7u"}],["line",{x1:"20",x2:"20",y1:"21",y2:"16",key:"1lhrwl"}],["line",{x1:"20",x2:"20",y1:"12",y2:"3",key:"16vvfq"}],["line",{x1:"2",x2:"6",y1:"14",y2:"14",key:"1uebub"}],["line",{x1:"10",x2:"14",y1:"8",y2:"8",key:"1yglbp"}],["line",{x1:"18",x2:"22",y1:"16",y2:"16",key:"1jxqpz"}]]);/** 350 * @license lucide-react v0.453.0 - ISC 351 * 352 * This source code is licensed under the ISC license. 353 * See the LICENSE file in the root directory of this source tree. 354 */const sG=Se("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/** 355 * @license lucide-react v0.453.0 - ISC 356 * 357 * This source code is licensed under the ISC license. 358 * See the LICENSE file in the root directory of this source tree. 359 */const q2=Se("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 360 * @license lucide-react v0.453.0 - ISC 361 * 362 * This source code is licensed under the ISC license. 363 * See the LICENSE file in the root directory of this source tree. 364 */const lG=Se("StarOff",[["path",{d:"M8.34 8.34 2 9.27l5 4.87L5.82 21 12 17.77 18.18 21l-.59-3.43",ke
vendor: 5,478 bytes, lines 364-412
364y:"16m0ql"}],["path",{d:"M18.42 12.76 22 9.27l-6.91-1L12 2l-1.44 2.91",key:"1vt8nq"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]]);/** 365 * @license lucide-react v0.453.0 - ISC 366 * 367 * This source code is licensed under the ISC license. 368 * See the LICENSE file in the root directory of this source tree. 369 */const Hu=Se("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** 370 * @license lucide-react v0.453.0 - ISC 371 * 372 * This source code is licensed under the ISC license. 373 * See the LICENSE file in the root directory of this source tree. 374 */const R6=Se("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/** 375 * @license lucide-react v0.453.0 - ISC 376 * 377 * This source code is licensed under the ISC license. 378 * See the LICENSE file in the root directory of this source tree. 379 */const od=Se("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 380 * @license lucide-react v0.453.0 - ISC 381 * 382 * This source code is licensed under the ISC license. 383 * See the LICENSE file in the root directory of this source tree. 384 */const k6=Se("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"}]]);/** 385 * @license lucide-react v0.453.0 - ISC 386 * 387 * This source code is licensed under the ISC license. 388 * See the LICENSE file in the root directory of this source tree. 389 */const wr=Se("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"}]]);/** 390 * @license lucide-react v0.453.0 - ISC 391 * 392 * This source code is licensed under the ISC license. 393 * See the LICENSE file in the root directory of this source tree. 394 */const cG=Se("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"}]]);/** 395 * @license lucide-react v0.453.0 - ISC 396 * 397 * This source code is licensed under the ISC license. 398 * See the LICENSE file in the root directory of this source tree. 399 */const F2=Se("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 400 * @license lucide-react v0.453.0 - ISC 401 * 402 * This source code is licensed under the ISC license. 403 * See the LICENSE file in the root directory of this source tree. 404 */const Ji=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function uG(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var r,n,a,o,l=[],c="",f=e.split("/");for(f[0]||f.shift();a=f.shift();)r=a[0],r==="*"?(l.push(r),c+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(n=a.indexOf("?",1),o=a.indexOf(".",1),l.push(a.substring(1,~n?n:~o?o:a.length)),c+=~n&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(c+=(~n?"?":"")+"\\"+a.substring(o))):c+="/"+a;return{keys:l,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var ex={exports:{}},tx={};/** 405 * @license React 406 * use-sync-external-store-shim.production.js 407 * 408 * Copyright (c) Meta Platforms, Inc. and affiliates. 409 * 410 * This source code is licensed under the MIT license found in the 411 * LICENSE file in the root directory of this source tree. 412 */var W5;function dG(){if(W5)return tx;W5=1;var e=bm();function t(m,y){return m===y&&(m!==0||1/m===1/y)||m!==m&&y!==y}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,o=e.useLayoutEffect,l=e.useDebugValue;function c(m,y){var b=y(),C=n({inst:{value:b,getSnapshot:y}}),x=C[0].inst,w=C[1];return o(function(){x.value=b,x.getSnapshot=y,f(x)&&w({inst:x})},[m,b,y]),a(function(){return f(x)&&w({inst:x}),m(function(){f(x)&&w({inst:x})})},[m]),l(b),b}function f(m){var y=m.getSnapshot;m=m.value;try{var b=y();return!r(m,b)}catch{return!0}}function p(m,y){return y()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:c;return tx.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,tx}var Z5;function fG(){return Z5||(Z5=1,ex.exports=dG()),ex.exports}var pG=fG();const hG=Sm.useInsertionEffect,mG=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gG=mG?T.useLayoutEffect:T.useEffect,yG=hG||gG,I6=e=>{const t=T.useRef([e,(...r)=>t[0](...r)]).current;return yG(()=>{t[0]=e}),t[1]},vG="popstate",Zw="pushState",Kw="replaceState",xG="hashchange",K5=[vG,Zw,Kw,xG],bG=e=>{for(const t of K5)addEventListener(t,e);return()=>{for(const t of K5)removeEventListener(t,e)}},z6=(e,t)=>pG.useSyncExternalStore(bG,e,t),SG=()=>location.search,wG=({ssrSearch:e=""}={})=>z6(SG,()=>e),V5=()=>location.pathname,CG=({ssrPath:e}={})=>z6(V5,e?()=>e:V5),jG=(e,{replace:t=!1,state:r=null}={})=>history[t?Kw:Zw](r,"",e),OG=(e={})=>[CG(e),jG],Q5=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Q5]>"u"){for(const e of[Zw,Kw]){const t=history[e];history[e]=function(){const r=t.apply(this,arguments),n=new Event(e);return n.arguments=arguments,dispatchEvent(n),r}}Object.defineProperty(window,Q5,{value:!0})}const NG=(e,t)=>
412t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",$6=(e="")=>e==="/"?"":e,AG=(e,t)=>e[0]==="~"?e.slice(1):$6(t)+e,DG=(e="",t)=>NG(U2($6(e)),U2(t)),_G=e=>e[0]==="?"?e.slice(1):e,U2=e=>{try{return decodeURI(e)}catch{return e}},EG=e=>U2(_G(e)),L6={hook:OG,searchHook:wG,parser:uG,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},H6=T.createContext(L6),hc=()=>T.useContext(H6),B6={},q6=T.createContext(B6),Vw=()=>T.useContext(q6),Lm=e=>{const[t,r]=e.hook(e);return[DG(e.base,t),I6((n,a)=>r(AG(n,e.base),a))]},ln=()=>Lm(hc()),Qw=()=>{const e=hc();return EG(e.searchHook(e))},F6=(e,t,r,n)=>{const{pattern:a,keys:o}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",n),l=a.exec(r)||[],[c,...f]=l;return c!==void 0?[!0,(()=>{const p=o!==!1?Object.fromEntries(o.map((m,y)=>[m,f[y]])):l.groups;let g={...f};return p&&Object.assign(g,p),g})(),...n?[c]:[]]:[!1,null]},TG=({children:e,...t})=>{const r=hc(),n=t.hook?L6:r;let a=n;const[o,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=o),t.hrefs=t.hrefs??t.hook?.hrefs;let c=T.useRef({}),f=c.current,p=f;for(let g in n){const m=g==="base"?n[g]+(t[g]||""):t[g]||n[g];f===p&&m!==p[g]&&(c.current=p={...p}),p[g]=m,(m!==n[g]||m!==a[g])&&(a=p)}return T.createElement(H6.Provider,{value:a,children:e})},Y5=({children:e,component:t},r)=>t?T.createElement(t,{params:r}):typeof e=="function"?e(r):e,PG=e=>{let t=T.useRef(B6);const r=t.current;return t.current=Object.keys(e).length!==Object.keys(r).length||Object.entries(e).some(([n,a])=>a!==r[n])?e:r},gr=({path:e,nest:t,match:r,...n})=>{const a=hc(),[o]=Lm(a),[l,c,f]=r??F6(a.parser,e,o,t),p=PG({...Vw(),...c});if(!l)return null;const g=f?T.createElement(TG,{base:f},Y5(n,p)):Y5(n,p);return T.createElement(q6.Provider,{value:p,children:g})},Pu=T.forwardRef((e,t)=>{const r=hc(),[n,a]=Lm(r),{to:o="",href:l=o,onClick:c,asChild:f,children:p,className:g,replace:m,state:y,...b}=e,C=I6(w=>{w.ctrlKey||w.metaKey||w.altKey||w.shiftKey||w.button!==0||(c?.(w),w.defaultPrevented||(w.preventDefault(),a(l,e)))}),x=r.hrefs(l[0]==="~"?l.slice(1):r.base+l,r);return f&&T.isValidElement(p)?T.cloneElement(p,{onClick:C,href:x}):T.createElement("a",{...b,onClick:C,href:x,className:g?.call?g(n===l):g,children:p,ref:t})}),G2=e=>Array.isArray(e)?e.flatMap(t=>G2(t&&t.type===T.Fragment?t.props.children:t)):[e],MG=({children:e,location:t})=>{const r=hc(),[n]=Lm(r);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),G2(e).forEach(o=>{if(T.isValidElement(o)&&o.props.path){const l=o.props.path;window.__WOUTER_ROUTES__.includes(l)||window.__WOUTER_ROUTES__.push(l)}}));for(const a of G2(e)){let o=0;if(T.isValidElement(a)&&(o=F6(r.parser,a.props.path,t||n,a.props.nest))[0])return T.cloneElement(a,{match:o})}return null};function X5(){const[,e]=ln(),t=()=>{e("/")};return d.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:d.jsx(Uo,{"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:d.jsxs(Go,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:d.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[d.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),d.jsx(aa,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),d.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),d.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),d.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.",d.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),d.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:d.jsxs(be,{"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:[d.jsx($m,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class RG extends T.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:d.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[d.jsx(cG,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),d.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),d.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:d.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),d.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:ar("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[d.jsx(P6,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const kG=T.createContext(void 0);function IG({children:e,defaultTheme:t="light",switchable:r=!1}){const[n,a]=T.useState(()=>r&&localStorage.getItem("theme")||t);T.useEffect(()=>{const l=document.documentElement;n==="dark"?l.classList.add("dark"):l.classList.remove("dark"),r&&localStorage.setItem("theme",n)},[n,r]);const o=r?()=>{a(l=>l==="light"?"dark":"light")}:void 0;return d.jsx(kG.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:n,toggleTheme:o,switchable:r},children:e})}const Jd=()=>{const e="https://manus.im",t="c8Guattma9P6STsAN8yAX8",r=`${window.location.origin}/api/oauth/callback`,n=btoa(r),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",r),a.searchParams.set("state",n),a.searchParams.set("type","signIn"),a.toString()};function eo(e){const{redirectOnUnauthenticated:t=!1,redirectPath:r=Jd()}={},n=_e.useUtils(),a=_e.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),o=_e.auth.logout.useMutation({onSuccess:()=>{n.auth.me.setData(void 0,null)}}),l=T.useCallback(async()=>{try{await o.mutateAsync()}catch(f){if(f instanceof Rl&&f.data?.code==="UNAUTHORIZED")return;throw f}
412finally{n.auth.me.setData(void 0,null),await n.auth.me.invalidate()}},[o,n]),c=T.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(a.data)),{user:a.data??null,loading:a.isLoading||o.isPending,error:a.error??o.error??null,isAuthenticated:!!a.data}),[a.data,a.error,a.isLoading,o.error,o.isPending]);return T.useEffect(()=>{t&&(a.isLoading||o.isPending||c.user||typeof window>"u"||window.location.pathname!==r&&(window.location.href=r))},[t,r,o.isPending,a.isLoading,c.user]),{...c,refresh:()=>a.refetch(),logout:l}}const xe={name:"Marcus Carter",broker:"Coldwell Banker",phone:"469-724-4371",phoneHref:"tel:4697244371",email:"[email protected]",emailHref:"mailto:[email protected]",website:"MarcusCarterCB.com",websiteHref:"https://MarcusCarterCB.com",headshot:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/c8Guattma9P6STsAN8yAX8/IMG_2671_052ec2ed.jpeg",qrCode:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/c8Guattma9P6STsAN8yAX8/marcus-qrcode_e561060e.jpeg",brokerLogo:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/c8Guattma9P6STsAN8yAX8/coldwell-banker-logo_42aa8466.png"};function nr(){const[e]=ln(),[t,r]=T.useState(!1),{user:n,isAuthenticated:a}=eo(),{data:o}=_e.notifications.list.useQuery(void 0,{enabled:a,refetchInterval:6e4}),l=o?.filter(p=>!p.isRead).length??0,c=[{href:"/",label:"Search",icon:br},{href:"/city-finder",label:"City Finder",icon:ad},{href:"/new-construction",label:"New Construction",icon:Yo},{href:"/compare",label:"Compare",icon:Nn},{href:"/map",label:"Map View",icon:hh},{href:"/county-heat-map",label:"Heat Map",icon:R6},{href:"/saved-cities",label:"Saved Cities",icon:_6,authRequired:!0},{href:"/saved-searches",label:"Saved Searches",icon:Gi,authRequired:!0},{href:"/dashboard",label:"My Dashboard",icon:Hu,authRequired:!0}],f=()=>{window.open("https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np","_blank","width=800,height=600")};return d.jsx("nav",{"data-loc":"client/src/components/NavBar.tsx:36",className:"sticky top-0 z-50 border-b border-border/50 bg-background/90 backdrop-blur-md",children:d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:37",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:38",className:"flex items-center justify-between h-16",children:[d.jsxs(Pu,{"data-loc":"client/src/components/NavBar.tsx:40",href:"/",className:"flex items-center gap-3 group",children:[d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:41",className:"relative w-9 h-9 flex items-center justify-center border border-primary/50 rounded bg-primary/10 group-hover:bg-primary/20 transition-colors flex-shrink-0",children:[d.jsxs("svg",{"data-loc":"client/src/components/NavBar.tsx:42",viewBox:"0 0 24 24",className:"w-5 h-5 text-primary",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[d.jsx("path",{"data-loc":"client/src/components/NavBar.tsx:43",d:"M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z"}),d.jsx("polyline",{"data-loc":"client/src/components/NavBar.tsx:44",points:"9 22 9 12 15 12 15 22"})]}),d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:46",className:"absolute top-0 left-0 w-2 h-2 border-t border-l border-primary/70"}),d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:47",className:"absolute bottom-0 right-0 w-2 h-2 border-b border-r border-primary/70"})]}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:49",children:[d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:50",className:"font-black text-sm tracking-wider text-foreground uppercase",children:"Dallas-Fort Worth"}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:51",className:"font-mono text-xs text-muted-foreground tracking-widest",children:"INTELLIGENCE"})]})]}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:56",className:"hidden lg:flex items-center gap-3 px-3 py-1.5 rounded border border-border/40 bg-secondary/30",children:[d.jsx("img",{"data-loc":"client/src/components/NavBar.tsx:57",src:xe.headshot,alt:xe.name,className:"w-7 h-7 rounded-full object-cover object-[center_15%] border border-primary/30"}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:62",className:"flex flex-col leading-none",children:[d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:63",className:"text-xs font-bold text-foreground",children:xe.name}),d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:64",className:"text-[10px] text-muted-foreground font-mono",children:xe.broker})]}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:66",className:"w-px h-6 bg-border/50"}),d.jsx("img",{"data-loc":"client/src/components/NavBar.tsx:67",src:xe.brokerLogo,alt:"Coldwell Banker",className:"h-5 object-contain opacity-80"}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:72",className:"w-px h-6 bg-border/50"}),d.jsxs("a",{"data-loc":"client/src/components/NavBar.tsx:73",href:xe.phoneHref,className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(Ka,{"data-loc":"client/src/components/NavBar.tsx:77",className:"w-3 h-3"}),xe.phone]}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:80",className:"w-px h-6 bg-border/50"}),d.jsxs("a",{"data-loc":"client/src/components/NavBar.tsx:81",href:xe.emailHref,className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(ca,{"data-loc":"client/src/components/NavBar.tsx:85",className:"w-3 h-3"}),xe.email]}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:88",className:"w-px h-6 bg-border/50"}),d.jsxs("a",{"data-loc":"client/src/components/NavBar.tsx:89",href:xe.websiteHref,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1 text-xs text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(ad,{"data-loc":"client/src/components/NavBar.tsx:95",className:"w-3 h-3"}),xe.website]})]}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:101",className:"hidden md:flex items-center gap-1",children:[c.map(({href:p,label:g,icon:m,authRequired:y})=>{if(y&&!a)return null;const b=e===p||p!=="/"&&e.startsWith(p);return d.jsxs(Pu,{"data-loc":"client/src/components/NavBar.tsx:106",href:p,className:`flex items-center gap-2 px-3 py-2 rounded text-sm font-medium transition-colors ${b?"bg-primary/20 text-primary border border-primary/30":"text-muted-foreground hover:text-foreground hover:bg-secondary"}`,children:[d.jsx(m,{"data-loc":"client/src/components/NavBar.tsx:115",className:"w-4 h-4"}),g]},p)}),d.jsxs("button",{"data-loc":"client/src/components/NavBar.tsx:120",onClick:f,className:"flex items-center gap-2 px-3 py-2 rounded text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-secondary transition-colors",children:[d.jsx(Ka,{"data-loc":"client/src/components/NavBar.tsx:124",className:"w-4 h-4"}),"Consultation"]})]}),d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:130",className:"hidden md:flex items-center gap-2",children:a&&d.jsxs(d.Fragment,{children:[d.jsxs(Pu,{"data-loc":"client/src/components/NavBar.tsx:133",href:"/dashboard",className:"relative p-2 rounded hover:bg-secondary transition-colors text-muted-foreground hover:text-foreground",children:[d.jsx(Uw,{"data-loc":"client/src/components/NavBar.tsx:134",className:"w-4 h-4"}),l>0&&d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:136",className:"absolute -top-0.5 -right-0.5 w-4 h-4 bg-primary text-primary-foreground text-xs rounded-full flex items-center justify-center font-bold",children:l>9?"9+":l})]}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:141",className:"flex items-center gap-2 px-3 py-1.5 rounded border border-border/50 bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:142",className:"w-6 h-6 rounded-full bg-primary/30 flex items-center justify-center text-xs font-bold text-primary",children:n?.name?.[0]?.toUpperCase()??"R"}),d.jsx("span",{"data-loc":"client/src/components/NavBar.tsx:145",className:"text-sm text-foreground font-medium",children:n?.name?.split(" ")[0]??"Realtor"})]})]})}),d.jsx("button",{"data-loc":"client/src/components/NavBar.tsx:152",className:"md:hidden p-2 rounded hover:bg-secondary text-muted-foreground",onClick:()=>r(!t),children:t?d.jsx(Ji,{"data-loc":"client/src/components/NavBar.tsx:156",className:"w-5 h-5"}):d.jsx(eG,{"data-loc":"client/src/components/NavBar.tsx:156",className:"w-5 h-5"})})]}),t&&d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:162",className:"md:hidden border-t border-border/50 py-3 space-y-1",children:[d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:164",className:"flex items-center gap-3 px-3 py-2 mb-2 rounded border border-border/30 bg-secondary/20",children:[d.jsx("img",{"data-loc":"client/src/components/NavBar.tsx:165",src:xe.headshot,alt:xe.name,className:"w-8 h-8 rounded-full object-cover object-[center_15%] border border-primary/30"}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:166",children:[d.jsx("div",{"data-loc":"client/src/components/NavBar.tsx:167",className:"text-xs font-bold text-foreground",children:xe.name}),d.jsxs("div",{"data-loc":"client/src/components/NavBar.tsx:168",className:"text-[10px] text-muted-foreground font-mono",children:[xe.broker," · ",xe.phone," · ",xe.email]})]}),d.jsx("img",{"data-loc":"client/src/components/NavBar.tsx:170",src:xe.brokerLogo,alt:"Coldwell Banker",className:"ml-auto h-4 object-contain opacity-70"})]}),c.map(({href:p,label:g,icon:m,authRequired:y})=>y&&!a?null:d.jsxs(Pu,{"data-loc":"client/src/components/NavBar.tsx:175",href:p,onClick:()=>r(!1),className:"flex items-center gap-3 px-3 py-2.5 rounded text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-secondary transition-colors",children:[d.jsx(m,{"data-loc":"client/src/components/NavBar.tsx:181",className:"w-4 h-4"}),g]},p)),d.jsxs("button",{"data-loc":"client/src/components/NavBar.tsx:186",onClick:()=>{f(),r(!1)},className:"flex items-center gap-3 px-3 py-2.5 rounded text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-secondary transition-colors w-full",children:[d.jsx(Ka,{"data-loc":"client/src/components/NavBar.tsx:193",className:"w-4 h-4"}),"Consultation"]})]})]})})}function lt(e){switch(e){case"A":return"#22c55e";case"B":return"#84cc16";case"C":return"#eab308";case"D":return"#f97316";case"F":return"#ef4444";default:return"#6b7280"}}function Yi(e){switch(e){case"A":return"bg-green-500/15 border-green-500/40 text-green-400";case"B":return"bg-lime-500/15 border-lime-500/40 text-lime-400";case"C":return"bg-yellow-500/15 border-yellow-500/40 text-yellow-400";case"D":return"bg-orange-500/15 border-orange-500/40 text-orange-400";case"F":return"bg-red-500/15 border-red-500/40 text-red-400";default:return"bg-gray-500/15 border-gray-500/40 text-gray-400"}}function Xo(e){return e?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e):"N/A"}function _l(e){return e?new Intl.NumberFormat("en-US").format(e):"N/A"}const Hm=[{zip:"75001",city:"Addison",county:"Dallas"},{zip:"75006",city:"Carrollton",county:"Dallas"},{zip:"75007",city:"Carrollton",county:"Dallas"},{zip:"75010",city:"Carrollton",county:"Dallas",note:"Carrollton spans Dallas and Denton counties."},{zip:"75011",city:"Carrollton",county:"Dallas"},{zip:"75019",city:"Coppell",county:"Dallas"},{zip:"75030",city:"Rowlett",county:"Dallas",note:"Rowlett spans Dallas and Rockwall counties."},{zip:"75038",city:"Irving",county:"Dallas"},{zip:"75039",city:"Irving",county:"Dallas"},{zip:"75040",city:"Garland",county:"Dallas"},{zip:"75041",city:"Garland",county:"Dallas"},{zip:"75042",city:"Garland",county:"Dallas"},{zip:"75043",city:"Garland",county:"Dallas"},{zip:"75044",city:"Garland",county:"Dallas"},{zip:"75045",city:"Garland",county:"Dallas"},{zip:"75046",city:"Garland",county:"Dallas"},{zip:"75047",city:"Garland",county:"Dallas"}
412,{zip:"75048",city:"Sachse",county:"Dallas",note:"Sachse spans both Dallas and Collin counties."},{zip:"75049",city:"Garland",county:"Dallas"},{zip:"75050",city:"Grand Prairie",county:"Dallas",note:"Spans Dallas and Tarrant counties. Portions of Grand Prairie extend into Tarrant County."},{zip:"75051",city:"Grand Prairie",county:"Dallas",note:"Spans Dallas and Tarrant counties. Portions of Grand Prairie extend into Tarrant County."},{zip:"75052",city:"Grand Prairie",county:"Dallas",note:"Spans Dallas and Tarrant counties. Portions of Grand Prairie extend into Tarrant County."},{zip:"75053",city:"Grand Prairie",county:"Dallas",note:"Spans Dallas and Tarrant counties. Portions of Grand Prairie extend into Tarrant County."},{zip:"75054",city:"Grand Prairie",county:"Dallas",note:"Spans Dallas and Tarrant counties. Portions of Grand Prairie extend into Tarrant County."},{zip:"75060",city:"Irving",county:"Dallas"},{zip:"75061",city:"Irving",county:"Dallas"},{zip:"75062",city:"Irving",county:"Dallas"},{zip:"75063",city:"Irving",county:"Dallas"},{zip:"75080",city:"Richardson",county:"Dallas"},{zip:"75081",city:"Richardson",county:"Dallas"},{zip:"75082",city:"Richardson",county:"Dallas"},{zip:"75083",city:"Richardson",county:"Dallas"},{zip:"75085",city:"Richardson",county:"Dallas"},{zip:"75088",city:"Rowlett",county:"Dallas",note:"Rowlett spans Dallas and Rockwall counties."},{zip:"75089",city:"Rowlett",county:"Dallas",note:"Rowlett spans Dallas and Rockwall counties."},{zip:"75098",city:"Wylie",county:"Dallas",note:"Wylie spans Dallas, Collin, and Rockwall counties. This ZIP primarily covers the Dallas County portion."},{zip:"75104",city:"Cedar Hill",county:"Dallas",note:"Cedar Hill spans Dallas and Ellis counties."},{zip:"75106",city:"Cedar Hill",county:"Dallas",note:"Cedar Hill spans Dallas and Ellis counties."},{zip:"75115",city:"DeSoto",county:"Dallas"},{zip:"75116",city:"Duncanville",county:"Dallas"},{zip:"75123",city:"DeSoto",county:"Dallas"},{zip:"75134",city:"Lancaster",county:"Dallas"},{zip:"75137",city:"Duncanville",county:"Dallas"},{zip:"75138",city:"Duncanville",county:"Dallas"},{zip:"75141",city:"Hutchins",county:"Dallas"},{zip:"75146",city:"Lancaster",county:"Dallas"},{zip:"75149",city:"Mesquite",county:"Dallas"},{zip:"75150",city:"Mesquite",county:"Dallas"},{zip:"75159",city:"Seagoville",county:"Dallas",note:"Also serves Combine community."},{zip:"75172",city:"Wilmer",county:"Dallas"},{zip:"75180",city:"Balch Springs",county:"Dallas",note:"Also serves portions of Mesquite."},{zip:"75181",city:"Mesquite",county:"Dallas"},{zip:"75182",city:"Sunnyvale",county:"Dallas"},{zip:"75185",city:"Mesquite",county:"Dallas"},{zip:"75187",city:"Mesquite",county:"Dallas"},{zip:"75201",city:"Dallas",county:"Dallas"},{zip:"75202",city:"Dallas",county:"Dallas"},{zip:"75203",city:"Dallas",county:"Dallas"},{zip:"75204",city:"Dallas",county:"Dallas"},{zip:"75205",city:"Dallas",county:"Dallas"},{zip:"75206",city:"Dallas",county:"Dallas"},{zip:"75207",city:"Dallas",county:"Dallas"},{zip:"75208",city:"Dallas",county:"Dallas"},{zip:"75209",city:"Dallas",county:"Dallas"},{zip:"75210",city:"Dallas",county:"Dallas"},{zip:"75211",city:"Dallas",county:"Dallas"},{zip:"75212",city:"Dallas",county:"Dallas"},{zip:"75214",city:"Dallas",county:"Dallas"},{zip:"75215",city:"Dallas",county:"Dallas"},{zip:"75216",city:"Dallas",county:"Dallas"},{zip:"75217",city:"Dallas",county:"Dallas"},{zip:"75218",city:"Dallas",county:"Dallas"},{zip:"75219",city:"Dallas",county:"Dallas"},{zip:"75220",city:"Dallas",county:"Dallas"},{zip:"75221",city:"Dallas",county:"Dallas"},{zip:"75222",city:"Dallas",county:"Dallas"},{zip:"75223",city:"Dallas",county:"Dallas"},{zip:"75224",city:"Dallas",county:"Dallas"},{zip:"75225",city:"Dallas",county:"Dallas"},{zip:"75226",city:"Dallas",county:"Dallas"},{zip:"75227",city:"Dallas",county:"Dallas"},{zip:"75228",city:"Dallas",county:"Dallas"},{zip:"75229",city:"Dallas",county:"Dallas"},{zip:"75230",city:"Dallas",county:"Dallas"},{zip:"75231",city:"Dallas",county:"Dallas"},{zip:"75232",city:"Dallas",county:"Dallas"},{zip:"75233",city:"Dallas",county:"Dallas"},{zip:"75234",city:"Dallas",county:"Dallas",note:"Also serves Farmers Branch."},{zip:"75235",city:"Dallas",county:"Dallas"},{zip:"75236",city:"Dallas",county:"Dallas"},{zip:"75237",city:"Dallas",county:"Dallas"},{zip:"75238",city:"Dallas",county:"Dallas"},{zip:"75239",city:"Dallas",county:"Dallas"},{zip:"75240",city:"Dallas",county:"Dallas"},{zip:"75241",city:"Dallas",county:"Dallas"},{zip:"75242",city:"Dallas",county:"Dallas"},{zip:"75243",city:"Dallas",county:"Dallas"},{zip:"75244",city:"Dallas",county:"Dallas",note:"Also serves Farmers Branch."},{zip:"75245",city:"Dallas",county:"Dallas"},{zip:"75246",city:"Dallas",county:"Dallas"},{zip:"75247",city:"Dallas",county:"Dallas"},{zip:"75248",city:"Dallas",county:"Dallas"},{zip:"75249",city:"Dallas",county:"Dallas"},{zip:"75250",city:"Dallas",county:"Dallas"},{zip:"75251",city:"Dallas",county:"Dallas"},{zip:"75252",city:"Dallas",county:"Dallas"},{zip:"75253",city:"Dallas",county:"Dallas"},{zip:"75254",city:"Dallas",county:"Dallas"},{zip:"75258",city:"Dallas",county:"Dallas"},{zip:"75260",city:"Dallas",county:"Dallas"},{zip:"75261",city:"Dallas",county:"Dallas"},{zip:"75262",city:"Dallas",county:"Dallas"},{zip:"75263",city:"Dallas",county:"Dallas"},{zip:"75264",city:"Dallas",county:"Dallas"},{zip:"75265",city:"Dallas",county:"Dallas"},{zip:"75266",city:"Dallas",county:"Dallas"},{zip:"75267",city:"Dallas",county:"Dallas"},{zip:"75270",city:"Dallas",county:"Dallas"},{zip:"75287",city:"Dallas",county:"Dallas"},{zip:"75295",city:"Dallas",county:"Dallas"},{zip:"75390",city:"Dallas",county:"Dallas"},{zip:"76001",city:"Arlington",county:"Tarrant"},{zip:"76002",city:"Arlington",county:"Tarrant"},{zip:"76003",city:"Arlington",county:"Tarrant"},{zip:"76004",city:"Arlington",county:"Tarrant"},{zip:"76005",city:"Arlington",county:"Tarrant"},{zip:"76006",city:"Arlington",county:"Tarrant"},{zip:"76007",city:"Arlington",county:"Tarrant"},{zip:"76010",city:"Arlington",county:"Tarrant"},{zip:"76011",city:"Arlington",county:"Tarrant"},{zip:"76012",city:"Arlington",county:"Tarrant"},{zip:"76013",city:"Arlington",county:"Tarrant",note:"Also serves Pantego."},{zip:"76014",city:"Arlington",county:"Tarrant"},{zip:"76015",city:"Arlington",county:"Tarrant",note:"Also serves Pantego."},{zip:"76016",city:"Arlington",county:"Tarrant"},{zip:"76017",city:"Arlington",county:"Tarrant"},{zip:"76018",city:"Arlington",county:"Tarrant"},{zip:"76019",city:"Arlington",county:"Tarrant"},{zip:"76021",city:"Bedford",county:"Tarrant"},{zip:"76022",city:"Bedford",county:"Tarrant"},{zip:"76034",city:"Colleyville",county:"Tarrant",note:"Colleyville is primarily in Tarrant County with a small portion in Dallas County."},{zip:"76036",city:"Crowley",county:"Tarrant"},{zip:"76039",city:"Euless",county:"Tarrant"},{zip:"76040",city:"Euless",county:"Tarrant"},{zip:"76051",city:"Grapevine",county:"Tarrant",note:"Grapevine spans Tarrant and Dallas counties. This ZIP primarily covers the Tarrant County portion."},{zip:"76052",city:"Haslet",county:"Tarrant"},{zip:"76053",city:"Hurst",county:"Tarrant"},{zip:"76054",city:"Hurst",county:"Tarrant"},{zip:"76060",city:"Kennedale",county:"Tarrant"},{zip:"76063",city:"Mansfield",county:"Tarrant"},{zip:"76092",city:"Southlake",county:"Tarrant",note:"Southlake spans Tarrant and Denton counties. Also serves Grapevine."},{zip:"76094",city:"Arlington",county:"Tarrant"},{zip:"76095",city:"Bedford",county:"Tarrant"},{zip:"76096",city:"Arlington",county:"Tarrant"},{zip:"76099",city:"Grapevine",county:"Tarrant"},{zip:"76101",city:"Fort Worth",county:"Tarrant"},{zip:"76102",city:"Fort Worth",county:"Tarrant"},{zip:"76103",city:"Fort Worth",county:"Tarrant"},{zip:"76104",city:"Fort Worth",county:"Tarrant"},{zip:"76105",city:"Fort Worth",county:"Tarrant"},{zip:"76106",city:"Fort Worth",county:"Tarrant"},{zip:"76107",city:"Fort Worth",county:"Tarrant"},{zip:"76108",city:"Fort Worth",county:"Tarrant",note:"Also serves Lakeside and White Settlement."},{zip:"76109",city:"Fort Worth",county:"Tarrant",note:"Also serves Benbrook."},{zip:"76110",city:"Fort Worth",county:"Tarrant"},{zip:"76111",city:"Fort Worth",county:"Tarrant",note:"Also serves Haltom City."},{zip:"76112",city:"Fort Worth",county:"Tarrant"},{zip:"76113",city:"Fort Worth",county:"Tarrant"},{zip:"76114",city:"Fort Worth",county:"Tarrant",note:"Also serves River Oaks."},{zip:"76115",city:"Fort Worth",county:"Tarrant"},{zip:"76116",city:"Fort Worth",county:"Tarrant",note:"Also serves Benbrook."},{zip:"76117",city:"Fort Worth",county:"Tarrant",note:"Also serves Haltom City."},{zip:"76118",city:"Fort Worth",county:"Tarrant",note:"Also serves North Richland Hills and Richland Hills."},{zip:"76119",city:"Fort Worth",county:"Tarrant"},{zip:"76120",city:"Fort Worth",county:"Tarrant"},{zip:"76121",city:"Fort Worth",county:"Tarrant"},{zip:"76122",city:"Fort Worth",county:"Tarrant"},{zip:"76123",city:"Fort Worth",county:"Tarrant"},{zip:"76124",city:"Fort Worth",county:"Tarrant"},{zip:"76126",city:"Fort Worth",county:"Tarrant",note:"Also serves Benbrook."},{zip:"76127",city:"Fort Worth",county:"Tarrant",note:"Naval Air Station / JRB Fort Worth."},{zip:"76129",city:"Fort Worth",county:"Tarrant"},{zip:"76130",city:"Fort Worth",county:"Tarrant"},{zip:"76131",city:"Fort Worth",county:"Tarrant",note:"Also serves Saginaw and Blue Mound."},{zip:"76132",city:"Fort Worth",county:"Tarrant",note:"Also serves Benbrook."},{zip:"76133",city:"Fort Worth",county:"Tarrant"},{zip:"76134",city:"Fort Worth",county:"Tarrant"},{zip:"76135",city:"Fort Worth",county:"Tarrant",note:"Also serves Lake Worth and Lakeside."},{zip:"76136",city:"Fort Worth",county:"Tarrant",note:"Also serves Lake Worth."},{zip:"76137",city:"Fort Worth",county:"Tarrant",note:"Also serves Haltom City."},{zip:"76140",city:"Fort Worth",county:"Tarrant",note:"Also serves Everman."},{zip:"76147",city:"Fort Worth",county:"Tarrant"},{zip:"76148",city:"Fort Worth",county:"Tarrant",note:"Also serves Haltom City and Watauga."},{zip:"76150",city:"Fort Worth",county:"Tarrant"},{zip:"76155",city:"Fort Worth",county:"Tarrant"},{zip:"76161",city:"Fort Worth",county:"Tarrant"},{zip:"76162",city:"Fort Worth",county:"Tarrant"},{zip:"76163",city:"Fort Worth",county:"Tarrant"},{zip:"76164",city:"Fort Worth",county:"Tarrant"},{zip:"76177",city:"Fort Worth",county:"Tarrant"},{zip:"76178",city:"Fort Worth",county:"Tarrant"},{zip:"76179",city:"Fort Worth",county:"Tarrant",note:"Also serves Saginaw."},{zip:"76180",city:"North Richland Hills",county:"Tarrant",note:"Also serves Haltom City, Richland Hills, and Fort Worth."},{zip:"76181",city:"Fort Worth",county:"Tarrant"},{zip:"76182",city:"North Richland Hills",county:"Tarrant",note:"Also serves Fort Worth."},{zip:"76185",city:"Fort Worth",county:"Tarrant"},{zip:"76190",city:"Fort Worth",county:"Tarrant"},{zip:"76191",city:"Fort Worth",county:"Tarrant"},{zip:"76192",city:"Fort Worth",county:"Tarrant"},{zip:"76193",city:"Fort Worth",county:"Tarrant"},{zip:"76195",city:"Fort Worth",county:"Tarrant"},{zip:"76196",city:"Fort Worth",county:"Tarrant"},{zip:"76197",city:"Fort Worth",county:"Tarrant"},{zip:"76198",city:"Fort Worth",county:"Tarrant"},{zip:"76199",city:"Fort Worth",county:"Tarrant"},{zip:"76244",city:"Keller",county:"Tarrant"},{zip:"76248",city:"Keller",county:"Tarrant"},{zip:"75002",city:"Allen",county:"Collin"},{zip:"75009",city:"Celina",county:"Collin"},{zip:"75013",city:"Allen",county:"Collin"},{zip:"75023",city:"Plano",county:"Collin"},{zip:"75024",city:"Plano",county:"Collin"},{zip:"75025",city:"Plano",county:"Collin"},{zip:"75026",city:"Plano",county:"Collin"},{zip:"75033",city:"Frisco",county:"Collin"},{zip:"75034",city:"Frisco",county:"Collin"},{zip:"75035",city:"Frisco",county:"Collin"},{zip:"75036",city:"Frisco",county:"Collin",note:"Frisco spans Collin and Denton counties."},{zip:"75069",city:"McKinney",county:"Collin"},{zip:"75070",city:"McKinney",county:"Collin"},{zip:"75071",city:"McKinney",county:"Collin"},{zip:"75072",city:"McKinney",county:"Collin"},{zip:"75074",city:"Plano",county:"Collin"},{zip:"75075",city:"Plano",county:"Collin"},{zip:"75078",city:"Prosper",county:"Collin"},{zip:"75086",city:"Plano",county:"Collin"},{zip:"75093",city:"Plano",county:"Collin"},{zip:"75094",city:"Murphy",county:"Collin"},{zip:"75097",city:"Weston",county:"Collin"},{zip:"75121",city:"Copeville",county:"Collin",note:"Small community in eastern Collin County near Hunt County line."},{zip:"75164",city:"Josephine",county:"Collin",note:"Josephine spans Collin and Hunt counties."},{zip:"75166",city:"Lavon",county:"Collin"}
412,{zip:"75173",city:"Nevada",county:"Collin"},{zip:"75407",city:"Princeton",county:"Collin"},{zip:"75409",city:"Anna",county:"Collin"},{zip:"75424",city:"Blue Ridge",county:"Collin"},{zip:"75442",city:"Farmersville",county:"Collin"},{zip:"75454",city:"Melissa",county:"Collin"},{zip:"75496",city:"Wolfe City",county:"Collin",note:"Wolfe City spans Collin and Hunt counties."},{zip:"75008",city:"Carrollton",county:"Denton",note:"Carrollton spans Dallas and Denton counties."},{zip:"75022",city:"Flower Mound",county:"Denton",note:"Flower Mound spans Denton and Tarrant counties."},{zip:"75028",city:"Flower Mound",county:"Denton",note:"Flower Mound spans Denton and Tarrant counties."},{zip:"75056",city:"The Colony",county:"Denton"},{zip:"75057",city:"Lewisville",county:"Denton"},{zip:"75065",city:"Lake Dallas",county:"Denton"},{zip:"75067",city:"Lewisville",county:"Denton"},{zip:"75068",city:"Little Elm",county:"Denton",note:"Also serves Oak Point and Lakewood Village."},{zip:"75077",city:"Lewisville",county:"Denton",note:"Also serves Double Oak and Highland Village."},{zip:"76201",city:"Denton",county:"Denton"},{zip:"76202",city:"Denton",county:"Denton"},{zip:"76203",city:"Denton",county:"Denton"},{zip:"76204",city:"Denton",county:"Denton"},{zip:"76205",city:"Denton",county:"Denton"},{zip:"76206",city:"Denton",county:"Denton"},{zip:"76207",city:"Denton",county:"Denton"},{zip:"76208",city:"Corinth",county:"Denton",note:"Also serves Denton and Shady Shores."},{zip:"76209",city:"Denton",county:"Denton"},{zip:"76210",city:"Corinth",county:"Denton",note:"Also serves Denton."},{zip:"76226",city:"Argyle",county:"Denton",note:"Also serves Bartonville and Lantana."},{zip:"76227",city:"Aubrey",county:"Denton",note:"Also serves Cross Roads and Krugerville."},{zip:"76247",city:"Justin",county:"Denton"},{zip:"76249",city:"Krum",county:"Denton"},{zip:"76258",city:"Pilot Point",county:"Denton",note:"Pilot Point spans Denton and Grayson counties."},{zip:"76259",city:"Ponder",county:"Denton"},{zip:"76262",city:"Roanoke",county:"Denton",note:"Also serves Trophy Club and Westlake. Spans Denton and Tarrant counties."},{zip:"76266",city:"Sanger",county:"Denton"},{zip:"76272",city:"Valley View",county:"Denton"},{zip:"75032",city:"Rockwall",county:"Rockwall",note:"Also serves Heath, Fate, and McLendon-Chisholm."},{zip:"75087",city:"Rockwall",county:"Rockwall"},{zip:"75132",city:"Fate",county:"Rockwall"},{zip:"75189",city:"Royse City",county:"Rockwall",note:"Royse City spans Rockwall and Hunt counties."},{zip:"75101",city:"Bardwell",county:"Ellis"},{zip:"75119",city:"Ennis",county:"Ellis"},{zip:"75120",city:"Ennis",county:"Ellis"},{zip:"75125",city:"Ferris",county:"Ellis"},{zip:"75152",city:"Palmer",county:"Ellis"},{zip:"75154",city:"Glenn Heights / Red Oak",county:"Ellis",note:"Spans both Ellis and Dallas counties. Primarily serves Glenn Heights residents."},{zip:"75155",city:"Rice",county:"Ellis"},{zip:"75165",city:"Waxahachie",county:"Ellis"},{zip:"75167",city:"Waxahachie",county:"Ellis"},{zip:"75168",city:"Waxahachie",county:"Ellis"},{zip:"76041",city:"Forreston",county:"Ellis"},{zip:"76065",city:"Midlothian",county:"Ellis",note:"Midlothian spans Ellis and Johnson counties. Portions of this ZIP extend into Johnson County."},{zip:"76084",city:"Venus",county:"Ellis",note:"Venus spans Ellis and Johnson counties."},{zip:"76623",city:"Avalon",county:"Ellis"},{zip:"76651",city:"Italy",county:"Ellis"},{zip:"76670",city:"Milford",county:"Ellis"},{zip:"76009",city:"Alvarado",county:"Johnson"},{zip:"76028",city:"Burleson",county:"Johnson",note:"Burleson spans Johnson and Tarrant counties. Portions of this ZIP extend into Tarrant County."},{zip:"76031",city:"Cleburne",county:"Johnson"},{zip:"76033",city:"Cleburne",county:"Johnson"},{zip:"76044",city:"Godley",county:"Johnson"},{zip:"76050",city:"Grandview",county:"Johnson"},{zip:"76058",city:"Joshua",county:"Johnson"},{zip:"76059",city:"Keene",county:"Johnson"},{zip:"76061",city:"Lillian",county:"Johnson"},{zip:"76064",city:"Maypearl",county:"Johnson"},{zip:"76070",city:"Nemo",county:"Johnson"},{zip:"76093",city:"Rio Vista",county:"Johnson"},{zip:"76097",city:"Burleson",county:"Johnson",note:"Second Burleson ZIP. Burleson spans Johnson and Tarrant counties."},{zip:"75114",city:"Crandall",county:"Kaufman"},{zip:"75118",city:"Elmo",county:"Kaufman"},{zip:"75126",city:"Forney",county:"Kaufman",note:"Also serves Heartland and Talty communities."},{zip:"75142",city:"Kaufman",county:"Kaufman"},{zip:"75143",city:"Kemp",county:"Kaufman"},{zip:"75147",city:"Mabank",county:"Kaufman"},{zip:"75157",city:"Rosser",county:"Kaufman"},{zip:"75158",city:"Scurry",county:"Kaufman"},{zip:"75160",city:"Terrell",county:"Kaufman"},{zip:"75161",city:"Terrell",county:"Kaufman"},{zip:"75169",city:"Wills Point",county:"Kaufman"},{zip:"76008",city:"Aledo",county:"Parker",note:"Also serves Willow Park and Annetta communities."},{zip:"76020",city:"Azle",county:"Parker",note:"Azle spans Parker and Tarrant counties. Portions of this ZIP extend into Tarrant County."},{zip:"76023",city:"Boyd",county:"Parker",note:"Boyd spans Parker and Wise counties."},{zip:"76066",city:"Millsap",county:"Parker"},{zip:"76067",city:"Mineral Wells",county:"Parker"},{zip:"76071",city:"Newark",county:"Parker",note:"Newark spans Parker and Wise counties."},{zip:"76082",city:"Springtown",county:"Parker",note:"Springtown spans Parker and Wise counties."},{zip:"76085",city:"Weatherford",county:"Parker"},{zip:"76086",city:"Weatherford",county:"Parker"},{zip:"76087",city:"Weatherford",county:"Parker",note:"Also serves Willow Park, Hudson Oaks, and Brock."},{zip:"76088",city:"Weatherford",county:"Parker"},{zip:"76098",city:"Azle",county:"Parker",note:"Second Azle ZIP. Azle spans Parker and Tarrant counties."},{zip:"76485",city:"Peaster",county:"Parker"},{zip:"76487",city:"Poolville",county:"Parker"},{zip:"75401",city:"Greenville",county:"Hunt"},{zip:"75402",city:"Greenville",county:"Hunt"},{zip:"75403",city:"Greenville",county:"Hunt"},{zip:"75404",city:"Greenville",county:"Hunt"},{zip:"75422",city:"Campbell",county:"Hunt"},{zip:"75423",city:"Celeste",county:"Hunt"},{zip:"75428",city:"Commerce",county:"Hunt"},{zip:"75429",city:"Commerce",county:"Hunt"},{zip:"75449",city:"Ladonia",county:"Hunt"},{zip:"75453",city:"Lone Oak",county:"Hunt"},{zip:"75458",city:"Merit",county:"Hunt"},{zip:"75474",city:"Quinlan",county:"Hunt",note:"Also serves Hawk Cove. Quinlan is in Hunt County; Fate (75132) is in Rockwall County."},{zip:"76048",city:"Granbury",county:"Hood"},{zip:"76049",city:"Granbury",county:"Hood",note:"Granbury spans Hood and Parker counties. This ZIP primarily covers the Hood County portion."},{zip:"76467",city:"Paluxy",county:"Hood"},{zip:"76476",city:"Tolar",county:"Hood"},{zip:"76073",city:"Paradise",county:"Wise"},{zip:"76078",city:"Rhome",county:"Wise",note:"Rhome spans Wise and Tarrant counties."},{zip:"76225",city:"Alvord",county:"Wise"},{zip:"76234",city:"Decatur",county:"Wise"},{zip:"76270",city:"Sunset",county:"Wise"},{zip:"76426",city:"Bridgeport",county:"Wise"},{zip:"76431",city:"Chico",county:"Wise"},{zip:"76043",city:"Glen Rose",county:"Somervell"},{zip:"76077",city:"Rainbow",county:"Somervell"},{zip:"75020",city:"Denison",county:"Grayson"},{zip:"75021",city:"Denison",county:"Grayson"},{zip:"75058",city:"Gunter",county:"Grayson",note:"Gunter spans Grayson and Collin counties."},{zip:"75076",city:"Pottsboro",county:"Grayson"},{zip:"75090",city:"Sherman",county:"Grayson"},{zip:"75091",city:"Sherman",county:"Grayson"},{zip:"75092",city:"Sherman",county:"Grayson"},{zip:"75414",city:"Bells",county:"Grayson"},{zip:"75459",city:"Howe",county:"Grayson"},{zip:"75489",city:"Tom Bean",county:"Grayson"},{zip:"75491",city:"Whitewright",county:"Grayson"},{zip:"75495",city:"Van Alstyne",county:"Grayson",note:"Van Alstyne spans Grayson and Collin counties."},{zip:"76233",city:"Collinsville",county:"Grayson"},{zip:"76245",city:"Gordonville",county:"Grayson"},{zip:"76264",city:"Sadler",county:"Grayson"},{zip:"76268",city:"Southmayd",county:"Grayson"},{zip:"76271",city:"Tioga",county:"Grayson"},{zip:"76273",city:"Whitesboro",county:"Grayson"}];new Set(Hm.map(e=>e.zip));function gh(e){return Hm.find(t=>t.zip===e)}const yh=["Collin","Dallas","Denton","Tarrant","Rockwall","Ellis","Johnson","Kaufman","Parker","Hunt","Hood","Wise","Somervell","Grayson"],rx="recently_searched_zips",zG=5;function U6(){const[e,t]=T.useState([]),[r,n]=T.useState(!1);T.useEffect(()=>{const l=localStorage.getItem(rx);if(l)try{t(JSON.parse(l))}catch(c){console.error("Failed to parse recently searched:",c)}n(!0)},[]);const a=T.useCallback(l=>{const c=gh(l);if(!c)return;const f={zip:l,city:c.city,county:c.county,timestamp:Date.now()};t(p=>{const g=p.filter(y=>y.zip!==l),m=[f,...g].slice(0,zG);return localStorage.setItem(rx,JSON.stringify(m)),m})},[]),o=T.useCallback(()=>{t([]),localStorage.removeItem(rx)},[]);return{recent:e,addZip:a,clearHistory:o,isLoaded:r}}function $G(){const[,e]=ln(),[t,r]=T.useState(""),[n,a]=T.useState(!1),[o,l]=T.useState(-1),c=T.useRef(null),{recent:f,addZip:p,clearHistory:g}=U6(),{user:m}=eo(),[y,b]=T.useState(!1),C=_e.savedSearch.create.useMutation({onSuccess:()=>{b(!0),Re.success("Search saved! View it in Saved Searches.")},onError:()=>Re.error("Failed to save search. Please sign in first.")}),x=()=>
412{if(!m){Re.error("Please sign in to save searches.");return}const q=I?`${I} County ZIPs`:"All DFW ZIPs";C.mutate({label:q,filters:I?{county:I}:{},alertEnabled:!0})},{data:w}=_e.zip.list.useQuery(),j=q=>{const k=gh(q);if(!k?.note)return[];const H=[],Y=k.note.toLowerCase().match(/also serves\s+([^.]+)/);if(Y){const ae=Y[1].split(/\s+and\s+|,\s+/).map(B=>B.trim().replace(/\.$/,"")).filter(B=>B.length>0);H.push(...ae)}return H},A=t.length>=2?(w??[]).filter(q=>{const k=t.toLowerCase(),H=j(q.zip);return q.zip.startsWith(t)||q.city.toLowerCase().startsWith(k)||q.city.toLowerCase().includes(k)||q.county.toLowerCase().includes(k)||H.some(U=>U.toLowerCase().startsWith(k)||U.toLowerCase().includes(k))}).sort((q,k)=>{const H=t.toLowerCase(),U=j(q.zip),Y=j(k.zip),ae=(V,J,ce)=>V===t?0:J.toLowerCase().startsWith(H)?1:J.toLowerCase().includes(H)?2:ce.some(he=>he.toLowerCase().startsWith(H))?3:4,B=ae(q.zip,q.city,U),K=ae(k.zip,k.city,Y);return B-K}).slice(0,10):[];T.useEffect(()=>{l(-1)},[A.length,t]);const _=q=>{q.match(/^\d{5}$/)&&(p(q),e(`/zip/${q}`))},M=t.match(/^\d{5}$/),N=A[0];M||A.length===1||o>=0&&A[o];const D=()=>{if(o>=0&&A[o]){const q=A[o];r(q.zip),a(!1),p(q.zip),e(`/zip/${q.zip}`)}else M?_(t):A.length===1&&N?(r(N.zip),a(!1),p(N.zip),e(`/zip/${N.zip}`)):A.length>0&&N&&(r(N.zip),a(!1),p(N.zip),e(`/zip/${N.zip}`))},O=q=>{if(!n||A.length===0){q.key==="Enter"&&D();return}q.key==="ArrowDown"?(q.preventDefault(),l(k=>Math.min(k+1,A.length-1))):q.key==="ArrowUp"?(q.preventDefault(),l(k=>Math.max(k-1,-1))):q.key==="Enter"?(q.preventDefault(),D()):q.key==="Escape"&&a(!1)},P=[{icon:Xd,label:"Safety Grade",desc:"AâF ZIP estimates informed by FBI & Texas DPS jurisdiction data",color:"#ef4444"},{icon:is,label:"Education Grade",desc:"ACS attainment and official TEA district metrics mapped to each ZIP",color:"#3b82f6"},{icon:ei,label:"Commute Grade",desc:"Average travel time from Census ACS API",color:"#8b5cf6"},{icon:wr,label:"Income & Demographics",desc:"Median income, race, age, household data",color:"#22c55e"},{icon:Nn,label:"ZIP Comparison",desc:"Side-by-side analysis of up to 3 ZIPs",color:"#f59e0b"},{icon:hh,label:"Interactive Map",desc:"Color-coded grade overlays across DFW",color:"#06b6d4"},{icon:Yo,label:"New Construction",desc:"Search new build communities across DFW with price, bed & sqft filters",color:"#f58220",href:"/new-construction"}],R=Qw(),F=T.useMemo(()=>new URLSearchParams(R).get("county")??null,[R]),[I,L]=T.useState(null);T.useEffect(()=>{F&&(L(F),setTimeout(()=>{const q=document.getElementById("county-browse");q&&q.scrollIntoView({behavior:"smooth",block:"start"})},300))},[F]);const G=T.useMemo(()=>{const q={};return yh.forEach(k=>{q[k]=[]}),Hm.forEach(k=>{q[k.county]&&(q[k.county].find(H=>H.zip===k.zip)||q[k.county].push({zip:k.zip,city:k.city,note:k.note}))}),Object.values(q).forEach(k=>k.sort((H,U)=>H.city.localeCompare(U.city)||H.zip.localeCompare(U.zip))),q},[]),W=[{zip:"75205",city:"Highland Park",grade:"A"},{zip:"75034",city:"Frisco",grade:"A"},{zip:"76092",city:"Southlake",grade:"A"},{zip:"75201",city:"Downtown Dallas",grade:"C"},{zip:"76104",city:"Fort Worth",grade:"D"},{zip:"75025",city:"Plano",grade:"B"}];return d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:213",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/Home.tsx:214"}),d.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:217",className:"relative overflow-hidden py-16 md:py-24",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:219",className:"absolute inset-0 pointer-events-none overflow-hidden",children:[d.jsxs("svg",{"data-loc":"client/src/pages/Home.tsx:220",className:"absolute top-0 right-0 w-96 h-96 opacity-5",viewBox:"0 0 400 400",fill:"none",children:[d.jsx("circle",{"data-loc":"client/src/pages/Home.tsx:221",cx:"200",cy:"200",r:"180",stroke:"#4d7fff",strokeWidth:"1",strokeDasharray:"4 4"}),d.jsx("circle",{"data-loc":"client/src/pages/Home.tsx:222",cx:"200",cy:"200",r:"120",stroke:"#4d7fff",strokeWidth:"1",strokeDasharray:"4 4"}),d.jsx("circle",{"data-loc":"client/src/pages/Home.tsx:223",cx:"200",cy:"200",r:"60",stroke:"#4d7fff",strokeWidth:"1",strokeDasharray:"4 4"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:224",x1:"20",y1:"200",x2:"380",y2:"200",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:225",x1:"200",y1:"20",x2:"200",y2:"380",stroke:"#4d7fff",strokeWidth:"0.5"})]}),d.jsxs("svg",{"data-loc":"client/src/pages/Home.tsx:227",className:"absolute bottom-0 left-0 w-64 h-64 opacity-5",viewBox:"0 0 200 200",fill:"none",children:[d.jsx("rect",{"data-loc":"client/src/pages/Home.tsx:228",x:"10",y:"10",width:"180",height:"180",stroke:"#4d7fff",strokeWidth:"1"}),d.jsx("rect",{"data-loc":"client/src/pages/Home.tsx:229",x:"30",y:"30",width:"140",height:"140",stroke:"#4d7fff",strokeWidth:"0.5",strokeDasharray:"3 3"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:230",x1:"10",y1:"10",x2:"30",y2:"30",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:231",x1:"190",y1:"10",x2:"170",y2:"30",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:232",x1:"10",y1:"190",x2:"30",y2:"170",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/Home.tsx:233",x1:"190",y1:"190",x2:"170",y2:"170",stroke:"#4d7fff",strokeWidth:"0.5"})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:237",className:"container relative",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:239",className:"flex justify-center mb-6",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:240",className:"flex items-center gap-2 px-3 py-1.5 rounded border border-primary/30 bg-primary/10 text-primary text-xs font-mono font-semibold tracking-widest uppercase",children:[d.jsx(br,{"data-loc":"client/src/pages/Home.tsx:241",className:"w-3 h-3"}),"Dallas-Fort Worth Metroplex"]})}),d.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:247",className:"text-center text-4xl md:text-6xl font-black tracking-tight text-foreground mb-4 leading-tight",children:"Neighborhood Report Card"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:250",className:"text-center text-muted-foreground text-lg md:text-xl max-w-2xl mx-auto mb-12 leading-relaxed",children:"Data-Driven grades from every city across the Dallas-Fort Worth Metroplex."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:255",className:"max-w-2xl mx-auto relative",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:256",className:"relative blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:257",className:"flex items-center gap-3 bg-card border border-border rounded px-4 py-3 focus-within:border-primary/60 transition-colors shadow-lg shadow-black/20",children:[d.jsx(id,{"data-loc":"client/src/pages/Home.tsx:258",className:"w-5 h-5 text-muted-foreground flex-shrink-0"}),d.jsx("input",{"data-loc":"client/src/pages/Home.tsx:259",ref:c,type:"text",value:t,onChange:q=>{r(q.target.value),a(!0)}
412,onKeyDown:O,onFocus:()=>a(!0),onBlur:()=>setTimeout(()=>a(!1),200),placeholder:"Enter ZIP code or city name (e.g. 75205 or Frisco)...",className:"flex-1 bg-transparent text-foreground placeholder:text-muted-foreground outline-none text-base font-medium"}),d.jsx(be,{"data-loc":"client/src/pages/Home.tsx:270",size:"sm",onClick:D,disabled:t.length<2,className:"font-semibold px-5",children:"Research"})]}),n&&A.length>0&&d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:282",className:"absolute top-full left-0 right-0 mt-1 bg-card border border-border rounded shadow-xl z-50 overflow-hidden max-h-72 overflow-y-auto",children:A.map((q,k)=>d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:284",onMouseDown:()=>{r(q.zip),a(!1),p(q.zip),e(`/zip/${q.zip}`)},onMouseEnter:()=>l(k),className:`w-full flex items-center gap-3 px-4 py-2.5 text-left transition-colors ${k===o?"bg-primary/20 border-l-2 border-primary":"hover:bg-secondary"}`,children:[d.jsx(br,{"data-loc":"client/src/pages/Home.tsx:292",className:"w-3.5 h-3.5 text-primary flex-shrink-0"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:293",className:"font-mono font-semibold text-foreground text-sm",children:q.zip}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:294",className:"text-muted-foreground text-sm",children:"â"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:295",className:"text-foreground text-sm",children:q.city}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:296",className:"ml-auto text-xs text-muted-foreground font-mono",children:[q.county," Co."]})]},q.zip))})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:302",className:"text-center text-xs text-muted-foreground mt-3 font-mono",children:"Covers all ZIP codes in Collin · Dallas · Denton · Tarrant · Rockwall · Ellis · Johnson · Kaufman · Parker · Hunt · Hood · Wise · Somervell"})]})]})]}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:310",className:"py-8 border-t border-border/30",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:311",className:"container",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:312",className:"max-w-3xl mx-auto rounded border border-primary/30 bg-card blueprint-corner overflow-hidden shadow-lg shadow-black/20",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:313",className:"flex flex-col sm:flex-row items-stretch",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:315",className:"relative sm:w-44 flex-shrink-0 overflow-hidden",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:317",src:xe.headshot,alt:xe.name,className:"block sm:hidden w-full object-contain"}),d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:323",src:xe.headshot,alt:xe.name,className:"hidden sm:block w-full h-full object-cover object-[center_15%]"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:329",className:"absolute inset-0 bg-gradient-to-r from-transparent to-card/20 pointer-events-none"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:333",className:"flex-1 p-6 flex flex-col justify-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:335",className:"flex items-center gap-3 mb-1",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:336",src:xe.brokerLogo,alt:"Coldwell Banker",className:"h-8 object-contain"})}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:342",children:[d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:343",className:"text-2xl font-black text-foreground tracking-tight",children:xe.name}),d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:344",className:"text-sm text-primary font-semibold font-mono mt-0.5",children:[xe.broker," · Dallas-Fort Worth"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:346",className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx(Ka,{"data-loc":"client/src/pages/Home.tsx:347",className:"w-4 h-4 text-primary flex-shrink-0"}),d.jsx("a",{"data-loc":"client/src/pages/Home.tsx:348",href:xe.phoneHref,className:"hover:text-primary transition-colors font-mono font-semibold",children:xe.phone})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:352",className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx(ca,{"data-loc":"client/src/pages/Home.tsx:353",className:"w-4 h-4 text-primary flex-shrink-0"}),d.jsx("a",{"data-loc":"client/src/pages/Home.tsx:354",href:xe.emailHref,className:"hover:text-primary transition-colors font-mono",children:xe.email})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:358",className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx(ad,{"data-loc":"client/src/pages/Home.tsx:359",className:"w-4 h-4 text-primary flex-shrink-0"}),d.jsx("a",{"data-loc":"client/src/pages/Home.tsx:360",href:xe.websiteHref,target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors font-mono",children:xe.website})]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:364",className:"text-xs text-muted-foreground leading-relaxed mt-1",children:"Providing data-driven neighborhood intelligence to help buyers and sellers make confident real estate decisions across the Dallas-Fort Worth Metroplex."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:370",className:"flex-shrink-0 flex flex-col items-center justify-center p-6 border-t sm:border-t-0 sm:border-l border-border/30 gap-2",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:371",className:"text-xs font-mono font-semibold text-muted-foreground uppercase tracking-widest mb-1 flex items-center gap-1",children:[d.jsx(T6,{"data-loc":"client/src/pages/Home.tsx:372",className:"w-3 h-3"}),"Digital Card"]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:375",className:"rounded border border-border/50 overflow-hidden p-1 bg-white",children:d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:376",src:xe.qrCode,alt:"Marcus Carter Digital Business Card QR Code",className:"w-28 h-28 object-contain"})}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:382",className:"text-xs text-muted-foreground font-mono text-center",children:"Scan to connect"})]})]})})})}),f.length>0&&d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:391",className:"py-12 border-t border-border/30",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:392",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:393",className:"flex items-center justify-between mb-6",children:[d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:394",className:"text-sm font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"â Recently Searched"}),d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:397",onClick:g,className:"text-xs text-primary font-mono hover:underline flex items-center gap-1",children:[d.jsx(Ji,{"data-loc":"client/src/pages/Home.tsx:401",className:"w-3 h-3"}),"Clear"]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:405",className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 ga
412p-3",children:f.map(({zip:q,city:k})=>d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:407",onClick:()=>e(`/zip/${q}`),className:"group relative rounded border border-border/50 bg-card p-3 text-left hover:border-primary/40 hover:bg-secondary/50 transition-all blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:412",className:"font-mono text-sm font-bold text-primary",children:q}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:413",className:"text-xs text-muted-foreground mt-0.5 truncate",children:k}),d.jsx(Ua,{"data-loc":"client/src/pages/Home.tsx:414",className:"absolute top-2 right-2 w-3 h-3 text-muted-foreground/40 group-hover:text-primary transition-colors"})]},`${q}-${k}`))})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:423",className:"py-12 border-t border-border/30",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:424",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:425",className:"flex items-center justify-between mb-6",children:[d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:426",className:"text-sm font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"â Quick Access"}),d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:429",className:"text-xs text-muted-foreground font-mono",children:"Click to research"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:431",className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-3",children:W.map(({zip:q,city:k,grade:H})=>d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:433",onClick:()=>e(`/zip/${q}`),className:"group relative rounded border border-border/50 bg-card p-3 text-left hover:border-primary/40 hover:bg-secondary/50 transition-all blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:438",className:"text-xl font-black mb-1 font-mono",style:{color:lt(H)},children:H}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:441",className:"font-mono text-sm font-bold text-foreground",children:q}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:442",className:"text-xs text-muted-foreground mt-0.5 truncate",children:k}),d.jsx(Ua,{"data-loc":"client/src/pages/Home.tsx:443",className:"absolute top-2 right-2 w-3 h-3 text-muted-foreground/40 group-hover:text-primary transition-colors"})]},q))})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:451",id:"county-browse",className:"py-12 border-t border-border/30",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:452",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:453",className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:454",children:[d.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:455",className:"text-sm font-mono font-semibold tracking-widest uppercase text-muted-foreground flex items-center gap-2",children:[d.jsx(Yo,{"data-loc":"client/src/pages/Home.tsx:456",className:"w-4 h-4"}),"â Browse by County"]}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:459",className:"text-xs text-muted-foreground mt-1",children:"Select a county to explore all ZIP codes within it"})]}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:463",className:"flex items-center gap-2",children:[d.jsx(be,{"data-loc":"client/src/pages/Home.tsx:464",variant:"outline",size:"sm",className:"text-xs gap-1.5",onClick:x,disabled:C.isPending||y,children:y?d.jsxs(d.Fragment,{children:[d.jsx(GU,{"data-loc":"client/src/pages/Home.tsx:472",className:"h-3.5 w-3.5 text-emerald-500"})," Saved"]}):d.jsxs(d.Fragment,{children:[d.jsx(Gi,{"data-loc":"client/src/pages/Home.tsx:474",className:"h-3.5 w-3.5"})," Save Search"]})}),I&&d.jsx("button",{"data-loc":"client/src/pages/Home.tsx:478",onClick:()=>{L(null),b(!1)},className:"text-xs text-primary font-mono hover:underline",children:"â Back to all counties"})]})]}),I?d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:511",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:512",className:"flex items-center gap-3 mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:513",className:"flex items-center gap-2 px-3 py-1.5 rounded border border-primary/30 bg-primary/10 text-primary text-sm font-mono font-semibold",children:[d.jsx(br,{"data-loc":"client/src/pages/Home.tsx:514",className:"w-3.5 h-3.5"}),I," County"]}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:517",className:"text-xs text-muted-foreground font-mono",children:[G[I]?.length??0," ZIP codes"]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:521",className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-2",children:(G[I]??[]).map(({zip:q,city:k,note:H})=>d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:523",onClick:()=>e(`/zip/${q}`),className:"group relative rounded border border-border/50 bg-card p-3 text-left hover:border-primary/40 hover:bg-secondary/50 transition-all",title:H??void 0,children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:529",className:"flex items-center justify-between mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:530",className:"font-mono text-sm font-bold text-primary",children:q}),H&&d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:532",className:"w-1.5 h-1.5 rounded-full bg-blue-400 flex-shrink-0",title:"Cross-county ZIP"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:535",className:"text-xs text-muted-foreground truncate",children:k}),d.jsx(Ua,{"data-loc":"client/src/pages/Home.tsx:536",className:"absolute top-2 right-2 w-3 h-3 text-muted-foreground
412/30 group-hover:text-primary transition-colors"})]},q))}),(G[I]??[]).some(q=>q.note)&&d.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:541",className:"mt-3 text-xs text-muted-foreground font-mono flex items-center gap-1.5",children:[d.jsx("span",{"data-loc":"client/src/pages/Home.tsx:542",className:"w-1.5 h-1.5 rounded-full bg-blue-400 inline-block"}),"Blue dot indicates a cross-county ZIP â click the ZIP to see details"]})]}):d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:490",className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-3",children:yh.map(q=>{const k=G[q]?.length??0;return d.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:494",onClick:()=>L(q),className:"group relative rounded border border-border/50 bg-card p-4 text-left hover:border-primary/50 hover:bg-secondary/50 transition-all blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:499",className:"flex items-start justify-between mb-2",children:[d.jsx(br,{"data-loc":"client/src/pages/Home.tsx:500",className:"w-4 h-4 text-primary"}),d.jsx(zm,{"data-loc":"client/src/pages/Home.tsx:501",className:"w-3 h-3 text-muted-foreground/40 group-hover:text-primary transition-colors"})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:503",className:"font-bold text-foreground text-sm",children:q}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:504",className:"text-xs text-muted-foreground font-mono mt-1",children:[k," ZIP",k!==1?"s":""]})]},q)})})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:552",className:"py-16 border-t border-border/30",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:553",className:"container",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:554",className:"text-center mb-12",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:555",className:"inline-flex items-center gap-2 px-3 py-1 rounded border border-border/50 text-xs font-mono text-muted-foreground mb-4",children:"FEATURE SET"}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:558",className:"text-2xl md:text-3xl font-black text-foreground mb-3",children:"Everything You Need in One Tool"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:561",className:"text-muted-foreground max-w-xl mx-auto",children:"Data-driven insights to win more listings and guide smarter buyer decisions across all 13 DFW counties."})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:565",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:P.map(({icon:q,label:k,desc:H,color:U,href:Y})=>d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:568",className:`relative rounded border bg-card p-5 blueprint-corner transition-colors ${Y?"border-[#f58220]/40 hover:border-[#f58220]/70 cursor-pointer group":"border-border/50 hover:border-primary/30"}`,onClick:Y?()=>e(Y):void 0,children:[Y&&d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:578",className:"absolute top-3 right-3 flex items-center gap-1 px-2 py-0.5 rounded-full bg-[#f58220]/15 border border-[#f58220]/30 text-[10px] font-bold text-[#f58220] uppercase tracking-wider",children:[d.jsx(Yo,{"data-loc":"client/src/pages/Home.tsx:579",className:"w-2.5 h-2.5"}),"New"]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:583",className:"w-10 h-10 rounded flex items-center justify-center mb-4",style:{backgroundColor:`${U}20`,border:`1px solid ${U}40`},children:d.jsx(q,{"data-loc":"client/src/pages/Home.tsx:587",className:"w-5 h-5",style:{color:U}})}),d.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:589",className:"font-bold text-foreground mb-1",children:k}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:590",className:"text-sm text-muted-foreground leading-relaxed",children:H}),Y&&d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:592",className:"mt-3 flex items-center gap-1 text-xs font-semibold text-[#f58220] group-hover:gap-2 transition-all",children:["Search now ",d.jsx(Ua,{"data-loc":"client/src/pages/Home.tsx:593",className:"w-3 h-3"})]})]},k))})]})}),d.jsx("section",{"data-loc":"client/src/pages/Home.tsx:605",className:"py-16 border-t border-border/30",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:606",className:"container",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:607",className:"relative rounded border border-primary/30 bg-primary/5 p-8 md:p-12 text-center blueprint-corner overflow-hidden",children:[d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:608",className:"absolute inset-0 pointer-events-none",children:d.jsxs("svg",{"data-loc":"client/src/pages/Home.tsx:609",className:"absolute top-0 right-0 w-48 h-48 opacity-5",viewBox:"0 0 200 200",fill:"none",children:[d.jsx("path",{"data-loc":"client/src/pages/Home.tsx:610",d:"M10 10 L190 10 L190 190 L10 190 Z",stroke:"#4d7fff",strokeWidth:"1"}),d.jsx("path",{"data-loc":"client/src/pages/Home.tsx:611",d:"M30 30 L170 30 L170 170 L30 170 Z",
412stroke:"#4d7fff",strokeWidth:"0.5",strokeDasharray:"3 3"})]})}),d.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:614",className:"text-2xl md:text-3xl font-black text-foreground mb-3",children:"Ready to Research Your First ZIP?"}),d.jsx("p",{"data-loc":"client/src/pages/Home.tsx:617",className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Enter any DFW ZIP code above to get a complete neighborhood intelligence report â instant and data-driven."}),d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:620",className:"flex flex-col sm:flex-row gap-3 justify-center",children:[d.jsxs(be,{"data-loc":"client/src/pages/Home.tsx:621",size:"lg",className:"font-bold",onClick:()=>c.current?.focus(),children:[d.jsx(id,{"data-loc":"client/src/pages/Home.tsx:622",className:"w-4 h-4 mr-2"}),"Search a ZIP Code"]}),d.jsxs(be,{"data-loc":"client/src/pages/Home.tsx:625",size:"lg",variant:"outline",onClick:()=>e("/compare"),children:[d.jsx(Nn,{"data-loc":"client/src/pages/Home.tsx:626",className:"w-4 h-4 mr-2"}),"Compare ZIP Codes"]}),d.jsxs(be,{"data-loc":"client/src/pages/Home.tsx:629",size:"lg",variant:"outline",onClick:()=>e("/map"),children:[d.jsx(hh,{"data-loc":"client/src/pages/Home.tsx:630",className:"w-4 h-4 mr-2"}),"View Map"]})]})]})})}),d.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:639",className:"border-t border-border/30 py-8",children:d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:640",className:"container",children:d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:641",className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:642",className:"flex items-center gap-3",children:[d.jsx("img",{"data-loc":"client/src/pages/Home.tsx:643",src:xe.brokerLogo,alt:"Coldwell Banker",className:"h-5 object-contain opacity-60"}),d.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:644",className:"text-xs text-muted-foreground font-mono",children:[xe.name," · ",xe.phone]})]}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:646",className:"text-xs text-muted-foreground font-mono text-center",children:"Data: U.S. Census ACS · FBI CDE · Texas DPS · Official TEA TAPR"}),d.jsx("div",{"data-loc":"client/src/pages/Home.tsx:649",className:"text-xs text-muted-foreground font-mono",children:"DFW ZIP Intelligence â Professional Use Only"})]})})})]})}function Wo({label:e,grade:t,score:r,description:n,icon:a,size:o="md",badge:l,freshness:c}){const f=t??"?",p=lt(f),g=Yi(f);return d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:20",className:`relative rounded border border-border/50 bg-card p-4 blueprint-corner transition-all hover:border-primary/30 hover:bg-card/80 ${o==="lg"?"p-6":""}`,children:[d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:22",className:"flex items-start justify-between gap-3 mb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:23",className:"flex items-center gap-2",children:[a&&d.jsx("span",{"data-loc":"client/src/components/GradeCard.tsx:24",className:"text-muted-foreground",children:a}),d.jsx("span",{"data-loc":"client/src/components/GradeCard.tsx:25",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:e})]}),d.jsx("div",{"data-loc":"client/src/components/GradeCard.tsx:28",className:`grade-badge ${g} border`,style:{color:p,borderColor:`${p}60`},children:f})]}),r!==null&&d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:38",className:"mb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:39",className:"flex justify-between items-center mb-1",children:[d.jsx("span",{"data-loc":"client/src/components/GradeCard.tsx:40",className:"text-xs text-muted-foreground font-mono",children:"Score"}),d.jsxs("span",{"data-loc":"client/src/components/GradeCard.tsx:41",className:"text-xs font-mono font-bold",style:{color:p},children:[r,"/100"]})]}),d.jsx("div",{"data-loc":"client/src/components/GradeCard.tsx:43",className:"h-1.5 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/components/GradeCard.tsx:44",className:"h-full rounded-full transition-all duration-700",style:{width:`${r}%`,backgroundColor:p}})})]}),n&&d.jsx("p",{"data-loc":"client/src/components/GradeCard.tsx:54",className:"text-xs text-muted-foreground leading-relaxed",children:n}),l&&d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:59",className:"mt-2 inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-primary/30 bg-primary/5 text-xs font-mono text-primary/80",children:[d.jsx("span",{"data-loc":"client/src/components/GradeCard.tsx:60",className:"w-1.5 h-1.5 rounded-full bg-primary/60 inline-block"}),l]}),c&&d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:67",className:"mt-2 inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-green-500/30 bg-green-500/5 text-xs font-mono text-green-600 dark:text-green-400",children:[d.jsx("span",{"data-loc":"client/src/components/GradeCard.tsx:68",className:"w-1.5 h-1.5 rounded-full bg-green-500 animate-pulse inline-block"}),c]}),d.jsxs("div",{"data-loc":"client/src/components/GradeCard.tsx:74",className:"absolute bottom-2 right-2 flex items-center gap-1 opacity-20",children:[d.jsx("div",{"data-loc":"client/src/components/GradeCard.tsx:75",className:"w-4 h-px bg-primary"}),d.jsx("div",{"data-loc":"client/src/components/GradeCard.tsx:76",className:"w-px h-1.5 bg-primary"})]})]})}const W2={75201:"Dallas ISD",75202:"Dallas ISD",75203:"Dallas ISD",75204:"Dallas ISD",75205:"Highland Park ISD",75206:"Dallas ISD",75207:"Dallas ISD",75208:"Dallas ISD",75209:"Dallas ISD",75210:"Dallas ISD",75211:"Dallas ISD",75212:"Dallas ISD",75214:"Dallas ISD",75215:"Dallas ISD",75216:"Dallas ISD",75217:"Dallas ISD",75218:"Dallas ISD",75219:"Dallas ISD",75220:"Dallas ISD",75223:"Dallas ISD",75224:"Dallas ISD",75225:"Highland Park ISD",75226:"Dallas ISD",75227:"Dallas ISD",75228:"Dallas ISD",75229:"Dallas ISD",75230:"Dallas ISD",75231:"Dallas ISD",75232:"Dallas ISD",75233:"Dallas ISD",75234:"Carrollton-Farmers Branch ISD",75235:"Dallas ISD",75236:"Dallas ISD",75237:"Dallas ISD",75238:"Dallas ISD",75240:"Richardson ISD",75241:"Dallas ISD",75243:"Richardson ISD",75244:"Dallas ISD",75246:"Dallas ISD",75247:"Dallas ISD",75248:"Richardson ISD",75249:"Dallas ISD",75251:"Dallas ISD",75252:"Plano ISD",75253:"Dallas ISD",75254:"Richardson ISD",75001:"Carrollton-Farmers Branch ISD",75006:"Carrollton-Farmers Branch ISD",75007:"Carrollton-Farmers Branch ISD",75010:"Carrollton-Farmers Branch ISD",75011:"Carrollton-Farmers Branch ISD",75019:"Coppell ISD",75038:"Irving ISD",75039:"Irving ISD",75040:"Garland ISD",75041:"Garland ISD",75042:"Garland ISD",75043:"Garland ISD",75044:"Garland ISD",75048:"Garland ISD",75050:"Grand Prairie ISD",75051:"Grand Prairie ISD",75052:"Grand Prairie ISD",75054:"Grand Prairie ISD",75060:"Irving ISD",75061:"Irving ISD",75062:"Irving ISD",75063:"Coppell ISD",75080:"Richardson ISD",75081:"Richardson ISD",75082:"Richardson ISD",75088:"Garland ISD",75089:"Garland ISD",75098:"Wylie ISD",75116:"Duncanville ISD",75134:"Lancaster ISD",75137:"Duncanville ISD",75141:"Wilmer-Hutchins ISD",75146:"Lancaster ISD",75149:"Mesquite ISD",75150:"Mesquite ISD",75159:"Mesquite ISD",75172:"Wilmer-Hutchins ISD",75180:"Mesquite ISD",75181:"Mesquite ISD",75182:"Sunnyvale ISD",75115:"DeSoto ISD",75123:"DeSoto ISD",75104:"Cedar Hill ISD",75106:"Cedar Hill ISD",75138:"Duncanville ISD",75045:"Garland ISD",75046:"Garland ISD",75047:"Garland ISD",75049:"Garland ISD",75053:"Grand Prairie ISD",75083:"Richardson ISD",75185:"Mesquite ISD",75187:"Mesquite ISD",75221:"Dallas ISD",75222:"Dallas ISD",75242:"Dallas ISD",75245:"Dallas ISD",75250:"Dallas ISD",75260:"Dallas ISD",75261:"Dallas ISD",75270:"Dallas ISD",75390:"Dallas ISD",75002:"Allen ISD",75013:"Allen ISD",75023:"Plano ISD",75024:"Plano ISD",75025:"Plano ISD",75034:"Frisco ISD",75035:"Frisco ISD",75070:"McKinney ISD",75071:"McKinney ISD",75072:"McKinney ISD",75074:"Plano ISD",75075:"Plano ISD",75078:"Prosper ISD",75093:"Plano ISD",75094:"Plano ISD",75166:"Lovejoy ISD",75173:"Princeton ISD",75407:"Princeton ISD",75409:"Anna ISD",75442:"Farmersville ISD",75454:"Melissa ISD",75069:"McKinney ISD",75033:"Frisco ISD",75036:"Frisco ISD",75097:"Celina ISD",75009:"Celina ISD",75026:"Plano ISD",75424:"Blue Ridge ISD",75496:"Wolfe City ISD",75022:"Lewisville ISD",75028:"Flower Mound / Lewisville ISD",75056:"Lewisville ISD",75057:"Lewisville ISD",75065:"Lake Dallas ISD",75067:"Lewisville ISD",75068:"Little Elm ISD",75077:"Lewisville ISD",75287:"Lewisville ISD",76201:"Denton ISD",76202:"Denton ISD",76203:"Denton ISD",76204:"Denton ISD",76205:"Denton ISD",76206:"Denton ISD",76207:"Denton ISD",76208:"Denton ISD",76209:"Denton ISD",76210:"Denton ISD",76226:"Argyle ISD",76227:"Aubrey ISD",76234:"Decatur ISD",76247:"Northwest ISD",76249:"Krum ISD",76258:"Pilot Point ISD",76259:"Ponder ISD",76262:"Northwest ISD",76266:"Sanger ISD",76272:"Valley View ISD",76101:"Fort Worth ISD",76102:"Fort Worth ISD",76103:"Fort Worth ISD",76104:"Fort Worth ISD",76105:"Fort Worth ISD",76106:"Fort Worth ISD",76107:"Fort Worth ISD",76108:"White Settlement ISD",76109:"Fort Worth ISD",76110:"Fort Worth ISD",76111:"Fort Worth ISD",76112:"Fort Worth ISD",76114:"Fort Worth ISD",76115:"Fort Worth ISD",76116:"Fort Worth ISD",76117:"Haltom City / Birdville ISD",76118:"Hurst-Euless-Bedford ISD",76119:"Fort Worth ISD",76120:"Fort Worth ISD",76123:"Fort Worth ISD",76126:"Fort Worth ISD",76127:"Fort Worth ISD",76129:"Fort Worth ISD",76131:"Eagle Mountain-Saginaw ISD",76132:"Fort Worth ISD",76133:"Fort Worth ISD",76134:"Fort Worth ISD",76135:"Fort Worth ISD",76137:"Keller ISD",76140:"Fort Worth ISD",76148:"Birdville ISD",76155:"Hurst-Euless-Bedford ISD",76164:"Fort Worth ISD",76177:"Northwest ISD",76179:"Eagle Mountain-Saginaw ISD",76180:"Birdville ISD",76182:"Keller ISD",76244:"Keller ISD",76248:"Keller ISD",76052:"Eagle Mountain-Saginaw ISD",76092:"Carroll ISD",76094:"Arlington ISD",76095:"Hurst-Euless-Bedford ISD",76096:"Arlington ISD",76099:"Grapevine-Colleyville ISD",76034:"Grapevine-Colleyville ISD",76051:"Grapevine-Colleyville ISD",76113:"Fort Worth ISD",76121:"Fort Worth ISD",76122:"Fort Worth ISD",76124:"Fort Worth ISD",76130:"Fort Worth ISD",76136:"Fort Worth ISD",76147:"Fort Worth ISD",76150:"Fort Worth ISD",76161:"Fort Worth ISD",76162:"Fort Worth ISD",76163:"Fort Worth ISD",76185:"Fort Worth ISD",76190:"Fort Worth ISD",76191:"Fort Worth ISD",76192:"Fort Worth ISD",76193:"Fort Worth ISD",76195:"Fort Worth ISD",76196:"Fort Worth ISD",76197:"Fort Worth ISD",76198:"Fort Worth ISD",76199:"Fort Worth ISD",76010:"Arlington ISD",76011:"Arlington ISD",76012:"Arlington ISD",76013:"Arlington ISD",76014:"Arlington ISD",76015:"Arlington ISD",76016:"Arlington ISD",76017:"Arlington ISD",76018:"Arlington ISD",76001:"Arlington ISD",76002:"Arlington ISD",76006:"Arlington ISD",76022:"Hurst-Euless-Bedford ISD",76039:"Hurst-Euless-Bedford ISD",76040:"Hurst-Euless-Bedford ISD",76053:"Hurst-Euless-Bedford ISD",76054:"Keller ISD",76063:"Mansfield ISD",76028:"Burleson ISD",76031:"Cleburne ISD",76033:"Cleburne ISD",76036:"Crowley ISD",76050:"Mansfield ISD",76058:"Mansfield ISD",76059:"Keene ISD",76060:"Kennedale ISD",76061:"Alvarado ISD",76064:"Maypearl ISD",76065:"Midlothian ISD",76093:"Rio Vista ISD",75032:"Rockwall ISD",75087:"Rockwall ISD",75189:"Royse City ISD",75474:"Royse City ISD",75101:"Ennis ISD",75119:"Ennis ISD",75120:"Ennis ISD",75125:"Ferris ISD",75154:"Red Oak ISD / Glenn Heights (serves both Ellis & Dallas Co.)",75155:"Rice ISD",75165:"Waxahac
412hie ISD",75167:"Waxahachie ISD",75168:"Waxahachie ISD",76084:"Venus ISD",76044:"Godley ISD",76070:"Alvarado ISD",75114:"Crandall ISD",75117:"Edgewood ISD",75126:"Forney ISD",75142:"Kaufman ISD",75143:"Kemp ISD",75147:"Mabank ISD",75157:"Ennis ISD",75158:"Scurry-Rosser ISD",75160:"Terrell ISD",75161:"Terrell ISD",75169:"Wills Point ISD",76020:"Azle ISD",76049:"Granbury ISD",76066:"Millsap ISD",76067:"Mineral Wells ISD",76068:"Mineral Wells ISD",76071:"Azle ISD",76082:"Springtown ISD",76085:"Weatherford ISD",76086:"Weatherford ISD",76087:"Weatherford ISD",76088:"Weatherford ISD",75401:"Greenville ISD",75402:"Greenville ISD",75403:"Greenville ISD",75422:"Campbell ISD",75423:"Celeste ISD",75428:"Commerce ISD",75429:"Commerce ISD",75453:"Quinlan ISD",76048:"Granbury ISD",76073:"Paradise ISD",76078:"Decatur ISD",76270:"Decatur ISD",76271:"Slidell ISD",76043:"Glen Rose ISD",76077:"Glen Rose ISD"};function sd(e){return W2[e]??"Independent School District"}const LG={75201:["Downtown Dallas","Arts District","West End Historic District"],75202:["Downtown Dallas","Reunion District","Cedars"],75203:["Oak Cliff","Kessler Park","Stevens Park"],75204:["Uptown","Knox-Henderson","Lower Greenville","Bryan Place"],75205:["Highland Park","University Park","Turtle Creek"],75206:["Lower Greenville","M Streets","Lakewood Heights"],75207:["Design District","Trinity Groves","Market Center"],75208:["Oak Cliff","Winnetka Heights","Kessler Park","Bishop Arts District"],75209:["Bluffview","Briarwood","Lovers Lane"],75210:["Fair Park","South Dallas","Bonton"],75211:["Oak Cliff","Cockrell Hill","Westmoreland"],75212:["West Dallas","Trinity Groves","La Bajada"],75214:["Lakewood","Lakewood Heights","Lindsley Park","Junius Heights"],75215:["South Dallas","Fair Park","Joppa"],75216:["Oak Cliff","Wynnewood North","Kiestwood"],75217:["Pleasant Grove","Urbandale","Buckner Terrace"],75218:["Lake Highlands","White Rock Lake","Lakewood"],75219:["Oak Lawn","Turtle Creek","Cedar Springs"],75220:["Preston Hollow","Midway Hollow","Bachman Lake"],75221:["Deep Ellum","Baylor Hospital District"],75223:["Lakewood","Hollywood Heights","Munger Place"],75224:["Oak Cliff","Elmwood","Stevens Park Estates"],75225:["Preston Hollow","University Park","Devonshire"],75226:["Deep Ellum","Old East Dallas","Exposition Park"],75227:["Mesquite border","Pleasant Grove","Buckner Terrace"],75228:["Lake Highlands","Buckner Terrace","Casa Linda"],75229:["Preston Hollow","Royal Lane","Midway Hollow"],75230:["Preston Hollow","Far North Dallas","Hillcrest"],75231:["Lake Highlands","Vickery Meadow","Richland Hills"],75232:["Oak Cliff","Red Bird","Kiestwood"],75233:["Oak Cliff","Cockrell Hill","Westcliff"],75234:["Farmers Branch","Valwood","Brookhaven"],75235:["Love Field","Medical District","Oak Lawn"],75236:["Oak Cliff","Duncanville border","Redbird"],75237:["Oak Cliff","Duncanville border","Wheatland"],75238:["Lake Highlands","White Rock","Lakewood"],75240:["Far North Dallas","Greenville Ave Corridor","Northwood Hills"],75241:["South Dallas","Hutchins border","Bonton"],75243:["Lake Highlands","Vickery Meadow","Greenville Ave Corridor"],75244:["Far North Dallas","Addison border","Northwood Hills"],75246:["Old East Dallas","Baylor Hospital District","Bryan Place"],75247:["Design District","Stemmons Corridor","West Dallas"],75248:["Far North Dallas","Prestonwood","Bent Tree"],75249:["Duncanville border","Cedar Hill border","Redbird"],75251:["Far North Dallas","Prestonwood","Northwood Hills"],75252:["Far North Dallas","Prestonwood","Addison border"],75253:["Seagoville border","Balch Springs border","Pleasant Grove"],75040:["Garland","Firewheel","Duck Creek"],75041:["Garland","South Garland","Rowlett border"],75042:["Garland","Central Garland","Richland College area"],75043:["Garland","Lake Ray Hubbard","Rowlett border"],75044:["Garland","Firewheel","North Garland"],75048:["Sachse","Wylie border","Murphy border"],75149:["Mesquite","Sunnyvale border","Balch Springs border"],75150:["Mesquite","Sunnyvale border","East Dallas border"],75038:["Irving","Las Colinas","Valley Ranch"],75039:["Irving","Las Colinas","Coppell border"],75061:["Irving","Central Irving","Heritage District"],75062:["Irving","North Irving","Las Colinas border"],75063:["Irving","Valley Ranch","Coppell border"],75050:["Grand Prairie","Dalworth Park","Tarrant County border"],75051:["Grand Prairie","Central Grand Prairie","Arlington border"],75052:["Grand Prairie","South Grand Prairie","Mansfield border"],75054:["Grand Prairie","Mountain Creek","Cedar Hill border"],75104:["Cedar Hill","Duncanville border","Ellis County border"],75106:["Cedar Hill","South Cedar Hill","Midlothian border"],75088:["Rowlett","Lake Ray Hubbard","Rockwall border"],75089:["Rowlett","North Rowlett","Sachse border"],76101:["Downtown Fort Worth","Sundance Square"],76102:["Downtown Fort Worth","Cultural District border","Near Southside"],76103:["East Fort Worth","Stop Six","Meadowbrook"],76104:["Near Southside","Fairmount","Magnolia Ave Corridor"],76105:["East Fort Worth","Polytechnic Heights","Stop Six"],76106:["North Fort Worth","Northside","Stockyards"],76107:["Cultural District","Monticello","Ridglea"],76108:["West Fort Worth","White Settlement border","Lake Worth border"],76109:["TCU Area","Tanglewood","Overton Park"],76110:["Near Southside","Fairmount","Ryan Place"],76111:["North Fort Worth","Riverside","Haltom City border"],76112:["East Fort Worth","Meadowbrook","Handley"],76114:["River Oaks","Westworth Village","Lake Worth border"],76115:["South Fort Worth","Wedgwood","Everman border"],76116:["Ridglea","Westover Hills","Benbrook border"],76117:["Haltom City","North Fort Worth border"],76118:["Richland Hills","Hurst border","NRH border"],76119:["Southeast Fort Worth","Everman border","Kennedale border"],76120:["East Fort Worth","Lakeside","Arlington border"],76123:["South Fort Worth","Crowley border","Burleson border"],76126:["Benbrook","Aledo border","Westover Hills"],76132:["Southwest Fort Worth","Wedgwood","Hulen Corridor"],76133:["Southwest Fort Worth","Wedgwood","Crowley border"],76134:["South Fort Worth","Crowley border","Kennedale border"],76135:["Lake Worth","Azle border","Eagle Mountain
412Lake"],76137:["North Fort Worth","Keller border","Fossil Creek"],76140:["Everman","South Fort Worth border","Kennedale border"],76148:["Watauga","North Richland Hills border","Keller border"],76155:["DFW Airport area","Hurst border","Euless border"],76164:["Northside","Stockyards","North Fort Worth"],76177:["Alliance Corridor","North Fort Worth","Keller border"],76179:["Lake Worth","Azle border","Eagle Mountain"],76001:["South Arlington","Mansfield border","Kennedale border"],76002:["South Arlington","Pantego border","Mansfield border"],76006:["Central Arlington","Entertainment District","Six Flags area"],76010:["Central Arlington","UTA area","East Arlington"],76011:["Central Arlington","Downtown Arlington","UTA area"],76012:["West Arlington","Pantego border","Grand Prairie border"],76013:["West Arlington","Pantego border","Dalworthington Gardens"],76014:["East Arlington","South Arlington border"],76015:["South Arlington","Pantego border"],76016:["West Arlington","Dalworthington Gardens border"],76017:["South Arlington","Kennedale border","Mansfield border"],76018:["South Arlington","Mansfield border"],76051:["Grapevine","Southlake border","Colleyville border","DFW Airport area"],76034:["Colleyville","Grapevine border","Keller border","Southlake border"],76092:["Southlake","Westlake border","Keller border","Trophy Club border"],76053:["Hurst","North Richland Hills border","Euless border"],76054:["Hurst","Colleyville border","Keller border"],76039:["Euless","Bedford border","Grapevine border"],76040:["Euless","Bedford border","Arlington border"],76021:["Bedford","Hurst border","Euless border"],76022:["Bedford","North Richland Hills border","Hurst border"],76180:["North Richland Hills","Haltom City border","Richland Hills border"],76182:["North Richland Hills","Keller border","Colleyville border"],75023:["Plano","West Plano","Legacy Corridor"],75024:["Plano","Legacy West","The Colony border"],75025:["Plano","East Plano","Murphy border"],75074:["Plano","East Plano","Garland border"],75075:["Plano","Central Plano","Richardson border"],75033:["Frisco","South Frisco","Little Elm border"],75034:["Frisco","Central Frisco","Prosper border"],75035:["Frisco","East Frisco","McKinney border"],75036:["Frisco","West Frisco","Little Elm border"],75069:["McKinney","Historic Downtown McKinney","East McKinney"],75070:["McKinney","West McKinney","Frisco border"],75071:["McKinney","North McKinney","Prosper border"],75072:["McKinney","Craig Ranch","Stonebridge Ranch"],75002:["Allen","East Allen","Plano border"],75013:["Allen","West Allen","Frisco border"],75098:["Wylie","Sachse border","Murphy border","Rockwall border"],76201:["Denton","UNT area","TWU area","Downtown Denton"],76205:["Denton","South Denton","Corinth border"],76207:["Denton","West Denton","Argyle border"],76208:["Denton","East Denton","Corinth border"],76209:["Denton","North Denton","Sanger border"],76210:["Denton","South Denton","Highland Village border"],75022:["Flower Mound","Lakeside","Grapevine Lake area","Tarrant County border"],75028:["Flower Mound","East Flower Mound","Lewisville border","Tarrant County border"],75056:["The Colony","Lewisville border","Frisco border"],75057:["Lewisville","Central Lewisville","Carrollton border"],75067:["Lewisville","West Lewisville","Flower Mound border"],75077:["Lewisville","North Lewisville","Highland Village border"],75006:["Carrollton","South Carrollton","Farmers Branch border"],75007:["Carrollton","Central Carrollton","Addison border"],75010:["Carrollton","North Carrollton","Lewisville border"],75068:["Little Elm","Frisco border","The Colony border","Lake Lewisville area"],76262:["Roanoke","Trophy Club border","Westlake border","Tarrant County border"],75032:["Rockwall","Heath border","Lake Ray Hubbard"],75087:["Rockwall","Fate border","Royse City border"],75154:["Glenn Heights","Red Oak border","Dallas County border"],76065:["Midlothian","Waxahachie border","Johnson County border"],76028:["Burleson","South Burleson","Tarrant County border","Joshua border"],76031:["Cleburne","Central Cleburne","Godley border"],76033:["Cleburne","
412East Cleburne","Grandview border"],75126:["Forney","Mesquite border","Sunnyvale border"],75142:["Kaufman","Terrell border"],76020:["Azle","Springtown border","Tarrant County border","Eagle Mountain Lake"],76049:["Granbury","Acton","Hood County border","Parker County border"],76082:["Springtown","Azle border","Wise County border"],75401:["Greenville","Central Greenville","Commerce border"],75402:["Greenville","East Greenville","Quinlan border"],76048:["Granbury","Acton","Lake Granbury area"],76078:["Rhome","Newark border","Tarrant County border"],76071:["Newark","Rhome border","Parker County border"]};function ld(e){return LG[e]??[]}var nx,J5;function Fr(){if(J5)return nx;J5=1;var e=Array.isArray;return nx=e,nx}var ax,eD;function G6(){if(eD)return ax;eD=1;var e=typeof Ap=="object"&&Ap&&Ap.Object===Object&&Ap;return ax=e,ax}var ix,tD;function va(){if(tD)return ix;tD=1;var e=G6(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return ix=r,ix}var ox,rD;function ef(){if(rD)return ox;rD=1;var e=va(),t=e.Symbol;return ox=t,ox}var sx,nD;function HG(){if(nD)return sx;nD=1;var e=ef(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,a=e?e.toStringTag:void 0;function o(l){var c=r.call(l,a),f=l[a];try{l[a]=void 0;var p=!0}catch{}var g=n.call(l);return p&&(c?l[a]=f:delete l[a]),g}return sx=o,sx}var lx,aD;function BG(){if(aD)return lx;aD=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return lx=r,lx}var cx,iD;function oi(){if(iD)return cx;iD=1;var e=ef(),t=HG(),r=BG(),n="[object Null]",a="[object Undefined]",o=e?e.toStringTag:void 0;function l(c){return c==null?c===void 0?a:n:o&&o in Object(c)?t(c):r(c)}return cx=l,cx}var ux,oD;function si(){if(oD)return ux;oD=1;function e(t){return t!=null&&typeof t=="object"}return ux=e,ux}var dx,sD;function mc(){if(sD)return dx;sD=1;var e=oi(),t=si(),r="[object Symbol]";function n(a){return typeof a=="symbol"||t(a)&&e(a)==r}return dx=n,dx}var fx,lD;function Yw(){if(lD)return fx;lD=1;var e=Fr(),t=mc(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(o,l){if(e(o))return!1;var c=typeof o;return c=="number"||c=="symbol"||c=="boolean"||o==null||t(o)?!0:n.test(o)||!r.test(o)||l!=null&&o in Object(l)}return fx=a,fx}var px,cD;function to(){if(cD)return px;cD=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return px=e,px}var hx,uD;function Xw(){if(uD)return hx;uD=1;var e=oi(),t=to(),r="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",o="[object Proxy]";function l(c){if(!t(c))return!1;var f=e(c);return f==n||f==a||f==r||f==o}return hx=l,hx}var mx,dD;function qG(){if(dD)return mx;dD=1;var e=va(),t=e["__core-js_shared__"];return mx=t,mx}var gx,fD;function FG(){if(fD)return gx;fD=1;var e=qG(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return gx=r,gx}var yx,pD;function W6(){if(pD)return yx;pD=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return yx=r,yx}var vx,hD;function UG(){if(hD)return vx;hD=1;var e=Xw(),t=FG(),r=to(),n=W6(),a=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,f=l.toString,p=c.hasOwnProperty,g=RegExp("^"+f.call(p).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(y){if(!r(y)||t(y))return!1;var b=e(y)?g:o;return b.test(n(y))}return vx=m,vx}var xx,mD;function GG(){if(mD)return xx;mD=1;function e(t,r){return t?.[r]}return xx=e,xx}var bx,gD;function vs(){if(gD)return bx;gD=1;var e=UG(),t=GG();function r(n,a){var o=t(n,a);return e(o)?o:void 0}return bx=r,bx}var Sx,yD;function Bm(){if(yD)return Sx;yD=1;var e=vs(),t=e(Object,"create");return Sx=t,Sx}var wx,vD;function WG(){if(vD)return wx;vD=1;var e=Bm();function t(){this.__data__=e?e(null):{},this.size=0}return wx=t,wx}var Cx,xD;function ZG(){if(xD)return Cx;xD=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Cx=e,Cx}var jx,bD;function KG(){if(bD)return jx;bD=1;var e=Bm(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(o){var l=this.__data__;if(e){var c=l[o];return c===t?void 0:c}return n.call(l,o)?l[o]:void 0}return jx=a,jx}var Ox,SD;function VG(){if(SD)return Ox;SD=1;var e=Bm(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var o=this.__data__;return e?o[a]!==void 0:r.call(o,a)}return Ox=n,Ox}var Nx,wD;function QG(){if(wD)return Nx;wD=1;var e=Bm(),t="__lodash_hash_undefined__";function r(n,a){var o=this.__data__;return this.size+=this.has(n)?0:1,o[n]=e&&a===void 0?t:a,this}return Nx=r,Nx}var Ax,CD;function YG(){if(CD)return Ax;CD=1;var e=WG(),t=ZG(),r=KG(),n=VG(),a=QG();function o(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var p=l[c];this.set(p[0],p[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=a,Ax=o,Ax}var Dx,jD;
vendor: 4,949 bytes, line 412
412function XG(){if(jD)return Dx;jD=1;function e(){this.__data__=[],this.size=0}return Dx=e,Dx}var _x,OD;function Jw(){if(OD)return _x;OD=1;function e(t,r){return t===r||t!==t&&r!==r}return _x=e,_x}var Ex,ND;function qm(){if(ND)return Ex;ND=1;var e=Jw();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return Ex=t,Ex}var Tx,AD;function JG(){if(AD)return Tx;AD=1;var e=qm(),t=Array.prototype,r=t.splice;function n(a){var o=this.__data__,l=e(o,a);if(l<0)return!1;var c=o.length-1;return l==c?o.pop():r.call(o,l,1),--this.size,!0}return Tx=n,Tx}var Px,DD;function eW(){if(DD)return Px;DD=1;var e=qm();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return Px=t,Px}var Mx,_D;function tW(){if(_D)return Mx;_D=1;var e=qm();function t(r){return e(this.__data__,r)>-1}return Mx=t,Mx}var Rx,ED;function rW(){if(ED)return Rx;ED=1;var e=qm();function t(r,n){var a=this.__data__,o=e(a,r);return o<0?(++this.size,a.push([r,n])):a[o][1]=n,this}return Rx=t,Rx}var kx,TD;function Fm(){if(TD)return kx;TD=1;var e=XG(),t=JG(),r=eW(),n=tW(),a=rW();function o(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var p=l[c];this.set(p[0],p[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=a,kx=o,kx}var Ix,PD;function eC(){if(PD)return Ix;PD=1;var e=vs(),t=va(),r=e(t,"Map");return Ix=r,Ix}var zx,MD;function nW(){if(MD)return zx;MD=1;var e=YG(),t=Fm(),r=eC();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return zx=n,zx}var $x,RD;function aW(){if(RD)return $x;RD=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return $x=e,$x}var Lx,kD;function Um(){if(kD)return Lx;kD=1;var e=aW();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return Lx=t,Lx}var Hx,ID;function iW(){if(ID)return Hx;ID=1;var e=Um();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return Hx=t,Hx}var Bx,zD;function oW(){if(zD)return Bx;zD=1;var e=Um();function t(r){return e(this,r).get(r)}return Bx=t,Bx}var qx,$D;function sW(){if($D)return qx;$D=1;var e=Um();function t(r){return e(this,r).has(r)}return qx=t,qx}var Fx,LD;function lW(){if(LD)return Fx;LD=1;var e=Um();function t(r,n){var a=e(this,r),o=a.size;return a.set(r,n),this.size+=a.size==o?0:1,this}return Fx=t,Fx}var Ux,HD;function tC(){if(HD)return Ux;HD=1;var e=nW(),t=iW(),r=oW(),n=sW(),a=lW();function o(l){var c=-1,f=l==null?0:l.length;for(this.clear();++c<f;){var p=l[c];this.set(p[0],p[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=r,o.prototype.has=n,o.prototype.set=a,Ux=o,Ux}var Gx,BD;function Z6(){if(BD)return Gx;BD=1;var e=tC(),t="Expected a function";function r(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var o=function(){var l=arguments,c=a?a.apply(this,l):l[0],f=o.cache;if(f.has(c))return f.get(c);var p=n.apply(this,l);return o.cache=f.set(c,p)||f,p};return o.cache=new(r.Cache||e),o}return r.Cache=e,Gx=r,Gx}var Wx,qD;function cW(){if(qD)return Wx;qD=1;var e=Z6(),t=500;function r(n){var a=e(n,function(l){return o.size===t&&o.clear(),l}),o=a.cache;return a}return Wx=r,Wx}var Zx,FD;function uW(){if(FD)return Zx;FD=1;var e=cW(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(a){var o=[];return a.charCodeAt(0)===46&&o.push(""),a.replace(t,function(l,c,f,p){o.push(f?p.replace(r,"$1"):c||l)}),o});return Zx=n,Zx}var Kx,UD;function rC(){if(UD)return Kx;UD=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,o=Array(a);++n<a;)o[n]=r(t[n],n,t);return o}return Kx=e,Kx}var Vx,GD;function dW(){if(GD)return Vx;GD=1;var e=ef(),t=rC(),r=Fr(),n=mc(),a=e?e.prototype:void 0,o=a?a.toString:void 0;function l(c){if(typeof c=="string")return c;if(r(c))return t(c,l)+"";if(n(c))return o?o.call(c):"";var f=c+"";return f=="0"&&1/c==-1/0?"-0":f}return Vx=l,Vx}var Qx,WD;function K6(){if(WD)return Qx;WD=1;var e=dW();function t(r){return r==null?"":e(r)}return Qx=t,Qx}var Yx,ZD;function V6(){if(ZD)return Yx;ZD=1;var e=Fr(),t=Yw(),r=uW(),n=K6();function a(o,l){return e(o)?o:t(o,l)?[o]:r(n(o))}return Yx=a,Yx}var Xx,KD;function Gm(){if(KD)return Xx;KD=1;var e=mc();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Xx=t,Xx}var Jx,VD;function nC(){if(VD)return Jx;VD=1;var e=V6(),t=Gm();function r(n,a){a=e(a,n);for(var o=0,l=a.length;n!=null&&o<l;)n=n[t(a[o++])];return o&&o==l?n:void 0}return Jx=r,Jx}var e0,QD;function Q6(){if(QD)return e0;QD=1;var e=nC();function t(r,n,a){var o=r==null?void 0:e(r,n);return o===void 0?a:o}return e0=t,e0}var fW=Q6();const on=tt(fW);var t0,YD;function pW(){if(YD)return t0;YD=1;function e(t){return t==null}return t0=e,t0}var hW=pW();const ze=tt(hW);var r0,XD;function mW(){if(XD)return r0;XD=1;var e=oi(),t=Fr(),r=si(),n="[object String]";
vendor: 5,628 bytes, lines 412-420
412function a(o){return typeof o=="string"||!t(o)&&r(o)&&e(o)==n}return r0=a,r0}var gW=mW();const os=tt(gW);var yW=Xw();const Pe=tt(yW);var vW=to();const gc=tt(vW);var n0={exports:{}},nt={};/** 413 * @license React 414 * react-is.production.min.js 415 * 416 * Copyright (c) Facebook, Inc. and its affiliates. 417 * 418 * This source code is licensed under the MIT license found in the 419 * LICENSE file in the root directory of this source tree. 420 */var JD;function xW(){if(JD)return nt;JD=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),C;C=Symbol.for("react.module.reference");function x(w){if(typeof w=="object"&&w!==null){var j=w.$$typeof;switch(j){case e:switch(w=w.type,w){case r:case a:case n:case p:case g:return w;default:switch(w=w&&w.$$typeof,w){case c:case l:case f:case y:case m:case o:return w;default:return j}}case t:return j}}}return nt.ContextConsumer=l,nt.ContextProvider=o,nt.Element=e,nt.ForwardRef=f,nt.Fragment=r,nt.Lazy=y,nt.Memo=m,nt.Portal=t,nt.Profiler=a,nt.StrictMode=n,nt.Suspense=p,nt.SuspenseList=g,nt.isAsyncMode=function(){return!1},nt.isConcurrentMode=function(){return!1},nt.isContextConsumer=function(w){return x(w)===l},nt.isContextProvider=function(w){return x(w)===o},nt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},nt.isForwardRef=function(w){return x(w)===f},nt.isFragment=function(w){return x(w)===r},nt.isLazy=function(w){return x(w)===y},nt.isMemo=function(w){return x(w)===m},nt.isPortal=function(w){return x(w)===t},nt.isProfiler=function(w){return x(w)===a},nt.isStrictMode=function(w){return x(w)===n},nt.isSuspense=function(w){return x(w)===p},nt.isSuspenseList=function(w){return x(w)===g},nt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===r||w===a||w===n||w===p||w===g||w===b||typeof w=="object"&&w!==null&&(w.$$typeof===y||w.$$typeof===m||w.$$typeof===o||w.$$typeof===l||w.$$typeof===f||w.$$typeof===C||w.getModuleId!==void 0)},nt.typeOf=x,nt}var e_;function bW(){return e_||(e_=1,n0.exports=xW()),n0.exports}var SW=bW(),a0,t_;function Y6(){if(t_)return a0;t_=1;var e=oi(),t=si(),r="[object Number]";function n(a){return typeof a=="number"||t(a)&&e(a)==r}return a0=n,a0}var i0,r_;function wW(){if(r_)return i0;r_=1;var e=Y6();function t(r){return e(r)&&r!=+r}return i0=t,i0}var CW=wW();const tf=tt(CW);var jW=Y6();const OW=tt(jW);var Ar=function(t){return t===0?0:t>0?1:-1},Zo=function(t){return os(t)&&t.indexOf("%")===t.length-1},pe=function(t){return OW(t)&&!tf(t)},NW=function(t){return ze(t)},Kt=function(t){return pe(t)||os(t)},AW=0,yc=function(t){var r=++AW;return"".concat(t||"").concat(r)},Dr=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!pe(t)&&!os(t))return n;var o;if(Zo(t)){var l=t.indexOf("%");o=r*parseFloat(t.slice(0,l))/100}else o=+t;return tf(o)&&(o=n),a&&o>r&&(o=r),o},Bi=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},DW=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},a=0;a<r;a++)if(!n[t[a]])n[t[a]]=!0;else return!0;return!1},fr=function(t,r){return pe(t)&&pe(r)?function(n){return t+n*(r-t)}:function(){return r}};function vh(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):on(n,t))===r})}var _W=function(t,r){return pe(t)&&pe(r)?t-r:os(t)&&os(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function El(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Z2(e){"@babel/helpers - typeof";return Z2=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},Z2(e)}var EW=["viewBox","children"],TW=["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","colorRen
420dering","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"],n_=["points","pathLength"],o0={svg:EW,polygon:n_,polyline:n_},aC=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
420Capture","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"],xh=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(T.isValidElement(t)&&(n=t.props),!gc(n))return null;var a={};return Object.keys(n).forEach(function(o){aC.includes(o)&&(a[o]=r||function(l){return n[o](n,l)})}),a},PW=function(t,r,n){return function(a){return t(r,n,a),null}},ss=function(t,r,n){if(!gc(t)||Z2(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(o){var l=t[o];aC.includes(o)&&typeof l=="function"&&(a||(a={}),a[o]=PW(l,r,n))}),a},MW=["children"],RW=["children"];function a_(e,t){if(e==null)return{};var r=kW(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function kW(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function K2(e){"@babel/helpers - typeof";return K2=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},K2(e)}var i_={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"},Va=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},o_=null,s0=null,iC=function e(t){if(t===o_&&Array.isArray(s0))return s0;var r=[];return T.Children.forEach(t,function(n){ze(n)||(SW.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),s0=r,o_=t,r};function sn(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(a){return Va(a)}):n=[Va(t)],iC(e).forEach(function(a){var o=on(a,"type.displayName")||on(a,"type.name");n.indexOf(o)!==-1&&r.push(a)}),r}function en(e,t){var r=sn(e,t);return r&&r[0]}var s_=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,a=r.height;return!(!pe(n)||n<=0||!pe(a)||a<=0)},IW=["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"],zW=function(t){return t&&t.type&&os(t.type)&&IW.indexOf(t.type)>=0},$W=function(t){return t&&K2(t)==="object"&&"clipDot"in t},LW=function(t,r,n,a){var o,l=(o=o0?.[a])!==null&&o!==void 0?o:[];return r.startsWith("data-")||!Pe(t)&&(a&&l.includes(r)||TW.includes(r))||n&&aC.includes(r)},Ae=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(T.isValidElement(t)&&(a=t.props),!gc(a))return null;var o={};
vendor: 4,133 bytes, line 420
420return Object.keys(a).forEach(function(l){var c;LW((c=a)===null||c===void 0?void 0:c[l],l,r,n)&&(o[l]=a[l])}),o},V2=function e(t,r){if(t===r)return!0;var n=T.Children.count(t);if(n!==T.Children.count(r))return!1;if(n===0)return!0;if(n===1)return l_(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var a=0;a<n;a++){var o=t[a],l=r[a];if(Array.isArray(o)||Array.isArray(l)){if(!e(o,l))return!1}else if(!l_(o,l))return!1}return!0},l_=function(t,r){if(ze(t)&&ze(r))return!0;if(!ze(t)&&!ze(r)){var n=t.props||{},a=n.children,o=a_(n,MW),l=r.props||{},c=l.children,f=a_(l,RW);return a&&c?El(o,f)&&V2(a,c):!a&&!c?El(o,f):!1}return!1},c_=function(t,r){var n=[],a={};return iC(t).forEach(function(o,l){if(zW(o))n.push(o);else if(o){var c=Va(o.type),f=r[c]||{},p=f.handler,g=f.once;if(p&&(!g||!a[c])){var m=p(o,c,l);n.push(m),a[c]=!0}}}),n},HW=function(t){var r=t&&t.type;return r&&i_[r]?i_[r]:null},BW=function(t,r){return iC(r).indexOf(t)},qW=["children","width","height","viewBox","className","style","title","desc"];function Q2(){return Q2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q2.apply(this,arguments)}function FW(e,t){if(e==null)return{};var r=UW(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function UW(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Y2(e){var t=e.children,r=e.width,n=e.height,a=e.viewBox,o=e.className,l=e.style,c=e.title,f=e.desc,p=FW(e,qW),g=a||{width:r,height:n,x:0,y:0},m=ke("recharts-surface",o);return $.createElement("svg",Q2({},Ae(p,!0,"svg"),{className:m,width:r,height:n,style:l,viewBox:"".concat(g.x," ").concat(g.y," ").concat(g.width," ").concat(g.height)}),$.createElement("title",null,c),$.createElement("desc",null,f),t)}var GW=["children","className"];function X2(){return X2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X2.apply(this,arguments)}function WW(e,t){if(e==null)return{};var r=ZW(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ZW(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Ke=$.forwardRef(function(e,t){var r=e.children,n=e.className,a=WW(e,GW),o=ke("recharts-layer",n);return $.createElement("g",X2({className:o},Ae(a,!0),{ref:t}),r)}),Bn=function(t,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o]},l0,u_;function KW(){if(u_)return l0;u_=1;function e(t,r,n){var a=-1,o=t.length;r<0&&(r=-r>o?0:o+r),n=n>o?o:n,n<0&&(n+=o),o=r>n?0:n-r>>>0,r>>>=0;for(var l=Array(o);++a<o;)l[a]=t[a+r];return l}return l0=e,l0}var c0,d_;function VW(){if(d_)return c0;d_=1;var e=KW();function t(r,n,a){var o=r.length;return a=a===void 0?o:a,!n&&a>=o?r:e(r,n,a)}return c0=t,c0}var u0,f_;function X6(){if(f_)return u0;f_=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,o="\\ufe0e\\ufe0f",l="\\u200d",c=RegExp("["+l+e+a+o+"]");function f(p){return c.test(p)}return u0=f,u0}var d0,p_;function QW(){if(p_)return d0;p_=1;function e(t){return t.split("")}return d0=e,d0}var f0,h_;function YW(){if(h_)return f0;h_=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,o="\\ufe0e\\ufe0f",l="["+e+"]",c="["+a+"]",f="\\ud83c[\\udffb-\\udfff]",p="(?:"+c+"|"+f+")",g="[^"+e+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",C=p+"?",x="["+o+"]?",w="(?:"+b+"(?:"+[g,m,y].join("|")+")"+x+C+")*",j=x+C+w,A="(?:"+[g+c+"?",c,m,y,l].join("|")+")",_=RegExp(f+"
420(?="+f+")|"+A+j,"g");function M(N){return N.match(_)||[]}return f0=M,f0}var p0,m_;function XW(){if(m_)return p0;m_=1;var e=QW(),t=X6(),r=YW();function n(a){return t(a)?r(a):e(a)}return p0=n,p0}var h0,g_;function JW(){if(g_)return h0;g_=1;var e=VW(),t=X6(),r=XW(),n=K6();function a(o){return function(l){l=n(l);var c=t(l)?r(l):void 0,f=c?c[0]:l.charAt(0),p=c?e(c,1).join(""):l.slice(1);return f[o]()+p}}return h0=a,h0}var m0,y_;function eZ(){if(y_)return m0;y_=1;var e=JW(),t=e("toUpperCase");return m0=t,m0}var tZ=eZ();const Wm=tt(tZ);function yt(e){return function(){return e}}const J6=Math.cos,bh=Math.sin,Wn=Math.sqrt,Sh=Math.PI,Zm=2*Sh,J2=Math.PI,eS=2*J2,$o=1e-6,rZ=eS-$o;function eR(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function nZ(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return eR;const r=10**t;return function(n){this._+=n[0];for(let a=1,o=n.length;a<o;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class aZ{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?eR:nZ(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,a){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+a}`}bezierCurveTo(t,r,n,a,o,l){this._append`C${+t},${+r},${+n},${+a},${this._x1=+o},${this._y1=+l}`}arcTo(t,r,n,a,o){if(t=+t,r=+r,n=+n,a=+a,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,f=n-t,p=a-r,g=l-t,m=c-r,y=g*g+m*m;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(y>$o)if(!(Math.abs(m*f-p*g)>$o)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let b=n-l,C=a-c,x=f*f+p*p,w=b*b+C*C,j=Math.sqrt(x),A=Math.sqrt(y),_=o*Math.tan((J2-Math.acos((x+y-w)/(2*j*A)))/2),M=_/A,N=_/j;Math.abs(M-1)>$o&&this._append`L${t+M*g},${r+M*m}`,this._append`A${o},${o},0,0,${+(m*b>g*C)},${this._x1=t+N*f},${this._y1=r+N*p}`}}arc(t,r,n,a,o,l){if(t=+t,r=+r,n=+n,l=!!l,n<0)throw new Error(`negative radius: ${n}`);let c=n*Math.cos(a),f=n*Math.sin(a),p=t+c,g=r+f,m=1^l,y=l?a-o:o-a;this._x1===null?this._append`M${p},${g}`:(Math.abs(this._x1-p)>$o||Math.abs(this._y1-g)>$o)&&this._append`L${p},${g}`,n&&(y<0&&(y=y%eS+eS),y>rZ?this._append`A${n},${n},0,1,${m},${t-c},${r-f}A${n},${n},0,1,${m},${this._x1=p},${this._y1=g}`:y>$o&&this._append`A${n},${n},0,${+(y>=J2)},${m},${this._x1=t+n*Math.cos(o)},${this._y1=r+n*Math.sin(o)}`)}rect(t,r,n,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+a}h${-n}Z`}toString(){return this._}}function oC(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new aZ(t)}function sC(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function tR(e){this._context=e}tR.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 Km(e){return new tR(e)}function rR(e){return e[0]}function nR(e){return e[1]}function aR(e,t){var r=yt(!0),n=null,a=Km,o=null,l=oC(c);e=typeof e=="function"?e:e===void 0?rR:yt(e),t=typeof t=="function"?t:t===void 0?nR:yt(t);function c(f){var p,g=(f=sC(f)).length,m,y=!1,b;for(n==null&&(o=a(b=l())),p=0;p<=g;++p)!(p<g&&r(m=f[p],p,f))===y&&((y=!y)?o.lineStart():o.lineEnd()),y&&o.point(+e(m,p,f),+t(m,p,f));if(b)return o=null,b+""||null}return c.x=function(f){return arguments.length?(e=typeof f=="function"?f:yt(+f),c):e},c.y=function(f){return arguments.length?(t=typeof f=="function"?f:yt(+f),c):t},c.defined=function(f){return arguments.length?(r=typeof f=="function"?f:yt(!!f),c):r},c.curve=function(f){return arguments.length?(a=f,n!=null&&(o=a(n)),c):a},c.context=function(f){return arguments.length?(f==null?n=o=null:o=a(n=f),c):n},c}function zp(e,t,r){var n=null,a=yt(!0),o=null,l=Km,c=null,f=oC(p);e=typeof e=="function"?e:e===void 0?rR:yt(+e),t=typeof t=="function"?t:yt(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?nR:yt(+r);function p(m){var y,b,C,x=(m=sC(m)).length,w,j=!1,A,_=new Array(x),M=new Array(x);for(o==null&&(c=l(A=f())),y=0;y<=x;++y){if(!(y<x&&a(w=m[y],y,m))===j)if(j=!j)b=y,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),C=y-1;C>=b;--C)c.point(_[C],M[C]);c.lineEnd(),c.areaEnd()}j&&(_[y]=+e(w,y,m),M[y]=+t(w,y,m),c.point(n?+n(w,y,m):_[y],r?+r(w,y,m):M[y]))}if(A)return c=null,A+""||null}function g(){return aR().defined(a).curve(l).context(o)}return p.x=function(m){return arguments.length?(e=typeof m=="function"?m:yt(+m),n=null,p):e},p.x0=function(m){return arguments.length?(e=typeof m=="function"?m:yt(+m),p):e},p.x1=function(m){return arguments.length?(n=m==null?null:typeof m=="function"?m:yt(+m),p):n},p.y=function(m){return arguments.length?(t=typeof m=="function"?m:yt(+m),r=null,p):t},p.y0=function(m){return arguments.length?(t=typeof m=="function"?m:yt(+m),p):t},p.y1=function(m){return arguments.length?(r=m==null?null:typeof m=="function"?m:yt(+m),p):r},p.lineX0=p.lineY0=function(){return g().x(e).y(t)},p.lineY1=function(){return g().x(e).y(r)},p.lineX1=function(){return g().x(n).y(t)},p.defined=function(m){return arguments.length?(a=typeof m=="function"?m:yt(!!m),p):a},p.curve=function(m){return arguments.length?(l=m,o!=null&&(c=l(o)),p):l},p.context=function(m){return arguments.length?(m==null?o=c=null:c=l(o=m),p):o},p}class iR{constructor(t,r){this._context=t,this._x=r}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,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function iZ(e){return new iR(e,!0)}function oZ(e){return new iR(e,!1)}const lC={draw(e,t){const r=Wn(t/Sh);e.moveTo(r,0),e.arc(0,0,r,0,Zm)}},sZ={draw(e,t){const r=Wn(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},oR=Wn(1/3),lZ=oR*2,cZ={draw(e,t){const r=Wn(t/lZ),n=r*oR;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},uZ={draw(e,t){const r=Wn(t),n=-r/2;e.rect(n,n,r,r)}},dZ=.8908130915292852,sR=bh(Sh/10)/bh(7*Sh/10),fZ=bh(Zm/10)*sR,pZ=-J6(Zm/10)*sR,hZ={draw(e,t){const r=Wn(t*dZ),n=fZ*r,a=pZ*r;e.moveTo(0,-r),e.lineTo(n,a);for(let o=1;o<5;++o){const l=Zm*o/5,c=J6(l),f=bh(l);e.lineTo(f*r,-c*r),e.lineTo(c*n-f*a,f*n+c*a)}e.closePath()}},g0=Wn(3),mZ={draw(e,t){const r=-Wn(t/(g0*3));e.moveTo(0,r*2),e.lineTo(-g0*r,-r),e.lineTo(g0*r,-r),e.closePath()}},bn=-.5,Sn=Wn(3)/2,tS=1/Wn(12),gZ=(tS/2+1)*3,yZ={draw(e,t){const r=Wn(t/gZ),n=r/2,a=r*tS,o=n,l=r*tS+r,c=-o,f=l;e.moveTo(n,a),e.lineTo(o,l),e.lineTo(c,f),e.lineTo(bn*n-Sn*a,Sn*n+bn*a),e.lineTo(bn*o-Sn*l,Sn*o+bn*l),e.lineTo(bn*c-Sn*f,Sn*c+bn*f),e.lineTo(bn*n+Sn*a,bn*a-Sn*n),e.lineTo(bn*o+Sn*l,bn*l-Sn*o),e.lineTo(bn*c+Sn*f,bn*f-Sn*c),e.closePath()}};function vZ(e,t){let r=null,n=oC(a);e=typeof e=="function"?e:yt(e||lC),t=typeof t=="function"?t:yt(t===void 0?64:+t);function a(){let o;if(r||(r=o=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),o)return r=null,o+""||null}return a.type=function(o){return arguments.length?(e=typeof o=="function"?o:yt(o),a):e},a.size=function(o){return arguments.length?(t=typeof o=="function"?o:yt(+o),a):t},a.context=function(o){return arguments.length?(r=o??null,a):r},a}function wh(){}function Ch(e,t,r){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+r)/6)}function lR(e){this._context=e}lR.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:Ch(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:Ch(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function xZ(e){return new lR(e)}function cR(e){this._context=e}cR.prototype={areaStart:wh,areaEnd:wh,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:Ch(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function bZ(e){return new cR(e)}function uR(e){this._context=e}uR.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 r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:Ch(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function SZ(e){return new uR(e)}function dR(e){this._context=e}dR.prototype={areaStart:wh,areaEnd:wh,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 wZ(e){return new dR(e)}function v_(e){return e<0?-1:1}function x_(e,t,r){var n=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(n||a<0&&-0),l=(r-e._y1)/(a||n<0&&-0),c=(o*a+l*n)/(n+a);return(v_(o)+v_(l))*Math.min(Math.abs(o),Math.abs(l),.5*Math.abs(c))||0}function b_(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function y0(e,t,r){var n=e._x0,a=e._y0,o=e._x1,l=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,a+c*t,o-c,l-c*r,o,l)}function jh(e){this._context=e}jh.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:y0(this,this._t0,b_(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 r=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,y0(this,b_(this,r=x_(this,e,t)),r);break;default:y0(this,this._t0,r=x_(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function fR(e){this._context=new pR(e)}(fR.prototype=Object.create(jh.prototype)).point=function(e,t){jh.prototype.point.call(this,t,e)};function pR(e){this._context=e}pR.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,r,n,a,o){this._context.bezierCurveTo(t,e,n,r,o,a)}};function CZ(e){return new jh(e)}function jZ(e){return new fR(e)}function hR(e){this._context=e}hR.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,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=S_(e),a=S_(t),o=0,l=1;l<r;++o,++l)this._context.bezierCurveTo(n[0][o],a[0][o],n[1][o],a[1][o],e[l],t[l]);(this._line||this._line!==0&&r===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 S_(e){var t,r=e.length-1,n,a=new Array(r),o=new Array(r),l=new Array(r);for(a[0]=0,o[0]=2,l[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,o[t]=4,l[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,o[r-1]=7,l[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/o[t-1],o[t]-=n,l[t]-=n*l[t-1];for(a[r-1]=l[r-1]/o[r-1],t=r-2;t>=0;--t)a[t]=(l[t]-a[t+1])/o[t];for(o[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-a[t+1];return[a,o]}function OZ(e){return new hR(e)}function Vm(e,t){this._context=e,this._t=t}Vm.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;
vendor: 16,276 bytes, lines 420-423
420default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function NZ(e){return new Vm(e,.5)}function AZ(e){return new Vm(e,0)}function DZ(e){return new Vm(e,1)}function $l(e,t){if((l=e.length)>1)for(var r=1,n,a,o=e[t[0]],l,c=o.length;r<l;++r)for(a=o,o=e[t[r]],n=0;n<c;++n)o[n][1]+=o[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]}function rS(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function _Z(e,t){return e[t]}function EZ(e){const t=[];return t.key=e,t}function TZ(){var e=yt([]),t=rS,r=$l,n=_Z;function a(o){var l=Array.from(e.apply(this,arguments),EZ),c,f=l.length,p=-1,g;for(const m of o)for(c=0,++p;c<f;++c)(l[c][p]=[0,+n(m,l[c].key,p,o)]).data=m;for(c=0,g=sC(t(l));c<f;++c)l[g[c]].index=c;return r(l,g),l}return a.keys=function(o){return arguments.length?(e=typeof o=="function"?o:yt(Array.from(o)),a):e},a.value=function(o){return arguments.length?(n=typeof o=="function"?o:yt(+o),a):n},a.order=function(o){return arguments.length?(t=o==null?rS:typeof o=="function"?o:yt(Array.from(o)),a):t},a.offset=function(o){return arguments.length?(r=o??$l,a):r},a}function PZ(e,t){if((n=e.length)>0){for(var r,n,a=0,o=e[0].length,l;a<o;++a){for(l=r=0;r<n;++r)l+=e[r][a][1]||0;if(l)for(r=0;r<n;++r)e[r][a][1]/=l}$l(e,t)}}function MZ(e,t){if((a=e.length)>0){for(var r=0,n=e[t[0]],a,o=n.length;r<o;++r){for(var l=0,c=0;l<a;++l)c+=e[l][r][1]||0;n[r][1]+=n[r][0]=-c/2}$l(e,t)}}function RZ(e,t){if(!(!((l=e.length)>0)||!((o=(a=e[t[0]]).length)>0))){for(var r=0,n=1,a,o,l;n<o;++n){for(var c=0,f=0,p=0;c<l;++c){for(var g=e[t[c]],m=g[n][1]||0,y=g[n-1][1]||0,b=(m-y)/2,C=0;C<c;++C){var x=e[t[C]],w=x[n][1]||0,j=x[n-1][1]||0;b+=w-j}f+=m,p+=b*m}a[n-1][1]+=a[n-1][0]=r,f&&(r-=p/f)}a[n-1][1]+=a[n-1][0]=r,$l(e,t)}}function cd(e){"@babel/helpers - typeof";return cd=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},cd(e)}var kZ=["type","size","sizeType"];function nS(){return nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nS.apply(this,arguments)}function w_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function C_(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?w_(Object(r),!0).forEach(function(n){IZ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w_(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function IZ(e,t,r){return t=zZ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zZ(e){var t=$Z(e,"string");return cd(t)=="symbol"?t:t+""}function $Z(e,t){if(cd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(cd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function LZ(e,t){if(e==null)return{};var r=HZ(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function HZ(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var mR={symbolCircle:lC,symbolCross:sZ,symbolDiamond:cZ,symbolSquare:uZ,symbolStar:hZ,symbolTriangle:mZ,symbolWye:yZ},BZ=Math.PI/180,qZ=function(t){var r="symbol".concat(Wm(t));return mR[r]||lC},FZ=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*BZ;return 1.25*t*t*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),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}},UZ=function(t,r){mR["symbol".concat(Wm(t))]=r},cC=function(t){var r=t.type,n=r===void 0?"circle":r,a=t.size,o=a===void 0?64:a,l=t.sizeType,c=l===void 0?"area":l,f=LZ(t,kZ),p=C_(C_({},f),{},{type:n,size:o,sizeType:c}),g=function(){var w=qZ(n),j=vZ().type(w).size(FZ(o,c,n));return j()},m=p.className,y=p.cx,b=p.cy,C=Ae(p,!0);return y===+y&&b===+b&&o===+o?$.createElement("path",nS({},C,{className:ke("recharts-symbols",m),transform:"translate(".concat(y,", ").concat(b,")"),d:g()})):null};cC.registerSymbol=UZ;function Ll(e){"@babel/helpers - typeof";return Ll=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},Ll(e)}function aS(){return aS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aS.apply(this,arguments)}function j_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function GZ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?j_(Object(r),!0).forEach(function(n){ud(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j_(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function WZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZZ(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,yR(n.key),n)}}function KZ(e,t,r){return t&&ZZ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function VZ(e,t,r){return t=Oh(t),QZ(e,gR()?Reflect.construct(t,r||[],Oh(e).constructor):t.apply(e,r))}function QZ(e,t){if(t&&(Ll(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return YZ(e)}function YZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(gR=function(){return!!e})()}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Oh(e)}function XZ(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&&iS(e,t)}function iS(e,t){return iS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},iS(e,t)}function ud(e,t,r){return t=yR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yR(e){var t=JZ(e,"string");return Ll(t)=="symbol"?t:t+""}function JZ(e,t){if(Ll(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ll(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var wn=32,uC=(function(e){function t(){return WZ(this,t),VZ(this,t,arguments)}return XZ(t,e),KZ(t,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,o=wn/2,l=wn/6,c=wn/3,f=n.inactive?a:n.color;if(n.type==="plainline")return $.createElement("line",{strokeWidth:4,fill:"none",stroke:f,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:o,x2:wn,y2:o,className:"recharts-legend-icon"});if(n.type==="line")return $.createElement("path",{strokeWidth:4,fill:"none",stroke:f,d:"M0,".concat(o,"h").concat(c,` 421 A`).concat(l,",").concat(l,",0,1,1,").concat(2*c,",").concat(o,` 422 H`).concat(wn,"M").concat(2*c,",").concat(o,` 423 A`).concat(l,",").concat(l,",0,1,1,").concat(c,",").concat(o),className:"recharts-legend-icon"});if(n.type==="rect")return $.createElement("path",{stroke:"none",fill:f,d:"M0,".concat(wn/8,"h").concat(wn,"v").concat(wn*3/4,"h").concat(-wn,"z"),className:"recharts-legend-icon"});if($.isValidElement(n.legendIcon)){var p=GZ({},n);return delete p.legendIcon,$.cloneElement(n.legendIcon,p)}return $.createElement(cC,{fill:f,cx:o,cy:o,size:wn,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,a=this.props,o=a.payload,l=a.iconSize,c=a.layout,f=a.formatter,p=a.inactiveColor,g={x:0,y:0,width:wn,height:wn},m={display:c==="horizontal"?"inline-block":"block",marginRight:10},y={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(b,C){var x=b.formatter||f,w=ke(ud(ud({"recharts-legend-item":!0},"legend-item-".concat(C),!0),"inactive",b.inactive));if(b.type==="none")return null;var j=Pe(b.value)?null:b.value;Bn(!Pe(b.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 A=b.inactive?p:b.color;return $.createElement("li",aS({className:w,style:m,key:"legend-item-".concat(C)},ss(n.props,b,C)),$.createElement(Y2,{width:l,height:l,viewBox:g,style:y},n.renderIcon(b)),$.createElement("span",{className:"recharts-legend-item-text",style:{color:A}},x?x(j,b,C):j))})}},{key:"render",value:function(){var n=this.props,a=n.payload,o=n.layout,l=n.align;if(!a||!a.length)return null;var c={padding:0,margin:0,textAlign:o==="horizontal"?l:"left"};return $.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(T.PureComponent);ud(uC,"displayName","Legend");ud(uC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var v0,O_;function eK(){if(O_)return v0;O_=1;var e=Fm();function t(){this.__data__=new e,this.size=0}return v0=t,v0}var x0,N_;function tK(){if(N_)return x0;N_=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return x0=e,x0}var b0,A_;function rK(){if(A_)return b0;A_=1;function e(t){return this.__data__.get(t)}return b0=e,b0}var S0,D_;function nK(){if(D_)return S0;D_=1;function e(t){return this.__data__.has(t)}return S0=e,S0}var w0,__;function aK(){if(__)return w0;__=1;var e=Fm(),t=eC(),r=tC(),n=200;function a(o,l){var c=this.__data__;if(c instanceof e){var f=c.__data__;if(!t||f.length<n-1)return f.push([o,l]),this.size=++c.size,this;c=this.__data__=new r(f)}return c.set(o,l),this.size=c.size,this}return w0=a,w0}var C0,E_;function vR(){if(E_)return C0;E_=1;var e=Fm(),t=eK(),r=tK(),n=rK(),a=nK(),o=aK();function l(c){var f=this.__data__=new e(c);this.size=f.size}return l.prototype.clear=t,l.prototype.delete=r,l.prototype.get=n,l.prototype.has=a,l.prototype.set=o,C0=l,C0}var j0,T_;function iK(){if(T_)return j0;T_=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return j0=t,j0}var O0,P_;function oK(){if(P_)return O0;P_=1;function e(t){return this.__data__.has(t)}return O0=e,O0}var N0,M_;function xR(){if(M_)return N0;M_=1;var e=tC(),t=iK(),r=oK();function n(a){var o=-1,l=a==null?0:a.length;for(this.__data__=new e;++o<l;)this.add(a[o])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,N0=n,N0}var A0,R_;function bR(){if(R_)return A0;R_=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(t[n],n,t))return!0;return!1}return A0=e,A0}var D0,k_;function SR(){if(k_)return D0;k_=1;function e(t,r){return t.has(r)}return D0=e,D0}var _0,I_;function wR(){if(I_)return _0;I_=1;var e=xR(),t=bR(),r=SR(),n=1,a=2;function o(l,c,f,p,g,m){var y=f&n,b=l.length,C=c.length;if(b!=C&&!(y&&C>b))return!1;var x=m.get(l),w=m.get(c);if(x&&w)return x==c&&w==l;var j=-1,A=!0,_=f&a?new e:void 0;for(m.set(l,c),m.set(c,l);++j<b;){var M=l[j],N=c[j];if(p)var D=y?p(N,M,j,c,l,m):p(M,N,j,l,c,m);if(D!==void 0){if(D)continue;A=!1;break}if(_){if(!t(c,function(O,P){if(!r(_,P)&&(M===O||g(M,O,f,p,m)))return _.push(P)})){A=!1;break}}else if(!(M===N||g(M,N,f,p,m))){A=!1;break}}return m.delete(l),m.delete(c),A}return _0=o,_0}var E0,z_;function sK(){if(z_)return E0;z_=1;var e=va(),t=e.Uint8Array;return E0=t,E0}var T0,$_;function lK(){if($_)return T0;$_=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a,o){n[++r]=[o,a]}),n}return T0=e,T0}var P0,L_;function dC(){if(L_)return P0;L_=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a){n[++r]=a}),n}return P0=e,P0}var M0,H_;function cK(){if(H_)return M0;H_=1;var e=ef(),t=sK(),r=Jw(),n=wR(),a=lK(),o=dC(),l=1,c=2,f="[object Boolean]",p="[object Date]",g="[object Error]",m="[object Map]",y="[object Number]",b="[object RegExp]",C="[object Set]",x="[object String]",w="[object Symbol]",j="[object ArrayBuffer]",A="[object DataView]",_=e?e.prototype:void 0,M=_?_.valueOf:void 0;function N(D,O,P,R,F,I,L){switch(P){case A:if(D.byteLength!=O.byteLength||D.byteOffset!=O.byteOffset)return!1;D=D.buffer,O=O.buffer;case j:return!(D.byteLength!=O.byteLength||!I(new t(D),new t(O)));case f:case p:case y:return r(+D,+O);case g:return D.name==O.name&&D.message==O.message;case b:case x:return D==O+"";case m:var G=a;case C:var W=R&l;if(G||(G=o),D.size!=O.size&&!W)return!1;var q=L.get(D);if(q)return q==O;R|=c,L.set(D,O);var k=n(G(D),G(O),R,F,I,L);return L.delete(D),k;case w:if(M)return M.call(D)==M.call(O)}return!1}return M0=N,M0}var R0,B_;function CR(){if(B_)return R0;B_=1;function e(t,r){for(var n=-1,a=r.length,o=t.length;++n<a;)t[o+n]=r[n];return t}return R0=e,R0}var k0,q_;function uK(){if(q_)return k0;q_=1;var e=CR(),t=Fr();function r(n,a,o){var l=a(n);return t(n)?l:e(l,o(n))}return k0=r,k0}var I0,F_;function dK(){if(F_)return I0;F_=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,o=0,l=[];++n<a;){var c=t[n];r(c,n,t)&&(l[o++]=c)}return l}return I0=e,I0}var z0,U_;function fK(){if(U_)return z0;U_=1;function e(){return[]}return z0=e,z0}var $0,G_;function pK(){if(G_)return $0;G_=1;var e=dK(),t=fK(),r=Object.prototype,n=r.propertyIsEnumerable,a=Object.getOwnPropertySymbols,o=a?function(l){return l==null?[]:(l=Object(l),e(a(l),function(c){return n.call(l,c)}))}:t;return $0=o,$0}var L0,W_;function hK(){if(W_)return L0;W_=1;function e(t,r){for(var n=-1,a=Array(t);++n<t;)a[n]=r(n);return a}return L0=e,L0}var H0,Z_;function mK(){if(Z_)return H0;Z_=1;var e=oi(),t=si(),r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return H0=n,H0}var B0,K_;function fC(){if(K_)return B0;K_=1;var e=mK(),t=si(),r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,o=e((function(){return arguments})())?e:function(l){return t(l)&&n.call(l,"callee")&&!a.call(l,"callee")};return B0=o,B0}var Mu={exports:{}},q0,V_;function gK(){if(V_)return q0;V_=1;function e(){return!1}return q0=e,q0}Mu.exports;var Q_;function jR(){return Q_||(Q_=1,(function(e,t){var r=va(),n=gK(),a=t&&!t.nodeType&&t,o=a&&!0&&e&&!e.nodeType&&e,l=o&&o.exports===a,c=l?r.Buffer:void 0,f=c?c.isBuffer:void 0,p=f||n;e.exports=p})(Mu,Mu.exports)),Mu.exports}var F0,Y_;function pC(){if(Y_)return F0;Y_=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,a){var o=typeof n;return a=a??e,!!a&&(o=="number"||o!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<a}return F0=r,F0}var U0,X_;function hC(){if(X_)return U0;X_=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return U0=t,U0}var G0,J_;function yK(){if(J_)return G0;J_=1;var e=oi(),t=hC(),r=si(),n="[object Arguments]",a="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Function]",p="[object Map]",g="[object Number]",m="[object Object]",y="[object RegExp]",b="[object Set]",C="[object String]",x="[object WeakMap]",w="[object ArrayBuffer]",j="[object DataView]",A="[object Float32Array]",_="[object Float64Array
423]",M="[object Int8Array]",N="[object Int16Array]",D="[object Int32Array]",O="[object Uint8Array]",P="[object Uint8ClampedArray]",R="[object Uint16Array]",F="[object Uint32Array]",I={};I[A]=I[_]=I[M]=I[N]=I[D]=I[O]=I[P]=I[R]=I[F]=!0,I[n]=I[a]=I[w]=I[o]=I[j]=I[l]=I[c]=I[f]=I[p]=I[g]=I[m]=I[y]=I[b]=I[C]=I[x]=!1;function L(G){return r(G)&&t(G.length)&&!!I[e(G)]}return G0=L,G0}var W0,eE;function OR(){if(eE)return W0;eE=1;function e(t){return function(r){return t(r)}}return W0=e,W0}var Ru={exports:{}};Ru.exports;var tE;function vK(){return tE||(tE=1,(function(e,t){var r=G6(),n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,l=o&&r.process,c=(function(){try{var f=a&&a.require&&a.require("util").types;return f||l&&l.binding&&l.binding("util")}catch{}})();e.exports=c})(Ru,Ru.exports)),Ru.exports}var Z0,rE;function NR(){if(rE)return Z0;rE=1;var e=yK(),t=OR(),r=vK(),n=r&&r.isTypedArray,a=n?t(n):e;return Z0=a,Z0}var K0,nE;function xK(){if(nE)return K0;nE=1;var e=hK(),t=fC(),r=Fr(),n=jR(),a=pC(),o=NR(),l=Object.prototype,c=l.hasOwnProperty;function f(p,g){var m=r(p),y=!m&&t(p),b=!m&&!y&&n(p),C=!m&&!y&&!b&&o(p),x=m||y||b||C,w=x?e(p.length,String):[],j=w.length;for(var A in p)(g||c.call(p,A))&&!(x&&(A=="length"||b&&(A=="offset"||A=="parent")||C&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,j)))&&w.push(A);return w}return K0=f,K0}var V0,aE;function bK(){if(aE)return V0;aE=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,a=typeof n=="function"&&n.prototype||e;return r===a}return V0=t,V0}var Q0,iE;function AR(){if(iE)return Q0;iE=1;function e(t,r){return function(n){return t(r(n))}}return Q0=e,Q0}var Y0,oE;function SK(){if(oE)return Y0;oE=1;var e=AR(),t=e(Object.keys,Object);return Y0=t,Y0}var X0,sE;function wK(){if(sE)return X0;sE=1;var e=bK(),t=SK(),r=Object.prototype,n=r.hasOwnProperty;function a(o){if(!e(o))return t(o);var l=[];for(var c in Object(o))n.call(o,c)&&c!="constructor"&&l.push(c);return l}return X0=a,X0}var J0,lE;function rf(){if(lE)return J0;lE=1;var e=Xw(),t=hC();function r(n){return n!=null&&t(n.length)&&!e(n)}return J0=r,J0}var eb,cE;function Qm(){if(cE)return eb;cE=1;var e=xK(),t=wK(),r=rf();function n(a){return r(a)?e(a):t(a)}return eb=n,eb}var tb,uE;function CK(){if(uE)return tb;uE=1;var e=uK(),t=pK(),r=Qm();function n(a){return e(a,r,t)}return tb=n,tb}var rb,dE;function jK(){if(dE)return rb;dE=1;var e=CK(),t=1,r=Object.prototype,n=r.hasOwnProperty;function a(o,l,c,f,p,g){var m=c&t,y=e(o),b=y.length,C=e(l),x=C.length;if(b!=x&&!m)return!1;for(var w=b;w--;){var j=y[w];if(!(m?j in l:n.call(l,j)))return!1}var A=g.get(o),_=g.get(l);if(A&&_)return A==l&&_==o;var M=!0;g.set(o,l),g.set(l,o);for(var N=m;++w<b;){j=y[w];var D=o[j],O=l[j];if(f)var P=m?f(O,D,j,l,o,g):f(D,O,j,o,l,g);if(!(P===void 0?D===O||p(D,O,c,f,g):P)){M=!1;break}N||(N=j=="constructor")}if(M&&!N){var R=o.constructor,F=l.constructor;R!=F&&"constructor"in o&&"constructor"in l&&!(typeof R=="function"&&R instanceof R&&typeof F=="function"&&F instanceof F)&&(M=!1)}return g.delete(o),g.delete(l),M}return rb=a,rb}var nb,fE;function OK(){if(fE)return nb;fE=1;var e=vs(),t=va(),r=e(t,"DataView");return nb=r,nb}var ab,pE;function NK(){if(pE)return ab;pE=1;var e=vs(),t=va(),r=e(t,"Promise");return ab=r,ab}var ib,hE;function DR(){if(hE)return ib;hE=1;var e=vs(),t=va(),r=e(t,"Set");return ib=r,ib}var ob,mE;function AK(){if(mE)return ob;mE=1;var e=vs(),t=va(),r=e(t,"WeakMap");return ob=r,ob}var sb,gE;function DK(){if(gE)return sb;gE=1;var e=OK(),t=eC(),r=NK(),n=DR(),a=AK(),o=oi(),l=W6(),c="[object Map]",f="[object Object]",p="[object Promise]",g="[object Set]",m="[object WeakMap]",y="[object DataView]",b=l(e),C=l(t),x=l(r),w=l(n),j=l(a),A=o;return(e&&A(new e(new ArrayBuffer(1)))!=y||t&&A(new t)!=c||r&&A(r.resolve())!=p||n&&A(new n)!=g||a&&A(new a)!=m)&&(A=function(_){var M=o(_),N=M==f?_.constructor:void 0,D=N?l(N):"";if(D)switch(D){case b:return y;case C:return c;case x:return p;case w:return g;case j:return m}return M}),sb=A,sb}var lb,yE;function _K(){if(yE)return lb;yE=1;var e=vR(),t=wR(),r=cK(),n=jK(),a=DK(),o=Fr(),l=jR(),c=NR(),f=1,p="[object Arguments]",g="[object Array]",m="[object Object]",y=Object.prototype,b=y.hasOwnProperty;function C(x,w,j,A,_,M){var N=o(x),D=o(w),O=N?g:a(x),P=D?g:a(w);O=O==p?m:O,P=P==p?m:P;var R=O==m,F=P==m,I=O==P;if(I&&l(x)){if(!l(w))return!1;N=!0,R=!1}if(I&&!R)return M||(M=new e),N||c(x)?t(x,w,j,A,_,M):r(x,w,O,j,A,_,M);if(!(j&f)){var L=R&&b.call(x,"__wrapped__"),G=F&&b.call(w,"__wrapped__");
vendor: 45,800 bytes, lines 423-431
423if(L||G){var W=L?x.value():x,q=G?w.value():w;return M||(M=new e),_(W,q,j,A,M)}}return I?(M||(M=new e),n(x,w,j,A,_,M)):!1}return lb=C,lb}var cb,vE;function mC(){if(vE)return cb;vE=1;var e=_K(),t=si();function r(n,a,o,l,c){return n===a?!0:n==null||a==null||!t(n)&&!t(a)?n!==n&&a!==a:e(n,a,o,l,r,c)}return cb=r,cb}var ub,xE;function EK(){if(xE)return ub;xE=1;var e=vR(),t=mC(),r=1,n=2;function a(o,l,c,f){var p=c.length,g=p,m=!f;if(o==null)return!g;for(o=Object(o);p--;){var y=c[p];if(m&&y[2]?y[1]!==o[y[0]]:!(y[0]in o))return!1}for(;++p<g;){y=c[p];var b=y[0],C=o[b],x=y[1];if(m&&y[2]){if(C===void 0&&!(b in o))return!1}else{var w=new e;if(f)var j=f(C,x,b,o,l,w);if(!(j===void 0?t(x,C,r|n,f,w):j))return!1}}return!0}return ub=a,ub}var db,bE;function _R(){if(bE)return db;bE=1;var e=to();function t(r){return r===r&&!e(r)}return db=t,db}var fb,SE;function TK(){if(SE)return fb;SE=1;var e=_R(),t=Qm();function r(n){for(var a=t(n),o=a.length;o--;){var l=a[o],c=n[l];a[o]=[l,c,e(c)]}return a}return fb=r,fb}var pb,wE;function ER(){if(wE)return pb;wE=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return pb=e,pb}var hb,CE;function PK(){if(CE)return hb;CE=1;var e=EK(),t=TK(),r=ER();function n(a){var o=t(a);return o.length==1&&o[0][2]?r(o[0][0],o[0][1]):function(l){return l===a||e(l,a,o)}}return hb=n,hb}var mb,jE;function MK(){if(jE)return mb;jE=1;function e(t,r){return t!=null&&r in Object(t)}return mb=e,mb}var gb,OE;function RK(){if(OE)return gb;OE=1;var e=V6(),t=fC(),r=Fr(),n=pC(),a=hC(),o=Gm();function l(c,f,p){f=e(f,c);for(var g=-1,m=f.length,y=!1;++g<m;){var b=o(f[g]);if(!(y=c!=null&&p(c,b)))break;c=c[b]}return y||++g!=m?y:(m=c==null?0:c.length,!!m&&a(m)&&n(b,m)&&(r(c)||t(c)))}return gb=l,gb}var yb,NE;function kK(){if(NE)return yb;NE=1;var e=MK(),t=RK();function r(n,a){return n!=null&&t(n,a,e)}return yb=r,yb}var vb,AE;function IK(){if(AE)return vb;AE=1;var e=mC(),t=Q6(),r=kK(),n=Yw(),a=_R(),o=ER(),l=Gm(),c=1,f=2;function p(g,m){return n(g)&&a(m)?o(l(g),m):function(y){var b=t(y,g);return b===void 0&&b===m?r(y,g):e(m,b,c|f)}}return vb=p,vb}var xb,DE;function vc(){if(DE)return xb;DE=1;function e(t){return t}return xb=e,xb}var bb,_E;function zK(){if(_E)return bb;_E=1;function e(t){return function(r){return r?.[t]}}return bb=e,bb}var Sb,EE;function $K(){if(EE)return Sb;EE=1;var e=nC();function t(r){return function(n){return e(n,r)}}return Sb=t,Sb}var wb,TE;function LK(){if(TE)return wb;TE=1;var e=zK(),t=$K(),r=Yw(),n=Gm();function a(o){return r(o)?e(n(o)):t(o)}return wb=a,wb}var Cb,PE;function xa(){if(PE)return Cb;PE=1;var e=PK(),t=IK(),r=vc(),n=Fr(),a=LK();function o(l){return typeof l=="function"?l:l==null?r:typeof l=="object"?n(l)?t(l[0],l[1]):e(l):a(l)}return Cb=o,Cb}var jb,ME;function TR(){if(ME)return jb;ME=1;function e(t,r,n,a){for(var o=t.length,l=n+(a?1:-1);a?l--:++l<o;)if(r(t[l],l,t))return l;return-1}return jb=e,jb}var Ob,RE;function HK(){if(RE)return Ob;RE=1;function e(t){return t!==t}return Ob=e,Ob}var Nb,kE;function BK(){if(kE)return Nb;kE=1;function e(t,r,n){for(var a=n-1,o=t.length;++a<o;)if(t[a]===r)return a;return-1}return Nb=e,Nb}var Ab,IE;function qK(){if(IE)return Ab;IE=1;var e=TR(),t=HK(),r=BK();function n(a,o,l){return o===o?r(a,o,l):e(a,t,l)}return Ab=n,Ab}var Db,zE;function FK(){if(zE)return Db;zE=1;var e=qK();function t(r,n){var a=r==null?0:r.length;return!!a&&e(r,n,0)>-1}return Db=t,Db}var _b,$E;function UK(){if($E)return _b;$E=1;function e(t,r,n){for(var a=-1,o=t==null?0:t.length;++a<o;)if(n(r,t[a]))return!0;return!1}return _b=e,_b}var Eb,LE;function GK(){if(LE)return Eb;LE=1;function e(){}return Eb=e,Eb}var Tb,HE;function WK(){if(HE)return Tb;HE=1;var e=DR(),t=GK(),r=dC(),n=1/0,a=e&&1/r(new e([,-0]))[1]==n?function(o){return new e(o)}:t;return Tb=a,Tb}var Pb,BE;function ZK(){if(BE)return Pb;BE=1;var e=xR(),t=FK(),r=UK(),n=SR(),a=WK(),o=dC(),l=200;function c(f,p,g){var m=-1,y=t,b=f.length,C=!0,x=[],w=x;if(g)C=!1,y=r;else if(b>=l){var j=p?null:a(f);if(j)return o(j);C=!1,y=n,w=new e}else w=p?[]:x;e:for(;++m<b;){var A=f[m],_=p?p(A):A;if(A=g||A!==0?A:0,C&&_===_){for(var M=w.length;M--;)if(w[M]===_)continue e;p&&w.push(_),x.push(A)}else y(w,_,g)||(w!==x&&w.push(_),x.push(A))}return x}return Pb=c,Pb}var Mb,qE;function KK(){if(qE)return Mb;qE=1;var e=xa(),t=ZK();function r(n,a){return n&&n.length?t(n,e(a,2)):[]}return Mb=r,Mb}var VK=KK();const FE=tt(VK);function PR(e,t,r){return t===!0?FE(e,r):Pe(t)?FE(e,t):e}function Hl(e){"@babel/helpers - typeof";return Hl=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},Hl(e)}var QK=["ref"];function UE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ha(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UE(Object(r),!0).forEach(function(n){Ym(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UE(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RR(n.key),n)}}function XK(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function JK(e,t,r){return t=Nh(t),eV(e,MR()?Reflect.construct(t,r||[],Nh(e).constructor):t.apply(e,r))}function eV(e,t){if(t&&(Hl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tV(e)}function tV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MR=function(){return!!e})()}function Nh(e){return Nh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Nh(e)}function rV(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&&oS(e,t)}function oS(e,t){return oS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},oS(e,t)}function Ym(e,t,r){return t=RR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RR(e){var t=nV(e,"string");return Hl(t)=="symbol"?t:t+""}function nV(e,t){if(Hl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function aV(e,t){if(e==null)return{};var r=iV(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function iV(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function oV(e){return e.value}function sV(e,t){if($.isValidElement(e))return $.cloneElement(e,t);if(typeof e=="function")return $.createElement(e,t);t.ref;var r=aV(t,QK);return $.createElement(uC,r)}var WE=1,Qa=(function(e){function t(){var r;YK(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r=JK(this,t,[].concat(a)),Ym(r,"lastBoundingBox",{width:-1,height:-1}),r}return rV(t,e),XK(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>WE||Math.abs(a.height-this.lastBoundingBox.height)>WE)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,n&&n(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ha({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var a=this.props,o=a.layout,l=a.align,c=a.verticalAlign,f=a.margin,p=a.chartWidth,g=a.chartHeight,m,y;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(l==="center"&&o==="vertical"){var b=this.getBBoxSnapshot();m={left:((p||0)-b.width)/2}}else m=l==="right"?{right:f&&f.right||0}:{left:f&&f.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(c==="middle"){var C=this.getBBoxSnapshot();y={top:((g||0)-C.height)/2}}else y=c==="bottom"?{bottom:f&&f.bottom||0}:{top:f&&f.top||0};return Ha(Ha({},m),y)}},{key:"render",value:function(){var n=this,a=this.props,o=a.content,l=a.width,c=a.height,f=a.wrapperStyle,p=a.payloadUniqBy,g=a.payload,m=Ha(Ha({position:"absolute",width:l||"auto",height:c||"auto"},this.getDefaultPosition(f)),f);return $.createElement("div",{className:"recharts-legend-wrapper",style:m,ref:function(b){n.wrapperNode=b}},sV(o,Ha(Ha({},this.props),{},{payload:PR(g,p,oV)})))}}],[{key:"getWithHeight",value:function(n,a){var o=Ha(Ha({},this.defaultProps),n.props),l=o.layout;return l==="vertical"&&pe(n.props.height)?{height:n.props.height}:l==="horizontal"?{width:n.props.width||a}:null}}])})(T.PureComponent);Ym(Qa,"displayName","Legend");Ym(Qa,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Rb,ZE;function lV(){if(ZE)return Rb;ZE=1;var e=ef(),t=fC(),r=Fr(),n=e?e.isConcatSpreadable:void 0;function a(o){return r(o)||t(o)||!!(n&&o&&o[n])}return Rb=a,Rb}var kb,KE;function kR(){if(KE)return kb;KE=1;var e=CR(),t=lV();function r(n,a,o,l,c){var f=-1,p=n.length;for(o||(o=t),c||(c=[]);++f<p;){var g=n[f];a>0&&o(g)?a>1?r(g,a-1,o,l,c):e(c,g):l||(c[c.length]=g)}return c}return kb=r,kb}var Ib,VE;function cV(){if(VE)return Ib;VE=1;function e(t){return function(r,n,a){for(var o=-1,l=Object(r),c=a(r),f=c.length;f--;){var p=c[t?f:++o];if(n(l[p],p,l)===!1)break}return r}}return Ib=e,Ib}var zb,QE;function uV(){if(QE)return zb;QE=1;var e=cV(),t=e();return zb=t,zb}var $b,YE;function IR(){if(YE)return $b;YE=1;var e=uV(),t=Qm();function r(n,a){return n&&e(n,a,t)}return $b=r,$b}var Lb,XE;function dV(){if(XE)return Lb;XE=1;var e=rf();function t(r,n){return function(a,o){if(a==null)return a;if(!e(a))return r(a,o);for(var l=a.length,c=n?l:-1,f=Object(a);(n?c--:++c<l)&&o(f[c],c,f)!==!1;);return a}}return Lb=t,Lb}var Hb,JE;function gC(){if(JE)return Hb;JE=1;var e=IR(),t=dV(),r=t(e);return Hb=r,Hb}var Bb,e3;function zR(){if(e3)return Bb;e3=1;var e=gC(),t=rf();function r(n,a){var o=-1,l=t(n)?Array(n.length):[];return e(n,function(c,f,p){l[++o]=a(c,f,p)}),l}return Bb=r,Bb}var qb,t3;function fV(){if(t3)return qb;t3=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return qb=e,qb}var Fb,r3;function pV(){if(r3)return Fb;r3=1;var e=mc();function t(r,n){if(r!==n){var a=r!==void 0,o=r===null,l=r===r,c=e(r),f=n!==void 0,p=n===null,g=n===n,m=e(n);if(!p&&!m&&!c&&r>n||c&&f&&g&&!p&&!m||o&&f&&g||!a&&g||!l)return 1;if(!o&&!c&&!m&&r<n||m&&a&&l&&!o&&!c||p&&a&&l||!f&&l||!g)return-1}return 0}return Fb=t,Fb}var Ub,n3;function hV(){if(n3)return Ub;n3=1;var e=pV();function t(r,n,a){for(var o=-1,l=r.criteria,c=n.criteria,f=l.length,p=a.length;++o<f;){var g=e(l[o],c[o]);if(g){if(o>=p)return g;var m=a[o];return g*(m=="desc"?-1:1)}}return r.index-n.index}return Ub=t,Ub}var Gb,a3;function mV(){if(a3)return Gb;a3=1;var e=rC(),t=nC(),r=xa(),n=zR(),a=fV(),o=OR(),l=hV(),c=vc(),f=Fr();function p(g,m,y){m.length?m=e(m,function(x){return f(x)?function(w){return t(w,x.length===1?x[0]:x)}:x}):m=[c];var b=-1;m=e(m,o(r));var C=n(g,function(x,w,j){var A=e(m,function(_){return _(x)});return{criteria:A,index:++b,value:x}});return a(C,function(x,w){return l(x,w,y)})}return Gb=p,Gb}var Wb,i3;function gV(){if(i3)return Wb;i3=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return Wb=e,Wb}var Zb,o3;function yV(){if(o3)return Zb;o3=1;var e=gV(),t=Math.max;function r(n,a,o){return a=t(a===void 0?n.length-1:a,0),function(){for(var l=arguments,c=-1,f=t(l.length-a,0),p=Array(f);++c<f;)p[c]=l[a+c];c=-1;for(var g=Array(a+1);++c<a;)g[c]=l[c];return g[a]=o(p),e(n,this,g)}}return Zb=r,Zb}var Kb,s3;function vV(){if(s3)return Kb;s3=1;function e(t){return function(){return t}}return Kb=e,Kb}var Vb,l3;function $R(){if(l3)return Vb;l3=1;var e=vs(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return Vb=t,Vb}var Qb,c3;function xV(){if(c3)return Qb;c3=1;var e=vV(),t=$R(),r=vc(),n=t?function(a,o){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(o),writable:!0})}:r;return Qb=n,Qb}var Yb,u3;function bV(){if(u3)return Yb;u3=1;var e=800,t=16,r=Date.now;function n(a){var o=0,l=0;return function(){var c=r(),f=t-(c-l);if(l=c,f>0){if(++o>=e)return arguments[0]}else o=0;return a.apply(void 0,arguments)}}return Yb=n,Yb}var Xb,d3;function SV(){if(d3)return Xb;d3=1;var e=xV(),t=bV(),r=t(e);return Xb=r,Xb}var Jb,f3;function wV(){if(f3)return Jb;f3=1;var e=vc(),t=yV(),r=SV();function n(a,o){return r(t(a,o,e),a+"")}return Jb=n,Jb}var e1,p3;function Xm(){if(p3)return e1;p3=1;var e=Jw(),t=rf(),r=pC(),n=to();function a(o,l,c){if(!n(c))return!1;var f=typeof l;return(f=="number"?t(c)&&r(l,c.length):f=="string"&&l in c)?e(c[l],o):!1}return e1=a,e1}var t1,h3;function CV(){if(h3)return t1;h3=1;var e=kR(),t=mV(),r=wV(),n=Xm(),a=r(function(o,l){if(o==null)return[];var c=l.length;return c>1&&n(o,l[0],l[1])?l=[]:c>2&&n(l[0],l[1],l[2])&&(l=[l[0]]),t(o,e(l,1),[])});return t1=a,t1}var jV=CV();const yC=tt(jV);function dd(e){"@babel/helpers - typeof";return dd=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},dd(e)}function sS(){return sS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sS.apply(this,arguments)}function OV(e,t){return _V(e)||DV(e,t)||AV(e,t)||NV()}function NV(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 424In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AV(e,t){if(e){if(typeof e=="string")return m3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m3(e,t)}}function m3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function DV(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function _V(e){if(Array.isArray(e))return e}function g3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function r1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?g3(Object(r),!0).forEach(function(n){EV(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function EV(e,t,r){return t=TV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function TV(e){var t=PV(e,"string");return dd(t)=="symbol"?t:t+""}function PV(e,t){if(dd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(dd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function MV(e){return Array.isArray(e)&&Kt(e[0])&&Kt(e[1])?e.join(" ~ "):e}var RV=function(t){var r=t.separator,n=r===void 0?" : ":r,a=t.contentStyle,o=a===void 0?{}:a,l=t.itemStyle,c=l===void 0?{}:l,f=t.labelStyle,p=f===void 0?{}:f,g=t.payload,m=t.formatter,y=t.itemSorter,b=t.wrapperClassName,C=t.labelClassName,x=t.label,w=t.labelFormatter,j=t.accessibilityLayer,A=j===void 0?!1:j,_=function(){if(g&&g.length){var L={padding:0,margin:0},G=(y?yC(g,y):g).map(function(W,q){if(W.type==="none")return null;var k=r1({display:"block",paddingTop:4,paddingBottom:4,color:W.color||"#000"},c),H=W.formatter||m||MV,U=W.value,Y=W.name,ae=U,B=Y;if(H&&ae!=null&&B!=null){var K=H(U,Y,W,q,g);if(Array.isArray(K)){var V=OV(K,2);ae=V[0],B=V[1]}else ae=K}return $.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(q),style:k},Kt(B)?$.createElement("span",{className:"recharts-tooltip-item-name"},B):null,Kt(B)?$.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,$.createElement("span",{className:"recharts-tooltip-item-value"},ae),$.createElement("span",{className:"recharts-tooltip-item-unit"},W.unit||""))});return $.createElement("ul",{className:"recharts-tooltip-item-list",style:L},G)}return null},M=r1({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),N=r1({margin:0},p),D=!ze(x),O=D?x:"",P=ke("recharts-default-tooltip",b),R=ke("recharts-tooltip-label",C);D&&w&&g!==void 0&&g!==null&&(O=w(x,g));var F=A?{role:"status","aria-live":"assertive"}:{};return $.createElement("div",sS({className:P,style:M},F),$.createElement("p",{className:R,style:N},$.isValidElement(O)?O:"".concat(O)),_())};function fd(e){"@babel/helpers - typeof";return fd=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},fd(e)}function $p(e,t,r){return t=kV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kV(e){var t=IV(e,"string");return fd(t)=="symbol"?t:t+""}function IV(e,t){if(fd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(fd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Su="recharts-tooltip-wrapper",zV={visibility:"hidden"};function $V(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return ke(Su,$p($p($p($p({},"".concat(Su,"-right"),pe(r)&&t&&pe(t.x)&&r>=t.x),"".concat(Su,"-left"),pe(r)&&t&&pe(t.x)&&r<t.x),"".concat(Su,"-bottom"),pe(n)&&t&&pe(t.y)&&n>=t.y),"".concat(Su,"-top"),pe(n)&&t&&pe(t.y)&&n<t.y))}function y3(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,a=e.offsetTopLeft,o=e.position,l=e.reverseDirection,c=e.tooltipDimension,f=e.viewBox,p=e.viewBoxDimension;if(o&&pe(o[n]))return o[n];var g=r[n]-c-a,m=r[n]+a;if(t[n])return l[n]?g:m;if(l[n]){var y=g,b=f[n];return y<b?Math.max(m,f[n]):Math.max(g,f[n])}var C=m+c,x=f[n]+p;return C>x?Math.max(g,f[n]):Math.max(m,f[n])}function LV(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function HV(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,a=e.position,o=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,f=e.viewBox,p,g,m;return l.height>0&&l.width>0&&r?(g=y3({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:a,reverseDirection:o,tooltipDimension:l.width,viewBox:f,viewBoxDimension:f.width}),m=y3({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:a,reverseDirection:o,tooltipDimension:l.height,viewBox:f,viewBoxDimension:f.height}),p=LV({translateX:g,translateY:m,useTranslate3d:c})):p=zV,{cssProperties:p,cssClasses:$V({translateX:g,translateY:m,coordinate:r})}}function Bl(e){"@babel/helpers - typeof";return Bl=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},Bl(e)}function v3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function x3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?v3(Object(r),!0).forEach(function(n){cS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function BV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qV(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,HR(n.key),n)}}function FV(e,t,r){return t&&qV(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function UV(e,t,r){return t=Ah(t),GV(e,LR()?Reflect.construct(t,r||[],Ah(e).constructor):t.apply(e,r))}function GV(e,t){if(t&&(Bl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return WV(e)}function WV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(LR=function(){return!!e})()}function Ah(e){return Ah=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Ah(e)}function ZV(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&&lS(e,t)}function lS(e,t){return lS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},lS(e,t)}function cS(e,t,r){return t=HR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HR(e){var t=KV(e,"string");return Bl(t)=="symbol"?t:t+""}function KV(e,t){if(Bl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Bl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var b3=1,VV=(function(e){function t(){var r;BV(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r=UV(this,t,[].concat(a)),cS(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),cS(r,"handleKeyDown",function(l){if(l.key==="Escape"){var c,f,p,g;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(c=(f=r.props.coordinate)===null||f===void 0?void 0:f.x)!==null&&c!==void 0?c:0,y:(p=(g=r.props.coordinate)===null||g===void 0?void 0:g.y)!==null&&p!==void 0?p:0}})}}),r}return ZV(t,e),FV(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>b3||Math.abs(n.height-this.state.lastBoundingBox.height)>b3)&&this.setState({lastBoundingBox:{width:n.width,height:n.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 n,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,a=this.props,o=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,p=a.children,g=a.coordinate,m=a.hasPayload,y=a.isAnimationActive,b=a.offset,C=a.position,x=a.reverseDirection,w=a.useTranslate3d,j=a.viewBox,A=a.wrapperStyle,_=HV({allowEscapeViewBox:l,coordinate:g,offsetTopLeft:b,position:C,reverseDirection:x,tooltipBox:this.state.lastBoundingBox,useTranslate3d:w,viewBox:j}),M=_.cssClasses,N=_.cssProperties,D=x3(x3({transition:y&&o?"transform ".concat(c,"ms ").concat(f):void 0},N),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&m?"visible":"hidden",position:"absolute",top:0,left:0},A);return $.createElement("div",{tabIndex:-1,className:M,style:D,ref:function(P){n.wrapperNode=P}},p)}}])})(T.PureComponent),QV=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},ro={isSsr:QV()};function ql(e){"@babel/helpers - typeof";return ql=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},ql(e)}function S3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function w3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?S3(Object(r),!0).forEach(function(n){vC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XV(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qR(n.key),n)}}function JV(e,t,r){return t&&XV(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function eQ(e,t,r){return t=Dh(t),tQ(e,BR()?Reflect.construct(t,r||[],Dh(e).constructor):t.apply(e,r))}function tQ(e,t){if(t&&(ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return rQ(e)}function rQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(BR=function(){return!!e})()}function Dh(e){return Dh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Dh(e)}function nQ(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&&uS(e,t)}function uS(e,t){return uS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},uS(e,t)}function vC(e,t,r){return t=qR(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qR(e){var t=aQ(e,"string");return ql(t)=="symbol"?t:t+""}function aQ(e,t){if(ql(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ql(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function iQ(e){return e.dataKey}function oQ(e,t){return $.isValidElement(e)?$.cloneElement(e,t):typeof e=="function"?$.createElement(e,t):$.createElement(RV,t)}var tr=(function(e){function t(){return YV(this,t),eQ(this,t,arguments)}return nQ(t,e),JV(t,[{key:"render",value:function(){var n=this,a=this.props,o=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,f=a.animationEasing,p=a.content,g=a.coordinate,m=a.filterNull,y=a.isAnimationActive,b=a.offset,C=a.payload,x=a.payloadUniqBy,w=a.position,j=a.reverseDirection,A=a.useTranslate3d,_=a.viewBox,M=a.wrapperStyle,N=C??[];m&&N.length&&(N=PR(C.filter(function(O){return O.value!=null&&(O.hide!==!0||n.props.includeHidden)}),x,iQ));var D=N.length>0;return $.createElement(VV,{allowEscapeViewBox:l,animationDuration:c,animationEasing:f,isAnimationActive:y,active:o,coordinate:g,hasPayload:D,offset:b,position:w,reverseDirection:j,useTranslate3d:A,viewBox:_,wrapperStyle:M},oQ(p,w3(w3({},this.props),{},{payload:N})))}}])})(T.PureComponent);vC(tr,"displayName","Tooltip");vC(tr,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!ro.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 n1,C3;function sQ(){if(C3)return n1;C3=1;var e=va(),t=function(){return e.Date.now()};return n1=t,n1}var a1,j3;function lQ(){if(j3)return a1;j3=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return a1=t,a1}var i1,O3;function cQ(){if(O3)return i1;O3=1;var e=lQ(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return i1=r,i1}var o1,N3;function FR(){if(N3)return o1;N3=1;var e=cQ(),t=to(),r=mc(),n=NaN,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function f(p){if(typeof p=="number")return p;if(r(p))return n;if(t(p)){var g=typeof p.valueOf=="function"?p.valueOf():p;p=t(g)?g+"":g}if(typeof p!="string")return p===0?p:+p;p=e(p);var m=o.test(p);return m||l.test(p)?c(p.slice(2),m?2:8):a.test(p)?n:+p}return o1=f,o1}var s1,A3;function uQ(){if(A3)return s1;A3=1;var e=to(),t=sQ(),r=FR(),n="Expected a function",a=Math.max,o=Math.min;function l(c,f,p){var g,m,y,b,C,x,w=0,j=!1,A=!1,_=!0;if(typeof c!="function")throw new TypeError(n);f=r(f)||0,e(p)&&(j=!!p.leading,A="maxWait"in p,y=A?a(r(p.maxWait)||0,f):y,_="trailing"in p?!!p.trailing:_);function M(G){var W=g,q=m;return g=m=void 0,w=G,b=c.apply(q,W),b}function N(G){return w=G,C=setTimeout(P,f),j?M(G):b}function D(G){var W=G-x,q=G-w,k=f-W;return A?o(k,y-q):k}function O(G){var W=G-x,q=G-w;return x===void 0||W>=f||W<0||A&&q>=y}function P(){var G=t();if(O(G))return R(G);C=setTimeout(P,D(G))}function R(G){return C=void 0,_&&g?M(G):(g=m=void 0,b)}function F(){C!==void 0&&clearTimeout(C),w=0,g=x=m=C=void 0}function I(){return C===void 0?b:R(t())}function L(){var G=t(),W=O(G);if(g=arguments,m=this,x=G,W){if(C===void 0)return N(x);if(A)return clearTimeout(C),C=setTimeout(P,f),M(x)}return C===void 0&&(C=setTimeout(P,f)),b}return L.cancel=F,L.flush=I,L}return s1=l,s1}var l1,D3;function dQ(){if(D3)return l1;D3=1;var e=uQ(),t=to(),r="Expected a function";function n(a,o,l){var c=!0,f=!0;if(typeof a!="function")throw new TypeError(r);return t(l)&&(c="leading"in l?!!l.leading:c,f="trailing"in l?!!l.trailing:f),e(a,o,{leading:c,maxWait:o,trailing:f})}return l1=n,l1}var fQ=dQ();const UR=tt(fQ);function pd(e){"@babel/helpers - typeof";return pd=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},pd(e)}function _3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Lp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_3(Object(r),!0).forEach(function(n){pQ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pQ(e,t,r){return t=hQ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hQ(e){var t=mQ(e,"string");return pd(t)=="symbol"?t:t+""}function mQ(e,t){if(pd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(pd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gQ(e,t){return bQ(e)||xQ(e,t)||vQ(e,t)||yQ()}function yQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 425In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vQ(e,t){if(e){if(typeof e=="string")return E3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E3(e,t)}}function E3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function bQ(e){if(Array.isArray(e))return e}var ha=T.forwardRef(function(e,t){var r=e.aspect,n=e.initialDimension,a=n===void 0?{width:-1,height:-1}:n,o=e.width,l=o===void 0?"100%":o,c=e.height,f=c===void 0?"100%":c,p=e.minWidth,g=p===void 0?0:p,m=e.minHeight,y=e.maxHeight,b=e.children,C=e.debounce,x=C===void 0?0:C,w=e.id,j=e.className,A=e.onResize,_=e.style,M=_===void 0?{}:_,N=T.useRef(null),D=T.useRef();D.current=A,T.useImperativeHandle(t,function(){return Object.defineProperty(N.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),N.current},configurable:!0})});var O=T.useState({containerWidth:a.width,containerHeight:a.height}),P=gQ(O,2),R=P[0],F=P[1],I=T.useCallback(function(G,W){F(function(q){var k=Math.round(G),H=Math.round(W);return q.containerWidth===k&&q.containerHeight===H?q:{containerWidth:k,containerHeight:H}})},[]);T.useEffect(function(){var G=function(Y){var ae,B=Y[0].contentRect,K=B.width,V=B.height;I(K,V),(ae=D.current)===null||ae===void 0||ae.call(D,K,V)};x>0&&(G=UR(G,x,{trailing:!0,leading:!1}));var W=new ResizeObserver(G),q=N.current.getBoundingClientRect(),k=q.width,H=q.height;return I(k,H),W.observe(N.current),function(){W.disconnect()}},[I,x]);var L=T.useMemo(function(){var G=R.containerWidth,W=R.containerHeight;if(G<0||W<0)return null;Bn(Zo(l)||Zo(f),`The width(%s) and height(%s) are both fixed numbers, 426 maybe you don't need to use a ResponsiveContainer.`,l,f),Bn(!r||r>0,"The aspect(%s) must be greater than zero.",r);var q=Zo(l)?G:l,k=Zo(f)?W:f;r&&r>0&&(q?k=q/r:k&&(q=k*r),y&&k>y&&(k=y)),Bn(q>0||k>0,`The width(%s) and height(%s) of chart should be greater than 0, 427 please check the style of container, or the props width(%s) and height(%s), 428 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 429 height and width.`,q,k,l,f,g,m,r);var H=!Array.isArray(b)&&Va(b.type).endsWith("Chart");return $.Children.map(b,function(U){return $.isValidElement(U)?T.cloneElement(U,Lp({width:q,height:k},H?{style:Lp({height:"100%",width:"100%",maxHeight:k,maxWidth:q},U.props.style)}:{})):U})},[r,b,f,y,m,g,R,l]);return $.createElement("div",{id:w?"".concat(w):void 0,className:ke("recharts-responsive-container",j),style:Lp(Lp({},M),{},{width:l,height:f,minWidth:g,minHeight:m,maxHeight:y}),ref:N},L)}),no=function(t){return null};no.displayName="Cell";function hd(e){"@babel/helpers - typeof";return hd=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},hd(e)}function T3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function dS(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?T3(Object(r),!0).forEach(function(n){SQ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SQ(e,t,r){return t=wQ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wQ(e){var t=CQ(e,"string");return hd(t)=="symbol"?t:t+""}function CQ(e,t){if(hd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(hd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fl={widthCache:{},cacheCount:0},jQ=2e3,OQ={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},P3="recharts_measurement_span";function NQ(e){var t=dS({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var Bu=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||ro.isSsr)return{width:0,height:0};var n=NQ(r),a=JSON.stringify({text:t,copyStyle:n});if(fl.widthCache[a])return fl.widthCache[a];try{var o=document.getElementById(P3);o||(o=document.createElement("span"),o.setAttribute("id",P3),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var l=dS(dS({},OQ),n);Object.assign(o.style,l),o.textContent="".concat(t);var c=o.getBoundingClientRect(),f={width:c.width,height:c.height};return fl.widthCache[a]=f,++fl.cacheCount>jQ&&(fl.cacheCount=0,fl.widthCache={}),f}catch{return{width:0,height:0}}},AQ=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function md(e){"@babel/helpers - typeof";return md=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},md(e)}function _h(e,t){return TQ(e)||EQ(e,t)||_Q(e,t)||DQ()}function DQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 430In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _Q(e,t){if(e){if(typeof e=="string")return M3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M3(e,t)}}function M3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function EQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function TQ(e){if(Array.isArray(e))return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RQ(n.key),n)}}function MQ(e,t,r){return t&&R3(e.prototype,t),r&&R3(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function RQ(e){var t=kQ(e,"string");return md(t)=="symbol"?t:t+""}function kQ(e,t){if(md(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(md(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var k3=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,I3=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,IQ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,zQ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,GR={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},$Q=Object.keys(GR),Cl="NaN";function LQ(e,t){return e*GR[t]}var Hp=(function(){function e(t,r){PQ(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!IQ.test(r)&&(this.num=NaN,this.unit=""),$Q.includes(r)&&(this.num=LQ(t,r),this.unit="px")}return MQ(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.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(r){var n,a=(n=zQ.exec(r))!==null&&n!==void 0?n:[],o=_h(a,3),l=o[1],c=o[2];return new e(parseFloat(l),c??"")}}])})();function WR(e){if(e.includes(Cl))return Cl;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=k3.exec(t))!==null&&r!==void 0?r:[],a=_h(n,4),o=a[1],l=a[2],c=a[3],f=Hp.parse(o??""),p=Hp.parse(c??""),g=l==="*"?f.multiply(p):f.divide(p);if(g.isNaN())return Cl;t=t.replace(k3,g.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var m,y=(m=I3.exec(t))!==null&&m!==void 0?m:[],b=_h(y,4),C=b[1],x=b[2],w=b[3],j=Hp.parse(C??""),A=Hp.parse(w??""),_=x==="+"?j.add(A):j.subtract(A);if(_.isNaN())return Cl;t=t.replace(I3,_.toString())}return t}var z3=/\(([^()]*)\)/;function HQ(e){for(var t=e;t.includes("(");){var r=z3.exec(t),n=_h(r,2),a=n[1];t=t.replace(z3,WR(a))}return t}function BQ(e){var t=e.replace(/\s+/g,"");return t=HQ(t),t=WR(t),t}function qQ(e){try{return BQ(e)}catch{return Cl}}function c1(e){var t=qQ(e.slice(5,-1));return t===Cl?"":t}var FQ=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],UQ=["dx","dy","angle","className","breakAll"];function fS(){return fS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fS.apply(this,arguments)}function $3(e,t){if(e==null)return{};var r=GQ(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function GQ(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function L3(e,t){return VQ(e)||KQ(e,t)||ZQ(e,t)||WQ()}function WQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 431In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZQ(e,t){if(e){if(typeof e=="string")return H3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H3(e,t)}}function H3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KQ(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function VQ(e){if(Array.isArray(e))return e}var ZR=/[ \f\n\r\t\v\u2028\u2029]+/,KR=function(t){var r=t.children,n=t.breakAll,a=t.style;try{var o=[];ze(r)||(n?o=r.toString().split(""):o=r.toString().split(ZR));var l=o.map(function(f){return{word:f,width:Bu(f,a).width}}),c=n?0:Bu("Â ",a).width;
431return{wordsWithComputedWidth:l,spaceWidth:c}}catch{return null}},QQ=function(t,r,n,a,o){var l=t.maxLines,c=t.children,f=t.style,p=t.breakAll,g=pe(l),m=c,y=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return q.reduce(function(k,H){var U=H.word,Y=H.width,ae=k[k.length-1];if(ae&&(a==null||o||ae.width+Y+n<Number(a)))ae.words.push(U),ae.width+=Y+n;else{var B={words:[U],width:Y};k.push(B)}return k},[])},b=y(r),C=function(q){return q.reduce(function(k,H){return k.width>H.width?k:H})};if(!g)return b;for(var x="â¦",w=function(q){var k=m.slice(0,q),H=KR({breakAll:p,style:f,children:k+x}).wordsWithComputedWidth,U=y(H),Y=U.length>l||C(U).width>Number(a);return[Y,U]},j=0,A=m.length-1,_=0,M;j<=A&&_<=m.length-1;){var N=Math.floor((j+A)/2),D=N-1,O=w(D),P=L3(O,2),R=P[0],F=P[1],I=w(N),L=L3(I,1),G=L[0];if(!R&&!G&&(j=N+1),R&&G&&(A=N-1),!R&&G){M=F;break}_++}return M||b},B3=function(t){var r=ze(t)?[]:t.toString().split(ZR);return[{words:r}]},YQ=function(t){var r=t.width,n=t.scaleToFit,a=t.children,o=t.style,l=t.breakAll,c=t.maxLines;if((r||n)&&!ro.isSsr){var f,p,g=KR({breakAll:l,children:a,style:o});if(g){var m=g.wordsWithComputedWidth,y=g.spaceWidth;f=m,p=y}else return B3(a);return QQ({breakAll:l,children:a,maxLines:c,style:o},f,p,r,n)}return B3(a)},q3="#808080",ls=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,o=a===void 0?0:a,l=t.lineHeight,c=l===void 0?"1em":l,f=t.capHeight,p=f===void 0?"0.71em":f,g=t.scaleToFit,m=g===void 0?!1:g,y=t.textAnchor,b=y===void 0?"start":y,C=t.verticalAnchor,x=C===void 0?"end":C,w=t.fill,j=w===void 0?q3:w,A=$3(t,FQ),_=T.useMemo(function(){return YQ({breakAll:A.breakAll,children:A.children,maxLines:A.maxLines,scaleToFit:m,style:A.style,width:A.width})},[A.breakAll,A.children,A.maxLines,m,A.style,A.width]),M=A.dx,N=A.dy,D=A.angle,O=A.className,P=A.breakAll,R=$3(A,UQ);if(!Kt(n)||!Kt(o))return null;var F=n+(pe(M)?M:0),I=o+(pe(N)?N:0),L;switch(x){case"start":L=c1("calc(".concat(p,")"));break;case"middle":L=c1("calc(".concat((_.length-1)/2," * -").concat(c," + (").concat(p," / 2))"));break;default:L=c1("calc(".concat(_.length-1," * -").concat(c,")"));break}var G=[];if(m){var W=_[0].width,q=A.width;G.push("scale(".concat((pe(q)?q/W:1)/W,")"))}return D&&G.push("rotate(".concat(D,", ").concat(F,", ").concat(I,")")),G.length&&(R.transform=G.join(" ")),$.createElement("text",fS({},Ae(R,!0),{x:F,y:I,className:ke("recharts-text",O),textAnchor:b,fill:j.includes("url")?q3:j}),_.map(function(k,H){var U=k.words.join(P?"":" ");return $.createElement("tspan",{x:F,dy:H===0?L:c,key:"".concat(U,"-").concat(H)},U)}))};function Wi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function XQ(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function xC(e){let t,r,n;e.length!==2?(t=Wi,r=(c,f)=>Wi(e(c),f),n=(c,f)=>e(c)-f):(t=e===Wi||e===XQ?e:JQ,r=e,n=e);function a(c,f,p=0,g=c.length){if(p<g){if(t(f,f)!==0)return g;do{const m=p+g>>>1;r(c[m],f)<0?p=m+1:g=m}while(p<g)}return p}function o(c,f,p=0,g=c.length){if(p<g){if(t(f,f)!==0)return g;do{const m=p+g>>>1;r(c[m],f)<=0?p=m+1:g=m}while(p<g)}return p}function l(c,f,p=0,g=c.length){const m=a(c,f,p,g-1);return m>p&&n(c[m-1],f)>-n(c[m],f)?m-1:m}return{left:a,center:l,right:o}}function JQ(){return 0}function VR(e){return e===null?NaN:+e}function*eY(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const tY=xC(Wi),nf=tY.right;xC(VR).center;class F3 extends Map{constructor(t,r=aY){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,a]of t)this.set(n,a)}get(t){return super.get(U3(this,t))}has(t){return super.has(U3(this,t))}set(t,r){return super.set(rY(this,t),r)}delete(t){return super.delete(nY(this,t))}}function U3({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function rY({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function nY({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function aY(e){return e!==null&&typeof e=="object"?e.valueOf():e}function iY(e=Wi){if(e===Wi)return QR;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function QR(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const oY=Math.sqrt(50),sY=Math.sqrt(10),lY=Math.sqrt(2);function Eh(e,t,r){const n=(t-e)/Math.max(0,r),a=Math.floor(Math.log10(n)),o=n/Math.pow(10,a),l=o>=oY?10:o>=sY?5:o>=lY?2:1;let c,f,p;return a<0?(p=Math.pow(10,-a)/l,c=Math.round(e*p),f=Math.round(t*p),c/p<e&&++c,f/p>t&&--f,p=-p):(p=Math.pow(10,a)*l,c=Math.round(e/p),f=Math.round(t/p),c*p<e&&++c,f*p>t&&--f),f<c&&.5<=r&&r<2?Eh(e,t,r*2):[c,f,p]}function pS(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[a,o,l]=n?Eh(t,e,r):Eh(e,t,r);if(!(o>=a))return[];const c=o-a+1,f=new Array(c);if(n)if(l<0)for(let p=0;p<c;++p)f[p]=(o-p)/-l;else for(let p=0;p<c;++p)f[p]=(o-p)*l;else if(l<0)for(let p=0;p<c;++p)f[p]=(a+p)/-l;else for(let p=0;p<c;++p)f[p]=(a+p)*l;return f}function hS(e,t,r){return t=+t,e=+e,r=+r,Eh(e,t,r)[2]}function mS(e,t,r){t=+t,e=+e,r=+r;const n=t<e,a=n?hS(t,e,r):hS(e,t,r);return(n?-1:1)*(a<0?1/-a:a)}function G3(e,t){let r;for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);return r}function W3(e,t){let r;for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);return r}function YR(e,t,r=0,n=1/0,a){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(a=a===void 0?QR:iY(a);n>r;){if(n-r>600){const f=n-r+1,p=t-r+1,g=Math.log(f),m=.5*Math.exp(2*g/3),y=.5*Math.sqrt(g*m*(f-m)/f)*(p-f/2<0?-1:1),b=Math.max(r,Math.floor(t-p*m/f+y)),C=Math.min(n,Math.floor(t+(f-p)*m/f+y));YR(e,t,b,C,a)}const o=e[t];let l=r,c=n;for(wu(e,r,t),a(e[n],o)>0&&wu(e,r,n);l<c;){for(wu(e,l,c),++l,--c;a(e[l],o)<0;)++l;for(;a(e[c],o)>0;)--c}a(e[r],o)===0?wu(e,r,c):(++c,wu(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function wu(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function cY(e,t,r){if(e=Float64Array.from(eY(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return W3(e);
vendor: 8,606 bytes, line 431
431if(t>=1)return G3(e);var n,a=(n-1)*t,o=Math.floor(a),l=G3(YR(e,o).subarray(0,o+1)),c=W3(e.subarray(o+1));return l+(c-l)*(a-o)}}function uY(e,t,r=VR){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,a=(n-1)*t,o=Math.floor(a),l=+r(e[o],o,e),c=+r(e[o+1],o+1,e);return l+(c-l)*(a-o)}}function dY(e,t,r){e=+e,t=+t,r=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+r;for(var n=-1,a=Math.max(0,Math.ceil((t-e)/r))|0,o=new Array(a);++n<a;)o[n]=e+n*r;return o}function _n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function li(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 gS=Symbol("implicit");function bC(){var e=new F3,t=[],r=[],n=gS;function a(o){let l=e.get(o);if(l===void 0){if(n!==gS)return n;e.set(o,l=t.push(o)-1)}return r[l%r.length]}return a.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new F3;for(const l of o)e.has(l)||e.set(l,t.push(l)-1);return a},a.range=function(o){return arguments.length?(r=Array.from(o),a):r.slice()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.copy=function(){return bC(t,r).unknown(n)},_n.apply(a,arguments),a}function gd(){var e=bC().unknown(void 0),t=e.domain,r=e.range,n=0,a=1,o,l,c=!1,f=0,p=0,g=.5;delete e.unknown;function m(){var y=t().length,b=a<n,C=b?a:n,x=b?n:a;o=(x-C)/Math.max(1,y-f+p*2),c&&(o=Math.floor(o)),C+=(x-C-o*(y-f))*g,l=o*(1-f),c&&(C=Math.round(C),l=Math.round(l));var w=dY(y).map(function(j){return C+o*j});return r(b?w.reverse():w)}return e.domain=function(y){return arguments.length?(t(y),m()):t()},e.range=function(y){return arguments.length?([n,a]=y,n=+n,a=+a,m()):[n,a]},e.rangeRound=function(y){return[n,a]=y,n=+n,a=+a,c=!0,m()},e.bandwidth=function(){return l},e.step=function(){return o},e.round=function(y){return arguments.length?(c=!!y,m()):c},e.padding=function(y){return arguments.length?(f=Math.min(1,p=+y),m()):f},e.paddingInner=function(y){return arguments.length?(f=Math.min(1,y),m()):f},e.paddingOuter=function(y){return arguments.length?(p=+y,m()):p},e.align=function(y){return arguments.length?(g=Math.max(0,Math.min(1,y)),m()):g},e.copy=function(){return gd(t(),[n,a]).round(c).paddingInner(f).paddingOuter(p).align(g)},_n.apply(m(),arguments)}function XR(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return XR(t())},e}function qu(){return XR(gd.apply(null,arguments).paddingInner(1))}function SC(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function JR(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function af(){}var yd=.7,Th=1/yd,Tl="\\s*([+-]?\\d+)\\s*",vd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ua="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",fY=/^#([0-9a-f]{3,8})$/,pY=new RegExp(`^rgb\\(${Tl},${Tl},${Tl}\\)$`),hY=new RegExp(`^rgb\\(${ua},${ua},${ua}\\)$`),mY=new RegExp(`^rgba\\(${Tl},${Tl},${Tl},${vd}\\)$`),gY=new RegExp(`^rgba\\(${ua},${ua},${ua},${vd}\\)$`),yY=new RegExp(`^hsl\\(${vd},${ua},${ua}\\)$`),vY=new RegExp(`^hsla\\(${vd},${ua},${ua},${vd}\\)$`),Z3={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};SC(af,xd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:K3,formatHex:K3,formatHex8:xY,formatHsl:bY,formatRgb:V3,toString:V3});function K3(){return this.rgb().formatHex()}function xY(){return this.rgb().formatHex8()}function bY(){return ek(this).formatHsl()}function V3(){return this.rgb().formatRgb()}function xd(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=fY.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Q3(t):r===3?new qr(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Bp(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Bp(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=pY.exec(e))?new qr(t[1],t[2],t[3],1):(t=hY.exec(e))?new qr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=mY.exec(e))?Bp(t[1],t[2],t[3],t[4]):(t=gY.exec(e))?Bp(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=yY.exec(e))?J3(t[1],t[2]/100,t[3]/100,1):(t=vY.exec(e))?J3(t[1],t[2]/100,t[3]/100,t[4]):Z3.hasOwnProperty(e)?Q3(Z3[e]):e==="transparent"?new qr(NaN,NaN,NaN,0):null}function Q3(e){return new qr(e>>16&255,e>>8&255,e&255,1)}function Bp(e,t,r,n){return n<=0&&(e=t=r=NaN),new qr(e,t,r,n)}function SY(e){return e instanceof af||(e=xd(e)),e?(e=e.rgb(),new qr(e.r,e.g,e.b,e.opacity)):new qr}function yS(e,t,r,n){return arguments.length===1?SY(e):new qr(e,t,r,n??1)}function qr(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}SC(qr,yS,JR(af,{brighter(e){return e=e==null?Th:Math.pow(Th,e),new qr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?yd:Math.pow(yd,e),new qr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new qr(Jo(this.r),Jo(this.g),Jo(this.b),Ph(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:Y3,formatHex:Y3,formatHex8:wY,formatRgb:X3,toString:X3}));function Y3(){return`#${Ko(this.r)}${Ko(this.g)}${Ko(this.b)}`}function wY(){return`#${Ko(this.r)}${Ko(this.g)}${Ko(this.b)}${Ko((isNaN(this.opacity)?1:this.opacity)*255)}`}function X3(){const e=Ph(this.opacity);return`${e===1?"rgb(":"rgba("}${Jo(this.r)}, ${Jo(this.g)}, ${Jo(this.b)}${e===1?")":`, ${e})`}`}function Ph(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Jo(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ko(e){return e=Jo(e),(e<16?"0":"")+e.toString(16)}function J3(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Hn(e,t,r,n)}function ek(e){if(e instanceof Hn)return new Hn(e.h,e.s,e.l,e.opacity);if(e instanceof af||(e=xd(e)),!e)return new Hn;
vendor: 5,422 bytes, line 431
431if(e instanceof Hn)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),o=Math.max(t,r,n),l=NaN,c=o-a,f=(o+a)/2;return c?(t===o?l=(r-n)/c+(r<n)*6:r===o?l=(n-t)/c+2:l=(t-r)/c+4,c/=f<.5?o+a:2-o-a,l*=60):c=f>0&&f<1?0:l,new Hn(l,c,f,e.opacity)}function CY(e,t,r,n){return arguments.length===1?ek(e):new Hn(e,t,r,n??1)}function Hn(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}SC(Hn,CY,JR(af,{brighter(e){return e=e==null?Th:Math.pow(Th,e),new Hn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?yd:Math.pow(yd,e),new Hn(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,r=this.l,n=r+(r<.5?r:1-r)*t,a=2*r-n;return new qr(u1(e>=240?e-240:e+120,a,n),u1(e,a,n),u1(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new Hn(eT(this.h),qp(this.s),qp(this.l),Ph(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=Ph(this.opacity);return`${e===1?"hsl(":"hsla("}${eT(this.h)}, ${qp(this.s)*100}%, ${qp(this.l)*100}%${e===1?")":`, ${e})`}`}}));function eT(e){return e=(e||0)%360,e<0?e+360:e}function qp(e){return Math.max(0,Math.min(1,e||0))}function u1(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const wC=e=>()=>e;function jY(e,t){return function(r){return e+r*t}}function OY(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function NY(e){return(e=+e)==1?tk:function(t,r){return r-t?OY(t,r,e):wC(isNaN(t)?r:t)}}function tk(e,t){var r=t-e;return r?jY(e,r):wC(isNaN(e)?t:e)}const tT=(function e(t){var r=NY(t);function n(a,o){var l=r((a=yS(a)).r,(o=yS(o)).r),c=r(a.g,o.g),f=r(a.b,o.b),p=tk(a.opacity,o.opacity);return function(g){return a.r=l(g),a.g=c(g),a.b=f(g),a.opacity=p(g),a+""}}return n.gamma=e,n})(1);function AY(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),a;return function(o){for(a=0;a<r;++a)n[a]=e[a]*(1-o)+t[a]*o;return n}}function DY(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function _Y(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,a=new Array(n),o=new Array(r),l;for(l=0;l<n;++l)a[l]=xc(e[l],t[l]);for(;l<r;++l)o[l]=t[l];return function(c){for(l=0;l<n;++l)o[l]=a[l](c);return o}}function EY(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Mh(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function TY(e,t){var r={},n={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?r[a]=xc(e[a],t[a]):n[a]=t[a];return function(o){for(a in r)n[a]=r[a](o);return n}}var vS=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,d1=new RegExp(vS.source,"g");function PY(e){return function(){return e}}function MY(e){return function(t){return e(t)+""}}function RY(e,t){var r=vS.lastIndex=d1.lastIndex=0,n,a,o,l=-1,c=[],f=[];for(e=e+"",t=t+"";(n=vS.exec(e))&&(a=d1.exec(t));)(o=a.index)>r&&(o=t.slice(r,o),c[l]?c[l]+=o:c[++l]=o),(n=n[0])===(a=a[0])?c[l]?c[l]+=a:c[++l]=a:(c[++l]=null,f.push({i:l,x:Mh(n,a)})),r=d1.lastIndex;return r<t.length&&(o=t.slice(r),c[l]?c[l]+=o:c[++l]=o),c.length<2?f[0]?MY(f[0].x):PY(t):(t=f.length,function(p){for(var g=0,m;g<t;++g)c[(m=f[g]).i]=m.x(p);return c.join("")})}function xc(e,t){var r=typeof t,n;return t==null||r==="boolean"?wC(t):(r==="number"?Mh:r==="string"?(n=xd(t))?(t=n,tT):RY:t instanceof xd?tT:t instanceof Date?EY:DY(t)?AY:Array.isArray(t)?_Y:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?TY:Mh)(e,t)}function CC(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function kY(e,t){t===void 0&&(t=e,e=xc);for(var r=0,n=t.length-1,a=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(a,a=t[++r]);return function(l){var c=Math.max(0,Math.min(n-1,Math.floor(l*=n)));return o[c](l-c)}}function IY(e){return function(){return e}}function Rh(e){return+e}var rT=[0,1];function _r(e){return e}function xS(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:IY(isNaN(t)?NaN:.5)}function zY(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function $Y(e,t,r){var n=e[0],a=e[1],o=t[0],l=t[1];return a<n?(n=xS(a,n),o=r(l,o)):(n=xS(n,a),o=r(o,l)),function(c){return o(n(c))}}function LY(e,t,r){var n=Math.min(e.length,t.length)-1,a=new Array(n),o=new Array(n),l=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<n;)a[l]=xS(e[l],e[l+1]),o[l]=r(t[l],t[l+1]);return function(c){var f=nf(e,c,1,n)-1;return o[f](a[f](c))}}function of(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Jm(){var e=rT,t=rT,r=xc,n,a,o,l=_r,c,f,p;function g(){var y=Math.min(e.length,t.length);return l!==_r&&(l=zY(e[0],e[y-1])),c=y>2?LY:$Y,f=p=null,m}function m(y){return y==null||isNaN(y=+y)?o:(f||(f=c(e.map(n),t,r)))(n(l(y)))}return m.invert=function(y){return l(a((p||(p=c(t,e.map(n),Mh)))(y)))},m.domain=function(y){return arguments.length?(e=Array.from(y,Rh),g()):e.slice()},m.range=function(y){return arguments.length?(t=Array.from(y),g()):t.slice()},m.rangeRound=function(y){return t=Array.from(y),r=CC,g()},m.clamp=function(y){return arguments.length?(l=y?!0:_r,g()):l!==_r},m.interpolate=function(y){return arguments.length?(r=y,g()):r},m.unknown=function(y){return arguments.length?(o=y,m):o},function(y,b){return n=y,a=b,g()}}function jC(){return Jm()(_r,_r)}
vendor: 4,443 bytes, line 431
431function HY(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function kh(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Fl(e){return e=kh(Math.abs(e)),e?e[1]:NaN}function BY(e,t){return function(r,n){for(var a=r.length,o=[],l=0,c=e[0],f=0;a>0&&c>0&&(f+c+1>n&&(c=Math.max(1,n-f)),o.push(r.substring(a-=c,a+c)),!((f+=c+1)>n));)c=e[l=(l+1)%e.length];return o.reverse().join(t)}}function qY(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var FY=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bd(e){if(!(t=FY.exec(e)))throw new Error("invalid format: "+e);var t;return new OC({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]})}bd.prototype=OC.prototype;function OC(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+""}OC.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 UY(e){e:for(var t=e.length,r=1,n=-1,a;r<t;++r)switch(e[r]){case".":n=a=r;break;case"0":n===0&&(n=r),a=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(a+1):e}var rk;function GY(e,t){var r=kh(e,t);if(!r)return e+"";var n=r[0],a=r[1],o=a-(rk=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,l=n.length;return o===l?n:o>l?n+new Array(o-l+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+kh(e,Math.max(0,t+o-1))[0]}function nT(e,t){var r=kh(e,t);if(!r)return e+"";var n=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+n:n.length>a+1?n.slice(0,a+1)+"."+n.slice(a+1):n+new Array(a-n.length+2).join("0")}const aT={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:HY,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>nT(e*100,t),r:nT,s:GY,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function iT(e){return e}var oT=Array.prototype.map,sT=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function WY(e){var t=e.grouping===void 0||e.thousands===void 0?iT:BY(oT.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?iT:qY(oT.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"â":e.minus+"",f=e.nan===void 0?"NaN":e.nan+"";function p(m){m=bd(m);var y=m.fill,b=m.align,C=m.sign,x=m.symbol,w=m.zero,j=m.width,A=m.comma,_=m.precision,M=m.trim,N=m.type;N==="n"?(A=!0,N="g"):aT[N]||(_===void 0&&(_=12),M=!0,N="g"),(w||y==="0"&&b==="=")&&(w=!0,y="0",b="=");var D=x==="$"?r:x==="#"&&/[boxX]/.test(N)?"0"+N.toLowerCase():"",O=x==="$"?n:/[%p]/.test(N)?l:"",P=aT[N],R=/[defgprs%]/.test(N);_=_===void 0?6:/[gprs]/.test(N)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function F(I){var L=D,G=O,W,q,k;if(N==="c")G=P(I)+G,I="";else{I=+I;var H=I<0||1/I<0;if(I=isNaN(I)?f:P(Math.abs(I),_),M&&(I=UY(I)),H&&+I==0&&C!=="+"&&(H=!1),L=(H?C==="("?C:c:C==="-"||C==="("?"":C)+L,G=(N==="s"?sT[8+rk/3]:"")+G+(H&&C==="("?")":""),R){for(W=-1,q=I.length;++W<q;)if(k=I.charCodeAt(W),48>k||k>57){G=(k===46?a+I.slice(W+1):I.slice(W))+G,I=I.slice(0,W);break}}}A&&!w&&(I=t(I,1/0));var U=L.length+I.length+G.length,Y=U<j?new Array(j-U+1).join(y):"";switch(A&&w&&(I=t(Y+I,Y.length?j-G.length:1/0),Y=""),b){case"<":I=L+I+G+Y;break;case"=":I=L+Y+I+G;break;case"^":I=Y.slice(0,U=Y.length>>1)+L+I+G+Y.slice(U);break;default:I=Y+L+I+G;break}return o(I)}return F.toString=function(){return m+""},F}function g(m,y){var b=p((m=bd(m),m.type="f",m)),C=Math.max(-8,Math.min(8,Math.floor(Fl(y)/3)))*3,x=Math.pow(10,-C),w=sT[8+C/3];return function(j){return b(x*j)+w}}return{format:p,formatPrefix:g}}var Fp,NC,nk;
431ZY({thousands:",",grouping:[3],currency:["$",""]});function ZY(e){return Fp=WY(e),NC=Fp.format,nk=Fp.formatPrefix,Fp}function KY(e){return Math.max(0,-Fl(Math.abs(e)))}function VY(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Fl(t)/3)))*3-Fl(Math.abs(e)))}function QY(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Fl(t)-Fl(e))+1}function ak(e,t,r,n){var a=mS(e,t,r),o;switch(n=bd(n??",f"),n.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(o=VY(a,l))&&(n.precision=o),nk(n,l)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(o=QY(a,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=o-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(o=KY(a))&&(n.precision=o-(n.type==="%")*2);break}}return NC(n)}function ao(e){var t=e.domain;return e.ticks=function(r){var n=t();return pS(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var a=t();return ak(a[0],a[a.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),a=0,o=n.length-1,l=n[a],c=n[o],f,p,g=10;for(c<l&&(p=l,l=c,c=p,p=a,a=o,o=p);g-- >0;){if(p=hS(l,c,r),p===f)return n[a]=l,n[o]=c,t(n);if(p>0)l=Math.floor(l/p)*p,c=Math.ceil(c/p)*p;else if(p<0)l=Math.ceil(l*p)/p,c=Math.floor(c*p)/p;else break;f=p}return e},e}function Ih(){var e=jC();return e.copy=function(){return of(e,Ih())},_n.apply(e,arguments),ao(e)}function ik(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,Rh),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return ik(e).unknown(t)},e=arguments.length?Array.from(e,Rh):[0,1],ao(r)}function ok(e,t){e=e.slice();var r=0,n=e.length-1,a=e[r],o=e[n],l;return o<a&&(l=r,r=n,n=l,l=a,a=o,o=l),e[r]=t.floor(a),e[n]=t.ceil(o),e}function lT(e){return Math.log(e)}function cT(e){return Math.exp(e)}function YY(e){return-Math.log(-e)}function XY(e){return-Math.exp(-e)}function JY(e){return isFinite(e)?+("1e"+e):e<0?0:e}function eX(e){return e===10?JY:e===Math.E?Math.exp:t=>Math.pow(e,t)}function tX(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 uT(e){return(t,r)=>-e(-t,r)}function AC(e){const t=e(lT,cT),r=t.domain;let n=10,a,o;function l(){return a=tX(n),o=eX(n),r()[0]<0?(a=uT(a),o=uT(o),e(YY,XY)):e(lT,cT),t}return t.base=function(c){return arguments.length?(n=+c,l()):n},t.domain=function(c){return arguments.length?(r(c),l()):r()},t.ticks=c=>{const f=r();let p=f[0],g=f[f.length-1];const m=g<p;m&&([p,g]=[g,p]);let y=a(p),b=a(g),C,x;const w=c==null?10:+c;let j=[];if(!(n%1)&&b-y<w){if(y=Math.floor(y),b=Math.ceil(b),p>0){for(;y<=b;++y)for(C=1;C<n;++C)if(x=y<0?C/o(-y):C*o(y),!(x<p)){if(x>g)break;j.push(x)}}else for(;y<=b;++y)for(C=n-1;C>=1;--C)if(x=y>0?C/o(-y):C*o(y),!(x<p)){if(x>g)break;j.push(x)}j.length*2<w&&(j=pS(p,g,w))}else j=pS(y,b,Math.min(b-y,w)).map(o);return m?j.reverse():j},t.tickFormat=(c,f)=>{if(c==null&&(c=10),f==null&&(f=n===10?"s":","),typeof f!="function"&&(!(n%1)&&(f=bd(f)).precision==null&&(f.trim=!0),f=NC(f)),c===1/0)return f;const p=Math.max(1,n*c/t.ticks().length);return g=>{let m=g/o(Math.round(a(g)));return m*n<n-.5&&(m*=n),m<=p?f(g):""}},t.nice=()=>r(ok(r(),{floor:c=>o(Math.floor(a(c))),ceil:c=>o(Math.ceil(a(c)))})),t}function sk(){const e=AC(Jm()).domain([1,10]);return e.copy=()=>of(e,sk()).base(e.base()),_n.apply(e,arguments),e}function dT(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function fT(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function DC(e){var t=1,r=e(dT(t),fT(t));return r.constant=function(n){return arguments.length?e(dT(t=+n),fT(t)):t},ao(r)}function lk(){var e=DC(Jm());return e.copy=function(){return of(e,lk()).constant(e.constant())},_n.apply(e,arguments)}function pT(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function rX(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function nX(e){return e<0?-e*e:e*e}function _C(e){var t=e(_r,_r),r=1;function n(){return r===1?e(_r,_r):r===.5?e(rX,nX):e(pT(r),pT(1/r))}return t.exponent=function(a){return arguments.length?(r=+a,n()):r},ao(t)}function EC(){var e=_C(Jm());return e.copy=function(){return of(e,EC()).exponent(e.exponent())},_n.apply(e,arguments),e}function aX(){return EC.apply(null,arguments).exponent(.5)}function hT(e){return Math.sign(e)*e*e}function iX(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function ck(){var e=jC(),t=[0,1],r=!1,n;function a(o){var l=iX(e(o));return isNaN(l)?n:r?Math.round(l):l}return a.invert=function(o){return e.invert(hT(o))},a.domain=function(o){return arguments.length?(e.domain(o),a):e.domain()},a.range=function(o){return arguments.length?(e.range((t=Array.from(o,Rh)).map(hT)),a):t.slice()},a.rangeRound=function(o){return a.range(o).round(!0)},a.round=function(o){return arguments.length?(r=!!o,a):r},a.clamp=function(o){return arguments.length?(e.clamp(o),a):e.clamp()},a.unknown=function(o){return arguments.length?(n=o,a):n},a.copy=function(){return ck(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},_n.apply(a,arguments),ao(a)}function uk(){var e=[],t=[],r=[],n;function a(){var l=0,c=Math.max(1,t.length);for(r=new Array(c-1);++l<c;)r[l-1]=uY(e,l/c);return o}function o(l){return l==null||isNaN(l=+l)?n:t[nf(r,l)]}return o.invertExtent=function(l){var c=t.indexOf(l);
431return c<0?[NaN,NaN]:[c>0?r[c-1]:e[0],c<r.length?r[c]:e[e.length-1]]},o.domain=function(l){if(!arguments.length)return e.slice();e=[];for(let c of l)c!=null&&!isNaN(c=+c)&&e.push(c);return e.sort(Wi),a()},o.range=function(l){return arguments.length?(t=Array.from(l),a()):t.slice()},o.unknown=function(l){return arguments.length?(n=l,o):n},o.quantiles=function(){return r.slice()},o.copy=function(){return uk().domain(e).range(t).unknown(n)},_n.apply(o,arguments)}function dk(){var e=0,t=1,r=1,n=[.5],a=[0,1],o;function l(f){return f!=null&&f<=f?a[nf(n,f,0,r)]:o}function c(){var f=-1;for(n=new Array(r);++f<r;)n[f]=((f+1)*t-(f-r)*e)/(r+1);return l}return l.domain=function(f){return arguments.length?([e,t]=f,e=+e,t=+t,c()):[e,t]},l.range=function(f){return arguments.length?(r=(a=Array.from(f)).length-1,c()):a.slice()},l.invertExtent=function(f){var p=a.indexOf(f);return p<0?[NaN,NaN]:p<1?[e,n[0]]:p>=r?[n[r-1],t]:[n[p-1],n[p]]},l.unknown=function(f){return arguments.length&&(o=f),l},l.thresholds=function(){return n.slice()},l.copy=function(){return dk().domain([e,t]).range(a).unknown(o)},_n.apply(ao(l),arguments)}function fk(){var e=[.5],t=[0,1],r,n=1;function a(o){return o!=null&&o<=o?t[nf(e,o,0,n)]:r}return a.domain=function(o){return arguments.length?(e=Array.from(o),n=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(o){return arguments.length?(t=Array.from(o),n=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(o){var l=t.indexOf(o);return[e[l-1],e[l]]},a.unknown=function(o){return arguments.length?(r=o,a):r},a.copy=function(){return fk().domain(e).range(t).unknown(r)},_n.apply(a,arguments)}const f1=new Date,p1=new Date;function Vt(e,t,r,n){function a(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return a.floor=o=>(e(o=new Date(+o)),o),a.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),a.round=o=>{const l=a(o),c=a.ceil(o);return o-l<c-o?l:c},a.offset=(o,l)=>(t(o=new Date(+o),l==null?1:Math.floor(l)),o),a.range=(o,l,c)=>{const f=[];if(o=a.ceil(o),c=c==null?1:Math.floor(c),!(o<l)||!(c>0))return f;let p;do f.push(p=new Date(+o)),t(o,c),e(o);while(p<o&&o<l);return f},a.filter=o=>Vt(l=>{if(l>=l)for(;e(l),!o(l);)l.setTime(l-1)},(l,c)=>{if(l>=l)if(c<0)for(;++c<=0;)for(;t(l,-1),!o(l););else for(;--c>=0;)for(;t(l,1),!o(l););}),r&&(a.count=(o,l)=>(f1.setTime(+o),p1.setTime(+l),e(f1),e(p1),Math.floor(r(f1,p1))),a.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?a.filter(n?l=>n(l)%o===0:l=>a.count(0,l)%o===0):a)),a}const zh=Vt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);zh.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Vt(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):zh);zh.range;const Ga=1e3,On=Ga*60,Wa=On*60,ti=Wa*24,TC=ti*7,mT=ti*30,h1=ti*365,Vo=Vt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Ga)},(e,t)=>(t-e)/Ga,e=>e.getUTCSeconds());Vo.range;const PC=Vt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ga)},(e,t)=>{e.setTime(+e+t*On)},(e,t)=>(t-e)/On,e=>e.getMinutes());PC.range;const MC=Vt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*On)},(e,t)=>(t-e)/On,e=>e.getUTCMinutes());MC.range;const RC=Vt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ga-e.getMinutes()*On)},(e,t)=>{e.setTime(+e+t*Wa)},(e,t)=>(t-e)/Wa,e=>e.getHours());RC.range;const kC=Vt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Wa)},(e,t)=>(t-e)/Wa,e=>e.getUTCHours());kC.range;const sf=Vt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*On)/ti,e=>e.getDate()-1);sf.range;const eg=Vt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ti,e=>e.getUTCDate()-1);eg.range;const pk=Vt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ti,e=>Math.floor(e/ti));pk.range;function xs(e){return Vt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*On)/TC)}const tg=xs(0),$h=xs(1),oX=xs(2),sX=xs(3),Ul=xs(4),lX=xs(5),cX=xs(6);tg.range;$h.range;oX.range;sX.range;Ul.range;lX.range;cX.range;function bs(e){return Vt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/TC)}const rg=bs(0),Lh=bs(1),uX=bs(2),dX=bs(3),Gl=bs(4),fX=bs(5),pX=bs(6);rg.range;Lh.range;uX.range;dX.range;Gl.range;fX.range;pX.range;const IC=Vt(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());IC.range;const zC=Vt(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());zC.range;const ri=Vt(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());ri.every=e=>
vendor: 10,191 bytes, line 431
431!isFinite(e=Math.floor(e))||!(e>0)?null:Vt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});ri.range;const ni=Vt(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());ni.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Vt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});ni.range;function hk(e,t,r,n,a,o){const l=[[Vo,1,Ga],[Vo,5,5*Ga],[Vo,15,15*Ga],[Vo,30,30*Ga],[o,1,On],[o,5,5*On],[o,15,15*On],[o,30,30*On],[a,1,Wa],[a,3,3*Wa],[a,6,6*Wa],[a,12,12*Wa],[n,1,ti],[n,2,2*ti],[r,1,TC],[t,1,mT],[t,3,3*mT],[e,1,h1]];function c(p,g,m){const y=g<p;y&&([p,g]=[g,p]);const b=m&&typeof m.range=="function"?m:f(p,g,m),C=b?b.range(p,+g+1):[];return y?C.reverse():C}function f(p,g,m){const y=Math.abs(g-p)/m,b=xC(([,,w])=>w).right(l,y);if(b===l.length)return e.every(mS(p/h1,g/h1,m));if(b===0)return zh.every(Math.max(mS(p,g,m),1));const[C,x]=l[y/l[b-1][2]<l[b][2]/y?b-1:b];return C.every(x)}return[c,f]}const[hX,mX]=hk(ni,zC,rg,pk,kC,MC),[gX,yX]=hk(ri,IC,tg,sf,RC,PC);function m1(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 g1(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 Cu(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function vX(e){var t=e.dateTime,r=e.date,n=e.time,a=e.periods,o=e.days,l=e.shortDays,c=e.months,f=e.shortMonths,p=ju(a),g=Ou(a),m=ju(o),y=Ou(o),b=ju(l),C=Ou(l),x=ju(c),w=Ou(c),j=ju(f),A=Ou(f),_={a:H,A:U,b:Y,B:ae,c:null,d:ST,e:ST,f:BX,g:YX,G:JX,H:$X,I:LX,j:HX,L:mk,m:qX,M:FX,p:B,q:K,Q:jT,s:OT,S:UX,u:GX,U:WX,V:ZX,w:KX,W:VX,x:null,X:null,y:QX,Y:XX,Z:eJ,"%":CT},M={a:V,A:J,b:ce,B:he,c:null,d:wT,e:wT,f:aJ,g:hJ,G:gJ,H:tJ,I:rJ,j:nJ,L:yk,m:iJ,M:oJ,p:de,q:ge,Q:jT,s:OT,S:sJ,u:lJ,U:cJ,V:uJ,w:dJ,W:fJ,x:null,X:null,y:pJ,Y:mJ,Z:yJ,"%":CT},N={a:F,A:I,b:L,B:G,c:W,d:xT,e:xT,f:RX,g:vT,G:yT,H:bT,I:bT,j:EX,L:MX,m:_X,M:TX,p:R,q:DX,Q:IX,s:zX,S:PX,u:CX,U:jX,V:OX,w:wX,W:NX,x:q,X:k,y:vT,Y:yT,Z:AX,"%":kX};_.x=D(r,_),_.X=D(n,_),_.c=D(t,_),M.x=D(r,M),M.X=D(n,M),M.c=D(t,M);function D(le,me){return function(ye){var ie=[],Be=-1,Ee=0,it=le.length,rt,mt,Er;for(ye instanceof Date||(ye=new Date(+ye));++Be<it;)le.charCodeAt(Be)===37&&(ie.push(le.slice(Ee,Be)),(mt=gT[rt=le.charAt(++Be)])!=null?rt=le.charAt(++Be):mt=rt==="e"?" ":"0",(Er=me[rt])&&(rt=Er(ye,mt)),ie.push(rt),Ee=Be+1);return ie.push(le.slice(Ee,Be)),ie.join("")}}function O(le,me){return function(ye){var ie=Cu(1900,void 0,1),Be=P(ie,le,ye+="",0),Ee,it;if(Be!=ye.length)return null;if("Q"in ie)return new Date(ie.Q);if("s"in ie)return new Date(ie.s*1e3+("L"in ie?ie.L:0));if(me&&!("Z"in ie)&&(ie.Z=0),"p"in ie&&(ie.H=ie.H%12+ie.p*12),ie.m===void 0&&(ie.m="q"in ie?ie.q:0),"V"in ie){if(ie.V<1||ie.V>53)return null;"w"in ie||(ie.w=1),"Z"in ie?(Ee=g1(Cu(ie.y,0,1)),it=Ee.getUTCDay(),Ee=it>4||it===0?Lh.ceil(Ee):Lh(Ee),Ee=eg.offset(Ee,(ie.V-1)*7),ie.y=Ee.getUTCFullYear(),ie.m=Ee.getUTCMonth(),ie.d=Ee.getUTCDate()+(ie.w+6)%7):(Ee=m1(Cu(ie.y,0,1)),it=Ee.getDay(),Ee=it>4||it===0?$h.ceil(Ee):$h(Ee),Ee=sf.offset(Ee,(ie.V-1)*7),ie.y=Ee.getFullYear(),ie.m=Ee.getMonth(),ie.d=Ee.getDate()+(ie.w+6)%7)}else("W"in ie||"U"in ie)&&("w"in ie||(ie.w="u"in ie?ie.u%7:"W"in ie?1:0),it="Z"in ie?g1(Cu(ie.y,0,1)).getUTCDay():m1(Cu(ie.y,0,1)).getDay(),ie.m=0,ie.d="W"in ie?(ie.w+6)%7+ie.W*7-(it+5)%7:ie.w+ie.U*7-(it+6)%7);return"Z"in ie?(ie.H+=ie.Z/100|0,ie.M+=ie.Z%100,g1(ie)):m1(ie)}}function P(le,me,ye,ie){for(var Be=0,Ee=me.length,it=ye.length,rt,mt;Be<Ee;){if(ie>=it)return-1;if(rt=me.charCodeAt(Be++),rt===37){if(rt=me.charAt(Be++),mt=N[rt in gT?me.charAt(Be++):rt],!mt||(ie=mt(le,ye,ie))<0)return-1}else if(rt!=ye.charCodeAt(ie++))return-1}return ie}function R(le,me,ye){var ie=p.exec(me.slice(ye));return ie?(le.p=g.get(ie[0].toLowerCase()),ye+ie[0].length):-1}function F(le,me,ye){var ie=b.exec(me.slice(ye));return ie?(le.w=C.get(ie[0].toLowerCase()),ye+ie[0].length):-1}function I(le,me,ye){var ie=m.exec(me.slice(ye));return ie?(le.w=y.get(ie[0].toLowerCase()),ye+ie[0].length):-1}function L(le,me,ye){var ie=j.exec(me.slice(ye));return ie?(le.m=A.get(ie[0].toLowerCase()),ye+ie[0].length):-1}function G(le,me,ye){var ie=x.exec(me.slice(ye));return ie?(le.m=w.get(ie[0].toLowerCase()),ye+ie[0].length):-1}function W(le,me,ye){return P(le,t,me,ye)}function q(le,me,ye){return P(le,r,me,ye)}function k(le,me,ye){return P(le,n,me,ye)}function H(le){return l[le.getDay()]}function U(le){return o[le.getDay()]}function Y(le){return f[le.getMonth()]}function ae(le){return c[le.getMonth()]}function B(le){return a[+(le.getHours()>=12)]}function K(le){return 1+~~(le.getMonth()/3)}function V(le){return l[le.getUTCDay()]}function J(le){return o[le.getUTCDay()]}function ce(le){return f[le.getUTCMonth()]}function he(le){return c[le.getUTCMonth()]}function de(le){return a[+(le.getUTCHours()>=12)]}function ge(le){return 1+~~(le.getUTCMonth()/3)}return{format:function(le){var me=D(le+="",_);return me.toString=function(){return le},me},parse:function(le){var me=O(le+="",!1);return me.toString=function(){return le},me},utcFormat:function(le){var me=D(le+="",M);return me.toString=function(){return le},me},utcParse:function(le){var me=O(le+="",!0);return me.toString=function(){return le},me}}}var gT={"-":"",_:" ",0:"0"},ir=/^\s*\d+/,xX=/^%/,bX=/[\\^$*+?|[\]().{}]/g;function Xe(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",o=a.length;return n+(o<r?new Array(r-o+1).join(t)+a:a)}function SX(e){return e.replace(bX,"\\$&")}function ju(e){return new RegExp("^(?:"+e.map(SX).join("|")+")","i")}function Ou(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function wX(e,t,r){var n=ir.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function CX(e,t,r){var n=ir.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function jX(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function OX(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function NX(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function yT(e,t,r){var n=ir.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function vT(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function AX(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function DX(e,t,r){var n=ir.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function _X(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function xT(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function EX(e,t,r){var n=ir.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function bT(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function TX(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function PX(e,t,r){var n=ir.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function MX(e,t,r){var n=ir.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function RX(e,t,r){var n=ir.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function kX(e,t,r){var n=xX.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function IX(e,t,r){var n=ir.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function zX(e,t,r){var n=ir.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function ST(e,t){return Xe(e.getDate(),t,2)}function $X(e,t){return Xe(e.getHours(),t,2)}function LX(e,t){return Xe(e.getHours()%12||12,t,2)}function HX(e,t){return Xe(1+sf.count(ri(e),e),t,3)}function mk(e,t){return Xe(e.getMilliseconds(),t,3)}function BX(e,t){return mk(e,t)+"000"}function qX(e,t){return Xe(e.getMonth()+1,t,2)}function FX(e,t){return Xe(e.getMinutes(),t,2)}function UX(e,t){return Xe(e.getSeconds(),t,2)}function GX(e){var t=e.getDay();return t===0?7:t}function WX(e,t){return Xe(tg.count(ri(e)-1,e),t,2)}function gk(e){var t=e.getDay();return t>=4||t===0?Ul(e):Ul.ceil(e)}function ZX(e,t){return e=gk(e),Xe(Ul.count(ri(e),e)+(ri(e).getDay()===4),t,2)}function KX(e){return e.getDay()}function VX(e,t){return Xe($h.count(ri(e)-1,e),t,2)}function QX(e,t){return Xe(e.getFullYear()%100,t,2)}function YX(e,t){return e=gk(e),Xe(e.getFullYear()%100,t,2)}function XX(e,t){return Xe(e.getFullYear()%1e4,t,4)}function JX(e,t){var r=e.getDay();return e=r>=4||r===0?Ul(e):Ul.ceil(e),Xe(e.getFullYear()%1e4,t,4)}function eJ(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Xe(t/60|0,"0",2)+Xe(t%60,"0",2)}function wT(e,t){return Xe(e.getUTCDate(),t,2)}function tJ(e,t){return Xe(e.getUTCHours(),t,2)}function rJ(e,t){return Xe(e.getUTCHours()%12||12,t,2)}function nJ(e,t){return Xe(1+eg.count(ni(e),e),t,3)}function yk(e,t){return Xe(e.getUTCMilliseconds(),t,3)}function aJ(e,t){return yk(e,t)+"000"}function iJ(e,t){return Xe(e.getUTCMonth()+1,t,2)}function oJ(e,t){return Xe(e.getUTCMinutes(),t,2)}function sJ(e,t){return Xe(e.getUTCSeconds(),t,2)}function lJ(e){var t=e.getUTCDay();return t===0?7:t}function cJ(e,t){return Xe(rg.count(ni(e)-1,e),t,2)}function vk(e){var t=e.getUTCDay();return t>=4||t===0?Gl(e):Gl.ceil(e)}function uJ(e,t){return e=vk(e),Xe(Gl.count(ni(e),e)+(ni(e).getUTCDay()===4),t,2)}function dJ(e){return e.getUTCDay()}function fJ(e,t){return Xe(Lh.count(ni(e)-1,e),t,2)}function pJ(e,t){return Xe(e.getUTCFullYear()%100,t,2)}function hJ(e,t){return e=vk(e),Xe(e.getUTCFullYear()%100,t,2)}function mJ(e,t){return Xe(e.getUTCFullYear()%1e4,t,4)}function gJ(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Gl(e):Gl.ceil(e),Xe(e.getUTCFullYear()%1e4,t,4)}function yJ(){return"+0000"}function CT(){return"%"}function jT(e){return+e}function OT(e){return Math.floor(+e/1e3)}var pl,xk,bk;vJ({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
431ay","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 vJ(e){return pl=vX(e),xk=pl.format,pl.parse,bk=pl.utcFormat,pl.utcParse,pl}function xJ(e){return new Date(e)}function bJ(e){return e instanceof Date?+e:+new Date(+e)}function $C(e,t,r,n,a,o,l,c,f,p){var g=jC(),m=g.invert,y=g.domain,b=p(".%L"),C=p(":%S"),x=p("%I:%M"),w=p("%I %p"),j=p("%a %d"),A=p("%b %d"),_=p("%B"),M=p("%Y");function N(D){return(f(D)<D?b:c(D)<D?C:l(D)<D?x:o(D)<D?w:n(D)<D?a(D)<D?j:A:r(D)<D?_:M)(D)}return g.invert=function(D){return new Date(m(D))},g.domain=function(D){return arguments.length?y(Array.from(D,bJ)):y().map(xJ)},g.ticks=function(D){var O=y();return e(O[0],O[O.length-1],D??10)},g.tickFormat=function(D,O){return O==null?N:p(O)},g.nice=function(D){var O=y();return(!D||typeof D.range!="function")&&(D=t(O[0],O[O.length-1],D??10)),D?y(ok(O,D)):g},g.copy=function(){return of(g,$C(e,t,r,n,a,o,l,c,f,p))},g}function SJ(){return _n.apply($C(gX,yX,ri,IC,tg,sf,RC,PC,Vo,xk).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function wJ(){return _n.apply($C(hX,mX,ni,zC,rg,eg,kC,MC,Vo,bk).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function ng(){var e=0,t=1,r,n,a,o,l=_r,c=!1,f;function p(m){return m==null||isNaN(m=+m)?f:l(a===0?.5:(m=(o(m)-r)*a,c?Math.max(0,Math.min(1,m)):m))}p.domain=function(m){return arguments.length?([e,t]=m,r=o(e=+e),n=o(t=+t),a=r===n?0:1/(n-r),p):[e,t]},p.clamp=function(m){return arguments.length?(c=!!m,p):c},p.interpolator=function(m){return arguments.length?(l=m,p):l};function g(m){return function(y){var b,C;return arguments.length?([b,C]=y,l=m(b,C),p):[l(0),l(1)]}}return p.range=g(xc),p.rangeRound=g(CC),p.unknown=function(m){return arguments.length?(f=m,p):f},function(m){return o=m,r=m(e),n=m(t),a=r===n?0:1/(n-r),p}}function io(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Sk(){var e=ao(ng()(_r));return e.copy=function(){return io(e,Sk())},li.apply(e,arguments)}function wk(){var e=AC(ng()).domain([1,10]);return e.copy=function(){return io(e,wk()).base(e.base())},li.apply(e,arguments)}function Ck(){var e=DC(ng());return e.copy=function(){return io(e,Ck()).constant(e.constant())},li.apply(e,arguments)}function LC(){var e=_C(ng());return e.copy=function(){return io(e,LC()).exponent(e.exponent())},li.apply(e,arguments)}function CJ(){return LC.apply(null,arguments).exponent(.5)}function jk(){var e=[],t=_r;function r(n){if(n!=null&&!isNaN(n=+n))return t((nf(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let a of n)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(Wi),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,a)=>t(a/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(a,o)=>cY(e,o/n))},r.copy=function(){return jk(t).domain(e)},li.apply(r,arguments)}function ag(){var e=0,t=.5,r=1,n=1,a,o,l,c,f,p=_r,g,m=!1,y;function b(x){return isNaN(x=+x)?y:(x=.5+((x=+g(x))-o)*(n*x<n*o?c:f),p(m?Math.max(0,Math.min(1,x)):x))}b.domain=function(x){return arguments.length?([e,t,r]=x,a=g(e=+e),o=g(t=+t),l=g(r=+r),c=a===o?0:.5/(o-a),f=o===l?0:.5/(l-o),n=o<a?-1:1,b):[e,t,r]},b.clamp=function(x){return arguments.length?(m=!!x,b):m},b.interpolator=function(x){return arguments.length?(p=x,b):p};function C(x){return function(w){var j,A,_;return arguments.length?([j,A,_]=w,p=kY(x,[j,A,_]),b):[p(0),p(.5),p(1)]}}return b.range=C(xc),b.rangeRound=C(CC),b.unknown=function(x){return arguments.length?(y=x,b):y},function(x){return g=x,a=x(e),o=x(t),l=x(r),c=a===o?0:.5/(o-a),f=o===l?0:.5/(l-o),n=o<a?-1:1,b}}function Ok(){var e=ao(ag()(_r));return e.copy=function(){return io(e,Ok())},li.apply(e,arguments)}function Nk(){var e=AC(ag()).domain([.1,1,10]);return e.copy=function(){return io(e,Nk()).base(e.base())},li.apply(e,arguments)}function Ak(){var e=DC(ag());return e.copy=function(){return io(e,Ak()).constant(e.constant())},li.apply(e,arguments)}function HC(){var e=_C(ag());return e.copy=function(){return io(e,HC()).exponent(e.exponent())},li.apply(e,arguments)}function jJ(){return HC.apply(null,arguments).exponent(.5)}const NT=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:gd,scaleDiverging:Ok,scaleDivergingLog:Nk,scaleDivergingPow:HC,scaleDivergingSqrt:jJ,scaleDivergingSymlog:Ak,scaleIdentity:ik,scaleImplicit:gS,scaleLinear:Ih,scaleLog:sk,scaleOrdinal:bC,scalePoint:qu,scalePow:EC,scaleQuantile:uk,scaleQuantize:dk,scaleRadial:ck,scaleSequential:Sk,scaleSequentialLog:wk,scaleSequentialPow:LC,scaleSequentialQuantile:jk,scaleSequentialSqrt:CJ,scaleSequentialSymlog:Ck,scaleSqrt:aX,scaleSymlog:lk,scaleThreshold:fk,scaleTime:SJ,scaleUtc:wJ,tickFormat:ak},Symbol.toStringTag,{value:"Module"}));var y1,AT;function ig(){if(AT)return y1;AT=1;var e=mc();function t(r,n,a){for(var o=-1,l=r.length;++o<l;){var c=r[o],f=n(c);if(f!=null&&(p===void 0?f===f&&!e(f):a(f,p)))var p=f,g=c}return g}return y1=t,y1}var v1,DT;function Dk(){if(DT)return v1;DT=1;function e(t,r){return t>r}return v1=e,v1}var x1,_T;function OJ(){if(_T)return x1;_T=1;var e=ig(),t=Dk(),r=vc();function n(a){return a&&a.length?e(a,r,t):void 0}return x1=n,x1}var NJ=OJ();const og=tt(NJ);var b1,ET;function _k(){if(ET)return b1;ET=1;function e(t,r){return t<r}return b1=e,b1}var S1,TT;function AJ(){if(TT)return S1;TT=1;var e=ig(),t=_k(),r=vc();function n(a){return a&&a.length?e(a,r,t):void 0}return S1=n,S1}var DJ=AJ();const sg=tt(DJ);var w1,PT;function _J(){if(PT)return w1;PT=1;var e=rC(),t=xa(),r=zR(),n=Fr();function a(o,l){var c=n(o)?e:r;return c(o,t(l,3))}return w1=a,w1}var C1,MT;
vendor: 66,913 bytes, lines 431-458
431function EJ(){if(MT)return C1;MT=1;var e=kR(),t=_J();function r(n,a){return e(t(n,a),1)}return C1=r,C1}var TJ=EJ();const PJ=tt(TJ);var j1,RT;function MJ(){if(RT)return j1;RT=1;var e=mC();function t(r,n){return e(r,n)}return j1=t,j1}var RJ=MJ();const bc=tt(RJ);var Sc=1e9,kJ={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},qC,jt=!0,An="[DecimalError] ",es=An+"Invalid argument: ",BC=An+"Exponent out of range: ",wc=Math.floor,Lo=Math.pow,IJ=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,nn,er=1e7,St=7,Ek=9007199254740991,Hh=wc(Ek/St),we={};we.absoluteValue=we.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};we.comparedTo=we.cmp=function(e){var t,r,n,a,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(n=o.d.length,a=e.d.length,t=0,r=n<a?n:a;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===a?0:n>a^o.s<0?1:-1};we.decimalPlaces=we.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*St;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};we.dividedBy=we.div=function(e){return Ya(this,new this.constructor(e))};we.dividedToIntegerBy=we.idiv=function(e){var t=this,r=t.constructor;return ht(Ya(t,new r(e),0,1),r.precision)};we.equals=we.eq=function(e){return!this.cmp(e)};we.exponent=function(){return qt(this)};we.greaterThan=we.gt=function(e){return this.cmp(e)>0};we.greaterThanOrEqualTo=we.gte=function(e){return this.cmp(e)>=0};we.isInteger=we.isint=function(){return this.e>this.d.length-2};we.isNegative=we.isneg=function(){return this.s<0};we.isPositive=we.ispos=function(){return this.s>0};we.isZero=function(){return this.s===0};we.lessThan=we.lt=function(e){return this.cmp(e)<0};we.lessThanOrEqualTo=we.lte=function(e){return this.cmp(e)<1};we.logarithm=we.log=function(e){var t,r=this,n=r.constructor,a=n.precision,o=a+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(nn))throw Error(An+"NaN");if(r.s<1)throw Error(An+(r.s?"NaN":"-Infinity"));return r.eq(nn)?new n(0):(jt=!1,t=Ya(Sd(r,o),Sd(e,o),o),jt=!0,ht(t,a))};we.minus=we.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Mk(t,e):Tk(t,(e.s=-e.s,e))};we.modulo=we.mod=function(e){var t,r=this,n=r.constructor,a=n.precision;if(e=new n(e),!e.s)throw Error(An+"NaN");return r.s?(jt=!1,t=Ya(r,e,0,1).times(e),jt=!0,r.minus(t)):ht(new n(r),a)};we.naturalExponential=we.exp=function(){return Pk(this)};we.naturalLogarithm=we.ln=function(){return Sd(this)};we.negated=we.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};we.plus=we.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Tk(t,e):Mk(t,(e.s=-e.s,e))};we.precision=we.sd=function(e){var t,r,n,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(es+e);if(t=qt(a)+1,n=a.d.length-1,r=n*St+1,n=a.d[n],n){for(;n%10==0;n/=10)r--;for(n=a.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};we.squareRoot=we.sqrt=function(){var e,t,r,n,a,o,l,c=this,f=c.constructor;if(c.s<1){if(!c.s)return new f(0);throw Error(An+"NaN")}for(e=qt(c),jt=!1,a=Math.sqrt(+c),a==0||a==1/0?(t=sa(c.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=wc((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new f(t)):n=new f(a.toString()),r=f.precision,a=l=r+3;;)if(o=n,n=o.plus(Ya(c,o,l+2)).times(.5),sa(o.d).slice(0,l)===(t=sa(n.d)).slice(0,l)){if(t=t.slice(l-3,l+1),a==l&&t=="4999"){if(ht(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if(t!="9999")break;l+=4}return jt=!0,ht(n,r)};we.times=we.mul=function(e){var t,r,n,a,o,l,c,f,p,g=this,m=g.constructor,y=g.d,b=(e=new m(e)).d;if(!g.s||!e.s)return new m(0);for(e.s*=g.s,r=g.e+e.e,f=y.length,p=b.length,f<p&&(o=y,y=b,b=o,l=f,f=p,p=l),o=[],l=f+p,n=l;n--;)o.push(0);for(n=p;--n>=0;){for(t=0,a=f+n;a>n;)c=o[a]+b[n]*y[a-n-1]+t,o[a--]=c%er|0,t=c/er|0;o[a]=(o[a]+t)%er|0}for(;!o[--l];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,jt?ht(e,m.precision):e};we.toDecimalPlaces=we.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(ma(e,0,Sc),t===void 0?t=n.rounding:ma(t,0,8),ht(r,e+qt(r)+1,t))};we.toExponential=function(e,t){var r,n=this,a=n.constructor;return e===void 0?r=cs(n,!0):(ma(e,0,Sc),t===void 0?t=a.rounding:ma(t,0,8),n=ht(new a(n),e+1,t),r=cs(n,!0,e+1)),r};we.toFixed=function(e,t){var r,n,a=this,o=a.constructor;return e===void 0?cs(a):(ma(e,0,Sc),t===void 0?t=o.rounding:ma(t,0,8),n=ht(new o(a),e+qt(a)+1,t),r=cs(n.abs(),!1,e+qt(n)+1),a.isneg()&&!a.isZero()?"-"+r:r)};we.toInteger=we.toint=function(){var e=this,t=e.constructor;return ht(new t(e),qt(e)+1,t.rounding)};we.toNumber=function(){return+this};we.toPower=we.pow=function(e){var t,r,n,a,o,l,c=this,f=c.constructor,p=12,g=+(e=new f(e));if(!e.s)return new f(nn);if(c=new f(c),!c.s){if(e.s<1)throw Error(An+"Infinity");return c}if(c.eq(nn))return c;if(n=f.precision,e.eq(nn))return ht(c,n);if(t=e.e,r=e.d.length-1,l=t>=r,o=c.s,l){if((r=g<0?-g:g)<=Ek){for(a=new f(nn),t=Math.ceil(n/St+4),jt=!1;r%2&&(a=a.times(c),IT(a.d,t)),r=wc(r/2),r!==0;)c=c.times(c),IT(c.d,t);return jt=!0,e.s<0?new f(nn).div(a):ht(a,n)}}else if(o<0)throw Error(An+"NaN");return o=o<0&&e.d[Math.max(t,r)]&1?-1:1,c.s=1,jt=!1,a=e.times(Sd(c,n+p)),jt=!0,a=Pk(a),a.s=o,a};we.toPrecision=function(e,t){var r,n,a=this,o=a.constructor;return e===void 0?(r=qt(a),n=cs(a,r<=o.toExpNeg||r>=o.toExpPos)):(ma(e,1,Sc),t===void 0?t=o.rounding:ma(t,0,8),a=ht(new o(a),e,t),r=qt(a),n=cs(a,e<=r||r<=o.toExpNeg,e)),n};we.toSignificantDigits=we.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(ma(e,1,Sc),t===void 0?t=n.rounding:ma(t,0,8)),ht(new n(r),e,t)};we.toString=we.valueOf=we.val=we.toJSON=we[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=qt(e),r=e.constructor;return cs(e,t<=r.toExpNeg||t>=r.toExpPos)};function Tk(e,t){var r,n,a,o,l,c,f,p,g=e.constructor,m=g.precision;if(!e.s||!t.s)return t.s||(t=new g(e)),jt?ht(t,m):t;if(f=e.d,p=t.d,l=e.e,a=t.e,f=f.slice(),o=l-a,o){for(o<0?(n=f,o=-o,c=p.length):(n=p,a=l,c=f.length),l=Math.ceil(m/St),c=l>c?l+1:c+1,o>c&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for(c=f.length,o=p.length,c-o<0&&(o=c,n=p,p=f,f=n),r=0;o;)r=(f[--o]=f[o]+p[o]+r)/er|0,f[o]%=er;for(r&&(f.unshift(r),++a),c=f.length;f[--c]==0;)f.pop();return t.d=f,t.e=a,jt?ht(t,m):t}function ma(e,t,r){if(e!==~~e||e<t||e>r)throw Error(es+e)}function sa(e){var t,r,n,a=e.length-1,o="",l=e[0];if(a>0){for(o+=l,t=1;t<a;t++)n=e[t]+"",r=St-n.length,r&&(o+=Hi(r)),o+=n;l=e[t],n=l+"",r=St-n.length,r&&(o+=Hi(r))}else if(l===0)return"0";for(;l%10===0;)l/=10;return o+l}var Ya=(function(){function e(n,a){var o,l=0,c=n.length;for(n=n.slice();c--;)o=n[c]*a+l,n[c]=o%er|0,l=o/er|0;return l&&n.unshift(l),n}function t(n,a,o,l){var c,f;if(o!=l)f=o>l?1:-1;else for(c=f=0;c<o;c++)if(n[c]!=a[c]){f=n[c]>a[c]?1:-1;break}return f}function r(n,a,o){for(var l=0;o--;)n[o]-=l,l=n[o]<a[o]?1:0,n[o]=l*er+n[o]-a[o];for(;!n[0]&&n.length>1;)n.shift()}return function(n,a,o,l){var c,f,p,g,m,y,b,C,x,w,j,A,_,M,N,D,O,P,R=n.constructor,F=n.s==a.s?1:-1,I=n.d,L=a.d;if(!n.s)return new R(n);if(!a.s)throw Error(An+"Division by zero");for(f=n.e-a.e,O=L.length,N=I.length,b=new R(F),C=b.d=[],p=0;L[p]==(I[p]||0);)++p;if(L[p]>(I[p]||0)&&--f,o==null?A=o=R.precision:l?A=o+(qt(n)-qt(a))+1:A=o,A<0)return new R(0);if(A=A/St+2|0,p=0,O==1)for(g=0,L=L[0],A++;(p<N||g)&&A--;p++)_=g*er+(I[p]||0),C[p]=_/L|0,g=_%L|0;else{for(g=er/(L[0]+1)|0,g>1&&(L=e(L,g),I=e(I,g),O=L.length,N=I.length),M=O,x=I.slice(0,O),w=x.length;w<O;)x[w++]=0;P=L.slice(),P.unshift(0),D=L[0],L[1]>=er/2&&++D;do g=0,c=t(L,x,O,w),c<0?(j=x[0],O!=w&&(j=j*er+(x[1]||0)),g=j/D|0,g>1?(g>=er&&(g=er-1),m=e(L,g),y=m.length,w=x.length,c=t(m,x,y,w),c==1&&(g--,r(m,O<y?P:L,y))):(g==0&&(c=g=1),m=L.slice()),y=m.length,y<w&&m.unshift(0),r(x,m,w),c==-1&&(w=x.length,c=t(L,x,O,w),c<1&&(g++,r(x,O<w?P:L,w))),w=x.length):c===0&&(g++,x=[0]),C[p++]=g,c&&x[0]?x[w++]=I[M]||0:(x=[I[M]],w=1);while((M++<N||x[0]!==void 0)&&A--)}return C[0]||C.shift(),b.e=f,ht(b,l?o+qt(b)+1:o)}})();function Pk(e,t){var r,n,a,o,l,c,f=0,p=0,g=e.constructor,m=g.precision;if(qt(e)>16)throw Error(BC+qt(e));if(!e.s)return new g(nn);for(jt=!1,c=m,l=new g(.03125);e.abs().gte(.1);)e=e.times(l),p+=5;for(n=Math.log(Lo(2,p))/Math.LN10*2+5|0,c+=n,r=a=o=new g(nn),g.precision=c;;){if(a=ht(a.times(e),c),r=r.times(++f),l=o.plus(Ya(a,r,c)),sa(l.d).slice(0,c)===sa(o.d).slice(0,c)){for(;p--;)o=ht(o.times(o),c);return g.precision=m,t==null?(jt=!0,ht(o,m)):o}o=l}}function qt(e){for(var t=e.e*St,r=e.d[0];r>=10;r/=10)t++;return t}function O1(e,t,r){if(t>e.LN10.sd())throw jt=!0,r&&(e.precision=r),Error(An+"LN10 precision limit exceeded");return ht(new e(e.LN10),t)}function Hi(e){for(var t="";e--;)t+="0";return t}function Sd(e,t){var r,n,a,o,l,c,f,p,g,m=1,y=10,b=e,C=b.d,x=b.constructor,w=x.precision;if(b.s<1)throw Error(An+(b.s?"NaN":"-Infinity"));if(b.eq(nn))return new x(0);if(t==null?(jt=!1,p=w):p=t,b.eq(10))return t==null&&(jt=!0),O1(x,p);if(p+=y,x.precision=p,r=sa(C),n=r.charAt(0),o=qt(b),Math.abs(o)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)b=b.times(e),r=sa(b.d),n=r.charAt(0),m++;o=qt(b),n>1?(b=new x("0."+r),o++):b=new x(n+"."+r.slice(1))}else return f=O1(x,p+2,w).times(o+""),b=Sd(new x(n+"."+r.slice(1)),p-y).plus(f),x.precision=w,t==null?(jt=!0,ht(b,w)):b;for(c=l=b=Ya(b.minus(nn),b.plus(nn),p),g=ht(b.times(b),p),a=3;;){if(l=ht(l.times(g),p),f=c.plus(Ya(l,new x(a),p)),sa(f.d).slice(0,p)===sa(c.d).slice(0,p))return c=c.times(2),o!==0&&(c=c.plus(O1(x,p+2,w).times(o+""))),c=Ya(c,new x(m),p),x.precision=w,t==null?(jt=!0,ht(c,w)):c;c=f,a+=2}}function kT(e,t){var r,n,a;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(n,a),t){if(a-=n,r=r-n-1,e.e=wc(r/St),e.d=[],n=(r+1)%St,r<0&&(n+=St),n<a){for(n&&e.d.push(+t.slice(0,n)),a-=St;n<a;)e.d.push(+t.slice(n,n+=St));t=t.slice(n),n=St-t.length}else n-=a;for(;n--;)t+="0";if(e.d.push(+t),jt&&(e.e>Hh||e.e<-Hh))throw Error(BC+r)}else e.s=0,e.e=0,e.d=[0];return e}function ht(e,t,r){var n,a,o,l,c,f,p,g,m=e.d;for(l=1,o=m[0];o>=10;o/=10)l++;if(n=t-l,n<0)n+=St,a=t,p=m[g=0];else{if(g=Math.ceil((n+1)/St),o=m.length,g>=o)return e;for(p=o=m[g],l=1;o>=10;o/=10)l++;n%=St,a=n-St+l}if(r!==void 0&&(o=Lo(10,l-a-1),c=p/o%10|0,f=t<0||m[g+1]!==void 0||p%o,f=r<4?(c||f)&&(r==0||r==(e.s<0?3:2)):c>5||c==5&&(r==4||f||r==6&&(n>0?a>0?p/Lo(10,l-a):0:m[g-1])%10&1||r==(e.s<0?8:7))),t<1||!m[0])return f?(o=qt(e),m.length=1,t=t-o-1,m[0]=Lo(10,(St-t%St)%St),e.e=wc(-t/St)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(n==0?(m.length=g,o=1,g--):(m.length=g+1,o=Lo(10,St-n),m[g]=a>0?(p/Lo(10,l-a)%Lo(10,a)|0)*o:0),f)for(;;)if(g==0){(m[0]+=o)==er&&(m[0]=1,++e.e);break}else{if(m[g]+=o,m[g]!=er)break;m[g--]=0,o=1}for(n=m.length;m[--n]===0;)m.pop();if(jt&&(e.e>Hh||e.e<-Hh))throw Error(BC+qt(e));return e}function Mk(e,t){var r,n,a,o,l,c,f,p,g,m,y=e.constructor,b=y.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new y(e),jt?ht(t,b):t;if(f=e.d,m=t.d,n=t.e,p=e.e,f=f.slice(),l=p-n,l){for(g=l<0,g?(r=f,l=-l,c=m.length):(r=m,n=p,c=f.length),a=Math.max(Math.ceil(b/St),c)+2,l>a&&(l=a,r.length=1),r.reverse(),a=l;a--;)r.push(0);r.reverse()}else{for(a=f.length,c=m.length,g=a<c,g&&(c=a),a=0;a<c;a++)if(f[a]!=m[a]){g=f[a]<m[a];break}l=0}for(g&&(r=f,f=m,m=r,t.s=-t.s),c=f.length,a=m.length-c;a>0;--a)f[c++]=0;for(a=m.length;a>l;){if(f[--a]<m[a]){for(o=a;o&&f[--o]===0;)f[o]=er-1;--f[o],f[a]+=er}f[a]-=m[a]}for(;f[--c]===0;)f.pop();for(;f[0]===0;f.shift())--n;return f[0]?(t.d=f,t.e=n,jt?ht(t,b):t):new y(0)}function cs(e,t,r){var n,a=qt(e),o=sa(e.d),l=o.length;return t?(r&&(n=r-l)>0?o=o.charAt(0)+"."+o.slice(1)+Hi(n):l>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(a<0?"e":"e+")+a):a<0?(o="0."+Hi(-a-1)+o,r&&(n=r-l)>0&&(o+=Hi(n))):a>=l?(o+=Hi(a+1-l),r&&(n=r-a-1)>0&&(o=o+"."+Hi(n))):((n=a+1)<l&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-l)>0&&(a+1===l&&(o+="."),o+=Hi(n))),e.s<0?"-"+o:o}function IT(e,t){if(e.length>t)return e.length=t,!0}function Rk(e){var t,r,n;function a(o){var l=this;if(!(l instanceof a))return new a(o);if(l.constructor=a,o instanceof a){l.s=o.s,l.e=o.e,l.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(es+o);if(o>0)l.s=1;else if(o<0)o=-o,l.s=-1;else{l.s=0,l.e=0,l.d=[0];return}if(o===~~o&&o<1e7){l.e=0,l.d=[o];return}return kT(l,o.toString())}else if(typeof o!="string")throw Error(es+o);if(o.charCodeAt(0)===45?(o=o.slice(1),l.s=-1):l.s=1,IJ.test(o))kT(l,o);else throw Error(es+o)}if(a.prototype=we,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=Rk,a.config=a.set=zJ,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return a.config(e),a}function zJ(e){if(!e||typeof e!="object")throw Error(An+"Object expected");var t,r,n,a=["precision",1,Sc,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((n=e[r=a[t]])!==void 0)if(wc(n)===n&&n>=a[t+1]&&n<=a[t+2])this[r]=n;else throw Error(es+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(es+r+": "+n);return this}var qC=Rk(kJ);nn=new qC(1);const ft=qC;function $J(e){return qJ(e)||BJ(e)||HJ(e)||LJ()}function LJ(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 432In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function HJ(e,t){if(e){if(typeof e=="string")return bS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bS(e,t)}}function BJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function qJ(e){if(Array.isArray(e))return bS(e)}function bS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var FJ=function(t){return t},kk={},Ik=function(t){return t===kk},zT=function(t){return function r(){return arguments.length===0||arguments.length===1&&Ik(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},UJ=function e(t,r){return t===1?r:zT(function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];var l=a.filter(function(c){return c!==kk}).length;return l>=t?r.apply(void 0,a):e(t-l,zT(function(){for(var c=arguments.length,f=new Array(c),p=0;p<c;p++)f[p]=arguments[p];var g=a.map(function(m){return Ik(m)?f.shift():m});return r.apply(void 0,$J(g).concat(f))}))})},lg=function(t){return UJ(t.length,t)},SS=function(t,r){for(var n=[],a=t;a<r;++a)n[a-t]=a;return n},GJ=lg(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),WJ=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return FJ;var a=r.reverse(),o=a[0],l=a.slice(1);return function(){return l.reduce(function(c,f){return f(c)},o.apply(void 0,arguments))}},wS=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},zk=function(t){var r=null,n=null;return function(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return r&&o.every(function(c,f){return c===r[f]})||(r=o,n=t.apply(void 0,o)),n}};function ZJ(e){var t;return e===0?t=1:t=Math.floor(new ft(e).abs().log(10).toNumber())+1,t}function KJ(e,t,r){for(var n=new ft(e),a=0,o=[];n.lt(t)&&a<1e5;)o.push(n.toNumber()),n=n.add(r),a++;return o}var VJ=lg(function(e,t,r){var n=+e,a=+t;return n+r*(a-n)}),QJ=lg(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),YJ=lg(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});const cg={rangeStep:KJ,getDigitCount:ZJ,interpolateNumber:VJ,uninterpolateNumber:QJ,uninterpolateTruncation:YJ};function CS(e){return eee(e)||JJ(e)||$k(e)||XJ()}function XJ(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 433In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JJ(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function eee(e){if(Array.isArray(e))return jS(e)}function wd(e,t){return nee(e)||ree(e,t)||$k(e,t)||tee()}function tee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 434In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $k(e,t){if(e){if(typeof e=="string")return jS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jS(e,t)}}function jS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ree(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,o=void 0;try{for(var l=e[Symbol.iterator](),c;!(n=(c=l.next()).done)&&(r.push(c.value),!(t&&r.length===t));n=!0);}catch(f){a=!0,o=f}finally{try{!n&&l.return!=null&&l.return()}finally{if(a)throw o}}return r}}function nee(e){if(Array.isArray(e))return e}function Lk(e){var t=wd(e,2),r=t[0],n=t[1],a=r,o=n;return r>n&&(a=n,o=r),[a,o]}function Hk(e,t,r){if(e.lte(0))return new ft(0);var n=cg.getDigitCount(e.toNumber()),a=new ft(10).pow(n),o=e.div(a),l=n!==1?.05:.1,c=new ft(Math.ceil(o.div(l).toNumber())).add(r).mul(l),f=c.mul(a);return t?f:new ft(Math.ceil(f))}function aee(e,t,r){var n=1,a=new ft(e);if(!a.isint()&&r){var o=Math.abs(e);o<1?(n=new ft(10).pow(cg.getDigitCount(e)-1),a=new ft(Math.floor(a.div(n).toNumber())).mul(n)):o>1&&(a=new ft(Math.floor(e)))}else e===0?a=new ft(Math.floor((t-1)/2)):r||(a=new ft(Math.floor(e)));var l=Math.floor((t-1)/2),c=WJ(GJ(function(f){return a.add(new ft(f-l).mul(n)).toNumber()}),SS);return c(0,t)}function Bk(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new ft(0),tickMin:new ft(0),tickMax:new ft(0)};var o=Hk(new ft(t).sub(e).div(r-1),n,a),l;e<=0&&t>=0?l=new ft(0):(l=new ft(e).add(t).div(2),l=l.sub(new ft(l).mod(o)));var c=Math.ceil(l.sub(e).div(o).toNumber()),f=Math.ceil(new ft(t).sub(l).div(o).toNumber()),p=c+f+1;return p>r?Bk(e,t,r,n,a+1):(p<r&&(f=t>0?f+(r-p):f,c=t>0?c:c+(r-p)),{step:o,tickMin:l.sub(new ft(c).mul(o)),tickMax:l.add(new ft(f).mul(o))})}function iee(e){var t=wd(e,2),r=t[0],n=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Math.max(a,2),c=Lk([r,n]),f=wd(c,2),p=f[0],g=f[1];if(p===-1/0||g===1/0){var m=g===1/0?[p].concat(CS(SS(0,a-1).map(function(){return 1/0}))):[].concat(CS(SS(0,a-1).map(function(){return-1/0})),[g]);return r>n?wS(m):m}if(p===g)return aee(p,a,o);var y=Bk(p,g,l,o),b=y.step,C=y.tickMin,x=y.tickMax,w=cg.rangeStep(C,x.add(new ft(.1).mul(b)),b);return r>n?wS(w):w}function oee(e,t){var r=wd(e,2),n=r[0],a=r[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=Lk([n,a]),c=wd(l,2),f=c[0],p=c[1];if(f===-1/0||p===1/0)return[n,a];if(f===p)return[f];var g=Math.max(t,2),m=Hk(new ft(p).sub(f).div(g-1),o,0),y=[].concat(CS(cg.rangeStep(new ft(f),new ft(p).sub(new ft(.99).mul(m)),m)),[p]);return n>a?wS(y):y}var see=zk(iee),lee=zk(oee),cee="Invariant failed";function us(e,t){throw new Error(cee)}var uee=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Wl(e){"@babel/helpers - typeof";return Wl=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},Wl(e)}function Bh(){return Bh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bh.apply(this,arguments)}function dee(e,t){return mee(e)||hee(e,t)||pee(e,t)||fee()}function fee(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 435In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pee(e,t){if(e){if(typeof e=="string")return $T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $T(e,t)}}function $T(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function hee(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function mee(e){if(Array.isArray(e))return e}function gee(e,t){if(e==null)return{};var r=yee(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yee(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xee(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Uk(n.key),n)}}function bee(e,t,r){return t&&xee(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function See(e,t,r){return t=qh(t),wee(e,qk()?Reflect.construct(t,r||[],qh(e).constructor):t.apply(e,r))}function wee(e,t){if(t&&(Wl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cee(e)}function Cee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qk=function(){return!!e})()}function qh(e){return qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},qh(e)}function jee(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&&OS(e,t)}function OS(e,t){return OS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},OS(e,t)}function Fk(e,t,r){return t=Uk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uk(e){var t=Oee(e,"string");return Wl(t)=="symbol"?t:t+""}function Oee(e,t){if(Wl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Wl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var lf=(function(e){function t(){return vee(this,t),See(this,t,arguments)}return jee(t,e),bee(t,[{key:"render",value:function(){var n=this.props,a=n.offset,o=n.layout,l=n.width,c=n.dataKey,f=n.data,p=n.dataPointFormatter,g=n.xAxis,m=n.yAxis,y=gee(n,uee),b=Ae(y,!1);this.props.direction==="x"&&g.type!=="number"&&us();var C=f.map(function(x){var w=p(x,c),j=w.x,A=w.y,_=w.value,M=w.errorVal;if(!M)return null;var N=[],D,O;if(Array.isArray(M)){var P=dee(M,2);D=P[0],O=P[1]}else D=O=M;if(o==="vertical"){var R=g.scale,F=A+a,I=F+l,L=F-l,G=R(_-D),W=R(_+O);N.push({x1:W,y1:I,x2:W,y2:L}),N.push({x1:G,y1:F,x2:W,y2:F}),N.push({x1:G,y1:I,x2:G,y2:L})}else if(o==="horizontal"){var q=m.scale,k=j+a,H=k-l,U=k+l,Y=q(_-D),ae=q(_+O);N.push({x1:H,y1:ae,x2:U,y2:ae}),N.push({x1:k,y1:Y,x2:k,y2:ae}),N.push({x1:H,y1:Y,x2:U,y2:Y})}return $.createElement(Ke,Bh({className:"recharts-errorBar",key:"bar-".concat(N.map(function(B){return"".concat(B.x1,"-").concat(B.x2,"-").concat(B.y1,"-").concat(B.y2)}))},b),N.map(function(B){return $.createElement("line",Bh({},B,{key:"line-".concat(B.x1,"-").concat(B.x2,"-").concat(B.y1,"-").concat(B.y2)}))}))});return $.createElement(Ke,{className:"recharts-errorBars"},C)}}])})($.Component);Fk(lf,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});Fk(lf,"displayName","ErrorBar");function Cd(e){"@babel/helpers - typeof";return Cd=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},Cd(e)}function LT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LT(Object(r),!0).forEach(function(n){Nee(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Nee(e,t,r){return t=Aee(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aee(e){var t=Dee(e,"string");return Cd(t)=="symbol"?t:t+""}function Dee(e,t){if(Cd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Cd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Gk=function(t){var r=t.children,n=t.formattedGraphicalItems,a=t.legendWidth,o=t.legendContent,l=en(r,Qa);if(!l)return null;var c=Qa.defaultProps,f=c!==void 0?Mo(Mo({},c),l.props):{},p;return l.props&&l.props.payload?p=l.props&&l.props.payload:o==="children"?p=(n||[]).reduce(function(g,m){var y=m.item,b=m.props,C=b.sectors||b.data||[];return g.concat(C.map(function(x){return{type:l.props.iconType||y.props.legendType,value:x.name,color:x.fill,payload:x}}))},[]):p=(n||[]).map(function(g){var m=g.item,y=m.type.defaultProps,b=y!==void 0?Mo(Mo({},y),m.props):{},C=b.dataKey,x=b.name,w=b.legendType,j=b.hide;return{inactive:j,dataKey:C,type:f.iconType||w||"square",color:FC(m),value:x||C,payload:b}}),Mo(Mo(Mo({},f),Qa.getWithHeight(l,a)),{},{payload:p,item:l})};function jd(e){"@babel/helpers - typeof";return jd=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},jd(e)}function HT(e){return Pee(e)||Tee(e)||Eee(e)||_ee()}function _ee(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 436In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eee(e,t){if(e){if(typeof e=="string")return NS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return NS(e,t)}}function Tee(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pee(e){if(Array.isArray(e))return NS(e)}function NS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function BT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?BT(Object(r),!0).forEach(function(n){Pl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pl(e,t,r){return t=Mee(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mee(e){var t=Ree(e,"string");return jd(t)=="symbol"?t:t+""}function Ree(e,t){if(jd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(jd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Rt(e,t,r){return ze(e)||ze(t)?r:Kt(t)?on(e,t,r):Pe(t)?t(e):r}function Fu(e,t,r,n){var a=PJ(e,function(c){return Rt(c,t)});if(r==="number"){var o=a.filter(function(c){return pe(c)||parseFloat(c)});return o.length?[sg(o),og(o)]:[1/0,-1/0]}var l=n?a.filter(function(c){return!ze(c)}):a;return l.map(function(c){return Kt(c)||c instanceof Date?c:""})}var kee=function(t){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,l=-1,c=(r=n?.length)!==null&&r!==void 0?r:0;if(c<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var f=o.range,p=0;p<c;p++){var g=p>0?a[p-1].coordinate:a[c-1].coordinate,m=a[p].coordinate,y=p>=c-1?a[0].coordinate:a[p+1].coordinate,b=void 0;if(Ar(m-g)!==Ar(y-m)){var C=[];if(Ar(y-m)===Ar(f[1]-f[0])){b=y;var x=m+f[1]-f[0];C[0]=Math.min(x,(x+g)/2),C[1]=Math.max(x,(x+g)/2)}else{b=g;var w=y+f[1]-f[0];C[0]=Math.min(m,(w+m)/2),C[1]=Math.max(m,(w+m)/2)}var j=[Math.min(m,(b+m)/2),Math.max(m,(b+m)/2)];if(t>j[0]&&t<=j[1]||t>=C[0]&&t<=C[1]){l=a[p].index;break}}else{var A=Math.min(g,y),_=Math.max(g,y);if(t>(A+m)/2&&t<=(_+m)/2){l=a[p].index;break}}}else for(var M=0;M<c;M++)if(M===0&&t<=(n[M].coordinate+n[M+1].coordinate)/2||M>0&&M<c-1&&t>(n[M].coordinate+n[M-1].coordinate)/2&&t<=(n[M].coordinate+n[M+1].coordinate)/2||M===c-1&&t>(n[M].coordinate+n[M-1].coordinate)/2){l=n[M].index;break}return l},FC=function(t){var r,n=t,a=n.type.displayName,o=(r=t.type)!==null&&r!==void 0&&r.defaultProps?Et(Et({},t.type.defaultProps),t.props):t.props,l=o.stroke,c=o.fill,f;switch(a){case"Line":f=l;break;case"Area":case"Radar":f=l&&l!=="none"?l:c;break;default:f=c;break}return f},Iee=function(t){var r=t.barSize,n=t.totalSize,a=t.stackGroups,o=a===void 0?{}:a;if(!o)return{};for(var l={},c=Object.keys(o),f=0,p=c.length;f<p;f++)for(var g=o[c[f]].stackGroups,m=Object.keys(g),y=0,b=m.length;y<b;y++){var C=g[m[y]],x=C.items,w=C.cateAxisId,j=x.filter(function(O){return Va(O.type).indexOf("Bar")>=0});if(j&&j.length){var A=j[0].type.defaultProps,_=A!==void 0?Et(Et({},A),j[0].props):j[0].props,M=_.barSize,N=_[w];l[N]||(l[N]=[]);var D=ze(M)?r:M;l[N].push({item:j[0],stackList:j.slice(1),barSize:ze(D)?void 0:Dr(D,n,0)})}}return l},zee=function(t){var r=t.barGap,n=t.barCategoryGap,a=t.bandSize,o=t.sizeList,l=o===void 0?[]:o,c=t.maxBarSize,f=l.length;if(f<1)return null;var p=Dr(r,a,0,!0),g,m=[];if(l[0].barSize===+l[0].barSize){var y=!1,b=a/f,C=l.reduce(function(M,N){return M+N.barSize||0},0);C+=(f-1)*p,C>=a&&(C-=(f-1)*p,p=0),C>=a&&b>0&&(y=!0,b*=.9,C=f*b);var x=(a-C)/2>>0,w={offset:x-p,size:0};g=l.reduce(function(M,N){var D={item:N.item,position:{offset:w.offset+w.size+p,size:y?b:N.barSize}},O=[].concat(HT(M),[D]);return w=O[O.length-1].position,N.stackList&&N.stackList.length&&N.stackList.forEach(function(P){O.push({item:P,position:w})}),O},m)}else{var j=Dr(n,a,0,!0);a-2*j-(f-1)*p<=0&&(p=0);var A=(a-2*j-(f-1)*p)/f;A>1&&(A>>=0);var _=c===+c?Math.min(A,c):A;g=l.reduce(function(M,N,D){var O=[].concat(HT(M),[{item:N.item,position:{offset:j+(A+p)*D+(A-_)/2,size:_}}]);return N.stackList&&N.stackList.length&&N.stackList.forEach(function(P){O.push({item:P,position:O[O.length-1].position})}),O},m)}return g},$ee=function(t,r,n,a){var o=n.children,l=n.width,c=n.margin,f=l-(c.left||0)-(c.right||0),p=Gk({children:o,legendWidth:f});if(p){var g=a||{},m=g.width,y=g.height,b=p.align,C=p.verticalAlign,x=p.layout;if((x==="vertical"||x==="horizontal"&&C==="middle")&&b!=="center"&&pe(t[b]))return Et(Et({},t),{},Pl({},b,t[b]+(m||0)));if((x==="horizontal"||x==="vertical"&&b==="center")&&C!=="middle"&&pe(t[C]))return Et(Et({},t),{},Pl({},C,t[C]+(y||0)))}return t},Lee=function(t,r,n){return ze(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},Wk=function(t,r,n,a,o){var l=r.props.children,c=sn(l,lf).filter(function(p){return Lee(a,o,p.props.direction)});if(c&&c.length){var f=c.map(function(p){return p.props.dataKey});return t.reduce(function(p,g){var m=Rt(g,n);if(ze(m))return p;var y=Array.isArray(m)?[sg(m),og(m)]:[m,m],b=f.reduce(function(C,x){var w=Rt(g,x,0),j=y[0]-Math.abs(Array.isArray(w)?w[0]:w),A=y[1]+Math.abs(Array.isArray(w)?w[1]:w);return[Math.min(j,C[0]),Math.max(A,C[1])]},[1/0,-1/0]);return[Math.min(b[0],p[0]),Math.max(b[1],p[1])]},[1/0,-1/0])}return null},Hee=function(t,r,n,a,o){var l=r.map(function(c){return Wk(t,c,n,o,a)}).filter(function(c){return!ze(c)});return l&&l.length?l.reduce(function(c,f){return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]):null},Zk=function(t,r,n,a,o){var l=r.map(function(f){var p=f.props.dataKey;return n==="number"&&p&&Wk(t,f,p,a)||Fu(t,p,n,o)});if(n==="number")return l.reduce(function(f,p){return[Math.min(f[0],p[0]),Math.max(f[1],p[1])]},[1/0,-1/0]);var c={};return l.reduce(function(f,p){for(var g=0,m=p.length;g<m;g++)c[p[g]]||(c[p[g]]=!0,f.push(p[g]));return f},[])},Kk=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},Vk=function(t,r,n,a){if(a)return t.map(function(f){return f.coordinate});var o,l,c=t.map(function(f){return f.coordinate===r&&(o=!0),f.coordinate===n&&(l=!0),f.coordinate});return o||c.push(r),l||c.push(n),c},Za=function(t,r,n){if(!t)return null;var a=t.scale,o=t.duplicateDomain,l=t.type,c=t.range,f=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,p=(r||n)&&l==="category"&&a.bandwidth?a.bandwidth()/f:0;if(p=t.axisType==="angleAxis"&&c?.length>=2?Ar(c[0]-c[1])*2*p:p,r&&(t.ticks||t.niceTicks)){var g=(t.ticks||t.niceTicks).map(function(m){var y=o?o.indexOf(m):m;return{coordinate:a(y)+p,value:m,offset:p}});return g.filter(function(m){return!tf(m.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(m,y){return{coordinate:a(m)+p,value:m,index:y,offset:p}}):a.ticks&&!n?a.ticks(t.tickCount).map(function(m){return{coordinate:a(m)+p,value:m,offset:p}}):a.domain().map(function(m,y){return{coordinate:a(m)+p,value:o?o[m]:m,index:y,offset:p}})},N1=new WeakMap,Up=function(t,r){if(typeof r!="function")return t;N1.has(t)||N1.set(t,new WeakMap);var n=N1.get(t);if(n.has(r))return n.get(r);var a=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,a),a},Qk=function(t,r,n){var a=t.scale,o=t.type,l=t.layout,c=t.axisType;if(a==="auto")return l==="radial"&&c==="radiusAxis"?{scale:gd(),realScaleType:"band"}:l==="radial"&&c==="angleAxis"?{scale:Ih(),realScaleType:"linear"}:o==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:qu(),realScaleType:"point"}:o==="category"?{scale:gd(),realScaleType:"band"}:{scale:Ih(),realScaleType:"linear"};if(os(a)){var f="scale".concat(Wm(a));return{scale:(NT[f]||qu)(),realScaleType:NT[f]?f:"point"}}return Pe(a)?{scale:a}:{scale:qu(),realScaleType:"point"}},qT=1e-4,Yk=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,a=t.range(),o=Math.min(a[0],a[1])-qT,l=Math.max(a[0],a[1])+qT,c=t(r[0]),f=t(r[n-1]);(c<o||c>l||f<o||f>l)&&t.domain([r[0],r[n-1]])}},Bee=function(t,r){if(!t)return null;for(var n=0,a=t.length;n<a;n++)if(t[n].item===r)return t[n].position;return null},qee=function(t,r){if(!r||r.length!==2||!pe(r[0])||!pe(r[1]))return t;var n=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]),o=[t[0],t[1]];return(!pe(t[0])||t[0]<n)&&(o[0]=n),(!pe(t[1])||t[1]>a)&&(o[1]=a),o[0]>a&&(o[0]=a),o[1]<n&&(o[1]=n),o},Fee=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var o=0,l=0,c=0;c<r;++c){var f=tf(t[c][n][1])?t[c][n][0]:t[c][n][1];f>=0?(t[c][n][0]=o,t[c][n][1]=o+f,o=t[c][n][1]):(t[c][n][0]=l,t[c][n][1]=l+f,l=t[c][n][1])}},Uee=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var o=0,l=0;l<r;++l){var c=tf(t[l][n][1])?t[l][n][0]:t[l][n][1];c>=0?(t[l][n][0]=o,t[l][n][1]=o+c,o=t[l][n][1]):(t[l][n][0]=0,t[l][n][1]=0)}},Gee={sign:Fee,expand:PZ,none:$l,silhouette:MZ,wiggle:RZ,positive:Uee},Wee=function(t,r,n){var a=r.map(function(c){return c.props.dataKey}),o=Gee[n],l=TZ().keys(a).value(function(c,f){return+Rt(c,f,0)}).order(rS).offset(o);return l(t)},Zee=function(t,r,n,a,o,l){if(!t)return null;var c=l?r.reverse():r,f={},p=c.reduce(function(m,y){var b,C=(b=y.type)!==null&&b!==void 0&&b.defaultProps?Et(Et({},y.type.defaultProps),y.props):y.props,x=C.stackId,w=C.hide;if(w)return m;var j=C[n],A=m[j]||{hasStack:!1,stackGroups:{}};if(Kt(x)){var _=A.stackGroups[x]||{numericAxisId:n,cateAxisId:a,items:[]};_.items.push(y),A.hasStack=!0,A.stackGroups[x]=_}else A.stackGroups[yc("_stackId_")]={numericAxisId:n,cateAxisId:a,items:[y]};return Et(Et({},m),{},Pl({},j,A))},f),g={};return Object.keys(p).reduce(function(m,y){var b=p[y];if(b.hasStack){var C={};b.stackGroups=Object.keys(b.stackGroups).reduce(function(x,w){var j=b.stackGroups[w];return Et(Et({},x),{},Pl({},w,{numericAxisId:n,cateAxisId:a,items:j.items,stackedData:Wee(t,j.items,o)}))},C)}return Et(Et({},m),{},Pl({},y,b))},g)},Xk=function(t,r){var n=r.realScaleType,a=r.type,o=r.tickCount,l=r.originalDomain,c=r.allowDecimals,f=n||r.scale;if(f!=="auto"&&f!=="linear")return null;if(o&&a==="number"&&l&&(l[0]==="auto"||l[1]==="auto")){var p=t.domain();if(!p.length)return null;var g=see(p,o,c);return t.domain([sg(g),og(g)]),{niceTicks:g}}if(o&&a==="number"){var m=t.domain(),y=lee(m,o,c);return{niceTicks:y}}return null};function FT(e){var t=e.axis,r=e.ticks,n=e.bandSize,a=e.entry,o=e.index,l=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!ze(a[t.dataKey])){var c=vh(r,"value",a[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var f=Rt(a,ze(l)?t.dataKey:l);return ze(f)?null:t.scale(f)}var UT=function(t){var r=t.axis,n=t.ticks,a=t.offset,o=t.bandSize,l=t.entry,c=t.index;if(r.type==="category")return n[c]?n[c].coordinate+a:null;var f=Rt(l,r.dataKey,r.domain[c]);return ze(f)?null:r.scale(f)-o/2+a},Kee=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var a=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return a<=0&&o>=0?0:o<0?o:a}return n[0]},Vee=function(t,r){var n,a=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Et(Et({},t.type.defaultProps),t.props):t.props,o=a.stackId;if(Kt(o)){var l=r[o];if(l){var c=l.items.indexOf(t);return c>=0?l.stackedData[c]:null}}return null},Qee=function(t){return t.reduce(function(r,n){return[sg(n.concat([r[0]]).filter(pe)),og(n.concat([r[1]]).filter(pe))]},[1/0,-1/0])},Jk=function(t,r,n){return Object.keys(t).reduce(function(a,o){var l=t[o],c=l.stackedData,f=c.reduce(function(p,g){var m=Qee(g.slice(r,n+1));return[Math.min(p[0],m[0]),Math.max(p[1],m[1])]},[1/0,-1/0]);return[Math.min(f[0],a[0]),Math.max(f[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},GT=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,WT=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,AS=function(t,r,n){if(Pe(t))return t(r,n);if(!Array.isArray(t))return r;var a=[];if(pe(t[0]))a[0]=n?t[0]:Math.min(t[0],r[0]);else if(GT.test(t[0])){var o=+GT.exec(t[0])[1];a[0]=r[0]-o}else Pe(t[0])?a[0]=t[0](r[0]):a[0]=r[0];if(pe(t[1]))a[1]=n?t[1]:Math.max(t[1],r[1]);else if(WT.test(t[1])){var l=+WT.exec(t[1])[1];a[1]=r[1]+l}else Pe(t[1])?a[1]=t[1](r[1]):a[1]=r[1];return a},Fh=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!n||a>0)return a}if(t&&r&&r.length>=2){for(var o=yC(r,function(m){return m.coordinate}),l=1/0,c=1,f=o.length;c<f;c++){var p=o[c],g=o[c-1];l=Math.min((p.coordinate||0)-(g.coordinate||0),l)}return l===1/0?0:l}return n?void 0:0},ZT=function(t,r,n){return!t||!t.length||bc(t,on(n,"type.defaultProps.domain"))?r:t},e8=function(t,r){var n=t.type.defaultProps?Et(Et({},t.type.defaultProps),t.props):t.props,a=n.dataKey,o=n.name,l=n.unit,c=n.formatter,f=n.tooltipType,p=n.chartType,g=n.hide;return Et(Et({},Ae(t,!1)),{},{dataKey:a,unit:l,formatter:c,name:o||a,color:FC(t),value:Rt(r,a),type:f,payload:r,chartType:p,hide:g})};function Od(e){"@babel/helpers - typeof";return Od=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},Od(e)}function KT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?KT(Object(r),!0).forEach(function(n){t8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function t8(e,t,r){return t=Yee(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yee(e){var t=Xee(e,"string");return Od(t)=="symbol"?t:t+""}function Xee(e,t){if(Od(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Od(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jee(e,t){return nte(e)||rte(e,t)||tte(e,t)||ete()}function ete(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 437In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tte(e,t){if(e){if(typeof e=="string")return VT(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return VT(e,t)}}function VT(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rte(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function nte(e){if(Array.isArray(e))return e}var Uh=Math.PI/180,ate=function(t){return t*180/Math.PI},et=function(t,r,n,a){return{x:t+Math.cos(-Uh*a)*n,y:r+Math.sin(-Uh*a)*n}},r8=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(n.left||0)-(n.right||0)),Math.abs(r-(n.top||0)-(n.bottom||0)))/2},n8=function(t,r,n,a,o){var l=t.width,c=t.height,f=t.startAngle,p=t.endAngle,g=Dr(t.cx,l,l/2),m=Dr(t.cy,c,c/2),y=r8(l,c,n),b=Dr(t.innerRadius,y,0),C=Dr(t.outerRadius,y,y*.8),x=Object.keys(r);return x.reduce(function(w,j){var A=r[j],_=A.domain,M=A.reversed,N;if(ze(A.range))a==="angleAxis"?N=[f,p]:a==="radiusAxis"&&(N=[b,C]),M&&(N=[N[1],N[0]]);else{N=A.range;var D=N,O=Jee(D,2);f=O[0],p=O[1]}var P=Qk(A,o),R=P.realScaleType,F=P.scale;F.domain(_).range(N),Yk(F);var I=Xk(F,Ba(Ba({},A),{},{realScaleType:R})),L=Ba(Ba(Ba({},A),I),{},{range:N,radius:C,realScaleType:R,scale:F,cx:g,cy:m,innerRadius:b,outerRadius:C,startAngle:f,endAngle:p});return Ba(Ba({},w),{},t8({},j,L))},{})},ite=function(t,r){var n=t.x,a=t.y,o=r.x,l=r.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(a-l,2))},ote=function(t,r){var n=t.x,a=t.y,o=r.cx,l=r.cy,c=ite({x:n,y:a},{x:o,y:l});if(c<=0)return{radius:c};var f=(n-o)/c,p=Math.acos(f);return a>l&&(p=2*Math.PI-p),{radius:c,angle:ate(p),angleInRadian:p}},ste=function(t){var r=t.startAngle,n=t.endAngle,a=Math.floor(r/360),o=Math.floor(n/360),l=Math.min(a,o);return{startAngle:r-l*360,endAngle:n-l*360}},lte=function(t,r){var n=r.startAngle,a=r.endAngle,o=Math.floor(n/360),l=Math.floor(a/360),c=Math.min(o,l);return t+c*360},QT=function(t,r){var n=t.x,a=t.y,o=ote({x:n,y:a},r),l=o.radius,c=o.angle,f=r.innerRadius,p=r.outerRadius;if(l<f||l>p)return!1;if(l===0)return!0;var g=ste(r),m=g.startAngle,y=g.endAngle,b=c,C;if(m<=y){for(;b>y;)b-=360;for(;b<m;)b+=360;C=b>=m&&b<=y}else{for(;b>m;)b-=360;for(;b<y;)b+=360;C=b>=y&&b<=m}return C?Ba(Ba({},r),{},{radius:l,angle:lte(b,r)}):null},a8=function(t){return!T.isValidElement(t)&&!Pe(t)&&typeof t!="boolean"?t.className:""};function Nd(e){"@babel/helpers - typeof";return Nd=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},Nd(e)}var cte=["offset"];function ute(e){return hte(e)||pte(e)||fte(e)||dte()}function dte(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 438In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fte(e,t){if(e){if(typeof e=="string")return DS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return DS(e,t)}}function pte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hte(e){if(Array.isArray(e))return DS(e)}function DS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mte(e,t){if(e==null)return{};var r=gte(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gte(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function YT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Zt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?YT(Object(r),!0).forEach(function(n){yte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):YT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yte(e,t,r){return t=vte(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vte(e){var t=xte(e,"string");return Nd(t)=="symbol"?t:t+""}function xte(e,t){if(Nd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ad(){return Ad=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ad.apply(this,arguments)}var bte=function(t){var r=t.value,n=t.formatter,a=ze(t.children)?r:t.children;return Pe(n)?n(a):a},Ste=function(t,r){var n=Ar(r-t),a=Math.min(Math.abs(r-t),360);return n*a},wte=function(t,r,n){var a=t.position,o=t.viewBox,l=t.offset,c=t.className,f=o,p=f.cx,g=f.cy,m=f.innerRadius,y=f.outerRadius,b=f.startAngle,C=f.endAngle,x=f.clockWise,w=(m+y)/2,j=Ste(b,C),A=j>=0?1:-1,_,M;a==="insideStart"?(_=b+A*l,M=x):a==="insideEnd"?(_=C-A*l,M=!x):a==="end"&&(_=C+A*l,M=x),M=j<=0?M:!M;var N=et(p,g,w,_),D=et(p,g,w,_+(M?1:-1)*359),O="M".concat(N.x,",").concat(N.y,` 439 A`).concat(w,",").concat(w,",0,1,").concat(M?0:1,`, 440 `).concat(D.x,",").concat(D.y),P=ze(t.id)?yc("recharts-radial-line-"):t.id;return $.createElement("text",Ad({},n,{dominantBaseline:"central",className:ke("recharts-radial-bar-label",c)}),$.createElement("defs",null,$.createElement("path",{id:P,d:O})),$.createElement("textPath",{xlinkHref:"#".concat(P)},r))},Cte=function(t){var r=t.viewBox,n=t.offset,a=t.position,o=r,l=o.cx,c=o.cy,f=o.innerRadius,p=o.outerRadius,g=o.startAngle,m=o.endAngle,y=(g+m)/2;if(a==="outside"){var b=et(l,c,p+n,y),C=b.x,x=b.y;return{x:C,y:x,textAnchor:C>=l?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:l,y:c,textAnchor:"middle",verticalAnchor:"end"};var w=(f+p)/2,j=et(l,c,w,y),A=j.x,_=j.y;return{x:A,y:_,textAnchor:"middle",verticalAnchor:"middle"}},jte=function(t){var r=t.viewBox,n=t.parentViewBox,a=t.offset,o=t.position,l=r,c=l.x,f=l.y,p=l.width,g=l.height,m=g>=0?1:-1,y=m*a,b=m>0?"end":"start",C=m>0?"start":"end",x=p>=0?1:-1,w=x*a,j=x>0?"end":"start",A=x>0?"start":"end";if(o==="top"){var _={x:c+p/2,y:f-m*a,textAnchor:"middle",verticalAnchor:b};return Zt(Zt({},_),n?{height:Math.max(f-n.y,0),width:p}:{})}if(o==="bottom"){var M={x:c+p/2,y:f+g+y,textAnchor:"middle",verticalAnchor:C};return Zt(Zt({},M),n?{height:Math.max(n.y+n.height-(f+g),0),width:p}:{})}if(o==="left"){var N={x:c-w,y:f+g/2,textAnchor:j,verticalAnchor:"middle"};return Zt(Zt({},N),n?{width:Math.max(N.x-n.x,0),height:g}:{})}if(o==="right"){var D={x:c+p+w,y:f+g/2,textAnchor:A,verticalAnchor:"middle"};return Zt(Zt({},D),n?{width:Math.max(n.x+n.width-D.x,0),height:g}:{})}var O=n?{width:p,height:g}:{};return o==="insideLeft"?Zt({x:c+w,y:f+g/2,textAnchor:A,verticalAnchor:"middle"},O):o==="insideRight"?Zt({x:c+p-w,y:f+g/2,textAnchor:j,verticalAnchor:"middle"},O):o==="insideTop"?Zt({x:c+p/2,y:f+y,textAnchor:"middle",verticalAnchor:C},O):o==="insideBottom"?Zt({x:c+p/2,y:f+g-y,textAnchor:"middle",verticalAnchor:b},O):o==="insideTopLeft"?Zt({x:c+w,y:f+y,textAnchor:A,verticalAnchor:C},O):o==="insideTopRight"?Zt({x:c+p-w,y:f+y,textAnchor:j,verticalAnchor:C},O):o==="insideBottomLeft"?Zt({x:c+w,y:f+g-y,textAnchor:A,verticalAnchor:b},O):o==="insideBottomRight"?Zt({x:c+p-w,y:f+g-y,textAnchor:j,verticalAnchor:b},O):gc(o)&&(pe(o.x)||Zo(o.x))&&(pe(o.y)||Zo(o.y))?Zt({x:c+Dr(o.x,p),y:f+Dr(o.y,g),textAnchor:"end",verticalAnchor:"end"},O):Zt({x:c+p/2,y:f+g/2,textAnchor:"middle",verticalAnchor:"middle"},O)},Ote=function(t){return"cx"in t&&pe(t.cx)};function rr(e){var t=e.offset,r=t===void 0?5:t,n=mte(e,cte),a=Zt({offset:r},n),o=a.viewBox,l=a.position,c=a.value,f=a.children,p=a.content,g=a.className,m=g===void 0?"":g,y=a.textBreakAll;if(!o||ze(c)&&ze(f)&&!T.isValidElement(p)&&!Pe(p))return null;if(T.isValidElement(p))return T.cloneElement(p,a);var b;if(Pe(p)){if(b=T.createElement(p,a),T.isValidElement(b))return b}else b=bte(a);var C=Ote(o),x=Ae(a,!0);if(C&&(l==="insideStart"||l==="insideEnd"||l==="end"))return wte(a,b,x);var w=C?Cte(a):jte(a);return $.createElement(ls,Ad({className:ke("recharts-label",m)},x,w,{breakAll:y}),b)}rr.displayName="Label";var i8=function(t){var r=t.cx,n=t.cy,a=t.angle,o=t.startAngle,l=t.endAngle,c=t.r,f=t.radius,p=t.innerRadius,g=t.outerRadius,m=t.x,y=t.y,b=t.top,C=t.left,x=t.width,w=t.height,j=t.clockWise,A=t.labelViewBox;if(A)return A;if(pe(x)&&pe(w)){if(pe(m)&&pe(y))return{x:m,y,width:x,height:w};if(pe(b)&&pe(C))return{x:b,y:C,width:x,height:w}}return pe(m)&&pe(y)?{x:m,y,width:0,height:0}:pe(r)&&pe(n)?{cx:r,cy:n,startAngle:o||a||0,endAngle:l||a||0,innerRadius:p||0,outerRadius:g||f||c||0,clockWise:j}:t.viewBox?t.viewBox:{}},Nte=function(t,r){return t?t===!0?$.createElement(rr,{key:"label-implicit",viewBox:r}):Kt(t)?$.createElement(rr,{key:"label-implicit",viewBox:r,value:t}):T.isValidElement(t)?t.type===rr?T.cloneElement(t,{key:"label-implicit",viewBox:r}):$.createElement(rr,{key:"label-implicit",content:t,viewBox:r}):Pe(t)?$.createElement(rr,{key:"label-implicit",content:t,viewBox:r}):gc(t)?$.createElement(rr,Ad({viewBox:r},t,{key:"label-implicit"})):null:null},Ate=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var a=t.children,o=i8(t),l=sn(a,rr).map(function(f,p){return T.cloneElement(f,{viewBox:r||o,key:"label-".concat(p)})});if(!n)return l;var c=Nte(t.label,r||o);return[c].concat(ute(l))};rr.parseViewBox=i8;rr.renderCallByParent=Ate;var A1,XT;function Dte(){if(XT)return A1;XT=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return A1=e,A1}var _te=Dte();const o8=tt(_te);function Dd(e){"@babel/helpers - typeof";return Dd=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},Dd(e)}var Ete=["valueAccessor"],Tte=["data","dataKey","clockWise","id","textBreakAll"];function Pte(e){return Ite(e)||kte(e)||Rte(e)||Mte()}function Mte(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 441In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rte(e,t){if(e){if(typeof e=="string")return _S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _S(e,t)}}function kte(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ite(e){if(Array.isArray(e))return _S(e)}function _S(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gh(){return Gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gh.apply(this,arguments)}function JT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function e7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?JT(Object(r),!0).forEach(function(n){zte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):JT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zte(e,t,r){return t=$te(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $te(e){var t=Lte(e,"string");return Dd(t)=="symbol"?t:t+""}function Lte(e,t){if(Dd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Dd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function t7(e,t){if(e==null)return{};var r=Hte(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Hte(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Bte=function(t){return Array.isArray(t.value)?o8(t.value):t.value};function da(e){var t=e.valueAccessor,r=t===void 0?Bte:t,n=t7(e,Ete),a=n.data,o=n.dataKey,l=n.clockWise,c=n.id,f=n.textBreakAll,p=t7(n,Tte);return!a||!a.length?null:$.createElement(Ke,{className:"recharts-label-list"},a.map(function(g,m){var y=ze(o)?r(g,m):Rt(g&&g.payload,o),b=ze(c)?{}:{id:"".concat(c,"-").concat(m)};return $.createElement(rr,Gh({},Ae(g,!0),p,b,{parentViewBox:g.parentViewBox,value:y,textBreakAll:f,viewBox:rr.parseViewBox(ze(l)?g:e7(e7({},g),{},{clockWise:l})),key:"label-".concat(m),index:m}))}))}da.displayName="LabelList";function qte(e,t){return e?e===!0?$.createElement(da,{key:"labelList-implicit",data:t}):$.isValidElement(e)||Pe(e)?$.createElement(da,{key:"labelList-implicit",data:t,content:e}):gc(e)?$.createElement(da,Gh({data:t},e,{key:"labelList-implicit"})):null:null}function Fte(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var n=e.children,a=sn(n,da).map(function(l,c){return T.cloneElement(l,{data:t,key:"labelList-".concat(c)})});if(!r)return a;var o=qte(e.label,t);return[o].concat(Pte(a))}da.renderCallByParent=Fte;function _d(e){"@babel/helpers - typeof";return _d=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},_d(e)}function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ES.apply(this,arguments)}function r7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function n7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?r7(Object(r),!0).forEach(function(n){Ute(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):r7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ute(e,t,r){return t=Gte(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gte(e){var t=Wte(e,"string");return _d(t)=="symbol"?t:t+""}function Wte(e,t){if(_d(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_d(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Zte=function(t,r){var n=Ar(r-t),a=Math.min(Math.abs(r-t),359.999);return n*a},Gp=function(t){var r=t.cx,n=t.cy,a=t.radius,o=t.angle,l=t.sign,c=t.isExternal,f=t.cornerRadius,p=t.cornerIsExternal,g=f*(c?1:-1)+a,m=Math.asin(f/g)/Uh,y=p?o:o+l*m,b=et(r,n,g,y),C=et(r,n,a,y),x=p?o-l*m:o,w=et(r,n,g*Math.cos(m*Uh),x);return{center:b,circleTangency:C,lineTangency:w,theta:m}},s8=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,o=t.outerRadius,l=t.startAngle,c=t.endAngle,f=Zte(l,c),p=l+f,g=et(r,n,o,l),m=et(r,n,o,p),y="M ".concat(g.x,",").concat(g.y,` 442 A `).concat(o,",").concat(o,`,0, 443 `).concat(+(Math.abs(f)>180),",").concat(+(l>p),`, 444 `).concat(m.x,",").concat(m.y,` 445 `);if(a>0){var b=et(r,n,a,l),C=et(r,n,a,p);y+="L ".concat(C.x,",").concat(C.y,` 446 A `).concat(a,",").concat(a,`,0, 447 `).concat(+(Math.abs(f)>180),",").concat(+(l<=p),`, 448 `).concat(b.x,",").concat(b.y," Z")}else y+="L ".concat(r,",").concat(n," Z");return y},Kte=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,o=t.outerRadius,l=t.cornerRadius,c=t.forceCornerRadius,f=t.cornerIsExternal,p=t.startAngle,g=t.endAngle,m=Ar(g-p),y=Gp({cx:r,cy:n,radius:o,angle:p,sign:m,cornerRadius:l,cornerIsExternal:f}),b=y.circleTangency,C=y.lineTangency,x=y.theta,w=Gp({cx:r,cy:n,radius:o,angle:g,sign:-m,cornerRadius:l,cornerIsExternal:f}),j=w.circleTangency,A=w.lineTangency,_=w.theta,M=f?Math.abs(p-g):Math.abs(p-g)-x-_;if(M<0)return c?"M ".concat(C.x,",").concat(C.y,` 449 a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0 450 a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0 451 `):s8({cx:r,cy:n,innerRadius:a,outerRadius:o,startAngle:p,endAngle:g});var N="M ".concat(C.x,",").concat(C.y,` 452 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(b.x,",").concat(b.y,` 453 A`).concat(o,",").concat(o,",0,").concat(+(M>180),",").concat(+(m<0),",").concat(j.x,",").concat(j.y,` 454 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(A.x,",").concat(A.y,` 455 `);if(a>0){var D=Gp({cx:r,cy:n,radius:a,angle:p,sign:m,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),O=D.circleTangency,P=D.lineTangency,R=D.theta,F=Gp({cx:r,cy:n,radius:a,angle:g,sign:-m,isExternal:!0,cornerRadius:l,cornerIsExternal:f}),I=F.circleTangency,L=F.lineTangency,G=F.theta,W=f?Math.abs(p-g):Math.abs(p-g)-R-G;if(W<0&&l===0)return"".concat(N,"L").concat(r,",").concat(n,"Z");N+="L".concat(L.x,",").concat(L.y,` 456 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(I.x,",").concat(I.y,` 457 A`).concat(a,",").concat(a,",0,").concat(+(W>180),",").concat(+(m>0),",").concat(O.x,",").concat(O.y,` 458 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(P.x,",").concat(P.y,"Z")}else N+="L".concat(r,",").concat(n,"Z");return N},Vte={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},l8=function(t){var r=n7(n7({},Vte),t),n=r.cx,a=r.cy,o=r.innerRadius,l=r.outerRadius,c=r.cornerRadius,f=r.forceCornerRadius,p=r.cornerIsExternal,g=r.startAngle,m=r.endAngle,y=r.className;if(l<o||g===m)return null;var b=ke("recharts-sector",y),C=l-o,x=Dr(c,C,0,!0),w;return x>0&&Math.abs(g-m)<360?w=Kte({cx:n,cy:a,innerRadius:o,outerRadius:l,cornerRadius:Math.min(x,C/2),forceCornerRadius:f,cornerIsExternal:p,startAngle:g,endAngle:m}):w=s8({cx:n,cy:a,innerRadius:o,outerRadius:l,startAngle:g,endAngle:m}),$.createElement("path",ES({},Ae(r,!0),{className:b,d:w,role:"img"}))};function Ed(e){"@babel/helpers - typeof";return Ed=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},Ed(e)}function TS(){return TS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},TS.apply(this,arguments)}function a7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function i7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?a7(Object(r),!0).forEach(function(n){Qte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Qte(e,t,r){return t=Yte(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yte(e){var t=Xte(e,"string");return Ed(t)=="symbol"?t:t+""}function Xte(e,t){if(Ed(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ed(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var o7={curveBasisClosed:bZ,curveBasisOpen:SZ,curveBasis:xZ,curveBumpX:iZ,curveBumpY:oZ,curveLinearClosed:wZ,curveLinear:Km,curveMonotoneX:CZ,curveMonotoneY:jZ,curveNatural:OZ,curveStep:NZ,curveStepAfter:DZ,curveStepBefore:AZ},Wp=function(t){return t.x===+t.x&&t.y===+t.y},Nu=function(t){return t.x},Au=function(t){return t.y},Jte=function(t,r){if(Pe(t))return t;var n="curve".concat(Wm(t));return(n==="curveMonotone"||n==="curveBump")&&r?o7["".concat(n).concat(r==="vertical"?"Y":"X")]:o7[n]||Km},ere=function(t){var r=t.type,n=r===void 0?"linear":r,a=t.points,o=a===void 0?[]:a,l=t.baseLine,c=t.layout,f=t.connectNulls,p=f===void 0?!1:f,g=Jte(n,c),m=p?o.filter(function(x){return Wp(x)}):o,y;if(Array.isArray(l)){var b=p?l.filter(function(x){return Wp(x)}):l,C=m.map(function(x,w){return i7(i7({},x),{},{base:b[w]})});return c==="vertical"?y=zp().y(Au).x1(Nu).x0(function(x){return x.base.x}):y=zp().x(Nu).y1(Au).y0(function(x){return x.base.y}),y.defined(Wp).curve(g),y(C)}return c==="vertical"&&pe(l)?y=zp().y(Au).x1(Nu).x0(l):pe(l)?y=zp().x(Nu).y1(Au).y0(l):y=aR().x(Nu).y(Au),y.defined(Wp).curve(g),y(m)},Wh=function(t){var r=t.className,n=t.points,a=t.path,o=t.pathRef;if((!n||!n.length)&&!a)return null;var l=n&&n.length?ere(t):a;return T.createElement("path",TS({},Ae(t,!1),xh(t),{className:ke("recharts-curve",r),d:l,ref:o}))},D1={exports:{}},_1,s7;function tre(){if(s7)return _1;s7=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return _1=e,_1}var E1,l7;function rre(){if(l7)return E1;l7=1;var e=tre();function t(){}function r(){}return r.resetWarningCache=t,E1=function(){function n(l,c,f,p,g,m){if(m!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function a(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},E1}var c7;function nre(){return c7||(c7=1,D1.exports=rre()()),D1.exports}var are=nre();const at=tt(are);var ire=Object.getOwnPropertyNames,ore=Object.getOwnPropertySymbols,sre=Object.prototype.hasOwnProperty;function u7(e,t){return function(n,a,o){return e(n,a,o)&&t(n,a,o)}}function Zp(e){return function(r,n,a){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,a);var o=a.cache,l=o.get(r),c=o.get(n);if(l&&c)return l===n&&c===r;o.set(r,n),o.set(n,r);var f=e(r,n,a);return o.delete(r),o.delete(n),f}}function lre(e){return e?.[Symbol.toStringTag]}function d7(e){return ire(e).concat(ore(e))}var cre=Object.hasOwn||(function(e,t){return sre.call(e,t)});function Ss(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var ure="__v",dre="__o",fre="_owner",f7=Object.getOwnPropertyDescriptor,p7=Object.keys;function pre(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function hre(e,t){return Ss(e.getTime(),t.getTime())}function mre(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function gre(e,t){return e===t}function h7(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var a=new Array(n),o=e.entries(),l,c,f=0;
458(l=o.next())&&!l.done;){for(var p=t.entries(),g=!1,m=0;(c=p.next())&&!c.done;){if(a[m]){m++;continue}var y=l.value,b=c.value;if(r.equals(y[0],b[0],f,m,e,t,r)&&r.equals(y[1],b[1],y[0],b[0],e,t,r)){g=a[m]=!0;break}m++}if(!g)return!1;f++}return!0}var yre=Ss;function vre(e,t,r){var n=p7(e),a=n.length;if(p7(t).length!==a)return!1;for(;a-- >0;)if(!c8(e,t,r,n[a]))return!1;return!0}function Du(e,t,r){var n=d7(e),a=n.length;if(d7(t).length!==a)return!1;for(var o,l,c;a-- >0;)if(o=n[a],!c8(e,t,r,o)||(l=f7(e,o),c=f7(t,o),(l||c)&&(!l||!c||l.configurable!==c.configurable||l.enumerable!==c.enumerable||l.writable!==c.writable)))return!1;return!0}function xre(e,t){return Ss(e.valueOf(),t.valueOf())}function bre(e,t){return e.source===t.source&&e.flags===t.flags}function m7(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var a=new Array(n),o=e.values(),l,c;(l=o.next())&&!l.done;){for(var f=t.values(),p=!1,g=0;(c=f.next())&&!c.done;){if(!a[g]&&r.equals(l.value,c.value,l.value,c.value,e,t,r)){p=a[g]=!0;break}g++}if(!p)return!1}return!0}function Sre(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function wre(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 c8(e,t,r,n){return(n===fre||n===dre||n===ure)&&(e.$$typeof||t.$$typeof)?!0:cre(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var Cre="[object Arguments]",jre="[object Boolean]",Ore="[object Date]",Nre="[object Error]",Are="[object Map]",Dre="[object Number]",_re="[object Object]",Ere="[object RegExp]",Tre="[object Set]",Pre="[object String]",Mre="[object URL]",Rre=Array.isArray,g7=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,y7=Object.assign,kre=Object.prototype.toString.call.bind(Object.prototype.toString);function Ire(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areErrorsEqual,a=e.areFunctionsEqual,o=e.areMapsEqual,l=e.areNumbersEqual,c=e.areObjectsEqual,f=e.arePrimitiveWrappersEqual,p=e.areRegExpsEqual,g=e.areSetsEqual,m=e.areTypedArraysEqual,y=e.areUrlsEqual,b=e.unknownTagComparators;return function(x,w,j){if(x===w)return!0;if(x==null||w==null)return!1;var A=typeof x;if(A!==typeof w)return!1;if(A!=="object")return A==="number"?l(x,w,j):A==="function"?a(x,w,j):!1;var _=x.constructor;if(_!==w.constructor)return!1;if(_===Object)return c(x,w,j);if(Rre(x))return t(x,w,j);if(g7!=null&&g7(x))return m(x,w,j);if(_===Date)return r(x,w,j);if(_===RegExp)return p(x,w,j);if(_===Map)return o(x,w,j);if(_===Set)return g(x,w,j);var M=kre(x);if(M===Ore)return r(x,w,j);if(M===Ere)return p(x,w,j);if(M===Are)return o(x,w,j);if(M===Tre)return g(x,w,j);if(M===_re)return typeof x.then!="function"&&typeof w.then!="function"&&c(x,w,j);if(M===Mre)return y(x,w,j);if(M===Nre)return n(x,w,j);if(M===Cre)return c(x,w,j);if(M===jre||M===Dre||M===Pre)return f(x,w,j);if(b){var N=b[M];if(!N){var D=lre(x);D&&(N=b[D])}if(N)return N(x,w,j)}return!1}}function zre(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,a={areArraysEqual:n?Du:pre,areDatesEqual:hre,areErrorsEqual:mre,areFunctionsEqual:gre,areMapsEqual:n?u7(h7,Du):h7,areNumbersEqual:yre,areObjectsEqual:n?Du:vre,arePrimitiveWrappersEqual:xre,areRegExpsEqual:bre,areSetsEqual:n?u7(m7,Du):m7,areTypedArraysEqual:n?Du:Sre,areUrlsEqual:wre,unknownTagComparators:void 0};if(r&&(a=y7({},a,r(a))),t){var o=Zp(a.areArraysEqual),l=Zp(a.areMapsEqual),c=Zp(a.areObjectsEqual),f=Zp(a.areSetsEqual);a=y7({},a,{areArraysEqual:o,areMapsEqual:l,areObjectsEqual:c,areSetsEqual:f})}return a}function $re(e){return function(t,r,n,a,o,l,c){return e(t,r,c)}}function Lre(e){var t=e.circular,r=e.comparator,n=e.createState,a=e.equals,o=e.strict;if(n)return function(f,p){var g=n(),m=g.cache,y=m===void 0?t?new WeakMap:void 0:m,b=g.meta;return r(f,p,{cache:y,equals:a,meta:b,strict:o})};if(t)return function(f,p){return r(f,p,{cache:new WeakMap,equals:a,meta:void 0,strict:o})};var l={cache:void 0,equals:a,meta:void 0,strict:o};return function(f,p){return r(f,p,l)}}var Hre=oo();oo({strict:!0});oo({circular:!0});oo({circular:!0,strict:!0});oo({createInternalComparator:function(){return Ss}
vendor: 12,991 bytes, lines 458-464
458});oo({strict:!0,createInternalComparator:function(){return Ss}});oo({circular:!0,createInternalComparator:function(){return Ss}});oo({circular:!0,createInternalComparator:function(){return Ss},strict:!0});function oo(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,a=e.createState,o=e.strict,l=o===void 0?!1:o,c=zre(e),f=Ire(c),p=n?n(f):$re(f);return Lre({circular:r,comparator:f,createState:a,equals:p,strict:l})}function Bre(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function v7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function a(o){r<0&&(r=o),o-r>t?(e(o),r=-1):Bre(a)};requestAnimationFrame(n)}function PS(e){"@babel/helpers - typeof";return PS=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},PS(e)}function qre(e){return Wre(e)||Gre(e)||Ure(e)||Fre()}function Fre(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 459In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ure(e,t){if(e){if(typeof e=="string")return x7(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x7(e,t)}}function x7(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wre(e){if(Array.isArray(e))return e}function Zre(){var e={},t=function(){return null},r=!1,n=function a(o){if(!r){if(Array.isArray(o)){if(!o.length)return;var l=o,c=qre(l),f=c[0],p=c.slice(1);if(typeof f=="number"){v7(a.bind(null,p),f);return}a(f),v7(a.bind(null,p));return}PS(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){r=!0},start:function(o){r=!1,n(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function Td(e){"@babel/helpers - typeof";return Td=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},Td(e)}function b7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function S7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?b7(Object(r),!0).forEach(function(n){u8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function u8(e,t,r){return t=Kre(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kre(e){var t=Vre(e,"string");return Td(t)==="symbol"?t:String(t)}function Vre(e,t){if(Td(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Td(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Qre=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,a){return n.filter(function(o){return a.includes(o)})})},Yre=function(t){return t},Xre=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},Uu=function(t,r){return Object.keys(r).reduce(function(n,a){return S7(S7({},n),{},u8({},a,t(a,r[a])))},{})},w7=function(t,r,n){return t.map(function(a){return"".concat(Xre(a)," ").concat(r,"ms ").concat(n)}).join(",")};function Jre(e,t){return rne(e)||tne(e,t)||d8(e,t)||ene()}function ene(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 460In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tne(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function rne(e){if(Array.isArray(e))return e}function nne(e){return one(e)||ine(e)||d8(e)||ane()}function ane(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 461In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d8(e,t){if(e){if(typeof e=="string")return MS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return MS(e,t)}}function ine(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function one(e){if(Array.isArray(e))return MS(e)}function MS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Zh=1e-4,f8=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},p8=function(t,r){return t.map(function(n,a){return n*Math.pow(r,a)}).reduce(function(n,a){return n+a})},C7=function(t,r){return function(n){var a=f8(t,r);return p8(a,n)}},sne=function(t,r){return function(n){var a=f8(t,r),o=[].concat(nne(a.map(function(l,c){return l*c}).slice(1)),[0]);return p8(o,n)}},j7=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0],o=r[1],l=r[2],c=r[3];if(r.length===1)switch(r[0]){case"linear":a=0,o=0,l=1,c=1;break;case"ease":a=.25,o=.1,l=.25,c=1;break;case"ease-in":a=.42,o=0,l=1,c=1;break;case"ease-out":a=.42,o=0,l=.58,c=1;break;case"ease-in-out":a=0,o=0,l=.58,c=1;break;default:{var f=r[0].split("(");if(f[0]==="cubic-bezier"&&f[1].split(")")[0].split(",").length===4){var p=f[1].split(")")[0].split(",").map(function(w){return parseFloat(w)}),g=Jre(p,4);a=g[0],o=g[1],l=g[2],c=g[3]}}}var m=C7(a,l),y=C7(o,c),b=sne(a,l),C=function(j){return j>1?1:j<0?0:j},x=function(j){for(var A=j>1?1:j,_=A,M=0;M<8;++M){var N=m(_)-A,D=b(_);if(Math.abs(N-A)<Zh||D<Zh)return y(_);_=C(_-N/D)}return y(_)};return x.isStepper=!1,x},lne=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,a=t.damping,o=a===void 0?8:a,l=t.dt,c=l===void 0?17:l,f=function(g,m,y){var b=-(g-m)*n,C=y*o,x=y+(b-C)*c/1e3,w=y*c/1e3+g;return Math.abs(w-m)<Zh&&Math.abs(x)<Zh?[m,0]:[w,x]};return f.isStepper=!0,f.dt=c,f},cne=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return j7(a);case"spring":return lne();default:if(a.split("(")[0]==="cubic-bezier")return j7(a)}return typeof a=="function"?a:null};function Pd(e){"@babel/helpers - typeof";return Pd=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},Pd(e)}function O7(e){return fne(e)||dne(e)||h8(e)||une()}function une(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 462In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fne(e){if(Array.isArray(e))return kS(e)}function N7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function dr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?N7(Object(r),!0).forEach(function(n){RS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function RS(e,t,r){return t=pne(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pne(e){var t=hne(e,"string");return Pd(t)==="symbol"?t:String(t)}function hne(e,t){if(Pd(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pd(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mne(e,t){return vne(e)||yne(e,t)||h8(e,t)||gne()}function gne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 463In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h8(e,t){if(e){if(typeof e=="string")return kS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kS(e,t)}}function kS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function yne(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function vne(e){if(Array.isArray(e))return e}var Kh=function(t,r,n){return t+(r-t)*n},IS=function(t){var r=t.from,n=t.to;return r!==n},xne=function e(t,r,n){var a=Uu(function(o,l){if(IS(l)){var c=t(l.from,l.to,l.velocity),f=mne(c,2),p=f[0],g=f[1];return dr(dr({},l),{},{from:p,velocity:g})}return l},r);return n<1?Uu(function(o,l){return IS(l)?dr(dr({},l),{},{velocity:Kh(l.velocity,a[o].velocity,n),from:Kh(l.from,a[o].from,n)}):l},r):e(t,a,n-1)};const bne=(function(e,t,r,n,a){var o=Qre(e,t),l=o.reduce(function(w,j){return dr(dr({},w),{},RS({},j,[e[j],t[j]]))},{}),c=o.reduce(function(w,j){return dr(dr({},w),{},RS({},j,{from:e[j],velocity:0,to:t[j]}))},{}),f=-1,p,g,m=function(){return null},y=function(){return Uu(function(j,A){return A.from},c)},b=function(){return!Object.values(c).filter(IS).length},C=function(j){p||(p=j);var A=j-p,_=A/r.dt;c=xne(r,c,_),a(dr(dr(dr({},e),t),y())),p=j,b()||(f=requestAnimationFrame(m))},x=function(j){g||(g=j);var A=(j-g)/n,_=Uu(function(N,D){return Kh.apply(void 0,O7(D).concat([r(A)]))},l);if(a(dr(dr(dr({},e),t),_)),A<1)f=requestAnimationFrame(m);else{var M=Uu(function(N,D){return Kh.apply(void 0,O7(D).concat([r(1)]))},l);a(dr(dr(dr({},e),t),M))}};return m=r.isStepper?C:x,function(){return requestAnimationFrame(m),function(){cancelAnimationFrame(f)}}});function Zl(e){"@babel/helpers - typeof";return Zl=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},Zl(e)}var Sne=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function wne(e,t){if(e==null)return{};var r=Cne(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Cne(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o<n.length;o++)a=n[o],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function T1(e){return Ane(e)||Nne(e)||One(e)||jne()}function jne(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 464In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function One(e,t){if(e){if(typeof e=="string")return zS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zS(e,t)}}function Nne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ane(e){if(Array.isArray(e))return zS(e)}function zS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function A7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function In(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
464t%2?A7(Object(r),!0).forEach(function(n){ku(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ku(e,t,r){return t=m8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _ne(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m8(n.key),n)}}function Ene(e,t,r){return t&&_ne(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function m8(e){var t=Tne(e,"string");return Zl(t)==="symbol"?t:String(t)}function Tne(e,t){if(Zl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Zl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Pne(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&&$S(e,t)}
vendor: 50,951 bytes, lines 464-477
464function $S(e,t){return $S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},$S(e,t)}function Mne(e){var t=Rne();return function(){var n=Vh(e),a;if(t){var o=Vh(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return LS(this,a)}}function LS(e,t){if(t&&(Zl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return HS(e)}function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rne(){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(r){return r.__proto__||Object.getPrototypeOf(r)},Vh(e)}var Un=(function(e){Pne(r,e);var t=Mne(r);function r(n,a){var o;Dne(this,r),o=t.call(this,n,a);var l=o.props,c=l.isActive,f=l.attributeName,p=l.from,g=l.to,m=l.steps,y=l.children,b=l.duration;if(o.handleStyleChange=o.handleStyleChange.bind(HS(o)),o.changeStyle=o.changeStyle.bind(HS(o)),!c||b<=0)return o.state={style:{}},typeof y=="function"&&(o.state={style:g}),LS(o);if(m&&m.length)o.state={style:m[0].style};else if(p){if(typeof y=="function")return o.state={style:p},LS(o);o.state={style:f?ku({},f,p):p}}else o.state={style:{}};return o}return Ene(r,[{key:"componentDidMount",value:function(){var a=this.props,o=a.isActive,l=a.canBegin;this.mounted=!0,!(!o||!l)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var o=this.props,l=o.isActive,c=o.canBegin,f=o.attributeName,p=o.shouldReAnimate,g=o.to,m=o.from,y=this.state.style;if(c){if(!l){var b={style:f?ku({},f,g):g};this.state&&y&&(f&&y[f]!==g||!f&&y!==g)&&this.setState(b);return}if(!(Hre(a.to,g)&&a.canBegin&&a.isActive)){var C=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var x=C||p?m:a.to;if(this.state&&y){var w={style:f?ku({},f,x):x};(f&&y[f]!==x||!f&&y!==x)&&this.setState(w)}this.runAnimation(In(In({},this.props),{},{from:x,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var a=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),a&&a()}},{key:"handleStyleChange",value:function(a){this.changeStyle(a)}},{key:"changeStyle",value:function(a){this.mounted&&this.setState({style:a})}},{key:"runJSAnimation",value:function(a){var o=this,l=a.from,c=a.to,f=a.duration,p=a.easing,g=a.begin,m=a.onAnimationEnd,y=a.onAnimationStart,b=bne(l,c,cne(p),f,this.changeStyle),C=function(){o.stopJSAnimation=b()};this.manager.start([y,g,C,f,m])}},{key:"runStepAnimation",value:function(a){var o=this,l=a.steps,c=a.begin,f=a.onAnimationStart,p=l[0],g=p.style,m=p.duration,y=m===void 0?0:m,b=function(x,w,j){if(j===0)return x;var A=w.duration,_=w.easing,M=_===void 0?"ease":_,N=w.style,D=w.properties,O=w.onAnimationEnd,P=j>0?l[j-1]:w,R=D||Object.keys(N);if(typeof M=="function"||M==="spring")return[].concat(T1(x),[o.runJSAnimation.bind(o,{from:P.style,to:N,duration:A,easing:M}),A]);var F=w7(R,A,M),I=In(In(In({},P.style),N),{},{transition:F});return[].concat(T1(x),[I,A,O]).filter(Yre)};return this.manager.start([f].concat(T1(l.reduce(b,[g,Math.max(y,c)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=Zre());var o=a.begin,l=a.duration,c=a.attributeName,f=a.to,p=a.easing,g=a.onAnimationStart,m=a.onAnimationEnd,y=a.steps,b=a.children,C=this.manager;if(this.unSubscribe=C.subscribe(this.handleStyleChange),typeof p=="function"||typeof b=="function"||p==="spring"){this.runJSAnimation(a);return}if(y.length>1){this.runStepAnimation(a);return}var x=c?ku({},c,f):f,w=w7(Object.keys(x),l,p);C.start([g,o,In(In({},x),{},{transition:w}),l,m])}},{key:"render",value:function(){var a=this.props,o=a.children;a.begin;var l=a.duration;a.attributeName,a.easing;var c=a.isActive;a.steps,a.from,a.to,a.canBegin,a.onAnimationEnd,a.shouldReAnimate,a.onAnimationReStart;var f=wne(a,Sne),p=T.Children.count(o),g=this.state.style;if(typeof o=="function")return o(g);if(!c||p===0||l<=0)return o;var m=function(b){var C=b.props,x=C.style,w=x===void 0?{}:x,j=C.className,A=T.cloneElement(b,In(In({},f),{},{style:In(In({},w),g),className:j}));return A};return p===1?m(T.Children.only(o)):$.createElement("div",null,T.Children.map(o,function(y){return m(y)}))}}]),r})(T.PureComponent);Un.displayName="Animate";Un.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Un.propTypes={from:at.oneOfType([at.object,at.string]),to:at.oneOfType([at.object,at.string]),attributeName:at.string,duration:at.number,begin:at.number,easing:at.oneOfType([at.string,at.func]),steps:at.arrayOf(at.shape({duration:at.number.isRequired,style:at.object.isRequired,easing:at.oneOfType([at.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),at.func]),properties:at.arrayOf("string"),onAnimationEnd:at.func})),children:at.oneOfType([at.node,at.func]),isActive:at.bool,canBegin:at.bool,onAnimationEnd:at.func,shouldReAnimate:at.bool,onAnimationStart:at.func,onAnimationReStart:at.func};function Md(e){"@babel/helpers - typeof";return Md=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},Md(e)}function Qh(){return Qh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qh.apply(this,arguments)}function kne(e,t){return Lne(e)||$ne(e,t)||zne(e,t)||Ine()}function Ine(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 465In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zne(e,t){if(e){if(typeof e=="string")return D7(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return D7(e,t)}}function D7(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $ne(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function Lne(e){if(Array.isArray(e))return e}function _7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function E7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_7(Object(r),!0).forEach(function(n){Hne(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hne(e,t,r){return t=Bne(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bne(e){var t=qne(e,"string");return Md(t)=="symbol"?t:t+""}function qne(e,t){if(Md(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Md(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var T7=function(t,r,n,a,o){var l=Math.min(Math.abs(n)/2,Math.abs(a)/2),c=a>=0?1:-1,f=n>=0?1:-1,p=a>=0&&n>=0||a<0&&n<0?1:0,g;if(l>0&&o instanceof Array){for(var m=[0,0,0,0],y=0,b=4;y<b;y++)m[y]=o[y]>l?l:o[y];g="M".concat(t,",").concat(r+c*m[0]),m[0]>0&&(g+="A ".concat(m[0],",").concat(m[0],",0,0,").concat(p,",").concat(t+f*m[0],",").concat(r)),g+="L ".concat(t+n-f*m[1],",").concat(r),m[1]>0&&(g+="A ".concat(m[1],",").concat(m[1],",0,0,").concat(p,`, 466 `).concat(t+n,",").concat(r+c*m[1])),g+="L ".concat(t+n,",").concat(r+a-c*m[2]),m[2]>0&&(g+="A ".concat(m[2],",").concat(m[2],",0,0,").concat(p,`, 467 `).concat(t+n-f*m[2],",").concat(r+a)),g+="L ".concat(t+f*m[3],",").concat(r+a),m[3]>0&&(g+="A ".concat(m[3],",").concat(m[3],",0,0,").concat(p,`, 468 `).concat(t,",").concat(r+a-c*m[3])),g+="Z"}else if(l>0&&o===+o&&o>0){var C=Math.min(l,o);g="M ".concat(t,",").concat(r+c*C,` 469 A `).concat(C,",").concat(C,",0,0,").concat(p,",").concat(t+f*C,",").concat(r,` 470 L `).concat(t+n-f*C,",").concat(r,` 471 A `).concat(C,",").concat(C,",0,0,").concat(p,",").concat(t+n,",").concat(r+c*C,` 472 L `).concat(t+n,",").concat(r+a-c*C,` 473 A `).concat(C,",").concat(C,",0,0,").concat(p,",").concat(t+n-f*C,",").concat(r+a,` 474 L `).concat(t+f*C,",").concat(r+a,` 475 A `).concat(C,",").concat(C,",0,0,").concat(p,",").concat(t,",").concat(r+a-c*C," Z")}else g="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(a," h ").concat(-n," Z");return g},Fne=function(t,r){if(!t||!r)return!1;var n=t.x,a=t.y,o=r.x,l=r.y,c=r.width,f=r.height;if(Math.abs(c)>0&&Math.abs(f)>0){var p=Math.min(o,o+c),g=Math.max(o,o+c),m=Math.min(l,l+f),y=Math.max(l,l+f);return n>=p&&n<=g&&a>=m&&a<=y}return!1},Une={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},UC=function(t){var r=E7(E7({},Une),t),n=T.useRef(),a=T.useState(-1),o=kne(a,2),l=o[0],c=o[1];T.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var M=n.current.getTotalLength();M&&c(M)}catch{}},[]);var f=r.x,p=r.y,g=r.width,m=r.height,y=r.radius,b=r.className,C=r.animationEasing,x=r.animationDuration,w=r.animationBegin,j=r.isAnimationActive,A=r.isUpdateAnimationActive;if(f!==+f||p!==+p||g!==+g||m!==+m||g===0||m===0)return null;var _=ke("recharts-rectangle",b);return A?$.createElement(Un,{canBegin:l>0,from:{width:g,height:m,x:f,y:p},to:{width:g,height:m,x:f,y:p},duration:x,animationEasing:C,isActive:A},function(M){var N=M.width,D=M.height,O=M.x,P=M.y;return $.createElement(Un,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:x,isActive:j,easing:C},$.createElement("path",Qh({},Ae(r,!0),{className:_,d:T7(O,P,N,D,y),ref:n})))}):$.createElement("path",Qh({},Ae(r,!0),{className:_,d:T7(f,p,g,m,y)}))},Gne=["points","className","baseLinePoints","connectNulls"];function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jl.apply(this,arguments)}function Wne(e,t){if(e==null)return{};var r=Zne(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Zne(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function P7(e){return Yne(e)||Qne(e)||Vne(e)||Kne()}function Kne(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 476In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vne(e,t){if(e){if(typeof e=="string")return BS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return BS(e,t)}}function Qne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yne(e){if(Array.isArray(e))return BS(e)}function BS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var M7=function(t){return t&&t.x===+t.x&&t.y===+t.y},Xne=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[[]];return t.forEach(function(n){M7(n)?r[r.length-1].push(n):r[r.length-1].length>0&&r.push([])}),M7(t[0])&&r[r.length-1].push(t[0]),r[r.length-1].length<=0&&(r=r.slice(0,-1)),r},Gu=function(t,r){var n=Xne(t);r&&(n=[n.reduce(function(o,l){return[].concat(P7(o),P7(l))},[])]);var a=n.map(function(o){return o.reduce(function(l,c,f){return"".concat(l).concat(f===0?"M":"L").concat(c.x,",").concat(c.y)},"")}).join("");return n.length===1?"".concat(a,"Z"):a},Jne=function(t,r,n){var a=Gu(t,n);return"".concat(a.slice(-1)==="Z"?a.slice(0,-1):a,"L").concat(Gu(r.reverse(),n).slice(1))},g8=function(t){var r=t.points,n=t.className,a=t.baseLinePoints,o=t.connectNulls,l=Wne(t,Gne);if(!r||!r.length)return null;var c=ke("recharts-polygon",n);if(a&&a.length){var f=l.stroke&&l.stroke!=="none",p=Jne(r,a,o);return $.createElement("g",{className:c},$.createElement("path",jl({},Ae(l,!0),{fill:p.slice(-1)==="Z"?l.fill:"none",stroke:"none",d:p})),f?$.createElement("path",jl({},Ae(l,!0),{fill:"none",d:Gu(r,o)})):null,f?$.createElement("path",jl({},Ae(l,!0),{fill:"none",d:Gu(a,o)})):null)}var g=Gu(r,o);return $.createElement("path",jl({},Ae(l,!0),{fill:g.slice(-1)==="Z"?l.fill:"none",className:c,d:g}))};function qS(){return qS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qS.apply(this,arguments)}var cf=function(t){var r=t.cx,n=t.cy,a=t.r,o=t.className,l=ke("recharts-dot",o);return r===+r&&n===+n&&a===+a?T.createElement("circle",qS({},Ae(t,!1),xh(t),{className:l,cx:r,cy:n,r:a})):null};function Rd(e){"@babel/helpers - typeof";return Rd=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},Rd(e)}var eae=["x","y","top","left","width","height","className"];function FS(){return FS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},FS.apply(this,arguments)}function R7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function tae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?R7(Object(r),!0).forEach(function(n){rae(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rae(e,t,r){return t=nae(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nae(e){var t=aae(e,"string");return Rd(t)=="symbol"?t:t+""}function aae(e,t){if(Rd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Rd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iae(e,t){if(e==null)return{};var r=oae(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function oae(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var sae=function(t,r,n,a,o,l){return"M".concat(t,",").concat(o,"v").concat(a,"M").concat(l,",").concat(r,"h").concat(n)},lae=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,o=a===void 0?0:a,l=t.top,c=l===void 0?0:l,f=t.left,p=f===void 0?0:f,g=t.width,m=g===void 0?0:g,y=t.height,b=y===void 0?0:y,C=t.className,x=iae(t,eae),w=tae({x:n,y:o,top:c,left:p,width:m,height:b},x);return!pe(n)||!pe(o)||!pe(m)||!pe(b)||!pe(c)||!pe(p)?null:$.createElement("path",FS({},Ae(w,!0),{className:ke("recharts-cross",C),d:sae(n,o,m,b,c,p)}))},cae=["cx","cy","innerRadius","outerRadius","gridType","radialLines"];function kd(e){"@babel/helpers - typeof";return kd=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},kd(e)}function uae(e,t){if(e==null)return{};var r=dae(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function dae(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ai(){return ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ai.apply(this,arguments)}function k7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Id(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k7(Object(r),!0).forEach(function(n){fae(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fae(e,t,r){return t=pae(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pae(e){var t=hae(e,"string");return kd(t)=="symbol"?t:t+""}function hae(e,t){if(kd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(kd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var mae=function(t,r,n,a){var o="";return a.forEach(function(l,c){var f=et(r,n,t,l);c?o+="L ".concat(f.x,",").concat(f.y):o+="M ".concat(f.x,",").concat(f.y)}),o+="Z",o},gae=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,o=t.outerRadius,l=t.polarAngles,c=t.radialLines;if(!l||!l.length||!c)return null;var f=Id({stroke:"#ccc"},Ae(t,!1));return $.createElement("g",{className:"recharts-polar-grid-angle"},l.map(function(p){var g=et(r,n,a,p),m=et(r,n,o,p);return $.createElement("line",ai({},f,{key:"line-".concat(p),x1:g.x,y1:g.y,x2:m.x,y2:m.y}))}))},yae=function(t){var r=t.cx,n=t.cy,a=t.radius,o=t.index,l=Id(Id({stroke:"#ccc"},Ae(t,!1)),{},{fill:"none"});return $.createElement("circle",ai({},l,{className:ke("recharts-polar-grid-concentric-circle",t.className),key:"circle-".concat(o),cx:r,cy:n,r:a}))},vae=function(t){var r=t.radius,n=t.index,a=Id(Id({stroke:"#ccc"},Ae(t,!1)),{},{fill:"none"});return $.createElement("path",ai({},a,{className:ke("recharts-polar-grid-concentric-polygon",t.className),key:"path-".concat(n),d:mae(r,t.cx,t.cy,t.polarAngles)}))},xae=function(t){var r=t.polarRadius,n=t.gridType;return!r||!r.length?null:$.createElement("g",{className:"recharts-polar-grid-concentric"},r.map(function(a,o){var l=o;return n==="circle"?$.createElement(yae,ai({key:l},t,{radius:a,index:o})):$.createElement(vae,ai({key:l},t,{radius:a,index:o}))}))},y8=function(t){var r=t.cx,n=r===void 0?0:r,a=t.cy,o=a===void 0?0:a,l=t.innerRadius,c=l===void 0?0:l,f=t.outerRadius,p=f===void 0?0:f,g=t.gridType,m=g===void 0?"polygon":g,y=t.radialLines,b=y===void 0?!0:y,C=uae(t,cae);return p<=0?null:$.createElement("g",{className:"recharts-polar-grid"},$.createElement(gae,ai({cx:n,cy:o,innerRadius:c,outerRadius:p,gridType:m,radialLines:b},C)),$.createElement(xae,ai({cx:n,cy:o,innerRadius:c,outerRadius:p,gridType:m,radialLines:b},C)))};y8.displayName="PolarGrid";var P1,I7;function bae(){if(I7)return P1;I7=1;var e=ig(),t=Dk(),r=xa();function n(a,o){return a&&a.length?e(a,r(o,2),t):void 0}return P1=n,P1}var Sae=bae();const wae=tt(Sae);var M1,z7;function Cae(){if(z7)return M1;z7=1;var e=ig(),t=xa(),r=_k();function n(a,o){return a&&a.length?e(a,t(o,2),r):void 0}return M1=n,M1}var jae=Cae();const Oae=tt(jae);var Nae=["cx","cy","angle","ticks","axisLine"],Aae=["ticks","tick","angle","tickFormatter","stroke"];function Kl(e){"@babel/helpers - typeof";return Kl=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},Kl(e)}function Wu(){return Wu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wu.apply(this,arguments)}function $7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$7(Object(r),!0).forEach(function(n){ug(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function L7(e,t){if(e==null)return{};var r=Dae(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Dae(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H7(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,x8(n.key),n)}}function Eae(e,t,r){return t&&H7(e.prototype,t),r&&H7(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tae(e,t,r){return t=Yh(t),Pae(e,v8()?Reflect.construct(t,r||[],Yh(e).constructor):t.apply(e,r))}function Pae(e,t){if(t&&(Kl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mae(e)}function Mae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(v8=function(){return!!e})()}function Yh(e){return Yh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Yh(e)}function Rae(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&&US(e,t)}function US(e,t){return US=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},US(e,t)}function ug(e,t,r){return t=x8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x8(e){var t=kae(e,"string");return Kl(t)=="symbol"?t:t+""}function kae(e,t){if(Kl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Kl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var uf=(function(e){function t(){return _ae(this,t),Tae(this,t,arguments)}return Rae(t,e),Eae(t,[{key:"getTickValueCoord",value:function(n){var a=n.coordinate,o=this.props,l=o.angle,c=o.cx,f=o.cy;return et(c,f,a,l)}},{key:"getTickTextAnchor",value:function(){var n=this.props.orientation,a;switch(n){case"left":a="end";break;case"right":a="start";break;default:a="middle";break}return a}},{key:"getViewBox",value:function(){var n=this.props,a=n.cx,o=n.cy,l=n.angle,c=n.ticks,f=wae(c,function(g){return g.coordinate||0}),p=Oae(c,function(g){return g.coordinate||0});return{cx:a,cy:o,startAngle:l,endAngle:l,innerRadius:p.coordinate||0,outerRadius:f.coordinate||0}}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.cx,o=n.cy,l=n.angle,c=n.ticks,f=n.axisLine,p=L7(n,Nae),g=c.reduce(function(C,x){return[Math.min(C[0],x.coordinate),Math.max(C[1],x.coordinate)]},[1/0,-1/0]),m=et(a,o,g[0],l),y=et(a,o,g[1],l),b=Ro(Ro(Ro({},Ae(p,!1)),{},{fill:"none"},Ae(f,!1)),{},{x1:m.x,y1:m.y,x2:y.x,y2:y.y});return $.createElement("line",Wu({className:"recharts-polar-radius-axis-line"},b))}},{key:"renderTicks",value:function(){var n=this,a=this.props,o=a.ticks,l=a.tick,c=a.angle,f=a.tickFormatter,p=a.stroke,g=L7(a,Aae),m=this.getTickTextAnchor(),y=Ae(g,!1),b=Ae(l,!1),C=o.map(function(x,w){var j=n.getTickValueCoord(x),A=Ro(Ro(Ro(Ro({textAnchor:m,transform:"rotate(".concat(90-c,", ").concat(j.x,", ").concat(j.y,")")},y),{},{stroke:"none",fill:p},b),{},{index:w},j),{},{payload:x});return $.createElement(Ke,Wu({className:ke("recharts-polar-radius-axis-tick",a8(l)),key:"tick-".concat(x.coordinate)},ss(n.props,x,w)),t.renderTickItem(l,A,f?f(x.value,w):x.value))});return $.createElement(Ke,{className:"recharts-polar-radius-axis-ticks"},C)}},{key:"render",value:function(){var n=this.props,a=n.ticks,o=n.axisLine,l=n.tick;return!a||!a.length?null:$.createElement(Ke,{className:ke("recharts-polar-radius-axis",this.props.className)},o&&this.renderAxisLine(),l&&this.renderTicks(),rr.renderCallByParent(this.props,this.getViewBox()))}}],[{key:"renderTickItem",value:function(n,a,o){var l;return $.isValidElement(n)?l=$.cloneElement(n,a):Pe(n)?l=n(a):l=$.createElement(ls,Wu({},a,{className:"recharts-polar-radius-axis-tick-value"}),o),l}}])})(T.PureComponent);ug(uf,"displayName","PolarRadiusAxis");ug(uf,"axisType","radiusAxis");ug(uf,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});function Vl(e){"@babel/helpers - typeof";return Vl=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},Vl(e)}function qo(){return qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qo.apply(this,arguments)}function B7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ko(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?B7(Object(r),!0).forEach(function(n){dg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Iae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q7(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,S8(n.key),n)}}function zae(e,t,r){return t&&q7(e.prototype,t),r&&q7(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function $ae(e,t,r){return t=Xh(t),Lae(e,b8()?Reflect.construct(t,r||[],Xh(e).constructor):t.apply(e,r))}function Lae(e,t){if(t&&(Vl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Hae(e)}function Hae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b8=function(){return!!e})()}function Xh(e){return Xh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Xh(e)}function Bae(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&&GS(e,t)}function GS(e,t){return GS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},GS(e,t)}function dg(e,t,r){return t=S8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S8(e){var t=qae(e,"string");return Vl(t)=="symbol"?t:t+""}function qae(e,t){if(Vl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Vl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Fae=Math.PI/180,F7=1e-5,Cc=(function(e){function t(){return Iae(this,t),$ae(this,t,arguments)}return Bae(t,e),zae(t,[{key:"getTickLineCoord",value:function(n){var a=this.props,o=a.cx,l=a.cy,c=a.radius,f=a.orientation,p=a.tickSize,g=p||8,m=et(o,l,c,n.coordinate),y=et(o,l,c+(f==="inner"?-1:1)*g,n.coordinate);return{x1:m.x,y1:m.y,x2:y.x,y2:y.y}}},{key:"getTickTextAnchor",value:function(n){var a=this.props.orientation,o=Math.cos(-n.coordinate*Fae),l;return o>F7?l=a==="outer"?"start":"end":o<-F7?l=a==="outer"?"end":"start":l="middle",l}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.cx,o=n.cy,l=n.radius,c=n.axisLine,f=n.axisLineType,p=ko(ko({},Ae(this.props,!1)),{},{fill:"none"},Ae(c,!1));if(f==="circle")return $.createElement(cf,qo({className:"recharts-polar-angle-axis-line"},p,{cx:a,cy:o,r:l}));var g=this.props.ticks,m=g.map(function(y){return et(a,o,l,y.coordinate)});return $.createElement(g8,qo({className:"recharts-polar-angle-axis-line"},p,{points:m}))}},{key:"renderTicks",value:function(){var n=this,a=this.props,o=a.ticks,l=a.tick,c=a.tickLine,f=a.tickFormatter,p=a.stroke,g=Ae(this.props,!1),m=Ae(l,!1),y=ko(ko({},g),{},{fill:"none"},Ae(c,!1)),b=o.map(function(C,x){var w=n.getTickLineCoord(C),j=n.getTickTextAnchor(C),A=ko(ko(ko({textAnchor:j},g),{},{stroke:"none",fill:p},m),{},{index:x,payload:C,x:w.x2,y:w.y2});return $.createElement(Ke,qo({className:ke("recharts-polar-angle-axis-tick",a8(l)),key:"tick-".concat(C.coordinate)},ss(n.props,C,x)),c&&$.createElement("line",qo({className:"recharts-polar-angle-axis-tick-line"},y,w)),l&&t.renderTickItem(l,A,f?f(C.value,x):C.value))});return $.createElement(Ke,{className:"recharts-polar-angle-axis-ticks"},b)}},{key:"render",value:function(){var n=this.props,a=n.ticks,o=n.radius,l=n.axisLine;return o<=0||!a||!a.length?null:$.createElement(Ke,{className:ke("recharts-polar-angle-axis",this.props.className)},l&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(n,a,o){var l;return $.isValidElement(n)?l=$.cloneElement(n,a):Pe(n)?l=n(a):l=$.createElement(ls,qo({},a,{className:"recharts-polar-angle-axis-tick-value"}),o),l}}])})(T.PureComponent);dg(Cc,"displayName","PolarAngleAxis");dg(Cc,"axisType","angleAxis");dg(Cc,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var R1,U7;function Uae(){if(U7)return R1;U7=1;var e=AR(),t=e(Object.getPrototypeOf,Object);return R1=t,R1}var k1,G7;function Gae(){if(G7)return k1;G7=1;var e=oi(),t=Uae(),r=si(),n="[object Object]",a=Function.prototype,o=Object.prototype,l=a.toString,c=o.hasOwnProperty,f=l.call(Object);function p(g){if(!r(g)||e(g)!=n)return!1;var m=t(g);if(m===null)return!0;var y=c.call(m,"constructor")&&m.constructor;return typeof y=="function"&&y instanceof y&&l.call(y)==f}return k1=p,k1}var Wae=Gae();const Zae=tt(Wae);var I1,W7;function Kae(){if(W7)return I1;W7=1;var e=oi(),t=si(),r="[object Boolean]";function n(a){return a===!0||a===!1||t(a)&&e(a)==r}return I1=n,I1}var Vae=Kae();const Qae=tt(Vae);function zd(e){"@babel/helpers - typeof";return zd=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},zd(e)}function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jh.apply(this,arguments)}function Yae(e,t){return tie(e)||eie(e,t)||Jae(e,t)||Xae()}function Xae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 477In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jae(e,t){if(e){if(typeof e=="string")return Z7(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z7(e,t)}}function Z7(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eie(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function tie(e){if(Array.isArray(e))return e}function K7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function V7(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?K7(Object(r),!0).forEach(function(n){rie(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rie(e,t,r){return t=nie(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nie(e){var t=aie(e,"string");return zd(t)=="symbol"?t:t+""}function aie(e,t){if(zd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Q7=function(t,r,n,a,o){var l=n-a,c;return c="M ".concat(t,",").concat(r),c+="L ".concat(t+n,",").concat(r),c+="L ".concat(t+n-l/2,",").concat(r+o),c+="L ".concat(t+n-l/2-a,",").concat(r+o),c+="L ".concat(t,",").concat(r," Z"),c},iie={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},oie=function(t){var r=V7(V7({},iie),t),n=T.useRef(),a=T.useState(-1),o=Yae(a,2),l=o[0],c=o[1];T.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var _=n.current.getTotalLength();_&&c(_)}catch{}},[]);var f=r.x,p=r.y,g=r.upperWidth,m=r.lowerWidth,y=r.height,b=r.className,C=r.animationEasing,x=r.animationDuration,w=r.animationBegin,j=r.isUpdateAnimationActive;if(f!==+f||p!==+p||g!==+g||m!==+m||y!==+y||g===0&&m===0||y===0)return null;var A=ke("recharts-trapezoid",b);return j?$.createElement(Un,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:y,x:f,y:p},to:{upperWidth:g,lowerWidth:m,height:y,x:f,y:p},duration:x,animationEasing:C,isActive:j},function(_){var M=_.upperWidth,N=_.lowerWidth,D=_.height,O=_.x,P=_.y;return $.createElement(Un,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:x,easing:C},$.createElement("path",Jh({},Ae(r,!0),{className:A,d:Q7(O,P,M,N,D),ref:n})))}):$.createElement("g",null,$.createElement("path",Jh({},Ae(r,!0),{className:A,d:Q7(f,p,g,m,y)})))},sie=["option","shapeType","propTransformer","activeClassName","isActive"];function $d(e){"@babel/helpers - typeof";return $d=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},$d(e)}function lie(e,t){if(e==null)return{};var r=cie(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function cie(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Y7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function em(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Y7(Object(r),!0).forEach(function(n){uie(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Y7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function uie(e,t,r){return t=die(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function die(e){var t=fie(e,"string");return $d(t)=="symbol"?t:t+""}function fie(e,t){if($d(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if($d(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pie(e,t){return em(em({},t),e)}function hie(e,t){return e==="symbols"}function X7(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return $.createElement(UC,r);case"trapezoid":return $.createElement(oie,r);case"sector":return $.createElement(l8,r);case"symbols":if(hie(t))return $.createElement(cC,r);break;default:return null}}function mie(e){return T.isValidElement(e)?e.props:e}function w8(e){var t=e.option,r=e.shapeType,n=e.propTransformer,a=n===void 0?pie:n,o=e.activeClassName,l=o===void 0?"recharts-active-shape":o,c=e.isActive,f=lie(e,sie),p;if(T.isValidElement(t))p=T.cloneElement(t,em(em({},f),mie(t)));else if(Pe(t))p=t(f);else if(Zae(t)&&!Qae(t)){var g=a(t,f);p=$.createElement(X7,{shapeType:r,elementProps:g})}else{var m=f;p=$.createElement(X7,{shapeType:r,elementProps:m})}return c?$.createElement(Ke,{className:l},p):p}function fg(e,t){return t!=null&&"trapezoids"in e.props}function pg(e,t){return t!=null&&"sectors"in e.props}function Ld(e,t){return t!=null&&"points"in e.props}function gie(e,t){var r,n,a=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,o=e.y===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===t.y;return a&&o}function yie(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function vie(e,t){var r=e.x===t.x,n=e.y===t.y,a=e.z===t.z;return r&&n&&a}function xie(e,t){var r;return fg(e,t)?r=gie:pg(e,t)?r=yie:Ld(e,t)&&(r=vie),r}function bie(e,t){var r;return fg(e,t)?r="trapezoids":pg(e,t)?r="sectors":Ld(e,t)&&(r="points"),r}function Sie(e,t){if(fg(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}if(pg(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}return Ld(e,t)?t.payload:{}}function wie(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,a=bie(r,t),o=Sie(r,t),l=n.filter(function(f,p){var g=bc(o,f),m=r.props[a].filter(function(C){var x=xie(r,t);return x(C,t)}),y=r.props[a].indexOf(m[m.length-1]),b=p===y;return g&&b}),c=n.indexOf(l[l.length-1]);return c}var ah;function Ql(e){"@babel/helpers - typeof";return Ql=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},Ql(e)}function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ol.apply(this,arguments)}function J7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function gt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?J7(Object(r),!0).forEach(function(n){jn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,j8(n.key),n)}}function jie(e,t,r){return t&&e4(e.prototype,t),r&&e4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Oie(e,t,r){return t=tm(t),Nie(e,C8()?Reflect.construct(t,r||[],tm(e).constructor):t.apply(e,r))}function Nie(e,t){if(t&&(Ql(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Aie(e)}function Aie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(C8=function(){return!!e})()}function tm(e){return tm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},tm(e)}function Die(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&&WS(e,t)}function WS(e,t){return WS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},WS(e,t)}function jn(e,t,r){return t=j8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j8(e){var t=_ie(e,"string");return Ql(t)=="symbol"?t:t+""}function _ie(e,t){if(Ql(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ql(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var En=(function(e){function t(r){var n;return Cie(this,t),n=Oie(this,t,[r]),jn(n,"pieRef",null),jn(n,"sectorRefs",[]),jn(n,"id",yc("recharts-pie-")),jn(n,"handleAnimationEnd",function(){var a=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),Pe(a)&&a()}),jn(n,"handleAnimationStart",function(){var a=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),Pe(a)&&a()}),n.state={isAnimationFinished:!r.isAnimationActive,prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,sectorToFocus:0},n}return Die(t,e),jie(t,[{key:"isActiveIndex",value:function(n){var a=this.props.activeIndex;return Array.isArray(a)?a.indexOf(n)!==-1:n===a}},{key:"hasActiveIndex",value:function(){var n=this.props.activeIndex;return Array.isArray(n)?n.length!==0:n||n===0}},{key:"renderLabels",value:function(n){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var o=this.props,l=o.label,c=o.labelLine,f=o.dataKey,p=o.valueKey,g=Ae(this.props,!1),m=Ae(l,!1),y=Ae(c,!1),b=l&&l.offsetRadius||20,C=n.map(function(x,w){var j=(x.startAngle+x.endAngle)/2,A=et(x.cx,x.cy,x.outerRadius+b,j),_=gt(gt(gt(gt({},g),x),{},{stroke:"none"},m),{},{index:w,textAnchor:t.getTextAnchor(A.x,x.cx)},A),M=gt(gt(gt(gt({},g),x),{},{fill:"none",stroke:x.fill},y),{},{index:w,points:[et(x.cx,x.cy,x.outerRadius,j),A]}),N=f;return ze(f)&&ze(p)?N="value":ze(f)&&(N=p),$.createElement(Ke,{key:"label-".concat(x.startAngle,"-").concat(x.endAngle,"-").concat(x.midAngle,"-").concat(w)},c&&t.renderLabelLineItem(c,M,"line"),t.renderLabelItem(l,_,Rt(x,N)))});return $.createElement(Ke,{className:"recharts-pie-labels"},C)}},{key:"renderSectorsStatically",value:function(n){var a=this,o=this.props,l=o.activeShape,c=o.blendStroke,f=o.inactiveShape;return n.map(function(p,g){if(p?.startAngle===0&&p?.endAngle===0&&n.length!==1)return null;var m=a.isActiveIndex(g),y=f&&a.hasActiveIndex()?f:null,b=m?l:y,C=gt(gt({},p),{},{stroke:c?p.fill:p.stroke,tabIndex:-1});return $.createElement(Ke,Ol({ref:function(w){w&&!a.sectorRefs.includes(w)&&a.sectorRefs.push(w)},tabIndex:-1,className:"recharts-pie-sector"},ss(a.props,p,g),{key:"sector-".concat(p?.startAngle,"-").concat(p?.endAngle,"-").concat(p.midAngle,"-").concat(g)}),$.createElement(w8,Ol({option:b,isActive:m,shapeType:"sector"},C)))})}},{key:"renderSectorsWithAnimation",value:function(){var n=this,a=this.props,o=a.sectors,l=a.isAnimationActive,c=a.animationBegin,f=a.animationDuration,p=a.animationEasing,g=a.animationId,m=this.state,y=m.prevSectors,b=m.prevIsAnimationActive;return $.createElement(Un,{begin:c,duration:f,isActive:l,easing:p,from:{t:0},to:{t:1},key:"pie-".concat(g,"-").concat(b),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(C){var x=C.t,w=[],j=o&&o[0],A=j.startAngle;return o.forEach(function(_,M){var N=y&&y[M],D=M>0?on(_,"paddingAngle",0):0;if(N){var O=fr(N.endAngle-N.startAngle,_.endAngle-_.startAngle),P=gt(gt({},_),{},{startAngle:A+D,endAngle:A+O(x)+D});w.push(P),A=P.endAngle}else{var R=_.endAngle,F=_.startAngle,I=fr(0,R-F),L=I(x),G=gt(gt({},_),{},{startAngle:A+D,endAngle:A+L+D});w.push(G),A=G.endAngle}}),$.createElement(Ke,null,n.renderSectorsStatically(w))})}},{key:"attachKeyboardHandlers",value:function(n){var a=this;n.onkeydown=function(o){if(!o.altKey)switch(o.key){case"ArrowLeft":{var l=++a.state.sectorToFocus%a.sectorRefs.length;a.sectorRefs[l].focus(),a.setState({sectorToFocus:l});break}case"ArrowRight":{var c=--a.state.sectorToFocus<0?a.sectorRefs.length-1:a.state.sectorToFocus%a.sectorRefs.length;a.sectorRefs[c].focus(),a.setState({sectorToFocus:c});break}case"Escape":{a.sectorRefs[a.state.sectorToFocus].blur(),a.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var n=this.props,a=n.sectors,o=n.isAnimationActive,l=this.state.prevSectors;return o&&a&&a.length&&(!l||!bc(l,a))?this.renderSectorsWithAnimation():this.renderSectorsStatically(a)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var n=this,a=this.props,o=a.hide,l=a.sectors,c=a.className,f=a.label,p=a.cx,g=a.cy,m=a.innerRadius,y=a.outerRadius,b=a.isAnimationActive,C=this.state.isAnimationFinished;if(o||!l||!l.length||!pe(p)||!pe(g)||!pe(m)||!pe(y))return null;var x=ke("recharts-pie",c);return $.createElement(Ke,{tabIndex:this.props.rootTabIndex,className:x,ref:function(j){n.pieRef=j}},this.renderSectors(),f&&this.renderLabels(l),rr.renderCallByParent(this.props,null,!1),(!b||C)&&da.renderCallByParent(this.props,l,!1))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return a.prevIsAnimationActive!==n.isAnimationActive?{prevIsAnimationActive:n.isAnimationActive,prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:[],isAnimationFinished:!0}:n.isAnimationActive&&n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curSectors:n.sectors,prevSectors:a.curSectors,isAnimationFinished:!0}:n.sectors!==a.curSectors?{curSectors:n.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(n,a){return n>a?"start":n<a?"end":"middle"}},{key:"renderLabelLineItem",value:function(n,a,o){if($.isValidElement(n))return $.cloneElement(n,a);if(Pe(n))return n(a);var l=ke("recharts-pie-label-line",typeof n!="boolean"?n.className:"");return $.createElement(Wh,Ol({},a,{key:o,type:"linear",className:l}))}},{key:"renderLabelItem",value:function(n,a,o){if($.isValidElement(n))return $.cloneElement(n,a);var l=o;if(Pe(n)&&(l=n(a),$.isValidElement(l)))return l;var c=ke("recharts-pie-label-text",typeof n!="boolean"&&!Pe(n)?n.className:"");return $.createElement(ls,Ol({},a,{alignmentBaseline:"middle",className:c}),l)}}])})(T.PureComponent);ah=En;jn(En,"displayName","Pie");jn(En,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!ro.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0});jn(En,"parseDeltaAngle",function(e,t){var r=Ar(t-e),n=Math.min(Math.abs(t-e),360);return r*n});jn(En,"getRealPieData",function(e){var t=e.data,r=e.children,n=Ae(e,!1),a=sn(r,no);return t&&t.length?t.map(function(o,l){return gt(gt(gt({payload:o},n),o),a&&a[l]&&a[l].props)}):a&&a.length?a.map(function(o){return gt(gt({},n),o.props)}):[]});jn(En,"parseCoordinateOfPie",function(e,t){var r=t.top,n=t.left,a=t.width,o=t.height,l=r8(a,o),c=n+Dr(e.cx,a,a/2),f=r+Dr(e.cy,o,o/2),p=Dr(e.innerRadius,l,0),g=Dr(e.outerRadius,l,l*.8),m=e.maxRadius||Math.sqrt(a*a+o*o)/2;return{cx:c,cy:f,innerRadius:p,outerRadius:g,maxRadius:m}});jn(En,"getComposedData",function(e){var t=e.item,r=e.offset,n=t.type.defaultProps!==void 0?gt(gt({},t.type.defaultProps),t.props):t.props,a=ah.getRealPieData(n);if(!a||!a.length)return null;var o=n.cornerRadius,l=n.startAngle,c=n.endAngle,f=n.paddingAngle,p=n.dataKey,g=n.nameKey,m=n.valueKey,y=n.tooltipType,b=Math.abs(n.minAngle),C=ah.parseCoordinateOfPie(n,r),x=ah.parseDeltaAngle(l,c),w=Math.abs(x),j=p;ze(p)&&ze(m)?(Bn(!1,`Use "dataKey" to specify the value of pie,
478 the props "valueKey" will be deprecated in 1.1.0`),j="value"):ze(p)&&(Bn(!1,`Use "dataKey" to specify the value of pie, 479 the props "valueKey" will be deprecated in 1.1.0`),j=m);var A=a.filter(function(P){return Rt(P,j,0)!==0}).length,_=(w>=360?A:A-1)*f,M=w-A*b-_,N=a.reduce(function(P,R){var F=Rt(R,j,0);return P+(pe(F)?F:0)},0),D;if(N>0){var O;D=a.map(function(P,R){var F=Rt(P,j,0),I=Rt(P,g,R),L=(pe(F)?F:0)/N,G;R?G=O.endAngle+Ar(x)*f*(F!==0?1:0):G=l;var W=G+Ar(x)*((F!==0?b:0)+L*M),q=(G+W)/2,k=(C.innerRadius+C.outerRadius)/2,H=[{name:I,value:F,payload:P,dataKey:j,type:y}],U=et(C.cx,C.cy,k,q);return O=gt(gt(gt({percent:L,cornerRadius:o,name:I,tooltipPayload:H,midAngle:q,middleRadius:k,tooltipPosition:U},P),C),{},{value:Rt(P,j),startAngle:G,endAngle:W,payload:P,paddingAngle:Ar(x)*f}),O})}return gt(gt({},C),{},{sectors:D,data:a})});var z1,t4;function Eie(){if(t4)return z1;t4=1;function e(t){return t&&t.length?t[0]:void 0}return z1=e,z1}var $1,r4;function Tie(){return r4||(r4=1,$1=Eie()),$1}var Pie=Tie();const Mie=tt(Pie);var Rie=["key"];function Yl(e){"@babel/helpers - typeof";return Yl=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},Yl(e)}function kie(e,t){if(e==null)return{};var r=Iie(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Iie(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function rm(){return rm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rm.apply(this,arguments)}function n4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?n4(Object(r),!0).forEach(function(n){Fa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N8(n.key),n)}}function $ie(e,t,r){return t&&a4(e.prototype,t),r&&a4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Lie(e,t,r){return t=nm(t),Hie(e,O8()?Reflect.construct(t,r||[],nm(e).constructor):t.apply(e,r))}function Hie(e,t){if(t&&(Yl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bie(e)}function Bie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O8=function(){return!!e})()}function nm(e){return nm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nm(e)}function qie(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&&ZS(e,t)}function ZS(e,t){return ZS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ZS(e,t)}function Fa(e,t,r){return t=N8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N8(e){var t=Fie(e,"string");return Yl(t)=="symbol"?t:t+""}function Fie(e,t){if(Yl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Yl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var df=(function(e){function t(){var r;zie(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r=Lie(this,t,[].concat(a)),Fa(r,"state",{isAnimationFinished:!1}),Fa(r,"handleAnimationEnd",function(){var l=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),Pe(l)&&l()}),Fa(r,"handleAnimationStart",function(){var l=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),Pe(l)&&l()}),Fa(r,"handleMouseEnter",function(l){var c=r.props.onMouseEnter;c&&c(r.props,l)}),Fa(r,"handleMouseLeave",function(l){var c=r.props.onMouseLeave;c&&c(r.props,l)}),r}return qie(t,e),$ie(t,[{key:"renderDots",value:function(n){var a=this.props,o=a.dot,l=a.dataKey,c=Ae(this.props,!1),f=Ae(o,!0),p=n.map(function(g,m){var y=Or(Or(Or({key:"dot-".concat(m),r:3},c),f),{},{dataKey:l,cx:g.x,cy:g.y,index:m,payload:g});return t.renderDotItem(o,y)});return $.createElement(Ke,{className:"recharts-radar-dots"},p)}},{key:"renderPolygonStatically",value:function(n){var a=this.props,o=a.shape,l=a.dot,c=a.isRange,f=a.baseLinePoints,p=a.connectNulls,g;return $.isValidElement(o)?g=$.cloneElement(o,Or(Or({},this.props),{},{points:n})):Pe(o)?g=o(Or(Or({},this.props),{},{points:n})):g=$.createElement(g8,rm({},Ae(this.props,!0),{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,points:n,baseLinePoints:c?f:null,connectNulls:p})),$.createElement(Ke,{className:"recharts-radar-polygon"},g,l?this.renderDots(n):null)}},{key:"renderPolygonWithAnimation",value:function(){var n=this,a=this.props,o=a.points,l=a.isAnimationActive,c=a.animationBegin,f=a.animationDuration,p=a.animationEasing,g=a.animationId,m=this.state.prevPoints;return $.createElement(Un,{begin:c,duration:f,isActive:l,easing:p,from:{t:0},to:{t:1},key:"radar-".concat(g),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(y){var b=y.t,C=m&&m.length/o.length,x=o.map(function(w,j){var A=m&&m[Math.floor(j*C)];if(A){var _=fr(A.x,w.x),M=fr(A.y,w.y);return Or(Or({},w),{},{x:_(b),y:M(b)})}var N=fr(w.cx,w.x),D=fr(w.cy,w.y);return Or(Or({},w),{},{x:N(b),y:D(b)})});return n.renderPolygonStatically(x)})}},{key:"renderPolygon",value:function(){var n=this.props,a=n.points,o=n.isAnimationActive,l=n.isRange,c=this.state.prevPoints;return o&&a&&a.length&&!l&&(!c||!bc(c,a))?this.renderPolygonWithAnimation():this.renderPolygonStatically(a)}},{key:"render",value:function(){var n=this.props,a=n.hide,o=n.className,l=n.points,c=n.isAnimationActive;if(a||!l||!l.length)return null;var f=this.state.isAnimationFinished,p=ke("recharts-radar",o);return $.createElement(Ke,{className:p},this.renderPolygon(),(!c||f)&&da.renderCallByParent(this.props,l))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,prevPoints:a.curPoints}:n.points!==a.curPoints?{curPoints:n.points}:null}},{key:"renderDotItem",value:function(n,a){var o;if($.isValidElement(n))o=$.cloneElement(n,a);else if(Pe(n))o=n(a);else{var l=a.key,c=kie(a,Rie);o=$.createElement(cf,rm({},c,{key:l,className:ke("recharts-radar-dot",typeof n!="boolean"?n.className:"")}))}return o}}])})(T.PureComponent);Fa(df,"displayName","Radar");Fa(df,"defaultProps",{angleAxisId:0,radiusAxisId:0,hide:!1,activeDot:!0,dot:!1,legendT
vendor: 126,148 bytes, lines 479-484
479ype:"rect",isAnimationActive:!ro.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Fa(df,"getComposedData",function(e){var t=e.radiusAxis,r=e.angleAxis,n=e.displayedData,a=e.dataKey,o=e.bandSize,l=r.cx,c=r.cy,f=!1,p=[],g=r.type!=="number"?o??0:0;n.forEach(function(y,b){var C=Rt(y,r.dataKey,b),x=Rt(y,a),w=r.scale(C)+g,j=Array.isArray(x)?o8(x):x,A=ze(j)?void 0:t.scale(j);Array.isArray(x)&&x.length>=2&&(f=!0),p.push(Or(Or({},et(l,c,A,w)),{},{name:C,value:x,cx:l,cy:c,radius:A,angle:w,payload:y}))});var m=[];return f&&p.forEach(function(y){if(Array.isArray(y.value)){var b=Mie(y.value),C=ze(b)?void 0:t.scale(b);m.push(Or(Or({},y),{},{radius:C},et(l,c,C,y.angle)))}else m.push(y)}),{points:p,isRange:f,baseLinePoints:m}});var L1,i4;function Uie(){if(i4)return L1;i4=1;var e=Math.ceil,t=Math.max;function r(n,a,o,l){for(var c=-1,f=t(e((a-n)/(o||1)),0),p=Array(f);f--;)p[l?f:++c]=n,n+=o;return p}return L1=r,L1}var H1,o4;function A8(){if(o4)return H1;o4=1;var e=FR(),t=1/0,r=17976931348623157e292;function n(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var o=a<0?-1:1;return o*r}return a===a?a:0}return H1=n,H1}var B1,s4;function Gie(){if(s4)return B1;s4=1;var e=Uie(),t=Xm(),r=A8();function n(a){return function(o,l,c){return c&&typeof c!="number"&&t(o,l,c)&&(l=c=void 0),o=r(o),l===void 0?(l=o,o=0):l=r(l),c=c===void 0?o<l?1:-1:r(c),e(o,l,c,a)}}return B1=n,B1}var q1,l4;function Wie(){if(l4)return q1;l4=1;var e=Gie(),t=e();return q1=t,q1}var Zie=Wie();const am=tt(Zie);function Hd(e){"@babel/helpers - typeof";return Hd=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},Hd(e)}function c4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function u4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?c4(Object(r),!0).forEach(function(n){D8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D8(e,t,r){return t=Kie(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kie(e){var t=Vie(e,"string");return Hd(t)=="symbol"?t:t+""}function Vie(e,t){if(Hd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Qie=["Webkit","Moz","O","ms"],Yie=function(t,r){var n=t.replace(/(\w)/,function(o){return o.toUpperCase()}),a=Qie.reduce(function(o,l){return u4(u4({},o),{},D8({},l+n,r))},{});return a[t]=r,a};function Xl(e){"@babel/helpers - typeof";return Xl=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},Xl(e)}function im(){return im=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},im.apply(this,arguments)}function d4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function F1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?d4(Object(r),!0).forEach(function(n){Jr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E8(n.key),n)}}function Jie(e,t,r){return t&&f4(e.prototype,t),r&&f4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function eoe(e,t,r){return t=om(t),toe(e,_8()?Reflect.construct(t,r||[],om(e).constructor):t.apply(e,r))}function toe(e,t){if(t&&(Xl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return roe(e)}function roe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_8=function(){return!!e})()}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},om(e)}function noe(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&&KS(e,t)}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},KS(e,t)}function Jr(e,t,r){return t=E8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E8(e){var t=aoe(e,"string");return Xl(t)=="symbol"?t:t+""}function aoe(e,t){if(Xl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Xl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ioe=function(t){var r=t.data,n=t.startIndex,a=t.endIndex,o=t.x,l=t.width,c=t.travellerWidth;if(!r||!r.length)return{};var f=r.length,p=qu().domain(am(0,f)).range([o,o+l-c]),g=p.domain().map(function(m){return p(m)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:p(n),endX:p(a),scale:p,scaleValues:g}},p4=function(t){return t.changedTouches&&!!t.changedTouches.length},Jl=(function(e){function t(r){var n;return Xie(this,t),n=eoe(this,t,[r]),Jr(n,"handleDrag",function(a){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(a):n.state.isSlideMoving&&n.handleSlideDrag(a)}),Jr(n,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&n.handleDrag(a.changedTouches[0])}),Jr(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=n.props,o=a.endIndex,l=a.onDragEnd,c=a.startIndex;l?.({endIndex:o,startIndex:c})}),n.detachDragEndListener()}),Jr(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Jr(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Jr(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Jr(n,"handleSlideDragStart",function(a){var o=p4(a)?a.changedTouches[0]:a;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return noe(t,e),Jie(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var a=n.startX,o=n.endX,l=this.state.scaleValues,c=this.props,f=c.gap,p=c.data,g=p.length-1,m=Math.min(a,o),y=Math.max(a,o),b=t.getIndexInRange(l,m),C=t.getIndexInRange(l,y);return{startIndex:b-b%f,endIndex:C===g?g:C-C%f}}},{key:"getTextOfTick",value:function(n){var a=this.props,o=a.data,l=a.tickFormatter,c=a.dataKey,f=Rt(o[n],c,n);return Pe(l)?l(f,n):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(n){var a=this.state,o=a.slideMoveStartX,l=a.startX,c=a.endX,f=this.props,p=f.x,g=f.width,m=f.travellerWidth,y=f.startIndex,b=f.endIndex,C=f.onChange,x=n.pageX-o;x>0?x=Math.min(x,p+g-m-c,p+g-m-l):x<0&&(x=Math.max(x,p-l,p-c));var w=this.getIndex({startX:l+x,endX:c+x});(w.startIndex!==y||w.endIndex!==b)&&C&&C(w),this.setState({startX:l+x,endX:c+x,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,a){var o=p4(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var a=this.state,o=a.brushMoveStartX,l=a.movingTravellerId,c=a.endX,f=a.startX,p=this.state[l],g=this.props,m=g.x,y=g.width,b=g.travellerWidth,C=g.onChange,x=g.gap,w=g.data,j={startX:this.state.startX,endX:this.state.endX},A=n.pageX-o;A>0?A=Math.min(A,m+y-b-p):A<0&&(A=Math.max(A,m-p)),j[l]=p+A;var _=this.getIndex(j),M=_.startIndex,N=_.endIndex,D=function(){var P=w.length-1;return l==="startX"&&(c>f?M%x===0:N%x===0)||c<f&&N===P||l==="endX"&&(c>f?N%x===0:M%x===0)||c>f&&N===P};this.setState(Jr(Jr({},l,p+A),"brushMoveStartX",n.pageX),function(){C&&D()&&C(_)})}},{key:"handleTravellerMoveKeyboard",value:function(n,a){var o=this,l=this.state,c=l.scaleValues,f=l.startX,p=l.endX,g=this.state[a],m=c.indexOf(g);if(m!==-1){var y=m+n;if(!(y===-1||y>=c.length)){var b=c[y];a==="startX"&&b>=p||a==="endX"&&b<=f||this.setState(Jr({},a,b),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,a=n.x,o=n.y,l=n.width,c=n.height,f=n.fill,p=n.stroke;return $.createElement("rect",{stroke:p,fill:f,x:a,y:o,width:l,height:c})}},{key:"renderPanorama",value:function(){var n=this.props,a=n.x,o=n.y,l=n.width,c=n.height,f=n.data,p=n.children,g=n.padding,m=T.Children.only(p);return m?$.cloneElement(m,{x:a,y:o,width:l,height:c,margin:g,compact:!0,data:f}):null}},{key:"renderTravellerLayer",value:function(n,a){var o,l,c=this,f=this.props,p=f.y,g=f.travellerWidth,m=f.height,y=f.traveller,b=f.ariaLabel,C=f.data,x=f.startIndex,w=f.endIndex,j=Math.max(n,this.props.x),A=F1(F1({},Ae(this.props,!1)),{},{x:j,y:p,width:g,height:m}),_=b||"Min value: ".concat((o=C[x])===null||o===void 0?void 0:o.name,", Max value: ").concat((l=C[w])===null||l===void 0?void 0:l.name);return $.createElement(Ke,{tabIndex:0,role:"slider","aria-label":_,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(N){["ArrowLeft","ArrowRight"].includes(N.key)&&(N.preventDefault(),N.stopPropagation(),c.handleTravellerMoveKeyboard(N.key==="ArrowRight"?1:-1,a))},onFocus:function(){c.setState({isTravellerFocused:!0})},onBlur:function(){c.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(y,A))}},{key:"renderSlide",value:function(n,a){var o=this.props,l=o.y,c=o.height,f=o.stroke,p=o.travellerWidth,g=Math.min(n,a)+p,m=Math.max(Math.abs(a-n)-p,0);return $.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:g,y:l,width:m,height:c})}},{key:"renderText",value:function(){var n=this.props,a=n.startIndex,o=n.endIndex,l=n.y,c=n.height,f=n.travellerWidth,p=n.stroke,g=this.state,m=g.startX,y=g.endX,b=5,C={pointerEvents:"none",fill:p};return $.createElement(Ke,{className:"recharts-brush-texts"},$.createElement(ls,im({textAnchor:"end",verticalAnchor:"middle",x:Math.min(m,y)-b,y:l+c/2},C),this.getTextOfTick(a)),$.createElement(ls,im({textAnchor:"start",verticalAnchor:"middle",x:Math.max(m,y)+f+b,y:l+c/2},C),this.getTextOfTick(o)))}},{key:"render",value:function(){var n=this.props,a=n.data,o=n.className,l=n.children,c=n.x,f=n.y,p=n.width,g=n.height,m=n.alwaysShowText,y=this.state,b=y.startX,C=y.endX,x=y.isTextActive,w=y.isSlideMoving,j=y.isTravellerMoving,A=y.isTravellerFocused;if(!a||!a.length||!pe(c)||!pe(f)||!pe(p)||!pe(g)||p<=0||g<=0)return null;var _=ke("recharts-brush",o),M=$.Children.count(l)===1,N=Yie("userSelect","none");return $.createElement(Ke,{className:_,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:N},this.renderBackground(),M&&this.renderPanorama(),this.renderSlide(b,C),this.renderTravellerLayer(b,"startX"),this.renderTravellerLayer(C,"endX"),(x||w||j||A||m)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var a=n.x,o=n.y,l=n.width,c=n.height,f=n.stroke,p=Math.floor(o+c/2)-1;return $.createElement($.Fragment,null,$.createElement("rect",{x:a,y:o,width:l,height:c,fill:f,stroke:"none"}),$.createElement("line",{x1:a+1,y1:p,x2:a+l-1,y2:p,fill:"none",stroke:"#fff"}),$.createElement("line",{x1:a+1,y1:p+2,x2:a+l-1,y2:p+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,a){var o;return $.isValidElement(n)?o=$.cloneElement(n,a):Pe(n)?o=n(a):o=t.renderDefaultTraveller(a),o}},{key:"getDerivedStateFromProps",value:function(n,a){var o=n.data,l=n.width,c=n.x,f=n.travellerWidth,p=n.updateId,g=n.startIndex,m=n.endIndex;if(o!==a.prevData||p!==a.prevUpdateId)return F1({prevData:o,prevTravellerWidth:f,prevUpdateId:p,prevX:c,prevWidth:l},o&&o.length?ioe({data:o,width:l,x:c,travellerWidth:f,startIndex:g,endIndex:m}):{scale:null,scaleValues:null});if(a.scale&&(l!==a.prevWidth||c!==a.prevX||f!==a.prevTravellerWidth)){a.scale.range([c,c+l-f]);var y=a.scale.domain().map(function(b){return a.scale(b)});return{prevData:o,prevTravellerWidth:f,prevUpdateId:p,prevX:c,prevWidth:l,startX:a.scale(n.startIndex),endX:a.scale(n.endIndex),scaleValues:y}}return null}},{key:"getIndexInRange",value:function(n,a){for(var o=n.length,l=0,c=o-1;c-l>1;){var f=Math.floor((l+c)/2);n[f]>a?c=f:l=f}return a>=n[c]?c:l}}])})(T.PureComponent);Jr(Jl,"displayName","Brush");Jr(Jl,"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 U1,h4;function ooe(){if(h4)return U1;h4=1;var e=gC();function t(r,n){var a;return e(r,function(o,l,c){return a=n(o,l,c),!a}),!!a}return U1=t,U1}var G1,m4;function soe(){if(m4)return G1;m4=1;var e=bR(),t=xa(),r=ooe(),n=Fr(),a=Xm();function o(l,c,f){var p=n(l)?e:r;return f&&a(l,c,f)&&(c=void 0),p(l,t(c,3))}return G1=o,G1}var loe=soe();const coe=tt(loe);var fa=function(t,r){var n=t.alwaysShow,a=t.ifOverflow;return n&&(a="extendDomain"),a===r},W1,g4;function uoe(){if(g4)return W1;g4=1;var e=$R();function t(r,n,a){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:a,writable:!0}):r[n]=a}return W1=t,W1}var Z1,y4;function doe(){if(y4)return Z1;y4=1;var e=uoe(),t=IR(),r=xa();function n(a,o){var l={};return o=r(o,3),t(a,function(c,f,p){e(l,f,o(c,f,p))}),l}return Z1=n,Z1}var foe=doe();const poe=tt(foe);var K1,v4;function hoe(){if(v4)return K1;v4=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(!r(t[n],n,t))return!1;return!0}return K1=e,K1}var V1,x4;function moe(){if(x4)return V1;x4=1;var e=gC();function t(r,n){var a=!0;return e(r,function(o,l,c){return a=!!n(o,l,c),a}),a}return V1=t,V1}var Q1,b4;function goe(){if(b4)return Q1;b4=1;var e=hoe(),t=moe(),r=xa(),n=Fr(),a=Xm();function o(l,c,f){var p=n(l)?e:t;return f&&a(l,c,f)&&(c=void 0),p(l,r(c,3))}return Q1=o,Q1}var yoe=goe();const T8=tt(yoe);var voe=["x","y"];function Bd(e){"@babel/helpers - typeof";return Bd=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},Bd(e)}function VS(){return VS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},VS.apply(this,arguments)}function S4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function _u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?S4(Object(r),!0).forEach(function(n){xoe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function xoe(e,t,r){return t=boe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function boe(e){var t=Soe(e,"string");return Bd(t)=="symbol"?t:t+""}function Soe(e,t){if(Bd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Bd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function woe(e,t){if(e==null)return{};var r=Coe(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Coe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function joe(e,t){var r=e.x,n=e.y,a=woe(e,voe),o="".concat(r),l=parseInt(o,10),c="".concat(n),f=parseInt(c,10),p="".concat(t.height||a.height),g=parseInt(p,10),m="".concat(t.width||a.width),y=parseInt(m,10);return _u(_u(_u(_u(_u({},t),a),l?{x:l}:{}),f?{y:f}:{}),{},{height:g,width:y,name:t.name,radius:t.radius})}function w4(e){return $.createElement(w8,VS({shapeType:"rectangle",propTransformer:joe,activeClassName:"recharts-active-bar"},e))}var Ooe=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,a){if(typeof t=="number")return t;var o=pe(n)||NW(n);return o?t(n,a):(o||us(),r)}},Noe=["value","background"],P8;function ec(e){"@babel/helpers - typeof";return ec=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},ec(e)}function Aoe(e,t){if(e==null)return{};var r=Doe(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Doe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function sm(){return sm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sm.apply(this,arguments)}function C4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?C4(Object(r),!0).forEach(function(n){Fi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,R8(n.key),n)}}function Eoe(e,t,r){return t&&j4(e.prototype,t),r&&j4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Toe(e,t,r){return t=lm(t),Poe(e,M8()?Reflect.construct(t,r||[],lm(e).constructor):t.apply(e,r))}function Poe(e,t){if(t&&(ec(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Moe(e)}function Moe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(M8=function(){return!!e})()}function lm(e){return lm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lm(e)}function Roe(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&&QS(e,t)}function QS(e,t){return QS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},QS(e,t)}function Fi(e,t,r){return t=R8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R8(e){var t=koe(e,"string");return ec(t)=="symbol"?t:t+""}function koe(e,t){if(ec(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ec(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Dn=(function(e){function t(){var r;_oe(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r=Toe(this,t,[].concat(a)),Fi(r,"state",{isAnimationFinished:!1}),Fi(r,"id",yc("recharts-bar-")),Fi(r,"handleAnimationEnd",function(){var l=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),l&&l()}),Fi(r,"handleAnimationStart",function(){var l=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),l&&l()}),r}return Roe(t,e),Eoe(t,[{key:"renderRectanglesStatically",value:function(n){var a=this,o=this.props,l=o.shape,c=o.dataKey,f=o.activeIndex,p=o.activeBar,g=Ae(this.props,!1);return n&&n.map(function(m,y){var b=y===f,C=b?p:l,x=Bt(Bt(Bt({},g),m),{},{isActive:b,option:C,index:y,dataKey:c,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return $.createElement(Ke,sm({className:"recharts-bar-rectangle"},ss(a.props,m,y),{key:"rectangle-".concat(m?.x,"-").concat(m?.y,"-").concat(m?.value,"-").concat(y)}),$.createElement(w4,x))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,a=this.props,o=a.data,l=a.layout,c=a.isAnimationActive,f=a.animationBegin,p=a.animationDuration,g=a.animationEasing,m=a.animationId,y=this.state.prevData;return $.createElement(Un,{begin:f,duration:p,isActive:c,easing:g,from:{t:0},to:{t:1},key:"bar-".concat(m),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var C=b.t,x=o.map(function(w,j){var A=y&&y[j];if(A){var _=fr(A.x,w.x),M=fr(A.y,w.y),N=fr(A.width,w.width),D=fr(A.height,w.height);return Bt(Bt({},w),{},{x:_(C),y:M(C),width:N(C),height:D(C)})}if(l==="horizontal"){var O=fr(0,w.height),P=O(C);return Bt(Bt({},w),{},{y:w.y+w.height-P,height:P})}var R=fr(0,w.width),F=R(C);return Bt(Bt({},w),{},{width:F})});return $.createElement(Ke,null,n.renderRectanglesStatically(x))})}},{key:"renderRectangles",value:function(){var n=this.props,a=n.data,o=n.isAnimationActive,l=this.state.prevData;return o&&a&&a.length&&(!l||!bc(l,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var n=this,a=this.props,o=a.data,l=a.dataKey,c=a.activeIndex,f=Ae(this.props.background,!1);return o.map(function(p,g){p.value;var m=p.background,y=Aoe(p,Noe);if(!m)return null;var b=Bt(Bt(Bt(Bt(Bt({},y),{},{fill:"#eee"},m),f),ss(n.props,p,g)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:l,index:g,className:"recharts-bar-background-rectangle"});return $.createElement(w4,sm({key:"background-bar-".concat(g),option:n.props.background,isActive:g===c},b))})}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,l=o.data,c=o.xAxis,f=o.yAxis,p=o.layout,g=o.children,m=sn(g,lf);if(!m)return null;var y=p==="vertical"?l[0].height/2:l[0].width/2,b=function(w,j){var A=Array.isArray(w.value)?w.value[1]:w.value;return{x:w.x,y:w.y,value:A,errorVal:Rt(w,j)}},C={clipPath:n?"url(#clipPath-".concat(a,")"):null};return $.createElement(Ke,C,m.map(function(x){return $.cloneElement(x,{key:"error-bar-".concat(a,"-").concat(x.props.dataKey),data:l,xAxis:c,yAxis:f,layout:p,offset:y,dataPointFormatter:b})}))}},{key:"render",value:function(){var n=this.props,a=n.hide,o=n.data,l=n.className,c=n.xAxis,f=n.yAxis,p=n.left,g=n.top,m=n.width,y=n.height,b=n.isAnimationActive,C=n.background,x=n.id;if(a||!o||!o.length)return null;var w=this.state.isAnimationFinished,j=ke("recharts-bar",l),A=c&&c.allowDataOverflow,_=f&&f.allowDataOverflow,M=A||_,N=ze(x)?this.id:x;return $.createElement(Ke,{className:j},A||_?$.createElement("defs",null,$.createElement("clipPath",{id:"clipPath-".concat(N)},$.createElement("rect",{x:A?p:p-m/2,y:_?g:g-y/2,width:A?m:m*2,height:_?y:y*2}))):null,$.createElement(Ke,{className:"recharts-bar-rectangles",clipPath:M?"url(#clipPath-".concat(N,")"):null},C?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(M,N),(!b||w)&&da.renderCallByParent(this.props,o))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:a.curData}:n.data!==a.curData?{curData:n.data}:null}}])})(T.PureComponent);P8=Dn;Fi(Dn,"displayName","Bar");Fi(Dn,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!ro.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Fi(Dn,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,a=e.bandSize,o=e.xAxis,l=e.yAxis,c=e.xAxisTicks,f=e.yAxisTicks,p=e.stackedData,g=e.dataStartIndex,m=e.displayedData,y=e.offset,b=Bee(n,r);if(!b)return null;var C=t.layout,x=r.type.defaultProps,w=x!==void 0?Bt(Bt({},x),r.props):r.props,j=w.dataKey,A=w.children,_=w.minPointSize,M=C==="horizontal"?l:o,N=p?M.scale.domain():null,D=Kee({numericAxis:M}),O=sn(A,no),P=m.map(function(R,F){var I,L,G,W,q,k;p?I=qee(p[g+F],N):(I=Rt(R,j),Array.isArray(I)||(I=[D,I]));var H=Ooe(_,P8.defaultProps.minPointSize)(I[1],F);if(C==="horizontal"){var U,Y=[l.scale(I[0]),l.scale(I[1])],ae=Y[0],B=Y[1];L=UT({axis:o,ticks:c,bandSize:a,offset:b.offset,entry:R,index:F}),G=(U=B??ae)!==null&&U!==void 0?U:void 0,W=b.size;var K=ae-B;if(q=Number.isNaN(K)?0:K,k={x:L,y:l.y,width:W,height:l.height},Math.abs(H)>0&&Math.abs(q)<Math.abs(H)){var V=Ar(q||H)*(Math.abs(H)-Math.abs(q));G-=V,q+=V}}else{var J=[o.scale(I[0]),o.scale(I[1])],ce=J[0],he=J[1];if(L=ce,G=UT({axis:l,ticks:f,bandSize:a,offset:b.offset,entry:R,index:F}),W=he-ce,q=b.size,k={x:o.x,y:G,width:o.width,height:q},Math.abs(H)>0&&Math.abs(W)<Math.abs(H)){var de=Ar(W||H)*(Math.abs(H)-Math.abs(W));W+=de}}return Bt(Bt(Bt({},R),{},{x:L,y:G,width:W,height:q,value:p?I:I[1],payload:R,background:k},O&&O[F]&&O[F].props),{},{tooltipPayload:[e8(r,R)],tooltipPosition:{x:L+W/2,y:G+q/2}})});return Bt({data:P,layout:C},y)});function qd(e){"@babel/helpers - typeof";return qd=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},qd(e)}function Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k8(n.key),n)}}function zoe(e,t,r){return t&&O4(e.prototype,t),r&&O4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function N4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?N4(Object(r),!0).forEach(function(n){hg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hg(e,t,r){return t=k8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k8(e){var t=$oe(e,"string");return qd(t)=="symbol"?t:t+""}function $oe(e,t){if(qd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var I8=function(t,r,n,a,o){var l=t.width,c=t.height,f=t.layout,p=t.children,g=Object.keys(r),m={left:n.left,leftMirror:n.left,right:l-n.right,rightMirror:l-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},y=!!en(p,Dn);return g.reduce(function(b,C){var x=r[C],w=x.orientation,j=x.domain,A=x.padding,_=A===void 0?{}:A,M=x.mirror,N=x.reversed,D="".concat(w).concat(M?"Mirror":""),O,P,R,F,I;if(x.type==="number"&&(x.padding==="gap"||x.padding==="no-gap")){var L=j[1]-j[0],G=1/0,W=x.categoricalDomain.sort(_W);if(W.forEach(function(J,ce){ce>0&&(G=Math.min((J||0)-(W[ce-1]||0),G))}),Number.isFinite(G)){var q=G/L,k=x.layout==="vertical"?n.height:n.width;if(x.padding==="gap"&&(O=q*k/2),x.padding==="no-gap"){var H=Dr(t.barCategoryGap,q*k),U=q*k/2;O=U-H-(U-H)/k*H}}}a==="xAxis"?P=[n.left+(_.left||0)+(O||0),n.left+n.width-(_.right||0)-(O||0)]:a==="yAxis"?P=f==="horizontal"?[n.top+n.height-(_.bottom||0),n.top+(_.top||0)]:[n.top+(_.top||0)+(O||0),n.top+n.height-(_.bottom||0)-(O||0)]:P=x.range,N&&(P=[P[1],P[0]]);var Y=Qk(x,o,y),ae=Y.scale,B=Y.realScaleType;ae.domain(j).range(P),Yk(ae);var K=Xk(ae,$n($n({},x),{},{realScaleType:B}));a==="xAxis"?(I=w==="top"&&!M||w==="bottom"&&M,R=n.left,F=m[D]-I*x.height):a==="yAxis"&&(I=w==="left"&&!M||w==="right"&&M,R=m[D]-I*x.width,F=n.top);var V=$n($n($n({},x),K),{},{realScaleType:B,x:R,y:F,scale:ae,width:a==="xAxis"?n.width:x.width,height:a==="yAxis"?n.height:x.height});return V.bandSize=Fh(V,K),!x.hide&&a==="xAxis"?m[D]+=(I?-1:1)*V.height:x.hide||(m[D]+=(I?-1:1)*V.width),$n($n({},b),{},hg({},C,V))},{})},z8=function(t,r){var n=t.x,a=t.y,o=r.x,l=r.y;return{x:Math.min(n,o),y:Math.min(a,l),width:Math.abs(o-n),height:Math.abs(l-a)}},Loe=function(t){var r=t.x1,n=t.y1,a=t.x2,o=t.y2;return z8({x:r,y:n},{x:a,y:o})},$8=(function(){function e(t){Ioe(this,e),this.scale=t}return zoe(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(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.bandAware,o=n.position;if(r!==void 0){if(o)switch(o){case"start":return this.scale(r);case"middle":{var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+l}case"end":{var c=this.bandwidth?this.bandwidth():0;return this.scale(r)+c}default:return this.scale(r)}if(a){var f=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+f}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),a=n[0],o=n[n.length-1];return a<=o?r>=a&&r<=o:r>=o&&r<=a}}],[{key:"create",value:function(r){return new e(r)}}])})();hg($8,"EPS",1e-4);var GC=function(t){var r=Object.keys(t).reduce(function(n,a){return $n($n({},n),{},hg({},a,$8.create(t[a])))},{});return $n($n({},r),{},{apply:function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.bandAware,c=o.position;return poe(a,function(f,p){return r[p].apply(f,{bandAware:l,position:c})})},isInRange:function(a){return T8(a,function(o,l){return r[l].isInRange(o)})}})};function Hoe(e){return(e%180+180)%180}var Boe=function(t){var r=t.width,n=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=Hoe(a),l=o*Math.PI/180,c=Math.atan(n/r),f=l>c&&l<Math.PI-c?n/Math.sin(l):r/Math.cos(l);return Math.abs(f)},Y1,A4;function qoe(){if(A4)return Y1;A4=1;var e=xa(),t=rf(),r=Qm();function n(a){return function(o,l,c){var f=Object(o);if(!t(o)){var p=e(l,3);o=r(o),l=function(m){return p(f[m],m,f)}}var g=a(o,l,c);return g>-1?f[p?o[g]:g]:void 0}}return Y1=n,Y1}var X1,D4;function Foe(){if(D4)return X1;D4=1;var e=A8();function t(r){var n=e(r),a=n%1;return n===n?a?n-a:n:0}return X1=t,X1}var J1,_4;function Uoe(){if(_4)return J1;_4=1;var e=TR(),t=xa(),r=Foe(),n=Math.max;function a(o,l,c){var f=o==null?0:o.length;if(!f)return-1;var p=c==null?0:r(c);return p<0&&(p=n(f+p,0)),e(o,t(l,3),p)}return J1=a,J1}var e2,E4;function Goe(){if(E4)return e2;E4=1;var e=qoe(),t=Uoe(),r=e(t);return e2=r,e2}var Woe=Goe();const Zoe=tt(Woe);var Koe=Z6();const Voe=tt(Koe);var Qoe=Voe(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("")}),WC=T.createContext(void 0),ZC=T.createContext(void 0),L8=T.createContext(void 0),H8=T.createContext({}),B8=T.createContext(void 0),q8=T.createContext(0),F8=T.createContext(0),T4=function(t){var r=t.state,n=r.xAxisMap,a=r.yAxisMap,o=r.offset,l=t.clipPathId,c=t.children,f=t.width,p=t.height,g=Qoe(o);return $.createElement(WC.Provider,{value:n},$.createElement(ZC.Provider,{value:a},$.createElement(H8.Provider,{value:o},$.createElement(L8.Provider,{value:g},$.createElement(B8.Provider,{value:l},$.createElement(q8.Provider,{value:p},$.createElement(F8.Provider,{value:f},c)))))))},Yoe=function(){return T.useContext(B8)},U8=function(t){var r=T.useContext(WC);r==null&&us();var n=r[t];return n==null&&us(),n},Xoe=function(){var t=T.useContext(WC);return Bi(t)},Joe=function(){var t=T.useContext(ZC),r=Zoe(t,function(n){return T8(n.domain,Number.isFinite)});return r||Bi(t)},G8=function(t){var r=T.useContext(ZC);r==null&&us();var n=r[t];return n==null&&us(),n},ese=function(){var t=T.useContext(L8);return t},tse=function(){return T.useContext(H8)},KC=function(){return T.useContext(F8)},VC=function(){return T.useContext(q8)};function tc(e){"@babel/helpers - typeof";return tc=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},tc(e)}function rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nse(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Z8(n.key),n)}}function ase(e,t,r){return t&&nse(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ise(e,t,r){return t=cm(t),ose(e,W8()?Reflect.construct(t,r||[],cm(e).constructor):t.apply(e,r))}function ose(e,t){if(t&&(tc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return sse(e)}function sse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W8=function(){return!!e})()}function cm(e){return cm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},cm(e)}function lse(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&&YS(e,t)}function YS(e,t){return YS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},YS(e,t)}function P4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function M4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?P4(Object(r),!0).forEach(function(n){QC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QC(e,t,r){return t=Z8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z8(e){var t=cse(e,"string");return tc(t)=="symbol"?t:t+""}function cse(e,t){if(tc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(tc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function use(e,t){return hse(e)||pse(e,t)||fse(e,t)||dse()}function dse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 480In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fse(e,t){if(e){if(typeof e=="string")return R4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R4(e,t)}}function R4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function pse(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function hse(e){if(Array.isArray(e))return e}function XS(){return XS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},XS.apply(this,arguments)}var mse=function(t,r){var n;return $.isValidElement(t)?n=$.cloneElement(t,r):Pe(t)?n=t(r):n=$.createElement("line",XS({},r,{className:"recharts-reference-line-line"})),n},gse=function(t,r,n,a,o,l,c,f,p){var g=o.x,m=o.y,y=o.width,b=o.height;if(n){var C=p.y,x=t.y.apply(C,{position:l});if(fa(p,"discard")&&!t.y.isInRange(x))return null;var w=[{x:g+y,y:x},{x:g,y:x}];return f==="left"?w.reverse():w}if(r){var j=p.x,A=t.x.apply(j,{position:l});if(fa(p,"discard")&&!t.x.isInRange(A))return null;var _=[{x:A,y:m+b},{x:A,y:m}];return c==="top"?_.reverse():_}if(a){var M=p.segment,N=M.map(function(D){return t.apply(D,{position:l})});return fa(p,"discard")&&coe(N,function(D){return!t.isInRange(D)})?null:N}return null};function yse(e){var t=e.x,r=e.y,n=e.segment,a=e.xAxisId,o=e.yAxisId,l=e.shape,c=e.className,f=e.alwaysShow,p=Yoe(),g=U8(a),m=G8(o),y=ese();if(!p||!y)return null;Bn(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=GC({x:g.scale,y:m.scale}),C=Kt(t),x=Kt(r),w=n&&n.length===2,j=gse(b,C,x,w,y,e.position,g.orientation,m.orientation,e);if(!j)return null;var A=use(j,2),_=A[0],M=_.x,N=_.y,D=A[1],O=D.x,P=D.y,R=fa(e,"hidden")?"url(#".concat(p,")"):void 0,F=M4(M4({clipPath:R},Ae(e,!0)),{},{x1:M,y1:N,x2:O,y2:P});return $.createElement(Ke,{className:ke("recharts-reference-line",c)},mse(l,F),rr.renderCallByParent(e,Loe({x1:M,y1:N,x2:O,y2:P})))}var YC=(function(e){function t(){return rse(this,t),ise(this,t,arguments)}return lse(t,e),ase(t,[{key:"render",value:function(){return $.createElement(yse,this.props)}}])})($.Component);QC(YC,"displayName","ReferenceLine");QC(YC,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function JS(){return JS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},JS.apply(this,arguments)}function rc(e){"@babel/helpers - typeof";return rc=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},rc(e)}function k4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function I4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k4(Object(r),!0).forEach(function(n){mg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function vse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xse(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,V8(n.key),n)}}function bse(e,t,r){return t&&xse(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Sse(e,t,r){return t=um(t),wse(e,K8()?Reflect.construct(t,r||[],um(e).constructor):t.apply(e,r))}function wse(e,t){if(t&&(rc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cse(e)}function Cse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K8=function(){return!!e})()}function um(e){return um=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},um(e)}function jse(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&&ew(e,t)}function ew(e,t){return ew=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ew(e,t)}function mg(e,t,r){return t=V8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V8(e){var t=Ose(e,"string");return rc(t)=="symbol"?t:t+""}function Ose(e,t){if(rc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(rc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Nse=function(t){var r=t.x,n=t.y,a=t.xAxis,o=t.yAxis,l=GC({x:a.scale,y:o.scale}),c=l.apply({x:r,y:n},{bandAware:!0});return fa(t,"discard")&&!l.isInRange(c)?null:c},gg=(function(e){function t(){return vse(this,t),Sse(this,t,arguments)}return jse(t,e),bse(t,[{key:"render",value:function(){var n=this.props,a=n.x,o=n.y,l=n.r,c=n.alwaysShow,f=n.clipPathId,p=Kt(a),g=Kt(o);if(Bn(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!p||!g)return null;var m=Nse(this.props);if(!m)return null;var y=m.x,b=m.y,C=this.props,x=C.shape,w=C.className,j=fa(this.props,"hidden")?"url(#".concat(f,")"):void 0,A=I4(I4({clipPath:j},Ae(this.props,!0)),{},{cx:y,cy:b});return $.createElement(Ke,{className:ke("recharts-reference-dot",w)},t.renderDot(x,A),rr.renderCallByParent(this.props,{x:y-l,y:b-l,width:2*l,height:2*l}))}}])})($.Component);mg(gg,"displayName","ReferenceDot");mg(gg,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});mg(gg,"renderDot",function(e,t){var r;return $.isValidElement(e)?r=$.cloneElement(e,t):Pe(e)?r=e(t):r=$.createElement(cf,JS({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function tw(){return tw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tw.apply(this,arguments)}function nc(e){"@babel/helpers - typeof";return nc=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},nc(e)}function z4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?z4(Object(r),!0).forEach(function(n){yg(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dse(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Y8(n.key),n)}}function _se(e,t,r){return t&&Dse(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ese(e,t,r){return t=dm(t),Tse(e,Q8()?Reflect.construct(t,r||[],dm(e).constructor):t.apply(e,r))}function Tse(e,t){if(t&&(nc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Pse(e)}function Pse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Q8=function(){return!!e})()}function dm(e){return dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},dm(e)}function Mse(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&&rw(e,t)}function rw(e,t){return rw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},rw(e,t)}function yg(e,t,r){return t=Y8(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y8(e){var t=Rse(e,"string");return nc(t)=="symbol"?t:t+""}function Rse(e,t){if(nc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(nc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var kse=function(t,r,n,a,o){var l=o.x1,c=o.x2,f=o.y1,p=o.y2,g=o.xAxis,m=o.yAxis;if(!g||!m)return null;var y=GC({x:g.scale,y:m.scale}),b={x:t?y.x.apply(l,{position:"start"}):y.x.rangeMin,y:n?y.y.apply(f,{position:"start"}):y.y.rangeMin},C={x:r?y.x.apply(c,{position:"end"}):y.x.rangeMax,y:a?y.y.apply(p,{position:"end"}):y.y.rangeMax};return fa(o,"discard")&&(!y.isInRange(b)||!y.isInRange(C))?null:z8(b,C)},vg=(function(e){function t(){return Ase(this,t),Ese(this,t,arguments)}return Mse(t,e),_se(t,[{key:"render",value:function(){var n=this.props,a=n.x1,o=n.x2,l=n.y1,c=n.y2,f=n.className,p=n.alwaysShow,g=n.clipPathId;Bn(p===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=Kt(a),y=Kt(o),b=Kt(l),C=Kt(c),x=this.props.shape;if(!m&&!y&&!b&&!C&&!x)return null;var w=kse(m,y,b,C,this.props);if(!w&&!x)return null;var j=fa(this.props,"hidden")?"url(#".concat(g,")"):void 0;return $.createElement(Ke,{className:ke("recharts-reference-area",f)},t.renderRect(x,$4($4({clipPath:j},Ae(this.props,!0)),w)),rr.renderCallByParent(this.props,w))}}])})($.Component);yg(vg,"displayName","ReferenceArea");yg(vg,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});yg(vg,"renderRect",function(e,t){var r;return $.isValidElement(e)?r=$.cloneElement(e,t):Pe(e)?r=e(t):r=$.createElement(UC,tw({},t,{className:"recharts-reference-area-rect"})),r});function X8(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],a=0;a<e.length;a+=t)n.push(e[a]);return n}function Ise(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return Boe(n,r)}function zse(e,t,r){var n=r==="width",a=e.x,o=e.y,l=e.width,c=e.height;return t===1?{start:n?a:o,end:n?a+l:o+c}:{start:n?a+l:o+c,end:n?a:o}}function fm(e,t,r,n,a){if(e*t<e*n||e*t>e*a)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-a)<=0}function $se(e,t){return X8(e,t+1)}function Lse(e,t,r,n,a){for(var o=(n||[]).slice(),l=t.start,c=t.end,f=0,p=1,g=l,m=function(){var C=n?.[f];if(C===void 0)return{v:X8(n,p)};var x=f,w,j=function(){return w===void 0&&(w=r(C,x)),w},A=C.coordinate,_=f===0||fm(e,A,j,g,c);_||(f=0,g=l,p+=1),_&&(g=A+e*(j()/2+a),f+=p)},y;p<=o.length;)if(y=m(),y)return y.v;return[]}function Fd(e){"@babel/helpers - typeof";return Fd=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},Fd(e)}function L4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function yr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?L4(Object(r),!0).forEach(function(n){Hse(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hse(e,t,r){return t=Bse(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bse(e){var t=qse(e,"string");return Fd(t)=="symbol"?t:t+""}function qse(e,t){if(Fd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fse(e,t,r,n,a){for(var o=(n||[]).slice(),l=o.length,c=t.start,f=t.end,p=function(y){var b=o[y],C,x=function(){return C===void 0&&(C=r(b,y)),C};if(y===l-1){var w=e*(b.coordinate+e*x()/2-f);o[y]=b=yr(yr({},b),{},{tickCoord:w>0?b.coordinate-w*e:b.coordinate})}else o[y]=b=yr(yr({},b),{},{tickCoord:b.coordinate});var j=fm(e,b.tickCoord,x,c,f);j&&(f=b.tickCoord-e*(x()/2+a),o[y]=yr(yr({},b),{},{isShow:!0}))},g=l-1;g>=0;g--)p(g);return o}function Use(e,t,r,n,a,o){var l=(n||[]).slice(),c=l.length,f=t.start,p=t.end;if(o){var g=n[c-1],m=r(g,c-1),y=e*(g.coordinate+e*m/2-p);l[c-1]=g=yr(yr({},g),{},{tickCoord:y>0?g.coordinate-y*e:g.coordinate});var b=fm(e,g.tickCoord,function(){return m},f,p);b&&(p=g.tickCoord-e*(m/2+a),l[c-1]=yr(yr({},g),{},{isShow:!0}))}for(var C=o?c-1:c,x=function(A){var _=l[A],M,N=function(){return M===void 0&&(M=r(_,A)),M};if(A===0){var D=e*(_.coordinate-e*N()/2-f);l[A]=_=yr(yr({},_),{},{tickCoord:D<0?_.coordinate-D*e:_.coordinate})}else l[A]=_=yr(yr({},_),{},{tickCoord:_.coordinate});var O=fm(e,_.tickCoord,N,f,p);O&&(f=_.tickCoord+e*(N()/2+a),l[A]=yr(yr({},_),{},{isShow:!0}))},w=0;w<C;w++)x(w);return l}function XC(e,t,r){var n=e.tick,a=e.ticks,o=e.viewBox,l=e.minTickGap,c=e.orientation,f=e.interval,p=e.tickFormatter,g=e.unit,m=e.angle;if(!a||!a.length||!n)return[];if(pe(f)||ro.isSsr)return $se(a,typeof f=="number"&&pe(f)?f:0);var y=[],b=c==="top"||c==="bottom"?"width":"height",C=g&&b==="width"?Bu(g,{fontSize:t,letterSpacing:r}):{width:0,height:0},x=function(_,M){var N=Pe(p)?p(_.value,M):_.value;return b==="width"?Ise(Bu(N,{fontSize:t,letterSpacing:r}),C,m):Bu(N,{fontSize:t,letterSpacing:r})[b]},w=a.length>=2?Ar(a[1].coordinate-a[0].coordinate):1,j=zse(o,w,b);return f==="equidistantPreserveStart"?Lse(w,j,x,a,l):(f==="preserveStart"||f==="preserveStartEnd"?y=Use(w,j,x,a,l,f==="preserveStartEnd"):y=Fse(w,j,x,a,l),y.filter(function(A){return A.isShow}))}var Gse=["viewBox"],Wse=["viewBox"],Zse=["ticks"];function ac(e){"@babel/helpers - typeof";return ac=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},ac(e)}function Nl(){return Nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Nl.apply(this,arguments)}function H4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Wt(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?H4(Object(r),!0).forEach(function(n){JC(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function t2(e,t){if(e==null)return{};var r=Kse(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Kse(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Vse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,eI(n.key),n)}}function Qse(e,t,r){return t&&B4(e.prototype,t),r&&B4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yse(e,t,r){return t=pm(t),Xse(e,J8()?Reflect.construct(t,r||[],pm(e).constructor):t.apply(e,r))}function Xse(e,t){if(t&&(ac(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jse(e)}function Jse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(J8=function(){return!!e})()}function pm(e){return pm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},pm(e)}function ele(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&&nw(e,t)}function nw(e,t){return nw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},nw(e,t)}function JC(e,t,r){return t=eI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eI(e){var t=tle(e,"string");return ac(t)=="symbol"?t:t+""}function tle(e,t){if(ac(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ac(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var jc=(function(e){function t(r){var n;return Vse(this,t),n=Yse(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return ele(t,e),Qse(t,[{key:"shouldComponentUpdate",value:function(n,a){var o=n.viewBox,l=t2(n,Gse),c=this.props,f=c.viewBox,p=t2(c,Wse);return!El(o,f)||!El(l,p)||!El(a,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var a=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var a=this.props,o=a.x,l=a.y,c=a.width,f=a.height,p=a.orientation,g=a.tickSize,m=a.mirror,y=a.tickMargin,b,C,x,w,j,A,_=m?-1:1,M=n.tickSize||g,N=pe(n.tickCoord)?n.tickCoord:n.coordinate;switch(p){case"top":b=C=n.coordinate,w=l+ +!m*f,x=w-_*M,A=x-_*y,j=N;break;case"left":x=w=n.coordinate,C=o+ +!m*c,b=C-_*M,j=b-_*y,A=N;break;case"right":x=w=n.coordinate,C=o+ +m*c,b=C+_*M,j=b+_*y,A=N;break;default:b=C=n.coordinate,w=l+ +m*f,x=w+_*M,A=x+_*y,j=N;break}return{line:{x1:b,y1:x,x2:C,y2:w},tick:{x:j,y:A}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,a=n.orientation,o=n.mirror,l;switch(a){case"left":l=o?"start":"end";break;case"right":l=o?"end":"start";break;default:l="middle";break}return l}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,a=n.orientation,o=n.mirror,l="end";switch(a){case"left":case"right":l="middle";break;case"top":l=o?"start":"end";break;default:l=o?"end":"start";break}return l}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.x,o=n.y,l=n.width,c=n.height,f=n.orientation,p=n.mirror,g=n.axisLine,m=Wt(Wt(Wt({},Ae(this.props,!1)),Ae(g,!1)),{},{fill:"none"});if(f==="top"||f==="bottom"){var y=+(f==="top"&&!p||f==="bottom"&&p);m=Wt(Wt({},m),{},{x1:a,y1:o+y*c,x2:a+l,y2:o+y*c})}else{var b=+(f==="left"&&!p||f==="right"&&p);m=Wt(Wt({},m),{},{x1:a+b*l,y1:o,x2:a+b*l,y2:o+c})}return $.createElement("line",Nl({},m,{className:ke("recharts-cartesian-axis-line",on(g,"className"))}))}},{key:"renderTicks",value:function(n,a,o){var l=this,c=this.props,f=c.tickLine,p=c.stroke,g=c.tick,m=c.tickFormatter,y=c.unit,b=XC(Wt(Wt({},this.props),{},{ticks:n}),a,o),C=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),w=Ae(this.props,!1),j=Ae(g,!1),A=Wt(Wt({},w),{},{fill:"none"},Ae(f,!1)),_=b.map(function(M,N){var D=l.getTickLineCoord(M),O=D.line,P=D.tick,R=Wt(Wt(Wt(Wt({textAnchor:C,verticalAnchor:x},w),{},{stroke:"none",fill:p},j),P),{},{index:N,payload:M,visibleTicksCount:b.length,tickFormatter:m});return $.createElement(Ke,Nl({className:"recharts-cartesian-axis-tick",key:"tick-".concat(M.value,"-").concat(M.coordinate,"-").concat(M.tickCoord)},ss(l.props,M,N)),f&&$.createElement("line",Nl({},A,O,{className:ke("recharts-cartesian-axis-tick-line",on(f,"className"))})),g&&t.renderTickItem(g,R,"".concat(Pe(m)?m(M.value,N):M.value).concat(y||"")))});return $.createElement("g",{className:"recharts-cartesian-axis-ticks"},_)}},{key:"render",value:function(){var n=this,a=this.props,o=a.axisLine,l=a.width,c=a.height,f=a.ticksGenerator,p=a.className,g=a.hide;if(g)return null;var m=this.props,y=m.ticks,b=t2(m,Zse),C=y;return Pe(f)&&(C=y&&y.length>0?f(this.props):f(b)),l<=0||c<=0||!C||!C.length?null:$.createElement(Ke,{className:ke("recharts-cartesian-axis",p),ref:function(w){n.layerReference=w}},o&&this.renderAxisLine(),this.renderTicks(C,this.state.fontSize,this.state.letterSpacing),rr.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,a,o){var l,c=ke(a.className,"recharts-cartesian-axis-tick-value");return $.isValidElement(n)?l=$.cloneElement(n,Wt(Wt({},a),{},{className:c})):Pe(n)?l=n(Wt(Wt({},a),{},{className:c})):l=$.createElement(ls,Nl({},a,{className:"recharts-cartesian-axis-tick-value"}),o),l}}])})(T.Component);JC(jc,"displayName","CartesianAxis");JC(jc,"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 rle=["x1","y1","x2","y2","key"],nle=["offset"];function ds(e){"@babel/helpers - typeof";return ds=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},ds(e)}function q4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?q4(Object(r),!0).forEach(function(n){ale(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):q4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ale(e,t,r){return t=ile(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ile(e){var t=ole(e,"string");return ds(t)=="symbol"?t:t+""}function ole(e,t){if(ds(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ds(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qo.apply(this,arguments)}function F4(e,t){if(e==null)return{};var r=sle(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function sle(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var lle=function(t){var r=t.fill;if(!r||r==="none")return null;var n=t.fillOpacity,a=t.x,o=t.y,l=t.width,c=t.height,f=t.ry;return $.createElement("rect",{x:a,y:o,ry:f,width:l,height:c,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function tI(e,t){var r;if($.isValidElement(e))r=$.cloneElement(e,t);else if(Pe(e))r=e(t);else{var n=t.x1,a=t.y1,o=t.x2,l=t.y2,c=t.key,f=F4(t,rle),p=Ae(f,!1);p.offset;var g=F4(p,nle);r=$.createElement("line",Qo({},g,{x1:n,y1:a,x2:o,y2:l,fill:"none",key:c}))}return r}function cle(e){var t=e.x,r=e.width,n=e.horizontal,a=n===void 0?!0:n,o=e.horizontalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(c,f){var p=xr(xr({},e),{},{x1:t,y1:c,x2:t+r,y2:c,key:"line-".concat(f),index:f});return tI(a,p)});return $.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function ule(e){var t=e.y,r=e.height,n=e.vertical,a=n===void 0?!0:n,o=e.verticalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(c,f){var p=xr(xr({},e),{},{x1:c,y1:t,x2:c,y2:t+r,key:"line-".concat(f),index:f});return tI(a,p)});return $.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function dle(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,a=e.y,o=e.width,l=e.height,c=e.horizontalPoints,f=e.horizontal,p=f===void 0?!0:f;if(!p||!t||!t.length)return null;var g=c.map(function(y){return Math.round(y+a-a)}).sort(function(y,b){return y-b});a!==g[0]&&g.unshift(0);var m=g.map(function(y,b){var C=!g[b+1],x=C?a+l-y:g[b+1]-y;if(x<=0)return null;var w=b%t.length;return $.createElement("rect",{key:"react-".concat(b),y,x:n,height:x,width:o,stroke:"none",fill:t[w],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return $.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},m)}function fle(e){var t=e.vertical,r=t===void 0?!0:t,n=e.verticalFill,a=e.fillOpacity,o=e.x,l=e.y,c=e.width,f=e.height,p=e.verticalPoints;if(!r||!n||!n.length)return null;var g=p.map(function(y){return Math.round(y+o-o)}).sort(function(y,b){return y-b});o!==g[0]&&g.unshift(0);var m=g.map(function(y,b){var C=!g[b+1],x=C?o+c-y:g[b+1]-y;if(x<=0)return null;var w=b%n.length;return $.createElement("rect",{key:"react-".concat(b),x:y,y:l,width:x,height:f,stroke:"none",fill:n[w],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return $.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},m)}var ple=function(t,r){var n=t.xAxis,a=t.width,o=t.height,l=t.offset;return Vk(XC(xr(xr(xr({},jc.defaultProps),n),{},{ticks:Za(n,!0),viewBox:{x:0,y:0,width:a,height:o}})),l.left,l.left+l.width,r)},hle=function(t,r){var n=t.yAxis,a=t.width,o=t.height,l=t.offset;return Vk(XC(xr(xr(xr({},jc.defaultProps),n),{},{ticks:Za(n,!0),viewBox:{x:0,y:0,width:a,height:o}})),l.top,l.top+l.height,r)},hl={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function xg(e){var t,r,n,a,o,l,c=KC(),f=VC(),p=tse(),g=xr(xr({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:hl.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:hl.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:hl.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:hl.horizontalFill,vertical:(o=e.vertical)!==null&&o!==void 0?o:hl.vertical,verticalFill:(l=e.verticalFill)!==null&&l!==void 0?l:hl.verticalFill,x:pe(e.x)?e.x:p.left,y:pe(e.y)?e.y:p.top,width:pe(e.width)?e.width:p.width,height:pe(e.height)?e.height:p.height}),m=g.x,y=g.y,b=g.width,C=g.height,x=g.syncWithTicks,w=g.horizontalValues,j=g.verticalValues,A=Xoe(),_=Joe();if(!pe(b)||b<=0||!pe(C)||C<=0||!pe(m)||m!==+m||!pe(y)||y!==+y)return null;var M=g.verticalCoordinatesGenerator||ple,N=g.horizontalCoordinatesGenerator||hle,D=g.horizontalPoints,O=g.verticalPoints;if((!D||!D.length)&&Pe(N)){var P=w&&w.length,R=N({yAxis:_?xr(xr({},_),{},{ticks:P?w:_.ticks}):void 0,width:c,height:f,offset:p},P?!0:x);Bn(Array.isArray(R),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(ds(R),"]")),Array.isArray(R)&&(D=R)}if((!O||!O.length)&&Pe(M)){var F=j&&j.length,I=M({xAxis:A?xr(xr({},A),{},{ticks:F?j:A.ticks}):void 0,width:c,height:f,offset:p},F?!0:x);Bn(Array.isArray(I),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(ds(I),"]")),Array.isArray(I)&&(O=I)}return $.createElement("g",{className:"recharts-cartesian-grid"},$.createElement(lle,{fill:g.fill,fillOpacity:g.fillOpacity,x:g.x,y:g.y,width:g.width,height:g.height,ry:g.ry}),$.createElement(cle,Qo({},g,{offset:p,horizontalPoints:D,xAxis:A,yAxis:_})),$.createElement(ule,Qo({},g,{offset:p,verticalPoints:O,xAxis:A,yAxis:_})),$.createElement(dle,Qo({},g,{horizontalPoints:D})),$.createElement(fle,Qo({},g,{verticalPoints:O})))}xg.displayName="CartesianGrid";var mle=["type","layout","connectNulls","ref"],gle=["key"];function ic(e){"@babel/helpers - typeof";return ic=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},ic(e)}function U4(e,t){if(e==null)return{};var r=yle(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yle(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Zu(){return Zu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zu.apply(this,arguments)}function G4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?G4(Object(r),!0).forEach(function(n){Ln(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ml(e){return Sle(e)||ble(e)||xle(e)||vle()}function vle(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 481In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xle(e,t){if(e){if(typeof e=="string")return aw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aw(e,t)}}function ble(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sle(e){if(Array.isArray(e))return aw(e)}function aw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function wle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W4(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nI(n.key),n)}}function Cle(e,t,r){return t&&W4(e.prototype,t),r&&W4(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function jle(e,t,r){return t=hm(t),Ole(e,rI()?Reflect.construct(t,r||[],hm(e).constructor):t.apply(e,r))}function Ole(e,t){if(t&&(ic(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nle(e)}function Nle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rI=function(){return!!e})()}function hm(e){return hm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},hm(e)}function Ale(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&&iw(e,t)}function iw(e,t){return iw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},iw(e,t)}function Ln(e,t,r){return t=nI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nI(e){var t=Dle(e,"string");return ic(t)=="symbol"?t:t+""}function Dle(e,t){if(ic(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ic(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ff=(function(e){function t(){var r;wle(this,t);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return r=jle(this,t,[].concat(a)),Ln(r,"state",{isAnimationFinished:!0,totalLength:0}),Ln(r,"generateSimpleStrokeDasharray",function(l,c){return"".concat(c,"px ").concat(l-c,"px")}),Ln(r,"getStrokeDasharray",function(l,c,f){var p=f.reduce(function(j,A){return j+A});if(!p)return r.generateSimpleStrokeDasharray(c,l);for(var g=Math.floor(l/p),m=l%p,y=c-l,b=[],C=0,x=0;C<f.length;x+=f[C],++C)if(x+f[C]>m){b=[].concat(ml(f.slice(0,C)),[m-x]);break}var w=b.length%2===0?[0,y]:[y];return[].concat(ml(t.repeat(f,g)),ml(b),w).map(function(j){return"".concat(j,"px")}).join(", ")}),Ln(r,"id",yc("recharts-line-")),Ln(r,"pathRef",function(l){r.mainCurve=l}),Ln(r,"handleAnimationEnd",function(){r.setState({isAnimationFinished:!0}),r.props.onAnimationEnd&&r.props.onAnimationEnd()}),Ln(r,"handleAnimationStart",function(){r.setState({isAnimationFinished:!1}),r.props.onAnimationStart&&r.props.onAnimationStart()}),r}return Ale(t,e),Cle(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();this.setState({totalLength:n})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var n=this.getTotalLength();n!==this.state.totalLength&&this.setState({totalLength:n})}}},{key:"getTotalLength",value:function(){var n=this.mainCurve;try{return n&&n.getTotalLength&&n.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,l=o.points,c=o.xAxis,f=o.yAxis,p=o.layout,g=o.children,m=sn(g,lf);if(!m)return null;var y=function(x,w){return{x:x.x,y:x.y,value:x.value,errorVal:Rt(x.payload,w)}},b={clipPath:n?"url(#clipPath-".concat(a,")"):null};return $.createElement(Ke,b,m.map(function(C){return $.cloneElement(C,{key:"bar-".concat(C.props.dataKey),data:l,xAxis:c,yAxis:f,layout:p,dataPointFormatter:y})}))}},{key:"renderDots",value:function(n,a,o){var l=this.props.isAnimationActive;if(l&&!this.state.isAnimationFinished)return null;var c=this.props,f=c.dot,p=c.points,g=c.dataKey,m=Ae(this.props,!1),y=Ae(f,!0),b=p.map(function(x,w){var j=Xr(Xr(Xr({key:"dot-".concat(w),r:3},m),y),{},{index:w,cx:x.x,cy:x.y,value:x.value,dataKey:g,payload:x.payload,points:p});return t.renderDotItem(f,j)}),C={clipPath:n?"url(#clipPath-".concat(a?"":"dots-").concat(o,")"):null};return $.createElement(Ke,Zu({className:"recharts-line-dots",key:"dots"},C),b)}},{key:"renderCurveStatically",value:function(n,a,o,l){var c=this.props,f=c.type,p=c.layout,g=c.connectNulls;c.ref;var m=U4(c,mle),y=Xr(Xr(Xr({},Ae(m,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:a?"url(#clipPath-".concat(o,")"):null,points:n},l),{},{type:f,layout:p,connectNulls:g});return $.createElement(Wh,Zu({},y,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(n,a){var o=this,l=this.props,c=l.points,f=l.strokeDasharray,p=l.isAnimationActive,g=l.animationBegin,m=l.animationDuration,y=l.animationEasing,b=l.animationId,C=l.animateNewValues,x=l.width,w=l.height,j=this.state,A=j.prevPoints,_=j.totalLength;return $.createElement(Un,{begin:g,duration:m,isActive:p,easing:y,from:{t:0},to:{t:1},key:"line-".concat(b),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(M){var N=M.t;if(A){var D=A.length/c.length,O=c.map(function(L,G){var W=Math.floor(G*D);if(A[W]){var q=A[W],k=fr(q.x,L.x),H=fr(q.y,L.y);return Xr(Xr({},L),{},{x:k(N),y:H(N)})}if(C){var U=fr(x*2,L.x),Y=fr(w/2,L.y);return Xr(Xr({},L),{},{x:U(N),y:Y(N)})}return Xr(Xr({},L),{},{x:L.x,y:L.y})});return o.renderCurveStatically(O,n,a)}var P=fr(0,_),R=P(N),F;if(f){var I="".concat(f).split(/[,\s]+/gim).map(function(L){return parseFloat(L)});F=o.getStrokeDasharray(R,_,I)}else F=o.generateSimpleStrokeDasharray(_,R);return o.renderCurveStatically(c,n,a,{strokeDasharray:F})})}},{key:"renderCurve",value:function(n,a){var o=this.props,l=o.points,c=o.isAnimationActive,f=this.state,p=f.prevPoints,g=f.totalLength;return c&&l&&l.length&&(!p&&g>0||!bc(p,l))?this.renderCurveWithAnimation(n,a):this.renderCurveStatically(l,n,a)}},{key:"render",value:function(){var n,a=this.props,o=a.hide,l=a.dot,c=a.points,f=a.className,p=a.xAxis,g=a.yAxis,m=a.top,y=a.left,b=a.width,C=a.height,x=a.isAnimationActive,w=a.id;if(o||!c||!c.length)return null;var j=this.state.isAnimationFinished,A=c.length===1,_=ke("recharts-line",f),M=p&&p.allowDataOverflow,N=g&&g.allowDataOverflow,D=M||N,O=ze(w)?this.id:w,P=(n=Ae(l,!1))!==null&&n!==void 0?n:{r:3,strokeWidth:2},R=P.r,F=R===void 0?3:R,I=P.strokeWidth,L=I===void 0?2:I,G=$W(l)?l:{},W=G.clipDot,q=W===void 0?!0:W,k=F*2+L;return $.createElement(Ke,{className:_},M||N?$.createElement("defs",null,$.createElement("clipPath",{id:"clipPath-".concat(O)},$.createElement("rect",{x:M?y:y-b/2,y:N?m:m-C/2,width:M?b:b*2,height:N?C:C*2})),!q&&$.createElement("clipPath",{id:"clipPath-dots-".concat(O)},$.createElement("rect",{x:y-k/2,y:m-k/2,width:b+k,height:C+k}))):null,!A&&this.renderCurve(D,O),this.renderErrorBar(D,O),(A||l)&&this.renderDots(D,q,O),(!x||j)&&da.renderCallByParent(this.props,c))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curPoints:n.points,prevPoints:a.curPoints}:n.points!==a.curPoints?{curPoints:n.points}:null}},{key:"repeat",value:function(n,a){for(var o=n.length%2!==0?[].concat(ml(n),[0]):n,l=[],c=0;c<a;++c)l=[].concat(ml(l),ml(o));return l}},{key:"renderDotItem",value:function(n,a){var o;if($.isValidElement(n))o=$.cloneElement(n,a);else if(Pe(n))o=n(a);else{var l=a.key,c=U4(a,gle),f=ke("recharts-line-dot",typeof n!="boolean"?n.className:"");o=$.createElement(cf,Zu({key:l},c,{className:f}))}return o}}])})(T.PureComponent);Ln(ff,"displayName","Line");Ln(ff,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!ro.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1});Ln(ff,"getComposedData",function(e){var t=e.props,r=e.xAxis,n=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,l=e.dataKey,c=e.bandSize,f=e.displayedData,p=e.offset,g=t.layout,m=f.map(function(y,b){var C=Rt(y,l);return g==="horizontal"?{x:FT({axis:r,ticks:a,bandSize:c,entry:y,index:b}),y:ze(C)?null:n.scale(C),value:C,payload:y}:{x:ze(C)?null:r.scale(C),y:FT({axis:n,ticks:o,bandSize:c,entry:y,index:b}),value:C,payload:y}});return Xr({points:m,layout:g},p)});function oc(e){"@babel/helpers - typeof";return oc=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},oc(e)}function _le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ele(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,oI(n.key),n)}}function Tle(e,t,r){return t&&Ele(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ple(e,t,r){return t=mm(t),Mle(e,aI()?Reflect.construct(t,r||[],mm(e).constructor):t.apply(e,r))}function Mle(e,t){if(t&&(oc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Rle(e)}function Rle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(aI=function(){return!!e})()}function mm(e){return mm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},mm(e)}function kle(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&&ow(e,t)}function ow(e,t){return ow=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},ow(e,t)}function iI(e,t,r){return t=oI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oI(e){var t=Ile(e,"string");return oc(t)=="symbol"?t:t+""}function Ile(e,t){if(oc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(oc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function sw(){return sw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sw.apply(this,arguments)}function zle(e){var t=e.xAxisId,r=KC(),n=VC(),a=U8(t);return a==null?null:T.createElement(jc,sw({},a,{className:ke("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(l){return Za(l,!0)}}))}var ci=(function(e){function t(){return _le(this,t),Ple(this,t,arguments)}return kle(t,e),Tle(t,[{key:"render",value:function(){return T.createElement(zle,this.props)}}])})(T.Component);iI(ci,"displayName","XAxis");iI(ci,"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 sc(e){"@babel/helpers - typeof";return sc=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},sc(e)}function $le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lle(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,cI(n.key),n)}}function Hle(e,t,r){return t&&Lle(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ble(e,t,r){return t=gm(t),qle(e,sI()?Reflect.construct(t,r||[],gm(e).constructor):t.apply(e,r))}function qle(e,t){if(t&&(sc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Fle(e)}function Fle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sI=function(){return!!e})()}function gm(e){return gm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},gm(e)}function Ule(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&&lw(e,t)}function lw(e,t){return lw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},lw(e,t)}function lI(e,t,r){return t=cI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cI(e){var t=Gle(e,"string");return sc(t)=="symbol"?t:t+""}function Gle(e,t){if(sc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(sc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function cw(){return cw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cw.apply(this,arguments)}var Wle=function(t){var r=t.yAxisId,n=KC(),a=VC(),o=G8(r);return o==null?null:T.createElement(jc,cw({},o,{className:ke("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:n,height:a},ticksGenerator:function(c){return Za(c,!0)}}))},ui=(function(e){function t(){return $le(this,t),Ble(this,t,arguments)}return Ule(t,e),Hle(t,[{key:"render",value:function(){return T.createElement(Wle,this.props)}}])})(T.Component);lI(ui,"displayName","YAxis");lI(ui,"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 Z4(e){return Qle(e)||Vle(e)||Kle(e)||Zle()}function Zle(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 482In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kle(e,t){if(e){if(typeof e=="string")return uw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uw(e,t)}}function Vle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qle(e){if(Array.isArray(e))return uw(e)}function uw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dw=function(t,r,n,a,o){var l=sn(t,YC),c=sn(t,gg),f=[].concat(Z4(l),Z4(c)),p=sn(t,vg),g="".concat(a,"Id"),m=a[0],y=r;if(f.length&&(y=f.reduce(function(x,w){if(w.props[g]===n&&fa(w.props,"extendDomain")&&pe(w.props[m])){var j=w.props[m];return[Math.min(x[0],j),Math.max(x[1],j)]}return x},y)),p.length){var b="".concat(m,"1"),C="".concat(m,"2");y=p.reduce(function(x,w){if(w.props[g]===n&&fa(w.props,"extendDomain")&&pe(w.props[b])&&pe(w.props[C])){var j=w.props[b],A=w.props[C];return[Math.min(x[0],j,A),Math.max(x[1],j,A)]}return x},y)}return o&&o.length&&(y=o.reduce(function(x,w){return pe(w)?[Math.min(x[0],w),Math.max(x[1],w)]:x},y)),y},r2={exports:{}},K4;function Yle(){return K4||(K4=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(f,p,g){this.fn=f,this.context=p,this.once=g||!1}function o(f,p,g,m,y){if(typeof g!="function")throw new TypeError("The listener must be a function");var b=new a(g,m||f,y),C=r?r+p:p;return f._events[C]?f._events[C].fn?f._events[C]=[f._events[C],b]:f._events[C].push(b):(f._events[C]=b,f._eventsCount++),f}function l(f,p){--f._eventsCount===0?f._events=new n:delete f._events[p]}function c(){this._events=new n,this._eventsCount=0}c.prototype.eventNames=function(){var p=[],g,m;if(this._eventsCount===0)return p;for(m in g=this._events)t.call(g,m)&&p.push(r?m.slice(1):m);return Object.getOwnPropertySymbols?p.concat(Object.getOwnPropertySymbols(g)):p},c.prototype.listeners=function(p){var g=r?r+p:p,m=this._events[g];if(!m)return[];if(m.fn)return[m.fn];for(var y=0,b=m.length,C=new Array(b);y<b;y++)C[y]=m[y].fn;return C},c.prototype.listenerCount=function(p){var g=r?r+p:p,m=this._events[g];return m?m.fn?1:m.length:0},c.prototype.emit=function(p,g,m,y,b,C){var x=r?r+p:p;if(!this._events[x])return!1;var w=this._events[x],j=arguments.length,A,_;if(w.fn){switch(w.once&&this.removeListener(p,w.fn,void 0,!0),j){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,g),!0;case 3:return w.fn.call(w.context,g,m),!0;case 4:return w.fn.call(w.context,g,m,y),!0;case 5:return w.fn.call(w.context,g,m,y,b),!0;case 6:return w.fn.call(w.context,g,m,y,b,C),!0}for(_=1,A=new Array(j-1);_<j;_++)A[_-1]=arguments[_];w.fn.apply(w.context,A)}else{var M=w.length,N;for(_=0;_<M;_++)switch(w[_].once&&this.removeListener(p,w[_].fn,void 0,!0),j){case 1:w[_].fn.call(w[_].context);break;case 2:w[_].fn.call(w[_].context,g);break;case 3:w[_].fn.call(w[_].context,g,m);break;case 4:w[_].fn.call(w[_].context,g,m,y);break;default:if(!A)for(N=1,A=new Array(j-1);N<j;N++)A[N-1]=arguments[N];w[_].fn.apply(w[_].context,A)}}return!0},c.prototype.on=function(p,g,m){return o(this,p,g,m,!1)},c.prototype.once=function(p,g,m){return o(this,p,g,m,!0)},c.prototype.removeListener=function(p,g,m,y){var b=r?r+p:p;if(!this._events[b])return this;if(!g)return l(this,b),this;var C=this._events[b];if(C.fn)C.fn===g&&(!y||C.once)&&(!m||C.context===m)&&l(this,b);else{for(var x=0,w=[],j=C.length;x<j;x++)(C[x].fn!==g||y&&!C[x].once||m&&C[x].context!==m)&&w.push(C[x]);w.length?this._events[b]=w.length===1?w[0]:w:l(this,b)}return this},c.prototype.removeAllListeners=function(p){var g;return p?(g=r?r+p:p,this._events[g]&&l(this,g)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c})(r2)),r2.exports}var Xle=Yle();const Jle=tt(Xle);var n2=new Jle,a2="recharts.syncMouseEvents";function Ud(e){"@babel/helpers - typeof";return Ud=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},Ud(e)}function ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,uI(n.key),n)}}function rce(e,t,r){return t&&tce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function i2(e,t,r){return t=uI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uI(e){var t=nce(e,"string");return Ud(t)=="symbol"?t:t+""}function nce(e,t){if(Ud(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ud(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ace=(function(){function e(){ece(this,e),i2(this,"activeIndex",0),i2(this,"coordinateList",[]),i2(this,"layout","horizontal")}return rce(e,[{key:"setDetails",value:function(r){var n,a=r.coordinateList,o=a===void 0?null:a,l=r.container,c=l===void 0?null:l,f=r.layout,p=f===void 0?null:f,g=r.offset,m=g===void 0?null:g,y=r.mouseHandlerCallback,b=y===void 0?null:y;this.coordinateList=(n=o??this.coordinateList)!==null&&n!==void 0?n:[],this.container=c??this.container,this.layout=p??this.layout,this.offset=m??this.offset,this.mouseHandlerCallback=b??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(r){if(this.coordinateList.length!==0)switch(r.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(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),o=a.x,l=a.y,c=a.height,f=this.coordinateList[this.activeIndex].coordinate,p=((r=window)===null||r===void 0?void 0:r.scrollX)||0,g=((n=window)===null||n===void 0?void 0:n.scrollY)||0,m=o+f+p,y=l+this.offset.top+c/2+g;this.mouseHandlerCallback({pageX:m,pageY:y})}}}])})();function ice(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var n=e?.[0],a=e?.[1];if(n&&a&&pe(n)&&pe(a))return!0}return!1}function oce(e,t,r,n){var a=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-a,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function dI(e){var t=e.cx,r=e.cy,n=e.radius,a=e.startAngle,o=e.endAngle,l=et(t,r,n,a),c=et(t,r,n,o);return{points:[l,c],cx:t,cy:r,radius:n,startAngle:a,endAngle:o}}function sce(e,t,r){var n,a,o,l;if(e==="horizontal")n=t.x,o=n,a=r.top,l=r.top+r.height;else if(e==="vertical")a=t.y,l=a,n=r.left,o=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var c=t.cx,f=t.cy,p=t.innerRadius,g=t.outerRadius,m=t.angle,y=et(c,f,p,m),b=et(c,f,g,m);n=y.x,a=y.y,o=b.x,l=b.y}else return dI(t);return[{x:n,y:a},{x:o,y:l}]}function Gd(e){"@babel/helpers - typeof";return Gd=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},Gd(e)}function V4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Kp(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?V4(Object(r),!0).forEach(function(n){lce(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lce(e,t,r){return t=cce(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cce(e){var t=uce(e,"string");return Gd(t)=="symbol"?t:t+""}function uce(e,t){if(Gd(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Gd(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dce(e){var t,r,n=e.element,a=e.tooltipEventType,o=e.isActive,l=e.activeCoordinate,c=e.activePayload,f=e.offset,p=e.activeTooltipIndex,g=e.tooltipAxisBandSize,m=e.layout,y=e.chartName,b=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!b||!o||!l||y!=="ScatterChart"&&a!=="axis")return null;var C,x=Wh;if(y==="ScatterChart")C=l,x=lae;else if(y==="BarChart")C=oce(m,l,f,g),x=UC;else if(m==="radial"){var w=dI(l),j=w.cx,A=w.cy,_=w.radius,M=w.startAngle,N=w.endAngle;C={cx:j,cy:A,startAngle:M,endAngle:N,innerRadius:_,outerRadius:_},x=l8}else C={points:sce(m,l,f)},x=Wh;var D=Kp(Kp(Kp(Kp({stroke:"#ccc",pointerEvents:"none"},f),C),Ae(b,!1)),{},{payload:c,payloadIndex:p,className:ke("recharts-tooltip-cursor",b.className)});return T.isValidElement(b)?T.cloneElement(b,D):T.createElement(x,D)}var fce=["item"],pce=["children","className","width","height","style","compact","title","desc"];function lc(e){"@babel/helpers - typeof";return lc=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},lc(e)}function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Al.apply(this,arguments)}function Q4(e,t){return gce(e)||mce(e,t)||pI(e,t)||hce()}function hce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 483In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mce(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,o,l,c=[],f=!0,p=!1;try{if(o=(r=r.call(e)).next,t!==0)for(;!(f=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);f=!0);}catch(g){p=!0,a=g}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(p)throw a}}return c}}function gce(e){if(Array.isArray(e))return e}function Y4(e,t){if(e==null)return{};var r=yce(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yce(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,hI(n.key),n)}}function bce(e,t,r){return t&&xce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Sce(e,t,r){return t=ym(t),wce(e,fI()?Reflect.construct(t,r||[],ym(e).constructor):t.apply(e,r))}function wce(e,t){if(t&&(lc(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cce(e)}function Cce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(fI=function(){return!!e})()}function ym(e){return ym=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ym(e)}function jce(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&&fw(e,t)}function fw(e,t){return fw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},fw(e,t)}function cc(e){return Ace(e)||Nce(e)||pI(e)||Oce()}function Oce(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 484In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pI(e,t){if(e){if(typeof e=="string")return pw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pw(e,t)}}function Nce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ace(e){if(Array.isArray(e))return pw(e)}function pw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function X4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function se(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?X4(Object(r),!0).forEach(function(n){Me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X4(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Me(e,t,r){return t=hI(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hI(e){var t=Dce(e,"string");return lc(t)=="symbol"?t:t+""}function Dce(e,t){if(lc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(lc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var _ce={xAxis:["bottom","top"],yAxis:["left","right"]},Ece={width:"100%",height:"100%"},mI={x:0,y:0};function Vp(e){return e}var Tce=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},Pce=function(t,r,n,a){var o=r.find(function(g){return g&&g.index===n});if(o){if(t==="horizontal")return{x:o.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:o.coordinate};if(t==="centric"){var l=o.coordinate,c=a.radius;return se(se(se({},a),et(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}var f=o.coordinate,p=a.angle;return se(se(se({},a),et(a.cx,a.cy,f,p)),{},{angle:p,radius:f})}return mI},bg=function(t,r){var n=r.graphicalItems,a=r.dataStartIndex,o=r.dataEndIndex,l=(n??[]).reduce(function(c,f){var p=f.props.data;return p&&p.length?[].concat(cc(c),cc(p)):c},[]);return l.length>0?l:t&&t.length&&pe(a)&&pe(o)?t.slice(a,o+1):[]};function gI(e){return e==="number"?[0,"auto"]:void 0}var hw=function(t,r,n,a){var o=t.graphicalItems,l=t.tooltipAxis,c=bg(r,t);return n<0||!o||!o.length||n>=c.length?null:o.reduce(function(f,p){var g,m=(g=p.props.data)!==null&&g!==void 0?g:r;m&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=n&&(m=m.slice(t.dataStartIndex,t.dataEndIndex+1));var y;if(l.dataKey&&!l.allowDuplicatedCategory){var b=m===void 0?c:m;y=vh(b,l.dataKey,a)}else y=m&&m[n]||c[n];return y?[].concat(cc(f),[e8(p,y)]):f},[])},J4=function(t,r,n,a){var o=a||{x:t.chartX,y:t.chartY},l=Tce(o,n),c=t.orderedTooltipTicks,f=t.tooltipAxis,p=t.tooltipTicks,g=kee(l,c,p,f);if(g>=0&&p){var m=p[g]&&p[g].value,y=hw(t,r,g,m),b=Pce(n,c,g,o);return{activeTooltipIndex:g,activeLabel:m,activePayload:y,activeCoordinate:b}}return null},Mce=function(t,r){var n=r.axes,a=r.graphicalItems,o=r.axisType,l=r.axisIdKey,c=r.stackGroups,f=r.dataStartIndex,p=r.dataEndIndex,g=t.layout,m=t.children,y=t.stackOffset,b=Kk(g,o);return n.reduce(function(C,x){var w,j=x.type.defaultProps!==void 0?se(se({},x.type.defaultProps),x.props):x.props,A=j.type,_=j.dataKey,M=j.allowDataOverflow,N=j.allowDuplicatedCategory,D=j.scale,O=j.ticks,P=j.includeHidden,R=j[l];if(C[R])return C;var F=bg(t.data,{graphicalItems:a.filter(function(K){var V,J=l in K.props?K.props[l]:(V=K.type.defaultProps)===null||V===void 0?void 0:V[l];return J===R}),dataStartIndex:f,dataEndIndex:p}),I=F.length,L,G,W;ice(j.domain,M,A)&&(L=AS(j.domain,null,M),b&&(A==="number"||D!=="auto")&&(W=Fu(F,_,"category")));var q=gI(A);if(!L||L.length===0){var k,H=(k=j.domain)!==null&&k!==void 0?k:q;if(_){if(L=Fu(F,_,A),A==="category"&&b){var U=DW(L);N&&U?(G=L,L=am(0,I)):N||(L=ZT(H,L,x).reduce(function(K,V){return K.indexOf(V)>=0?K:[].concat(cc(K),[V])},[]))}else if(A==="category")N?L=L.filter(function(K){return K!==""&&!ze(K)}):L=ZT(H,L,x).reduce(function(K,V){return K.indexOf(V)>=0||V===""||ze(V)?K:[].concat(cc(K),[V])},[]);else if(A==="number"){var Y=Hee(F,a.filter(function(K){var V,J,ce=l in K.props?K.props[l]:(V=K.type.defaultProps)===null||V===void 0?void 0:V[l],he="hide"in K.props?K.props.hide:(J=K.type.defaultProps)===null||J===void 0?void 0:J.hide;return ce===R&&(P||!he)}),_,o,g);Y&&(L=Y)}b&&(A==="number"||D!=="auto")&&(W=Fu(F,_,"category"))}else b?L=am(0,I):c&&c[R]&&c[R].hasStack&&A==="number"?L=y==="expand"?[0,1]:Jk(c[R].stackGroups,f,p):L=Zk(F,a.filter(function(K){var V=l in K.props?K.props[l]:K.type.defaultProps[l],J="hide"in K.props?K.props.hide:K.type.defaultProps.hide;return V===R&&(P||!J)}),A,g,!0);if(A==="number")L=dw(m,L,R,o,O),H&&(L=AS(H,L,M));else if(A==="category"&&H){var ae=H,B=L.every(function(K){return ae.indexOf(K)>=0});B&&(L=ae)}}return se(se({},C),{},Me({},R,se(se({},j),{},{axisType:o,domain:L,categoricalDomain:W,duplicateDomain:G,originalDomain:(w=j.domain)!==null&&w!==void 0?w:q,isCategorical:b,layout:g})))},{})},Rce=function(t,r){var n=r.graphicalItems,a=r.Axis,o=r.axisType,l=r.axisIdKey,c=r.stackGroups,f=r.dataStartIndex,p=r.dataEndIndex,g=t.layout,m=t.children,y=bg(t.data,{graphicalItems:n,dataStartIndex:f,dataEndIndex:p}),b=y.length,C=Kk(g,o),x=-1;return n.reduce(function(w,j){var A=j.type.defaultProps!==void 0?se(se({},j.type.defaultProps),j.props):j.props,_=A[l],M=gI("number");if(!w[_]){x++;var N;return C?N=am(0,b):c&&c[_]&&c[_].hasStack?(N=Jk(c[_].stackGroups,f,p),N=dw(m,N,_,o)):(N=AS(M,Zk(y,n.filter(function(D){var O,P,R=l in D.props?D.props[l]:(O=D.type.defaultProps)===null||O===void 0?void 0:O[l],F="hide"in D.props?D.props.hide:(P=D.type.defaultProps)===null||P===void 0?void 0:P.hide;return R===_&&!F}),"number",g),a.defaultProps.allowDataOverflow),N=dw(m,N,_,o)),se(se({},w),{},Me({},_,se(se({axisType:o},a.defaultProps),{},{hide:!0,orientation:on(_ce,"".concat(o,".").concat(x%2),null),domain:N,originalDomain:M,isCategorical:C,layout:g})))}return w},{})},kce=function(t,r){var n=r.axisType,a=n===void 0?"xAxis":n,o=r.AxisComp,l=r.graphicalItems,c=r.stackGroups,f=r.dataStartIndex,p=r.dataEndIndex,g=t.children,m="".concat(a,"Id"),y=sn(g,o),b={};return y&&y.length?b=Mce(t,{axes:y,graphicalItems:l,axisType:a,axisIdKey:m,stackGroups:c,dataStartIndex:f,dataEndIndex:p}):l&&l.length&&(b=Rce(t,{Axis:o,graphicalItems:l,axisType:a,axisIdKey:m,stackGroups:c,dataStartIndex:f,dataEndIndex:p})),b},Ice=function(t){var r=Bi(t),n=Za(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:yC(n,function(a){return a.coordinate}),tooltipAxis:r,tooltipAxisBandSize:Fh(r,n)}},eP=function(t){var r=t.children,n=t.defaultShowTooltip,a=en(r,Jl),o=0,l=0;return t.data&&t.data.length!==0&&(l=t.data.length-1),a&&a.props&&(a.props.startIndex>=0&&(o=a.props.startIndex),a.props.endIndex>=0&&(l=a.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:l,activeTooltipIndex:-1,isTooltipActive:!!n}},zce=function(t){return!t||!t.length?!1:t.some(function(r){var n=Va(r&&r.type);return n&&n.indexOf("Bar")>=0})},tP=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"}},$ce=function(t,r){var n=t.props,a=t.graphicalItems,o=t.xAxisMap,l=o===void 0?{}:o,c=t.yAxisMap,f=c===void 0?{}:c,p=n.width,g=n.height,m=n.children,y=n.margin||{},b=en(m,Jl),C=en(m,Qa),x=Object.keys(f).reduce(function(N,D){var O=f[D],P=O.orientation;return!O.mirror&&!O.hide?se(se({},N),{},Me({},P,N[P]+O.width)):N},{left:y.left||0,right:y.right||0}),w=Object.keys(l).reduce(function(N,D){var O=l[D],P=O.orientation;return!O.mirror&&!O.hide?se(se({},N),{},Me({},P,on(N,"".concat(P))+O.height)):N},{top:y.top||0,bottom:y.bottom||0}),j=se(se({},w),x),A=j.bottom;b&&(j.bottom+=b.props.height||Jl.defaultProps.height),C&&r&&(j=$ee(j,a,n,r));var _=p-j.left-j.right,M=g-j.top-j.bottom;return se(se({brushBottom:A},j),{},{width:Math.max(_,0),height:Math.max(M,0)})},Lce=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},Sg=function(t){var r=t.chartName,n=t.GraphicalChild,a=t.defaultTooltipEventType,o=a===void 0?"axis":a,l=t.validateTooltipEventTypes,c=l===void 0?["axis"]:l,f=t.axisComponents,p=t.legendContent,g=t.formatAxisMap,m=t.defaultProps,y=function(j,A){var _=A.graphicalItems,M=A.stackGroups,N=A.offset,D=A.updateId,O=A.dataStartIndex,P=A.dataEndIndex,R=j.barSize,F=j.layout,I=j.barGap,L=j.barCategoryGap,G=j.maxBarSize,W=tP(F),q=W.numericAxisName,k=W.cateAxisName,H=zce(_),U=[];return _.forEach(function(Y,ae){var B=bg(j.data,{graphicalItems:[Y],dataStartIndex:O,dataEndIndex:P}),K=Y.type.defaultProps!==void 0?se(se({},Y.type.defaultProps),Y.props):Y.props,V=K.dataKey,J=K.maxBarSize,ce=K["".concat(q,"Id")],he=K["".concat(k,"Id")],de={},ge=f.reduce(function(Ur,Ot){var cn=A["".concat(Ot.axisType,"Map")],Qt=K["".concat(Ot.axisType,"Id")];cn&&cn[Qt]||Ot.axisType==="zAxis"||us();var ws=cn[Qt];return se(se({},Ur),{},Me(Me({},Ot.axisType,ws),"".concat(Ot.axisType,"Ticks"),Za(ws)))},de),le=ge[k],me=ge["".concat(k,"Ticks")],ye=M&&M[ce]&&M[ce].hasStack&&Vee(Y,M[ce].stackGroups),ie=Va(Y.type).indexOf("Bar")>=0,Be=Fh(le,me),Ee=[],it=H&&Iee({barSize:R,stackGroups:M,totalSize:Lce(ge,k)});if(ie){var rt,mt,Er=ze(J)?G:J,It=(rt=(mt=Fh(le,me,!0))!==null&&mt!==void 0?mt:Er)!==null&&rt!==void 0?rt:0;Ee=zee({barGap:I,barCategoryGap:L,bandSize:It!==Be?It:Be,sizeList:it[he],maxBarSize:Er}),It!==Be&&(Ee=Ee.map(function(Ur){return se(se({},Ur),{},{position:se(se({},Ur.position),{},{offset:Ur.position.offset-It/2})})}))}var Zn=Y&&Y.type&&Y.type.getComposedData;Zn&&U.push({props:se(se({},Zn(se(se({},ge),{},{displayedData:B,props:j,dataKey:V,item:Y,bandSize:Be,barPosition:Ee,offset:N,stackedData:ye,layout:F,dataStartIndex:O,dataEndIndex:P}))),{},Me(Me(Me({key:Y.key||"item-".concat(ae)},q,ge[q]),k,ge[k]),"animationId",D)),childIndex:BW(Y,j.children),item:Y})}),U},b=function(j,A){var _=j.props,M=j.dataStartIndex,N=j.dataEndIndex,D=j.updateId;if(!s_({props:_}))return null;var O=_.children,P=_.layout,R=_.stackOffset,F=_.data,I=_.reverseStackOrder,L=tP(P),G=L.numericAxisName,W=L.cateAxisName,q=sn(O,n),k=Zee(F,q,"".concat(G,"Id"),"".concat(W,"Id"),R,I),H=f.reduce(function(K,V){var J="".concat(V.axisType,"Map");return se(se({},K),{},Me({},J,kce(_,se(se({},V),{},{graphicalItems:q,stackGroups:V.axisType===G&&k,dataStartIndex:M,dataEndIndex:N}))))},{}),U=$ce(se(se({},H),{},{props:_,graphicalItems:q}),A?.legendBBox);Object.keys(H).forEach(function(K){H[K]=g(_,H[K],U,K.replace("Map",""),r)});var Y=H["".concat(W,"Map")],ae=Ice(Y),B=y(_,se(se({},H),{},{dataStartIndex:M,dataEndIndex:N,updateId:D,graphicalItems:q,stackGroups:k,offset:U}));return se(se({formattedGraphicalItems:B,graphicalItems:q,offset:U,stackGroups:k},ae),H)},C=(function(w){function j(A){var _,M,N;return vce(this,j),N=Sce(this,j,[A]),Me(N,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Me(N,"accessibilityManager",new ace),Me(N,"handleLegendBBoxUpdate",function(D){if(D){var O=N.state,P=O.dataStartIndex,R=O.dataEndIndex,F=O.updateId;N.setState(se({legendBBox:D},b({props:N.props,dataStartIndex:P,dataEndIndex:R,updateId:F},se(se({},N.state),{},{legendBBox:D}))))}}),Me(N,"handleReceiveSyncEvent",function(D,O,P){if(N.props.syncId===D){if(P===N.eventEmitterSymbol&&typeof N.props.syncMethod!="function")return;N.applySyncEvent(O)}}),Me(N,"handleBrushChange",function(D){var O=D.startIndex,P=D.endIndex;if(O!==N.state.dataStartIndex||P!==N.state.dataEndIndex){var R=N.state.updateId;N.setState(function(){return se({dataStartIndex:O,dataEndIndex:P},b({props:N.props,dataStartIndex:O,dataEndIndex:P,updateId:R},N.state))}),N.triggerSyncEvent({dataStartIndex:O,dataEndIndex:P})}}),Me(N,"handleMouseEnter",function(D){var O=N.getMouseInfo(D);if(O){var P=se(se({},O),{},{isTooltipActive:!0});N.setState(P),N.triggerSyncEvent(P);var R=N.props.onMouseEnter;Pe(R)&&R(P,D)}}),Me(N,"triggeredAfterMouseMove",function(D){var O=N.getMouseInfo(D),P=O?se(se({},O),{},{isTooltipActive:!0}):{isTooltipActive:!1};N.setState(P),N.triggerSyncEvent(P);var R=N.props.onMouseMove;Pe(R)&&R(P,D)}),Me(N,"handleItemMouseEnter",function(D){N.setState(function(){return{isTooltipActive:!0,activeItem:D,activePayload:D.tooltipPayload,activeCoordinate:D.tooltipPosition||{x:D.cx,y:D.cy}}})}),Me(N,"handleItemMouseLeave",function(){N.setState(function(){return{isTooltipActive:!1}})}),Me(N,"handleMouseMove",function(D){D.persist(),N.throttleTriggeredAfterMouseMove(D)}),Me(N,"handleMouseLeave",function(D){N.throttleTriggeredAfterMouseMove.cancel();var O={isTooltipActive:!1};N.setState(O),N.triggerSyncEvent(O);var P=N.props.onMouseLeave;Pe(P)&&P(O,D)}),Me(N,"handleOuterEvent",function(D){var O=HW(D),P=on(N.props,"".concat(O));if(O&&Pe(P)){var R,F;/.*touch.*/i.test(O)?F=N.getMouseInfo(D.changedTouches[0]):F=N.getMouseInfo(D),P((R=F)!==null&&R!==void 0?R:{},D)}}),Me(N,"handleClick",function(D){var O=N.getMouseInfo(D);if(O){var P=se(se({},O),{},{isTooltipActive:!0});N.setState(P),N.triggerSyncEvent(P);var R=N.props.onClick;Pe(R)&&R(P,D)}}),Me(N,"handleMouseDown",function(D){var O=N.props.onMouseDown;if(Pe(O)){var P=N.getMouseInfo(D);O(P,D)}}),Me(N,"handleMouseUp",function(D){var O=N.props.onMouseUp;if(Pe(O)){var P=N.getMouseInfo(D);O(P,D)}}),Me(N,"handleTouchMove",function(D){D.changedTouches!=null&&D.changedTouches.length>0&&N.throttleTriggeredAfterMouseMove(D.changedTouches[0])}),Me(N,"handleTouchStart",function(D){D.changedTouches!=null&&D.changedTouches.length>0&&N.handleMouseDown(D.changedTouches[0])}),Me(N,"handleTouchEnd",function(D){D.changedTouches!=null&&D.changedTouches.length>0&&N.handleMouseUp(D.changedTouches[0])}),Me(N,"handleDoubleClick",function(D){var O=N.props.onDoubleClick;if(Pe(O)){var P=N.getMouseInfo(D);O(P,D)}}),Me(N,"handleContextMenu",function(D){var O=N.props.onContextMenu;if(Pe(O)){var P=N.getMouseInfo(D);O(P,D)}}),Me(N,"triggerSyncEvent",function(D){N.props.syncId!==void 0&&n2.emit(a2,N.props.syncId,D,N.eventEmitterSymbol)}),Me(N,"applySyncEvent",function(D){var O=N.props,P=O.layout,R=O.syncMethod,F=N.state.updateId,I=D.dataStartIndex,L=D.dataEndIndex;if(D.dataStartIndex!==void 0||D.dataEndIndex!==void 0)N.setState(se({dataStartIndex:I,dataEndIndex:L},b({props:N.props,dataStartIndex:I,dataEndIndex:L,updateId:F},N.state)));else if(D.activeTooltipIndex!==void 0){var G=D.chartX,W=D.chartY,q=D.activeTooltipIndex,k=N.state,H=k.offset,U=k.tooltipTicks;if(!H)return;if(typeof R=="function")q=R(U,D);else if(R==="value"){q=-1;for(var Y=0;Y<U.length;Y++)if(U[Y].value===D.activeLabel){q=Y;break}}var ae=se(se({},H),{},{x:H.left,y:H.top}),B=Math.min(G,ae.x+ae.width),K=Math.min(W,ae.y+ae.height),V=U[q]&&U[q].value,J=hw(N.state,N.props.data,q),ce=U[q]?{x:P==="horizontal"?U[q].coordinate:B,y:P==="horizontal"?K:U[q].coordinate}:mI;N.setState(se(se({},D),{},{activeLabel:V,activeCoordinate:ce,activePayload:J,activeTooltipIndex:q}))}else N.setState(D)}),Me(N,"renderCursor",function(D){var O,P=N.state,R=P.isTooltipActive,F=P.activeCoordinate,I=P.activePayload,L=P.offset,G=P.activeTooltipIndex,W=P.tooltipAxisBandSize,q=N.getTooltipEventType(),k=(O=D.props.active)!==null&&O!==void 0?O:R,H=N.props.layout,U=D.key||"_recharts-cursor";return $.createElement(dce,{key:U,activeCoordinate:F,activePayload:I,activeTooltipIndex:G,chartName:r,element:D,isActive:k,layout:H,offset:L,tooltipAxisBandSize:W,tooltipEventType:q})}),Me(N,"renderPolarAxis",function(D,O,P){var R=on(D,"type.axisType"),F=on(N.state,"".concat(R,"Map")),I=D.type.defaultProps,L=I!==void 0?se(se({},I),D.props):D.props,G=F&&F[L["".concat(R,"Id")]];return T.cloneElement(D,se(se({},G),{},{className:ke(R,G.className),key:D.key||"".concat(O,"-").concat(P),ticks:Za(G,!0)}))}),Me(N,"renderPolarGrid",function(D){var O=D.props,P=O.radialLines,R=O.polarAngles,F=O.polarRadius,I=N.state,L=I.radiusAxisMap,G=I.angleAxisMap,W=Bi(L),q=Bi(G),k=q.cx,H=q.cy,U=q.innerRadius,Y=q.outerRadius;return T.cloneElement(D,{polarAngles:Array.isArray(R)?R:Za(q,!0).map(function(ae){return ae.coordinate}),polarRadius:Array.isArray(F)?F:Za(W,!0).map(function(ae){return ae.coordinate}),cx:k,cy:H,innerRadius:U,outerRadius:Y,key:D.key||"polar-grid",radialLines:P})}),Me(N,"renderLegend",function(){var D=N.state.formattedGraphicalItems,O=N.props,P=O.children,R=O.width,F=O.height,I=N.props.margin||{},L=R-(I.left||0)-(I.right||0),G=Gk({children:P,formattedGraphicalItems:D,legendWidth:L,legendContent:p});if(!G)return null;var W=G.item,q=Y4(G,fce);return T.cloneElement(W,se(se({},q),{},{chartWidth:R,chartHeight:F,margin:I,onBBoxUpdate:N.handleLegendBBoxUpdate}))}),Me(N,"renderTooltip",function(){var D,O=N.props,P=O.children,R=O.accessibilityLayer,F=en(P,tr);if(!F)return null;var I=N.state,L=I.isTooltipActive,G=I.activeCoordinate,W=I.activePayload,q=I.activeLabel,k=I.offset,H=(D=F.props.active)!==null&&D!==void 0?D:L;return T.cloneElement(F,{viewBox:se(se({},k),{},{x:k.left,y:k.top}),active:H,label:q,payload:H?W:[],coordinate:G,accessibilityLayer:R})}),Me(N,"renderBrush",function(D){var O=N.props,P=O.margin,R=O.data,F=N.state,I=F.offset,L=F.dataStartIndex,G=F.dataEndIndex,W=F.updateId;return T.cloneElement(D,{key:D.key||"_recharts-brush",onChange:Up(N.handleBrushChange,D.props.onChange),data:R,x:pe(D.props.x)?D.props.x:I.left,y:pe(D.props.y)?D.props.y:I.top+I.height+I.brushBottom-(P.bottom||0),width:pe(D.props.width)?D.props.width:I.width,startIndex:L,endIndex:G,updateId:"brush-".concat(W)})}),Me(N,"renderReferenceElement",function(D,O,P){if(!D)return null;var R=N,F=R.clipPathId,I=N.state,L=I.xAxisMap,G=I.yAxisMap,W=I.offset,q=D.type.defaultProps||{},k=D.props,H=k.xAxisId,U=H===void 0?q.xAxisId:H,Y=k.yAxisId,ae=Y===void 0?q.yAxisId:Y;return T.cloneElement(D,{key:D.key||"".concat(O,"-").concat(P),xAxis:L[U],yAxis:G[ae],viewBox:{x:W.left,y:W.top,width:W.width,height:W.height},clipPathId:F})}),Me(N,"renderActivePoints",function(D){var O=D.item,P=D.activePoint,R=D.basePoint,F=D.childIndex,I=D.isRange,L=[],G=O.props.key,W=O.item.type.defaultProps!==void 0?se(se({},O.item.type.defaultProps),O.item.props):O.item.props,q=W.activeDot,k=W.dataKey,H=se(se({index:F,dataKey:k,cx:P.x,cy:P.y,r:4,fill:FC(O.item),strokeWidth:2,stroke:"#fff",payload:P.payload,value:P.value},Ae(q,!1)),xh(q));return L.push(j.renderActiveDot(q,H,"".concat(G,"-activePoint-").concat(F))),R?L.push(j.renderActiveDot(q,se(se({},H),{},{cx:R.x,cy:R.y}),"".concat(G,"-basePoint-").concat(F))):I&&L.push(null),L}),Me(N,"renderGraphicChild",function(D,O,P){var R=N.filterFormatItem(D,O,P);if(!R)return null;var F=N.getTooltipEventType(),I=N.state,L=I.isTooltipActive,G=I.tooltipAxis,W=I.activeTooltipIndex,q=I.activeLabel,k=N.props.children,H=en(k,tr),U=R.props,Y=U.points,ae=U.isRange,B=U.baseLine,K=R.item.type.defaultProps!==void 0?se(se({},R.item.type.defaultProps),R.item.props):R.item.props,V=K.activeDot,J=K.hide,ce=K.activeBar,he=K.activeShape,de=!!(!J&&L&&H&&(V||ce||he)),ge={};F!=="axis"&&H&&H.props.trigger==="click"?ge={onClick:Up(N.handleItemMouseEnter,D.props.onClick)}:F!=="axis"&&(ge={onMouseLeave:Up(N.handleItemMouseLeave,D.props.onMouseLeave),onMouseEnter:Up(N.handleItemMouseEnter,D.props.onMouseEnter)});var le=T.cloneElement(D,se(se({},R.props),ge));function me(Ot){return typeof G.dataKey=="function"?G.dataKey(Ot.payload):null}if(de)if(W>=0){var ye,ie;if(G.dataKey&&!G.allowDuplicatedCategory){var Be=typeof G.dataKey=="function"?me:"payload.".concat(G.dataKey.toString());ye=vh(Y,Be,q),ie=ae&&B&&vh(B,Be,q)}else ye=Y?.[W],ie=ae&&B&&B[W];if(he||ce){var Ee=D.props.activeIndex!==void 0?D.props.activeIndex:W;return[T.cloneElement(D,se(se(se({},R.props),ge),{},{activeIndex:Ee})),null,null]}if(!ze(ye))return[le].concat(cc(N.renderActivePoints({item:R,activePoint:ye,basePoint:ie,childIndex:W,isRange:ae})))}else{var it,rt=(it=N.getItemByXY(N.state.activeCoordinate))!==null&&it!==void 0?it:{graphicalItem:le},mt=rt.graphicalItem,Er=mt.item,It=Er===void 0?D:Er,Zn=mt.childIndex,Ur=se(se(se({},R.props),ge),{},{activeIndex:Zn});return[T.cloneElement(It,Ur),null,null]}return ae?[le,null,null]:[le,null]}),Me(N,"renderCustomized",function(D,O,P){return T.cloneElement(D,se(se({key:"recharts-customized-".concat(P)},N.props),N.state))}),Me(N,"renderMap",{CartesianGrid:{handler:Vp,once:!0},ReferenceArea:{handler:N.renderReferenceElement},ReferenceLine:{handler:Vp},ReferenceDot:{handler:N.renderReferenceElement},XAxis:{handler:Vp},YAxis:{handler:Vp},Brush:{handler:N.renderBrush,once:!0},Bar:{handler:N.renderGraphicChild},Line:{handler:N.renderGraphicChild},Area:{handler:N.renderGraphicChild},Radar:{handler:N.renderGraphicChild},RadialBar:{handler:N.renderGraphicChild},Scatter:{handler:N.renderGraphicChild},Pie:{handler:N.renderGraphicChild},Funnel:{handler:N.renderGraphicChild},Tooltip:{handler:N.renderCursor,once:!0},PolarGrid:{handler:N.renderPolarGrid,once:!0},PolarAngleAxis:{handler:N.renderPolarAxis},PolarRadiusAxis:{handler:N.renderPolarAxis},Customized:{handler:N.renderCustomized}}),N.clipPathId="".concat((_=A.id)!==null&&_!==void 0?_:yc("recharts"),"-clip"),N.throttleTriggeredAfterMouseMove=UR(N.triggeredAfterMouseMove,(M=A.throttleDelay)!==null&&M!==void 0?M:1e3/60),N.state={},N}return jce(j,w),bce(j,[{key:"componentDidMount",value:function(){var _,M;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(_=this.props.margin.left)!==null&&_!==void 0?_:0,top:(M=this.props.margin.top)!==null&&M!==void 0?M:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var _=this.props,M=_.children,N=_.data,D=_.height,O=_.layout,P=en(M,tr);if(P){var R=P.props.defaultIndex;if(!(typeof R!="number"||R<0||R>this.state.tooltipTicks.length-1)){var F=this.state.tooltipTicks[R]&&this.state.tooltipTicks[R].value,I=hw(this.state,N,R,F),L=this.state.tooltipTicks[R].coordinate,G=(this.state.offset.top+D)/2,W=O==="horizontal",q=W?{x:L,y:G}:{y:L,x:G},k=this.state.formattedGraphicalItems.find(function(U){var Y=U.item;return Y.type.name==="Scatter"});k&&(q=se(se({},q),k.props.points[R].tooltipPosition),I=k.props.points[R].tooltipPayload);var H={activeTooltipIndex:R,isTooltipActive:!0,activeLabel:F,activePayload:I,activeCoordinate:q};this.setState(H),this.renderCursor(P),this.accessibilityManager.setIndex(R)}}}},{key:"getSnapshotBeforeUpdate",value:function(_,M){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==M.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==_.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==_.margin){var N,D;this.accessibilityManager.setDetails({offset:{left:(N=this.props.margin.left)!==null&&N!==void 0?N:0,top:(D=this.props.margin.top)!==null&&D!==void 0?D:0}})}return null}},{key:"componentDidUpdate",value:function(_){V2([en(_.children,tr)],[en(this.props.children,tr)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var _=en(this.props.children,tr);if(_&&typeof _.props.shared=="boolean"){var M=_.props.shared?"axis":"item";return c.indexOf(M)>=0?M:o}return o}},{key:"getMouseInfo",value:function(_){if(!this.container)return null;var M=this.container,N=M.getBoundingClientRect(),D=AQ(N),O={chartX:Math.round(_.pageX-D.left),chartY:Math.round(_.pageY-D.top)},P=N.width/M.offsetWidth||1,R=this.inRange(O.chartX,O.chartY,P);if(!R)return null;var F=this.state,I=F.xAxisMap,L=F.yAxisMap,G=this.getTooltipEventType(),W=J4(this.state,this.props.data,this.props.layout,R);if(G!=="axis"&&I&&L){var q=Bi(I).scale,k=Bi(L).scale,H=q&&q.invert?q.invert(O.chartX):null,U=k&&k.invert?k.invert(O.chartY):null;return se(se({},O),{},{xValue:H,yValue:U},W)}return W?se(se({},O),W):null}},{key:"inRange",value:function(_,M){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,D=this.props.layout,O=_/N,P=M/N;if(D==="horizontal"||D==="vertical"){var R=this.state.offset,F=O>=R.left&&O<=R.left+R.width&&P>=R.top&&P<=R.top+R.height;return F?{x:O,y:P}:null}var I=this.state,L=I.angleAxisMap,G=I.radiusAxisMap;if(L&&G){var W=Bi(L);return QT({x:O,y:P},W)}return null}},{key:"parseEventsOfWrapper",value:function(){var _=this.props.children,M=this.getTooltipEventType(),N=en(_,tr),D={};N&&M==="axis"&&(N.props.trigger==="click"?D={onClick:this.handleClick}:D={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 O=xh(this.props,this.handleOuterEvent);return se(se({},O),D)}},{key:"addListener",value:function(){n2.on(a2,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){n2.removeListener(a2,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(_,M,N){for(var D=this.state.formattedGraphicalItems,O=0,P=D.length;O<P;O++){var R=D[O];if(R.item===_||R.props.key===_.key||M===Va(R.item.type)&&N===R.childIndex)return R}return null}},{key:"renderClipPath",value:function(){var _=this.clipPathId,M=this.state.offset,N=M.left,D=M.top,O=M.height,P=M.width;return $.createElement("defs",null,$.createElement("clipPath",{id:_},$.createElement("rect",{x:N,y:D,height:O,width:P})))}},{key:"getXScales",value:function(){var _=this.state.xAxisMap;return _?Object.entries(_).reduce(function(M,N){var D=Q4(N,2),O=D[0],P=D[1];return se(se({},M),{},Me({},O,P.scale))},{}):null}},{key:"getYScales",value:function(){var _=this.state.yAxisMap;return _?Object.entries(_).reduce(function(M,N){var D=Q4(N,2),O=D[0],P=D[1];return se(se({},M),{},Me({},O,P.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(_){var M;return(M=this.state.xAxisMap)===null||M===void 0||(M=M[_])===null||M===void 0?void 0:M.scale}},{key:"getYScaleByAxisId",value:function(_){var M;return(M=this.state.yAxisMap)===null||M===void 0||(M=M[_])===null||M===void 0?void 0:M.scale}},{key:"getItemByXY",value:function(_){var M=this.state,N=M.formattedGraphicalItems,D=M.activeItem;if(N&&N.length)for(var O=0,P=N.length;O<P;O++){var R=N[O],F=R.props,I=R.item,L=I.type.defaultProps!==void 0?se(se({},I.type.defaultProps),I.props):I.props,G=Va(I.type);if(G==="Bar"){var W=(F.data||[]).find(function(U){return Fne(_,U)});if(W)return{graphicalItem:R,payload:W}}else if(G==="RadialBar"){var q=(F.data||[]).find(function(U){return QT(_,U)});if(q)return{graphicalItem:R,payload:q}}else if(fg(R,D)||pg(R,D)||Ld(R,D)){var k=wie({graphicalItem:R,activeTooltipItem:D,itemData:L.data}),H=L.activeIndex===void 0?k:L.activeIndex;return{graphicalItem:se(se({},R),{},{childIndex:H}),payload:Ld(R,D)?L.data[k]:R.props.data[k]}}}return null}},{key:"render",value:function(){var _=this;if(!s_(this))return null;var M=this.props,N=M.children,D=M.className,O=M.width,P=M.height,R=M.style,F=M.compact,I=M.title,L=M.desc,G=Y4(M,pce),W=Ae(G,!1);if(F)return $.createElement(T4,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},$.createElement(Y2,Al({},W,{width:O,height:P,title:I,desc:L}),this.renderClipPath(),c_(N,this.renderMap)));if(this.props.accessibilityLayer){var q,k;W.tabIndex=(q=this.props.tabIndex)!==null&&q!==void 0?q:0,W.role=(k=this.props.role)!==null&&k!==void 0?k:"application",W.onKeyDown=function(U){_.accessibilityManager.keyboardEvent(U)},W.onFocus=function(){_.accessibilityManager.focus()}}var H=this.parseEventsOfWrapper();return $.createElement(T4,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},$.createElement("div",Al({className:ke("recharts-wrapper",D),style:se({position:"relative",curs
484or:"default",width:O,height:P},R)},H,{ref:function(Y){_.container=Y}}),$.createElement(Y2,Al({},W,{width:O,height:P,title:I,desc:L,style:Ece}),this.renderClipPath(),c_(N,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(T.Component);Me(C,"displayName",r),Me(C,"defaultProps",se({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},m)),Me(C,"getDerivedStateFromProps",function(w,j){var A=w.dataKey,_=w.data,M=w.children,N=w.width,D=w.height,O=w.layout,P=w.stackOffset,R=w.margin,F=j.dataStartIndex,I=j.dataEndIndex;if(j.updateId===void 0){var L=eP(w);return se(se(se({},L),{},{updateId:0},b(se(se({props:w},L),{},{updateId:0}),j)),{},{prevDataKey:A,prevData:_,prevWidth:N,prevHeight:D,prevLayout:O,prevStackOffset:P,prevMargin:R,prevChildren:M})}if(A!==j.prevDataKey||_!==j.prevData||N!==j.prevWidth||D!==j.prevHeight||O!==j.prevLayout||P!==j.prevStackOffset||!El(R,j.prevMargin)){var G=eP(w),W={chartX:j.chartX,chartY:j.chartY,isTooltipActive:j.isTooltipActive},q=se(se({},J4(j,_,O)),{},{updateId:j.updateId+1}),k=se(se(se({},G),W),q);return se(se(se({},k),b(se({props:w},k),j)),{},{prevDataKey:A,prevData:_,prevWidth:N,prevHeight:D,prevLayout:O,prevStackOffset:P,prevMargin:R,prevChildren:M})}if(!V2(M,j.prevChildren)){var H,U,Y,ae,B=en(M,Jl),K=B&&(H=(U=B.props)===null||U===void 0?void 0:U.startIndex)!==null&&H!==void 0?H:F,V=B&&(Y=(ae=B.props)===null||ae===void 0?void 0:ae.endIndex)!==null&&Y!==void 0?Y:I,J=K!==F||V!==I,ce=!ze(_),he=ce&&!J?j.updateId:j.updateId+1;return se(se({updateId:he},b(se(se({props:w},j),{},{updateId:he,dataStartIndex:K,dataEndIndex:V}),j)),{},{prevChildren:M,dataStartIndex:K,dataEndIndex:V})}return null}),Me(C,"renderActiveDot",function(w,j,A){var _;return T.isValidElement(w)?_=T.cloneElement(w,j):Pe(w)?_=w(j):_=$.createElement(cf,j),$.createElement(Ke,{className:"recharts-active-dot",key:A},_)});var x=T.forwardRef(function(j,A){return $.createElement(C,Al({},j,{ref:A}))});return x.displayName=C.displayName,x},Hce=Sg({chartName:"LineChart",GraphicalChild:ff,axisComponents:[{axisType:"xAxis",AxisComp:ci},{axisType:"yAxis",AxisComp:ui}],formatAxisMap:I8}),wg=Sg({chartName:"BarChart",GraphicalChild:Dn,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:ci},{axisType:"yAxis",AxisComp:ui}],formatAxisMap:I8}),Cg=Sg({chartName:"PieChart",GraphicalChild:En,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:Cc},{axisType:"radiusAxis",AxisComp:uf}],formatAxisMap:n8,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),Bce=Sg({chartName:"RadarChart",GraphicalChild:df,axisComponents:[{axisType:"angleAxis",AxisComp:Cc},{axisType:"radiusAxis",AxisComp:uf}],formatAxisMap:n8,defaultProps:{layout:"centric",startAngle:90,endAngle:-270,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}});function qce({monthlyData:e,appreciation12mPct:t,city:r,dataSource:n,isLoading:a=!1,error:o}){const[l,c]=T.useState([]);if(T.useEffect(()=>{if(e&&e.length>0){const m=e.map(y=>{const[b,C]=y.month.split("-");return{month:`${C}/${b.slice(2)}`,price:y.median_sale_price}});c(m)}},[e]),o)return d.jsx("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:48",className:"rounded border border-border/50 bg-card p-6 blueprint-corner",children:d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:49",className:"flex items-start gap-3",children:[d.jsx(aa,{"data-loc":"client/src/components/HomePriceTrends.tsx:50",className:"w-5 h-5 text-amber-500 flex-shrink-0 mt-0.5"}),d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:51",children:[d.jsx("h3",{"data-loc":"client/src/components/HomePriceTrends.tsx:52",className:"font-bold text-foreground mb-1",children:"Price Trends Unavailable"}),d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:53",className:"text-sm text-muted-foreground",children:o})]})]})});if(!r)return d.jsx("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:62",className:"rounded border border-border/50 bg-card p-6 blueprint-corner",children:d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:63",className:"text-sm text-muted-foreground",children:"City information not available for price trends."})});if(a)return d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:70",className:"rounded border border-border/50 bg-card p-6 blueprint-corner flex items-center justify-center gap-2",children:[d.jsx(XU,{"data-loc":"client/src/components/HomePriceTrends.tsx:71",className:"w-4 h-4 text-primary animate-spin"}),d.jsx("span",{"data-loc":"client/src/components/HomePriceTrends.tsx:72",className:"text-sm text-muted-foreground",children:"Loading price trends..."})]});if(!l||l.length===0)return d.jsx("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:79",className:"rounded border border-border/50 bg-card p-6 blueprint-corner",children:d.jsxs("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:80",className:"text-sm text-muted-foreground",children:["No price trend data available for ",r,"."]})});const f=l[l.length-1]?.price??0,p=l[0]?.price??f,g=t>=0;return d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:90",className:"rounded border border-border/50 bg-card p-6 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:92",className:"flex items-start justify-between mb-6",children:[d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:93",children:[d.jsx("h3",{"data-loc":"client/src/components/HomePriceTrends.tsx:94",className:"text-lg font-bold text-foreground mb-1",children:"12-Month Price Trends"}),d.jsxs("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:95",className:"text-xs text-muted-foreground font-mono",children:[r," · Data from ",n]})]}),d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:97",className:"text-right",children:[d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:98",className:"flex items-center gap-2 justify-end mb-1",children:[g?d.jsx(wr,{"data-loc":"client/src/components/HomePriceTrends.tsx:100",className:"w-4 h-4 text-green-500"}):d.jsx(k6,{"data-loc":"client/src/components/HomePriceTrends.tsx:102",className:"w-4 h-4 text-red-500"}),d.jsxs("span",{"data-loc":"client/src/components/HomePriceTrends.tsx:104",className:"text-2xl font-black",style:{color:g?"#22c55e":"#ef4444"},children:[t>=0?"+":"",t.toFixed(1),"%"]})]}),d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:111",className:"text-xs text-muted-foreground",children:"12-month appreciation"})]})]}),d.jsx("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:116",className:"mb-6 -mx-2",children:d.jsx(ha,{"data-loc":"client/src/components/HomePriceTrends.tsx:117",
484width:"100%",height:250,children:d.jsxs(Hce,{"data-loc":"client/src/components/HomePriceTrends.tsx:118",data:l,margin:{top:5,right:10,left:-20,bottom:5},children:[d.jsx(xg,{"data-loc":"client/src/components/HomePriceTrends.tsx:119",strokeDasharray:"3 3",stroke:"rgba(255,255,255,0.1)"}),d.jsx(ci,{"data-loc":"client/src/components/HomePriceTrends.tsx:120",dataKey:"month",tick:{fill:"rgba(255,255,255,0.6)",fontSize:12},stroke:"rgba(255,255,255,0.2)"}),d.jsx(ui,{"data-loc":"client/src/components/HomePriceTrends.tsx:125",tick:{fill:"rgba(255,255,255,0.6)",fontSize:12},stroke:"rgba(255,255,255,0.2)",tickFormatter:m=>`$${(m/1e3).toFixed(0)}k`}),d.jsx(tr,{"data-loc":"client/src/components/HomePriceTrends.tsx:130",contentStyle:{backgroundColor:"rgba(0,0,0,0.8)",border:"1px solid rgba(255,255,255,0.2)",borderRadius:"0.5rem"},formatter:m=>[Xo(m),"Median Price"],labelStyle:{color:"rgba(255,255,255,0.8)"}}),d.jsx(ff,{"data-loc":"client/src/components/HomePriceTrends.tsx:139",type:"monotone",dataKey:"price",stroke:g?"#22c55e":"#ef4444",strokeWidth:2.5,dot:!1,isAnimationActive:!1})]})})}),d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:152",className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:153",className:"rounded border border-border/30 bg-secondary/30 p-3",children:[d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:154",className:"text-xs text-muted-foreground font-mono mb-1",children:"Current Median"}),d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:155",className:"text-lg font-bold text-foreground",children:Xo(f)})]}),d.jsxs("div",{"data-loc":"client/src/components/HomePriceTrends.tsx:157",className:"rounded border border-border/30 bg-secondary/30 p-3",children:[d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:158",className:"text-xs text-muted-foreground font-mono mb-1",children:"12 Months Ago"}),d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:159",className:"text-lg font-bold text-foreground",children:Xo(p)})]})]}),d.jsx("p",{"data-loc":"client/src/components/HomePriceTrends.tsx:164",className:"text-xs text-muted-foreground font-mono mt-4 pt-4 border-t border-border/30",children:"Data updated daily from Redfin MLS. Represents median sale prices for all property types."})]})}const Fce=w6("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Ku({className:e,variant:t,asChild:r=!1,...n}){const a=r?OM:"span";return d.jsx(a,{"data-loc":"client/src/components/ui/badge.tsx:38","data-slot":"badge",className:ar(Fce({variant:t}),e),...n})}const Uce={A:"bg-green-100 text-green-800 border-green-300",B:"bg-lime-100 text-lime-800 border-lime-300",C:"bg-yellow-100 text-yellow-800 border-yellow-300",D:"bg-orange-100 text-orange-800 border-orange-300",F:"bg-red-100 text-red-800 border-red-300"},rP={A:"Exemplary",B:"Recognized",C:"Acceptable",D:"Needs Improvement",F:"Unacceptable"};function Gce({district:e,staarELA:t,staarMath:r,staarScience:n,graduationRate:a,collegeReadiness:o,accountabilityRating:l,accountabilityScore:c,performanceYear:f="2024â25",accountabilityYear:p=2026,geographicLevel:g="district",dataSource:m="Texas Education Agency"}){const y=Math.round((t+r+n)/3);return d.jsxs(Uo,{"data-loc":"client/src/components/DistrictMetrics.tsx:53",className:"border-blue-200 bg-blue-50/50",children:[d.jsx(Sl,{"data-loc":"client/src/components/DistrictMetrics.tsx:54",className:"pb-3",children:d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:55",className:"flex items-start justify-between gap-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:56",className:"flex-1",children:[d.jsxs(wl,{"data-loc":"client/src/components/DistrictMetrics.tsx:57",className:"flex items-center gap-2 text-lg",children:[d.jsx(O6,{"data-loc":"client/src/components/DistrictMetrics.tsx:58",className:"w-5 h-5 text-blue-600"}),"District Metrics (Official TEA)"]}),d.jsxs(Eu,{"data-loc":"client/src/components/DistrictMetrics.tsx:61",className:"mt-1 text-sm",children:[e," â Performance: ",f," TAPR · Rating: ",p]})]}),d.jsxs(Ku,{"data-loc":"client/src/components/DistrictMetrics.tsx:65",className:`${Uce[l]} border whitespace-nowrap`,children:["TEA ",p,": ",l,typeof c=="number"?` (${c})`:""]})]})}),d.jsxs(Go,{"data-loc":"client/src/components/DistrictMetrics.tsx:70",className:"space-y-4",children:[d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:71",className:"rounded-lg bg-white p-3 border border-blue-100",children:d.jsxs("p",{"data-loc":"client/src/components/DistrictMetrics.tsx:72",className:"text-sm text-gray-700",children:[d.jsxs("span",{"data-loc":"client/src/components/DistrictMetrics.tsx:73",className:"font-semibold",children:[rP[l],":"]})," This district is rated ",rP[l].toLowerCase()," by the Texas Education Agency based on comprehensive performance metrics."]})}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:77",className:"grid grid-cols-2 sm:grid-cols-4 gap-3",children:[["STAAR ELA",t,"Meets Grade Level"],["STAAR Math",r,"Meets Grade Level"],["STAAR Science",n,"Meets Grade Level"],["Avg STAAR",y,"Composite"]].map(([b,C,x])=>d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:84",className:"rounded-lg bg-white p-3 border border-blue-100",children:[d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:85",className:"text-xs font-semibold text-gray-600 mb-1",children:b}),d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:86",className:"text-2xl font-bold text-blue-600",children:[C,"%"]}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:87",className:"text-xs text-gray-500 mt-1",children:x})]},b))}),d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:92",className:"grid grid-cols-2 gap-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:93",className:"rounded-lg bg-white p-3 border border-blue-100",children:[d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:94",className:"flex items-center gap-2 mb-2",children:[d.jsx(wr,{"data-loc":"client/src/components/DistrictMetrics.tsx:95",className:"w-4 h-4 text-green-600"}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:96",className:"text-xs font-semibold text-gray-600",children:"Graduation Rate"})]}),d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:98",className:"text-2xl font-bold text-green-600",children:[a.toFixed(1),"%"]}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:99",className:"text-xs text-gray-500 mt-1",children:"Class of 2024 · 4-year rate"})]}),d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:101",className:"rounded-lg bg-white p-3 border border-blue-100",children:[d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:102",className:"flex items-center gap-2 mb-2",children:[d.jsx(wr,{"data-loc":"client/src/components/DistrictMetrics.tsx:103",className:"w-4 h-4 text-purple-600"}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:104",className:"text-xs font-semibold text-gray-600",children:"College Ready"})]}),d.jsxs("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:106",className:"text-2xl font-bold text-purple-600",children:[o.toFixed(0),"%"]}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:107",className:"text-xs text-gray-500 mt-1",children:"2024 annual graduates"})]})]}),d.jsx("div",{"data-loc":"client/src/components/DistrictMetrics.tsx:111",className:"rounded-lg bg-blue-100/50 p-2.5 border border-blue-200",children:d.jsxs("p",{"data-loc":"client/src/components/DistrictMetrics.tsx:112",className:"text-xs text-gray-600",children:[d.jsx("span",{"data-loc":"client/src/components/DistrictMetrics.tsx:113",className:"font-semibold",children:"Data Source:"}
484)," ",m,". These are ",g,"-level measures mapped to this ZIPâs primary districtânot ZIP-level school statistics."]})})]})]})}function Wce({zipCode:e,city:t,overallGrade:r,safetyGrade:n,educationGrade:a,commuteGrade:o}){const[l,c]=T.useState(!1),[f,p]=T.useState(""),[g,m]=T.useState(""),[y,b]=T.useState(""),C=`${window.location.origin}/zip/${e}`,x=T.useCallback(M=>{M.key==="Escape"&&l&&c(!1)},[l]);T.useEffect(()=>(document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)),[x]),T.useEffect(()=>(l?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[l]);const w=()=>{const M=g.trim()?`Hi ${g.trim()}, 485 486`:`Hi, 487 488`,N=y.trim()?`${y.trim()} 489 490`:"",D=[r?`⢠Overall Grade: ${r}`:null,n?`⢠Neighborhood Safety: ${n}`:null,a?`⢠Education: ${a}`:null,o?`⢠Commute: ${o}`:null].filter(Boolean).join(` 491`);return`${M}${N}I wanted to share a detailed neighborhood report card for ZIP code ${e}`+(t?` (${t}, TX)`:"")+` with you. 492 493`+(D?`Key Highlights: 494${D} 495 496`:"")+`View the full interactive report here: 497${C} 498 499Best regards, 500Marcus Carter 501Coldwell Banker Realty 502469-724-4371 503[email protected]`},j=()=>{if(!f.trim()){Re.error("Please enter a recipient email address.");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(f.trim())){Re.error("Please enter a valid email address.");return}const N=`Neighborhood Report Card: ZIP ${e}${t?` â ${t}, TX`:""}`,D=w(),O=`mailto:${encodeURIComponent(f.trim())}?subject=${encodeURIComponent(N)}&body=${encodeURIComponent(D)}`,P=document.createElement("a");P.href=O,P.rel="noopener noreferrer",document.body.appendChild(P),P.click(),document.body.removeChild(P),Re.success("Email client opened!",{description:"Your email app should open with the report pre-filled. If it didn't open, use Copy Link to share instead.",duration:7e3}),c(!1),p(""),m(""),b("")},A=async()=>{try{await navigator.clipboard.writeText(C),Re.success("Report link copied!",{description:"Paste it into any email or message app.",duration:4e3}),c(!1)}catch{Re.error("Could not copy link. Please copy it manually: "+C)}},_=l?ys.createPortal(d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:129",className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-label":`Email ZIP ${e} Report Card`,children:[d.jsx("div",{"data-loc":"client/src/components/EmailReportCard.tsx:136",className:"absolute inset-0 bg-black/60",onClick:()=>c(!1)}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:142",className:"relative z-10 w-full max-w-md rounded-xl bg-[#0f1117] border border-[#1e2235] text-slate-200 shadow-2xl p-6 space-y-4",children:[d.jsx("button",{"data-loc":"client/src/components/EmailReportCard.tsx:144",onClick:()=>c(!1),className:"absolute top-4 right-4 text-slate-500 hover:text-slate-200 transition-colors","aria-label":"Close",children:d.jsx(Ji,{"data-loc":"client/src/components/EmailReportCard.tsx:149",className:"w-4 h-4"})}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:153",className:"space-y-1 pr-6",children:[d.jsxs("h2",{"data-loc":"client/src/components/EmailReportCard.tsx:154",className:"flex items-center gap-2 text-base font-semibold text-slate-100",children:[d.jsx(ca,{"data-loc":"client/src/components/EmailReportCard.tsx:155",className:"w-4 h-4 text-blue-400"}),"Email ZIP ",e," Report Card"]}),d.jsxs("p",{"data-loc":"client/src/components/EmailReportCard.tsx:158",className:"text-slate-400 text-sm",children:["Opens your email app with the report pre-filled for"," ",d.jsx("span",{"data-loc":"client/src/components/EmailReportCard.tsx:160",className:"text-slate-300 font-medium",children:t??e}),". Or copy the link to share via any app."]})]}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:166",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:167",children:[d.jsxs("label",{"data-loc":"client/src/components/EmailReportCard.tsx:168",className:"text-xs text-slate-400 mb-1.5 block",children:["Client Email ",d.jsx("span",{"data-loc":"client/src/components/EmailReportCard.tsx:169",className:"text-red-400",children:"*"})]}),d.jsx("input",{"data-loc":"client/src/components/EmailReportCard.tsx:171",type:"email",placeholder:"[email protected]",value:f,onChange:M=>p(M.target.value),autoComplete:"email",className:"w-full h-9 rounded-md border border-[#2a3050] bg-[#1a1f2e] px-3 py-1 text-sm text-slate-200 placeholder:text-slate-600 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition"})]}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:181",children:[d.jsx("label",{"data-loc":"client/src/components/EmailReportCard.tsx:182",className:"text-xs text-slate-400 mb-1.5 block",children:"Client Name (optional)"}),d.jsx("input",{"data-loc":"client/src/components/EmailReportCard.tsx:183",type:"text",placeholder:"e.g. John & Jane Smith",value:g,onChange:M=>m(M.target.value),className:"w-full h-9 rounded-md border border-[#2a3050] bg-[#1a1f2e] px-3 py-1 text-sm text-slate-200 placeholder:text-slate-600 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition"})]}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:192",children:[d.jsx("label",{"data-loc":"client/src/components/EmailReportCard.tsx:193",className:"text-xs text-slate-400 mb-1.5 block",children:"Personal Message (optional)"}),d.jsx("textarea",{"data-loc":"client/src/components/EmailReportCard.tsx:194",placeholder:"Hi! I thought you'd find this neighborhood report useful...",value:y,onChange:M=>b(M.target.value),rows:3,className:"w-full rounded-md border border-[#2a3050] bg-[#1a1f2e] px-3 py-2 text-sm text-slate-200 placeholder:text-slate-600 outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500 transition resize-none"})]}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:204",className:"flex items-center gap-2 px-3 py-2 rounded bg-[#1a1f2e] border border-[#2a3050]",children:[d.jsx("span",{"data-loc":"client/src/components/EmailReportCard.tsx:205",className:"text-xs text-slate-500 font-mono truncate flex-1",children:C}),d.jsx("button",{"data-loc":"client/src/components/EmailReportCard.tsx:206",onClick:A,className:"text-slate-400 hover:text-blue-400 transition-colors shrink-0",title:"Copy report link",children:d.jsx(G5,{"data-loc":"client/src/components/EmailReportCard.tsx:211",className:"w-3.5 h-3.5"})})]})]}),d.jsxs("div",{"data-loc":"client/src/components/EmailReportCard.tsx:217",className:"flex flex-col-reverse sm:flex-row gap-2 pt-1",children:[d.jsxs(be,{"data-loc":"client/src/components/EmailReportCard.tsx:218",variant:"ghost",size:"sm",onClick:A,className:"text-slate-400 hover:text-slate-200 gap-1.5 w-full sm:w-auto",children:[d.jsx(G5,{"data-loc":"client/src/components/EmailReportCard.tsx:224",className:"w-3.5 h-3.5"}),"Copy Link"]}),d.jsx(be,{"data-loc":"client/src/components/EmailReportCard.tsx:227",variant:"ghost",size:"sm",onClick:()=>c(!1),className:"text-slate-400 hover:text-slate-200",children:"Cancel"}),d.jsxs(be,{"data-loc":"client/src/components/EmailReportCard.tsx:235",size:"sm",onClick:j,disabled:!f.trim(),className:"bg-blue-600 hover:bg-blue-700 text-white gap-1.5",children:[d.jsx(iG,{"data-loc":"client/src/components/EmailReportCard.tsx:241",className:"w-3.5 h-3.5"}),"Open Email App"]}
503)]})]})]}),document.body):null;return d.jsxs(d.Fragment,{children:[d.jsxs(be,{"data-loc":"client/src/components/EmailReportCard.tsx:253",variant:"outline",size:"sm",className:"gap-1.5 text-xs h-8",onClick:()=>c(!0),children:[d.jsx(ca,{"data-loc":"client/src/components/EmailReportCard.tsx:259",className:"w-3.5 h-3.5"}),"Email Report"]}),_]})}function Zce({zipCode:e,topOccupations:t=[],radioFormat:r="",lifestyleHobbies:n=[],realtorNotes:a=""}){return d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:22",className:"space-y-4",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:23",className:"rounded-md border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-xs text-amber-800 dark:text-amber-200",children:[d.jsx("span",{"data-loc":"client/src/components/DemographicsSection.tsx:24",className:"font-semibold",children:"Local context:"})," The items below are agent-supplied marketing context, not current Census, TEA, FBI, or MLS statistics. Confirm suitability and availability independently."]}),d.jsxs(Uo,{"data-loc":"client/src/components/DemographicsSection.tsx:27",children:[d.jsxs(Sl,{"data-loc":"client/src/components/DemographicsSection.tsx:28",className:"pb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:29",className:"flex items-center gap-2",children:[d.jsx(WU,{"data-loc":"client/src/components/DemographicsSection.tsx:30",className:"h-5 w-5 text-blue-600"}),d.jsx(wl,{"data-loc":"client/src/components/DemographicsSection.tsx:31",className:"text-lg",children:"Occupation Context"})]}),d.jsx(Eu,{"data-loc":"client/src/components/DemographicsSection.tsx:33",children:"Agent-supplied local context; not an official current employment estimate"})]}),d.jsx(Go,{"data-loc":"client/src/components/DemographicsSection.tsx:35",children:d.jsx("div",{"data-loc":"client/src/components/DemographicsSection.tsx:36",className:"flex flex-wrap gap-2",children:t.length>0?t.map((o,l)=>d.jsx(Ku,{"data-loc":"client/src/components/DemographicsSection.tsx:39",variant:"secondary",className:"bg-blue-50 text-blue-900 border-blue-200",children:o},l)):d.jsx("span",{"data-loc":"client/src/components/DemographicsSection.tsx:44",className:"text-sm text-gray-500",children:"No occupation data available"})})})]}),d.jsxs(Uo,{"data-loc":"client/src/components/DemographicsSection.tsx:51",children:[d.jsxs(Sl,{"data-loc":"client/src/components/DemographicsSection.tsx:52",className:"pb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:53",className:"flex items-center gap-2",children:[d.jsx(nG,{"data-loc":"client/src/components/DemographicsSection.tsx:54",className:"h-5 w-5 text-purple-600"}),d.jsx(wl,{"data-loc":"client/src/components/DemographicsSection.tsx:55",className:"text-lg",children:"Marketing Audience Note"})]}),d.jsx(Eu,{"data-loc":"client/src/components/DemographicsSection.tsx:57",children:"Agent-supplied context; not an audience measurement or demographic statistic"})]}),d.jsx(Go,{"data-loc":"client/src/components/DemographicsSection.tsx:59",children:d.jsx("div",{"data-loc":"client/src/components/DemographicsSection.tsx:60",className:"flex items-center gap-3",children:d.jsx(Ku,{"data-loc":"client/src/components/DemographicsSection.tsx:61",className:"bg-purple-100 text-purple-900 border-purple-200 text-base px-3 py-1.5",children:r||"Not available"})})})]}),d.jsxs(Uo,{"data-loc":"client/src/components/DemographicsSection.tsx:69",children:[d.jsxs(Sl,{"data-loc":"client/src/components/DemographicsSection.tsx:70",className:"pb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:71",className:"flex items-center gap-2",children:[d.jsx(sG,{"data-loc":"client/src/components/DemographicsSection.tsx:72",className:"h-5 w-5 text-green-600"}),d.jsx(wl,{"data-loc":"client/src/components/DemographicsSection.tsx:73",className:"text-lg",children:"Lifestyle Context"})]}),d.jsx(Eu,{"data-loc":"client/src/components/DemographicsSection.tsx:75",children:"Agent-supplied context; not a current survey measurement"})]}),d.jsx(Go,{"data-loc":"client/src/components/DemographicsSection.tsx:77",children:d.jsx("div",{"data-loc":"client/src/components/DemographicsSection.tsx:78",className:"flex flex-wrap gap-2",children:n.length>0?n.map((o,l)=>d.jsx(Ku,{"data-loc":"client/src/components/DemographicsSection.tsx:81",variant:"secondary",className:"bg-green-50 text-green-900 border-green-200",children:o},l)):d.jsx("span",{"data-loc":"client/src/components/DemographicsSection.tsx:86",className:"text-sm text-gray-500",children:"No lifestyle data available"})})})]}),d.jsxs(Uo,{"data-loc":"client/src/components/DemographicsSection.tsx:93",children:[d.jsxs(Sl,{"data-loc":"client/src/components/DemographicsSection.tsx:94",className:"pb-3",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicsSection.tsx:95",className:"flex items-center gap-2",children:[d.jsx(YU,{"data-loc":"client/src/components/DemographicsSection.tsx:96",className:"h-5 w-5 text-amber-600"}),d.jsx(wl,{"data-loc":"client/src/components/DemographicsSection.tsx:97",className:"text-lg",children:"Realtor Notes"})]}),d.jsx(Eu,{"data-loc":"client/src/components/DemographicsSection.tsx:99",children:"Professional context, not a verified market-data point"})]}),d.jsx(Go,{"data-loc":"client/src/components/DemographicsSection.tsx:101",children:d.jsx("p",{"data-loc":"client/src/components/DemographicsSection.tsx:102",className:"text-sm leading-relaxed text-gray-700",children:a||"No realtor notes available"})})]})]})}const Io={white:"#60a5fa",black:"#f472b6",asian:"#a78bfa",hispanic:"#34d399",other:"#94a3b8"},ra={white:"White",black:"Black",asian:"Asian",hispanic:"Hispanic",other:"Other"};function Kce({zipRace:e,dfwRace:t,zipCode:r}){const n=T.useMemo(()=>[{name:ra.white,value:Math.round(e.white),color:Io.white},{name:ra.black,value:Math.round(e.black),color:Io.black},{name:ra.asian,value:Math.round(e.asian),color:Io.asian},{name:ra.hispanic,value:Math.round(e.hispanic),color:Io.hispanic},{name:ra.other,value:Math.round(e.other),color:Io.other}].filter(o=>o.value>0),[e]),a=T.useMemo(()=>[{name:ra.white,[r]:Math.round(e.white),"DFW Average":Math.round(t.white)},{name:ra.black,[r]:Math.round(e.black),"DFW Average":Math.round(t.black)},{name:ra.asian,[r]:Math.round(e.asian),"DFW Average":Math.round(t.asian)},{name:ra.hispanic,[r]:Math.round(e.hispanic),"DFW Average":Math.round(t.hispanic)},{name:ra.other,[r]:Math.round(e.other),"DFW Average":Math.round(t.other)}],[e,t,r]);return d.jsxs("div",{"data-loc":"client/src/components/DemographicComparison.tsx:82",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-8",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicComparison.tsx:83",className:"mb-6",children:[d.jsx("h3",{"data-loc":"client/src/components/DemographicComparison.tsx:84",className:"text-sm font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-4",children:"Race & Ethnicity Composition"}),d.jsxs("p",{"data-loc":"client/src/components/DemographicComparison.tsx:87",className:"text-xs text-muted-foreground mb-4",children:["ZIP ",r," compared to DFW average (2020â2024 Census ACS)"]})]}),d.jsxs("div",{"data-loc":"client/src/components/DemographicComparison.tsx:92",className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[d.jsxs("div",{"data-loc":"client/src/components/DemographicComparison.tsx:94",children:[d.jsxs("h4",{"data-loc":"client/src/components/DemographicComparison.tsx:95",className:"text-xs font-semibold text-foreground mb-3",children:["ZIP ",r]}),d.jsx(ha,{"data-loc":"client/src/components/DemographicComparison.tsx:96",width:"100%",height:250,children:d.jsxs(Cg,{"data-loc":"client/src/components/DemographicComparison.tsx:97",children:[d.jsx(En,{"data-loc":"client/src/components/DemographicComparison.tsx:98",data:n,cx:"50%",cy:"50%",labelLine:!1,label:({name:o,value:l})=>`${o} ${l}%`,outerRadius:80,fill:"#8884d8",dataKey:"value",children:n.map((o,l)=>d.jsx(no,{"data-loc":"client/src/components/DemographicComparison.tsx:109",fill:o.color},`cell-${l}`))}),d.jsx(tr,{"data-loc":"client/src/components/DemographicComparison.tsx:112",formatter:o=>`${o}%`})]})})]}),d.jsxs("div",{"data-loc":"client/src/components/DemographicComparison.tsx:118",children:[d.jsx("h4",{"data-loc":"client/src/components/DemographicComparison.tsx:119",className:"text-xs font-semibold text-foreground mb-3",children:"Comparison"}),d.jsx(ha,{"data-loc":"client/src/components/DemographicComparison.tsx:120",width:"100%",height:250,children:d.jsxs(wg,{"data-loc":"client/src/components/DemographicComparison.tsx:121",data:a,children:[d.jsx(xg,{"data-loc":"client/src/components/DemographicComparison.tsx:122",strokeDasharray:"3 3",stroke:"hsl(var(--border) / 0.2)"}),d.jsx(ci,{"data-loc":"client/src/components/DemographicComparison.tsx:123",dataKey:"name",tick:{fontSize:12}}),d.jsx(ui,{"data-loc":"client/src/components/DemographicComparison.tsx:124",tick:{fontSize:12}}),d.jsx(tr,{"data-loc":"client/src/components/DemographicComparison.tsx:125",formatter:o=>`${o}%`}),d.jsx(Qa,{"data-loc":"client/src/components/DemographicComparison.tsx:126"}),d.jsx(Dn,{"data-loc":"client/src/components/DemographicComparison.tsx:127",dataKey:r,fill:Io.white}),d.jsx(Dn,{"data-loc":"client/src/components/DemographicComparison.tsx:128",dataKey:"DFW Average",fill:Io.asian})]})})]})]}),d.jsx("div",{"data-loc":"client/src/components/DemographicComparison.tsx:134",className:"mt-6 p-4 bg-muted/30 rounded border border-border/30",children:d.jsxs("p",{"data-loc":"client/src/components/DemographicComparison.tsx:135",className:"text-xs text-muted-foreground leading-relaxed",children:[d.jsx("span",{"data-loc":"client/src/components/DemographicComparison.tsx:136",className:"font-semibold text-foreground",children:"Data Source:"})," U.S. Census Bureau American Community Survey (ACS) 2020â2024 5-year estimates, released January 29, 2026."]})})]})}function Vce({medianHouseholdIncome:e,distribution:t,zipCode:r}){if(!e||!t)return null;const n=[{bracket:"Under $50K",percentage:t.under50k,color:"#ef4444"},{bracket:"$50Kâ$100K",percentage:t.income50to100k,color:"#f97316"},{bracket:"$100Kâ$200K",percentage:t.income100to200k,color:"#3b82f6"},{bracket:"$200K+",percentage:t.over200k,color:"#10b981"}],a=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e);return d.jsxs("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:28",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-8",children:[d.jsxs("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:29",className:"mb-6",children:[d.jsx("h3",{"data-loc":"client/src/components/IncomeDistribution.tsx:30",className:"text-sm font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-2",children:"Household Income Distribution"}),d.jsxs("p",{"data-loc":"client/src/components/IncomeDistribution.tsx:31",className:"text-sm text-foreground font-semibold",children:["Median Household Income: ",d.jsx("span",{"data-loc":"client/src/components/IncomeDistribution.tsx:31",className:"text-primary",children:a})]}),d.jsxs("p",{"data-loc":"client/src/components/IncomeDistribution.tsx:32",className:"text-xs text-muted-foreground mt-2",children:["Official ACS B19001 household brackets for ZIP ",r]})]}),d.jsx(ha,{"data-loc":"client/src/components/IncomeDistribution.tsx:34",width:"100%",height:300,children:d.jsxs(wg,{"data-loc":"client/src/components/IncomeDistribution.tsx:35",data:n,margin:{top:20,right:30,left:0,bottom:60},children:[d.jsx(xg,{"data-loc":"client/src/components/IncomeDistribution.tsx:36",strokeDasharray:"3 3",stroke:"hsl(var(--border) / 0.2)"}),d.jsx(ci,{"data-loc":"client/src/components/IncomeDistribution.tsx:37",dataKey:"bracket",angle:-45,textAnchor:"end",height:100,tick:{fontSize:12}}),d.jsx(ui,{"data-loc":"client/src/components/IncomeDistribution.tsx:38",label:{value:"Households (%)",angle:-90,position:"insideLeft"},tick:{fontSize:12}}),d.jsx(tr,{"data-loc":"client/src/components/IncomeDistribution.tsx:39",formatter:o=>`${o}%`,contentStyle:{backgroundColor:"hsl(var(--card))",border:"1px solid hsl(var(--border))",borderRadius:"4px"}}),d.jsx(Dn,{"data-loc":"client/src/components/IncomeDistribution.tsx:40",dataKey:"percentage",radius:[8,8,0,0],children:n.map(o=>d.jsx(Dn,{"data-loc":"client/src/components/IncomeDistribution.tsx:41",dataKey:"percentage",fill:o.color},o.bracket))})]})}),d.jsx("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:45",className:"mt-6 grid grid-cols-2 md:grid-cols-4 gap-4",children:n.map(o=>d.jsxs("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:47",className:"p-3 bg-muted/30 rounded border border-border/30",children:[d.jsxs("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:48",className:"flex items-center gap-2 mb-1",children:[d.jsx("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:48",className:"w-3 h-3 rounded-full",style:{backgroundColor:o.color}}),d.jsx("span",{"data-loc":"client/src/components/IncomeDistribution.tsx:48",className:"text-xs font-semibold text-foreground",children:o.bracket})]}),d.jsxs("p",{"data-loc":"client/src/components/IncomeDistribution.tsx:49",className:"text-sm font-bold text-primary",children:[o.percentage.toFixed(1),"%"]})]},o.bracket))}),d.jsx("div",{"data-loc":"client/src/components/IncomeDistribution.tsx:53",className:"mt-6 p-4 bg-muted/30 rounded border border-border/30",children:d.jsxs("p",{"data-loc":"client/src/components/IncomeDistribution.tsx:53",className:"text-xs text-muted-foreground leading-relaxed",children:[d.jsx("span",{"data-loc":"client/src/components/IncomeDistribution.tsx:53",className:"font-semibold text-foreground",children:"Data Source:"})," U.S. Census Bureau ACS 2020â2024 5-year estimates, released January 29, 2026. Brackets are aggregated directly from ACS table B19001."]})})]})}function Qce({zipCode:e,currentGrade:t,currentCounty:r}){const[,n]=ln(),[a,o]=T.useState(!1),{data:l}=_e.zip.list.useQuery(),{data:c}=_e.zip.lookup.useQuery({zipCode:e}),f=T.useMemo(()=>l?l.filter(g=>g.zip!==e).map(g=>{let m=0;return g.county===r?m+=100:r&&{Collin:["Dallas","Denton","Rockwall"],Dallas:["Collin","Denton","Tarrant","Kaufman","Ellis"],Denton:["Collin","Dallas","Tarrant","Wise"],Tarrant:["Dallas","Denton","Johnson","Parker","Wise"],Rockwall:["Collin","Kaufman","Hunt"],Ellis:["Dallas","Kaufman","Johnson"],Johnson:["Tarrant","Ellis","Hood","Somervell"],Kaufman:["Dallas","Rockwall","Ellis","Hunt"],Parker:["Tarrant","Wise","Hood"],Hunt:["Rockwall","Kaufman","Somervell"],Hood:["Johnson","Parker","Somervell","Wise"],Wise:["Denton","Tarrant","Parker","Hood"],Somervell:["Johnson","Hood","Hunt"]}[r]?.includes(g.county)&&(m+=40),{...g,similarityScore:m}}).filter(g=>g.similarityScore>0).sort((g,m)=>m.similarityScore!==g.similarityScore?m.similarityScore-g.similarityScore:g.city.localeCompare(m.city)).slice(0,a?12:6):[],[l,e,r,a]);return f.length===0?null:d.jsxs("div",{"data-loc":"client/src/components/SimilarZips.tsx:75",className:"mt-12 pt-8 border-t border-border",children:[d.jsxs("div",{"data-loc":"client/src/components/SimilarZips.tsx:76",className:"flex items-center gap-2 mb-6",children:[d.jsx(wr,{"data-loc":"client/src/components/SimilarZips.tsx:77",className:"w-5 h-5 text-primary"}),d.jsx("h2",{"data-loc":"client/src/components/SimilarZips.tsx:78",className:"text-2xl font-bold text-foreground",children:"Similar Neighborhoods"})]}),d.jsxs("p",{"data-loc":"client/src/components/SimilarZips.tsx:80",className:"text-muted-foreground mb-6",children:["Other ZIPs in ",r," County and nearby areas with comparable characteristics to ",e,"."]}),d.jsx("div",{"data-loc":"client/src/components/SimilarZips.tsx:84",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:f.map(p=>d.jsxs("div",{"data-loc":"client/src/components/SimilarZips.tsx:86",className:"bg-card border border-border rounded-lg p-4 hover:border-primary/50 transition-colors cursor-pointer group",onClick:()=>n(`/zip/${p.zip}`),children:[d.jsx("div",{"data-loc":"client/src/components/SimilarZips.tsx:91",className:"flex items-start justify-between mb-3",children:d.jsxs("div",{"data-loc":"client/src/components/SimilarZips.tsx:92",className:"flex-1",children:[d.jsx("h3",{"data-loc":"client/src/compo
503nents/SimilarZips.tsx:93",className:"font-bold text-foreground group-hover:text-primary transition-colors",children:p.zip}),d.jsx("p",{"data-loc":"client/src/components/SimilarZips.tsx:96",className:"text-sm text-muted-foreground",children:p.city}),d.jsxs("p",{"data-loc":"client/src/components/SimilarZips.tsx:97",className:"text-xs text-muted-foreground",children:[p.county," County"]})]})}),d.jsxs(be,{"data-loc":"client/src/components/SimilarZips.tsx:102",variant:"ghost",size:"sm",className:"w-full mt-3 gap-1 text-primary hover:bg-primary/10",onClick:g=>{g.stopPropagation(),n(`/zip/${p.zip}`)},children:["View Details",d.jsx(Ua,{"data-loc":"client/src/components/SimilarZips.tsx:112",className:"w-3 h-3"})]})]},p.zip))}),!a&&l&&l.filter(p=>p.county===r&&p.zip!==e).length>6&&d.jsx("div",{"data-loc":"client/src/components/SimilarZips.tsx:119",className:"mt-6 flex justify-center",children:d.jsxs(be,{"data-loc":"client/src/components/SimilarZips.tsx:120",variant:"outline",onClick:()=>o(!0),className:"gap-2",children:["View More Similar ZIPs",d.jsx(Ua,{"data-loc":"client/src/components/SimilarZips.tsx:126",className:"w-4 h-4"})]})})]})}function Yce({married:e,neverMarried:t,separated:r,widowed:n,divorced:a}){const o=t+r+n+a,l=[{name:"Married",value:e,percentage:e+o>0?Math.round(e/(e+o)*100):0},{name:"Single",value:o,percentage:e+o>0?Math.round(o/(e+o)*100):0}],c=["#3b82f6","#a855f7"],f=p=>`${p.percentage}%`;return d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:41",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mt-4",children:[d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:42",className:"flex items-center gap-2 mb-4",children:[d.jsx("svg",{"data-loc":"client/src/components/MaritalStatusChart.tsx:43",className:"w-4 h-4 text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{"data-loc":"client/src/components/MaritalStatusChart.tsx:44",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4.354a4 4 0 110 5.292M15 21H3v-2a6 6 0 0112 0v2zm0 0h6v-2a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"})}),d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:46",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Marital Status"})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:49",className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[d.jsx("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:51",className:"h-64 flex items-center justify-center",children:d.jsx(ha,{"data-loc":"client/src/components/MaritalStatusChart.tsx:52",width:"100%",height:"100%",children:d.jsxs(Cg,{"data-loc":"client/src/components/MaritalStatusChart.tsx:53",children:[d.jsx(En,{"data-loc":"client/src/components/MaritalStatusChart.tsx:54",data:l,cx:"50%",cy:"50%",labelLine:!1,label:f,outerRadius:80,fill:"#8884d8",dataKey:"value",children:l.map((p,g)=>d.jsx(no,{"data-loc":"client/src/components/MaritalStatusChart.tsx:65",fill:c[g%c.length]},`cell-${g}`))}),d.jsx(tr,{"data-loc":"client/src/components/MaritalStatusChart.tsx:68",formatter:p=>p.toLocaleString(),contentStyle:{backgroundColor:"hsl(var(--background))",border:"1px solid hsl(var(--border))",borderRadius:"0.375rem"}}),d.jsx(Qa,{"data-loc":"client/src/components/MaritalStatusChart.tsx:76"})]})})}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:82",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:83",className:"p-3 rounded bg-secondary/50",children:[d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:84",className:"text-2xl font-black text-blue-400",children:[l[0].percentage,"%"]}),d.jsx("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:85",className:"text-xs text-muted-foreground font-mono mt-1",children:"Married"}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:86",className:"text-sm text-muted-foreground mt-2",children:[e.toLocaleString()," individuals"]})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:88",className:"p-3 rounded bg-secondary/50",children:[d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:89",className:"text-2xl font-black text-purple-400",children:[l[1].percentage,"%"]}),d.jsx("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:90",className:"text-xs text-muted-foreground font-mono mt-1",children:"Single"}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:91",className:"text-sm text-muted-foreground mt-2",children:[o.toLocaleStr
503ing()," individuals"]})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:95",className:"mt-4 pt-4 border-t border-border/30 space-y-2",children:[d.jsx("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:96",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Single Breakdown"}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:97",className:"grid grid-cols-2 gap-2 text-xs",children:[d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:98",className:"text-muted-foreground",children:["Never Married: ",d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:98",className:"text-foreground font-semibold",children:t.toLocaleString()})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:99",className:"text-muted-foreground",children:["Divorced: ",d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:99",className:"text-foreground font-semibold",children:a.toLocaleString()})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:100",className:"text-muted-foreground",children:["Separated: ",d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:100",className:"text-foreground font-semibold",children:r.toLocaleString()})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:101",className:"text-muted-foreground",children:["Widowed: ",d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:101",className:"text-foreground font-semibold",children:n.toLocaleString()})]})]})]})]})]}),d.jsxs("div",{"data-loc":"client/src/components/MaritalStatusChart.tsx:107",className:"mt-4 pt-4 border-t border-border/30 text-xs text-muted-foreground",children:[d.jsx("span",{"data-loc":"client/src/components/MaritalStatusChart.tsx:108",className:"font-mono",children:"Data Source:"})," U.S. Census Bureau American Community Survey (ACS) 2020â2024 5-year estimates, released January 29, 2026."]})]})}function Xce({english:e,spanish:t,asianLanguages:r,otherLanguages:n}){const a=e+t+r+n,o=[{name:"English",value:e,percentage:a>0?Math.round(e/a*100):0},{name:"Spanish",value:t,percentage:a>0?Math.round(t/a*100):0},{name:"Asian Languages",value:r,percentage:a>0?Math.round(r/a*100):0},{name:"Other Languages",value:n,percentage:a>0?Math.round(n/a*100):0}],l=["#3b82f6","#ef4444","#10b981","#f59e0b"];return d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:44",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mt-4",children:[d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:45",className:"flex items-center gap-2 mb-4",children:[d.jsx("svg",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:46",className:"w-4 h-4 text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:47",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),d.jsx("span",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:49",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Languages Spoken at Home"})]}),d.jsx("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:52",className:"h-64 flex items-center justify-center",children:d.jsx(ha,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:53",width:"100%",height:"100%",children:d.jsxs(wg,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:54",data:o,margin:{top:20,right:30,left:0,bottom:60},children:[d.jsx(ci,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:55",dataKey:"name",angle:-45,textAnchor:"end",height:100,tick:{fontSize:12}}),d.jsx(ui,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:62",label:{value:"Number of Speakers",angle:-90,position:"insideLeft"},tick:{fontSize:12}}),d.jsx(tr,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:66",formatter:c=>
503c.toLocaleString(),contentStyle:{backgroundColor:"hsl(var(--background))",border:"1px solid hsl(var(--border))",borderRadius:"0.375rem"},labelStyle:{color:"hsl(var(--foreground))"}}),d.jsx(Dn,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:75",dataKey:"value",fill:"#8884d8",radius:[8,8,0,0],children:o.map((c,f)=>d.jsx(no,{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:77",fill:l[f%l.length]},`cell-${f}`))})]})})}),d.jsx("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:85",className:"mt-6 grid grid-cols-2 gap-3",children:o.map((c,f)=>d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:87",className:"p-3 rounded bg-secondary/50",children:[d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:88",className:"flex items-center gap-2 mb-1",children:[d.jsx("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:89",className:"w-3 h-3 rounded",style:{backgroundColor:l[f]}}),d.jsx("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:90",className:"text-xs text-muted-foreground font-mono",children:c.name})]}),d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:92",className:"text-lg font-black",style:{color:l[f]},children:[c.percentage,"%"]}),d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:95",className:"text-xs text-muted-foreground mt-1",children:[c.value.toLocaleString()," speakers"]})]},c.name))}),d.jsxs("div",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:100",className:"mt-4 pt-4 border-t border-border/30 text-xs text-muted-foreground",children:[d.jsx("span",{"data-loc":"client/src/components/HouseholdLanguageChart.tsx:101",className:"font-mono",children:"Data Source:"})," U.S. Census Bureau American Community Survey (ACS) 2020â2024 5-year estimates, released January 29, 2026."]})]})}function Jce({employed:e,unemployed:t,notInLaborForce:r}){const n=e+t+r,a=[{name:"Employed",value:e,percentage:n>0?Math.round(e/n*100):0},{name:"Unemployed",value:t,percentage:n>0?Math.round(t/n*100):0},{name:"Not in Labor Force",value:r,percentage:n>0?Math.round(r/n*100):0}],o=["#10b981","#ef4444","#6b7280"];return d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:37",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mt-4",children:[d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:38",className:"flex items-center gap-2 mb-4",children:[d.jsx("svg",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:39",className:"w-4 h-4 text-muted-foreground",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:d.jsx("path",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:40",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4m0 0L14 6m2-2l2 2M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),d.jsx("span",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:42",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Employment Status"})]}),d.jsx("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:45",className:"h-64 flex items-center justify-center",children:d.jsx(ha,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:46",width:"100%",height:"100%",children:d.jsxs(Cg,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:47",children:[d.jsx(En,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:48",data:a,cx:"50%",cy:"50%",labelLine:!1,label:({name:l,percentage:c})=>`${l}: ${c}%`,outerRadius:80,fill:"#8884d8",dataKey:"value",children:a.map((l,c)=>d.jsx(no,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:59",fill:o[c%o.length]},`cell-${c}`))}),d.jsx(tr,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:62",formatter:l=>l.toLocaleString(),contentStyle:{backgroundColor:"hsl(var(--background))",border:"1px solid hsl(var(--border))",borderRadius:"0.375rem"},labelStyle:{color:"hsl(var(--foreground))"}}),d.jsx(Qa,{"data-loc":"client/src/components/EmploymentStatusChart.tsx:71"})]})})}),d.jsx("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:77",className:"mt-6 grid grid-cols-3 gap-3",children:a.map((l,c)=>d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:79",className:"p-3 rounded bg-secondary/50",children:[d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:80",className:"flex items-center gap-2 mb-1",children:[d.jsx("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:81",className:"w-3 h-3 rounded-full",style:{backgroundColor:o[c]}}),d.jsx("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:82",className:"text-xs text-muted-foreground font-mono",children:l.name})]}),d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:84",className:"text-lg font-black",style:{color:o[c]},children:[l.percentage,"%"]}),d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:87",className:"text-xs text-muted-foreground mt-1",children:[l.value.toLocaleStr
503ing()," people"]})]},l.name))}),d.jsxs("div",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:92",className:"mt-4 pt-4 border-t border-border/30 text-xs text-muted-foreground",children:[d.jsx("span",{"data-loc":"client/src/components/EmploymentStatusChart.tsx:93",className:"font-mono",children:"Data Source:"})," U.S. Census Bureau American Community Survey (ACS) 2020â2024 5-year estimates, released January 29, 2026."]})]})}const nP="https://www.fbi.gov/news/press-releases/fbi-releases-2025-reported-crimes-in-the-nation-statistics",aP="https://www.dps.texas.gov/section/crime-records/crime-texas";function eue(){const{zipCode:e}=Vw(),[,t]=ln(),{isAuthenticated:r}=eo(),[n,a]=T.useState(!1),[o,l]=T.useState(!1),{addZip:c}=U6();T.useEffect(()=>{const H=()=>{l(window.scrollY>400)};return window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)},[]);const f=()=>{window.scrollTo({top:0,behavior:"smooth"})};T.useEffect(()=>{e&&c(e)},[e,c]);const{data:p,isLoading:g,error:m}=_e.zip.lookup.useQuery({zipCode:e??""},{enabled:!!e}),{data:y}=_e.zip.demographics.useQuery({zipCode:e??""},{enabled:!!e}),{data:b,refetch:C}=_e.favorites.check.useQuery({zipCode:e??""},{enabled:!!e&&r}),x=_e.favorites.add.useMutation({onSuccess:()=>{Re.success("Added to favorites"),C()},onError:H=>Re.error(H.message)}),w=_e.favorites.remove.useMutation({onSuccess:()=>{Re.success("Removed from favorites"),C()},onError:H=>Re.error(H.message)}),j=_e.zip.narrative.useMutation(),A=_e.zip.priceTrends.useQuery({zipCode:e??""},{enabled:!!e}),_=_e.useUtils(),M=_e.zip.refresh.useMutation({onSuccess:()=>{_.zip.lookup.invalidate({zipCode:e??""}),Re.success("Data refreshed from latest sources")},onError:H=>Re.error(`Refresh failed: ${H.message}`)}),N=()=>{a(!0),j.mutate({zipCode:e??""})},D=()=>{if(!r){window.location.href=Jd();return}b?.isFavorite?w.mutate({zipCode:e??""}):x.mutate({zipCode:e??""})},O=async()=>{const H=window.location.href;if(navigator.share)try{await navigator.share({title:`ZIP ${e} - Neighborhood Report`,text:`Check out this neighborhood report for ${e}`,url:H});return}catch(U){U.name!=="AbortError"&&console.error("Share failed:",U)}try{await navigator.clipboard.writeText(H),Re.success("Link copied to clipboard")}catch(U){console.error("Clipboard copy failed:",U),Re.error("Could not copy link")}},[P,R]=T.useState(!1),F=async()=>{if(e){R(!0);try{const H=await fetch(`/api/zip/${e}/report.pdf`);if(!H.ok)throw new Error("Failed to generate PDF");const U=await H.blob(),Y=URL.createObjectURL(U),ae=document.createElement("a");ae.href=Y,ae.download=`DFW-Report-${e}.pdf`,document.body.appendChild(ae),ae.click(),document.body.removeChild(ae),URL.revokeObjectURL(Y),Re.success("PDF downloaded successfully")}catch{Re.error("Failed to generate PDF. Please try again.")}finally{R(!1)}}};if(g)return d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:177",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/ZipDetail.tsx:178"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:179",className:"container py-20 flex flex-col items-center gap-4",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:180",className:"w-12 h-12 border-2 border-primary border-t-transparent rounded-full animate-spin"}),d.jsxs("p",{"data-loc":"client/src/pages/ZipDetail.tsx:181",className:"text-muted-foreground font-mono text-sm",children:["Fetching neighborhood data for ",e,"..."]})]})]});if(m||!p)return d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:189",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/ZipDetail.tsx:190"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:191",className:"container py-20 flex flex-col items-center gap-4 text-center",children:[d.jsx(aa,{"data-loc":"client/src/pages/ZipDetail.tsx:192",className:"w-12 h-12 text-destructive"}),d.jsx("h2",{"data-loc":"client/src/pages/ZipDetail.tsx:193",className:"text-xl font-bold text-foreground",children:"ZIP Code Not Found"}),d.jsx("p",{"data-loc":"client/src/pages/ZipDetail.tsx:194",className:"text-muted-foreground max-w-md",children:m?.message??`ZIP code ${e} was not found in the Dallas-Fort Worth database.`}),d.jsx(be,{"data-loc":"client/src/pages/ZipDetail.tsx:197",onClick:()=>t("/"),children:"Search Another ZIP"})]})]});const I=p.demographics,L=p.educationData,G=p.crimeData,W=p.dataQuality,q=I?[{name:"White",value:I.race.white,color:"#60a5fa"},{name:"Hispanic",value:I.race.hispanic,color:"#34d399"},{name:"Black",value:I.race.black,color:"#f472b6"},{name:"Asian",value:I.race.asian,color:"#a78bfa"},{name:"Other",value:I.race.other,color:"#94a3b8"}].filter(H=>H.value>0):[],k=I?[{name:"Under 18",value:Math.round(I.age.under18/(p.totalPopulation||1)*100)},{name:"18â34",value:Math.round(I.age.age18to34/(p.totalPopulation||1)*100)},{name:"35â54",value:Math.round(I.age.age35to54/(p.totalPopulation||1)*100)},{name:"55â64",value:Math.round(I.age.age55to64/(p.totalPopulation||1)*100)},{name:"65+",value:Math.round(I.age.age65plus/(p.totalPopulation||1)*100)}]:[];return d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:258",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/ZipDetail.tsx:259"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:261",className:"container py-8 pb-24 md:pb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:263",className:"flex flex-col md:flex-row md:items-start justify-between gap-4 mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:264",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:265",className:"flex items-center gap-2 text-xs font-mono text-muted-foreground mb-2",children:[d.jsx("button",{"data-loc":"client/src/pages/ZipDetail.tsx:266",onClick:()=>t("/"),className:"hover:text-primary transition-colors",children:"Search"}),d.jsx(Ua,{"data-loc":"client/src/pages/ZipDetail.tsx:267",className:"w-3 h-3"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:268",className:"text-foreground",children:e})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:270",className:"flex items-center gap-3 mb-1",children:[d.jsx(br,{"data-loc":"client/src/pages/ZipDetail.tsx:271",className:"w-5 h-5 text-primary"}),d.jsx("h1",{"data-loc":"client/src/pages/ZipDetail.tsx:272",className:"text-3xl md:text-4xl font-black text-foreground tracking-tight",children:e}),p.overallGrade&&d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:276",className:`grade-badge border ${Yi(p.overallGrade)}`,style:{color:lt(p.overallGrade),borderColor:`${lt(p.overallGrade)}60`},children:p.overallGrade})]}),d.jsxs("p",{"data-loc":"client/src/pages/ZipDetail.tsx:284",className:"text-muted-foreground font-medium",children:[p.city,", ",p.county," County, TX",p.totalPopulation&&d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:287",className:"ml-3 text-sm font-mono",children:["· Pop. ",_l(p.totalPopulation)]})]}),e&&d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:292",className:"mt-2",children:d.jsxs("button",{"data-loc":"client/src/pages/ZipDetail.tsx:293",onClick:()=>t(`/new-construction?zip=${e}`),className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full border border-[#f58220]/40 bg-[#f58220]/10 text-[#f58220] text-xs font-bold hover:bg-[#f58220]/20 hover:border-[#f58220]/60 transition-colors",title:"Search new construction homes in this ZIP code",children:[d.jsx(Yo,{"data-loc":"client/src/pages/ZipDetail.tsx:298",className:"w-3 h-3"}),"New Construction Available",d.jsx(Ua,{"data-loc":"client/src/pages/ZipDetail.tsx:300",className:"w-3 h-3"})]})}),e&&ld(e).length>0&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:306",className:"mt-2 flex flex-wrap items-center gap-1.5",children:[d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:307",className:"text-xs font-mono text-muted-foreground uppercase tracking-widest mr-1",children:"Neighborhoods:"}),ld(e).map(H=>d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:309",className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium border border-primary/30 bg-primary/10 text-primary font-mono",children:H},H))]}),e&&gh(e)?.note&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:320",className:"mt-3 flex items-start gap-2 px-3 py-2 rounded-md border border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300 text-sm",children:[d.jsx(aa,{"data-loc":"client/src/pages/ZipDetail.tsx:321",className:"w-4 h-4 mt-0.5 shrink-0"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:322",children:gh(e)?.note})]}),p.zipNote&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:326",className:"mt-2 flex items-start gap-2 px-3 py-2 rounded-md border border-blue-500/30 bg-blue-500/10 text-blue-300 text-sm",children:[d.jsx(aa,{"data-loc":"client/src/pages/ZipDetail.tsx:327",className:"w-4 h-4 mt-0.5 shrink-0"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:328",children:p.zipNote})]}),W?.notes?.filter(H=>!H.startsWith("FBI and Texas DPS")).map(H=>d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:332",className:"mt-2 flex items-start gap-2 px-3 py-2 rounded-md border border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-300 text-sm",children:[d.jsx(aa,{"data-loc":"client/src/pages/ZipDetail.tsx:333",className:"w-4 h-4 mt-0.5 shrink-0"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:334",children:H})]},H))]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:339",className:"flex items-center gap-2 flex-wrap",children:[d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:340",variant:"outline",size:"sm",onClick:D,className:b?.isFavorite?"border-yellow-500/50 text-yellow-400":"",children:[b?.isFavorite?d.jsx(Hu,{"data-loc":"client/src/pages/ZipDetail.tsx:346",className:"w-4 h-4 mr-1.5 fill-current"}):d.jsx(lG,{"data-loc":"client/src/pages/ZipDetail.tsx:346",className:"w-4 h-4 mr-1.5"}),b?.isFavorite?"Saved":"Save"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:349",variant:"outline",size:"sm",onClick:()=>t(`/compare-neighborhoods?zip=${e}`),children:[d.jsx(Nn,{"data-loc":"client/src/pages/ZipDetail.tsx:350",className:"w-4 h-4 mr-1.5"}),"Compare"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:353",variant:"outline",size:"sm",onClick:()=>t(`/report/${e}`),children:[d.jsx(mh,{"data-loc":"client/src/pages/ZipDetail.tsx:354",className:"w-4 h-4 mr-1.5"}),"Report Card"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:357",variant:"outline",size:"sm",onClick:F,disabled:P,title:"Download full report card as PDF",children:[d.jsx(D6,{"data-loc":"client/src/pages/ZipDetail.tsx:364",className:`w-4 h-4 mr-1.5 ${P?"animate-pulse":""}`}),P?"Generating...":"Export PDF"]}),d.jsx(Wce,{"data-loc":"client/src/pages/ZipDetail.tsx:367",zipCode:p.zipCode,city:p.city,overallGrade:p.overallGrade,safetyGrade:p.crimeGrade,educationGrade:p.educationGrade,commuteGrade:p.commuteGrade}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:375",variant:"outline",size:"sm",onClick:O,children:[d.jsx(M6,{"data-loc":"client/src/pages/ZipDetail.tsx:376",className:"w-4 h-4 mr-1.5"}),"Share"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:379",variant:"outline",size:"sm",onClick:()=>M.mutate({zipCode:e??""}),disabled:M.isPending,title:"Force-refresh data from Census & crime sources",children:[d.jsx(aG,{"data-loc":"client/src/pages/ZipDetail.tsx:386",className:`w-4 h-4 mr-1.5 ${M.isPending?"animate-spin":""}`}),M.isPending?"Refreshing...":"Refresh Data"]})]})]}),W&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:394",className:"flex flex-wrap items-center gap-x-4 gap-y-1 mb-5 px-3 py-2 rounded border border-border/30 bg-secondary/20 text-xs font-mono text-muted-foreground",children:[d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:395",className:"flex items-center gap-1.5",children:[W.census?.isFallbackData?d.jsx(aa,{"data-loc":"client/src/pages/ZipDetail.tsx:396",className:"w-3.5 h-3.5 text-amber-400"}):d.jsx(Gw,{"data-loc":"client/src/pages/ZipDetail.tsx:396",className:"w-3.5 h-3.5 text-green-400"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:397",className:"text-foreground font-semibold",children:["ACS: ",W.census?.vintage??"Not available"]})]}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:399",className:"text-border",children:"·"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:400",className:"flex items-center gap-1",children:[d.jsx(A6,{"data-loc":"client/src/pages/ZipDetail.tsx:401",className:"w-3 h-3"}),"Released: ",W.census?.releaseDate??"Not available"," · ZCTA geography"]}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:404",className:"text-border",children:"·"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:405",className:"inline-flex items-center gap-1",children:[d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:406",children:["Safety: FBI / TX DPS ",W.safety?.vintage??"2025"," · estimate, not direct ZIP reporting"]}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:407",href:nP,target:"_blank",rel:"noreferrer",title:"Open the FBIâs official final 2025 annual crime-release page","aria-label":"Open the FBI official final 2025 annual crime-release page in a new tab",className:"inline-flex text-primary hover:text-primary/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm",children:d.jsx(Tu,{"data-loc":"client/src/pages/ZipDetail.tsx:415",className:"w-3 h-3"})}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:417",href:aP,target:"_blank",rel:"noreferrer",title:"Open the Texas DPS official Crime in Texas annual-report page","aria-label":"Open the Texas DPS official Crime in Texas annual-report page in a new tab",className:"inline-flex text-primary hover:text-primary/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm",children:d.jsx(Tu,{"data-loc":"client/src/pages/ZipDetail.tsx:425",className:"w-3 h-3"})})]}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:428",className:"text-border",children:"·"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:429",children:["District TEA: TAPR ",W.education?.performanceYear??"N/A"," · ratings ",W.education?.accountabilityYear??"N/A"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:434",className:"relative rounded border border-primary/30 bg-primary/5 p-5 mb-8 blueprint-corner overflow-hidden",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:435",className:"absolute inset-0 pointer-events-none",children:d.jsxs("svg",{"data-loc":"client/src/pages/ZipDetail.tsx:436",className:"absolute right-0 top-0 w-32 h-32 opacity-5",viewBox:"0 0 100 100",fill:"none",children:[d.jsx("circle",{"data-loc":"client/src/pages/ZipDetail.tsx:437",cx:"50",cy:"50",r:"45",stroke:"#4d7fff",strokeWidth:"1",strokeDasharray:"3 3"}),d.jsx("circle",{"data-loc":"client/src/pages/ZipDetail.tsx:438",cx:"50",cy:"50",r:"30",stroke:"#4d7fff",strokeWidth:"0.5"})]})}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:441",className:"flex flex-col md:flex-row md:items-center gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:442",className:"flex items-center gap-4",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:443",className:`grade-badge border text-5xl w-20 h-20 ${Yi(p.overallGrade??"")}`,style:{color:lt(p.overallGrade??""),borderColor:`${lt(p.overallGrade??"")}60`},children:p.overallGrade??"?"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:449",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:450",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-1",children:"Overall Neighborhood Score"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:453",className:"text-2xl font-black text-foreground",children:[p.overallScore??0,"/100"]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:456",className:"text-sm text-muted-foreground mt-0.5",children:"Composite: Safety (35%) + Education (35%) + Commute (30%)"})]})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:461",className:"md:ml-auto flex gap-6 flex-wrap",children:[{label:"Safety",grade:p.crimeGrade,score:p.crimeScore},{label:"Education",grade:p.educationGrade,score:p.educationScore},{label:
503"Commute",grade:p.commuteGrade,score:p.commuteScore}].map(({label:H,grade:U,score:Y})=>d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:467",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:468",className:"text-xs font-mono text-muted-foreground mb-1",children:H}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:469",className:"text-2xl font-black",style:{color:lt(U??"")},children:U??"?"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:472",className:"text-xs font-mono text-muted-foreground",children:[Y??0,"/100"]})]},H))})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:481",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:482",children:[d.jsx(Wo,{"data-loc":"client/src/pages/ZipDetail.tsx:483",label:"Neighborhood Safety",grade:p.crimeGrade,score:p.crimeScore,description:G?.safetyRating?`${G.safetyRating}. Crime Index: ${G.crimeIndex} (US avg = 100). Estimated violent: ${G.violentCrimeRate}/100k · estimated property: ${G.propertyCrimeRate}/100k.`:void 0,icon:d.jsx(Xd,{"data-loc":"client/src/pages/ZipDetail.tsx:488",className:"w-4 h-4"}),freshness:"2025 final annual crime releases"}),d.jsx("aside",{"data-loc":"client/src/pages/ZipDetail.tsx:491",className:"mt-3 rounded border border-sky-500/25 bg-sky-500/5 p-3 text-xs text-muted-foreground","aria-label":"Crime-data methodology",children:d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:492",className:"flex items-start gap-2",children:[d.jsx(Ww,{"data-loc":"client/src/pages/ZipDetail.tsx:493",className:"mt-0.5 h-4 w-4 shrink-0 text-sky-400"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:494",children:[d.jsx("p",{"data-loc":"client/src/pages/ZipDetail.tsx:495",className:"font-semibold text-foreground",children:"How the safety score is reported"}),d.jsxs("p",{"data-loc":"client/src/pages/ZipDetail.tsx:496",className:"mt-1 leading-relaxed",children:["FBI and Texas DPS annual reporting is agency- and jurisdiction-based, not ZIP-based. This ZIP score is a geographic estimate built from those releases and should be verified locally before client use. The newest final annual release currently covers ",d.jsx("strong",{"data-loc":"client/src/pages/ZipDetail.tsx:497",className:"text-foreground",children:"2025"}),"; the 2026 publication year does not mean final 2026 crime-year data are available."]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:499",className:"mt-2 flex flex-wrap gap-x-3 gap-y-1",children:[d.jsxs("a",{"data-loc":"client/src/pages/ZipDetail.tsx:500",href:nP,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 text-primary hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm",children:["FBI annual release ",d.jsx(Tu,{"data-loc":"client/src/pages/ZipDetail.tsx:500",className:"h-3 w-3"})]}),d.jsxs("a",{"data-loc":"client/src/pages/ZipDetail.tsx:501",href:aP,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 text-primary hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm",children:["Texas DPS annual report ",d.jsx(Tu,{"data-loc":"client/src/pages/ZipDetail.tsx:501",className:"h-3 w-3"})]})]})]})]})}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:507",className:"mt-4",children:d.jsx(Wo,{"data-loc":"client/src/pages/ZipDetail.tsx:508",label:"Commute",grade:p.commuteGrade,score:p.commuteScore,description:p.avgCommuteMinutes?`Average commute: ${p.avgCommuteMinutes.toFixed(0)} minutes to work.`:void 0,icon:d.jsx(ei,{"data-loc":"client/src/pages/ZipDetail.tsx:513",className:"w-4 h-4"}),freshness:`ACS released ${W?.census?.releaseDate??"Jan 2026"}`})})]}),d.jsx(Wo,{"data-loc":"client/src/pages/ZipDetail.tsx:518",label:"Education",grade:p.educationGrade,score:p.educationScore,description:L?.description,icon:d.jsx(is,{"data-loc":"client/src/pages/ZipDetail.tsx:523",className:"w-4 h-4"}),badge:sd(e??""),freshness:`ACS released ${W?.census?.releaseDate??"Jan 2026"}`})]}),p.taprData&&d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:531",className:"mb-4",children:d.jsx(Gce,{"data-loc":"client/src/pages/ZipDetail.tsx:532",district:p.taprData.district,staarELA:p.taprData.staarELA,staarMath:p.taprData.staarMath,staarScience:p.taprData.staarScience,graduationRate:p.taprData.graduationRate,collegeReadiness:p.taprData.collegeReadiness,accountabilityRating:p.taprData.accountabilityRating,accountabilityScore:p.taprData.accountabilityScore,performanceYear:p.taprData.performanceYear,accountabilityYear:p.taprData.accountabilityYear,geographicLevel:p.taprData.geographicLevel,dataSource:p.taprData.dataSource})}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:550",className:"mb-8",children:d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:551",className:"rounded border border-border/50 bg-card p-5 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:552",className:"flex items-start justify-between gap-2 mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:553",className:"flex items-center gap-2",children:[d.jsx(is,{"data-loc":"client/src/pages/ZipDetail.tsx:554",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:555",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Education Attainment"})]}),e&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:558",className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-primary/30 bg-primary/5 text-xs font-mono text-primary/80 shrink-0",children:[d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:559",className:"w-1.5 h-1.5 rounded-full bg-primary/60 inline-block"}),sd(e)]})]}),L?d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:565",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:566",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:567",className:"flex justify-between text-xs font-mono mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:568",className:"text-muted-foreground",children:"HS Grad or Higher"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:569",className:"text-foreground font-bold",children:[L.hsGradOrHigher.toFixed(1),"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:571",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:572",className:"h-full rounded-full bg-blue-500",style:{width:`${L.hsGradOrHigher}%`}})})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:575",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:576",className:"flex justify-between text-xs font-mono mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:577",className:"text-muted-foreground",children:"Bachelor's or Higher"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:578",className:"text-foreground font-bold",children:[L.bachelorsOrHigher.toFixed(1),"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:580",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:581",className:"h-full rounded-full bg-purple-500",style:{width:`${L.bachelorsOrHigher}%`}})})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:584",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:585",className:"flex justify-between text-xs font-mono mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:586",className:"text-muted-foreground",children:"ACS Attainment Index"}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:587",className:"text-foreground font-bold",children:[L.estimatedSchoolRating.toFixed(1),"/10"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:589",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:590",className:"h-full rounded-full bg-green-500",style:{width:`${L.estimatedSchoolRating*10}%`}})})]}),d.jsxs("p",{"data-loc":"client/src/pages/ZipDetail.tsx:593",className:"text-xs text-muted-foreground mt-2 italic",children:["Grade: ",L.grade
503Source??"Official TEA district metrics",". Index reflects ACS attainmentânot a school rating."]})]}):d.jsx("p",{"data-loc":"client/src/pages/ZipDetail.tsx:595",className:"text-muted-foreground text-sm",children:"No education data available."})]})}),I&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:601",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:603",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:604",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:605",className:"flex items-center gap-2 mb-4",children:[d.jsx(F2,{"data-loc":"client/src/pages/ZipDetail.tsx:606",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:607",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Race / Ethnicity"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:609",className:"flex items-center gap-4",children:[d.jsx(ha,{"data-loc":"client/src/pages/ZipDetail.tsx:610",width:140,height:140,children:d.jsx(Cg,{"data-loc":"client/src/pages/ZipDetail.tsx:611",children:d.jsx(En,{"data-loc":"client/src/pages/ZipDetail.tsx:612",data:q,cx:65,cy:65,innerRadius:35,outerRadius:60,dataKey:"value",strokeWidth:0,children:q.map((H,U)=>d.jsx(no,{"data-loc":"client/src/pages/ZipDetail.tsx:614",fill:H.color},U))})})}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:619",className:"flex-1 space-y-1.5",children:q.map(H=>d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:621",className:"flex items-center justify-between gap-2",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:622",className:"flex items-center gap-1.5",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:623",className:"w-2.5 h-2.5 rounded-full flex-shrink-0",style:{backgroundColor:H.color}}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:624",className:"text-xs text-muted-foreground",children:H.name})]}),d.jsxs("span",{"data-loc":"client/src/pages/ZipDetail.tsx:626",className:"text-xs font-mono font-bold text-foreground",children:[H.value.toFixed(1),"%"]})]},H.name))})]})]}),p&&p.demographics?.race&&d.jsx(Kce,{"data-loc":"client/src/pages/ZipDetail.tsx:634",zipRace:p.demographics.race,dfwRace:{white:52,black:15,asian:9,hispanic:20,other:4},zipCode:p.zipCode})]}),I&&I.maritalStatus&&d.jsx(Yce,{"data-loc":"client/src/pages/ZipDetail.tsx:649",married:I.maritalStatus.married,neverMarried:I.maritalStatus.neverMarried,separated:I.maritalStatus.separated,widowed:I.maritalStatus.widowed,divorced:I.maritalStatus.divorced}),I&&I.languageSpoken&&d.jsx(Xce,{"data-loc":"client/src/pages/ZipDetail.tsx:659",english:I.languageSpoken.english,spanish:I.languageSpoken.spanish,asianLanguages:I.languageSpoken.asianLanguages,otherLanguages:I.languageSpoken.otherLanguages}),I&&I.employmentStatus&&d.jsx(Jce,{"data-loc":"client/src/pages/ZipDetail.tsx:668",employed:I.employmentStatus.employed,unemployed:I.employmentStatus.unemployed,notInLaborForce:I.employmentStatus.notInLaborForce})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:679",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-8",children:d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:681",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:682",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:683",className:"flex items-center gap-2 mb-4",children:[d.jsx(wr,{"data-loc":"client/src/pages/ZipDetail.tsx:684",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:685",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Income & Economy"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:687",className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:688",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:689",className:"text-xs text-muted-foreground font-mono mb-1",children:"Median Household Income"}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:690",className:"text-2xl font-black text-green-400",children:Xo(p.medianHouseholdIncome)})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:692",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:693",className:"text-xs text-muted-foreground font-mono mb-1",children:"Median Age"}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:694",className:"text-2xl font-black text-foreground",children:p.medianAge?.toFixed(1)??"N/A"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:696",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:697",className:"text-xs text-muted-foreground font-mono mb-1",children:"Avg. Commute"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:698",className:"text-xl font-bold text-foreground",children:[p.avgCommuteMinutes?.toFixed(0)??"N/A"," min"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:700",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:701",className:"text-xs text-muted-foreground font-mono mb-1",children:"Total Population"}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:702",className:"text-xl font-bold text-foreground",children:_l(p.totalPopulation)})]})]})]}),p&&d.jsx(Vce,{"data-loc":"client/src/pages/ZipDetail.tsx:708",medianHouseholdIncome:p.medianHouseholdIncome,distribution:p.demographics?.incomeDistribution,zipCode:p.zipCode}),I&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:716",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-4 mt-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:717",className:"flex items-center gap-2 mb-4",children:[d.jsx(F2,{"data-loc":"client/src/pages/ZipDetail.tsx:718",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:719",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Age Distribution"})]}),d.jsx(ha,{"data-loc":"client/src/pages/ZipDetail.tsx:721",width:"100%",height:140,children:d.jsxs(wg,{"data-loc":"client/src/pages/ZipDetail.tsx:722",data:k,margin:{top:0,right:0,left:-20,bottom:0},children:[d.jsx(ci,{"data-loc":"client/src/pages/ZipDetail.tsx:723",dataKey:"name",tick:{fontSize:10,fill:"#6b7280"}}),d.jsx(ui,{"data-loc":"client/src/pages/ZipDetail.tsx:724",tick:{fontSize:10,fill:"#6b7280"},unit:"%"}),d.jsx(tr,{"data-loc":"client/src/pages/ZipDetail.tsx:725",contentStyle:{background:"#1a2540",border:"1px solid #2d3f6e",borderRadius:4,fontSize:12},formatter:H=>[`${H}%`,"Population"]}),d.jsx(Dn,{"data-loc":"client/src/pages/ZipDetail.tsx:729",dataKey:"value",fill:"#4d7fff",radiu
503s:[2,2,0,0]})]})})]}),I&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:736",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mt-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:737",className:"flex items-center gap-2 mb-4",children:[d.jsx($m,{"data-loc":"client/src/pages/ZipDetail.tsx:738",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:739",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Household Composition"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:741",className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:742",className:"text-center p-3 rounded bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:743",className:"text-2xl font-black text-foreground",children:_l(I.household.total)}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:744",className:"text-xs text-muted-foreground font-mono mt-1",children:"Total Households"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:746",className:"text-center p-3 rounded bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:747",className:"text-2xl font-black text-foreground",children:I.household.avgSize.toFixed(2)}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:748",className:"text-xs text-muted-foreground font-mono mt-1",children:"Avg. Household Size"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:750",className:"text-center p-3 rounded bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:751",className:"text-2xl font-black text-blue-400",children:I.household.total>0?`${Math.round(I.household.ownerOccupied/I.household.total*100)}%`:"N/A"}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:756",className:"text-xs text-muted-foreground font-mono mt-1",children:"Owner-Occupied"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:758",className:"text-center p-3 rounded bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:759",className:"text-2xl font-black text-purple-400",children:I.household.total>0?`${Math.round(I.household.renterOccupied/I.household.total*100)}%`:"N/A"}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:764",className:"text-xs text-muted-foreground font-mono mt-1",children:"Renter-Occupied"})]})]})]})]})}),A.data?.available&&A.data.data?d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:774",className:"mb-8",children:d.jsx(qce,{"data-loc":"client/src/pages/ZipDetail.tsx:775",monthlyData:A.data.data.monthlyData,appreciation12mPct:A.data.data.appreciation12mPct,city:p.city,dataSource:A.data.data.dataSource,isLoading:A.isLoading,error:A.error?.message??void 0})}):null,e&&y&&d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:788",className:"mb-8",children:d.jsx(Zce,{"data-loc":"client/src/pages/ZipDetail.tsx:789",...y})}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:796",className:"rounded border border-border/50 bg-card p-5 blueprint-corner mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:797",className:"flex items-center justify-between mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:798",className:"flex items-center gap-2",children:[d.jsx(q2,{"data-loc":"client/src/pages/ZipDetail.tsx:799",className:"w-4 h-4 text-primary"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:800",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"AI Neighborhood Summary"})]})," ",!n&&d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:802",size:"sm",variant:"outline",onClick:N,className:"font-semibold",children:[d.jsx(q2,{"data-loc":"client/src/pages/ZipDetail.tsx:803",className:"w-3.5 h-3.5 mr-1.5"}),"Generate Summary"]})]}),j.isPending&&d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:809",className:"flex items-center gap-3 text-muted-foreground",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:810",className:"w-4 h-4 border-2 border-primary border-t-transparent roun
503ded-full animate-spin"}),d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:811",className:"text-sm font-mono",children:"Analyzing neighborhood data..."})]}),j.data&&d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:815",className:"prose prose-sm max-w-none",children:d.jsx("p",{"data-loc":"client/src/pages/ZipDetail.tsx:816",className:"text-foreground/90 leading-relaxed text-sm whitespace-pre-wrap",children:String(j.data.narrative)})}),!n&&!j.data&&d.jsx("p",{"data-loc":"client/src/pages/ZipDetail.tsx:822",className:"text-sm text-muted-foreground italic",children:'Click "Generate Summary" to get an AI-powered plain-language analysis of this neighborhood based on its grades and data.'})]}),p&&d.jsx(Qce,{"data-loc":"client/src/pages/ZipDetail.tsx:829",zipCode:e??"",currentGrade:p.overallGrade,currentCounty:p.county}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:837",className:"flex flex-wrap gap-3 mb-8",children:[d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:838",onClick:()=>t(`/report/${e}`),className:"font-semibold",children:[d.jsx(mh,{"data-loc":"client/src/pages/ZipDetail.tsx:839",className:"w-4 h-4 mr-2"}),"Print Report Card"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:842",variant:"outline",onClick:()=>t(`/compare?zip=${e}`),children:[d.jsx(Nn,{"data-loc":"client/src/pages/ZipDetail.tsx:844",className:"w-4 h-4 mr-2"}),"Compare with Other ZIPs"]}),d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:847",variant:"outline",onClick:()=>t("/map"),children:[d.jsx(br,{"data-loc":"client/src/pages/ZipDetail.tsx:848",className:"w-4 h-4 mr-2"}),"View on Map"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:854",className:"rounded border border-primary/40 bg-primary/5 p-5 blueprint-corner",children:d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:855",className:"flex flex-col md:flex-row items-start md:items-center gap-5",children:[d.jsx("img",{"data-loc":"client/src/pages/ZipDetail.tsx:857",src:xe.headshot,alt:xe.name,className:"w-16 h-16 rounded-full object-cover border-2 border-primary/40 shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:863",className:"flex-1 min-w-0",children:[d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:864",className:"text-sm font-mono font-bold text-foreground mb-0.5",children:["Ready to make a move in ",e,"?"]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:865",className:"text-xs text-muted-foreground leading-relaxed",children:["Contact ",d.jsx("span",{"data-loc":"client/src/pages/ZipDetail.tsx:866",className:"text-foreground font-semibold",children:xe.name})," at ",xe.broker," for expert guidance on buying or selling in this neighborhood."]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:868",className:"flex flex-wrap gap-x-4 gap-y-1 mt-2",children:[d.jsxs("a",{"data-loc":"client/src/pages/ZipDetail.tsx:869",href:xe.phoneHref,className:"flex items-center gap-1.5 text-xs font-mono text-primary hover:text-primary/80 transition-colors",children:[d.jsx(Ka,{"data-loc":"client/src/pages/ZipDetail.tsx:870",className:"w-3.5 h-3.5"}),xe.phone]}),d.jsxs("a",{"data-loc":"client/src/pages/ZipDetail.tsx:873",href:xe.emailHref,className:"flex items-center gap-1.5 text-xs font-mono text-primary hover:text-primary/80 transition-colors",children:[d.jsx(ca,{"data-loc":"client/src/pages/ZipDetail.tsx:874",className:"w-3.5 h-3.5"}),xe.email]}),d.jsxs("a",{"data-loc":"client/src/pages/ZipDetail.tsx:877",href:xe.websiteHref,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 text-xs font-mono text-primary hover:text-primary/80 transition-colors",children:[d.jsx(ad,{"data-loc":"client/src/pages/ZipDetail.tsx:878",className:"w-3.5 h-3.5"}),xe.website]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:884",className:"flex flex-col gap-2 shrink-0",children:[d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:885",href:xe.phoneHref,children:d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:886",className:"w-full font-semibold",size:"sm",children:[d.jsx(Ka,{"data-loc":"client/src/pages/ZipDetail.tsx:887",className:"w-3.5 h-3.5 mr-1.5"}),"Call Marcus"]})}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:891",href:xe.emailHref,children:d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:892",variant:"outline",className:"w-full",size:"sm",children:[d.jsx(ca,{"data-loc":"client/src/pages/ZipDetail.tsx:893",className:"w-3.5 h-3.5 mr-1.5"}),"Send Email"]})})]})]})})]}),o&&d.jsx("button",{"data-loc":"client/src/pages/ZipDetail.tsx:905",onClick:f,className:"fixed bottom-24 md:bottom-8 right-4 md:right-8 z-40 p-3 rounded-full bg-primary text-primary-foreground shadow-lg hover:bg-primary/90 transition-all duration-200 hover:scale-110 active:scale-95",title:"Back to top","aria-label":"Back to top",children:d.jsx(FU,{"data-loc":"client/src/pages/ZipDetail.tsx:911",className:"w-5 h-5"})}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:915",className:"fixed bottom-0 left-0 right-0 z-50 md:hidden",children:d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:916",className:"flex items-center gap-2 px-4 py-3 bg-card/95 backdrop-blur-sm border-t border-border/60 shadow-lg",children:[d.jsx("img",{"data-loc":"client/src/pages/ZipDetail.tsx:917",src:xe.headshot,alt:xe.name,className:"w-9 h-9 rounded-full object-cover object-[center_15%] border border-primary/40 flex-shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/ZipDetail.tsx:922",className:"flex-1 min-w-0",children:[d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:923",className:"text-xs font-bold text-foreground truncate",children:xe.name}),d.jsx("div",{"data-loc":"client/src/pages/ZipDetail.tsx:924",className:"text-[10px] text-muted-foreground font-mono truncate",children:"Coldwell Banker · DFW"})]}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:926",href:xe.phoneHref,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:927",size:"sm",className:"gap-1.5 font-semibold px-4",children:[d.jsx(Ka,{"data-loc":"client/src/pages/ZipDetail.tsx:928",className:"w-3.5 h-3.5"}),"Call"]})}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:932",href:`sms:${xe.phone.replace(/-/g,"")}?body=Hi%20Marcus%2C%20I%20saw%20the%20report%20for%20ZIP%20${e}%20and%20would%20like%20to%20learn%20more.`,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:933",size:"sm",variant:"outline",className:"gap-1.5 px-3 bg-secondary/50",children:[d.jsx(E6,{"data-loc":"client/src/pages/ZipDetail.tsx:934",className:"w-3.5 h-3.5"}),"Text"]})}),d.jsx("a",{"data-loc":"client/src/pages/ZipDetail.tsx:938",href:xe.emailHref,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ZipDetail.tsx:939",size:"sm",variant:"outline",className:"gap-1.5 px-3 bg-secondary/50",children:[d.jsx(ca,{"data-loc":"client/src/pages/ZipDetail.tsx:940",className:"w-3.5 h-3.5"}),"Email"]})})]})})]})}
503function tue(){const e=Qw(),r=new URLSearchParams(e).get("zip")??"",[n,a]=T.useState(r?[r]:[]),[o,l]=T.useState(""),[c,f]=T.useState(""),[p,g]=T.useState(!1),{data:m}=_e.zip.list.useQuery(),{data:y,isLoading:b}=_e.zip.compare.useQuery({zipCodes:n},{enabled:n.length>=2}),{data:C}=_e.comparisonHistory.list.useQuery(void 0,{enabled:n.length<2}),x=_e.comparisonHistory.record.useMutation(),{user:w}=eo(),j=O=>{const P=O.trim();if(!P.match(/^\d{5}$/)){f("Enter a valid 5-digit ZIP code");return}if(n.includes(P)){f("ZIP already added");return}if(n.length>=3){f("Maximum 3 ZIP codes");return}if(!m?.some(F=>F.zip===P)&&m?.length){f("ZIP not in Dallas-Fort Worth");return}a([...n,P]),l(""),f("")},A=O=>a(n.filter(P=>P!==O));T.useEffect(()=>{n.length>=2&&w&&y&&x.mutate({zipCodes:n})},[n.length,w,y]);const _=async()=>{if(!(!y||y.length<2)){g(!0);try{const O=n.join(","),P=`/api/zip/comparison-report.pdf?zips=${encodeURIComponent(O)}`,R=await fetch(P);if(!R.ok)throw new Error(`PDF generation failed: ${R.statusText}`);const F=await R.blob(),I=URL.createObjectURL(F),L=document.createElement("a");L.href=I,L.download=`DFW-Comparison-${O.replace(/,/g,"-")}.pdf`,document.body.appendChild(L),L.click(),document.body.removeChild(L),URL.revokeObjectURL(I)}catch(O){console.error("Export failed:",O)}finally{g(!1)}}},M=[{key:"crimeGrade",scoreKey:"crimeScore",label:"Safety",icon:Xd,color:"#ef4444"},{key:"educationGrade",scoreKey:"educationScore",label:"Education",icon:is,color:"#3b82f6"},{key:"commuteGrade",scoreKey:"commuteScore",label:"Commute",icon:ei,color:"#8b5cf6"},{key:"overallGrade",scoreKey:"overallScore",label:"Overall",icon:Nn,color:"#22c55e"}],N=["#4d7fff","#f59e0b","#ec4899"],D=y?["Safety","Education","Commute"].map(O=>{const P={subject:O};return y.forEach((R,F)=>{const I=O==="Safety"?"crimeScore":O==="Education"?"educationScore":"commuteScore";P[R?.zipCode??`zip${F}`]=R?.[I]??0}),P}):[];return d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:102",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/Compare.tsx:103"}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:104",className:"container py-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:106",className:"mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:107",className:"flex items-center gap-2 mb-2",children:[d.jsx(Nn,{"data-loc":"client/src/pages/Compare.tsx:108",className:"w-5 h-5 text-primary"}),d.jsx("h1",{"data-loc":"client/src/pages/Compare.tsx:109",className:"text-3xl font-black text-foreground",children:"ZIP Code Comparison"})]}),d.jsx("p",{"data-loc":"client/src/pages/Compare.tsx:111",className:"text-muted-foreground",children:"Compare up to 3 DFW ZIP codes side by side."})]}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:115",className:"rounded border border-border/50 bg-card p-5 mb-8 blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:116",className:"flex items-center gap-2 mb-4",children:d.jsxs("span",{"data-loc":"client/src/pages/Compare.tsx:117",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:["Selected ZIP Codes (",n.length,"/3)"]})}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:123",className:"flex flex-wrap gap-2 mb-4",children:[n.map((O,P)=>{const R=m?.find(F=>F.zip===O);return d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:127",className:"flex items-center gap-2 px-3 py-1.5 rounded border text-sm font-mono font-semibold",style:{borderColor:`${N[P]}60`,backgroundColor:`${N[P]}15`,color:N[P]},children:[d.jsx(br,{"data-loc":"client/src/pages/Compare.tsx:132",className:"w-3 h-3"}),O," ",R?`â ${R.city}`:"",d.jsx("button",{"data-loc":"client/src/pages/Compare.tsx:134",onClick:()=>A(O),className:"ml-1 opacity-60 hover:opacity-100",children:d.jsx(Ji,{"data-loc":"client/src/pages/Compare.tsx:135",className:"w-3 h-3"})})]},O)}),n.length===0&&d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:141",className:"text-sm text-muted-foreground italic",children:"No ZIP codes added yet"})]}),n.length<3&&d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:147",className:"flex gap-2",children:[d.jsx("input",{"data-loc":"client/src/pages/Compare.tsx:148",type:"text",value:o,onChange:O=>{l(O.target.value),f("")},onKeyDown:O=>O.key==="Enter"&&j(o),placeholder:"Enter ZIP code (e.g. 75205)...",maxLength:5,className:"flex-1 bg-secondary border border-border rounded px-3 py-2 text-sm font-mono text-foreground placeholder:text-muted-foreground outline-none focus:border-primary/60"}),d.jsxs(be,{"data-loc":"client/src/pages/Compare.tsx:157",size:"sm",onClick:()=>j(o),disabled:!o,children:[d.jsx(B2,{"data-loc":"client/src/pages/Compare.tsx:158",className:"w-4 h-4 mr-1"}),"Add"]})]}),c&&d.jsxs("p",{"data-loc":"client/src/pages/Compare.tsx:164",className:"text-xs text-destructive mt-2 flex items-center gap-1",children:[d.jsx(aa,{"data-loc":"client/src/pages/Compare.tsx:165",className:"w-3 h-3"}),c]})]}),b&&n.length>=2&&d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:173",className:"flex items-center gap-3 text-muted-foreground py-8 justify-center",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:174",className:"w-5 h-5 border-2 border-primary border-t-transparent roun
503ded-full animate-spin"}),d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:175",className:"font-mono text-sm",children:"Fetching comparison data..."})]}),y&&y.length>=2&&d.jsxs(d.Fragment,{children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:183",className:"flex justify-end mb-6",children:d.jsxs(be,{"data-loc":"client/src/pages/Compare.tsx:184",onClick:_,disabled:p,variant:"outline",size:"sm",className:"gap-2",children:[d.jsx(VU,{"data-loc":"client/src/pages/Compare.tsx:191",className:"w-4 h-4"}),p?"Generating...":"Export Comparison"]})}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:197",className:"rounded border border-border/50 bg-card p-5 mb-6 blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:198",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-4",children:"Score Comparison Radar"}),d.jsx(ha,{"data-loc":"client/src/pages/Compare.tsx:201",width:"100%",height:260,children:d.jsxs(Bce,{"data-loc":"client/src/pages/Compare.tsx:202",data:D,children:[d.jsx(y8,{"data-loc":"client/src/pages/Compare.tsx:203",stroke:"#2d3f6e"}),d.jsx(Cc,{"data-loc":"client/src/pages/Compare.tsx:204",dataKey:"subject",tick:{fontSize:12,fill:"#94a3b8"}}),y.map((O,P)=>d.jsx(df,{"data-loc":"client/src/pages/Compare.tsx:206",name:`${O?.zipCode} (${O?.city})`,dataKey:O?.zipCode??`zip${P}`,stroke:N[P],fill:N[P],fillOpacity:.15},O?.zipCode)),d.jsx(tr,{"data-loc":"client/src/pages/Compare.tsx:215",contentStyle:{background:"#1a2540",border:"1px solid #2d3f6e",borderRadius:4,fontSize:12}})]})}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:220",className:"flex justify-center gap-6 mt-2",children:y.map((O,P)=>d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:222",className:"flex items-center gap-1.5 text-xs font-mono",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:223",className:"w-3 h-3 rounded-full",style:{backgroundColor:N[P]}}),d.jsxs("span",{"data-loc":"client/src/pages/Compare.tsx:224",style:{color:N[P]},children:[O?.zipCode," â ",O?.city]})]},O?.zipCode))})]}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:231",className:"rounded border border-border/50 bg-card overflow-hidden mb-6 blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:232",className:"p-4 border-b border-border/50",children:d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:233",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"Grade Comparison"})}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:237",className:"overflow-x-auto",children:d.jsxs("table",{"data-loc":"client/src/pages/Compare.tsx:238",className:"w-full",children:[d.jsx("thead",{"data-loc":"client/src/pages/Compare.tsx:239",children:d.jsxs("tr",{"data-loc":"client/src/pages/Compare.tsx:240",className:"border-b border-border/30",children:[d.jsx("th",{"data-loc":"client/src/pages/Compare.tsx:241",className:"text-left p-4 text-xs font-mono text-muted-foreground uppercase tracking-wider",children:"Category"}),y.map((O,P)=>{const R=ld(O?.zipCode??"");return d.jsxs("th",{"data-loc":"client/src/pages/Compare.tsx:245",className:"text-center p-4",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:246",className:"text-sm font-black font-mono",style:{color:N[P]},children:O?.zipCode}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:247",className:"text-xs text-muted-foreground",children:O?.city}),R.length>0&&d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:249",className:"flex flex-wrap justify-center gap-1 mt-1.5",children:[R.slice(0,3).map(F=>d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:251",className:"inline-block px-1.5 py-0.5 rounded text-xs border border-primary/20 bg-primary/10 text-primary font-mono leading-tight",children:F},F)),R.length>3&&d.jsxs("span",{"data-loc":"client/src/pages/Compare.tsx:256",className:"text-xs text-muted-foreground font-mono",children:["+",R.length-3," more"]})]})]},O?.zipCode)})]})}),d.jsxs("tbody",{"data-loc":"client/src/pages/Compare.tsx:265",children:[M.map(({key:O,scoreKey:P,label:R,icon:F,color:I})=>d.jsxs("tr",{"data-loc":"client/src/pages/Compare.tsx:267",className:"border-b border-border/20 hover:bg-secondary/30 transition-colors",children:[d.jsx("td",{"data-loc":"client/src/pages/Compare.tsx:268",className:"p-4",children:d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:269",className:"flex items-center gap-2",children:[d.jsx(F,{"data-loc":"client/src/pages/Compare.tsx:270",className:"w-4 h-4",style:{color:I}}),d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:271",className:"text-sm font-medium text-foreground",children:R})]})}),y.map(L=>{const G=L?.[O]??"?",W=L?.[P]??0;return d.jsxs("td",{"data-loc":"client/src/pages/Compare.tsx:278",className:"p-4 text-center",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:279",className:`inline-flex flex-col items-center gap-1 px-3 py-2 rounded border ${Yi(G)}`,style:{borderColor:`${lt(G)}40`},children:[d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:283",className:"text-xl font-black",style:{color:lt(G)},children:G}),d.jsxs("span",{"data-loc":"client/src/pages/Compare.tsx:284",className:"text-xs font-mono",style:{color:lt(G)},children:[W,"/100"]})]}),O==="educationGrade"&&L?.zipCode&&d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:287",className:"mt-1.5 text-xs font-mono text-muted-foreground",children:sd(L.zipCode)})]},L?.zipCode)})]},O)),d.jsxs("tr",{"data-loc":"client/src/pages/Compare.tsx:295",className:"border-b border-border/20 hover:bg-secondary/30 transition-colors",children:[d.jsx("td",{"data-loc":"client/src/pages/Compare.tsx:296",className:"p-4",children:d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:297",className:"flex items-center gap-2",children:[d.jsx(wr,{"data-loc":"client/src/pages/Compare.tsx:298",className:"w-4 h-4 text-green-400"}),d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:299",className:"text-sm font-medium text-foreground",children:"Median Income"})]})}),y.map(O=>d.jsx("td",{"data-loc":"client/src/pages/Compare.tsx:303",className:"p-4 text-center",children:d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:304",className:"text-sm font-bold text-green-400",children:Xo(O?.medianHouseholdIncome)})},O?.zipCode))]}),d.jsxs("tr",{"data-loc":"client/src/pages/Compare.tsx:309",className:"hover:bg-secondary/30 transition-colors",children:[d.jsx("td",{"data-loc":"client/src/pages/Compare.tsx:310",className:"p-4",children:d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:311",className:"flex items-center gap-2",children:[d.jsx(ei,{"data-loc":"client/src/pages/Compare.tsx:312",className:"w-4 h-4 text-purple-400"}),d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:313",className:"text-sm font-medium text-foreground",children:"Avg. Commute"})]})}),y.map(O=>d.jsx("td",{"data-loc":"client/src/pages/Compare.tsx:317",className:"p-4 text-center",children:d.jsxs("span",{"data-loc":"client/src/pages/Compare.tsx:318",className:"text-sm font-bold text-foreground",children:[O?.avgCommuteMinutes?.toFixed(0)??"N/A"," min"]})},O?.zipCode))]})]})]})})]}),d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:328",className:"rounded border border-primary/30 bg-primary/5 p-5 blueprint-corner",children:[d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:329",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-3",children:"Summary â Best in Category"}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:332",className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:M.map(({key:O,scoreKey:P,label:R,icon:F,color:I})=>{const L=y.reduce((W,q)=>{const k=W?.[P]??0;return(q?.[P]??0)>k?q:W}),G=y.indexOf(L);return d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:341",className:"text-center p-3 rounded bg-secondary/50",children:[d.jsx(F,{"data-loc":"client/src/pages/Compare.tsx:342",className:"w-4 h-4 mx-auto mb-1",style:{color:I}}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:343",className:"text-xs text-muted-foreground font-mono mb-1",children:R}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:344",className:"font-black font-mono",style:{color:N[G]},children:L?.zipCode}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:347",className:"text-xs text-muted-foreground",children:L?.city})]},O)})})]})]}),n.length<2&&!b&&d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:357",className:"space-y-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:358",className:"text-center py-16 text-muted-foreground",children:[d.jsx(Nn,{"data-loc":"client/src/pages/Compare.tsx:359",className:"w-12 h-12 mx-auto mb-4 opacity-30"}),d.jsx("p",{"data-loc":"client/src/pages/Compare.tsx:360",className:"font-medium",children:"Add at least 2 ZIP codes to compare"}),d.jsx("p",{"data-loc":"client/src/pages/Compare.tsx:361",className:"text-sm mt-1",children:"You can compare up to 3 ZIP codes side by side"})]}),C&&C.length>0&&d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:365",className:"rounded border border-border/50 bg-card p-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:366",className:"flex items-center gap-2 mb-4",children:[d.jsx(wr,{"data-loc":"client/src/pages/Compare.tsx:367",className:"w-5 h-5 text-primary"}),d.jsx("h3",{"data-loc":"client/src/pages/Compare.tsx:368",className:"text-lg font-semibold text-foreground",children:"Previously Compared"})]}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:370",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:C.slice(0,6).map(O=>d.jsxs("button",{"data-loc":"client/src/pages/Compare.tsx:372",onClick:()=>
503a(O.zipCodes),className:"text-left p-3 rounded border border-border/50 hover:border-primary/50 hover:bg-secondary/50 transition-colors",children:[d.jsxs("div",{"data-loc":"client/src/pages/Compare.tsx:377",className:"text-xs text-muted-foreground font-mono mb-1",children:[O.comparisonCount," ",O.comparisonCount===1?"comparison":"comparisons"]}),d.jsx("div",{"data-loc":"client/src/pages/Compare.tsx:380",className:"flex flex-wrap gap-1.5",children:O.zipCodes.map(P=>d.jsx("span",{"data-loc":"client/src/pages/Compare.tsx:382",className:"inline-block px-2 py-1 rounded text-xs font-mono bg-primary/10 text-primary border border-primary/30",children:P},P))})]},O.id))})]})]})]})]})}function rue(){const[,e]=ln(),{isAuthenticated:t,user:r}=eo(),n=_e.useUtils(),{data:a,isLoading:o}=_e.favorites.list.useQuery(void 0,{enabled:t}),{data:l,isLoading:c}=_e.notifications.list.useQuery(void 0,{enabled:t}),f=_e.favorites.remove.useMutation({onSuccess:()=>{Re.success("Removed from favorites"),n.favorites.list.invalidate()}}),p=_e.notifications.markRead.useMutation({onSuccess:()=>n.notifications.list.invalidate()}),g=_e.notifications.markAllRead.useMutation({onSuccess:()=>{Re.success("All notifications marked as read"),n.notifications.list.invalidate()}}),{data:m}=_e.zip.list.useQuery();if(!t)return d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:48",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/Dashboard.tsx:49"}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:50",className:"container py-20 flex flex-col items-center gap-4 text-center",children:[d.jsx(Hu,{"data-loc":"client/src/pages/Dashboard.tsx:51",className:"w-12 h-12 text-muted-foreground opacity-30"}),d.jsx("h2",{"data-loc":"client/src/pages/Dashboard.tsx:52",className:"text-xl font-bold text-foreground",children:"Sign In to Access Your Dashboard"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:53",className:"text-muted-foreground max-w-md",children:"Save your favorite ZIP codes, track grade changes, and receive notifications when neighborhood data updates."}),d.jsx(be,{"data-loc":"client/src/pages/Dashboard.tsx:56",onClick:()=>window.location.href=Jd(),children:"Sign In to Continue"})]})]});const y=l?.filter(b=>!b.isRead).length??0;return d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:67",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/Dashboard.tsx:68"}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:69",className:"container py-8",children:[d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:71",className:"mb-8",children:d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:72",className:"flex items-center gap-3 mb-2",children:[d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:73",className:"w-10 h-10 rounded-full bg-primary/20 flex items-center justify-center text-lg font-black text-primary",children:r?.name?.[0]?.toUpperCase()??"R"}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:76",children:[d.jsx("h1",{"data-loc":"client/src/pages/Dashboard.tsx:77",className:"text-2xl font-black text-foreground",children:"My Dashboard"}),d.jsxs("p",{"data-loc":"client/src/pages/Dashboard.tsx:78",className:"text-sm text-muted-foreground",children:[r?.name??"Realtor"," · ",r?.email??""]})]})]})}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:83",className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:85",className:"lg:col-span-2",children:d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:86",className:"rounded border border-border/50 bg-card blueprint-corner overflow-hidden",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:87",className:"flex items-center justify-between p-4 border-b border-border/50",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:88",className:"flex items-center gap-2",children:[d.jsx(Hu,{"data-loc":"client/src/pages/Dashboard.tsx:89",className:"w-4 h-4 text-yellow-400"}),d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:90",className:"text-sm font-semibold text-foreground",children:"Saved ZIP Codes"}),d.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:91",className:"text-xs font-mono text-muted-foreground",children:["(",a?.length??0,")"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:93",className:"flex gap-2",children:[(a?.length??0)>=2&&d.jsx(be,{"data-loc":"client/src/pages/Dashboard.tsx:95",size:"sm",variant:"outline",onClick:()=>{const b=a?.slice(0,3).map(C=>C.zipCode).join(",")??"";e(`/compare-neighborhoods?zip=${b}`)},children:"Compare Favorites"}),d.jsxs(be,{"data-loc":"client/src/pages/Dashboard.tsx:106",size:"sm",variant:"outline",onClick:()=>e("/"),children:[d.jsx(br,{"data-loc":"client/src/pages/Dashboard.tsx:107",className:"w-3.5 h-3.5 mr-1.5"}),"Add ZIP"]})]})]}),o?d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:114",className:"p-8 flex justify-center",children:d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:115",className:"w-6 h-6 border-2 border-primary border-t-transparent roun
503ded-full animate-spin"})}):a?.length===0?d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:118",className:"p-12 text-center",children:[d.jsx(Hu,{"data-loc":"client/src/pages/Dashboard.tsx:119",className:"w-10 h-10 mx-auto mb-3 text-muted-foreground opacity-30"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:120",className:"text-muted-foreground font-medium",children:"No saved ZIP codes yet"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:121",className:"text-sm text-muted-foreground mt-1",children:'Search a ZIP code and click "Save" to add it here.'}),d.jsx(be,{"data-loc":"client/src/pages/Dashboard.tsx:122",size:"sm",className:"mt-4",onClick:()=>e("/"),children:"Search ZIP Codes"})]}):d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:127",className:"divide-y divide-border/30",children:a?.map(b=>{const C=m?.find(x=>x.zip===b.zipCode);return d.jsx(nue,{"data-loc":"client/src/pages/Dashboard.tsx:131",zipCode:b.zipCode,city:C?.city??b.zipCode,county:C?.county??"",label:b.label??void 0,notes:b.notes??void 0,onView:()=>e(`/zip/${b.zipCode}`),onCompare:()=>e(`/compare?zip=${b.zipCode}`),onReport:()=>e(`/report/${b.zipCode}`),onRemove:()=>f.mutate({zipCode:b.zipCode})},b.id)})})]})}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:151",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:152",className:"rounded border border-border/50 bg-card blueprint-corner overflow-hidden",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:153",className:"flex items-center justify-between p-4 border-b border-border/50",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:154",className:"flex items-center gap-2",children:[d.jsx(Uw,{"data-loc":"client/src/pages/Dashboard.tsx:155",className:"w-4 h-4 text-primary"}),d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:156",className:"text-sm font-semibold text-foreground",children:"Notifications"}),y>0&&d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:158",className:"px-1.5 py-0.5 rounded-full bg-primary text-primary-foreground text-xs font-bold",children:y})]}),y>0&&d.jsxs(be,{"data-loc":"client/src/pages/Dashboard.tsx:164",size:"sm",variant:"ghost",onClick:()=>g.mutate(),className:"text-xs",children:[d.jsx(U5,{"data-loc":"client/src/pages/Dashboard.tsx:165",className:"w-3.5 h-3.5 mr-1"}),"All Read"]})]}),c?d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:172",className:"p-8 flex justify-center",children:d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:173",className:"w-6 h-6 border-2 border-primary border-t-transparent rounded-full animate-spin"})}):l?.length===0?d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:176",className:"p-8 text-center",children:[d.jsx(UU,{"data-loc":"client/src/pages/Dashboard.tsx:177",className:"w-8 h-8 mx-auto mb-2 text-muted-foreground opacity-30"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:178",className:"text-sm text-muted-foreground",children:"No notifications yet"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:179",className:"text-xs text-muted-foreground mt-1",children:"You'll be notified when grades change significantly for your saved ZIPs."})]}):d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:182",className:"divide-y divide-border/30 max-h-96 overflow-y-auto",children:l?.map(b=>d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:184",className:`p-3 transition-colors ${b.isRead?"":"bg-primary/5"}`,children:d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:188",className:"flex items-start justify-between gap-2",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:189",className:"flex-1",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:190",className:"flex items-center gap-1.5 mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:191",className:"font-mono text-xs font-bold text-primary",children:b.zipCode}),!b.isRead&&d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:193",className:"w-1.5 h-1.5 rounded-full bg-primary flex-shrink-0"})]}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:196",className:"text-xs text-foreground
503/80 leading-relaxed",children:b.message}),b.oldGrade&&b.newGrade&&d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:198",className:"flex items-center gap-2 mt-1.5",children:[d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:199",className:"text-xs font-mono",style:{color:lt(b.oldGrade)},children:b.oldGrade}),d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:202",className:"text-xs text-muted-foreground",children:"â"}),d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:203",className:"text-xs font-mono font-bold",style:{color:lt(b.newGrade)},children:b.newGrade})]}),d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:208",className:"text-xs text-muted-foreground mt-1 font-mono",children:new Date(b.createdAt).toLocaleDateString()})]}),!b.isRead&&d.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:213",onClick:()=>p.mutate({id:b.id}),className:"text-muted-foreground hover:text-foreground transition-colors flex-shrink-0",children:d.jsx(U5,{"data-loc":"client/src/pages/Dashboard.tsx:217",className:"w-3.5 h-3.5"})})]})},b.id))})]}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:228",className:"mt-4 rounded border border-border/30 bg-card/50 p-4",children:[d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:229",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground mb-2",children:"About Notifications"}),d.jsx("p",{"data-loc":"client/src/pages/Dashboard.tsx:232",className:"text-xs text-muted-foreground leading-relaxed",children:"You receive notifications when a saved ZIP code's overall neighborhood score changes by 10+ points â indicating a significant shift in safety, education, or commute conditions."})]})]})]})]})]})}function nue({zipCode:e,city:t,county:r,label:n,notes:a,onView:o,onCompare:l,onReport:c,onRemove:f}){const{data:p}=_e.zip.lookup.useQuery({zipCode:e},{staleTime:3e5});return d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:254",className:"p-4 hover:bg-secondary/20 transition-colors",children:d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:255",className:"flex items-start justify-between gap-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:256",className:"flex items-start gap-3",children:[d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:258",className:`grade-badge border flex-shrink-0 ${Yi(p?.overallGrade??"")}`,style:{color:lt(p?.overallGrade??""),borderColor:`${lt(p?.overallGrade??"")}60`,width:"2.5rem",height:"2.5rem",fontSize:"1rem"},children:p?.overallGrade??"?"}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:270",children:[d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:271",className:"flex items-center gap-2",children:[d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:272",className:"font-mono font-bold text-foreground",children:e}),d.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:273",className:"text-sm text-muted-foreground",children:["â ",t,", ",r," Co."]})]}),n&&d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:275",className:"text-xs text-primary font-medium mt-0.5",children:n}),a&&d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:276",className:"text-xs text-muted-foreground mt-0.5 italic",children:a}),p&&d.jsx("div",{"data-loc":"client/src/pages/Dashboard.tsx:278",className:"flex gap-3 mt-1.5",children:[{l:"Safety",g:p.crimeGrade},{l:"Edu",g:p.educationGrade},{l:"Commute",g:p.commuteGrade}].map(({l:g,g:m})=>d.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:284",className:"text-xs font-mono",children:[d.jsxs("span",{"data-loc":"client/src/pages/Dashboard.tsx:285",className:"text-muted-foreground",children:[g,": "]}),d.jsx("span",{"data-loc":"client/src/pages/Dashboard.tsx:286",style:{color:lt(m??"")},children:m??"?"})]},g))})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/Dashboard.tsx:294",className:"flex items-center gap-1 flex-shrink-0",children:[d.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:295",onClick:o,className:"p-1.5 rounded hover:bg-secondary text-muted-foreground hover:text-foreground transition-colors",title:"View",children:d.jsx(Tu,{"data-loc":"client/src/pages/Dashboard.tsx:296",className:"w-3.5 h-3.5"})}),d.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:298",onClick:l,className:"p-1.5 rounded hover:bg-secondary text-muted-foreground hover:text-foreground transition-colors",title:"Compare",children:d.jsx(Nn,{"data-loc":"client/src/pages/Dashboard.tsx:299",className:"w-3.5 h-3.5"})}),d.jsx("button",{"data-loc":"client/src/pages/Dashboard.tsx:301",onClick:f,className:"p-1.5 rounded hover:bg-destructive/20 text-muted-foreground hover:text-destructive transition-colors",title:"Remove",children:d.jsx(od,{"data-loc":"client/src/pages/Dashboard.tsx:302",className:"w-3.5 h-3.5"})})]})]})})}function aue(){const{zipCode:e}=Vw(),[,t]=ln(),r=T.useRef(null),{data:n,isLoading:a}=_e.zip.lookup.useQuery({zipCode:e??""},{enabled:!!e}),o=()=>window.print(),l=async()=>{const y=window.location.href;try{await navigator.clipboard.writeText(y),Re.success("Report link copied to clipboard")}catch{Re.error("Could not copy link")}};if(a)return d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:37",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/ReportCard.tsx:38"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:39",className:"container py-20 flex flex-col items-center gap-4",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:40",className:"w-10 h-10 border-2 border-primary border-t-transparent roun
503ded-full animate-spin"}),d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:41",className:"text-muted-foreground font-mono text-sm",children:"Loading report..."})]})]});if(!n)return d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:49",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/ReportCard.tsx:50"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:51",className:"container py-20 text-center",children:[d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:52",className:"text-muted-foreground",children:"ZIP code not found."}),d.jsx(be,{"data-loc":"client/src/pages/ReportCard.tsx:53",className:"mt-4",onClick:()=>t("/"),children:"Go Back"})]})]});const c=n.demographics,f=n.educationData,p=n.crimeData,g=n.dataQuality,m=[{label:"Neighborhood Safety",grade:n.crimeGrade,score:n.crimeScore,icon:Xd,detail:p?`Crime Index: ${p.crimeIndex} · ${p.safetyRating}`:""},{label:"Education",grade:n.educationGrade,score:n.educationScore,icon:is,detail:f?`${sd(e??"")} · HS Grad: ${f.hsGradOrHigher.toFixed(1)}% · Bachelor's: ${f.bachelorsOrHigher.toFixed(1)}%`:sd(e??"")},{label:"Commute",grade:n.commuteGrade,score:n.commuteScore,icon:ei,detail:n.avgCommuteMinutes?`Avg. ${n.avgCommuteMinutes.toFixed(0)} min to work`:""},{label:"Overall Score",grade:n.overallGrade,score:n.overallScore,icon:wr,detail
503:"Composite: Safety 35% + Education 35% + Commute 30%"}];return d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:97",className:"min-h-screen",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:99",className:"no-print",children:[d.jsx(nr,{"data-loc":"client/src/pages/ReportCard.tsx:100"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:101",className:"container py-4 flex items-center justify-between",children:[d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:102",variant:"ghost",size:"sm",onClick:()=>t(`/zip/${e}`),children:[d.jsx(HU,{"data-loc":"client/src/pages/ReportCard.tsx:103",className:"w-4 h-4 mr-2"}),"Back to ZIP Detail"]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:106",className:"flex gap-2",children:[d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:107",variant:"outline",size:"sm",onClick:l,children:[d.jsx(M6,{"data-loc":"client/src/pages/ReportCard.tsx:108",className:"w-4 h-4 mr-1.5"}),"Share"]}),d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:111",size:"sm",onClick:o,children:[d.jsx(mh,{"data-loc":"client/src/pages/ReportCard.tsx:112",className:"w-4 h-4 mr-1.5"}),"Print Report"]})]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:120",ref:r,className:"container py-6 pb-24 md:pb-6 max-w-4xl mx-auto",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:122",className:"relative rounded border border-primary/40 bg-card p-6 mb-6 blueprint-corner overflow-hidden",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:123",className:"absolute inset-0 pointer-events-none opacity-5",children:d.jsxs("svg",{"data-loc":"client/src/pages/ReportCard.tsx:124",viewBox:"0 0 600 200",className:"w-full h-full",fill:"none",children:[d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:125",x1:"0",y1:"20",x2:"600",y2:"20",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:126",x1:"0",y1:"40",x2:"600",y2:"40",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:127",x1:"0",y1:"60",x2:"600",y2:"60",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:128",x1:"0",y1:"80",x2:"600",y2:"80",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:129",x1:"0",y1:"100",x2:"600",y2:"100",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:130",x1:"0",y1:"120",x2:"600",y2:"120",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:131",x1:"0",y1:"140",x2:"600",y2:"140",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:132",x1:"0",y1:"160",x2:"600",y2:"160",stroke:"#4d7fff",strokeWidth:"0.5"}),d.jsx("line",{"data-loc":"client/src/pages/ReportCard.tsx:133",x1:"0",y1:"180",x2:"600",y2:"180",stroke:"#4d7fff",strokeWidth:"0.5"})]})}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:136",className:"relative flex flex-col md:flex-row md:items-center justify-between gap-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:137",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:138",className:"flex items-center gap-2 mb-1",children:[d.jsx("img",{"data-loc":"client/src/pages/ReportCard.tsx:139",src:xe.brokerLogo,alt:"Coldwell Banker",className:"h-5 object-contain opacity-80"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:140",className:"text-xs font-mono font-semibold tracking-widest uppercase text-primary",children:"Neighborhood Report Card"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:144",className:"flex items-center gap-3",children:[d.jsx(br,{"data-loc":"client/src/pages/ReportCard.tsx:145",className:"w-5 h-5 text-primary"}),d.jsx("h1",{"data-loc":"client/src/pages/ReportCard.tsx:146",className:"text-4xl font-black text-foreground tracking-tight",children:e})]}),d.jsxs("p",{"data-loc":"client/src/pages/ReportCard.tsx:148",className:"text-lg text-muted-foreground font-medium mt
503-1",children:[n.city,", ",n.county," County, Texas"]}),d.jsxs("p",{"data-loc":"client/src/pages/ReportCard.tsx:151",className:"text-sm text-muted-foreground font-mono mt-1",children:["Population: ",_l(n.totalPopulation)," · Median Age: ",n.medianAge?.toFixed(1)??"N/A"]}),e&&ld(e).length>0&&d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:155",className:"flex flex-wrap items-center gap-1.5 mt-2",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:156",className:"text-xs font-mono text-muted-foreground uppercase tracking-widest",children:"Neighborhoods:"}),ld(e).map(y=>d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:158",className:"inline-flex items-center px-2 py-0.5 rounded text-xs font-medium border border-primary/30 bg-primary/10 text-primary font-mono",children:y},y))]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:168",className:"flex flex-col items-center gap-1",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:169",className:"text-xs font-mono text-muted-foreground uppercase tracking-widest",children:"Overall Grade"}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:170",className:`grade-badge border ${Yi(n.overallGrade??"")}`,style:{color:lt(n.overallGrade??""),borderColor:`${lt(n.overallGrade??"")}60`,width:"5rem",height:"5rem",fontSize:"2.5rem"},children:n.overallGrade??"?"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:182",className:"text-sm font-mono font-bold",style:{color:lt(n.overallGrade??"")},children:[n.overallScore??0,"/100"]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:187",className:"text-xs text-muted-foreground font-mono mt-3",children:["Generated: ",new Date().toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),n.cachedAt&&d.jsxs(d.Fragment,{children:[" · Data last refreshed: ",new Date(n.cachedAt).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})]})," · Census: ",g?.census?.vintage??"2020â2024 ACS 5-Year"," (released ",g?.census?.releaseDate??"Jan 2026",") · Safety: FBI / TX DPS ",g?.safety?.vintage??"2025 final annual releases"," estimate · TEA: TAPR ",g?.education?.performanceYear??"2024â25"," / Ratings ",g?.education?.accountabilityYear??2026]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:196",className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-6 print-section",children:m.map(({label:y,grade:b,score:C,icon:x,detail:w})=>d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:198",className:"rounded border border-border/50 bg-card p-4 text-center blueprint-corner",children:[d.jsx(x,{"data-loc":"client/src/pages/ReportCard.tsx:199",className:"w-5 h-5 mx-auto mb-2 text-muted-foreground"}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:200",className:"text-xs font-mono font-semibold uppercase tracking-wider text-muted-foreground mb-2",children:y}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:201",className:`grade-badge border mx-auto mb-2 ${Yi(b??"")}`,style:{color:lt(b??""),borderColor:`${lt(b??"")}60`},children:b??"?"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:207",className:"text-xs font-mono font-bold mb-1",style:{color:lt(b??"")},children:[C??0,"/100"]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:211",className:"h-1.5 rounded-full bg-secondary overflow-hidden mb-2",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:212",className:"h-full rounded-full",style:{width:`${C??0}%`,backgroundColor:lt(b??"")}})}),w&&d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:217",className:"text-xs text-muted-foreground leading-tight",children:w})]},y))}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:223",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-6 print-section",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:224",className:"rounded border border-border/50 bg-card p-5 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:225",className:"flex items-center gap-2 mb-4",children:[d.jsx(wr,{"data-loc":"client/src/pages/ReportCard.tsx:226",className:"w-4 h-4 text-green-400"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:227",className:"text-xs font-mono font-semibold uppercase tracking-widest text-muted-foreground",children:"Economic Indicators"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:229",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:230",className:"flex justify-between items-center py-2 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:231",className:"text-sm text-muted-foreground",children:"Median Household Income"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:232",className:"text-sm font-bold text-green-400",children:Xo(n.medianHouseholdIncome)})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:234",className:"flex justify-between items-center py-2 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:235",className:"text-sm text-muted-foreground",children:"Average Commute Time"}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:236",className:"text-sm font-bold text-foreground",children:[n.avgCommuteMinutes?.toFixed(0)??"N/A"," minutes"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:238",className:"flex justify-between items-center py-2 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:239",className:"text-sm text-muted-foreground",children:"Safety Index (US avg = 100)"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:240",className:"text-sm font-bold text-foreground",children:p?.crimeIndex??"N/A"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:242",className:"flex justify-between items-center py-2",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:243",className:"text-sm text-muted-foreground",children:"Safety Rating"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:244",className:"text-sm font-bold text-foreground",children:p?.safetyRating??"N/A"})]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:249",className:"rounded border border-border/50 bg-card p-5 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:250",className:"flex items-center gap-2 mb-4",children:[d.jsx(is,{"data-loc":"client/src/pages/ReportCard.tsx:251",className:"w-4 h-4 text-blue-400"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:252",className:"text-xs font-mono font-semibold uppercase tracking-widest text-muted-foreground",children:"Education Profile"})]}),f?d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:255",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:256",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:257",className:"flex justify-between text-sm mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:258",className:"text-muted-foreground",children:"HS Grad or Higher"}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:259",className:"font-bold text-foreground",children:[f.hsGradOrHigher.toFixed(1),"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:261",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:262",className:"h-full rounded-full bg-blue-500",style:{width:`${f.hsGradOrHigher}%`}})})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:265",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:266",className:"flex justify-between text-sm mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:267",className:"text-muted-foreground",children:"Bachelor's or Higher"}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:268",className:"font-bold text-foreground",children:[f.bachelorsOrHigher.toFixed(1),"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:270",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:271",className:"h-full rounded-full bg-purple-500",style:{width:`${f.bachelorsOrHigher}%`}})})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:274",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:275",className:"flex justify-between text-sm mb-1",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:276",className:"text-muted-foreground",children:"ACS Attainment Index"}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:277",className:"font-bold text-foreground",children:[f.estimatedSchoolRating.toFixed(1),"/10"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:279",className:"h-2 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:280",className:"h-full rounded-full bg-green-500",style:{width:`${f.estimatedSchoolRating*10}%`}})})]})]}):d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:284",className:"text-sm text-muted-foreground",children:"No education data available."})]})]}),c&&d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:290",className:"rounded border border-border/50 bg-card p-5 mb-6 blueprint-corner print-section",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:291",className:"flex items-center gap-2 mb-4",children:[d.jsx(F2,{"data-loc":"client/src/pages/ReportCard.tsx:292",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:293",className:"text-xs font-mono font-semibold uppercase tracking-widest text-muted-foreground",children:"Demographic Breakdown"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:295",className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:297",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:298",className:"text-xs font-mono text-muted-foreground uppercase tracking-wider mb-3",children:"Race / Ethnicity"}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:299",className:"space-y-2",children:[{label:"White",val:c.race.white,color:"#60a5fa"},{label:"Hispanic",val:c.race.hispanic,color:"#34d399"},{label:"Black",val:c.race.black,color:"#f472b6"},{label:"Asian",val:c.race.asian,color:"#a78bfa"},{label:"Other",val:c.race.other,color:"#94a3b8"}].map(({label:y,val:b,color:C})=>d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:307",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:308",className:"flex justify-between text-xs mb-0.5",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:309",className:"text-muted-foreground",children:y}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:310",className:"font-mono font-bold text-foreground",children:[b.toFixed(1),"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:312",className:"h-1.5 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:313",className:"h-full rounded-full",style:{width:`${b}%`,backgroundColor:C}})})]},y))})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:321",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:322",className:"text-xs font-mono text-muted-foreground uppercase tracking-wider mb-3",children:"Age Distribution"}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:323",className:"space-y-2",children:[{label:"Under 18",val:c.age.under18},{label:"18â34",val:c.age.age18to34},{label:"35â54",val:c.age.age35to54},{label:"55â64",val:c.age.age55to64},{label:"65+",val:c.age.age65plus}].map(({label:y,val:b})=>{const C=n.totalPopulation?Math.round(b/n.totalPopulation*100):0;return d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:333",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:334",className:"flex justify-between text-xs mb-0.5",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:335",className:"text-muted-foreground",children:y}),d.jsxs("span",{"data-loc":"client/src/pages/ReportCard.tsx:336",className:"font-mono font-bold text-foreground",children:[C,"%"]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:338",className:"h-1.5 rounded-full bg-secondary overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:339",className:"h-full rounded-full bg-primary/60",style:{width:`${C}%`}})})]},y)})})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:348",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:349",className:"text-xs font-mono text-muted-foreground uppercase tracking-wider mb-3",children:"Household"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:350",className:"space-y-2",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:351",className:"flex justify-between py-1.5 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:352",className:"text-xs text-muted-foreground",children:"Total Households"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:353",className:"text-xs font-mono font-bold text-foreground",children:_l(c.household.total)})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:355",className:"flex justify-between py-1.5 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:356",className:"text-xs text-muted-foreground",children:"Avg. Household Size"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:357",className:"text-xs font-mono font-bold text-foreground",children:c.household.avgSize.toFixed(2)})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:359",className:"flex justify-between py-1.5 border-b border-border/30",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:360",className:"text-xs text-muted-foreground",children:"Owner-Occupied"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:361",className:"text-xs font-mono font-bold text-blue-400",children:c.household.total>0?`${Math.round(c.household.ownerOccupied/c.household.total*100)}%`:"N/A"})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:365",className:"flex justify-between py-1.5",children:[d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:366",className:"text-xs text-muted-foreground",children:"Renter-Occupied"}),d.jsx("span",{"data-loc":"client/src/pages/ReportCard.tsx:367",className:"text-xs font-mono font-bold text-purple-400",children:c.household.total>0?`${Math.round(c.household.renterOccupied/c.household.total*100)}%`:"N/A"})]})]})]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:378",className:"rounded border border-primary/30 bg-card p-5 print-section blueprint-corner overflow-hidden",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:379",className:"flex flex-col sm:flex-row items-center gap-5",children:[d.jsx("img",{"data-loc":"client/src/pages/ReportCard.tsx:381",src:xe.headshot,alt:xe.name,className:"w-20 h-20 rounded-full object-cover object-[center_15%] border-2 border-primary/40 flex-shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:387",className:"flex-1 text-center sm:text-left",children:[d.jsx("img",{"data-loc":"client/src/pages/ReportCard.tsx:388",src:xe.brokerLogo,alt:"Coldwell Banker",className:"h-6 object-contain mb-2 mx-auto
503sm:mx-0"}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:389",className:"text-lg font-black text-foreground",children:xe.name}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:390",className:"text-sm text-primary font-semibold font-mono",children:xe.broker}),d.jsxs("a",{"data-loc":"client/src/pages/ReportCard.tsx:391",href:xe.phoneHref,className:"flex items-center justify-center sm:justify-start gap-1.5 mt-1 text-sm text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(Ka,{"data-loc":"client/src/pages/ReportCard.tsx:392",className:"w-3.5 h-3.5"}),xe.phone]}),d.jsxs("a",{"data-loc":"client/src/pages/ReportCard.tsx:395",href:xe.emailHref,className:"flex items-center justify-center sm:justify-start gap-1.5 mt-0.5 text-sm text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(ca,{"data-loc":"client/src/pages/ReportCard.tsx:396",className:"w-3.5 h-3.5"}),xe.email]}),d.jsxs("a",{"data-loc":"client/src/pages/ReportCard.tsx:399",href:xe.websiteHref,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center sm:justify-start gap-1.5 mt-0.5 text-sm text-muted-foreground hover:text-primary transition-colors font-mono",children:[d.jsx(ad,{"data-loc":"client/src/pages/ReportCard.tsx:400",className:"w-3.5 h-3.5"}),xe.website]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:405",className:"flex flex-col items-center gap-1.5 flex-shrink-0",children:[d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:406",className:"text-xs font-mono font-semibold text-muted-foreground uppercase tracking-widest flex items-center gap-1",children:[d.jsx(T6,{"data-loc":"client/src/pages/ReportCard.tsx:407",className:"w-3 h-3"}),"Digital Card"]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:410",className:"rounded border border-border/50 overflow-hidden p-1 bg-white",children:d.jsx("img",{"data-loc":"client/src/pages/ReportCard.tsx:411",src:xe.qrCode,alt:"Marcus Carter Digital Business Card",className:"w-20 h-20 object-contain"})}),d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:417",className:"text-[10px] text-muted-foreground font-mono",children:"Scan to connect"})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:421",className:"mt-4 pt-4 border-t border-border/30 text-center",children:[d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:422",className:"text-xs text-muted-foreground font-mono",children:"Data Sources: U.S. Census Bureau ACS 2020â2024 (released Jan 29, 2026) · FBI Crime Data Explorer 2025 (released Aug 14, 2026) · Texas DPS Crime in Texas 2025 · TEA TAPR 2024â25 / Accountability Ratings 2026"}),d.jsx("p",{"data-loc":"client/src/pages/ReportCard.tsx:425",className:"text-xs text-muted-foreground font-mono mt-0.5",children:"For professional use only. Grades are derived from publicly available data and should inform â not replace â professional judgment."})]})]})]}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:433",className:"fixed bottom-0 left-0 right-0 z-50 md:hidden",children:d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:434",className:"flex items-center gap-2 px-4 py-3 bg-card/95 backdrop-blur-sm border-t border-border/60 shadow-lg",children:[d.jsx("img",{"data-loc":"client/src/pages/ReportCard.tsx:435",src:xe.headshot,alt:xe.name,className:"w-9 h-9 rounded-full object-cover object-[center_15%] border border-primary/40 flex-shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/ReportCard.tsx:440",className:"flex-1 min-w-0",children:[d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:441",className:"text-xs font-bold text-foreground truncate",children:xe.name}),d.jsx("div",{"data-loc":"client/src/pages/ReportCard.tsx:442",className:"text-[10px] text-muted-foreground font-mono truncate",children:"Coldwell Banker · DFW"})]}),d.jsx("a",{"data-loc":"client/src/pages/ReportCard.tsx:444",href:xe.phoneHref,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:445",size:"sm",className:"gap-1.5 font-semibold px-4",children:[d.jsx(Ka,{"data-loc":"client/src/pages/ReportCard.tsx:446",className:"w-3.5 h-3.5"}),"Call"]})}),d.jsx("a",{"data-loc":"client/src/pages/ReportCard.tsx:450",href:`sms:${xe.phone.replace(/-/g,"")}?body=Hi%20Marcus%2C%20I%20saw%20the%20report%20for%20ZIP%20${e}%20and%20would%20like%20to%20learn%20more.`,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:451",size:"sm",variant:"outline",className:"gap-1.5 px-3 bg-secondary/50",children:[d.jsx(E6,{"data-loc":"client/src/pages/ReportCard.tsx:452",className:"w-3.5 h-3.5"}),"Text"]})}),d.jsx("a",{"data-loc":"client/src/pages/ReportCard.tsx:456",href:xe.emailHref,className:"flex-shrink-0",children:d.jsxs(be,{"data-loc":"client/src/pages/ReportCard.tsx:457",size:"sm",variant:"outline",className:"gap-1.5 px-3 bg-secondary/50",children:[d.jsx(ca,{"data-loc":"client/src/pages/ReportCard.tsx:458",className:"w-3.5 h-3.5"}),"Email"]})})]})})]})}function Iu(e){const t=T.useRef(e);t.current=e;const r=T.useRef(null);return r.current||(r.current=function(...n){return t.current.apply(this,n)}),r.current}const iue="Byzn58AAzEc5RBbxjTGEaX",oue="https://forge.manus.ai",sue=`${oue}/v1/maps/proxy`;function lue(){return new Promise(e=>{const t=document.createElement("script");t.src=`${sue}/maps/api/js?key=${iue}&v=weekly&libraries=marker,places,geocoding,geometry`,t.async=!0,t.crossOrigin="anonymous",t.onload=()=>{e(null),t.remove()},t.onerror=()=>{console.error("Failed to load Google Maps script")},document.head.appendChild(t)})}function cue({className:e,initialCenter:t={lat:37.7749,lng:-122.4194},initialZoom:r=12,onMapReady:n}){const a=T.useRef(null),o=T.useRef(null),l=Iu(async()=>
503{if(await lue(),!a.current){console.error("Map container not found");return}o.current=new window.google.maps.Map(a.current,{zoom:r,center:t,mapTypeControl:!0,fullscreenControl:!0,zoomControl:!0,streetViewControl:!0,mapId:"DEMO_MAP_ID"}),n&&n(o.current)});return T.useEffect(()=>{l()},[l]),d.jsx("div",{"data-loc":"client/src/components/Map.tsx:153",ref:a,className:ar("w-full h-[500px]",e)})}const iP={75201:{lat:32.7767,lng:-96.797},75202:{lat:32.7742,lng:-96.8008},75203:{lat:32.7454,lng:-96.8185},75204:{lat:32.7933,lng:-96.7865},75205:{lat:32.8312,lng:-96.7882},75206:{lat:32.8231,lng:-96.7688},75207:{lat:32.7867,lng:-96.8168},75208:{lat:32.75,lng:-96.835},75209:{lat:32.845,lng:-96.83},75210:{lat:32.765,lng:-96.75},75211:{lat:32.735,lng:-96.87},75212:{lat:32.77,lng:-96.86},75214:{lat:32.81,lng:-96.75},75215:{lat:32.75,lng:-96.76},75216:{lat:32.72,lng:-96.79},75217:{lat:32.72,lng:-96.72},75218:{lat:32.84,lng:-96.71},75219:{lat:32.8,lng:-96.81},75220:{lat:32.86,lng:-96.87},75223:{lat:32.79,lng:-96.74},75224:{lat:32.73,lng:-96.81},75225:{lat:32.86,lng:-96.77},75226:{lat:32.78,lng:-96.77},75227:{lat:32.77,lng:-96.7},75228:{lat:32.8,lng:-96.69},75229:{lat:32.89,lng:-96.86},75230:{lat:32.9,lng:-96.77},75231:{lat:32.87,lng:-96.74},75232:{lat:32.69,lng:-96.82},75233:{lat:32.7,lng:-96.86},75234:{lat:32.92,lng:-96.88},75235:{lat:32.81,lng:-96.84},75236:{lat:32.69,lng:-96.87},75237:{lat:32.67,lng:-96.84},75238:{lat:32.87,lng:-96.71},75240:{lat:32.93,lng:-96.76},75241:{lat:32.68,lng:-96.77},75243:{lat:32.9,lng:-96.72},75244:{lat:32.93,lng:-96.82},75246:{lat:32.79,lng:-96.78},75247:{lat:32.81,lng:-96.87},75248:{lat:32.97,lng:-96.78},75249:{lat:32.67,lng:-96.91},75251:{lat:32.91,lng:-96.74},75252:{lat:33,lng:-96.78},75253:{lat:32.72,lng:-96.66},75254:{lat:32.95,lng:-96.79},75287:{lat:33.01,lng:-96.83},75023:{lat:33.05,lng:-96.72},75024:{lat:33.08,lng:-96.77},75025:{lat:33.07,lng:-96.7},75074:{lat:33.02,lng:-96.67},75075:{lat:33.01,lng:-96.71},75033:{lat:33.15,lng:-96.82},75034:{lat:33.14,lng:-96.79},75035:{lat:33.17,lng:-96.75},75069:{lat:33.19,lng:-96.62},75070:{lat:33.2,lng:-96.67},75071:{lat:33.23,lng:-96.64},75002:{lat:33.1,lng:-96.67},75013:{lat:33.12,lng:-96.72},76101:{lat:32.7555,lng:-97.3308},76102:{lat:32.7555,lng:-97.3308},76103:{lat:32.74,lng:-97.29},76104:{lat:32.72,lng:-97.32},76105:{lat:32.72,lng:-97.27},76106:{lat:32.78,lng:-97.35},76107:{lat:32.74,lng:-97.37},76108:{lat:32.74,lng:-97.46},76109:{lat:32.7,lng:-97.37},76110:{lat:32.7,lng:-97.32},76111:{lat:32.78,lng:-97.3},76112:{lat:32.74,lng:-97.25},76114:{lat:32.79,lng:-97.39},76115:{lat:32.68,lng:-97.34},76116:{lat:32.72,lng:-97.41},76117:{lat:32.81,lng:-97.29},76118:{lat:32.8,lng:-97.25},76119:{lat:32.7,lng:-97.27},76120:{lat:32.77,lng:-97.22},76123:{lat:32.62,lng:-97.38},76126:{lat:32.65,lng:-97.47},76131:{lat:32.87,lng:-97.36},76132:{lat:32.68,lng:-97.4},76133:{lat:32.66,lng:-97.36},76134:{lat:32.64,lng:-97.32},76135:{lat:32.82,lng:-97.44},76137:{lat:32.86,lng:-97.3},76140:{lat:32.62,lng:-97.28},76148:{lat:32.87,lng:-97.26},76155:{lat:32.82,lng:-97.07},76164:{lat:32.79,lng:-97.37},76177:{lat:32.92,lng:-97.32},76179:{lat:32.9,lng:-97.4},76001:{lat:32.64,lng:-97.13},76002:{lat:32.62,lng:-97.09},76006:{lat:32.76,lng:-97.08},76010:{lat:32.72,lng:-97.11},76011:{lat:32.74,lng:-97.07},76012:{lat:32.75,lng:-97.13},76013:{lat:32.73,lng:-97.16},76014:{lat:32.7,lng:-97.09},76015:{lat:32.69,lng:-97.13},76016:{lat:32.7,lng:-97.17},76017:{lat:32.67,lng:-97.17},76018:{lat:32.67,lng:-97.09},76201:{lat:33.21,lng:-97.13},76205:{lat:33.18,lng:-97.1},76207:{lat:33.24,lng:-97.16},76208:{lat:33.22,lng:-97.08},76209:{lat:33.23,lng:-97.12},76210:{lat:33.17,lng:-97.07},75040:{lat:32.91,lng:-96.64},75041:{lat:32.88,lng:-96.64},75042:{lat:32.91,lng:-96.68},75043:{lat:32.87,lng:-96.6},75044:{lat:32.94,lng:-96.65},75038:{lat:32.87,lng:-97.01},75039:{lat:32.88,lng:-96.97},75061:{lat:32.82,lng:-97},75062:{lat:32.85,lng:-97.04},75063:{lat:32.91,lng:-97},76092:{lat:32.94,lng:-97.14},76051:{lat:32.93,lng:-97.08},76034:{lat:32.89,lng:-97.15},76248:{lat:32.93,lng:-97.23},75022:{lat:33.01,lng:-97.1},75028:{lat:33.03,lng:-97.07},75056:{lat:33.05,lng:-96.99},75057:{lat:33.04,lng:-97.02},75067:{lat:33.02,lng:-97},75006:{lat:32.96,lng:-96.9},75007:{lat:32.99,lng:-96.89},75010:{lat:33,lng:-96.92},75080:{lat:32.96,lng:-96.73},75081:{lat:32.94,lng:-96.7},75082:{lat:32.98,lng:-96.68},75149:{lat:32.77,lng:-96.59},75150:{lat:32.8,lng:-96.61},75050:{lat:32.75,lng:-97.02},75051:{lat:32.72,lng:-97},75052:{lat:32.7,lng:-97.05},76063:{lat:32.56,lng:-97.14},75032:{lat:32.92,lng:-96.46},75087:{lat:32.93,lng:-96.47},75088:{lat:32.9,lng:-96.56},75089:{lat:32.92,lng:-96.53}};function uue(){const[,e]=ln(),[t,r]=T.useState("overall"),[n,a]=T.useState(null),o=T.useRef(null),l=T.useRef([]),{data:c}=_e.zip.list.useQuery(),f=Object.keys(iP),p=T.useCallback(y=>{o.current=y,y.setCenter({lat:32.8998,lng:-97.0641}),y.setZoom(10),l.current.forEach(b=>b.setMap(null)),l.current=[],f.forEach(b=>{const C=iP[b];if(!C)return;const x=c?.find(j=>j.zip===b),w=new google.maps.Marker({position:C,map:y,label:{text:b,color:"#ffffff",fontSize:"9px",fontWeight:"bold"},icon:{path:google.maps.SymbolPath.CIRCLE,scale:12,fillColor:"#1e3a6e",fillOpacity:.85,strokeColor:"#4d7fff",strokeWeight:1.5},title:`${b} â ${x?.city??""}, ${x?.county??""} County`});w.addListener("click",()=>{a(b)}),l.current.push(w)})},[c,t]),g=[{key:"overall",label:"Overall",icon:wr},{key:"crime",label:"Safety",icon:Xd},{key:"education",label:"Education",icon:is},{key:"commute",label:"Commute",icon:ei}],{data:m}=_e.zip.lookup.useQuery({zipCode:n??""},{enabled:!!n});return d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:276",className:"min-h-screen flex flex-col",children:[d.jsx(nr,{"data-loc":"client/src/pages/MapView.tsx:277"}),d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:278",className:"container py-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:279",className:"flex items-center justify-between mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:280",className:"flex items-center gap-2",children:[d.jsx(hh,{"data-loc":"client/src/pages/MapView.tsx:281",className:"w-5 h-5 text-primary"}),d.jsx("h1",{"data-loc":"client/src/pages/MapView.tsx:282",className:"text-2xl font-black text-foreground",children:"DFW Grade Map"})]}),d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:285",className:"flex gap-1",children:g.map(({key:y,label:b,icon:C})=>d.jsxs("button",{"data-loc":"client/src/pages/MapView.tsx:287",onClick:()=>r(y),className:`flex items-center gap-1.5 px-3 py-1.5 rounded text-xs font-mono font-semibold transition-colors ${t===y?"bg-primary text-primary-foreground":"bg-secondary text-muted-foreground hover:text-foreground"}`,children:[d.jsx(C,{"data-loc":"client/src/pages/MapView.tsx:296",className:"w-3.5 h-3.5"}),b]},y))})]}),d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:303",className:"relative rounded border border-border/50 overflow-hidden blueprint-corner",style:{height:"calc(100vh - 220p
503x)",minHeight:500},children:[d.jsx(cue,{"data-loc":"client/src/pages/MapView.tsx:304",onMapReady:p,className:"w-full h-full"}),d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:310",className:"absolute bottom-4 left-4 bg-card/90 backdrop-blur border border-border/50 rounded p-3 text-xs",children:[d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:311",className:"font-mono font-semibold text-muted-foreground uppercase tracking-wider mb-2",children:"Grade Legend"}),["A","B","C","D","F"].map(y=>d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:313",className:"flex items-center gap-2 mb-1",children:[d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:314",className:"w-3 h-3 rounded-full",style:{backgroundColor:lt(y)}}),d.jsx("span",{"data-loc":"client/src/pages/MapView.tsx:315",className:"font-mono font-bold",style:{color:lt(y)},children:y}),d.jsx("span",{"data-loc":"client/src/pages/MapView.tsx:316",className:"text-muted-foreground",children:y==="A"?"Excellent (80â100)":y==="B"?"Good (65â79)":y==="C"?"Average (50â64)":y==="D"?"Below Avg (35â49)":"Poor (0â34)"})]},y))]}),d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:324",className:"absolute top-4 right-4 bg-card/90 backdrop-blur border border-border/50 rounded p-3 text-xs max-w-xs",children:d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:325",className:"flex items-center gap-1.5 text-muted-foreground",children:[d.jsx(Ww,{"data-loc":"client/src/pages/MapView.tsx:326",className:"w-3.5 h-3.5"}),d.jsx("span",{"data-loc":"client/src/pages/MapView.tsx:327",className:"font-mono",children:"Click any ZIP marker to view details"})]})}),n&&m&&d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:333",className:"absolute top-4 left-4 bg-card border border-primary/40 rounded p-4 max-w-xs shadow-xl blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:334",className:"flex items-start justify-between gap-2 mb-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:335",children:[d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:336",className:"font-mono font-black text-lg text-foreground",children:n}),d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:337",className:"text-xs text-muted-foreground",children:[m.city,", ",m.county," Co."]})]}),d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:339",className:"flex items-center gap-2",children:[d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:340",className:`grade-badge border ${Yi(m.overallGrade??"")}`,style:{color:lt(m.overallGrade??""),borderColor:`${lt(m.overallGrade??"")}60`,width:"2.5rem",height:"2.5rem",fontSize:"1rem"},children:m.overallGrade??"?"}),d.jsx("button",{"data-loc":"client/src/pages/MapView.tsx:350",onClick:()=>a(null),className:"text-muted-foreground hover:text-foreground",children:d.jsx(Ji,{"data-loc":"client/src/pages/MapView.tsx:351",className:"w-4 h-4"})})]})]}),d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:355",className:"grid grid-cols-3 gap-2 mb-3",children:[{l:"Safety",g:m.crimeGrade},{l:"Edu",g:m.educationGrade},{l:"Commute",g:m.commuteGrade}].map(({l:y,g:b})=>d.jsxs("div",{"data-loc":"client/src/pages/MapView.tsx:361",className:"text-center p-1.5 rounded bg-secondary/50",children:[d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:362",className:"text-xs text-muted-foreground",children:y}),d.jsx("div",{"data-loc":"client/src/pages/MapView.tsx:363",className:"font-black text-sm",style:{color:lt(b??"")},children:b??"?"})]},y))}),d.jsx(be,{"data-loc":"client/src/pages/MapView.tsx:367",size:"sm",className:"w-full text-xs",onClick:()=>e(`/zip/${n}`),children:"View Full Report"})]})]})]})]})}const oP={Collin:"#3b82f6",Dallas:"#8b5cf6",Denton:"#06b6d4",Tarrant:"#f59e0b",Rockwall:"#10b981",Ellis:"#ef4444",Johnson:"#f97316",Kaufman:"#ec4899",Parker:"#84cc16",Hunt:"#14b8a6",Hood:"#a78bfa",Wise:"#fb923c",Somervell:"#94a3b8"},sP={Hot:{label:"Hot Market",color:"#ef4444",bg:"bg-red-500/10 border-red-500/30",icon:d.jsx(wr,{"data-loc":"client/src/pages/CountyHeatMap.tsx:28",className:"w-4 h-4 text-red-400"})}
503,Warm:{label:"Warm Market",color:"#f97316",bg:"bg-orange-500/10 border-orange-500/30",icon:d.jsx(wr,{"data-loc":"client/src/pages/CountyHeatMap.tsx:29",className:"w-4 h-4 text-orange-400"})},Neutral:{label:"Neutral Market",color:"#94a3b8",bg:"bg-slate-500/10 border-slate-500/30",icon:d.jsx(rG,{"data-loc":"client/src/pages/CountyHeatMap.tsx:30",className:"w-4 h-4 text-slate-400"})},Cool:{label:"Cool Market",color:"#3b82f6",bg:"bg-blue-500/10 border-blue-500/30",icon:d.jsx(k6,{"data-loc":"client/src/pages/CountyHeatMap.tsx:31",className:"w-4 h-4 text-blue-400"})}};function lP(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(0)}K`:`$${e}`}function due({pct:e}){const t=e>=0;return d.jsxs("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:43",className:`inline-flex items-center gap-1 text-xs font-mono font-semibold px-1.5 py-0.5 rounded ${t?"text-green-400 bg-green-400/10":"text-red-400 bg-red-400/10"}`,children:[t?d.jsx(qU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:44",className:"w-3 h-3"}):d.jsx(LU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:44",className:"w-3 h-3"}),t?"+":"",e.toFixed(1),"%"]})}function fue(){const[,e]=ln(),[t,r]=T.useState("appreciation"),[n,a]=T.useState(null),{data:o,isLoading:l,error:c}=_e.county.heatMap.useQuery(),f=o?[...o].sort((g,m)=>{if(t==="appreciation")return m.priceAppreciation12mo-g.priceAppreciation12mo;if(t==="price")return m.medianHomePrice-g.medianHomePrice;if(t==="dom")return g.avgDaysOnMarket-m.avgDaysOnMarket;const y={Hot:3,Warm:2,Neutral:1,Cool:0};return(y[m.marketTemp]??0)-(y[g.marketTemp]??0)}):[],p=n?f.find(g=>g.county===n):null;return d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:68",className:"min-h-screen bg-background text-foreground",children:[d.jsx(nr,{"data-loc":"client/src/pages/CountyHeatMap.tsx:69"}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:70",className:"container max-w-6xl py-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:72",className:"mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:73",className:"flex items-center gap-2 mb-2",children:[d.jsx(br,{"data-loc":"client/src/pages/CountyHeatMap.tsx:74",className:"w-4 h-4 text-primary"}),d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:75",className:"text-xs font-mono tracking-widest uppercase text-muted-foreground",children:"DFW Metroplex · 13 Counties"})]}),d.jsx("h1",{"data-loc":"client/src/pages/CountyHeatMap.tsx:77",className:"text-3xl font-bold font-mono mb-2",children:"County Market Heat Map"}),d.jsx("p",{"data-loc":"client/src/pages/CountyHeatMap.tsx:78",className:"text-muted-foreground text-sm max-w-2xl",children:"12-month market performance across all 13 Dallas-Fort Worth counties. Data sourced from Redfin MLS, NTREIS, and Texas A&M Real Estate Research Center (Q4 2025)."})]}),l&&d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:85",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Array.from({length:13}).map((g,m)=>d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:87",className:"h-40 rounded border border-border/50 bg-card animate-pulse"},m))}),c&&d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:93",className:"rounded border border-red-500/30 bg-red-500/10 p-4 text-red-400 text-sm font-mono",children:"Failed to load county data. Please try again."}),o&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:101",className:"flex items-center gap-2 mb-6 flex-wrap",children:[d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:102",className:"text-xs font-mono text-muted-foreground mr-1",children:"Sort by:"}),[{key:"appreciation",label:"Appreciation"},{key:"price",label:"Median Price"},{key:"temp",label:"Market Temp"},{key:"dom",label:"Days on Market"}].map(g=>d.jsx("button",{"data-loc":"client/src/pages/CountyHeatMap.tsx:109",onClick:()=>r(g.key),className:`px-3 py-1 text-xs font-mono rounded border transition-colors ${t===g.key?"bg-primary text-primary-foreground border-primary":"border-border/50 text-muted-foreground hover:border-primary/50 hover:text-foreground"}`,children:g.label},g.key))]}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:120",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 mb-8",children:f.map((g,m)=>{const y=sP[g.marketTemp]??sP.Neutral,b=oP[g.county]??"#94a3b8",C=n===g.county;return d.jsxs("button",{"data-loc":"client/src/pages/CountyHeatMap.tsx:126",onClick:()=>a(C?null:g.county),className:`text-left rounded border p-4 transition-all hover:border-primary/50 focus:outline-none ${C?"border-primary bg-primary/5":"border-border/50 bg-card"}`,children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:132",className:"flex items-start justify-between mb-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:133",className:"flex items-center gap-2",children:[d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:134",className:"w-2.5 h-2.5 rounded-full flex-shrink-0",style:{backgroundColor:b}}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:135",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:136",className:"font-mono font-semibold text-sm",children:[g.county," County"]}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:137",className:"text-xs text-muted-foreground",children:[g.zipCount," ZIP codes"]})]})]}),d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:140",className:`text-xs font-mono px-2 py-0.5 rounded border ${y.bg}`,style:{color:y.color},children:g.marketTemp})]}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:146",className:"flex items-center gap-1 mb-3",children:[d.jsxs("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:147",className:"text-xs text-muted-foreground font-mono",children:["#",m+1]}),d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:148",className:"text-xs text-muted-foreground mx-1",children:"·"}),d.jsx(due,{"data-loc":"client/src/pages/CountyHeatMap.tsx:149",pct:g.priceAppreciation12mo}),d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:150",className:"text-xs text-muted-foreground ml-1",children:"12-mo appreciation"})]}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:154",className:"grid grid-cols-2 gap-2",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:155",className:"rounded bg-muted/30 px-2 py-1.5",children:[d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:156",className:"text-xs text-muted-foreground font-mono mb-0.5",children:"Median Price"}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:157",className:"text-sm font-mono font-semibold",children:lP(g.medianHomePrice)})]}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:159",className:"rounded bg-muted/30 px-2 py-1.5",children:[d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:160",className:"text-xs text-muted-foreground font-mono mb-0.5",children:"Avg DOM"}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:161",className:"text-sm font-mono font-semibold",children:[g.avgDaysOnMarket," days"]})]})]})]},g.county)})}),p&&d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:171",className:"rounded border border-primary/30 bg-primary/5 p-6 mb-8 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:172",className:"flex items-center justify-between mb-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:173",className:"flex items-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:174",className:"w-3 h-3 rounded-full",style:{backgroundColor:oP[p.county]??"#94a3b8"}}),d.jsxs("h2",{"data-loc":"client/src/pages/CountyHeatMap.tsx:175",className:"text-lg font-mono font-bold",children:[p.county," County â Detailed View"]}
503)]}),d.jsx("button",{"data-loc":"client/src/pages/CountyHeatMap.tsx:177",onClick:()=>a(null),className:"text-xs font-mono text-muted-foreground hover:text-foreground",children:"â Close"})]}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:185",className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{label:"Median Home Price",value:lP(p.medianHomePrice),icon:d.jsx($m,{"data-loc":"client/src/pages/CountyHeatMap.tsx:187",className:"w-4 h-4"})},{label:"12-Mo Appreciation",value:`${p.priceAppreciation12mo>0?"+":""}${p.priceAppreciation12mo.toFixed(1)}%`,icon:d.jsx(wr,{"data-loc":"client/src/pages/CountyHeatMap.tsx:188",className:"w-4 h-4"})},{label:"Avg Days on Market",value:`${p.avgDaysOnMarket} days`,icon:d.jsx(ei,{"data-loc":"client/src/pages/CountyHeatMap.tsx:189",className:"w-4 h-4"})},{label:"List-to-Sale Ratio",value:`${p.listToSaleRatio.toFixed(1)}%`,icon:d.jsx(Nn,{"data-loc":"client/src/pages/CountyHeatMap.tsx:190",className:"w-4 h-4"})},{label:"Price per Sq Ft",value:`$${p.pricePerSqFt}`,icon:d.jsx(KU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:191",className:"w-4 h-4"})},{label:"Active Listings",value:p.activeListings.toLocaleString(),icon:d.jsx(br,{"data-loc":"client/src/pages/CountyHeatMap.tsx:192",className:"w-4 h-4"})},{label:"Months of Supply",value:`${p.monthsOfSupply.toFixed(1)} mo`,icon:d.jsx(R6,{"data-loc":"client/src/pages/CountyHeatMap.tsx:193",className:"w-4 h-4"})},{label:"Annual Sales Volume",value:p.totalSales12mo.toLocaleString(),icon:d.jsx(Nn,{"data-loc":"client/src/pages/CountyHeatMap.tsx:194",className:"w-4 h-4"})}].map(g=>d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:196",className:"rounded border border-border/50 bg-card p-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:197",className:"flex items-center gap-1.5 mb-1 text-muted-foreground",children:[g.icon,d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:199",className:"text-xs font-mono",children:g.label})]}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:201",className:"text-base font-mono font-bold",children:g.value})]},g.label))}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:206",className:"mt-4 flex gap-2",children:d.jsxs("button",{"data-loc":"client/src/pages/CountyHeatMap.tsx:207",onClick:()=>e(`/?county=${p.county}`),className:"text-xs font-mono px-3 py-1.5 rounded border border-primary/50 text-primary hover:bg-primary/10 transition-colors",children:["Browse ",p.county," County ZIPs â"]})})]}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:218",className:"rounded border border-border/50 bg-card p-5 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:219",className:"flex items-center gap-2 mb-4",children:[d.jsx(Nn,{"data-loc":"client/src/pages/CountyHeatMap.tsx:220",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/CountyHeatMap.tsx:221",className:"text-xs font-mono font-semibold tracking-widest uppercase text-muted-foreground",children:"12-Month Appreciation by County"}),d.jsx(Fw,{"data-loc":"client/src/pages/CountyHeatMap.tsx:222",children:d.jsxs(PU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:223",children:[d.jsx(MU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:224",children:d.jsx(Ww,{"data-loc":"client/src/pages/CountyHeatMap.tsx:225",className:"w-3.5 h-3.5 text-muted-foreground/60"})}),d.jsx(RU,{"data-loc":"client/src/pages/CountyHeatMap.tsx:227",children:d.jsxs("p",{"data-loc":"client/src/pages/CountyHeatMap.tsx:228",className:"text-xs",children:["Median home price change over the past 12 months.",d.jsx("br",{"data-loc":"client/src/pages/CountyHeatMap.tsx:228"}),"Source: Redfin MLS · NTREIS Q4 2025"]})})]})})]}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:233",className:"space-y-2",children:[...f].sort((g,m)=>m.priceAppreciation12mo-g.priceAppreciation12mo).map(g=>{const m=Math.max(...f.map(C=>Math.abs(C.priceAppreciation12mo))),y=Math.abs(g.priceAppreciation12mo)/m*100,b=g.priceAppreciation12mo>=0;return d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:239",className:"flex items-center gap-3",children:[d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:240",className:"w-20 text-right text-xs font-mono text-muted-foreground flex-shrink-0",children:g.county}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:241",className:"flex-1 h-5 bg-muted/30 rounded overflow-hidden",children:d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:242",className:`h-full rounded transition-all ${b?"bg-green-500/70":"bg-red-500/70"}`,style:{width:`${y}%`}})}),d.jsxs("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:247",className:`w-14 text-xs font-mono font-semibold flex-shrink-0 ${b?"text-green-400":"text-red-400"}`,children:[b?"+":"",g.priceAppreciation12mo.toFixed(1),"%"]})]},g.county)})})]}),d.jsx("div",{"data-loc":"client/src/pages/CountyHeatMap.tsx:257",className:"mt-4 text-center",children:d.jsx("p",{"data-loc":"client/src/pages/CountyHeatMap.tsx:258",className:"text-xs text-muted-foreground font-mono",children:"Data: Redfin MLS · NTREIS · Texas A&M Real Estate Research Center Q4 2025 · Updates quarterly"})})]})]})]})}var o2="focusScope.autoFocusOnMount",s2="focusScope.autoFocusOnUnmount",cP={bubbles:!1,cancelable:!0},pue="FocusScope",yI=T.forwardRef((e,t)=>
vendor: 4,214 bytes, line 503
503{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[c,f]=T.useState(null),p=ns(a),g=ns(o),m=T.useRef(null),y=Ft(t,x=>f(x)),b=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(n){let x=function(_){if(b.paused||!c)return;const M=_.target;c.contains(M)?m.current=M:Li(m.current,{select:!0})},w=function(_){if(b.paused||!c)return;const M=_.relatedTarget;M!==null&&(c.contains(M)||Li(m.current,{select:!0}))},j=function(_){if(document.activeElement===document.body)for(const N of _)N.removedNodes.length>0&&Li(c)};document.addEventListener("focusin",x),document.addEventListener("focusout",w);const A=new MutationObserver(j);return c&&A.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),A.disconnect()}}},[n,c,b.paused]),T.useEffect(()=>{if(c){dP.add(b);const x=document.activeElement;if(!c.contains(x)){const j=new CustomEvent(o2,cP);c.addEventListener(o2,p),c.dispatchEvent(j),j.defaultPrevented||(hue(xue(vI(c)),{select:!0}),document.activeElement===x&&Li(c))}return()=>{c.removeEventListener(o2,p),setTimeout(()=>{const j=new CustomEvent(s2,cP);c.addEventListener(s2,g),c.dispatchEvent(j),j.defaultPrevented||Li(x??document.body,{select:!0}),c.removeEventListener(s2,g),dP.remove(b)},0)}}},[c,p,g,b]);const C=T.useCallback(x=>{if(!r&&!n||b.paused)return;const w=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,j=document.activeElement;if(w&&j){const A=x.currentTarget,[_,M]=mue(A);_&&M?!x.shiftKey&&j===M?(x.preventDefault(),r&&Li(_,{select:!0})):x.shiftKey&&j===_&&(x.preventDefault(),r&&Li(M,{select:!0})):j===A&&x.preventDefault()}},[r,n,b.paused]);return d.jsx(At.div,{tabIndex:-1,...l,ref:y,onKeyDown:C})});yI.displayName=pue;function hue(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Li(n,{select:t}),document.activeElement!==r)return}function mue(e){const t=vI(e),r=uP(t,e),n=uP(t.reverse(),e);return[r,n]}function vI(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function uP(e,t){for(const r of e)if(!gue(r,{upTo:t}))return r}function gue(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function yue(e){return e instanceof HTMLInputElement&&"select"in e}function Li(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&yue(e)&&t&&e.select()}}var dP=vue();function vue(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=fP(e,t),e.unshift(t)},remove(t){e=fP(e,t),e[0]?.resume()}}}function fP(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function xue(e){return e.filter(t=>t.tagName!=="A")}var l2=0;function bue(){T.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??pP()),document.body.insertAdjacentElement("beforeend",e[1]??pP()),l2++,()=>{l2===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),l2--}},[])}function pP(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ia=function(){return ia=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ia.apply(this,arguments)};function xI(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function Sue(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n<a;
vendor: 5,008 bytes, lines 503-518
503n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var ih="right-scroll-bar-position",oh="width-before-scroll-bar",wue="with-scroll-bars-hidden",Cue="--removed-body-scroll-bar-size";function c2(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jue(e,t){var r=T.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var Oue=typeof window<"u"?T.useLayoutEffect:T.useEffect,hP=new WeakMap;function Nue(e,t){var r=jue(null,function(n){return e.forEach(function(a){return c2(a,n)})});return Oue(function(){var n=hP.get(r);if(n){var a=new Set(n),o=new Set(e),l=r.current;a.forEach(function(c){o.has(c)||c2(c,null)}),o.forEach(function(c){a.has(c)||c2(c,l)})}hP.set(r,e)},[e]),r}function Aue(e){return e}function Due(e,t){t===void 0&&(t=Aue);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var l=t(o,n);return r.push(l),function(){r=r.filter(function(c){return c!==l})}},assignSyncMedium:function(o){for(n=!0;r.length;){var l=r;r=[],l.forEach(o)}r={push:function(c){return o(c)},filter:function(){return r}}},assignMedium:function(o){n=!0;var l=[];if(r.length){var c=r;r=[],c.forEach(o),l=r}var f=function(){var g=l;l=[],g.forEach(o)},p=function(){return Promise.resolve().then(f)};p(),r={push:function(g){l.push(g),p()},filter:function(g){return l=l.filter(g),r}}}};return a}function _ue(e){e===void 0&&(e={});var t=Due(null);return t.options=ia({async:!0,ssr:!1},e),t}var bI=function(e){var t=e.sideCar,r=xI(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return T.createElement(n,ia({},r))};bI.isSideCarExport=!0;function Eue(e,t){return e.useMedium(t),bI}var SI=_ue(),u2=function(){},jg=T.forwardRef(function(e,t){var r=T.useRef(null),n=T.useState({onScrollCapture:u2,onWheelCapture:u2,onTouchMoveCapture:u2}),a=n[0],o=n[1],l=e.forwardProps,c=e.children,f=e.className,p=e.removeScrollBar,g=e.enabled,m=e.shards,y=e.sideCar,b=e.noRelative,C=e.noIsolation,x=e.inert,w=e.allowPinchZoom,j=e.as,A=j===void 0?"div":j,_=e.gapMode,M=xI(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=y,D=Nue([r,t]),O=ia(ia({},M),a);return T.createElement(T.Fragment,null,g&&T.createElement(N,{sideCar:SI,removeScrollBar:p,shards:m,noRelative:b,noIsolation:C,inert:x,setCallbacks:o,allowPinchZoom:!!w,lockRef:r,gapMode:_}),l?T.cloneElement(T.Children.only(c),ia(ia({},O),{ref:D})):T.createElement(A,ia({},O,{className:f,ref:D}),c))});jg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};jg.classNames={fullWidth:oh,zeroRight:ih};var Tue=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pue(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Tue();return t&&e.setAttribute("nonce",t),e}function Mue(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Rue(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var kue=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Pue())&&(Mue(t,r),Rue(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Iue=function(){var e=kue();return function(t,r){T.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},wI=function(){var e=Iue(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},zue={left:0,top:0,right:0,gap:0},d2=function(e){return parseInt(e||"",10)||0},$ue=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[d2(r),d2(n),d2(a)]},Lue=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zue;var t=$ue(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Hue=wI(),Ml="data-scroll-locked",Bue=function(e,t,r,n){var a=e.left,o=e.top,l=e.right,c=e.gap;return r===void 0&&(r="margin"),` 504 .`.concat(wue,` { 505 overflow: hidden `).concat(n,`; 506 padding-right: `).concat(c,"px ").concat(n,`; 507 } 508 body[`).concat(Ml,`] { 509 overflow: hidden `).concat(n,`; 510 overscroll-behavior: contain; 511 `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` 512 padding-left: `.concat(a,`px; 513 padding-top: `).concat(o,`px; 514 padding-right: `).concat(l,`px; 515 margin-left:0; 516 margin-top:0; 517 margin-right: `).concat(c,"px ").concat(n,`; 518 `),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";
518")].filter(Boolean).join(""),` 519 } 520 521 .`).concat(ih,` { 522 right: `).concat(c,"px ").concat(n,`; 523 } 524 525 .`).concat(oh,` { 526 margin-right: `).concat(c,"px ").concat(n,`; 527 } 528 529 .`).concat(ih," .").concat(ih,` { 530 right: 0 `).concat(n,`; 531 } 532 533 .`).concat(oh," .").concat(oh,` { 534 margin-right: 0 `).concat(n,`; 535 } 536 537 body[`).concat(Ml,`] { 538 `).concat(Cue,": ").concat(c,`px; 539 } 540`)},mP=function(){var e=parseInt(document.body.getAttribute(Ml)||"0",10);return isFinite(e)?e:0},que=function(){T.useEffect(function(){return document.body.setAttribute(Ml,(mP()+1).toString()),function(){var e=mP()-1;e<=0?document.body.removeAttribute(Ml):document.body.setAttribute(Ml,e.toString())}},[])},Fue=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;que();var o=T.useMemo(function(){return Lue(a)},[a]);return T.createElement(Hue,{styles:Bue(o,!t,a,r?"":"!important")})},mw=!1;if(typeof window<"u")try{var Qp=Object.defineProperty({},"passive",{get:function(){return mw=!0,!0}});window.addEventListener("test",Qp,Qp),window.removeEventListener("test",Qp,Qp)}catch{mw=!1}var gl=mw?{passive:!1}:!1,Uue=function(e){return e.tagName==="TEXTAREA"},CI=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Uue(e)&&r[t]==="visible")},Gue=function(e){return CI(e,"overflowY")},Wue=function(e){return CI(e,"overflowX")},gP=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=jI(e,n);if(a){var o=OI(e,n),l=o[1],c=o[2];if(l>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Zue=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Kue=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},jI=function(e,t){return e==="v"?Gue(t):Wue(t)}
vendor: 4,372 bytes, lines 540-543
540,OI=function(e,t){return e==="v"?Zue(t):Kue(t)},Vue=function(e,t){return e==="h"&&t==="rtl"?-1:1},Que=function(e,t,r,n,a){var o=Vue(e,window.getComputedStyle(t).direction),l=o*n,c=r.target,f=t.contains(c),p=!1,g=l>0,m=0,y=0;do{if(!c)break;var b=OI(e,c),C=b[0],x=b[1],w=b[2],j=x-w-o*C;(C||j)&&jI(e,c)&&(m+=j,y+=C);var A=c.parentNode;c=A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?A.host:A}while(!f&&c!==document.body||f&&(t.contains(c)||t===c));return(g&&Math.abs(m)<1||!g&&Math.abs(y)<1)&&(p=!0),p},Yp=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yP=function(e){return[e.deltaX,e.deltaY]},vP=function(e){return e&&"current"in e?e.current:e},Yue=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Xue=function(e){return` 541 .block-interactivity-`.concat(e,` {pointer-events: none;} 542 .allow-interactivity-`).concat(e,` {pointer-events: all;} 543`)},Jue=0,yl=[];function ede(e){var t=T.useRef([]),r=T.useRef([0,0]),n=T.useRef(),a=T.useState(Jue++)[0],o=T.useState(wI)[0],l=T.useRef(e);T.useEffect(function(){l.current=e},[e]),T.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var x=Sue([e.lockRef.current],(e.shards||[]).map(vP),!0).filter(Boolean);return x.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),x.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=T.useCallback(function(x,w){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var j=Yp(x),A=r.current,_="deltaX"in x?x.deltaX:A[0]-j[0],M="deltaY"in x?x.deltaY:A[1]-j[1],N,D=x.target,O=Math.abs(_)>Math.abs(M)?"h":"v";if("touches"in x&&O==="h"&&D.type==="range")return!1;var P=gP(O,D);if(!P)return!0;if(P?N=O:(N=O==="v"?"h":"v",P=gP(O,D)),!P)return!1;if(!n.current&&"changedTouches"in x&&(_||M)&&(n.current=N),!N)return!0;var R=n.current||N;return Que(R,w,x,R==="h"?_:M)},[]),f=T.useCallback(function(x){var w=x;if(!(!yl.length||yl[yl.length-1]!==o)){var j="deltaY"in w?yP(w):Yp(w),A=t.current.filter(function(N){return N.name===w.type&&(N.target===w.target||w.target===N.shadowParent)&&Yue(N.delta,j)})[0];if(A&&A.should){w.cancelable&&w.preventDefault();return}if(!A){var _=(l.current.shards||[]).map(vP).filter(Boolean).filter(function(N){return N.contains(w.target)}),M=_.length>0?c(w,_[0]):!l.current.noIsolation;M&&w.cancelable&&w.preventDefault()}}},[]),p=T.useCallback(function(x,w,j,A){var _={name:x,delta:w,target:j,should:A,shadowParent:tde(j)};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(M){return M!==_})},1)},[]),g=T.useCallback(function(x){r.current=Yp(x),n.current=void 0},[]),m=T.useCallback(function(x){p(x.type,yP(x),x.target,c(x,e.lockRef.current))},[]),y=T.useCallback(function(x){p(x.type,Yp(x),x.target,c(x,e.lockRef.current))},[]);T.useEffect(function(){return yl.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:y}),document.addEventListener("wheel",f,gl),document.addEventListener("touchmove",f,gl),document.addEventListener("touchstart",g,gl),function(){yl=yl.filter(function(x){return x!==o}),document.removeEventListener("wheel",f,gl),document.removeEventListener("touchmove",f,gl),document.removeEventListener("touchstart",g,gl)}},[]);var b=e.removeScrollBar,C=e.inert;return T.createElement(T.Fragment,null,C?T.createElement(o,{styles:Xue(a)}):null,b?T.createElement(Fue,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function tde(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const rde=Eue(SI,ede);var NI=T.forwardRef(function(e,t){return T.createElement(jg,ia({},e,{ref:t,sideCar:rde}))});NI.classNames=jg.classNames;var nde=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},vl=new WeakMap,Xp=new WeakMap,Jp={},f2=0,AI=function(e){return e&&(e.host||AI(e.parentNode))},ade=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=AI(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},ide=function(e,t,r,n){var a=ade(t,Array.isArray(e)?e:[e]);Jp[r]||(Jp[r]=new WeakMap);
543var o=Jp[r],l=[],c=new Set,f=new Set(a),p=function(m){!m||c.has(m)||(c.add(m),p(m.parentNode))};a.forEach(p);var g=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(y){if(c.has(y))g(y);else try{var b=y.getAttribute(n),C=b!==null&&b!=="false",x=(vl.get(y)||0)+1,w=(o.get(y)||0)+1;vl.set(y,x),o.set(y,w),l.push(y),x===1&&C&&Xp.set(y,!0),w===1&&y.setAttribute(r,"true"),C||y.setAttribute(n,"true")}catch(j){console.error("aria-hidden: cannot operate on ",y,j)}})};return g(t),c.clear(),f2++,function(){l.forEach(function(m){var y=vl.get(m)-1,b=o.get(m)-1;vl.set(m,y),o.set(m,b),y||(Xp.has(m)||m.removeAttribute(n),Xp.delete(m)),b||m.removeAttribute(r)}),f2--,f2||(vl=new WeakMap,vl=new WeakMap,Xp=new WeakMap,Jp={})}},ode=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=nde(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),ide(n,a,r,"aria-hidden")):function(){return null}};const sde=T.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),lde=()=>T.useContext(sde);function cde(e={}){const{onKeyDown:t,onCompositionStart:r,onCompositionEnd:n}=e,a=T.useRef(!1),o=T.useRef(null),l=T.useRef(null),c=Iu(m=>{o.current&&(clearTimeout(o.current),o.current=null),l.current&&(clearTimeout(l.current),l.current=null),a.current=!0,r?.(m)}),f=Iu(m=>{o.current=setTimeout(()=>{l.current=setTimeout(()=>{a.current=!1})}),n?.(m)}),p=Iu(m=>{if(a.current&&(m.key==="Escape"||m.key==="Enter"&&!m.shiftKey)){m.stopPropagation();return}t?.(m)}),g=Iu(()=>a.current);return{onCompositionStart:c,onCompositionEnd:f,onKeyDown:p,isComposing:g}}function Ho({className:e,type:t,onKeyDown:r,onCompositionStart:n,onCompositionEnd:a,...o}){const l=lde(),{onCompositionStart:c,onCompositionEnd:f,onKeyDown:p}=cde({onKeyDown:g=>{const m=g.nativeEvent.isComposing||l.justEndedComposing();g.key==="Enter"&&m||r?.(g)},onCompositionStart:g=>{l.setComposing(!0),n?.(g)},onCompositionEnd:g=>{l.markCompositionEnd(),setTimeout(()=>{l.setComposing(!1)},100),a?.(g)}});return d.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:ar("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","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",e),onCompositionStart:c,onCompositionEnd:f,onKeyDown:p,...o})}var ude="Label",DI=T.forwardRef((e,t)=>d.jsx(At.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));DI.displayName=ude;var dde=DI;function $i({className:e,...t}){return d.jsx(dde,{"data-loc":"client/src/components/ui/label.tsx:11","data-slot":"label",className:ar("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function xP(e,[t,r]){return Math.min(r,Math.max(t,e))}function fde(e){const t=e+"CollectionProvider",[r,n]=Dm(t),[a,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=x=>{const{scope:w,children:j}=x,A=$.useRef(null),_=$.useRef(new Map).current;return d.jsx(a,{scope:w,itemMap:_,collectionRef:A,children:j})};l.displayName=t;const c=e+"CollectionSlot",f=ed(c),p=$.forwardRef((x,w)=>{const{scope:j,children:A}=x,_=o(c,j),M=Ft(w,_.collectionRef);return d.jsx(f,{ref:M,children:A})});p.displayName=c;const g=e+"CollectionItemSlot",m="data-radix-collection-item",y=ed(g),b=$.forwardRef((x,w)=>{const{scope:j,children:A,..._}=x,M=$.useRef(null),N=Ft(w,M),D=o(g,j);return $.useEffect(()=>(D.itemMap.set(M,{ref:M,..._}),()=>void D.itemMap.delete(M))),d.jsx(y,{[m]:"",ref:N,children:A})});b.displayName=g;function C(x){const w=o(e+"CollectionConsumer",x);return $.useCallback(()=>{const A=w.collectionRef.current;if(!A)return[];const _=Array.from(A.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((D,O)=>_.indexOf(D.ref.current)-_.indexOf(O.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:l,Slot:p,ItemSlot:b},C,n]}var pde=T.createContext(void 0);function hde(e){const t=T.useContext(pde);return e||t||"ltr"}function mde(e){const t=T.useRef({value:e,previous:e});return T.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var gde=[" ","Enter","ArrowUp","ArrowDown"],yde=[" ","Enter"],fs="Select",[Og,Ng,vde]=fde(fs),[Oc]=Dm(fs,[vde,Rm]),Ag=Rm(),[xde,so]=Oc(fs),[bde,Sde]=Oc(fs),_I=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:a,onOpenChange:o,value:l,defaultValue:c,onValueChange:f,dir:p,name:g,autoComplete:m,disabled:y,required:b,form:C}=e,x=Ag(t),[w,j]=T.useState(null),[A,_]=T.useState(null),[M,N]=T.useState(!1),D=hde(p),[O,P]=k2({prop:n,defaultProp:a??!1,onChange:o,caller:fs}),[R,F]=k2({prop:l,defaultProp:c,onChange:f,caller:fs}),I=T.useRef(null),L=w?C||!!w.closest("form"):!0,[G,W]=T.useState(new Set),q=Array.from(G).map(k=>k.props.value).join(";");return d.jsx(QM,{...x,children:d.jsxs(xde,{required:b,scope:t,trigger:w,onTriggerChange:j,valueNode:A,onValueNodeChange:_,valueNodeHasChildren:M,onValueNodeHasChildrenChange:N,contentId:_m(),value:R,onValueChange:F,open:O,onOpenChange:P,dir:D,triggerPointerDownPosRef:I,disabled:y,children:[d.jsx(Og.Provider,{scope:t,children:d.jsx(bde,{scope:e.__scopeSelect,onNativeOptionAdd:T.useCallback(k=>{W(H=>new Set(H).add(k))},[]),onNativeOptionRemove:T.useCallback(k=>{W(H=>{const U=new Set(H);return U.delete(k),U})},[]),children:r})}),L?d.jsxs(YI,{"aria-hidden":!0,required:b,tabIndex:-1,name:g,autoComplete:m,value:R,onChange:k=>F(k.target.value),disabled:y,form:C,children:[R===void 0?d.jsx("option",{value:""}):null,Array.from(G)]},q):null]})})};_I.displayName=fs;var EI="SelectTrigger",TI=T.forwardRef((e,t)=>
vendor: 13,479 bytes, line 543
543{const{__scopeSelect:r,disabled:n=!1,...a}=e,o=Ag(r),l=so(EI,r),c=l.disabled||n,f=Ft(t,l.onTriggerChange),p=Ng(r),g=T.useRef("touch"),[m,y,b]=JI(x=>{const w=p().filter(_=>!_.disabled),j=w.find(_=>_.value===l.value),A=e9(w,x,j);A!==void 0&&l.onValueChange(A.value)}),C=x=>{c||(l.onOpenChange(!0),b()),x&&(l.triggerPointerDownPosRef.current={x:Math.round(x.pageX),y:Math.round(x.pageY)})};return d.jsx(YM,{asChild:!0,...o,children:d.jsx(At.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":XI(l.value)?"":void 0,...a,ref:f,onClick:vt(a.onClick,x=>{x.currentTarget.focus(),g.current!=="mouse"&&C(x)}),onPointerDown:vt(a.onPointerDown,x=>{g.current=x.pointerType;const w=x.target;w.hasPointerCapture(x.pointerId)&&w.releasePointerCapture(x.pointerId),x.button===0&&x.ctrlKey===!1&&x.pointerType==="mouse"&&(C(x),x.preventDefault())}),onKeyDown:vt(a.onKeyDown,x=>{const w=m.current!=="";!(x.ctrlKey||x.altKey||x.metaKey)&&x.key.length===1&&y(x.key),!(w&&x.key===" ")&&gde.includes(x.key)&&(C(),x.preventDefault())})})})});TI.displayName=EI;var PI="SelectValue",MI=T.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,children:o,placeholder:l="",...c}=e,f=so(PI,r),{onValueNodeHasChildrenChange:p}=f,g=o!==void 0,m=Ft(t,f.onValueNodeChange);return Sr(()=>{p(g)},[p,g]),d.jsx(At.span,{...c,ref:m,style:{pointerEvents:"none"},children:XI(f.value)?d.jsx(d.Fragment,{children:l}):o})});MI.displayName=PI;var wde="SelectIcon",RI=T.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...a}=e;return d.jsx(At.span,{"aria-hidden":!0,...a,ref:t,children:n||"â¼"})});RI.displayName=wde;var Cde="SelectPortal",kI=e=>d.jsx($w,{asChild:!0,...e});kI.displayName=Cde;var ps="SelectContent",II=T.forwardRef((e,t)=>{const r=so(ps,e.__scopeSelect),[n,a]=T.useState();if(Sr(()=>{a(new DocumentFragment)},[]),!r.open){const o=n;return o?ys.createPortal(d.jsx(zI,{scope:e.__scopeSelect,children:d.jsx(Og.Slot,{scope:e.__scopeSelect,children:d.jsx("div",{children:e.children})})}),o):null}return d.jsx($I,{...e,ref:t})});II.displayName=ps;var zn=10,[zI,lo]=Oc(ps),jde="SelectContentImpl",Ode=ed("SelectContent.RemoveScroll"),$I=T.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:o,onPointerDownOutside:l,side:c,sideOffset:f,align:p,alignOffset:g,arrowPadding:m,collisionBoundary:y,collisionPadding:b,sticky:C,hideWhenDetached:x,avoidCollisions:w,...j}=e,A=so(ps,r),[_,M]=T.useState(null),[N,D]=T.useState(null),O=Ft(t,de=>M(de)),[P,R]=T.useState(null),[F,I]=T.useState(null),L=Ng(r),[G,W]=T.useState(!1),q=T.useRef(!1);T.useEffect(()=>{if(_)return ode(_)},[_]),bue();const k=T.useCallback(de=>{const[ge,...le]=L().map(ie=>ie.ref.current),[me]=le.slice(-1),ye=document.activeElement;for(const ie of de)if(ie===ye||(ie?.scrollIntoView({block:"nearest"}),ie===ge&&N&&(N.scrollTop=0),ie===me&&N&&(N.scrollTop=N.scrollHeight),ie?.focus(),document.activeElement!==ye))return},[L,N]),H=T.useCallback(()=>k([P,_]),[k,P,_]);T.useEffect(()=>{G&&H()},[G,H]);const{onOpenChange:U,triggerPointerDownPosRef:Y}=A;T.useEffect(()=>{if(_){let de={x:0,y:0};const ge=me=>{de={x:Math.abs(Math.round(me.pageX)-(Y.current?.x??0)),y:Math.abs(Math.round(me.pageY)-(Y.current?.y??0))}},le=me=>{de.x<=10&&de.y<=10?me.preventDefault():_.contains(me.target)||U(!1),document.removeEventListener("pointermove",ge),Y.current=null};return Y.current!==null&&(document.addEventListener("pointermove",ge),document.addEventListener("pointerup",le,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ge),document.removeEventListener("pointerup",le,{capture:!0})}}},[_,U,Y]),T.useEffect(()=>{const de=()=>U(!1);return window.addEventListener("blur",de),window.addEventListener("resize",de),()=>{window.removeEventListener("blur",de),window.removeEventListener("resize",de)}},[U]);const[ae,B]=JI(de=>{const ge=L().filter(ye=>!ye.disabled),le=ge.find(ye=>ye.ref.current===document.activeElement),me=e9(ge,de,le);me&&setTimeout(()=>me.ref.current.focus())}),K=T.useCallback((de,ge,le)=>{const me=!q.current&&!le;(A.value!==void 0&&A.value===ge||me)&&(R(de),me&&(q.current=!0))},[A.value]),V=T.useCallback(()=>_?.focus(),[_]),J=T.useCallback((de,ge,le)=>{const me=!q.current&&!le;(A.value!==void 0&&A.value===ge||me)&&I(de)},[A.value]),ce=n==="popper"?gw:LI,he=ce===gw?{side:c,sideOffset:f,align:p,alignOffset:g,arrowPadding:m,collisionBoundary:y,collisionPadding:b,sticky:C,hideWhenDetached:x,avoidCollisions:w}:{};return d.jsx(zI,{scope:r,content:_,viewport:N,onViewportChange:D,itemRefCallback:K,selectedItem:P,onItemLeave:V,itemTextRefCallback:J,focusSelectedItem:H,selectedItemText:F,position:n,isPositioned:G,searchRef:ae,children:d.jsx(NI,{as:Ode,allowPinchZoom:!0,children:d.jsx(yI,{asChild:!0,trapped:A.open,onMountAutoFocus:de=>{de.preventDefault()},onUnmountAutoFocus:vt(a,de=>{A.trigger?.focus({preventScroll:!0}),de.preventDefault()}),children:d.jsx(_w,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:de=>de.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:d.jsx(ce,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:de=>de.preventDefault(),...j,...he,onPlaced:()=>W(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:vt(j.onKeyDown,de=>{const ge=de.ctrlKey||de.altKey||de.metaKey;if(de.key==="Tab"&&de.preventDefault(),!ge&&de.key.length===1&&B(de.key),["ArrowUp","ArrowDown","Home","End"].includes(de.key)){let me=L().filter(ye=>!ye.disabled).map(ye=>ye.ref.current);if(["ArrowUp","End"].includes(de.key)&&(me=me.slice().reverse()),["ArrowUp","ArrowDown"].includes(de.key)){const ye=de.target,ie=me.indexOf(ye);me=me.slice(ie+1)}setTimeout(()=>k(me)),de.preventDefault()}})})})})})})});$I.displayName=jde;var Nde="SelectItemAlignedPosition",LI=T.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...a}=e,o=so(ps,r),l=lo(ps,r),[c,f]=T.useState(null),[p,g]=T.useState(null),m=Ft(t,O=>g(O)),y=Ng(r),b=T.useRef(!1),C=T.useRef(!0),{viewport:x,selectedItem:w,selectedItemText:j,focusSelectedItem:A}=l,_=T.useCallback(()=>{if(o.trigger&&o.valueNode&&c&&p&&x&&w&&j){const O=o.trigger.getBoundingClientRect(),P=p.getBoundingClientRect(),R=o.valueNode.getBoundingClientRect(),F=j.getBoundingClientRect();if(o.dir!=="rtl"){const ye=F.left-P.left,ie=R.left-ye,Be=O.left-ie,Ee=O.width+Be,it=Math.max(Ee,P.width),rt=window.innerWidth-zn,mt=xP(ie,[zn,Math.max(zn,rt-it)]);c.style.minWidth=Ee+"px",c.style.left=mt+"px"}else{const ye=P.right-F.right,ie=window.innerWidth-R.right-ye,Be=window.innerWidth-O.right-ie,Ee=O.width+Be,it=Math.max(Ee,P.width),rt=window.innerWidth-zn,mt=xP(ie,[zn,Math.max(zn,rt-it)]);c.style.minWidth=Ee+"px",c.style.right=mt+"px"}const I=y(),L=window.innerHeight-zn*2,G=x.scrollHeight,W=window.getComputedStyle(p),q=parseInt(W.borderTopWidth,10),k=parseInt(W.paddingTop,10),H=parseInt(W.borderBottomWidth,10),U=parseInt(W.paddingBottom,10),Y=q+k+G+U+H,ae=Math.min(w.offsetHeight*5,Y),B=window.getComputedStyle(x),K=parseInt(B.paddingTop,10),V=parseInt(B.paddingBottom,10),J=O.top+O.height/2-zn,ce=L-J,he=w.offsetHeight/2,de=w.offsetTop+he,ge=q+k+de,le=Y-ge;if(ge<=J){const ye=I.length>0&&w===I[I.length-1].ref.current;c.style.bottom="0px";const ie=p.clientHeight-x.offsetTop-x.offsetHeight,Be=Math.max(ce,he+(ye?V:0)+ie+H),Ee=ge+Be;c.style.height=Ee+"px"}else{const ye=I.length>0&&w===I[0].ref.current;c.style.top="0px";const Be=Math.max(J,q+x.offsetTop+(ye?K:0)+he)+le;c.style.height=Be+"px",x.scrollTop=ge-J+x.offsetTop}c.style.margin=`${zn}px 0`,c.style.minHeight=ae+"px",c.style.maxHeight=L+"px",n?.(),requestAnimationFrame(()=>b.current=!0)}},[y,o.trigger,o.valueNode,c,p,x,w,j,o.dir,n]);Sr(()=>_(),[_]);const[M,N]=T.useState();Sr(()=>{p&&N(window.getComputedStyle(p).zIndex)},[p]);const D=T.useCallback(O=>{O&&C.current===!0&&(_(),A?.(),C.current=!1)},[_,A]);return d.jsx(Dde,{scope:r,contentWrapper:c,shouldExpandOnScrollRef:b,onScrollButtonChange:D,children:d.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:d.jsx(At.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});LI.displayName=Nde;var Ade="SelectPopperPosition",gw=T.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:a=zn,...o}=e,l=Ag(r);return d.jsx(XM,{...l,...o,ref:t,align:n,collisionPadding:a,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});gw.displayName=Ade;var[Dde,ej]=Oc(ps,{}),yw="SelectViewport",HI=T.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...a}=e,o=lo(yw,r),l=ej(yw,r),c=Ft(t,o.onViewportChange),f=T.useRef(0);return d.jsxs(d.Fragment,{children:[d.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),d.jsx(Og.Slot,{scope:r,children:d.jsx(At.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:vt(a.onScroll,p=>{const g=p.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:y}=l;if(y?.current&&m){const b=Math.abs(f.current-g.scrollTop);if(b>0){const C=window.innerHeight-zn*2,x=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),j=Math.max(x,w);if(j<C){const A=j+b,_=Math.min(C,A),M=A-_;m.style.height=_+"px",m.style.bottom==="0px"&&(g.scrollTop=M>0?M:0,m.style.justifyContent="flex-end")}}}f.current=g.scrollTop})})})]})});HI.displayName=yw;var BI="SelectGroup",[_de,Ede]=Oc(BI),Tde=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=_m();return d.jsx(_de,{scope:r,id:a,children:d.jsx(At.div,{role:"group","aria-labelledby":a,...n,ref:t})})});Tde.displayName=BI;var qI="SelectLabel",Pde=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Ede(qI,r);return d.jsx(At.div,{id:a.id,...n,ref:t})});Pde.displayName=qI;var vm="SelectItem",[Mde,FI]=Oc(vm),UI=T.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:a=!1,textValue:o,...l}=e,c=so(vm,r),f=lo(vm,r),p=c.value===n,[g,m]=T.useState(o??""),[y,b]=T.useState(!1),C=Ft(t,A=>f.itemRefCallback?.(A,n,a)),x=_m(),w=T.useRef("touch"),j=()=>{a||(c.onValueChange(n),c.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return d.jsx(Mde,{scope:r,value:n,disabled:a,textId:x,isSelected:p,onItemTextChange:T.useCallback(A=>{m(_=>_||(A?.textContent??"").trim())},[]),children:d.jsx(Og.ItemSlot,{scope:r,value:n,disabled:a,textValue:g,children:d.jsx(At.div,{role:"option","aria-labelledby":x,"data-highlighted":y?"":void 0,"aria-selected":p&&y,"data-state":p?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...l,ref:C,onFocus:vt(l.onFocus,()=>b(!0)),onBlur:vt(l.onBlur,()=>b(!1)),onClick:vt(l.onClick,()=>{w.current!=="mouse"&&j()}),onPointerUp:vt(l.onPointerUp,()=>{w.current==="mouse"&&j()}),onPointerDown:vt(l.onPointerDown,A=>{w.current=A.pointerType}),onPointerMove:vt(l.onPointerMove,A=>{w.current=A.pointerType,a?f.onItemLeave?.():w.current==="mouse"&&A.currentTarget.focus({preventScroll:!0})}),onPointerLeave:vt(l.onPointerLeave,A=>{A.currentTarget===document.activeElement&&f.onItemLeave?.()}),onKeyDown:vt(l.onKeyDown,A=>{f.searchRef?.current!==""&&A.key===" "||(yde.includes(A.key)&&j(),A.key===" "&&A.preventDefault())})})})})});UI.displayName=vm;var zu="SelectItemText",GI=T.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:a,...o}=e,l=so(zu,r),c=lo(zu,r),f=FI(zu,r),p=Sde(zu,r),[g,m]=T.useState(null),y=Ft(t,j=>m(j),f.onItemTextChange,j=>c.itemTextRefCallback?.(j,f.value,f.disabled)),b=g?.textContent,C=T.useMemo(()=>d.jsx("option",{value:f.value,disabled:f.disabled,children:b},f.value),[f.disabled,f.value,b]),{onNativeOptionAdd:x,onNativeOptionRemove:w}=p;return Sr(()=>(x(C),()=>w(C)),[x,w,C]),d.jsxs(d.Fragment,{children:[d.jsx(At.span,{id:f.textId,...o,ref:y}),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?ys.createPortal(o.children,l.valueNode):null]})});GI.displayName=zu;var WI="SelectItemIndicator",ZI=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return FI(WI,r).isSelected?d.jsx(At.span,{"aria-hidden":!0,...n,ref:t}):null});ZI.displayName=WI;var vw="SelectScrollUpButton",KI=T.forwardRef((e,t)=>{const r=lo(vw,e.__scopeSelect),n=ej(vw,e.__scopeSelect),[a,o]=T.useState(!1),l=Ft(t,n.onScrollButtonChange);return Sr(()=>{if(r.viewport&&r.isPositioned){let c=function(){const p=f.scrollTop>0;o(p)};const f=r.viewport;return c(),f.addEventListener("scroll",c),()=>f.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),a?d.jsx(QI,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:f}=r;c&&f&&(c.scrollTop=c.scrollTop-f.offsetHeight)}}):null});KI.displayName=vw;var xw="SelectScrollDownButton",VI=T.forwardRef((e,t)=>
vendor: 4,868 bytes, line 543
543{const r=lo(xw,e.__scopeSelect),n=ej(xw,e.__scopeSelect),[a,o]=T.useState(!1),l=Ft(t,n.onScrollButtonChange);return Sr(()=>{if(r.viewport&&r.isPositioned){let c=function(){const p=f.scrollHeight-f.clientHeight,g=Math.ceil(f.scrollTop)<p;o(g)};const f=r.viewport;return c(),f.addEventListener("scroll",c),()=>f.removeEventListener("scroll",c)}},[r.viewport,r.isPositioned]),a?d.jsx(QI,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:f}=r;c&&f&&(c.scrollTop=c.scrollTop+f.offsetHeight)}}):null});VI.displayName=xw;var QI=T.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...a}=e,o=lo("SelectScrollButton",r),l=T.useRef(null),c=Ng(r),f=T.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return T.useEffect(()=>()=>f(),[f]),Sr(()=>{c().find(g=>g.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),d.jsx(At.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:vt(a.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(n,50))}),onPointerMove:vt(a.onPointerMove,()=>{o.onItemLeave?.(),l.current===null&&(l.current=window.setInterval(n,50))}),onPointerLeave:vt(a.onPointerLeave,()=>{f()})})}),Rde="SelectSeparator",kde=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return d.jsx(At.div,{"aria-hidden":!0,...n,ref:t})});kde.displayName=Rde;var bw="SelectArrow",Ide=T.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,a=Ag(r),o=so(bw,r),l=lo(bw,r);return o.open&&l.position==="popper"?d.jsx(JM,{...a,...n,ref:t}):null});Ide.displayName=bw;var zde="SelectBubbleInput",YI=T.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const a=T.useRef(null),o=Ft(n,a),l=mde(t);return T.useEffect(()=>{const c=a.current;if(!c)return;const f=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(f,"value").set;if(l!==t&&g){const m=new Event("change",{bubbles:!0});g.call(c,t),c.dispatchEvent(m)}},[l,t]),d.jsx(At.select,{...r,style:{...e6,...r.style},ref:o,defaultValue:t})});YI.displayName=zde;function XI(e){return e===""||e===void 0}function JI(e){const t=ns(e),r=T.useRef(""),n=T.useRef(0),a=T.useCallback(l=>{const c=r.current+l;t(c),(function f(p){r.current=p,window.clearTimeout(n.current),p!==""&&(n.current=window.setTimeout(()=>f(""),1e3))})(c)},[t]),o=T.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return T.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,a,o]}function e9(e,t,r){const a=t.length>1&&Array.from(t).every(p=>p===t[0])?t[0]:t,o=r?e.indexOf(r):-1;let l=$de(e,Math.max(o,0));a.length===1&&(l=l.filter(p=>p!==r));const f=l.find(p=>p.textValue.toLowerCase().startsWith(a.toLowerCase()));return f!==r?f:void 0}function $de(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Lde=_I,Hde=TI,Bde=MI,qde=RI,Fde=kI,Ude=II,Gde=HI,Wde=UI,Zde=GI,Kde=ZI,Vde=KI,Qde=VI;function Yde({...e}){return d.jsx(Lde,{"data-loc":"client/src/components/ui/select.tsx:10","data-slot":"select",...e})}function Xde({...e}){return d.jsx(Bde,{"data-loc":"client/src/components/ui/select.tsx:22","data-slot":"select-value",...e})}function Jde({className:e,size:t="default",children:r,...n}){return d.jsxs(Hde,{"data-loc":"client/src/components/ui/select.tsx:34","data-slot":"select-trigger","data-size":t,className:ar("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r,d.jsx(qde,{"data-loc":"client/src/components/ui/select.tsx:44",asChild:!0,children:d.jsx(zm,{"data-loc":"client/src/components/ui/select.tsx:45",className:"size-4 opacity-50"})})]})}function efe({className:e,children:t,position:r="popper",align:n="center",...a}){return d.jsx(Fde,{"data-loc":"client/src/components/ui/select.tsx:59",children:d.jsxs(Ude,{"data-loc":"client/src/components/ui/select.tsx:60","data-slot":"select-content",className:ar("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
543de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,align:n,...a,children:[d.jsx(tfe,{"data-loc":"client/src/components/ui/select.tsx:72"}),d.jsx(Gde,{"data-loc":"client/src/components/ui/select.tsx:73",className:ar("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),d.jsx(rfe,{"data-loc":"client/src/components/ui/select.tsx:82"})]})})}function bP({className:e,children:t,...r}){return d.jsxs(Wde,{"data-loc":"client/src/components/ui/select.tsx:107","data-slot":"select-item",className:ar("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[d.jsx("span",{"data-loc":"client/src/components/ui/select.tsx:115",className:"absolute right-2 flex size-3.5 items-center justify-center",children:d.jsx(Kde,{"data-loc":"client/src/components/ui/select.tsx:116",children:d.jsx(ZU,{"data-loc":"client/src/components/ui/select.tsx:117",className:"size-4"})})}),d.jsx(Zde,{"data-loc":"client/src/components/ui/select.tsx:120",children:t})]})}function tfe({className:e,...t}){return d.jsx(Vde,{"data-loc":"client/src/components/ui/select.tsx:143","data-slot":"select-scroll-up-button",className:ar("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(N6,{"data-loc":"client/src/components/ui/select.tsx:151",className:"size-4"})})}function rfe({className:e,...t}){return d.jsx(Qde,{"data-loc":"client/src/components/ui/select.tsx:161","data-slot":"select-scroll-down-button",className:ar("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(zm,{"data-loc":"client/src/components/ui/select.tsx:169",className:"size-4"})})}const nfe={"A+":"bg-emerald-100 text-emerald-800",A:"bg-emerald-100 text-emerald-800","A-":"bg-emerald-100 text-emerald-800","B+":"bg-blue-100 text-blue-800",B:"bg-blue-100 text-blue-800","B-":"bg-blue-100 text-blue-800","C+":"bg-yellow-100 text-yellow-800",C:"bg-yellow-100 text-yellow-800","C-":"bg-yellow-100 text-yellow-800","D+":"bg-orange-100 text-orange-800",D:"bg-orange-100 text-orange-800","D-":"bg-orange-100 text-orange-800",F:"bg-red-100 text-red-800"};function xl({label:e,value:t}){return d.jsxs("span",{"data-loc":"client/src/pages/SavedSearches.tsx:37",className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs bg-slate-100 text-slate-700 border border-slate-200",children:[d.jsxs("span",{"data-loc":"client/src/pages/SavedSearches.tsx:38",className:"font-medium",children:[e,":"]})," ",t]})}function afe({search:e,onDelete:t}){const[r,n]=T.useState(!1),{data:a,isLoading:o}=_e.savedSearch.matchZips.useQuery({id:e.id},{enabled:r}),l=e.filters,c=Object.entries(l).filter(([,f])=>f!=null);return d.jsxs(Uo,{"data-loc":"client/src/pages/SavedSearches.tsx:54",className:"border border-border/60 hover:border-border transition-colors",children:[d.jsxs(Sl,{"data-loc":"client/src/pages/SavedSearches.tsx:55",className:"pb-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:56",className:"flex items-start justify-between gap-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:57",className:"flex items-center gap-2 min-w-0",children:[d.jsx(Gi,{"data-loc":"client/src/pages/SavedSearches.tsx:58",className:"h-4 w-4 text-primary shrink-0"}),d.jsx(wl,{"data-loc":"client/src/pages/SavedSearches.tsx:59",className:"text-base truncate",children:e.label})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:61",className:"flex items-center gap-2 shrink-0",children:[e.alertEnabled&&d.jsx(Ku,{"data-loc":"client/src/pages/SavedSearches.tsx:63",variant:"outline",className:"text-xs text-emerald-700 border-emerald-300 bg-emerald-50",children:"Alerts On"}),d.jsx(be,{"data-loc":"client/src/pages/SavedSearches.tsx:67",variant:"ghost",size:"icon",className:"h-7 w-7 text-muted-foreground hover:text-destructive",onClick:t,children:d.jsx(od,{"data-loc":"client/src/pages/SavedSearches.tsx:73",className:"h-3.5 w-3.5"})})]})]}),c.length>0&&d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:79",className:"flex flex-wrap gap-1.5 mt-2",children:[l.county&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:80",label:"County",value:l.county}),l.minOverallScore&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:81",label:"Min Overall",value:`${l.minOverallScore}+`}),l.minSafetyScore&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:82",label:"Min Safety",value:`${l.minSafetyScore}+`}),l.minEducationScore&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:83",label:"Min Education",value:`${l.minEducationScore}+`}),l.minCommuteScore&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:84",label:"Min Commute",value:`${l.minCommuteScore}+`}),l.maxCommuteMinutes&&d.jsx(xl,{"data-loc":"client/src/pages/SavedSearches.tsx:85",label:"Max Commute",value:`${l.maxCommuteMinutes} min`})]})]}),d.jsxs(Go,{"data-loc":"client/src/pages/SavedSearches.tsx:90",className:"pt-0",children:[d.jsxs(be,{"data-loc":"client/src/pages/SavedSearches.tsx:91",variant:"outline",size:"sm",className:"w-full gap-2 text-xs",onClick:()=>n(!r),children:[d.jsx(id,{"data-loc":"client/src/pages/SavedSearches.tsx:97",className:"h-3.5 w-3.5"}),r?"Hide":"Show"," Matching ZIPs",r?d.jsx(N6,{"data-loc":"client/src/pages/SavedSearches.tsx:99",className:"h-3.5 w-3.5 ml-auto"}):d.jsx(zm,{"data-loc":"client/src/pages/SavedSearches.tsx:99",className:"h-3.5 w-3.5 ml-auto"})]}),r&&d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:103",className:"mt-3",children:o?d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:105",className:"text-center py-4 text-sm text-muted-foreground",children:"Loading matches..."}):!a||a.count===0?d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:107",className:"text-center py-4 text-sm text-muted-foreground",children:"No ZIPs in the database match these filters yet. Try looking up some ZIPs first."}):d.jsxs(d.Fragment,{children:[d.jsxs("p",{"data-loc":"client/src/pages/SavedSearches.tsx:112",className:"text-xs text-muted-foreground mb-2",children:[a.count," ZIP",a.count!==1?"s":""," match your criteria"]}),d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:115",className:"grid grid-cols-1 sm:grid-cols-2 gap-2 max-h-64 overflow-y-auto pr-1",children:a.matches.map(f=>d.jsx(Pu,{"data-loc":"client/src/pages/SavedSearches.tsx:117",href:`/zip/${f.zipCode}`,children:d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:118",className:"flex items-center justify-between p-2 rounded-lg border border-border/50 hover:bg-accent/50 cursor-pointer transition-colors",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:119",className:"flex items-center gap-2 min-w-0",children:[d.jsx(br,{"data-loc":"client/src/pages/SavedSearches.tsx:120",className:"h-3.5 w-3.5 text-muted-foreground shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:121",className:"min-w-0",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:122",className:"font-medium text-xs",children:f.zipCode}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:123",className:"text-xs text-muted-foreground truncate",children:[f.city,", ",f.county]})]})]}),f.overallGrade&&d.jsx("span",{"data-loc":"client/src/pages/SavedSearches.tsx:127",className:`text-xs font-bold px-1.5 py-0.5 rounded ${nfe[f.overallGrade]??"bg-slate-100 text-slate-700"}`,children:f.overallGrade})]})},f.zipCode))})]})})]})]})}const SP={label:"",county:"",minOverallScore:"",minSafetyScore:"",minEducationScore:"",minCommuteScore:"",maxCommuteMinutes:"",alertEnabled:!0};function ife({open:e,onClose:t,onCreated:r}){const[n,a]=T.useState(SP),o=_e.savedSearch.create.useMutation({onSuccess:()=>{Re.success("Search saved!"),a(SP),r(),t()},onError:p=>Re.error(p.message??"Failed to save search")}),l=T.useCallback(p=>{p.key==="Escape"&&e&&t()},[e,t]);T.useEffect(()=>(document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)),[l]),T.useEffect(()=>(e?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[e]);const c=()=>
543{if(!n.label.trim()){Re.error("Please enter a name for this search.");return}const p={};n.county&&(p.county=n.county),n.minOverallScore&&(p.minOverallScore=Number(n.minOverallScore)),n.minSafetyScore&&(p.minSafetyScore=Number(n.minSafetyScore)),n.minEducationScore&&(p.minEducationScore=Number(n.minEducationScore)),n.minCommuteScore&&(p.minCommuteScore=Number(n.minCommuteScore)),n.maxCommuteMinutes&&(p.maxCommuteMinutes=Number(n.maxCommuteMinutes)),o.mutate({label:n.label.trim(),filters:p,alertEnabled:n.alertEnabled})};return e?ys.createPortal(d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:220",className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-label":"New Saved Search",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:227",className:"absolute inset-0 bg-black/60",onClick:t}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:233",className:"relative z-10 w-full max-w-md rounded-xl bg-card border border-border text-foreground shadow-2xl p-6 space-y-4",children:[d.jsx("button",{"data-loc":"client/src/pages/SavedSearches.tsx:235",onClick:t,className:"absolute top-4 right-4 text-muted-foreground hover:text-foreground transition-colors","aria-label":"Close",children:d.jsx(Ji,{"data-loc":"client/src/pages/SavedSearches.tsx:240",className:"w-4 h-4"})}),d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:244",className:"space-y-1 pr-6",children:d.jsxs("h2",{"data-loc":"client/src/pages/SavedSearches.tsx:245",className:"flex items-center gap-2 text-base font-semibold",children:[d.jsx(Gi,{"data-loc":"client/src/pages/SavedSearches.tsx:246",className:"h-4 w-4 text-primary"}),"New Saved Search"]})}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:252",className:"space-y-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:253",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:254",htmlFor:"search-label",children:"Search Name *"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:255",id:"search-label",placeholder:"e.g. Plano Family Friendly",value:n.label,onChange:p=>a({...n,label:p.target.value}),maxLength:128})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:264",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:265",children:"County Filter"}),d.jsxs(Yde,{"data-loc":"client/src/pages/SavedSearches.tsx:266",value:n.county,onValueChange:p=>a({...n,county:p==="any"?"":p}),children:[d.jsx(Jde,{"data-loc":"client/src/pages/SavedSearches.tsx:267",children:d.jsx(Xde,{"data-loc":"client/src/pages/SavedSearches.tsx:268",placeholder:"Any county"})}),d.jsxs(efe,{"data-loc":"client/src/pages/SavedSearches.tsx:270",children:[d.jsx(bP,{"data-loc":"client/src/pages/SavedSearches.tsx:271",value:"any",children:"Any county"}),yh.map(p=>d.jsx(bP,{"data-loc":"client/src/pages/SavedSearches.tsx:273",value:p,children:p},p))]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:279",className:"grid grid-cols-2 gap-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:280",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:281",htmlFor:"min-overall",children:"Min Overall Score"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:282",id:"min-overall",type:"number",placeholder:"0â100",min:0,max:100,value:n.minOverallScore,onChange:p=>a({...n,minOverallScore:p.target.value})})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:292",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:293",htmlFor:"min-safety",children:"Min Safety Score"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:294",id:"min-safety",type:"number",placeholder:"0â100",min:0,max:100,value:n.minSafetyScore,onChange:p=>a({...n,minSafetyScore:p.target.value})})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:304",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:305",htmlFor:"min-education",children:"Min Education Score"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:306",id:"min-education",type:"number",placeholder:"0â100",min:0,max:100,value:n.minEducationScore,onChange:p=>a({...n,minEducationScore:p.target.value})})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:316",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:317",htmlFor:"min-commute",children:"Min Commute Score"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:318",id:"min-commute",type:"number",placeholder:"0â100",min:0,max:100,value:n.minCommuteScore,onChange:p=>a({...n,minCommuteScore:p.target.value})})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:330",className:"space-y-1.5",children:[d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:331",htmlFor:"max-commute",children:"Max Commute (minutes)"}),d.jsx(Ho,{"data-loc":"client/src/pages/SavedSearches.tsx:332",id:"max-commute",type:"number",placeholder:"e.g. 30",min:0,max:120,value:n.maxCommuteMinutes,onChange:p=>a({...n,maxCommuteMinutes:p.target.value})})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:343",className:"flex items-center gap-2",children:[d.jsx("input",{"data-loc":"client/src/pages/SavedSearches.tsx:344",id:"alert-enabled",type:"checkbox",checked:n.alertEnabled,onChange:p=>a({...n,alertEnabled:p.target.checked}
543),className:"h-4 w-4 rounded border-border accent-primary"}),d.jsx($i,{"data-loc":"client/src/pages/SavedSearches.tsx:351",htmlFor:"alert-enabled",className:"cursor-pointer",children:"Enable alerts when new ZIPs match"})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:358",className:"flex flex-col-reverse sm:flex-row gap-2 pt-1",children:[d.jsx(be,{"data-loc":"client/src/pages/SavedSearches.tsx:359",variant:"outline",onClick:t,className:"w-full sm:w-auto",children:"Cancel"}),d.jsx(be,{"data-loc":"client/src/pages/SavedSearches.tsx:362",onClick:c,disabled:o.isPending,className:"w-full sm:w-auto",children:o.isPending?"Saving...":"Save Search"})]})]})]}),document.body):null}function ofe(){const{user:e,isPending:t}=eo(),[r,n]=T.useState(!1),{data:a,isLoading:o,refetch:l}=_e.savedSearch.list.useQuery(void 0,{enabled:!!e}),c=_e.savedSearch.delete.useMutation({onSuccess:()=>{Re.success("Saved search deleted"),l()},onError:()=>Re.error("Failed to delete saved search")});return!e&&t?d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:393",className:"container py-12 text-center text-muted-foreground",children:"Loading..."}):e?d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:418",className:"container py-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:419",className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:420",className:"flex items-center gap-3",children:[d.jsx(Gi,{"data-loc":"client/src/pages/SavedSearches.tsx:421",className:"h-6 w-6 text-primary"}),d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:422",children:[d.jsx("h1",{"data-loc":"client/src/pages/SavedSearches.tsx:423",className:"text-2xl font-bold",children:"Saved Searches"}),d.jsx("p",{"data-loc":"client/src/pages/SavedSearches.tsx:424",className:"text-sm text-muted-foreground",children:"Your saved search criteria and matching DFW ZIP codes"})]})]}),d.jsxs(be,{"data-loc":"client/src/pages/SavedSearches.tsx:429",size:"sm",onClick:()=>n(!0),className:"gap-2",children:[d.jsx(B2,{"data-loc":"client/src/pages/SavedSearches.tsx:430",className:"h-4 w-4"}),"New Search"]})]}),o?d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:436",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[1,2,3].map(f=>d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:438",className:"h-32 rounded-xl bg-muted animate-pulse"},f))}):!a||a.length===0?d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:442",className:"text-center py-16 border-2 border-dashed border-border rounded-xl",children:[d.jsx(Gi,{"data-loc":"client/src/pages/SavedSearches.tsx:443",className:"h-10 w-10 text-muted-foreground mx-auto mb-3"}),d.jsx("h3",{"data-loc":"client/src/pages/SavedSearches.tsx:444",className:"font-semibold text-lg mb-1",children:"No saved searches yet"}),d.jsx("p",{"data-loc":"client/src/pages/SavedSearches.tsx:445",className:"text-muted-foreground text-sm mb-4",children:"Create a saved search to quickly find ZIP codes matching your criteria."}),d.jsxs(be,{"data-loc":"client/src/pages/SavedSearches.tsx:448",onClick:()=>n(!0),className:"gap-2",children:[d.jsx(B2,{"data-loc":"client/src/pages/SavedSearches.tsx:449",className:"h-4 w-4"}),"Create Your First Search"]})]}):d.jsx("div",{"data-loc":"client/src/pages/SavedSearches.tsx:454",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:a.map(f=>d.jsx(afe,{"data-loc":"client/src/pages/SavedSearches.tsx:456",search:f,onDelete:()=>c.mutate({id:f.id})},f.id))}),d.jsx(ife,{"data-loc":"client/src/pages/SavedSearches.tsx:465",open:r,onClose:()=>n(!1),onCreated:()=>l()})]}):d.jsxs("div",{"data-loc":"client/src/pages/SavedSearches.tsx:401",className:"container py-16 text-center",children:[d.jsx(Gi,{"data-loc":"client/src/pages/SavedSearches.tsx:402",className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),d.jsx("h2",{"data-loc":"client/src/pages/SavedSearches.tsx:403",className:"text-xl font-semibold mb-2",children:"Sign in to view saved searches"}),d.jsx("p",{"data-loc":"client/src/pages/SavedSearches.tsx:404",className:"text-muted-foreground mb-6",children:"Save your search criteria and quickly find matching ZIP codes anytime."}),d.jsx(be,{"data-loc":"client/src/pages/SavedSearches.tsx:407",asChild:!0,children:d.jsxs("a",{"data-loc":"client/src/pages/SavedSearches.tsx:408",href:Jd(),children:[d.jsx(JU,{"data-loc":"client/src/pages/SavedSearches.tsx:409",className:"h-4 w-4 mr-2"}),"Sign In"]})})]})}function sfe(){const{data:e}=_e.comparison.stats.useQuery();return e?d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:12",className:"rounded-lg border border-border/50 bg-card p-6",children:[d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:13",className:"flex items-center gap-2 mb-4",children:[d.jsx(O6,{"data-loc":"client/src/components/ComparisonInsights.tsx:14",className:"w-5 h-5 text-primary"}),d.jsx("h3",{"data-loc":"client/src/components/ComparisonInsights.tsx:15",className:"text-lg font-semibold",children:"Comparison Insights"})]}),d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:18",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:19",className:"p-4 rounded bg-muted/50",children:[d.jsx("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:20",className:"text-sm text-muted-foreground mb-1",children:"Total Comparisons"}),d.jsx("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:21",className:"text-3xl font-bold",children:e.totalComparisons}
543)]}),d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:24",className:"p-4 rounded bg-muted/50",children:[d.jsx("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:25",className:"text-sm text-muted-foreground mb-1",children:"Top ZIP Pair Comparisons"}),d.jsx("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:26",className:"text-3xl font-bold",children:e.topPairs[0]?.count||0})]})]}),e.topPairs&&e.topPairs.length>0&&d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:31",className:"mt-6",children:[d.jsxs("h4",{"data-loc":"client/src/components/ComparisonInsights.tsx:32",className:"text-sm font-semibold mb-3 flex items-center gap-2",children:[d.jsx(wr,{"data-loc":"client/src/components/ComparisonInsights.tsx:33",className:"w-4 h-4"}),"Top Compared Pairs"]}),d.jsx("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:36",className:"space-y-2",children:e.topPairs.slice(0,5).map((t,r)=>d.jsxs("div",{"data-loc":"client/src/components/ComparisonInsights.tsx:38",className:"flex items-center justify-between p-2 rounded bg-muted/30",children:[d.jsx("span",{"data-loc":"client/src/components/ComparisonInsights.tsx:39",className:"text-sm",children:t.zips}),d.jsxs("span",{"data-loc":"client/src/components/ComparisonInsights.tsx:40",className:"text-xs text-muted-foreground",children:[t.count," comparisons"]})]},r))})]})]}):null}function lfe(){const[,e]=ln(),[t,r]=T.useState([]),[n,a]=T.useState(""),[o,l]=T.useState(!1),[c,f]=T.useState({occupations:[],minIncome:0,maxIncome:5e5}),[p,g]=T.useState(!1),[m,y]=T.useState(""),b=_e.comparison.saveFavorite.useMutation(),C=()=>{if(!m.trim()){Re.error("Please enter a label for this comparison");return}b.mutate({zipCodes:t,label:m},{onSuccess:()=>{Re.success("Comparison saved!"),g(!1),y("")},onError:()=>{Re.error("Failed to save comparison")}})};T.useEffect(()=>{const P=new URLSearchParams(window.location.search).get("zip");P&&!t.includes(P)&&r([P])},[]);const x=()=>{if(!n.trim()){Re.error("Please enter a ZIP code");return}if(t.includes(n)){Re.error("ZIP code already added");return}if(t.length>=3){Re.error("Maximum 3 ZIP codes can be compared");return}r([...t,n.trim()]),a("")},w=O=>{r(t.filter(P=>P!==O))},j=_e.zip.lookup.useQuery({zipCode:t[0]??""},{enabled:!!t[0]}),A=_e.zip.lookup.useQuery({zipCode:t[1]??""},{enabled:!!t[1]}),_=_e.zip.lookup.useQuery({zipCode:t[2]??""},{enabled:!!t[2]}),M=[j,A,_],N=M.slice(0,t.length).some(O=>O.isLoading),D=t.map((O,P)=>({zip:O,data:M[P].data}));return d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:86",className:"min-h-screen bg-background text-foreground",children:[d.jsx(nr,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:87"}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:88",className:"container mx-auto px-4 py-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:89",className:"mb-8",children:[d.jsx("h1",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:90",className:"text-4xl font-bold mb-2",children:"Neighborhood Comparison"}),d.jsx("p",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:91",className:"text-muted-foreground",children:"Compare up to 3 ZIP codes side-by-side"})]}),d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:95",className:"mb-8",children:d.jsx(sfe,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:96"})}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:100",className:"mb-8 p-6 rounded border border-border/50 bg-card",children:[d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:101",className:"flex gap-2 mb-4",children:[d.jsx(Ho,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:102",type:"text",placeholder:"Enter ZIP code (e.g., 75034)",value:n,onChange:O=>a(O.target.value),onKeyDown:O=>O.key==="Enter"&&x(),className:"flex-1"}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:110",onClick:x,disabled:t.length>=3,children:[d.jsx(id,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:111",className:"w-4 h-4 mr-2"}),"Add ZIP"]})]}),t.length>0&&d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:118",className:"mb-4 p-4 rounded border border-border/50 bg-card/50",children:[d.jsxs("button",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:119",onClick:()=>l(!o),className:"text-sm font-medium text-primary hover:underline",children:[o?"Hide":"Show"," Demographic Filters"]}),o&&d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:126",className:"mt-4 space-y-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:127",children:[d.jsx("label",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:128",className:"text-sm font-medium",children:"Top Occupations"}),d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:129",className:"flex flex-wrap gap-2 mt-2",children:["Management","Healthcare","Education","Technology","Finance"].map(O=>d.jsx("button",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:131",onClick:()=>{c.occupations.includes(O)?f({...c,occupations:c.occupations.filter(P=>P!==O)}):f({...c,occupations:[...c.occupations,O]})},className:`px-3 py-1 rounded text-sm ${c.occupations.includes(O)?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:O},O))})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:151",children:[d.jsx("label",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:152",className:"text-sm font-medium",children:"Median Income Range"}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:153",className:"flex gap-4 mt-2",children:[d.jsx("input",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:154",type:"number",placeholder:"Min",value:c.minIncome,onChange:O=>f({...c,minIncome:parseInt(O.target.value)||0}),className:"flex-1 px-3 py-2 rounded border border-border bg-background"}),d.jsx("input",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:161",type:"number",placeholder:"Max",value:c.maxIncome,onChange:O=>f({...c,maxIncome:parseInt(O.target.value)||5e5}),className:"flex-1 px-3 py-2 rounded border border-border bg-background"})]})]})]})]}),t.length>0&&d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:177",className:"flex gap-2 mb-4",children:[d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:178",variant:"outline",size:"sm",onClick:()=>{const O=D.filter(L=>L.data).map(L=>({zipCode:L.zip,city:L.data?.city||"N/A",county:L.data?.county||"N/A",overallGrade:L.data?.overallGrade||"N/A",safetyGrade:L.data?.safetyGrade||"N/A",educationGrade:L.data?.educationGrade||"N/A",commuteGrade:L.data?.commuteGrade||"N/A",totalPopulation:L.data?.totalPopulation||0,medianHomePrice:L.data?.medianHomePrice||0,medianRent:L.data?.medianRent||0,rentalYield:L.data?.rentalYield||0,crimeIndex:L.data?.crimeIndex||0})),P=`<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Comparison</title><style>body{font-family:Arial;margin:20px;color:#333}
543h1{color:#1a3a8a}table{width:100%;border-collapse:collapse;margin:20px 0}th{background:#1a3a8a;color:white;padding:10px}td{border:1px solid #ddd;padding:10px}tr:nth-child(even){background:#f9f9f9}</style></head><body><h1>Neighborhood Comparison</h1><table><thead><tr><th>Metric</th>${O.map(L=>`<th>${L.zipCode}</th>`).join("")}</tr></thead><tbody><tr><td>City</td>${O.map(L=>`<td>${L.city}</td>`).join("")}</tr><tr><td>Overall Grade</td>${O.map(L=>`<td><strong>${L.overallGrade}</strong></td>`).join("")}</tr><tr><td>Population</td>${O.map(L=>`<td>${L.totalPopulation.toLocaleString()}</td>`).join("")}</tr><tr><td>Median Home Price</td>${O.map(L=>`<td>$${L.medianHomePrice.toLocaleString()}</td>`).join("")}</tr></tbody></table></body></html>`,R=new Blob([P],{type:"text/html"}),F=URL.createObjectURL(R),I=document.createElement("a");I.href=F,I.download=`comparison-${t.join("-")}.html`,I.click(),URL.revokeObjectURL(F),Re.success("Comparison report downloaded")},children:[d.jsx(D6,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:211",className:"w-4 h-4 mr-2"}),"Export HTML"]}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:214",variant:"outline",size:"sm",onClick:()=>{const O=t.join(", "),P=`Neighborhood Comparison: ${O}`,R=`I wanted to share this neighborhood comparison with you.%0A%0AComparing ZIPs: ${O}%0A%0AView the comparison here: ${window.location.origin}/compare-neighborhoods?zip=${t.join(",")}%0A%0AThis report includes grades for Overall, Safety, Education, and Commute, along with demographic and market data.`;window.location.href=`mailto:?subject=${encodeURIComponent(P)}&body=${R}`,Re.success("Email client opened")},children:[d.jsx(ca,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:225",className:"w-4 h-4 mr-2"}),"Email Report"]}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:228",variant:"outline",size:"sm",onClick:()=>{const O=t.join(", "),P=`Check out this neighborhood comparison: ${window.location.origin}/compare-neighborhoods?zip=${t.join(",")} - Comparing ${O}`;window.location.href=`sms:?body=${encodeURIComponent(P)}`,Re.success("SMS app opened")},children:[d.jsx(tG,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:238",className:"w-4 h-4 mr-2"}),"SMS Report"]}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:241",variant:"outline",size:"sm",onClick:()=>{window.print(),Re.success("Print dialog opened")},children:[d.jsx(mh,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:249",className:"w-4 h-4 mr-2"}),"Print Report"]}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:252",variant:"outline",size:"sm",onClick:()=>g(!0),children:[d.jsx(Gi,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:257",className:"w-4 h-4 mr-2"}),"Save Comparison"]})]}),p&&d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:265",className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",children:d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:266",className:"bg-card rounded-lg p-6 max-w-sm w-full mx-4 border border-border",children:[d.jsx("h2",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:267",className:"text-xl font-bold mb-4",children:"Save Comparison"}),d.jsx("input",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:268",type:"text",placeholder:"Enter a label for this comparison (e.g., 'Best neighborhoods for families')",value:m,onChange:O=>y(O.target.value),className:"w-full px-3 py-2 rounded border border-border bg-background mb-4",onKeyDown:O=>O.key==="Enter"&&C()}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:276",className:"flex gap-2",children:[d.jsx(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:277",variant:"outline",onClick:()=>{g(!1),y("")},className:"flex-1",children:"Cancel"}),d.jsx(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:287",onClick:C,disabled:b.isPending,className:"flex-1",children:b.isPending?"Saving...":"Save"})]})]})}),d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:300",className:"flex flex-wrap gap-2",children:t.map(O=>d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:302",className:"flex items-center gap-2 px-3 py-1 bg-primary/10 text-primary rounded-full",children:[d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:306",className:"font-semibold",children:O}),d.jsx("button",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:307",onClick:()=>w(O),className:"hover:bg-primary/20 rounded p-0.5",children:d.jsx(Ji,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:311",className:"w-4 h-4"})})]},O))})]}),t.length>0&&d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:320",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:D.map(({zip:O,data:P})=>d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:322",className:"rounded border border-border/50 bg-card p-6 cursor-pointer hover:border-primary/50 transition",onClick:()=>e(`/zip/${O}`),children:P?d.jsxs(d.Fragment,{children:[d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:329",className:"mb-4",children:[d.jsx("h2",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:330",className:"text-2xl font-bold",children:P.zipCode}),d.jsxs("p",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:331",className:"text-sm text-muted-foreground",children:[P.city,", ",P.county," County"]})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:337",className:"grid grid-cols-2 gap-3 mb-6",children:[d.jsx(Wo,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:338",grade:P.overallGrade,label:"Overall",score:P.overallScore}),d.jsx(Wo,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:343",grade:P.crimeGrade,label:"Safety",score:P.crimeScore}),d.jsx(Wo,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:348",grade:P.educationGrade,label:"Education",score:P.educationScore}),d.jsx(Wo,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:353",grade:P.commuteGrade,label:"Commute",score:P.commuteScore})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:361",className:"space-y-3 text-sm",children:[d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:362",className:"flex justify-between",children:[d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:363",className:"text-muted-foreground",children:"Population"}),d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:364",className:"font-semibold",children:_l(P.totalPopulation||0)})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:368",className:"flex justify-between",children:[d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:369",className:"text-muted-foreground",children:"Median Income"}),d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:370",className:"font-semibold",children:Xo(P.medianHouseholdIncome||0)})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:374",className:"flex justify-between",children:[d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:375",className:"text-muted-foreground",children:"Avg Commute"}),d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:376",className:"font-semibold",children:P.avgCommuteMinutes?`${P.avgCommuteMinutes} min`:"N/A"})]}),d.jsxs("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:380",className:"flex justify-between",children:[d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:381",className:"text-muted-foreground",children:"Median Age"}),d.jsx("span",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:382",className:"font-semibold",children:P.medianAge?`${P.medianAge.toFixed(1)} yrs`:"N/A"})]})]}),d.jsxs(be,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:388",variant:"outline",className:"w-full mt-6",onClick:R=>{R.stopPropagation(),e(`/zip/${O}`)},children:[d.jsx(wr,{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:396",className:"w-4 h-4 mr-2"}),"View Full Report"]})]}):N?d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:401",className:"flex items-center justify-center h-64",children:d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:402",className:"w-8 h-8 border-2 border-primary border-t-transparent roun
543ded-full animate-spin"})}):d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:405",className:"text-center text-muted-foreground",children:d.jsx("p",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:406",children:"ZIP code not found"})})},O))}),t.length===0&&d.jsx("div",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:415",className:"text-center py-16",children:d.jsx("p",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:416",className:"text-muted-foreground mb-4",children:"Add ZIP codes above to start comparing neighborhoods"})})]}),d.jsx("style",{"data-loc":"client/src/pages/NeighborhoodComparison.tsx:424",children:` 544 @media print { 545 body { 546 background: white; 547 color: black; 548 } 549 .flex.gap-2.mb-4 { 550 display: none; 551 } 552 .flex.flex-wrap.gap-2 { 553 display: none; 554 } 555 .text-center.py-16 { 556 display: none; 557 } 558 .space-y-4 { 559 page-break-inside: avoid; 560 } 561 .rounded.border { 562 page-break-inside: avoid; 563 border: 1px solid #ccc; 564 } 565 h1, h2, h3 { 566 page-break-after: avoid; 567 } 568 .grid { 569 display: grid; 570 grid-template-columns: repeat(2, 1fr); 571 gap: 1rem; 572 } 573 } 574 `})]})}const cfe=[{name:"U.S. Census Bureau ACS",latestRelease:"2020â2024 ACS 5-Year · released January 29, 2026",refreshFrequency:"Annual 5-year release",geographicScope:"ZCTA (Census ZIP approximation)",status:"current"},{name:"FBI Crime Data Explorer",latestRelease:"2025 annual reported-crime release · August 14, 2026",refreshFrequency:"Annual reported-crime release",geographicScope:"Agency and jurisdiction; mapped to ZIP estimates",status:"current"},{name:"Texas DPS Crime in Texas",latestRelease:"2025 annual report",refreshFrequency:"Annual jurisdictional release",geographicScope:"Agency and jurisdiction; mapped to ZIP estimates",status:"current"},{name:"Texas Education Agency",latestRelease:"TAPR 2024â25 performance · 2026 accountability ratings",refreshFrequency:"Annual performance and accountability releases",geographicScope:"District; mapped to each ZIPâs primary district",status:"current"},{name:"Redfin MLS market trends",latestRelease:"Configured provider returned monthly trend records through May 2026",refreshFrequency:"Provider refreshes; retrieved on demand",geographicScope:"City trends; ZIP-specific only when market-stats data is available",status:"current"},{name:"County market fallback",latestRelease:"2025 county-level benchmark data",refreshFrequency:"Dated fallback only",geographicScope:"County; never presented as a current ZIP snapshot",status:"caution"}];function ufe(){return d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:58",className:"rounded border border-border/50 bg-card p-6 blueprint-corner",children:[d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:59",className:"mb-6",children:[d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:60",className:"flex items-center gap-2 mb-2",children:[d.jsx(j6,{"data-loc":"client/src/components/DataFreshness.tsx:61",className:"w-5 h-5 text-primary"}),d.jsx("h2",{"data-loc":"client/src/components/DataFreshness.tsx:62",className:"text-lg font-bold",children:"Verified Data Sources"})]}),d.jsx("p",{"data-loc":"client/src/components/DataFreshness.tsx:64",className:"text-sm text-muted-foreground",children:"Source audit completed August 25, 2026. The report distinguishes direct ZIP/ZCTA values from district, city, county, and modeled estimates."})]}),d.jsx("div",{"data-loc":"client/src/components/DataFreshness.tsx:69",className:"space-y-4",children:cfe.map(e=>{const t=e.status==="current"?Gw:aa,r=e.status==="current"?"text-green-500":"text-amber-500";return d.jsx("div",{"data-loc":"client/src/components/DataFreshness.tsx:74",className:"p-4 rounded border border-border/30 bg-muted/20",children:d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:75",className:"flex items-start gap-3",children:[d.jsx(t,{"data-loc":"client/src/components/DataFreshness.tsx:76",className:`w-4 h-4 mt-0.5 shrink-0 ${r}`}),d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:77",className:"min-w-0 flex-1",children:[d.jsx("h3",{"data-loc":"client/src/components/DataFreshness.tsx:78",className:"font-semibold text-foreground",children:e.name}),d.jsx("p",{"data-loc":"client/src/components/DataFreshness.tsx:79",className:"mt-1 text-sm text-foreground
574/90",children:e.latestRelease}),d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:80",className:"mt-2 grid gap-1 text-xs text-muted-foreground sm:grid-cols-2",children:[d.jsxs("span",{"data-loc":"client/src/components/DataFreshness.tsx:81",children:[d.jsx("span",{"data-loc":"client/src/components/DataFreshness.tsx:81",className:"font-semibold",children:"Refresh:"})," ",e.refreshFrequency]}),d.jsxs("span",{"data-loc":"client/src/components/DataFreshness.tsx:82",children:[d.jsx("span",{"data-loc":"client/src/components/DataFreshness.tsx:82",className:"font-semibold",children:"Scope:"})," ",e.geographicScope]})]})]})]})},e.name)})}),d.jsxs("div",{"data-loc":"client/src/components/DataFreshness.tsx:91",className:"mt-6 flex gap-3 rounded border border-border/30 bg-muted/30 p-4",children:[d.jsx(A6,{"data-loc":"client/src/components/DataFreshness.tsx:92",className:"w-4 h-4 mt-0.5 shrink-0 text-primary"}),d.jsxs("p",{"data-loc":"client/src/components/DataFreshness.tsx:93",className:"text-xs leading-relaxed text-muted-foreground",children:[d.jsx("span",{"data-loc":"client/src/components/DataFreshness.tsx:94",className:"font-semibold text-foreground",children:"Interpretation standard:"})," ACS values are official ZCTA estimates. School data are official district results mapped to a ZIP. Safety values and dated county market data are clearly marked estimates or fallbacks and should be verified before client use."]})]})]})}function dfe(){return d.jsxs("div",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:7",className:"min-h-screen bg-background text-foreground",children:[d.jsx(nr,{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:8"}),d.jsxs("main",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:9",className:"container py-8",children:[d.jsxs("header",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:10",className:"mb-8 max-w-3xl",children:[d.jsx("p",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:11",className:"mb-2 text-xs font-mono font-semibold uppercase tracking-widest text-primary",children:"Research governance"}),d.jsx("h1",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:12",className:"text-4xl font-bold",children:"Data Freshness & Scope"}),d.jsx("p",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:13",className:"mt-3 text-muted-foreground",children:"This register identifies the latest public release used by each report category and explains its underlying geography. It replaces inferred freshness scores and unsupported coverage percentages with source-specific facts."})]}),d.jsx(ufe,{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:18"}),d.jsxs("section",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:20",className:"mt-8 grid gap-6 md:grid-cols-2",children:[d.jsxs("article",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:21",className:"rounded border border-border/50 bg-card p-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:22",className:"mb-3 flex items-center gap-2",children:[d.jsx(Gw,{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:23",className:"w-5 h-5 text-green-500"}),d.jsx("h2",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:24",className:"font-bold",children:"What is directly reported"})]}),d.jsx("p",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:26",className:"text-sm leading-relaxed text-muted-foreground",children:"Census demographics, income, commute, and education-attainment values are retrieved as official ZCTA estimates. TEA TAPR and accountability records are compiled from official district releases and retain their performance and rating years."})]}),d.jsxs("article",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:30",className:"rounded border border-amber-500/30 bg-amber-500/5 p-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:31",className:"mb-3 flex items-center gap-2",children:[d.jsx(aa,{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:32",className:"w-5 h-5 text-amber-500"}),d.jsx("h2",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:33",className:"font-bold",children:"What requires interpretation"})]}),d.jsx("p",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:35",className:"text-sm leading-relaxed text-muted-foreground",children:"FBI and Texas DPS crime reporting is agency- and jurisdiction-based, not ZIP-based. City-level trends and county market fallbacks are likewise labeled by scope. These indicators support research but should be verified before client use."})]})]}),d.jsxs("section",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:41",className:"mt-8 rounded border border-border/50 bg-card p-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:42",className:"mb-3 flex items-center gap-2",children:[d.jsx(QU,{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:43",className:"w-5 h-5 text-primary"}),d.jsx("h2",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:44",className:"font-bold",children:"Refresh policy"})]}),d.jsx("p",{"data-loc":"client/src/pages/DataFreshnessDashboard.tsx:46",className:"text-sm leading-relaxed text-muted-foreground",children:"ZIP records cache for 30 days and automatically refresh when a source vintage or field-mapping version changes. Current-source metadata is carried into the ZIP detail page and both PDF report formats. If an official source is unavailable, the report displays a conspicuous fallback warning rather than representing modeled values as published data."})]})]})]})}function ffe(){const[,e]=ln(),[t,r]=T.useState([]),n=_e.comparison.userStats.useQuery();T.useEffect(()=>{if(n.data?.userTopPairs){const l=n.data.userTopPairs.map((c,f)=>({id:`${f}`,zipCodes:c.zips.split("-"),createdAt:new Date(Date.now()-f*864e5)}));r(l)}},[n.data]);const a=l=>{e(`/compare-neighborhoods?zip=${l.join(",")}`)},o=()=>{r([]),Re.success("Comparison history cleared")};return d.jsx("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:41",className:"min-h-screen bg-background",children:d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:42",className:"container max-w-4xl mx-auto py-8 px-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:43",className:"mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:44",className:"flex items-center gap-3 mb-2",children:[d.jsx(ei,{"data-loc":"client/src/pages/ComparisonHistory.tsx:45",className:"w-6 h-6 text-primary"}),d.jsx("h1",{"data-loc":"client/src/pages/ComparisonHistory.tsx:46",className:"text-3xl font-bold",children:"Comparison History"})]}),d.jsx("p",{"data-loc":"client/src/pages/ComparisonHistory.tsx:48",className:"text-muted-foreground",children:"Your past neighborhood comparisons and most-compared ZIP pairs"})]}),t.length>0?d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:54",className:"space-y-4",children:[t.map(l=>d.jsx("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:56",className:"rounded-lg border border-border/50 bg-card p-4 hover:bg-card/80 transition-colors",children:d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:60",className:"flex items-center justify-between",children:[d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:61",className:"flex-1",children:[d.jsx("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:62",className:"flex items-center gap-2 mb-2",children:d.jsxs("span",{"data-loc":"client/src/pages/ComparisonHistory.tsx:63",className:"text-sm font-mono text-muted-foreground",children:[l.createdAt.toLocaleDateString()," ",l.createdAt.toLocaleTimeString()]})}),d.jsx("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:67",className:"flex gap-2 flex-wrap",children:l.zipCodes.map(c=>d.jsx("span",{"data-loc":"client/src/pages/ComparisonHistory.tsx:69",className:"inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-primary/10 text-primary",children:c},c))})]}),d.jsxs(be,{"data-loc":"client/src/pages/ComparisonHistory.tsx:78",variant:"outline",size:"sm",onClick:()=>
574a(l.zipCodes),className:"ml-4",children:[d.jsx(P6,{"data-loc":"client/src/pages/ComparisonHistory.tsx:84",className:"w-4 h-4 mr-2"}),"Recompare"]})]})},l.id)),d.jsxs(be,{"data-loc":"client/src/pages/ComparisonHistory.tsx:91",variant:"outline",className:"w-full mt-6",onClick:o,children:[d.jsx(od,{"data-loc":"client/src/pages/ComparisonHistory.tsx:96",className:"w-4 h-4 mr-2"}),"Clear History"]})]}):d.jsxs("div",{"data-loc":"client/src/pages/ComparisonHistory.tsx:101",className:"text-center py-16",children:[d.jsx(ei,{"data-loc":"client/src/pages/ComparisonHistory.tsx:102",className:"w-12 h-12 text-muted-foreground mx-auto mb-4"}),d.jsx("p",{"data-loc":"client/src/pages/ComparisonHistory.tsx:103",className:"text-muted-foreground mb-4",children:"No comparison history yet"}),d.jsx(be,{"data-loc":"client/src/pages/ComparisonHistory.tsx:106",onClick:()=>e("/compare-neighborhoods"),children:"Start Comparing"})]})]})})}function pfe(){const[,e]=ln(),[t,r]=T.useState(""),[n,a]=T.useState(null),[o,l]=T.useState(!1),[c,f]=T.useState("A"),[p,g]=T.useState("F"),[m,y]=T.useState(null),{user:b}=eo(),C=_e.useUtils(),{data:x}=_e.savedCities.list.useQuery(void 0,{enabled:!!b}),w=_e.savedCities.add.useMutation({onSuccess:()=>{Re.success("City saved!",{description:"Added to your saved cities."}),C.savedCities.list.invalidate()},onError:R=>{R.message.includes("already saved")?Re.info("Already saved",{description:"This city is already in your saved list."}):Re.error("Error",{description:R.message})}}),j=_e.savedCities.remove.useMutation({onSuccess:()=>{Re.success("City removed",{description:"Removed from your saved cities."}),C.savedCities.list.invalidate()}}),A=T.useMemo(()=>{const R={};return Hm.forEach(F=>{const I=`${F.city}-${F.county}`;R[I]||(R[I]={city:F.city,county:F.county,zips:[],note:F.note}),R[I].zips.push(F.zip)}),Object.values(R).sort((F,I)=>F.city.localeCompare(I.city))},[]),_=T.useMemo(()=>{const R=new Set(Object.values(W2));return Array.from(R).sort()},[]),M=T.useMemo(()=>A.filter(R=>{const F=t.length===0||R.city.toLowerCase().includes(t.toLowerCase())||R.county.toLowerCase().includes(t.toLowerCase()),I=!n||R.county===n;let L=!0;return m&&(L=R.zips.some(G=>W2[G]===m)),F&&I&&L}),[A,t,n,m,c,p]),N=(R,F)=>x?.some(I=>I.city===R&&I.county===F),D=(R,F,I)=>{if(!b){Re.info("Sign in required",{description:"Please sign in to save cities."});return}w.mutate({city:R,county:F,primaryZip:I})},O=(R,F)=>{const I=x?.find(L=>L.city===R&&L.county===F);I&&j.mutate({id:I.id})},P=R=>{e(`/zip/${R}`)};return d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:123",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/CityFinder.tsx:124"}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:126",className:"container py-8 pb-24 md:pb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:128",className:"mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:129",className:"flex items-center gap-2 text-xs font-mono text-muted-foreground mb-2",children:[d.jsx("button",{"data-loc":"client/src/pages/CityFinder.tsx:130",onClick:()=>e("/"),className:"hover:text-primary transition-colors",children:"Search"}),d.jsx(Ua,{"data-loc":"client/src/pages/CityFinder.tsx:133",className:"w-3 h-3"}),d.jsx("span",{"data-loc":"client/src/pages/CityFinder.tsx:134",className:"text-foreground",children:"City Finder"})]}),d.jsx("h1",{"data-loc":"client/src/pages/CityFinder.tsx:136",className:"text-3xl md:text-4xl font-black text-foreground tracking-tight mb-2",children:"Browse All DFW Cities"}),d.jsx("p",{"data-loc":"client/src/pages/CityFinder.tsx:139",className:"text-muted-foreground max-w-2xl",children:"Explore neighborhoods by city. Filter by county, school district, or grade to narrow your search."})]}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:145",className:"space-y-4 mb-8",children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:146",className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[d.jsx("div",{"data-loc":"client/src/pages/CityFinder.tsx:148",className:"md:col-span-2",children:d.jsx("div",{"data-loc":"client/src/pages/CityFinder.tsx:149",className:"relative",children:d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:150",className:"flex items-center gap-3 bg-card border border-border rounded px-4 py-3 focus-within:border-primary/60 transition-colors shadow-lg shadow-black/20",children:[d.jsx(id,{"data-loc":"client/src/pages/CityFinder.tsx:151",className:"w-5 h-5 text-muted-foreground flex-shrink-0"}),d.jsx("input",{"data-loc":"client/src/pages/CityFinder.tsx:152",type:"text",value:t,onChange:R=>r(R.target.value),placeholder:"Search cities (e.g., Dallas, Plano, Arlington)...",className:"flex-1 bg-transparent text-foreground placeholder:text-muted-foreground outline-none text-base font-medium"}),t&&d.jsx("button",{"data-loc":"client/src/pages/CityFinder.tsx:160",onClick:()=>r(""),className:"text-muted-foreground hover:text-foreground transition-colors",children:d.jsx(Ji,{"data-loc":"client/src/pages/CityFinder.tsx:164",className:"w-4 h-4"})})]})})}),d.jsx("div",{"data-loc":"client/src/pages/CityFinder.tsx:172",children:d.jsxs("select",{"data-loc":"client/src/pages/CityFinder.tsx:173",value:n||"",onChange:R=>
574a(R.target.value||null),className:"w-full bg-card border border-border rounded px-4 py-3 text-foreground outline-none focus:border-primary/60 transition-colors",children:[d.jsx("option",{"data-loc":"client/src/pages/CityFinder.tsx:178",value:"",children:"All Counties"}),yh.map(R=>d.jsxs("option",{"data-loc":"client/src/pages/CityFinder.tsx:180",value:R,children:[R," County"]},R))]})})]}),d.jsxs(be,{"data-loc":"client/src/pages/CityFinder.tsx:189",variant:"outline",size:"sm",onClick:()=>l(!o),className:"gap-2",children:[d.jsx(oG,{"data-loc":"client/src/pages/CityFinder.tsx:195",className:"w-4 h-4"}),o?"Hide":"Show"," Advanced Filters"]}),o&&d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:201",className:"grid grid-cols-1 md:grid-cols-2 gap-4 p-4 rounded border border-border/50 bg-secondary/20",children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:202",children:[d.jsx("label",{"data-loc":"client/src/pages/CityFinder.tsx:203",className:"text-xs font-semibold text-muted-foreground mb-2 block",children:"School District"}),d.jsxs("select",{"data-loc":"client/src/pages/CityFinder.tsx:204",value:m||"",onChange:R=>y(R.target.value||null),className:"w-full bg-card border border-border rounded px-3 py-2 text-sm text-foreground outline-none focus:border-primary/60 transition-colors",children:[d.jsx("option",{"data-loc":"client/src/pages/CityFinder.tsx:209",value:"",children:"All School Districts"}),_.map(R=>d.jsx("option",{"data-loc":"client/src/pages/CityFinder.tsx:211",value:R,children:R},R))]})]}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:218",children:[d.jsx("label",{"data-loc":"client/src/pages/CityFinder.tsx:219",className:"text-xs font-semibold text-muted-foreground mb-2 block",children:"Grade Range"}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:220",className:"flex items-center gap-2",children:[d.jsx("select",{"data-loc":"client/src/pages/CityFinder.tsx:221",value:c,onChange:R=>f(R.target.value),className:"flex-1 bg-card border border-border rounded px-2 py-2 text-xs text-foreground outline-none focus:border-primary/60 transition-colors",children:["A","B","C","D","F"].map(R=>d.jsx("option",{"data-loc":"client/src/pages/CityFinder.tsx:227",value:R,children:R},R))}),d.jsx("span",{"data-loc":"client/src/pages/CityFinder.tsx:232",className:"text-xs text-muted-foreground",children:"to"}),d.jsx("select",{"data-loc":"client/src/pages/CityFinder.tsx:233",value:p,onChange:R=>g(R.target.value),className:"flex-1 bg-card border border-border rounded px-2 py-2 text-xs text-foreground outline-none focus:border-primary/60 transition-colors",children:["A","B","C","D","F"].map(R=>d.jsx("option",{"data-loc":"client/src/pages/CityFinder.tsx:239",value:R,children:R},R))})]})]})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:251",className:"mb-6 text-sm text-muted-foreground",children:["Showing ",d.jsx("span",{"data-loc":"client/src/pages/CityFinder.tsx:252",className:"font-semibold text-foreground",children:M.length})," cities",n&&` in ${n} County`,m&&` in ${m}`]}),M.length>0?d.jsx("div",{"data-loc":"client/src/pages/CityFinder.tsx:259",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:M.map(R=>{const F=N(R.city,R.county);return d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:263",className:"bg-card border border-border rounded-lg p-4 hover:border-primary/50 transition-colors cursor-pointer group",onClick:()=>P(R.zips[0]),children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:268",className:"flex items-start justify-between mb-3",children:[d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:269",className:"flex items-start gap-2 flex-1",children:[d.jsx(br,{"data-loc":"client/src/pages/CityFinder.tsx:270",className:"w-4 h-4 text-primary mt-0.5 flex-shrink-0"}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:271",children:[d.jsx("h3",{"data-loc":"client/src/pages/CityFinder.tsx:272",className:"font-bold text-foreground group-hover:text-primary transition-colors",children:R.city}),d.jsxs("p",{"data-loc":"client/src/pages/CityFinder.tsx:275",className:"text-xs text-muted-foreground",children:[R.county," County"]})]})]}),b&&d.jsx("button",{"data-loc":"client/src/pages/CityFinder.tsx:279",onClick:I=>{I.stopPropagation(),F?O(R.city,R.county):D(R.city,R.county,R.zips[0])},className:"flex-shrink-0 ml-2",children:d.jsx(_6,{"data-loc":"client/src/pages/CityFinder.tsx:290",className:`w-4 h-4 transition-colors ${F?"fill-red-500 text-red-500":"text-muted-foreground hover:text-red-500"}`})})]}),d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:300",className:"mb-3",children:[d.jsxs("p",{"data-loc":"client/src/pages/CityFinder.tsx:301",className:"text-xs font-mono text-muted-foreground mb-1.5",children:[R.zips.length," ZIP",R.zips.length!==1?"s":""]}),d.jsx("div",{"data-loc":"client/src/pages/CityFinder.tsx:304",className:"flex flex-wrap gap-1.5",children:R.zips.map(I=>d.jsx("button",{"data-loc":"client/src/pages/CityFinder.tsx:306",onClick:L=>{L.stopPropagation(),P(I)},className:"inline-flex items-center px-2.5 py-1 rounded text-xs font-mono border border-primary/30 bg-primary/10 text-primary hover:bg-primary/20 transition-colors",children:I},I))})]}),R.note&&d.jsx("p",{"data-loc":"client/src/pages/CityFinder.tsx:322",className:"text-xs text-muted-foreground italic border-t border-border pt-2",children:R.note})]},`${R.city}-${R.county}`)})}):d.jsxs("div",{"data-loc":"client/src/pages/CityFinder.tsx:331",className:"text-center py-12",children:[d.jsx(br,{"data-loc":"client/src/pages/CityFinder.tsx:332",className:"w-12 h-12 text-muted-foreground mx-auto mb-4 opacity-50"}),d.jsx("h3",{"data-loc":"client/src/pages/CityFinder.tsx:333",className:"text-lg font-semibold text-foreground mb-2",children:"No cities found"}),d.jsx("p",{"data-loc":"client/src/pages/CityFinder.tsx:334",className:"text-muted-foreground",children:"Try adjusting your search or filter criteria."})]})]})]})}function hfe(){const e=Qw(),t=new URLSearchParams(e).get("zip");T.useEffect(()=>{if(t){const n=document.getElementById("SearchTextWidget");n&&(n.value=t)}},[t]),T.useEffect(()=>{const n=document.createElement("script");return n.textContent=` 575 document.getElementById("HomeSearchBtnWidget") && 576 (document.getElementById("HomeSearchBtnWidget").onclick = function(event) { 577 var searchText = document.getElementById("SearchTextWidget").value; 578 if (searchText === "" || typeof searchText === "undefined") { 579 document.querySelector("#home-search-form #WidgetSearchValidationError").style.display = "block"; 580 event.preventDefault(); 581 } else { 582 document.querySelector("#home-search-form #WidgetSearchValidationError").style.display = "none"; 583 } 584 }); 585 `,document.body.appendChild(n),()=>{document.body.removeChild(n)}},[]);const r=[{icon:Yo,title:"New Communities",desc:"Browse the latest master-planned communities across DFW"},{icon:$m,title:"Inventory Homes",desc:"Move-in ready homes available now â no wait required"},{icon:q2,title:"Builder Incentives",desc:"Discover current promotions, upgrades & rate buy-downs"}];
585return d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:53",className:"min-h-screen bg-background",children:[d.jsx(nr,{"data-loc":"client/src/pages/NewConstruction.tsx:54"}),d.jsxs("section",{"data-loc":"client/src/pages/NewConstruction.tsx:57",className:"relative overflow-hidden py-14 md:py-20 border-b border-border/40",children:[d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:58",className:"absolute inset-0 pointer-events-none",children:[d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:59",className:"absolute top-0 left-1/4 w-96 h-96 bg-primary/5 rounded-full blur-3xl"}),d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:60",className:"absolute bottom-0 right-1/4 w-64 h-64 bg-blue-500/5 rounded-full blur-3xl"})]}),d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:62",className:"container relative",children:[d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:63",className:"max-w-2xl mx-auto text-center mb-10",children:[d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:64",className:"inline-flex items-center gap-2 px-3 py-1 rounded-full border border-primary/30 bg-primary/10 text-primary text-xs font-mono font-semibold mb-4 tracking-wider uppercase",children:[d.jsx(Yo,{"data-loc":"client/src/pages/NewConstruction.tsx:65",className:"w-3.5 h-3.5"}),"New Construction"]}),d.jsxs("h1",{"data-loc":"client/src/pages/NewConstruction.tsx:68",className:"text-3xl md:text-4xl font-black text-foreground mb-4 leading-tight",children:["Find Your New Home",d.jsx("br",{"data-loc":"client/src/pages/NewConstruction.tsx:69"}),d.jsx("span",{"data-loc":"client/src/pages/NewConstruction.tsx:70",className:"text-primary",children:"Built for DFW Living"})]}),d.jsx("p",{"data-loc":"client/src/pages/NewConstruction.tsx:72",className:"text-muted-foreground text-base md:text-lg leading-relaxed",children:"Search hundreds of new construction communities across Dallas-Fort Worth. Filter by price, beds, baths, and square footage â then connect with Marcus to negotiate the best builder deal on your behalf."})]}),d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:80",className:"grid grid-cols-1 md:grid-cols-3 gap-4 max-w-3xl mx-auto mb-12",children:r.map(({icon:n,title:a,desc:o})=>d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:82",className:"flex flex-col items-center text-center gap-2 p-4 rounded-lg border border-border/50 bg-secondary/30",children:[d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:86",className:"w-9 h-9 rounded-lg bg-primary/15 flex items-center justify-center",children:d.jsx(n,{"data-loc":"client/src/pages/NewConstruction.tsx:87",className:"w-4.5 h-4.5 text-primary"})}),d.jsx("p",{"data-loc":"client/src/pages/NewConstruction.tsx:89",className:"text-sm font-semibold text-foreground",children:a}),d.jsx("p",{"data-loc":"client/src/pages/NewConstruction.tsx:90",className:"text-xs text-muted-foreground leading-relaxed",children:o})]},a))}),d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:96",className:"max-w-[620px] mx-auto",children:d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:98",className:"rounded-xl overflow-hidden shadow-2xl border border-border/30",dangerouslySetInnerHTML:{__html:` 586<div id="widget-box" style="max-width:600px;margin:0px auto;"> 587<form action="https://www.showingnew.com/marcuscartercb/home/redirecttoresultspage" class="pro-search-box" enctype="multipart/form-data" id="pro-search-box-widget" method="post" name="pro-search-box" target="_blank"> 588<div id="home-search-form" class="clearfix home-search-form"> 589<h2 id="titleText">Search New Construction Home Listings</h2> 590<fieldset id="widget-home-search-location" style="border:0;padding:0"> 591<p id="HomesTypeField" class="flex m-0 homes-type-field"> 592<input class="homes-type-field--input" id="AllNew" name="QuickMoveIn" type="radio" value="0" checked=""> 593<label class="homes-type-field--label" for="AllNew">All New Homes</label> 594<input class="homes-type-field--input" id="QMIOnly" name="QuickMoveIn" type="radio" value="1">
595<label class="homes-type-field--label" for="QMIOnly">Inventory Homes</label> 596<a class="homes-type-field--link" href="https://www.showingnew.com/marcuscartercb/new-homes-today" target="_blank"> 597<b>See What's New Today</b> 598<svg class="homes-type-field--link--svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 492.004 492.004" fill="#f58220"><path d="M484.14 226.886L306.46 49.202c-5.072-5.072-11.832-7.856-19.04-7.856-7.216 0-13.972 2.788-19.044 7.856l-16.132 16.136c-5.068 5.064-7.86 11.828-7.86 19.04s2.792 14.2 7.86 19.264L355.9 207.526H26.58C11.732 207.526 0 219.15 0 234.002v22.812c0 14.852 11.732 27.648 26.58 27.648h330.496L252.248 388.926c-5.068 5.072-7.86 11.652-7.86 18.864 0 7.204 2.792 13.88 7.86 18.948l16.132 16.084c5.072 5.072 11.828 7.836 19.044 7.836a26.74 26.74 0 0 0 19.04-7.872l177.68-177.68c5.084-5.088 7.88-11.88 7.86-19.1.016-7.244-2.776-14.04-7.864-19.12z"/></svg> 599</a> 600</p> 601<p class="flex ac search-field"> 602<label for="SearchText"></label> 603<input autocomplete="off" id="SearchTextWidget" aria-label="SearchTextWidget" maxlength="100" name="SearchText" placeholder="Enter City, Zip Code, School District or Community Name" type="text" value="Dallas, TX Area" style="font-size:16px"> 604<input type="submit" class="btn HomeSearchBtn" id="HomeSearchBtnWidget" value="Find Homes"> 605</p> 606</fieldset> 607<p id="WidgetSearchValidationError" class="field-validation-error SearchValidationError" style="display:none"><strong>Oops!</strong> Please enter a valid location (city, zip code or school district) or community name.</p> 608<div id="home-search-options" class="flex"> 609<label for="PriceLow" class="hidden">Minimum</label> 610<select aria-label="PriceLow" id="PriceLow" name="PriceLow"><option value="">Min Price</option><option value="100000">$100,000</option><option value="150000">$150,000</option><option value="200000">$200,000</option><option value="250000">$250,000</option><option value="300000">$300,000</option><option value="350000">$350,000</option><option value="400000">$400,000</option><option value="450000">$450,000</option><option value="500000">$500,000</option><option value="600000">$600,000</option><option value="700000">$700,000</option><option value="800000">$800,000</option><option value="900000">$900,000</option><option value="1000000">$1,000,000</option><option value="1500000">$1,500,000</option><option value="2000000">$2,000,000</option><option value="3000000">$3,000,000</option><option value="5000000">$5,000,000</option></select> 611<label for="PriceHigh" class="hidden">Maximum</label> 612<select aria-label="PriceHigh" id="PriceHigh" name="PriceHigh"><option value="">Max Price</option><option value="100000">$100,000</option><option value="150000">$150,000</option><option value="200000">$200,000</option><option value="250000">$250,000</option><option value="300000">$300,000</option><option value="350000">$350,000</option><option value="400000">$400,000</option><option value="450000">$450,000</option><option value="500000">$500,000</option><option value="600000">$600,000</option><option value="700000">$700,000</option><option value="800000">$800,000</option><option value="900000">$900,000</option><option value="1000000">$1,000,000</option><option value="1500000">$1,500,000</option><option value="2000000">$2,000,000</option><option value="3000000">$3,000,000</option><option value="5000000">$5,000,000</option></select> 613<select aria-label="BedRooms" class="home-search-bedbath" id="BedRooms" name="BedRooms"><option value="-1">Beds</option><option value="1">studio/1</option><option value="2">2+</option><option value="3">3+</option><option value="4">4+</option><option value="5">5+</option></select> 614<select aria-label="Bathrooms" class="home-search-bedbath" id="Bathrooms" name="Bathrooms"><option value="-1">Baths</option><option value="1">1+</option><option value="2">2+</option><option value="3">3+</option><option value="4">4+</option><option value="5">5+</option></select> 615<label for="SqFtLow" class="hidden">Square Feet</label> 616<select aria-label="SqFtLow" id="SqFtLow" name="SqFtLow"><option value="0">Square Feet</option><option value="500">500+</option><option value="1000">1000+</option><option value="1500">1500+</option><option value="2000">2000+</option><option value="2500">2500+</option><option value="3000">3000+</option><option value="3500">3500+</option><option value="4000">4000+</option><option value="5000">5000+</option></select> 617</div> 618<p class="powered-by" style="font-size:12px">Powered by <a style="color:#fff" href="https://www.showingnew.com/marcuscartercb" target="_blank">www.showingnew.com/marcuscartercb</a></p> 619</div> 620</form> 621<style> 622#widget-box *{box-sizing:border-box!important;-webkit-box-sizing:border-box!important} 623#widget-box fieldset{margin:0!important;padding:0!important;border:0!important} 624#widget-box{max-width:600px!important;box-sizing:border-box!important} 625#pro-search-box-widget{max-width:600px!important;width:auto!important} 626#pro-search-box-widget #home-search-form{font-family:'Muli',sans-serif!important;color:#fff!important;background:#001D31!important;border-radius:3px!important;
626padding:0.65em!important;font-size:30px!important} 627#pro-search-box-widget #home-search-form #titleText{font-size:0.8em!important;font-weight:500!important;margin-bottom:10px!important;margin-top:0!important;color:#fff!important} 628#pro-search-box-widget #home-search-form #widget-home-search-location #HomesTypeField{margin:0!important;display:flex!important;position:relative!important} 629#pro-search-box-widget #home-search-form #widget-home-search-location .homes-type-field--label, 630#pro-search-box-widget #home-search-form #widget-home-search-location .homes-type-field--link{margin-right:18px!important;font-size:14px!important;line-height:14px!important;padding:4px 0!important;color:#C5C5C5!important;font-weight:600!important;border-bottom:3px solid transparent!important;transition:ease-in 0.2s!important;cursor:pointer!important} 631#pro-search-box-widget #home-search-form #widget-home-search-location .homes-type-field--link{padding-right:25px!important;color:#f58220!important;position:relative!important;text-decoration:none!important;min-width:max-content!important} 632#pro-search-box-widget #home-search-form #widget-home-search-location .homes-type-field--link .homes-type-field--link--svg{display:block!important;position:absolute!important;left:calc(100% - 20px)!important;opacity:1!important;width:16px!important;height:16px!important;transition:all 0.1s!important;top:4px!important} 633#pro-search-box-widget #home-search-form #widget-home-search-location .homes-type-field--input:checked + .homes-type-field--label{border-bottom:3px solid #84C1FF!important;color:#fff!important;cursor:default!important} 634#pro-search-box-widget #home-search-form #widget-home-search-location #HomesTypeField #AllNew, 635#pro-search-box-widget #home-search-form #widget-home-search-location #HomesTypeField #QMIOnly, 636#pro-search-box-widget #home-search-form .hidden{display:none!important} 637#pro-search-box-widget #home-search-form #widget-home-search-location .search-field{margin:16px 0 20px 0!important;display:flex!important;align-items:center!important} 638#pro-search-box-widget #home-search-form #widget-home-search-location #SearchTextWidget{flex:auto!important;max-width:calc(100% - 48px)!important;padding:14px 16px!important;border-radius:4px 0 0 4px!important;box-shadow:none!important;height:48px!important;border:1px solid #ccdbe4!important;outline:none!important;color:#4b4b4b!important;font-size:16px!important} 639#pro-search-box-widget #home-search-form #widget-home-search-location #HomeSearchBtnWidget{display:initial!important;background:#f58220!important;cursor:pointer!important;flex:auto!important;max-width:48px!important;height:48px!important;border:1px solid #f58220!important;border-radius:0 3px 3px 0!important;padding:0!important;outline:none!important;font-size:0!important} 640#pro-search-box-widget #home-search-form #WidgetSearchValidationError{color:#f58220!important;display:none;font-size:14px!important;margin-top:-.75em!important} 641#pro-search-box-widget #home-search-form #home-search-options{display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;font-size:12px!important} 642#pro-search-box-widget #home-search-form #home-search-options select{flex:auto!important;padding:4px 3px!important;margin-left:8px!important;margin-bottom:8px!important;border:1px solid #ccdbe4!important;border-radius:3px!important;outline:none!important;background-color:#ffffff!important;color:#4b4b4b!important;-webkit-appearance:menulist!important} 643#pro-search-box-widget #home-search-form #home-search-options #PriceLow{margin-left:0!important} 644#pro-search-box-widget #home-search-form .powered-by{font-size:12px!important} 645</style> 646</div> 647 `}})}),d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:169",className:"max-w-xl mx-auto mt-8 text-center",children:[d.jsxs("p",{"data-loc":"client/src/pages/NewConstruction.tsx:170",className:"text-sm text-muted-foreground mb-3",children:["Results open on ",d.jsx("strong",{"data-loc":"client/src/pages/NewConstruction.tsx:171",className:"text-foreground",children:"ShowingNew.com"}
647)," in a new tab. Marcus represents buyers at no cost â builder pays the commission."]}),d.jsxs("a",{"data-loc":"client/src/pages/NewConstruction.tsx:174",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-lg bg-primary text-primary-foreground text-sm font-semibold hover:bg-primary/90 transition-colors",children:["Schedule a New Construction Tour",d.jsx(BU,{"data-loc":"client/src/pages/NewConstruction.tsx:181",className:"w-4 h-4"})]})]})]})]}),d.jsx("section",{"data-loc":"client/src/pages/NewConstruction.tsx:188",className:"py-12 border-t border-border/30",children:d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:189",className:"container max-w-3xl mx-auto text-center",children:[d.jsx("h2",{"data-loc":"client/src/pages/NewConstruction.tsx:190",className:"text-xl font-bold text-foreground mb-3",children:"Why Use a Realtor for New Construction?"}),d.jsx("p",{"data-loc":"client/src/pages/NewConstruction.tsx:191",className:"text-muted-foreground text-sm leading-relaxed mb-6",children:"Builder sales agents represent the builder â not you. Marcus Carter provides independent representation, negotiates upgrades and closing costs, reviews contracts, and ensures your interests are protected throughout the build process. His fee is paid by the builder."}),d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:196",className:"grid grid-cols-2 md:grid-cols-4 gap-4 text-left",children:[{stat:"Free",label:"Buyer representation"},{stat:"100+",label:"DFW builders covered"},{stat:"$0",label:"Out-of-pocket to you"},{stat:"Expert",label:"Contract review"}].map(({stat:n,label:a})=>d.jsxs("div",{"data-loc":"client/src/pages/NewConstruction.tsx:203",className:"p-3 rounded-lg border border-border/40 bg-secondary/20 text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:204",className:"text-lg font-black text-primary",children:n}),d.jsx("div",{"data-loc":"client/src/pages/NewConstruction.tsx:205",className:"text-xs text-muted-foreground mt-0.5",children:a})]},a))})]})})]})}function mfe(){const[,e]=ln(),{isAuthenticated:t}=eo(),[r,n]=T.useState([]);T.useEffect(()=>{t||e("/")},[t,e]);const{data:a,isLoading:o,refetch:l}=_e.savedCities.list.useQuery(void 0,{enabled:t}),p=(a?.map(x=>x.primaryZip)??[]).map(x=>_e.zip.lookup.useQuery({zipCode:x},{enabled:!!a})).map(x=>x.data).filter(Boolean),g=_e.savedCities.remove.useMutation({onSuccess:()=>{Re.success("City removed from saved list"),l(),n([])},onError:x=>Re.error(x.message)}),m=_e.savedCities.bulkRemove.useMutation({onSuccess:()=>{Re.success(`${r.length} cities removed`),l(),n([])},onError:x=>Re.error(x.message)}),y=_e.savedCities.updateAlertPreference.useMutation({onSuccess:()=>{Re.success("Alert preference updated"),l()},onError:x=>Re.error(x.message)});if(!t)return null;if(o)return d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:68",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:69"}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:70",className:"container py-20 flex flex-col items-center gap-4",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:71",className:"w-12 h-12 border-2 border-primary border-t-transparent rounded-full animate-spin"}),d.jsx("p",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:72",className:"text-muted-foreground font-mono text-sm",children:"Loading your saved cities..."})]})]});const b=()=>{r.length===a?.length?n([]):n(a?.map(x=>x.id)??[])},C=x=>{n(w=>w.includes(x)?w.filter(j=>j!==x):[...w,x])};return d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:93",className:"min-h-screen",children:[d.jsx(nr,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:94"}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:95",className:"container py-12",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:97",className:"mb-8",children:[d.jsx("h1",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:98",className:"text-3xl font-black text-foreground mb-2",children:"My Saved Cities"}),d.jsx("p",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:99",className:"text-muted-foreground",children:"Manage your bookmarked neighborhoods and set up grade change alerts."})]}),!a||a.length===0?d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:105",className:"text-center py-20 rounded border border-border/50 bg-secondary/20",children:[d.jsx(br,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:106",className:"w-12 h-12 text-muted-foreground mx-auto mb-4 opacity-50"}),d.jsx("h2",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:107",className:"text-xl font-bold text-foreground mb-2",children:"No Saved Cities Yet"}),d.jsx("p",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:108",className:"text-muted-foreground mb-6",children:"Start bookmarking neighborhoods from the City Finder or ZIP detail pages."}),d.jsx(be,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:111",onClick:()=>e("/city-finder"),children:"Browse Cities"})]}):d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:114",className:"space-y-6",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:116",className:"flex items-center gap-4 p-4 rounded border border-border/50 bg-secondary/20",children:[d.jsx("input",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:117",type:"checkbox",checked:r.length===a.length&&a.length>0,onChange:b,className:"w-4 h-4 rounded cursor-pointer"}),d.jsx("span",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:123",className:"text-sm font-medium text-foreground",children:r.length>0?`${r.length} selected`:"Select all"}),r.length>0&&d.jsxs(be,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:129",variant:"destructive",size:"sm",onClick:()=>m.mutate({ids:r}),disabled:m.isPending,className:"ml-auto",children:[d.jsx(od,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:136",className:"w-4 h-4 mr-2"}),"Delete ",r.length]})]}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:143",className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:a.map(x=>{const w=p.find(A=>A?.zipCode===x.primaryZip),j=r.includes(x.id);return d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:149",className:`rounded border transition-colors ${j?"border-primary/50 bg-primary/10":"border-border/50 bg-card hover:border-primary/30"} p-5`,children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:158",className:"flex items-start gap-3 mb-4",children:[d.jsx("input",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:159",type:"checkbox",checked:j,onChange:()=>C(x.id),className:"w-4 h-4 rounded cursor-pointer mt-1"}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:165",className:"flex-1",children:[d.jsx("h3",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:166",className:"text-lg font-bold text-foreground",children:x.city}),d.jsxs("p",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:167",className:"text-sm text-muted-foreground",children:[x.county," County · ZIP ",x.primaryZip]})]}),d.jsx(be,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:171",variant:"ghost",size:"sm",onClick:()=>g.mutate({id:x.id}),disabled:g.isPending,className:"text-destructive hover:text-destructive",children:d.jsx(od,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:178",className:"w-4 h-4"})})]}),w&&d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:184",className:"grid grid-cols-4 gap-2 mb-4 p-3 rounded bg-secondary/30",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:185",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:186",className:"text-xs text-muted-foreground mb-1",children:"Safety"}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:187",className:"text-xl font-black",style:{color:lt(w.crimeGrade??"")}
647,children:w.crimeGrade??"?"})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:194",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:195",className:"text-xs text-muted-foreground mb-1",children:"Education"}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:196",className:"text-xl font-black",style:{color:lt(w.educationGrade??"")},children:w.educationGrade??"?"})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:203",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:204",className:"text-xs text-muted-foreground mb-1",children:"Commute"}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:205",className:"text-xl font-black text-muted-foreground",children:"â"})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:207",className:"text-center",children:[d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:208",className:"text-xs text-muted-foreground mb-1",children:"Overall"}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:209",className:"text-xl font-black text-muted-foreground",children:"â"})]})]}),d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:215",className:"space-y-2 border-t border-border/30 pt-4",children:[d.jsxs("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:216",className:"flex items-center gap-2 mb-3",children:[d.jsx(Uw,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:217",className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:218",className:"text-sm font-semibold text-foreground",children:"Grade Change Alerts"})]}),d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:220",className:"flex gap-2",children:["daily","weekly","never"].map(A=>d.jsxs(be,{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:222",variant:A==="weekly"?"default":"outline",size:"sm",onClick:()=>y.mutate({savedCityId:x.id,frequency:A}),disabled:y.isPending,className:"text-xs capitalize",children:[A==="daily"&&"Daily",A==="weekly"&&"Weekly",A==="never"&&"Never"]},A))})]}),x.notes&&d.jsx("div",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:245",className:"mt-4 p-3 rounded bg-secondary/20 border border-border/30",children:d.jsx("p",{"data-loc":"client/src/pages/SavedCitiesDashboard.tsx:246",className:"text-xs text-muted-foreground font-mono",children:x.notes})})]},x.id)})})]})]})]})}function gfe(){return d.jsx("a",{"data-loc":"client/src/components/FloatingConsultationButton.tsx:8",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np?locale=en",target:"_blank",rel:"noopener noreferrer",className:"fixed bottom-6 right-6 z-40 hidden sm:block",children:d.jsxs(be,{"data-loc":"client/src/components/FloatingConsultationButton.tsx:14",size:"lg",className:"gap-2 rounded-full shadow-lg shadow-primary/40 hover:shadow-primary/60 transition-all hover:scale-110 font-semibold",children:[d.jsx(j6,{"data-loc":"client/src/components/FloatingConsultationButton.tsx:18",className:"w-5 h-5"}),"Consultation"]})})}function yfe(){return d.jsxs(MG,{"data-loc":"client/src/App.tsx:25",children:[d.jsx(gr,{"data-loc":"client/src/App.tsx:26",path:"/",component:$G}),d.jsx(gr,{"data-loc":"client/src/App.tsx:27",path:"/zip/:zipCode",component:eue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:28",path:"/compare",component:tue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:29",path:"/dashboard",component:rue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:30",path:"/report/:zipCode",component:aue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:31",path:"/map",component:uue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:32",path:"/county-heat-map",component:fue}),d.jsx(gr,{"data-loc":"client/src/App.tsx:33",path:"/saved-searches",component:ofe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:34",path:"/compare-neighborhoods",component:lfe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:35",path:"/data-freshness",component:dfe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:36",path:"/comparison-history",component:ffe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:37",path:"/city-finder",component:pfe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:38",path:"/new-construction",component:hfe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:39",path:"/saved-cities",component:mfe}),d.jsx(gr,{"data-loc":"client/src/App.tsx:40",path:"/404",component:X5}),d.jsx(gr,{"data-loc":"client/src/App.tsx:41",component:X5})]})}function vfe(){return d.jsx(RG,{"data-loc":"client/src/App.tsx:48",children:d.jsx(IG,{"data-loc":"client/src/App.tsx:49",defaultTheme:"dark",children:d.jsxs(Fw,{"data-loc":"client/src/App.tsx:50",children:[d.jsx($B,{"data-loc":"client/src/App.tsx:51",theme:"dark"}),d.jsx(yfe,{"data-loc":"client/src/App.tsx:52"}),d.jsx(gfe,{"data-loc":"client/src/App.tsx:53"})]})})})}const xm=new H$,t9=e=>{!(e instanceof Rl)||typeof window>"u"||!(e.message===SH)||(window.location.href=Jd())};xm.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;t9(t),console.error("[API Query Error]",t)}});xm.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;t9(t),console.error("[API Mutation Error]",t)}});const xfe=_e.createClient({links:[KL({url:"/api/trpc",transformer:ii,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});AH.createRoot(document.getElementById("root")).render(d.jsx(_e.Provider,{"data-loc":"client/src/main.tsx:56",client:xfe,queryClient:xm,children:d.jsx(q$,{"data-loc":"client/src/main.tsx:57",client:xm,children:d.jsx(vfe,{"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.