vendor: 28,765 bytes, lines 1-9
1function EB(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[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"]'))r(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"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(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 r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var xp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bv={exports:{}},hu={};/** 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 yT;function kB(){if(yT)return hu;yT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,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:r,key:l,ref:a!==void 0?a:null,props:o}}return hu.Fragment=t,hu.jsx=n,hu.jsxs=n,hu}var gT;function _B(){return gT||(gT=1,Bv.exports=kB()),Bv.exports}var p=_B(),ns=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(){}},DB=class extends ns{#t;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},AS=new DB,NB={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},RB=class{#t=NB;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}},Ro=new RB;function IB(e){setTimeout(e,0)}var LB=typeof window>"u"||"Deno"in globalThis;function fn(){}function zB(e,t){return typeof e=="function"?e(t):e}function xw(e){return typeof e=="number"&&e>=0&&e!==1/0}function $_(e,t){return Math.max(e+(t||0)-Date.now(),0)}function zi(e,t){return typeof e=="function"?e(t):e}function Zn(e,t){return typeof e=="function"?e(t):e}function vT(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:o,queryKey:l,stale:c}=e;if(l){if(r){if(t.queryHash!==jS(l,t.options))return!1}else if(!Wu(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||o&&!o(t))}function xT(e,t){const{exact:n,status:r,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Fi(t.options.mutationKey)!==Fi(o))return!1}else if(!Wu(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function jS(e,t){return(t?.queryKeyHashFn||Fi)(e)}function Fi(e){return JSON.stringify(e,(t,n)=>bw(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function Wu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Wu(e[n],t[n])):!1}var BB=Object.prototype.hasOwnProperty;function ES(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=bT(e)&&bT(t);if(!r&&!(bw(e)&&bw(t)))return t;const o=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),c=l.length,d=r?new Array(c):{};let f=0;for(let y=0;y<c;y++){const m=r?y:l[y],g=e[m],b=t[m];if(g===b){d[m]=g,(r?y<o:BB.call(e,m))&&f++;continue}if(g===null||b===null||typeof g!="object"||typeof b!="object"){d[m]=b;continue}const C=ES(g,b,n+1);d[m]=C,C===g&&f++}return o===c&&f===o?e:d}function Gu(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function bT(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function bw(e){if(!wT(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!wT(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function wT(e){return Object.prototype.toString.call(e)==="[object Object]"}function qB(e){return new Promise(t=>{Ro.setTimeout(t,e)})}function ww(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ES(e,t):t}function $B(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function FB(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xn=Symbol();function F_(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Xn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function kS(e,t){return typeof e=="function"?e(...t):!!e}function HB(e,t,n){let r=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),r||(r=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}var Ku=(()=>{let e=()=>LB;return{isServer(){return e()},setIsServer(t){e=t}}})();function Sw(){let e,t;const n=new Promise((a,o)=>{e=a,t=o});n.status="pending",n.catch(()=>{});function r(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{r({status:"fulfilled",value:a}),e(a)},n.reject=a=>{r({status:"rejected",reason:a}),t(a)},n}var UB=IB;function WB(){let e=[],t=0,n=c=>{c()},r=c=>{c()},a=UB;const o=c=>{t?e.push(c):a(()=>{n(c)})},l=()=>{const c=e;e=[],c.length&&a(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:c=>{let d;t++;try{d=c()}finally{t--,t||l()}return d},batchCalls:c=>(...d)=>{o(()=>{c(...d)})},schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{a=c}}}var jt=WB(),GB=class extends ns{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},rm=new GB;function KB(e){return Math.min(1e3*2**e,3e4)}function H_(e){return(e??"online")==="online"?rm.isOnline():!0}var Cw=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function U_(e){let t=!1,n=0,r;const a=Sw(),o=()=>a.status!=="pending",l=x=>{if(!o()){const w=new Cw(x);g(w),e.onCancel?.(w)}},c=()=>{t=!0},d=()=>{t=!1},f=()=>AS.isFocused()&&(e.networkMode==="always"||rm.isOnline())&&e.canRun(),y=()=>H_(e.networkMode)&&e.canRun(),m=x=>{o()||(r?.(),a.resolve(x))},g=x=>{o()||(r?.(),a.reject(x))},b=()=>new Promise(x=>{r=w=>{(o()||f())&&x(w)},e.onPause?.()}).then(()=>{r=void 0,o()||e.onContinue?.()}),C=()=>{if(o())return;let x;const w=n===0?e.initialPromise:void 0;try{x=w??e.fn()}catch(M){x=Promise.reject(M)}Promise.resolve(x).then(m).catch(M=>{if(o())return;const T=e.retry??(Ku.isServer()?0:3),j=e.retryDelay??KB,E=typeof j=="function"?j(n,M):j,P=T===!0||typeof T=="number"&&n<T||typeof T=="function"&&T(n,M);if(t||!P){g(M);return}n++,e.onFail?.(n,M),qB(E).then(()=>f()?void 0:b()).then(()=>{t?g(M):C()})})};return{promise:a,status:()=>a.status,cancel:l,continue:()=>(r?.(),a),cancelRetry:c,continueRetry:d,canStart:y,start:()=>(y()?C():b().then(C),a)}}var W_=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xw(this.gcTime)&&(this.#t=Ro.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ku.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(Ro.clearTimeout(this.#t),this.#t=void 0)}},YB=class extends W_{#t;#e;#n;#a;#r;#i;#o;constructor(e){super(),this.#o=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=CT(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=CT(this.options);t.data!==void 0&&(this.setState(ST(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=ww(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#l({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(fn).catch(fn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Zn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xn||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>zi(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:!$_(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.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.#r&&(this.#o||this.#s()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(d=>d.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,r=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},a=()=>{const c=F_(this.options,t),f=(()=>{const y={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#o=!1,this.options.persister?this.options.persister(c,f,this):c(f)},l=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(c),c})();this.options.behavior?.onFetch(l,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#l({type:"fetch",meta:l.fetchOptions?.meta}),this.#r=U_({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:c=>{c instanceof Cw&&c.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(c,d)=>{this.#l({type:"failed",failureCount:c,error:d})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const c=await this.#r.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof Cw){if(c.silent)return this.#r.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#l({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...G_(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...ST(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?r:void 0,r;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),jt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function G_(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:H_(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ST(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function CT(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var zd=class extends ns{constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.#o=Sw(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#a=void 0;#r;#i;#o;#s;#l;#f;#p;#u;#d;#c;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),MT(this.#e,this.options)?this.#h():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Mw(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Mw(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#w(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Zn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#e.setOptions(this.options),t._defaulted&&!Gu(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&OT(this.#e,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#e!==n||Zn(this.options.enabled,this.#e)!==Zn(t.enabled,this.#e)||zi(this.options.staleTime,this.#e)!==zi(t.staleTime,this.#e))&&this.#y();const a=this.#g();r&&(this.#e!==n||Zn(this.options.enabled,this.#e)!==Zn(t.enabled,this.#e)||a!==this.#c)&&this.#v(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return ZB(this,n)&&(this.#a=n,this.#i=this.options,this.#r=this.#e.state),n}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#h(e){this.#S();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(fn)),t}#y(){this.#b();const e=zi(this.options.staleTime,this.#e);if(Ku.isServer()||this.#a.isStale||!xw(e))return;const n=$_(this.#a.dataUpdatedAt,e)+1;this.#u=Ro.setTimeout(()=>{this.#a.isStale||this.updateResult()},n)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#v(e){this.#w(),this.#c=e,!(Ku.isServer()||Zn(this.options.enabled,this.#e)===!1||!xw(this.#c)||this.#c===0)&&(this.#d=Ro.setInterval(()=>{(this.options.refetchIntervalInBackground||AS.isFocused())&&this.#h()},this.#c))}#x(){this.#y(),this.#v(this.#g())}#b(){this.#u!==void 0&&(Ro.clearTimeout(this.#u),this.#u=void 0)}#w(){this.#d!==void 0&&(Ro.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#a,o=this.#r,l=this.#i,d=e!==n?e.state:this.#n,{state:f}=e;let y={...f},m=!1,g;if(t._optimisticResults){const D=this.hasListeners(),I=!D&&MT(e,t),F=D&&OT(e,n,t,r);(I||F)&&(y={...y,...G_(f.data,e.options)}),t._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:b,errorUpdatedAt:C,status:x}=y;g=y.data;let w=!1;if(t.placeholderData!==void 0&&g===void 0&&x==="pending"){let D;a?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(D=a.data,w=!0):D=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,D!==void 0&&(x="success",g=ww(a?.data,D,t),m=!0)}if(t.select&&g!==void 0&&!w)if(a&&g===o?.data&&t.select===this.#l)g=this.#f;else try{this.#l=t.select,g=t.select(g),g=ww(a?.data,g,t),this.#f=g,this.#s=null}catch(D){this.#s=D}this.#s&&(b=this.#s,g=this.#f,C=Date.now(),x="error");const M=y.fetchStatus==="fetching",T=x==="pending",j=x==="error",E=T&&M,P=g!==void 0,A={status:x,fetchStatus:y.fetchStatus,isPending:T,isSuccess:x==="success",isError:j,isInitialLoading:E,isLoading:E,data:g,dataUpdatedAt:y.dataUpdatedAt,error:b,errorUpdatedAt:C,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:y.dataUpdateCount>d.dataUpdateCount||y.errorUpdateCount>d.errorUpdateCount,isFetching:M,isRefetching:M&&!T,isLoadingError:j&&!P,isPaused:y.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:j&&P,isStale:_S(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Zn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const D=A.data!==void 0,I=A.status==="error"&&!D,F=U=>{I?U.reject(A.error):D&&U.resolve(A.data)},L=()=>{const U=this.#o=A.promise=Sw();F(U)},q=this.#o;switch(q.status){case"pending":e.queryHash===n.queryHash&&F(q);break;case"fulfilled":(I||A.data!==q.value)&&L();break;case"rejected":(!I||A.error!==q.reason)&&L();break}}return A}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#i=this.options,this.#r.data!==void 0&&(this.#p=this.#e),Gu(t,e))return;this.#a=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;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:n()})}#S(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#C(e){jt.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function VB(e,t){return Zn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Zn(t.retryOnMount,e)===!1)}function MT(e,t){return VB(e,t)||e.state.data!==void 0&&Mw(e,t,t.refetchOnMount)}function Mw(e,t,n){if(Zn(t.enabled,e)!==!1&&zi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&_S(e,t)}return!1}function OT(e,t,n,r){return(e!==t||Zn(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&_S(e,n)}function _S(e,t){return Zn(t.enabled,e)!==!1&&e.isStaleByTime(zi(t.staleTime,e))}function ZB(e,t){return!Gu(e.getCurrentResult(),t)}function am(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},d=0;const f=async()=>{let y=!1;const m=C=>{HB(C,()=>t.signal,()=>y=!0)},g=F_(t.options,t.fetchOptions),b=async(C,x,w)=>{if(y)return Promise.reject();if(x==null&&C.pages.length)return Promise.resolve(C);const T=(()=>{const k={client:t.client,queryKey:t.queryKey,pageParam:x,direction:w?"backward":"forward",meta:t.options.meta};return m(k),k})(),j=await g(T),{maxPages:E}=t.options,P=w?FB:$B;return{pages:P(C.pages,j,E),pageParams:P(C.pageParams,x,E)}};if(a&&o.length){const C=a==="backward",x=C?K_:Ow,w={pages:o,pageParams:l},M=x(r,w);c=await b(w,M,C)}else{const C=e??o.length;do{const x=d===0?l[0]??r.initialPageParam:Ow(r,c);if(d>0&&x==null)break;c=await b(c,x),d++}while(d<C)}return c};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function Ow(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function K_(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function QB(e,t){return t?Ow(e,t)!=null:!1}function XB(e,t){return!t||!e.getPreviousPageParam?!1:K_(e,t)!=null}var Y_=class extends zd{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:am()})}getOptimisticResult(e){return e.behavior=am(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:o,isError:l,isRefetchError:c}=r,d=n.fetchMeta?.fetchMore?.direction,f=l&&d==="forward",y=a&&d==="forward",m=l&&d==="backward",g=a&&d==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:QB(t,n.data),hasPreviousPage:XB(t,n.data),isFetchNextPageError:f,isFetchingNextPage:y,isFetchPreviousPageError:m,isFetchingPreviousPage:g,isRefetchError:c&&!f&&!m,isRefetching:o&&!y&&!g}}},JB=class extends W_{#t;#e;#n;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||V_(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=U_({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,l)=>{this.#r({type:"failed",failureCount:o,error:l})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",a=!this.#a.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#r({type:"pending",context:l,variables:e,isPaused:a})}const o=await this.#a.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#r({type:"success",data:o}),o}catch(o){try{await this.#n.config.onError?.(o,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(o,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#r({type:"error",error:o}),o}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),jt.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function V_(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var eq=class extends ns{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new JB({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=bp(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=bp(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=bp(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(a=>a.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=bp(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
9r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){jt.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>xT(t,n))}findAll(e={}){return this.getAll().filter(t=>xT(e,t))}notify(e){jt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return jt.batch(()=>Promise.all(e.map(t=>t.continue().catch(fn))))}};function bp(e){return e.options.scope?.id}var tq=class extends ns{#t;#e=void 0;#n;#a;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),Gu(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Fi(n.mutationKey)!==Fi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#i()}mutate(t,n){return this.#a=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??V_();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){jt.batch(()=>{if(this.#a&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#a.onSuccess?.(t.data,n,r,a)}catch(o){Promise.reject(o)}
9try{this.#a.onSettled?.(t.data,null,n,r,a)}catch(o){Promise.reject(o)}}else if(t?.type==="error"){try{this.#a.onError?.(t.error,n,r,a)}catch(o){Promise.reject(o)}try{this.#a.onSettled?.(void 0,t.error,n,r,a)}catch(o){Promise.reject(o)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function TT(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function nq(e,t,n){const r=e.slice(0);return r[t]=n,r}var rq=class extends ns{#t;#e;#n;#a;#r;#i;#o;#s;#l;#f=[];constructor(e,t,n){super(),this.#t=e,this.#a=n,this.#n=[],this.#r=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#a=t,jt.batch(()=>{const n=this.#r,r=this.#d(this.#n);r.forEach(y=>y.observer.setOptions(y.defaultedQueryOptions));const a=r.map(y=>y.observer),o=a.map(y=>y.getCurrentResult()),l=n.length!==a.length,c=a.some((y,m)=>y!==n[m]),d=l||c,f=d?!0:o.some((y,m)=>{const g=this.#e[m];return!g||!Gu(y,g)});!d&&!f||(d&&(this.#f=r,this.#r=a),this.#e=o,this.hasListeners()&&(d&&(TT(n,a).forEach(y=>{y.destroy()}),TT(a,n).forEach(y=>{y.subscribe(m=>{this.#c(y,m)})})),this.#m()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const n=this.#d(e),r=n.map(o=>o.observer.getOptimisticResult(o.defaultedQueryOptions)),a=n.map(o=>o.defaultedQueryOptions.queryHash);return[r,o=>this.#u(o??r,t,a),()=>this.#p(r,n)]}#p(e,t){return t.map((n,r)=>{const a=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?a:n.observer.trackResult(a,o=>{t.forEach(l=>{l.observer.trackProp(o)})})})}#u(e,t,n){if(t){const r=this.#l,a=n!==void 0&&r!==void 0&&(r.length!==n.length||n.some((o,l)=>o!==r[l]));return(!this.#i||this.#e!==this.#s||a||t!==this.#o)&&(this.#o=t,this.#s=this.#e,n!==void 0&&(this.#l=n),this.#i=ES(this.#i,t(e))),this.#i}return e}#d(e){const t=new Map;this.#r.forEach(r=>{const a=r.options.queryHash;if(!a)return;const o=t.get(a);o?o.push(r):t.set(a,[r])});const n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),l=t.get(a.queryHash)?.shift()??new zd(this.#t,a);n.push({defaultedQueryOptions:a,observer:l})}),n}#c(e,t){const n=this.#r.indexOf(e);n!==-1&&(this.#e=nq(this.#e,n,t),this.#m())}#m(){if(this.hasListeners()){const e=this.#i,t=this.#p(this.#e,this.#f),n=this.#u(t,this.#a?.combine);e!==n&&jt.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},aq=class extends ns{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??jS(r,t);let o=this.get(a);return o||(o=new YB({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),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(){jt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>vT(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>vT(e,n)):t}notify(e){jt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){jt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){jt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},iq=class{#t;#e;#n;#a;#r;#i;#o;#s;constructor(e={}){this.#t=e.queryCache||new aq,this.#e=e.mutationCache||new eq,this.#n=e.defaultOptions||{},this.#a=new Map,this.#r=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=AS.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=rm.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(zi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#t.get(r.queryHash)?.state.data,l=zB(t,o);if(l!==void 0)return this.#t.build(this,r).setData(l,{...n,manual:!0})}
vendor: 5,944 bytes, lines 9-17
9setQueriesData(e,t,n){return jt.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;jt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return jt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=jt.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(fn).catch(fn)}invalidateQueries(e,t={}){return jt.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=jt.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let o=a.fetch(void 0,n);return n.throwOnError||(o=o.catch(fn)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(fn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(zi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(fn).catch(fn)}fetchInfiniteQuery(e){return e.behavior=am(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(fn).catch(fn)}ensureInfiniteQueryData(e){return e.behavior=am(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return rm.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#a.set(Fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{Wu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Wu(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=jS(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===Xn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},qv={exports:{}},_e={};/** 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 PT;function oq(){if(PT)return _e;PT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=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"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;function b(z){return z===null||typeof z!="object"?null:(z=g&&z[g]||z["@@iterator"],typeof z=="function"?z:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,w={};function M(z,Y,Z){this.props=z,this.context=Y,this.refs=w,this.updater=Z||C}M.prototype.isReactComponent={},M.prototype.setState=function(z,Y){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,Y,"setState")},M.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function T(){}T.prototype=M.prototype;function j(z,Y,Z){this.props=z,this.context=Y,this.refs=w,this.updater=Z||C}var E=j.prototype=new T;E.constructor=j,x(E,M.prototype),E.isPureReactComponent=!0;var P=Array.isArray;function k(){}var A={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function I(z,Y,Z){var J=Z.ref;return{$$typeof:e,type:z,key:Y,ref:J!==void 0?J:null,props:Z}}function F(z,Y){return I(z.type,Y,z.props)}function L(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function q(z){var Y={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(Z){return Y[Z]})}var U=/\/+/g;function G(z,Y){return typeof z=="object"&&z!==null&&z.key!=null?q(""+z.key):Y.toString(36)}function K(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(k,k):(z.status="pending",z.then(function(Y){z.status==="pending"&&(z.status="fulfilled",z.value=Y)},function(Y){z.status==="pending"&&(z.status="rejected",z.reason=Y)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function N(z,Y,Z,J,ce){var pe=typeof z;(pe==="undefined"||pe==="boolean")&&(z=null);var ie=!1;if(z===null)ie=!0;else switch(pe){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(z.$$typeof){case e:case t:ie=!0;break;case y:return ie=z._init,N(ie(z._payload),Y,Z,J,ce)}}if(ie)return ce=ce(z),ie=J===""?"."+G(z,0):J,P(ce)?(Z="",ie!=null&&(Z=ie.replace(U,"$&/")+"/"),N(ce,Y,Z,"",function(ye){return ye})):ce!=null&&(L(ce)&&(ce=F(ce,Z+(ce.key==null||z&&z.key===ce.key?"":(""+ce.key).replace(U,"$&/")+"/")+ie)),Y.push(ce)),1;ie=0;var he=J===""?".":J+":";if(P(z))for(var ue=0;ue<z.length;
vendor: 4,780 bytes, line 17
17ue++)J=z[ue],pe=he+G(J,ue),ie+=N(J,Y,Z,pe,ce);else if(ue=b(z),typeof ue=="function")for(z=ue.call(z),ue=0;!(J=z.next()).done;)J=J.value,pe=he+G(J,ue++),ie+=N(J,Y,Z,pe,ce);else if(pe==="object"){if(typeof z.then=="function")return N(K(z),Y,Z,J,ce);throw Y=String(z),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return ie}function H(z,Y,Z){if(z==null)return z;var J=[],ce=0;return N(z,J,"","",function(pe){return Y.call(Z,pe,ce++)}),J}function $(z){if(z._status===-1){var Y=z._result;Y=Y(),Y.then(function(Z){(z._status===0||z._status===-1)&&(z._status=1,z._result=Z)},function(Z){(z._status===0||z._status===-1)&&(z._status=2,z._result=Z)}),z._status===-1&&(z._status=0,z._result=Y)}if(z._status===1)return z._result.default;throw z._result}var V=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},oe={map:H,forEach:function(z,Y,Z){H(z,function(){Y.apply(this,arguments)},Z)},count:function(z){var Y=0;return H(z,function(){Y++}),Y},toArray:function(z){return H(z,function(Y){return Y})||[]},only:function(z){if(!L(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return _e.Activity=m,_e.Children=oe,_e.Component=M,_e.Fragment=n,_e.Profiler=a,_e.PureComponent=j,_e.StrictMode=r,_e.Suspense=d,_e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=A,_e.__COMPILER_RUNTIME={__proto__:null,c:function(z){return A.H.useMemoCache(z)}},_e.cache=function(z){return function(){return z.apply(null,arguments)}},_e.cacheSignal=function(){return null},_e.cloneElement=function(z,Y,Z){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var J=x({},z.props),ce=z.key;if(Y!=null)for(pe in Y.key!==void 0&&(ce=""+Y.key),Y)!D.call(Y,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&Y.ref===void 0||(J[pe]=Y[pe]);var pe=arguments.length-2;if(pe===1)J.children=Z;else if(1<pe){for(var ie=Array(pe),he=0;he<pe;he++)ie[he]=arguments[he+2];J.children=ie}return I(z.type,ce,J)},_e.createContext=function(z){return z={$$typeof:l,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:o,_context:z},z},_e.createElement=function(z,Y,Z){var J,ce={},pe=null;if(Y!=null)for(J in Y.key!==void 0&&(pe=""+Y.key),Y)D.call(Y,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ce[J]=Y[J]);var ie=arguments.length-2;if(ie===1)ce.children=Z;else if(1<ie){for(var he=Array(ie),ue=0;ue<ie;ue++)he[ue]=arguments[ue+2];ce.children=he}if(z&&z.defaultProps)for(J in ie=z.defaultProps,ie)ce[J]===void 0&&(ce[J]=ie[J]);return I(z,pe,ce)},_e.createRef=function(){return{current:null}},_e.forwardRef=function(z){return{$$typeof:c,render:z}},_e.isValidElement=L,_e.lazy=function(z){return{$$typeof:y,_payload:{_status:-1,_result:z},_init:$}},_e.memo=function(z,Y){return{$$typeof:f,type:z,compare:Y===void 0?null:Y}},_e.startTransition=function(z){var Y=A.T,Z={};A.T=Z;try{var J=z(),ce=A.S;ce!==null&&ce(Z,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(k,V)}catch(pe){V(pe)}finally{Y!==null&&Z.types!==null&&(Y.types=Z.types),A.T=Y}},_e.unstable_useCacheRefresh=function(){return A.H.useCacheRefresh()},_e.use=function(z){return A.H.use(z)},_e.useActionState=function(z,Y,Z){return A.H.useActionState(z,Y,Z)},_e.useCallback=function(z,Y){return A.H.useCallback(z,Y)},_e.useContext=function(z){return A.H.useContext(z)},_e.useDebugValue=function(){},_e.useDeferredValue=function(z,Y){return A.H.useDeferredValue(z,Y)},_e.useEffect=function(z,Y){return A.H.useEffect(z,Y)},_e.useEffectEvent=function(z){return A.H.useEffectEvent(z)},_e.useId=function(){return A.H.useId()},_e.useImperativeHandle=function(z,Y,Z){return A.H.useImperativeHandle(z,Y,Z)},_e.useInsertionEffect=function(z,Y){return A.H.useInsertionEffect(z,Y)},_e.useLayoutEffect=function(z,Y){return A.H.useLayoutEffect(z,Y)},_e.useMemo=function(z,Y){return A.H.useMemo(z,Y)},_e.useOptimistic=function(z,Y){return A.H.useOptimistic(z,Y)},_e.useReducer=function(z,Y,Z){return A.H.useReducer(z,Y,Z)},_e.useRef=function(z){return A.H.useRef(z)},_e.useState=function(z){return A.H.useState(z)},_e.useSyncExternalStore=function(z,Y,Z){return A.H.useSyncExternalStore(z,Y,Z)},_e.useTransition=function(){return A.H.useTransition()}
17,_e.version="19.2.1",_e}var AT;function vh(){return AT||(AT=1,qv.exports=oq()),qv.exports}var O=vh();const B=dt(O),xh=EB({__proto__:null,default:B},[O]);var Z_=O.createContext(void 0),Bd=e=>{const t=O.useContext(Z_);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},sq=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(Z_.Provider,{value:e,children:t})),Q_=O.createContext(!1),X_=()=>O.useContext(Q_);Q_.Provider;function lq(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var cq=O.createContext(lq()),J_=()=>O.useContext(cq),e4=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?kS(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},t4=e=>{O.useEffect(()=>{e.clearReset()},[e])},n4=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||kS(n,[e.error,r])),DS=(e,t)=>t.state.data===void 0,r4=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...a)=>n(r(...a)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},uq=(e,t)=>e.isLoading&&e.isFetching&&!t,Tw=(e,t)=>e?.suspense&&t.isPending,Pw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function a4({queries:e,...t},n){const r=Bd(n),a=X_(),o=J_(),l=O.useMemo(()=>e.map(x=>{const w=r.defaultQueryOptions(x);return w._optimisticResults=a?"isRestoring":"optimistic",w}),[e,r,a]);l.forEach(x=>{r4(x);const w=r.getQueryCache().get(x.queryHash);e4(x,o,w)}),t4(o);const[c]=O.useState(()=>
17new rq(r,l,t)),[d,f,y]=c.getOptimisticResult(l,t.combine),m=!a&&t.subscribed!==!1;O.useSyncExternalStore(O.useCallback(x=>m?c.subscribe(jt.batchCalls(x)):fn,[c,m]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),O.useEffect(()=>{c.setQueries(l,t)},[l,t,c]);const b=d.some((x,w)=>Tw(l[w],x))?d.flatMap((x,w)=>{const M=l[w];if(M&&Tw(M,x)){const T=new zd(r,M);return Pw(M,T,o)}return[]}):[];if(b.length>0)throw Promise.all(b);const C=d.find((x,w)=>{const M=l[w];return M&&n4({result:x,errorResetBoundary:o,throwOnError:M.throwOnError,query:r.getQueryCache().get(M.queryHash),suspense:M.suspense})});if(C?.error)throw C.error;return f(y())}function bh(e,t,n){const r=X_(),a=J_(),o=Bd(n),l=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const c=o.getQueryCache().get(l.queryHash);l._optimisticResults=r?"isRestoring":"optimistic",r4(l),e4(l,a,c),t4(a);const d=!o.getQueryCache().get(l.queryHash),[f]=O.useState(()=>new t(o,l)),y=f.getOptimisticResult(l),m=!r&&e.subscribed!==!1;if(O.useSyncExternalStore(O.useCallback(g=>{const b=m?f.subscribe(jt.batchCalls(g)):fn;return f.updateResult(),b},[f,m]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),O.useEffect(()=>{f.setOptions(l)},[l,f]),Tw(l,y))throw Pw(l,f,a);if(n4({result:y,errorResetBoundary:a,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw y.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(l,y),l.experimental_prefetchInRender&&!Ku.isServer()&&uq(y,r)&&(d?Pw(l,f,a):c?.promise)?.catch(fn).finally(()=>{f.updateResult()}),l.notifyOnChangeProps?y:f.trackResult(y)}function dq(e,t){return bh(e,zd,t)}function fq(e,t){return bh({...e,enabled:!0,suspense:!0,throwOnError:DS,placeholderData:void 0},zd,t)}function pq(e,t){return bh({...e,enabled:!0,suspense:!0,throwOnError:DS},Y_,t)}function mq(e,t){return a4({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:DS,enabled:!0,placeholderData:void 0}))},t)}function hq(e,t){const n=Bd(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function yq(e,t){const n=Bd(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function gq(e,t){const n=Bd(t),[r]=O.useState(()=>new tq(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);const a=O.useSyncExternalStore(O.useCallback(l=>r.subscribe(jt.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=O.useCallback((l,c)=>{r.mutate(l,c).catch(fn)},[r]);if(a.error&&kS(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:o,mutateAsync:a.mutate}}function vq(e,t){return bh(e,Y_,t)}function Ho(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function xq(){return Object.create(null)}const bq=typeof Symbol=="function"&&!!Symbol.asyncIterator;function i4(e){return bq&&Ho(e)&&Symbol.asyncIterator in e}var wq=Object.create,o4=Object.defineProperty,Sq=Object.getOwnPropertyDescriptor,s4=Object.getOwnPropertyNames,Cq=Object.getPrototypeOf,Mq=Object.prototype.hasOwnProperty,qd=(e,t)=>function(){return t||(0,e[s4(e)[0]])((t={exports:{}}).exports,t),t.exports},Oq=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=s4(t),o=0,l=a.length,c;o<l;o++)c=a[o],!Mq.call(e,c)&&c!==n&&o4(e,c,{get:(d=>t[d]).bind(null,c),enumerable:!(r=Sq(t,c))||r.enumerable});return e},wh=(e,t,n)=>(n=e!=null?wq(Cq(e)):{},Oq(o4(n,"default",{value:e,enumerable:!0}),e));const l4=()=>{},jT=e=>{Object.freeze&&Object.freeze(e)};function c4(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(l4,{get(o,l){if(!(typeof l!="string"||l==="then"))return c4(e,[...t,l],n)},apply(o,l,c){const d=t[t.length-1];let f={args:c,path:t};return d==="call"?f={args:c.length>=2?[c[1]]:[],path:t.slice(0,-1)}:d==="apply"&&(f={args:c.length>=2?c[1]:[],path:t.slice(0,-1)}),jT(f.args),jT(f.path),e(f)}})),n[a]}const Sh=e=>c4(e,[],xq()),NS=e=>new Proxy(l4,{get(t,n){if(n!=="then")return e(n)}});var u4=qd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(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,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Tq=qd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=u4().default;function r(a,o){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Pq=qd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=u4().default,r=Tq();function a(o){var l=r(o,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),d4=qd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=Pq();function r(a,o,l){return(o=n(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),RS=qd({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=d4();function r(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(o);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(o,f).enumerable})),c.push.apply(c,d)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(d){n(o,d,c[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(d){Object.defineProperty(o,d,Object.getOwnPropertyDescriptor(c,d))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});wh(RS());wh(d4());var wp=wh(RS());function Aq(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,wp.default)((0,wp.default)({},e),{},{error:r})}}return{ok:!0,result:(0,wp.default)((0,wp.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var $v=class extends Error{constructor(){super("Unable to transform response from server")}};function jq(e,t){let n;try{n=Aq(e,t)}catch{throw new $v}if(!n.ok&&(!Ho(n.error.error)||typeof n.error.error.code!="number"))throw new $v;if(n.ok&&!Ho(n.result))throw new $v;return n}wh(RS());function Ch(e){const t={subscribe(n){let r=null,a=!1,o=!1,l=!1;function c(){if(r===null){l=!0;return}o||(o=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(d){var f;a||(f=n.next)===null||f===void 0||f.call(n,d)},error(d){var f;a||(a=!0,(f=n.error)===null||f===void 0||f.call(n,d),c())},complete(){var d;a||(a=!0,(d=n.complete)===null||d===void 0||d.call(n),c())}}),l&&c(),{unsubscribe:c}},pipe(...n){return n.reduce(Eq,t)}};return t}function Eq(e,t){return t(e)}function kq(e){const t=new AbortController;return new Promise((r,a)=>{let o=!1;function l(){o||(o=!0,c.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const c=e.subscribe({next(d){o=!0,r(d),l()},error(d){a(d)},complete(){t.abort(),l()}})})}var _q=Object.create,f4=Object.defineProperty,Dq=Object.getOwnPropertyDescriptor,p4=Object.getOwnPropertyNames,Nq=Object.getPrototypeOf,Rq=Object.prototype.hasOwnProperty,Yi=(e,t)=>function(){return t||(0,e[p4(e)[0]])((t={exports:{}}).exports,t),t.exports},Iq=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=p4(t),o=0,l=a.length,c;o<l;o++)c=a[o],!Rq.call(e,c)&&c!==n&&f4(e,c,{get:(d=>t[d]).bind(null,c),enumerable:!(r=Dq(t,c))||r.enumerable});return e},rs=(e,t,n)=>(n=e!=null?_q(Nq(e)):{},Iq(t||!e||!e.__esModule?f4(n,"default",{value:e,enumerable:!0}):n,e)),Lq=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,a){if(r==null)return{};var o={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(a.includes(l))continue;o[l]=r[l]}return o}
17t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),zq=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=Lq();function r(a,o){if(a==null)return{};var l,c,d=n(a,o);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(c=0;c<f.length;c++)l=f[c],o.includes(l)||{}.propertyIsEnumerable.call(a,l)&&(d[l]=a[l])}return d}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),m4=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(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,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Bq=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=m4().default;function r(a,o){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),qq=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=m4().default,r=Bq();function a(o){var l=r(o,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),$q=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=qq();function r(a,o,l){return(o=n(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),$d=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=$q();function r(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(o);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(o,f).enumerable})),c.push.apply(c,d)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(d){n(o,d,c[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(d){Object.defineProperty(o,d,Object.getOwnPropertyDescriptor(c,d))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),Fq=rs(zq(),1),ET=rs($d(),1);const Hq=["cursor","direction"];function Qr(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&Ho(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:o}=t,l=(0,Fq.default)(t,Hq);return[r,{input:l,type:"infinite"}]}return[r,(0,ET.default)((0,ET.default)({},typeof t<"u"&&t!==Xn&&{input:t}),n&&n!=="any"&&{type:n})]}function Qp(e){return Qr(e,void 0,"any")}var Uq=Object.create,h4=Object.defineProperty,Wq=Object.getOwnPropertyDescriptor,y4=Object.getOwnPropertyNames,Gq=Object.getPrototypeOf,Kq=Object.prototype.hasOwnProperty,ca=(e,t)=>function(){return t||(0,e[y4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yq=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=y4(t),o=0,l=a.length,c;o<l;o++)c=a[o],!Kq.call(e,c)&&c!==n&&h4(e,c,{get:(d=>t[d]).bind(null,c),enumerable:!(r=Wq(t,c))||r.enumerable});return e},_t=(e,t,n)=>(n=e!=null?Uq(Gq(e)):{},Yq(t||!e||!e.__esModule?h4(n,"default",{value:e,enumerable:!0}):n,e)),g4=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(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,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Vq=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=g4().default;function r(a,o){if(n(a)!="object"||!a)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var c=l.call(a,o||"default");if(n(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Zq=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=g4().default,r=Vq();function a(o){var l=r(o,"string");return n(l)=="symbol"?l:l+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),as=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=Zq();function r(a,o,l){return(o=n(o))in a?Object.defineProperty(a,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[o]=l,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),zr=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=as();function r(o,l){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(o);l&&(d=d.filter(function(f){return Object.getOwnPropertyDescriptor(o,f).enumerable})),c.push.apply(c,d)}return c}function a(o){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?r(Object(c),!0).forEach(function(d){n(o,d,c[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(d){Object.defineProperty(o,d,Object.getOwnPropertyDescriptor(c,d))})}return o}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function Qq(e){return t=>{let n=0,r=null;const a=[];function o(){r||(r=t.subscribe({next(c){for(const f of a){var d;(d=f.next)===null||d===void 0||d.call(f,c)}},error(c){for(const f of a){var d;(d=f.error)===null||d===void 0||d.call(f,c)}},complete(){for(const d of a){var c;(c=d.complete)===null||c===void 0||c.call(d)}}}))}function l(){if(n===0&&r){const c=r;r=null,c.unsubscribe()}}return Ch(c=>(n++,a.push(c),o(),{unsubscribe(){n--,l();const d=a.findIndex(f=>f===c);d>-1&&a.splice(d,1)}}))}}function Xq(e){let t=e;const n=[],r=l=>{t!==void 0&&l.next(t),n.push(l)},a=l=>{n.splice(n.indexOf(l),1)},o=Ch(l=>(r(l),()=>{a(l)}));return o.next=l=>{if(t!==l){t=l;for(const c of n)c.next(l)}},o.get=()=>t,o}function Jq(e){return Ch(t=>{function n(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(d){return n(a+1,d)}})}return n().subscribe(t)})}var Sp=_t(as(),1),tl=_t(zr(),1);function e$(e){return e instanceof Pl}function t$(e){return Ho(e)&&Ho(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function n$(e,t){return typeof e=="string"?e:Ho(e)&&typeof e.message=="string"?e.message:t}var Pl=class Xp extends Error{constructor(t,n){var r,a;const o=n?.cause;super(t,{cause:o}),(0,Sp.default)(this,"cause",void 0),(0,Sp.default)(this,"shape",void 0),(0,Sp.default)(this,"data",void 0),(0,Sp.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=o,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(a=n.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Xp.prototype)}static from(t,n={}){const r=t;return e$(r)?(n.meta&&(r.meta=(0,tl.default)((0,tl.default)({},r.meta),n.meta)),r):t$(r)?new Xp(r.error.message,(0,tl.default)((0,tl.default)({},n),{},{result:r,cause:n.cause})):new Xp(n$(r,"Unknown error"),(0,tl.default)((0,tl.default)({},n),{},{cause:r}))}};function r$(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n},output:{serialize:n=>n,deserialize:n=>n}}}const kT=e=>typeof e=="function";function a$(e){if(e)return e;if(typeof window<"u"&&kT(window.fetch))return window.fetch;if(typeof globalThis<"u"&&kT(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Lu=_t(zr());function i$(e){return{url:e.url.toString(),fetch:e.fetch,transformer:r$(e.transformer),methodOverride:e.methodOverride}}function o$(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const s$={query:"GET",mutation:"POST",subscription:"PATCH"};function v4(e){return"input"in e?e.transformer.input.serialize(e.input):o$(e.input
17s.map(t=>e.transformer.input.serialize(t)))}const x4=e=>{const t=e.url.split("?");let r=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=v4(e);o!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(o))}`)}return a.length&&(r+="?"+a.join("&")),r},l$=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=v4(e);return t!==void 0?JSON.stringify(t):void 0},c$=e=>p$((0,Lu.default)((0,Lu.default)({},e),{},{contentTypeHeader:"application/json",getUrl:x4,getBody:l$}));var u$=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const d$=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 u$};async function f$(e){var t,n;d$(e.signal);const r=e.getUrl(e),a=e.getBody(e),o=(t=e.methodOverride)!==null&&t!==void 0?t:s$[e.type],l=await(async()=>{const d=await e.headers();return Symbol.iterator in d?Object.fromEntries(d):d})(),c=(0,Lu.default)((0,Lu.default)((0,Lu.default)({},e.contentTypeHeader&&o!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),l);return a$(e.fetch)(r,{method:o,signal:e.signal,body:a,headers:c})}async function p$(e){const t={},n=await f$(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}_t(zr(),1);const _T=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function DT(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(c){const d=[[]];let f=0;for(;;){const g=c[f];if(!g)break;const b=d[d.length-1];if(g.aborted){var y;(y=g.reject)===null||y===void 0||y.call(g,new Error("Aborted")),f++;continue}if(e.validate(b.concat(g).map(x=>x.key))){b.push(g),f++;continue}if(b.length===0){var m;(m=g.reject)===null||m===void 0||m.call(g,new Error("Input is too big for a single dispatch")),f++;continue}d.push([])}return d}function o(){const c=a(t);r();for(const d of c){if(!d.length)continue;const f={items:d};for(const m of d)m.batch=f;e.fetch(f.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(b,C)=>{const x=f.items[C];try{var w;const T=await Promise.resolve(b);(w=x.resolve)===null||w===void 0||w.call(x,T)}catch(T){var M;(M=x.reject)===null||M===void 0||M.call(x,T)}x.batch=null,x.reject=null,x.resolve=null}));for(const b of f.items){var g;(g=b.reject)===null||g===void 0||g.call(b,new Error("Missing result")),b.batch=null}}).catch(m=>{for(const b of f.items){var g;(g=b.reject)===null||g===void 0||g.call(b,m),b.batch=null}})}}function l(c){var d;const f={aborted:!1,key:c,batch:null,resolve:_T,reject:_T},y=new Promise((m,g)=>{var b;f.reject=g,f.resolve=m,(b=t)!==null&&b!==void 0||(t=[]),t.push(f)});return(d=n)!==null&&d!==void 0||(n=setTimeout(o)),y}return{load:l}}function m$(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const o of e)o?.aborted?a():o?.addEventListener("abort",a,{once:!0});return t.signal}var Cp=_t(zr(),1);function h$(e){var t,n;const r=i$(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,o=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const l=y=>({validate(m){if(a===1/0&&o===1/0)return!0;if(m.length>o)return!1;const g=m.map(x=>x.path).join(","),b=m.map(x=>x.input);return x4((0,Cp.default)((0,Cp.default)({},r),{},{type:y,path:g,inputs:b,signal:null})).length<=a},async fetch(m){const g=m.map(T=>T.path).join(","),b=m.map(T=>T.input),C=m$(...m.map(T=>T.signal)),x=await c$((0,Cp.default)((0,Cp.default)({},r),{},{path:g,inputs:b,type:y,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(T=>({meta:x.meta,json:T}))}}),c=DT(l("query")),d=DT(l("mutation")),f={query:c,mutation:d};return({op:y})=>Ch(m=>{/* istanbul ignore if -- @preserve */if(y.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const b=f[y.type].load(y);let C;return b.then(x=>{C=x;const w=jq(x.json,r.transformer.output);if(!w.ok){m.error(Pl.from(w.error,{meta:x.meta}));return}m.next({context:x.meta,result:w.result}),m.complete()}).catch(x=>{m.error(Pl.from(x,{meta:C?.meta}))}),()=>{}})}}_t(zr(),1);const b4=(e,...t)=>typeof e=="function"?e(...t):e;_t(as(),1);function y$(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function g$(e){const t=await b4(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function v$(e,t){const n={method:"connectionParams",data:await b4(e)};return t.encode(n)}_t(as(),1);var Ei=_t(as(),1);function x$(e){const{promise:t,resolve:n,reject:r}=y$();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function b$(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function o(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function l(){clearTimeout(r),o()}function c(){clearTimeout(a),l()}e.addEventListener("open",o),e.addEventListener("message",({data:d})=>{clearTimeout(r),o(),d==="PONG"&&c()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var w$=class Aw{constructor(t){var n;if((0,Ei.default)(this,"id",++Aw.connectCount),(0,Ei.default)(this,"WebSocketPonyfill",void 0),(0,Ei.default)(this,"urlOptions",void 0),(0,Ei.default)(this,"keepAliveOpts",void 0),(0,Ei.default)(this,"encoder",void 0),(0,Ei.default)(this,"wsObservable",Xq(null)),(0,Ei.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive,this.encoder=t.encoder}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++Aw.connectCount;const n=g$(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&b$(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await x$(r),t.urlOptions.connectionParams&&r.send(await v$(t.urlOptions.connectionParams,t.encoder))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,Ei.default)(w$,"connectCount",0);_t(as(),1);_t(zr(),1);var Fv=_t(as(),1),NT=_t(zr(),1),Mh=class{constructor(e){(0,Fv.default)(this,"links",void 0),(0,Fv.default)(this,"runtime",void 0),(0,Fv.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return Jq({links:this.links,op:(0,NT.default)((0,NT.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(Qq())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await kq(n)).result.data}catch(n){throw Pl.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(a){switch(a.result.type){case"state":{var o;(o=n.onConnectionStateChange)===null||o===void 0||o.call(n,a.result);break}case"started":{var l;(l=n.onStarted)===null||l===void 0||l.call(n,{context:a.context});break}case"stopped":{var c;
17(c=n.onStopped)===null||c===void 0||c.call(n);break}case"data":case void 0:{var d;(d=n.onData)===null||d===void 0||d.call(n,a.result.data);break}}},error(a){var o;(o=n.onError)===null||o===void 0||o.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const w4=Symbol.for("trpc_untypedClient"),S$={query:"query",mutate:"mutation",subscribe:"subscription"},C$=e=>S$[e];function S4(e){const t=Sh(({path:n,args:r})=>{const a=[...n],o=C$(a.pop()),l=a.join(".");return e[o](l,...r)});return NS(n=>n===w4?e:t[n])}function M$(e){const t=new Mh(e);return S4(t)}function IS(e){return e[w4]}_t(zr(),1);_t(zr(),1);var O$=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var o,l,c,d=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);d--;){if(l&&(o=a[l])!=null)return o.call(a);if(c&&(o=a[c])!=null)return new r(o.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(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(d){return{value:d,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return o(this.n.apply(this.s,arguments))},return:function(c){var d=this.s.return;return d===void 0?Promise.resolve({value:c,done:!0}):o(d.apply(this.s,arguments))},throw:function(c){var d=this.s.return;return d===void 0?Promise.reject(c):o(d.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});_t(O$(),1);_t(zr(),1);var T$=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(c,d){var f=Error();return f.name="SuppressedError",f.error=c,f.suppressed=d,f},a={},o=[];function l(c,d){if(d!=null){if(Object(d)!==d)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(c)var f=d[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(f===void 0&&(f=d[Symbol.dispose||Symbol.for("Symbol.dispose")],c))var y=f;if(typeof f!="function")throw new TypeError("Object is not disposable.");y&&(f=function(){try{y.call(d)}catch(g){return Promise.reject(g)}}),o.push({v:d,d:f,a:c})}else c&&o.push({d,a:c});return d}return{e:a,u:l.bind(null,!1),a:l.bind(null,!0),d:function(){var d,f=this.e,y=0;function m(){for(;d=o.pop();)try{if(!d.a&&y===1)return y=0,o.push(d),Promise.resolve().then(m);if(d.d){var b=d.d.call(d.v);if(d.a)return y|=2,Promise.resolve(b).then(m,g)}else y|=1}catch(C){return g(C)}if(y===1)return f!==a?Promise.reject(f):Promise.resolve();if(f!==a)throw f}function g(b){return f=f!==a?new r(b,f):b,m()}return m()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),C4=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,a){this.v=r,this.k=a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),P$=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=C4();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),A$=ca({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=C4();function r(o){return function(){return new a(o.apply(this,arguments))}}function a(o){var l,c;function d(y,m){try{var g=o[y](m),b=g.value,C=b instanceof n;Promise.resolve(C?b.v:b).then(function(x){if(C){var w=y==="return"?"return":"next";if(!b.k||x.done)return d(w,x);x=o[w](x).value}f(g.done?"return":"normal",x)},function(x){d("throw",x)})}catch(x){f("throw",x)}}function f(y,m){switch(y){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)?d(l.key,l.arg):c=null}this._invoke=function(y,m){return new Promise(function(g,b){var
17C={key:y,arg:m,resolve:g,reject:b,next:null};c?c=c.next=C:(l=c=C,d(y,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)},t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});_t(T$(),1);_t(P$(),1);_t(A$(),1);_t(zr(),1);function j$(e){return Sh(({path:t,args:n})=>{var r;const a=[...t],o=a.pop();if(o==="useMutation")return e[o](a,...n);if(o==="_def")return{path:a};const[l,...c]=n,d=(r=c[0])!==null&&r!==void 0?r:{};return e[o](a,l,d)})}var Hv;const E$=["client","ssrContext","ssrState","abortOnUnmount"],k$=(Hv=O.createContext)===null||Hv===void 0?void 0:Hv.call(xh,null),_$=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 D$(e){return Sh(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],o=a.shift(),l=_$(r),c=Qr(n,o,l);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,c,a[0]),queryOptions:()=>e.queryOptions(n,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(Qp(n),o),getMutationDefaults:()=>e.getMutationDefaults(Qp(n)),isMutating:()=>e.isMutating({mutationKey:Qp(n)})}[r]()})}function N$(e){const t=S4(e.client),n=D$(e);return NS(r=>{const a=r;return a==="client"?t:E$.includes(a)?e[a]:n[r]})}var R$=rs($d(),1);function RT(e){const t=e instanceof Mh?e:IS(e);return Sh(n=>{const r=n.path,a=r.join("."),[o,l]=n.args;return(0,R$.default)({queryKey:Qr(r,o,"query"),queryFn:()=>t.query(a,o,l?.trpc)},l)})}var Uv=rs($d(),1);function gn(e,t,n){var r;const a=e[0];let o=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var l;o=(0,Uv.default)((0,Uv.default)((0,Uv.default)({},(l=o)!==null&&l!==void 0?l:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),o,t?.trpc]}var I$=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var o,l,c,d=2;for(typeof Symbol<"u"&&(l=Symbol.asyncIterator,c=Symbol.iterator);d--;){if(l&&(o=a[l])!=null)return o.call(a);if(c&&(o=a[c])!=null)return new r(o.call(a));l="@@asyncIterator",c="@@iterator"}throw new TypeError("Object is not async iterable")}function r(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(d){return{value:d,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return o(this.n.apply(this.s,arguments))},return:function(c){var d=this.s.return;return d===void 0?Promise.resolve({value:c,done:!0}):o(d.apply(this.s,arguments))},throw:function(c){var d=this.s.return;return d===void 0?Promise.reject(c):o(d.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),L$=rs(I$(),1);function jw(e){return{path:e.path.join(".")}}function yu(e){const t=jw(e);return O.useMemo(()=>t,[t])}async function M4(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const o=[];var l=!1,c=!1,d;try{for(var f=(0,L$.default)(e),y;l=!(y=await f.next()).done;l=!1){const m=y.value;o.push(m),a.setState({data:[...o]})}}catch(m){c=!0,d=m}finally{try{l&&f.return!=null&&await f.return()}finally{if(c)throw d}}return o}var Ze=rs($d(),1);function z$(e){const{client:t,queryClient:n}=e,r=t instanceof Mh?t:IS(t);return{infiniteQueryOptions:(a,o,l)=>{var c,d;const f=((c=o[1])===null||c===void 0?void 0:c.input)===Xn,y=async m=>{var g;const b=(0,Ze.default)((0,Ze.default)({},l),{},{trpc:(0,Ze.default)((0,Ze.default)({},l?.trpc),!(l==null||(g=l.trpc)===null||g===void 0)&&g.abortOnUnmount?{signal:m.signal}:{signal:null})});return await r.query(...gn(o,b,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,Ze.default)((0,Ze.default)({},l),{},{initialData:l?.initialData,queryKey:o,queryFn:f?Xn:y,initialPageParam:(d=l?.initialCursor)!==null&&d!==void 0?d:null}),{trpc:jw({path:a})})},queryOptions:(a,o,l)=>{var c;const d=((c=o[1])===null||c===void 0?void 0:c.input)===Xn,f=async y=>{var m;const g=(0,Ze.default)((0,Ze.default)({},l),{},{trpc:(0,Ze.default)((0,Ze.default)({},l?.trpc),!(l==null||(m=l.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:y.signal}:{signal:null})}),b=await r.query(...gn(o,g));return i4(b)?M4(b,n,o):b};return Object.assign((0,Ze.default)((0,Ze.default)({},l),{},{initialData:l?.initialData,queryKey:o,queryFn:d?Xn:f}),{trpc:jw({path:a})})},fetchQuery:(a,o)=>n.fetchQuery((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a,queryFn:()=>r.query(...gn(a,o))})),fetchInfiniteQuery:(a,o)=>{var l;return n.fetchInfiniteQuery((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a,queryFn:({pageParam:c,direction:d})=>r.query(...gn(a,o,{pageParam:c,direction:d})),initialPageParam:(l=o?.initialCursor)!==null&&l!==void 0?l:null}))},prefetchQuery:(a,o)=>n.prefetchQuery((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a,queryFn:()=>r.query(...gn(a,o))})),prefetchInfiniteQuery:(a,o)=>{var l;return n.prefetchInfiniteQuery((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a,queryFn:({pageParam:c,direction:d})=>r.query(...gn(a,o,{pageParam:c,direction:d})),initialPageParam:(l=o?.initialCursor)!==null&&l!==void 0?l:null}))},ensureQueryData:(a,o)=>n.ensureQueryData((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a,queryFn:()=>r.query(...gn(a,o))})),invalidateQueries:(a,o,l)=>n.invalidateQueries((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a}),l),resetQueries:(a,o,l)=>n.resetQueries((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a}),l),refetchQueries:(a,o,l)=>n.refetchQueries((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a}),l),cancelQuery:(a,o)=>n.cancelQueries({queryKey:a},o),setQueryData:(a,o,l)=>n.setQueryData(a,o,l),setQueriesData:(a,o,l,c)=>n.setQueriesData((0,Ze.default)((0,Ze.default)({},o),{},{queryKey:a}),l,c),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,o,l)=>n.setQueryData(a,o,l),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,o)=>{const l=a[0],c=d=>r.mutation(...gn([l,{input:d}],e));return n.setMutationDefaults(a,typeof o=="function"?o({canonicalMutationFn:c}):o)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,Ze.default)((0,Ze.default)({},a),{},{exact:!0}))}}var ve=rs($d());const IT=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function B$(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:P=>P.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:k$,o=M$,l=P=>{var k;const{abortOnUnmount:A=!1,queryClient:D,ssrContext:I}=P,[F,L]=O.useState((k=P.ssrState)!==null&&k!==void 0?k:!1),q=P.client instanceof Mh?P.client:IS(P.client),U=O.useMemo(()=>z$({client:q,queryClient:D}),[q,D]),G=O.useMemo(()=>(0,ve.default)({abortOnUnmount:A,queryClient:D,client:q,ssrContext:I??null,ssrState:F},U),[A,q,U,D,I,F]);return O.useEffect(()=>{L(K=>K?"mounted":!1)},[]),p.jsx(a.Provider,{value:G,children:P.children})};function c(){const P=O.useContext(a);if(!P)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
17p inside `withTRPC` HoC?");return P}function d(P,k){var A;const{queryClient:D,ssrState:I}=c();return I&&I!=="mounted"&&((A=D.getQueryCache().find({queryKey:P}))===null||A===void 0?void 0:A.state.status)==="error"?(0,ve.default)({retryOnMount:!1},k):k}function f(P,k,A){var D,I,F,L,q;const U=c(),{abortOnUnmount:G,client:K,ssrState:N,queryClient:H,prefetchQuery:$}=U,V=Qr(P,k,"query"),oe=H.getQueryDefaults(V),z=k===Xn;typeof window>"u"&&N==="prepass"&&(A==null||(D=A.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((I=A?.enabled)!==null&&I!==void 0?I:oe?.enabled)!==!1&&!z&&!H.getQueryCache().find({queryKey:V})&&$(V,A);const Y=d(V,(0,ve.default)((0,ve.default)({},oe),A)),Z=(F=(L=A==null||(q=A.trpc)===null||q===void 0?void 0:q.abortOnUnmount)!==null&&L!==void 0?L:void 0)!==null&&F!==void 0?F:G,J=dq((0,ve.default)((0,ve.default)({},Y),{},{queryKey:V,queryFn:z?k:async ce=>{const pe=(0,ve.default)((0,ve.default)({},Y),{},{trpc:(0,ve.default)((0,ve.default)({},Y?.trpc),Z?{signal:ce.signal}:{signal:null})}),ie=await K.query(...gn(V,pe));return i4(ie)?M4(ie,H,V):ie}}),H);return J.trpc=yu({path:P}),J}function y(P,k,A){var D,I,F;const L=c(),q=Qr(P,k,"query"),U=k===Xn,G=(D=(I=A==null||(F=A.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&I!==void 0?I:void 0)!==null&&D!==void 0?D:L.abortOnUnmount;hq((0,ve.default)((0,ve.default)({},A),{},{queryKey:q,queryFn:U?k:K=>{const N={trpc:(0,ve.default)((0,ve.default)({},A?.trpc),G?{signal:K.signal}:{})};return L.client.query(...gn(q,N))}}))}function m(P,k,A){var D,I,F;const L=c(),q=Qr(P,k,"query"),U=(D=(I=A==null||(F=A.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&I!==void 0?I:void 0)!==null&&D!==void 0?D:L.abortOnUnmount,G=fq((0,ve.default)((0,ve.default)({},A),{},{queryKey:q,queryFn:K=>{const N=(0,ve.default)((0,ve.default)({},A),{},{trpc:(0,ve.default)((0,ve.default)({},A?.trpc),U?{signal:K.signal}:{signal:null})});return L.client.query(...gn(q,N))}}),L.queryClient);return G.trpc=yu({path:P}),[G.data,G]}function g(P,k){const{client:A,queryClient:D}=c(),I=Qp(P),F=D.defaultMutationOptions(D.getMutationDefaults(I)),L=gq((0,ve.default)((0,ve.default)({},k),{},{mutationKey:I,mutationFn:q=>A.mutation(...gn([P,{input:q}],k)),onSuccess(...q){var U,G;return r({originalFn:()=>{var N,H,$;return(N=k==null||(H=k.onSuccess)===null||H===void 0?void 0:H.call(k,...q))!==null&&N!==void 0?N:F==null||($=F.onSuccess)===null||$===void 0?void 0:$.call(F,...q)},queryClient:D,meta:(U=(G=k?.meta)!==null&&G!==void 0?G:F?.meta)!==null&&U!==void 0?U:{}})}}),D);return L.trpc=yu({path:P}),L}const b={data:void 0,error:null,status:"idle"},C={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function x(P,k,A){var D;const I=(D=A?.enabled)!==null&&D!==void 0?D:k!==Xn,F=Fi(Qr(P,k,"any")),{client:L}=c(),q=O.useRef(A);O.useEffect(()=>{q.current=A});const[U]=O.useState(new Set([])),G=O.useCallback(z=>{U.add(z)},[U]),K=O.useRef(null),N=O.useCallback(z=>{const Y=$.current,Z=$.current=z(Y);let J=!1;for(const ce of U)if(Y[ce]!==Z[ce]){J=!0;break}J&&oe(IT(Z,G))},[G,U]),H=O.useCallback(()=>{var z;if((z=K.current)===null||z===void 0||z.unsubscribe(),!I){N(()=>(0,ve.default)((0,ve.default)({},b),{},{reset:H}));return}N(()=>(0,ve.default)((0,ve.default)({},C),{},{reset:H}));const Y=L.subscription(P.join("."),k??void 0,{onStarted:()=>{var Z,J;(Z=(J=q.current).onStarted)===null||Z===void 0||Z.call(J),N(ce=>(0,ve.default)((0,ve.default)({},ce),{},{status:"pending",error:null}))},onData:Z=>{var J,ce;(J=(ce=q.current).onData)===null||J===void 0||J.call(ce,Z),N(pe=>(0,ve.default)((0,ve.default)({},pe),{},{status:"pending",data:Z,error:null}))},onError:Z=>{var J,ce;(J=(ce=q.current).onError)===null||J===void 0||J.call(ce,Z),N(pe=>(0,ve.default)((0,ve.default)({},pe),{},{status:"error",error:Z}))},onConnectionStateChange:Z=>{N(J=>{switch(Z.state){case"idle":return(0,ve.default)((0,ve.default)({},J),{},{status:Z.state,error:null,data:void 0});case"connecting":return(0,ve.default)((0,ve.default)({},J),{},{error:Z.error,status:Z.state});case"pending":return J}})},onComplete:()=>{var Z,J;(Z=(J=q.current).onComplete)===null||Z===void 0||Z.call(J),N(ce=>(0,ve.default)((0,ve.default)({},ce),{},{status:"idle",error:null,data:void 0}))}});K.current=Y},[L,F,I,N]);O.useEffect(()=>(H(),()=>{var z;(z=K.current)===null||z===void 0||z.unsubscribe()}),[H]);const $=O.useRef(I?(0,ve.default)((0,ve.default)({},C),{},{reset:H}):(0,ve.default)((0,ve.default)({},b),{},{reset:H})),[V,oe]=O.useState(IT($.current,G));return V}function w(P,k,A){var D,I,F,L,q;const{client:U,ssrState:G,prefetchInfiniteQuery:K,queryClient:N,abortOnUnmount:H}=c(),$=Qr(P,k,"infinite"),V=N.getQueryDefaults($),oe=k===Xn;typeof window>"u"&&G==="prepass"&&(A==null||(D=A.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((I=A?.enabled)!==null&&I!==void 0?I:V?.enabled)!==!1&&!oe&&!N.getQueryCache().find({queryKey:$})&&K($,(0,ve.default)((0,ve.default)({},V),A));const z=d($,(0,ve.default)((0,ve.default)({},V),A)),Y=(F=A==null||(L=A.trpc)===null||L===void 0?void 0:L.abortOnUnmount)!==null&&F!==void 0?F:H,Z=vq((0,ve.default)((0,ve.default)({},z),{},{initialPageParam:(q=A.initialCursor)!==null&&q!==void 0?q:null,persister:A.persister,queryKey:$,queryFn:oe?k:J=>{var ce;const pe=(0,ve.default)((0,ve.default)({},z),{},{trpc:(0,ve.default)((0,ve.default)({},z?.trpc),Y?{signal:J.signal}:{signal:null})});return U.query(...gn($,pe,{pageParam:(ce=J.pageParam)!==null&&ce!==void 0?ce:A.initialCursor,direction:J.direction}))}}),N);return Z.trpc=yu({path:P}),Z}function M(P,k,A){var D,I,F;const L=c(),q=Qr(P,k,"infinite"),U=L.queryClient.getQueryDefaults(q),G=k===Xn,K=d(q,(0,ve.default)((0,ve.default)({},U),A)),N=(D=A==null||(I=A.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&D!==void 0?D:L.abortOnUnmount;yq((0,ve.default)((0,ve.default)({},A),{},{initialPageParam:(F=A.initialCursor)!==null&&F!==void 0?F:null,queryKey:q,queryFn:G?k:H=>{var $;const V=(0,ve.default)((0,ve.default)({},K),{},{trpc:(0,ve.default)((0,ve.default)({},K?.trpc),N?{signal:H.signal}:{})});return L.client.query(...gn(q,V,{pageParam:($=H.pageParam)!==null&&$!==void 0?$:A.initialCursor,direction:H.direction}))}}))}function T(P,k,A){var D,I,F;const L=c(),q=Qr(P,k,"infinite"),U=L.queryClient.getQueryDefaults(q),G=d(q,(0,ve.default)((0,ve.default)({},U),A)),K=(D=A==null||(I=A.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&D!==void 0?D:L.abortOnUnmount,N=pq((0,ve.default)((0,ve.default)({},A),{},{initialPageParam:(F=A.initialCursor)!==null&&F!==void 0?F:null,queryKey:q,queryFn:H=>{var $;const V=(0,ve.default)((0,ve.default)({},G),{},{trpc:(0,ve.default)((0,ve.default)({},G?.trpc),K?{signal:H.signal}:{})});return L.client.query(...gn(q,V,{pageParam:($=H.pageParam)!==null&&$!==void 0?$:A.initialCursor,direction:H.direction}))}}),L.queryClient);return N.trpc=yu({path:P}),[N.data,N]}return{Provider:l,createClient:o,useContext:c,useUtils:c,useQuery:f,usePrefetchQuery:y,useSuspenseQuery:m,useQueries:(P,k)=>{const{ssrState:A,queryClient:D,prefetchQuery:I,client:F}
vendor: 6,303 bytes, lines 17-33
17=c(),L=RT(F),q=P(L);if(typeof window>"u"&&A==="prepass")for(const G of q){var U;const K=G;((U=K.trpc)===null||U===void 0?void 0:U.ssr)!==!1&&!D.getQueryCache().find({queryKey:K.queryKey})&&I(K.queryKey,K)}return a4({queries:q.map(G=>(0,ve.default)((0,ve.default)({},G),{},{queryKey:G.queryKey})),combine:k?.combine},D)},useSuspenseQueries:P=>{const{queryClient:k,client:A}=c(),D=RT(A),I=P(D),F=mq({queries:I.map(L=>(0,ve.default)((0,ve.default)({},L),{},{queryFn:L.queryFn,queryKey:L.queryKey}))},k);return[F.map(L=>L.data),F]},useMutation:g,useSubscription:x,useInfiniteQuery:w,usePrefetchInfiniteQuery:M,useSuspenseInfiniteQuery:T}}function q$(e){const t=j$(e);return NS(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return O.useMemo(()=>N$(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function $$(e){const t=B$();return q$(t)}const bt=$$(),F$="Please login (10001)";var Wv={exports:{}},gu={},Gv={exports:{}},Kv={};/** 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 LT;function H$(){return LT||(LT=1,(function(e){function t(N,H){var $=N.length;N.push(H);e:for(;0<$;){var V=$-1>>>1,oe=N[V];if(0<a(oe,H))N[V]=H,N[$]=oe,$=V;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var H=N[0],$=N.pop();if($!==H){N[0]=$;e:for(var V=0,oe=N.length,z=oe>>>1;V<z;){var Y=2*(V+1)-1,Z=N[Y],J=Y+1,ce=N[J];if(0>a(Z,$))J<oe&&0>a(ce,Z)?(N[V]=ce,N[J]=$,V=J):(N[V]=Z,N[Y]=$,V=Y);else if(J<oe&&0>a(ce,$))N[V]=ce,N[J]=$,V=J;else break e}}return H}function a(N,H){var $=N.sortIndex-H.sortIndex;return $!==0?$:N.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 d=[],f=[],y=1,m=null,g=3,b=!1,C=!1,x=!1,w=!1,M=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function E(N){for(var H=n(f);H!==null;){if(H.callback===null)r(f);else if(H.startTime<=N)r(f),H.sortIndex=H.expirationTime,t(d,H);else break;H=n(f)}}function P(N){if(x=!1,E(N),!C)if(n(d)!==null)C=!0,k||(k=!0,q());else{var H=n(f);H!==null&&K(P,H.startTime-N)}}var k=!1,A=-1,D=5,I=-1;function F(){return w?!0:!(e.unstable_now()-I<D)}function L(){if(w=!1,k){var N=e.unstable_now();I=N;var H=!0;try{e:{C=!1,x&&(x=!1,T(A),A=-1),b=!0;var $=g;try{t:{for(E(N),m=n(d);m!==null&&!(m.expirationTime>N&&F());){var V=m.callback;if(typeof V=="function"){m.callback=null,g=m.priorityLevel;var oe=V(m.expirationTime<=N);if(N=e.unstable_now(),typeof oe=="function"){m.callback=oe,E(N),H=!0;break t}m===n(d)&&r(d),E(N)}else r(d);m=n(d)}if(m!==null)H=!0;else{var z=n(f);z!==null&&K(P,z.startTime-N),H=!1}}break e}finally{m=null,g=$,b=!1}H=void 0}}finally{H?q():k=!1}}}var q;if(typeof j=="function")q=function(){j(L)};else if(typeof MessageChannel<"u"){var U=new MessageChannel,G=U.port2;U.port1.onmessage=L,q=function(){G.postMessage(null)}}else q=function(){M(L,0)};function K(N,H){A=M(function(){N(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(N){N.callback=null},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_next=function(N){switch(g){case 1:case 2:case 3:var H=3;break;default:H=g}var $=g;g=H;try{return N()}finally{g=$}},e.unstable_requestPaint=function(){w=!0},e.unstable_runWithPriority=function(N,H){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var $=g;g=N;try{return H()}finally{g=$}},e.unstable_scheduleCallback=function(N,H,$){var V=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?V+$:V):$=V,N){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=$+oe,N={id:y++,callback:H,priorityLevel:N,startTime:$,expirationTime:oe,sortIndex:-1},$>V?(N.sortIndex=$,t(f,N),n(d)===null&&N===n(f)&&(x?(T(A),A=-1):x=!0,K(P,$-V))):(N.sortIndex=oe,t(d,N),C||b||(C=!0,k||(k=!0,q()))),N},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(N){var H=g;return function(){var $=g;g=H;try{return N.apply(this,arguments)}finally{g=$}}}})(Kv)),Kv}var zT;function U$(){return zT||(zT=1,Gv.exports=H$()),Gv.exports}var Yv={exports:{}},un={};/** 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 BT;function W$(){if(BT)return un;BT=1;var e=vh();function t(d){var f="https://react.dev/errors/"+d;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)f+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+d+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function o(d,f,y){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:d,containerInfo:f,implementation:y}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,f){if(d==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,un.createPortal=function(d,f){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return o(d,f,null,y)},un.flushSync=function(d){var f=l.T,y=r.p;try{if(l.T=null,r.p=2,d)return d()}finally{l.T=f,r.p=y,r.d.f()}}
vendor: 3,399 bytes, lines 33-41
33,un.preconnect=function(d,f){typeof d=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(d,f))},un.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},un.preinit=function(d,f){if(typeof d=="string"&&f&&typeof f.as=="string"){var y=f.as,m=c(y,f.crossOrigin),g=typeof f.integrity=="string"?f.integrity:void 0,b=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;y==="style"?r.d.S(d,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:m,integrity:g,fetchPriority:b}):y==="script"&&r.d.X(d,{crossOrigin:m,integrity:g,fetchPriority:b,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},un.preinitModule=function(d,f){if(typeof d=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var y=c(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:y,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(d)},un.preload=function(d,f){if(typeof d=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var y=f.as,m=c(y,f.crossOrigin);r.d.L(d,y,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},un.preloadModule=function(d,f){if(typeof d=="string")if(f){var y=c(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:y,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(d)},un.requestFormReset=function(d){r.d.r(d)},un.unstable_batchedUpdates=function(d,f){return d(f)},un.useFormState=function(d,f,y){return l.H.useFormState(d,f,y)},un.useFormStatus=function(){return l.H.useHostTransitionStatus()},un.version="19.2.1",un}var qT;function O4(){if(qT)return Yv.exports;qT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yv.exports=W$(),Yv.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 $T;function G$(){if($T)return gu;$T=1;var e=U$(),t=vh(),n=O4();function r(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 d(i){if(o(i)!==i)throw Error(r(188))}function f(i){var s=i.alternate;if(!s){if(s=o(i),s===null)throw Error(r(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 d(v),i;if(S===h)return d(v),s;S=S.sibling}throw Error(r(188))}if(u.return!==h.return)u=v,h=S;else{for(var _=!1,R=v.child;R;){if(R===u){_=!0,u=v,h=S;break}if(R===h){_=!0,h=v,u=S;break}R=R.sibling}if(!_){for(R=S.child;R;){if(R===u){_=!0,u=S,h=v;break}if(R===h){_=!0,h=S,u=v;break}R=R.sibling}if(!_)throw Error(r(189))}}if(u.alternate!==h)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?i:s}function y(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i;for(i=i.child;i!==null;){if(s=y(i),s!==null)return s;i=i.sibling}return null}var m=Object.assign,g=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"),M=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),j=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),L=Symbol.iterator;function q(i){return i===null||typeof i!="object"?null:(i=L&&i[L]||i["@@iterator"],typeof i=="function"?i:null)}var U=Symbol.for("react.client.reference");function G(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===U?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case x:return"Fragment";case M:return"Profiler";case w:return"StrictMode";case P:return"Suspense";case k:return"SuspenseList";case I:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case C:return"Portal";case j:return i.displayName||"Context";case T:return(i._context.displayName||"Context")+".Consumer";case E:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case A:return s=i.displayName||null,s!==null?s:G(i.type)||"Memo";case D:s=i._payload,i=i._init;try{return G(i(s))}catch{}}return null}var K=Array.isArray,N=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},V=[],oe=-1;function z(i){return{current:i}}function Y(i){0>oe||(i.current=V[oe],V[oe]=null,oe--)}function Z(i,s){oe++,V[oe]=i.current,i.current=s}var J=z(null),ce=z(null),pe=z(null),ie=z(null);function he(i,s){switch(Z(pe,s),Z(ce,i),Z(J,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?B5(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=B5(s),i=q5(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}Y(J),Z(J,i)}function ue(){Y(J),Y(ce),Y(pe)}function ye(i){i.memoizedState!==null&&Z(ie,i);var s=J.current,u=q5(s,i.type);s!==u&&(Z(ce,i),Z(J,u))}function ge(i){ce.current===i&&(Y(J),Y(ce)),ie.current===i&&(Y(ie),du._currentValue=$)}var ae,ze;function Te(i){if(ae===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);ae=s&&s[1]||"",ze=-1<u.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+ae+i+ze}var nt=!1;function Je(i,s){if(!i||nt)return"";nt=!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(re){var ne=re}Reflect.construct(i,[],fe)}else{try{fe.call()}catch(re){ne=re}i.call(fe.prototype)}}else{try{throw Error()}catch(re){ne=re}(fe=i())&&typeof fe.catch=="function"&&fe.catch(function(){})}}catch(re){if(re&&ne&&typeof re.stack=="string")return[re.stack,ne.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(),_=S[0],R=S[1];if(_&&R){var W=_.split(` 44`),te=R.split(` 45`);for(v=h=0;h<W.length&&!W[h].includes("DetermineComponentFrameRoot");)h++;for(;v<te.length&&!te[v].includes("DetermineComponentFrameRoot");)v++;if(h===W.length||v===te.length)for(h=W.length-1,v=te.length-1;1<=h&&0<=v&&W[h]!==te[v];)v--;for(;1<=h&&0<=v;h--,v--)if(W[h]!==te[v]){if(h!==1||v!==1)do if(h--,v--,0>v||W[h]!==te[v]){var se=` 46`+W[h].replace(" at new "," at ");return i.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",i.displayName)),se}while(1<=h&&0<=v);break}}}finally{nt=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Te(u):""}function mt(i,s){switch(i.tag){case 26:case 27:case 5:return Te(i.type);case 16:return Te("Lazy");case 13:return i.child!==s&&s!==null?Te("Suspense Fallback"):Te("Suspense");case 19:return Te("SuspenseList");case 0:case 15:return Je(i.type,!1);case 11:return Je(i.type.render,!1);case 1:return Je(i.type,!0);case 31:return Te("Activity");default:return""}}function Sn(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 Dt=Object.prototype.hasOwnProperty,Fr=e.unstable_scheduleCallback,zn=e.unstable_cancelCallback,Mt=e.unstable_shouldYield,tr=e.unstable_requestPaint,Kt=e.unstable_now,ps=e.unstable_getCurrentPriorityLevel,ro=e.unstable_ImmediatePriority,af=e.unstable_UserBlockingPriority,ao=e.unstable_NormalPriority,Mc=e.unstable_LowPriority,ma=e.unstable_IdlePriority,of=e.log,ni=e.unstable_setDisableYieldValue,io=null,hn=null;function Cr(i){if(typeof of=="function"&&ni(i),hn&&typeof hn.setStrictMode=="function")try{hn.setStrictMode(io,i)}catch{}}var ln=Math.clz32?Math.clz32:Hr,Ay=Math.log,Oc=Math.LN2;function Hr(i){return i>>>=0,i===0?32:31-(Ay(i)/Oc|0)|0}var ms=256,hs=262144,oo=4194304;function Ur(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 ke(i,s,u){var h=i.pendingLanes;if(h===0)return 0;var v=0,S=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var R=h&134217727;return R!==0?(h=R&~S,h!==0?v=Ur(h):(_&=R,_!==0?v=Ur(_):u||(u=R&~i,u!==0&&(v=Ur(u))))):(R=h&~S,R!==0?v=Ur(R):_!==0?v=Ur(_):u||(u=h&~i,u!==0&&(v=Ur(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 cn(){var i=oo;return oo<<=1,(oo&62914560)===0&&(oo=4194304),i}function ri(i){for(var s=[],u=0;31>u;u++)s.push(i);return s}function Ot(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Cn(i,s,u,h,v,S){var _=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 R=i.entanglements,W=i.expirationTimes,te=i.hiddenUpdates;for(u=_&~u;0<u;){var se=31-ln(u),fe=1<<se;R[se]=0,W[se]=-1;var ne=te[se];if(ne!==null)for(te[se]=null,se=0;se<ne.length;se++){var re=ne[se];re!==null&&(re.lane&=-536870913)}u&=~fe}h!==0&&so(i,h,0),S!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=S&~(_&~s))}function so(i,s,u){i.pendingLanes|=s,i.suspendedLanes&=~s;var h=31-ln(s);i.entangledLanes|=s,i.entanglements[h]=i.entanglements[h]|1073741824|u&261930}function Mn(i,s){var u=i.entangledLanes|=s;for(i=i.entanglements;u;){var h=31-ln(u),v=1<<h;v&s|i[h]&s&&(i[h]|=s),u&=~v}}function On(i,s){var u=s&-s;return u=(u&42)!==0?1:ys(u),(u&(i.suspendedLanes|s))!==0?0:u}function ys(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 Mr(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function jy(){var i=H.p;return i!==0?i:(i=window.event,i===void 0?32:cT(i.type))}function O3(i,s){var u=H.p;try{return H.p=i,s()}finally{H.p=u}}var ai=Math.random().toString(36).slice(2),Jt="__reactFiber$"+ai,Tn="__reactProps$"+ai,gs="__reactContainer$"+ai,Ey="__reactEvents$"+ai,xL="__reactListeners$"+ai,bL="__reactHandles$"+ai,T3="__reactResources$"+ai,Tc="__reactMarker$"+ai;function ky(i){delete i[Jt],delete i[Tn],delete i[Ey],delete i[xL],delete i[bL]}function vs(i){var s=i[Jt];if(s)return s;for(var u=i.parentNode;u;){if(s=u[gs]||u[Jt]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(i=K5(i);i!==null;){if(u=i[Jt])return u;i=K5(i)}return s}i=u,u=i.parentNode}return null}function xs(i){if(i=i[Jt]||i[gs]){var s=i.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return i}return null}function Pc(i){var s=i.tag;if(s===5||s===26||s===27||s===6)return i.stateNode;throw Error(r(33))}function bs(i){var s=i[T3];return s||(s=i[T3]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Vt(i){i[Tc]=!0}var P3=new Set,A3={};function lo(i,s){ws(i,s),ws(i+"Capture",s)}function ws(i,s){for(A3[i]=s,i=0;i<s.length;i++)P3.add(s[i])}var wL=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]*$"),j3={},E3={};function SL(i){return Dt.call(E3,i)?!0:Dt.call(j3,i)?!1:wL.test(i)?E3[i]=!0:(j3[i]=!0,!1)}function sf(i,s,u){if(SL(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 lf(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 ha(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 nr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function k3(i){var s=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function CL(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(_){u=""+_,S.call(this,_)}}),Object.defineProperty(i,s,{enumerable:h.enumerable}),{getValue:function(){return u},setValue:function(_){u=""+_},stopTracking:function(){i._valueTracker=null,delete i[s]}}}}function _y(i){if(!i._valueTracker){var s=k3(i)?"checked":"value";i._valueTracker=CL(i,s,""+i[s])}}function _3(i){if(!i)return!1;var s=i._valueTracker;if(!s)return!0;var u=s.getValue(),h="";return i&&(h=k3(i)?i.checked?"true":"false":i.value),i=h,i!==u?(s.setValue(i),!0):!1}function cf(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 ML=/[\n"\\]/g;function rr(i){return i.replace(ML,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function Dy(i,s,u,h,v,S,_,R){i.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?i.type=_:i.removeAttribute("type"),s!=null?_==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=""+nr(s)):i.value!==""+nr(s)&&(i.value=""+nr(s)):_!=="submit"&&_!=="reset"||i.removeAttribute("value"),s!=null?Ny(i,_,nr(s)):u!=null?Ny(i,_,nr(u)):h!=null&&i.removeAttribute("value"),v==null&&S!=null&&(i.defaultChecked=!!S),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?i.name=""+nr(R):i.removeAttribute("name")}function D3(i,s,u,h,v,S,_,R){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)){_y(i);return}u=u!=null?""+nr(u):"",s=s!=null?""+nr(s):u,R||s===i.value||(i.value=s),i.defaultValue=s}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=R?i.checked:!!h,i.defaultChecked=!!h,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(i.name=_),_y(i)}function Ny(i,s,u){s==="number"&&cf(i.ownerDocument)===i||i.defaultValue===""+u||(i.defaultValue=""+u)}function Ss(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=""+nr(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 N3(i,s,u){if(s!=null&&(s=""+nr(s),s!==i.value&&(i.value=s),u==null)){i.defaultValue!==s&&(i.defaultValue=s);return}i.defaultValue=u!=null?""+nr(u):""}function R3(i,s,u,h){if(s==null){if(h!=null){if(u!=null)throw Error(r(92));if(K(h)){if(1<h.length)throw Error(r(93));h=h[0]}u=h}u==null&&(u=""),s=u}u=nr(s),i.defaultValue=u,h=i.textContent,h===u&&h!==""&&h!==null&&(i.value=h),_y(i)}function Cs(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 OL=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 I3(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||OL.has(s)?s==="float"?i.cssFloat=u:i[s]=(""+u).trim():i[s]=u+"px"}function L3(i,s,u){if(s!=null&&typeof s!="object")throw Error(r(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&&I3(i,v,h)}else for(var S in s)s.hasOwnProperty(S)&&I3(i,S,s[S])}function Ry(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 TL=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"]]),PL=/^[\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 uf(i){return PL.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function ya(){}var Iy=null;function Ly(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Ms=null,Os=null;function z3(i){var s=xs(i);if(s&&(i=s.stateNode)){var u=i[Tn]||null;e:switch(i=s.stateNode,s.type){case"input":if(Dy(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="'+rr(""+s)+'"][type="radio"]'),s=0;s<u.length;s++){var h=u[s];if(h!==i&&h.form===i.form){var v=h[Tn]||null;if(!v)throw Error(r(90));Dy(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&&_3(h)}break e;case"textarea":N3(i,u.value,u.defaultValue);break e;case"select":s=u.value,s!=null&&Ss(i,!!u.multiple,s,!1)}}}var zy=!1;function B3(i,s,u){if(zy)return i(s,u);zy=!0;try{var h=i(s);return h}finally{if(zy=!1,(Ms!==null||Os!==null)&&(Qf(),Ms&&(s=Ms,i=Os,Os=Ms=null,z3
vendor: 4,041 bytes, line 48
48(s),i)))for(s=0;s<i.length;s++)z3(i[s])}}function Ac(i,s){var u=i.stateNode;if(u===null)return null;var h=u[Tn]||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(r(231,s,typeof u));return u}var ga=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),By=!1;if(ga)try{var jc={};Object.defineProperty(jc,"passive",{get:function(){By=!0}}),window.addEventListener("test",jc,jc),window.removeEventListener("test",jc,jc)}catch{By=!1}var ii=null,qy=null,df=null;function q3(){if(df)return df;var i,s=qy,u=s.length,h,v="value"in ii?ii.value:ii.textContent,S=v.length;for(i=0;i<u&&s[i]===v[i];i++);var _=u-i;for(h=1;h<=_&&s[u-h]===v[S-h];h++);return df=v.slice(i,1<h?1-h:void 0)}function ff(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 pf(){return!0}function $3(){return!1}function Pn(i){function s(u,h,v,S,_){this._reactName=u,this._targetInst=v,this.type=h,this.nativeEvent=S,this.target=_,this.currentTarget=null;for(var R in i)i.hasOwnProperty(R)&&(u=i[R],this[R]=u?u(S):S[R]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?pf:$3,this.isPropagationStopped=$3,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=pf)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=pf)},persist:function(){},isPersistent:pf}),s}var co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mf=Pn(co),Ec=m({},co,{view:0,detail:0}),AL=Pn(Ec),$y,Fy,kc,hf=m({},Ec,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uy,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!==kc&&(kc&&i.type==="mousemove"?($y=i.screenX-kc.screenX,Fy=i.screenY-kc.screenY):Fy=$y=0,kc=i),$y)},movementY:function(i){return"movementY"in i?i.movementY:Fy}}),F3=Pn(hf),jL=m({},hf,{dataTransfer:0}),EL=Pn(jL),kL=m({},Ec,{relatedTarget:0}),Hy=Pn(kL),_L=m({},co,{animationName:0,elapsedTime:0,pseudoElement:0}),DL=Pn(_L),NL=m({},co,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),RL=Pn(NL),IL=m({},co,{data:0}),H3=Pn(IL),LL={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zL={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"},BL={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qL(i){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(i):(i=BL[i])?!!s[i]:!1}function Uy(){return qL}var $L=m({},Ec,{key:function(i){if(i.key){var s=LL[i.key]||i.key;if(s!=="Unidentified")return s}return i.type==="keypress"?(i=ff(i),i===13?"Enter":String.fromCharCode(i)):i.type==="
48keydown"||i.type==="keyup"?zL[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uy,charCode:function(i){return i.type==="keypress"?ff(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?ff(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),FL=Pn($L),HL=m({},hf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),U3=Pn(HL),UL=m({},Ec,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uy}),WL=Pn(UL),GL=m({},co,{propertyName:0,elapsedTime:0,pseudoElement:0}),KL=Pn(GL),YL=m({},hf,{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}),VL=Pn(YL),ZL=m({},co,{newState:0,oldState:0}),QL=Pn(ZL),XL=[9,13,27,32],Wy=ga&&"CompositionEvent"in window,_c=null;ga&&"documentMode"in document&&(_c=document.documentMode);var JL=ga&&"TextEvent"in window&&!_c,W3=ga&&(!Wy||_c&&8<_c&&11>=_c),G3=" ",K3=!1;function Y3(i,s){switch(i){case"keyup":return XL.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function V3(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Ts=!1;function ez(i,s){switch(i){case"compositionend":return V3(s);case"keypress":return s.which!==32?null:(K3=!0,G3);case"textInput":return i=s.data,i===G3&&K3?null:i;default:return null}}function tz(i,s){if(Ts)return i==="compositionend"||!Wy&&Y3(i,s)?(i=q3(),df=qy=ii=null,Ts=!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 W3&&s.locale!=="ko"?null:s.data;default:return null}}var nz={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 Z3(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!nz[i.type]:s==="textarea"}function Q3(i,s,u,h){Ms?Os?Os.push(h):Os=[h]:Ms=h,s=ap(s,"onChange"),0<s.length&&(u=new mf("onChange","change",null,u,h),i.push({event:u,listeners:s}))}var Dc=null,Nc=null;function rz(i){D5(i,0)}function yf(i){var s=Pc(i);if(_3(s))return i}function X3(i,s){if(i==="change")return s}var J3=!1;if(ga){var Gy;if(ga){var Ky="oninput"in document;if(!Ky){var eM=document.createElement("div");eM.setAttribute("oninput","return;"),Ky=typeof eM.oninput=="function"}Gy=Ky}else Gy=!1;J3=Gy&&(!document.documentMode||9<document.documentMode)}function tM(){Dc&&(Dc.detachEvent("onpropertychange",nM),Nc=Dc=null)}function nM(i){if(i.propertyName==="value"&&yf(Nc)){var s=[];Q3(s,Nc,i,Ly(i)),B3(rz,s)}}function az(i,s,u){i==="focusin"?(tM(),Dc=s,Nc=u,Dc.attachEvent("onpropertychange",nM)):i==="focusout"&&tM()}function iz(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return yf(Nc)}
vendor: 22,085 bytes, line 48
48function oz(i,s){if(i==="click")return yf(s)}function sz(i,s){if(i==="input"||i==="change")return yf(s)}function lz(i,s){return i===s&&(i!==0||1/i===1/s)||i!==i&&s!==s}var Bn=typeof Object.is=="function"?Object.is:lz;function Rc(i,s){if(Bn(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(!Dt.call(s,v)||!Bn(i[v],s[v]))return!1}return!0}function rM(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function aM(i,s){var u=rM(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=rM(u)}}function iM(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?iM(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function oM(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var s=cf(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=cf(i.document)}return s}function Yy(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 cz=ga&&"documentMode"in document&&11>=document.documentMode,Ps=null,Vy=null,Ic=null,Zy=!1;function sM(i,s,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Zy||Ps==null||Ps!==cf(h)||(h=Ps,"selectionStart"in h&&Yy(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}),Ic&&Rc(Ic,h)||(Ic=h,h=ap(Vy,"onSelect"),0<h.length&&(s=new mf("onSelect","select",null,s,u),i.push({event:s,listeners:h}),s.target=Ps)))}function uo(i,s){var u={};return u[i.toLowerCase()]=s.toLowerCase(),u["Webkit"+i]="webkit"+s,u["Moz"+i]="moz"+s,u}var As={animationend:uo("Animation","AnimationEnd"),animationiteration:uo("Animation","AnimationIteration"),animationstart:uo("Animation","AnimationStart"),transitionrun:uo("Transition","TransitionRun"),transitionstart:uo("Transition","TransitionStart"),transitioncancel:uo("Transition","TransitionCancel"),transitionend:uo("Transition","TransitionEnd")},Qy={},lM={};ga&&(lM=document.createElement("div").style,"AnimationEvent"in window||(delete As.animationend.animation,delete As.animationiteration.animation,delete As.animationstart.animation),"TransitionEvent"in window||delete As.transitionend.transition);function fo(i){if(Qy[i])return Qy[i];if(!As[i])return i;var s=As[i],u;for(u in s)if(s.hasOwnProperty(u)&&u in lM)return Qy[i]=s[u];return i}var cM=fo("animationend"),uM=fo("animationiteration"),dM=fo("animationstart"),uz=fo("transitionrun"),dz=fo("transitionstart"),fz=fo("transitioncancel"),fM=fo("transitionend"),pM=new Map,Xy="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(" ");Xy.push("scrollEnd");function Or(i,s){pM.set(i,s),lo(s,[i])}var gf=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)},ar=[],js=0,Jy=0;function vf(){for(var i=js,s=Jy=js=0;s<i;){var u=ar[s];ar[s++]=null;var h=ar[s];ar[s++]=null;var v=ar[s];ar[s++]=null;var S=ar[s];if(ar[s++]=null,h!==null&&v!==null){var _=h.pending;_===null?v.next=v:(v.next=_.next,_.next=v),h.pending=v}S!==0&&mM(u,v,S)}}function xf(i,s,u,h){ar[js++]=i,ar[js++]=s,ar[js++]=u,ar[js++]=h,Jy|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function eg(i,s,u,h){return xf(i,s,u,h),bf(i)}function po(i,s){return xf(i,null,null,s),bf(i)}function mM(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-ln(u),i=S.hiddenUpdates,h=i[v],h===null?i[v]=[s]:h.push(s),s.lane=u|536870912),S):null}function bf(i){if(50<au)throw au=0,cv=null,Error(r(185));for(var s=i.return;s!==null;)i=s,s=i.return;return i.tag===3?i.stateNode:null}var Es={};function pz(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 qn(i,s,u,h){return new pz(i,s,u,h)}function tg(i){return i=i.prototype,!(!i||!i.isReactComponent)}function va(i,s){var u=i.alternate;return u===null?(u=qn(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 hM(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 wf(i,s,u,h,v,S){var _=0;if(h=i,typeof i=="function")tg(i)&&(_=1);else if(typeof i=="string")_=vB(i,u,J.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case I:return i=qn(31,u,s,v),i.elementType=I,i.lanes=S,i;case x:return mo(u.children,v,S,s);case w:_=8,v|=24;break;case M:return i=qn(12,u,s,v|2),i.elementType=M,i.lanes=S,i;case P:return i=qn(13,u,s,v),i.elementType=P,i.lanes=S,i;case k:return i=qn(19,u,s,v),i.elementType=k,i.lanes=S,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case j:_=10;break e;case T:_=9;break e;case E:_=11;break e;case A:_=14;break e;case D:_=16,h=null;break e}_=29,u=Error(r(130,i===null?"null":typeof i,"")),h=null}return s=qn(_,u,s,v),s.elementType=i,s.type=h,s.lanes=S,s}function mo(i,s,u,h){return i=qn(7,i,h,s),i.lanes=u,i}function ng(i,s,u){return i=qn(6,i,null,s),i.lanes=u,i}function yM(i){var s=qn(18,null,null,0);return s.stateNode=i,s}function rg(i,s,u){return s=qn(4,i.children!==null?i.children:[],i.key,s),s.lanes=u,s.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},s}var gM=new WeakMap;function ir(i,s){if(typeof i=="object"&&i!==null){var u=gM.get(i);return u!==void 0?u:(s={value:i,source:s,stack:Sn(s)},gM.set(i,s),s)}return{value:i,source:s,stack:Sn(s)}}var ks=[],_s=0,Sf=null,Lc=0,or=[],sr=0,oi=null,Wr=1,Gr="";function xa(i,s){ks[_s++]=Lc,ks[_s++]=Sf,Sf=i,Lc=s}function vM(i,s,u){or[sr++]=Wr,or[sr++]=Gr,or[sr++]=oi,oi=i;var h=Wr;i=Gr;var v=32-ln(h)-1;h&=~(1<<v),u+=1;var S=32-ln(s)+v;if(30<S){var _=v-v%5;S=(h&(1<<_)-1).toString(32),h>>=_,v-=_,Wr=1<<32-ln(s)+v|u<<v|h,Gr=S+i}else Wr=1<<S|u<<v|h,Gr=i}function ag(i){i.return!==null&&(xa(i,1),vM(i,1,0))}function ig(i){for(;i===Sf;)Sf=ks[--_s],ks[_s]=null,Lc=ks[--_s],ks[_s]=null;for(;i===oi;)oi=or[--sr],or[sr]=null,Gr=or[--sr],or[sr]=null,Wr=or[--sr],or[sr]=null}function xM(i,s){or[sr++]=Wr,or[sr++]=Gr,or[sr++]=oi,Wr=s.id,Gr=s.overflow,oi=i}var en=null,gt=null,Ge=!1,si=null,lr=!1,og=Error(r(519));function li(i){var s=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw zc(ir(s,i)),og}function bM(i){var s=i.stateNode,u=i.type,h=i.memoizedProps;switch(s[Jt]=i,s[Tn]=h,u){case"dialog":Fe("cancel",s),Fe("close",s);break;case"iframe":case"object":case"embed":Fe("load",s);break;case"video":case"audio":for(u=0;u<ou.length;u++)Fe(ou[u],s);break;case"source":Fe("error",s);break;case"img":case"image":case"link":Fe("error",s),Fe("load",s);break;case"details":Fe("toggle",s);break;case"input":Fe("invalid",s),D3(s,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":Fe("invalid",s);break;case"textarea":Fe("invalid",s),R3(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||L5(s.textContent,u)?(h.popover!=null&&(Fe("beforetoggle",s),Fe("toggle",s)),h.onScroll!=null&&Fe("scroll",s),h.onScrollEnd!=null&&Fe("scrollend",s),h.onClick!=null&&(s.onclick=ya),s=!0):s=!1,s||li(i,!0)}function wM(i){for(en=i.return;en;)switch(en.tag){case 5:case 31:case 13:lr=!1;return;case 27:case 3:lr=!0;return;default:en=en.return}}function Ds(i){if(i!==en)return!1;if(!Ge)return wM(i),Ge=!0,!1;var s=i.tag,u;if((u=s!==3&&s!==27)&&((u=s===5)&&(u=i.type,u=!(u!=="form"&&u!=="button")||Mv(i.type,i.memoizedProps)),u=!u),u&>&&li(i),wM(i),s===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));gt=G5(i)}else if(s===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));gt=G5(i)}else s===27?(s=gt,Si(i.type)?(i=jv,jv=null,gt=i):gt=s):gt=en?ur(i.stateNode.nextSibling):null;return!0}function ho(){gt=en=null,Ge=!1}function sg(){var i=si;return i!==null&&(kn===null?kn=i:kn.push.apply(kn,i),si=null),i}function zc(i){si===null?si=[i]:si.push(i)}var lg=z(null),yo=null,ba=null;function ci(i,s,u){Z(lg,s._currentValue),s._currentValue=u}function wa(i){i._currentValue=lg.current,Y(lg)}function cg(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 ug(i,s,u,h){var v=i.child;for(v!==null&&(v.return=i);v!==null;){var S=v.dependencies;if(S!==null){var _=v.child;S=S.firstContext;e:for(;S!==null;){var R=S;S=v;for(var W=0;W<s.length;W++)if(R.context===s[W]){S.lanes|=u,R=S.alternate,R!==null&&(R.lanes|=u),cg(S.return,u,i),h||(_=null);break e}S=R.next}}else if(v.tag===18){if(_=v.return,_===null)throw Error(r(341));_.lanes|=u,S=_.alternate,S!==null&&(S.lanes|=u),cg(_,u,i),_=null}else _=v.child;if(_!==null)_.return=v;else for(_=v;_!==null;){if(_===i){_=null;break}if(v=_.sibling,v!==null){v.return=_.return,_=v;break}_=_.return}v=_}}function Ns(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 _=v.alternate;if(_===null)throw Error(r(387));if(_=_.memoizedProps,_!==null){var R=v.type;Bn(v.pendingProps.value,_.value)||(i!==null?i.push(R):i=[R])}}else if(v===ie.current){if(_=v.alternate,_===null)throw Error(r(387));_.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(i!==null?i.push(du):i=[du])}v=v.return}i!==null&&ug(s,i,u,h),s.flags|=262144}function Cf(i){for(i=i.firstContext;i!==null;){if(!Bn(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function go(i){yo=i,ba=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function tn(i){return SM(yo,i)}function Mf(i,s){return yo===null&&go(i),SM(i,s)}function SM(i,s){var u=s._currentValue;if(s={context:s,memoizedValue:u,next:null},ba===null){if(i===null)throw Error(r(308));ba=s,i.dependencies={lanes:0,firstContext:s},i.flags|=524288}else ba=ba.next=s;return u}var mz=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()})}},hz=e.unstable_scheduleCallback,yz=e.unstable_NormalPriority,Nt={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function dg(){return{controller:new mz,data:new Map,refCount:0}}function Bc(i){i.refCount--,i.refCount===0&&hz(yz,function(){i.controller.abort()})}var qc=null,fg=0,Rs=0,Is=null;function gz(i,s){if(qc===null){var u=qc=[];fg=0,Rs=hv(),Is={status:"pending",value:void 0,then:function(h){u.push(h)}}}return fg++,s.then(CM,CM),s}function CM(){if(--fg===0&&qc!==null){Is!==null&&(Is.status="fulfilled");var i=qc;qc=null,Rs=0,Is=null;for(var s=0;s<i.length;s++)(0,i[s])()}}function vz(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 MM=N.S;N.S=function(i,s){s5=Kt(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&gz(i,s),MM!==null&&MM(i,s)};var vo=z(null);function pg(){var i=vo.current;return i!==null?i:ft.pooledCache}function Of(i,s){s===null?Z(vo,vo.current):Z(vo,s.pool)}function OM(){var i=pg();return i===null?null:{parent:Nt._currentValue,pool:i}}var Ls=Error(r(460)),mg=Error(r(474)),Tf=Error(r(542)),Pf={then:function(){}};function TM(i){return i=i.status,i==="fulfilled"||i==="rejected"}function PM(i,s,u){switch(u=i[u],u===void 0?i.push(s):u!==s&&(s.then(ya,ya),s=u),s.status){case"fulfilled":return s.value;case"rejected":throw i=s.reason,jM(i),i;default:if(typeof s.status=="string")s.then(ya,ya);else{if(i=ft,i!==null&&100<i.shellSuspendCounter)throw Error(r(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,jM(i),i}throw bo=s,Ls}}function xo(i){try{var s=i._init;return s(i._payload)}catch(u){throw u!==null&&typeof u=="object"&&typeof u.then=="function"?(bo=u,Ls):u}}var bo=null;function AM(){if(bo===null)throw Error(r(459));var i=bo;return bo=null,i}function jM(i){if(i===Ls||i===Tf)throw Error(r(483))}var zs=null,$c=0;function Af(i){var s=$c;return $c+=1,zs===null&&(zs=[]),PM(zs,i,s)}function Fc(i,s){s=s.props.ref,i.ref=s!==void 0?s:null}function jf(i,s){throw s.$$typeof===g?Error(r(525)):(i=Object.prototype.toString.call(s),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":i)))}function EM(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=va(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 _(X){return i&&X.alternate===null&&(X.flags|=67108866),X}function R(X,Q,ee,de){return Q===null||Q.tag!==6?(Q=ng(ee,X.mode,de),Q.return=X,Q):(Q=v(Q,ee),Q.return=X,Q)}function W(X,Q,ee,de){var Oe=ee.type;return Oe===x?se(X,Q,ee.props.children,de,ee.key):Q!==null&&(Q.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===D&&xo(Oe)===Q.type)?(Q=v(Q,ee.props),Fc(Q,ee),Q.return=X,Q):(Q=wf(ee.type,ee.key,ee.props,null,X.mode,de),Fc(Q,ee),Q.return=X,Q)}function te(X,Q,ee,de){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==ee.containerInfo||Q.stateNode.implementation!==ee.implementation?(Q=rg(ee,X.mode,de),Q.return=X,Q):(Q=v(Q,ee.children||[]),Q.return=X,Q)}function se(X,Q,ee,de,Oe){return Q===null||Q.tag!==7?(Q=mo(ee,X.mode,de,Oe),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=ng(""+Q,X.mode,ee),Q.return=X,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case b:return ee=wf(Q.type,Q.key,Q.props,null,X.mode,ee),Fc(ee,Q),ee.return=X,ee;case C:return Q=rg(Q,X.mode,ee),Q.return=X,Q;case D:return Q=xo(Q),fe(X,Q,ee)}if(K(Q)||q(Q))return Q=mo(Q,X.mode,ee,null),Q.return=X,Q;if(typeof Q.then=="function")return fe(X,Af(Q),ee);if(Q.$$typeof===j)return fe(X,Mf(X,Q),ee);jf(X,Q)}return null}function ne(X,Q,ee,de){var Oe=Q!==null?Q.key:null;if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return Oe!==null?null:R(X,Q,""+ee,de);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case b:return ee.key===Oe?W(X,Q,ee,de):null;case C:return ee.key===Oe?te(X,Q,ee,de):null;case D:return ee=xo(ee),ne(X,Q,ee,de)}if(K(ee)||q(ee))return Oe!==null?null:se(X,Q,ee,de,null);if(typeof ee.then=="function")return ne(X,Q,Af(ee),de);if(ee.$$typeof===j)return ne(X,Q,Mf(X,ee),de);jf(X,ee)}return null}function re(X,Q,ee,de,Oe){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return X=X.get(ee)||null,R(Q,X,""+de,Oe);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case b:return X=X.get(de.key===null?ee:de.key)||null,W(Q,X,de,Oe);case C:return X=X.get(de.key===null?ee:de.key)||null,te(Q,X,de,Oe);case D:return de=xo(de),re(X,Q,ee,de,Oe)}if(K(de)||q(de))return X=X.get(ee)||null,se(Q,X,de,Oe,null);if(typeof de.then=="function")return re(X,Q,ee,Af(de),Oe);if(de.$$typeof===j)return re(X,Q,ee,Mf(Q,de),Oe);jf(Q,de)}return null}function we(X,Q,ee,de){for(var Oe=null,Ye=null,Me=Q,Ie=Q=0,We=null;Me!==null&&Ie<ee.length;Ie++){Me.index>Ie?(We=Me,Me=null):We=Me.sibling;var Ve=ne(X,Me,ee[Ie],de);if(Ve===null){Me===null&&(Me=We);break}i&&Me&&Ve.alternate===null&&s(X,Me),Q=S(Ve,Q,Ie),Ye===null?Oe=Ve:Ye.sibling=Ve,Ye=Ve,Me=We}if(Ie===ee.length)return u(X,Me),Ge&&xa(X,Ie),Oe;if(Me===null){for(;Ie<ee.length;Ie++)Me=fe(X,ee[Ie],de),Me!==null&&(Q=S(Me,Q,Ie),Ye===null?Oe=Me:Ye.sibling=Me,Ye=Me);return Ge&&xa(X,Ie),Oe}for(Me=h(Me);Ie<ee.length;Ie++)We=re(Me,X,Ie,ee[Ie],de),We!==null&&(i&&We.alternate!==null&&Me.delete(We.key===null?Ie:We.key),Q=S(We,Q,Ie),Ye===null?Oe=We:Ye.sibling=We,Ye=We);return i&&Me.forEach(function(Pi){return s(X,Pi)}),Ge&&xa(X,Ie),Oe}function Ae(X,Q,ee,de){if(ee==null)throw Error(r(151));for(var Oe=null,Ye=null,Me=Q,Ie=Q=0,We=null,Ve=ee.next();Me!==null&&!Ve.done;Ie++,Ve=ee.next()){Me.index>Ie?(We=Me,Me=null):We=Me.sibling;var Pi=ne(X,Me,Ve.value,de);if(Pi===null){Me===null&&(Me=We);break}i&&Me&&Pi.alternate===null&&s(X,Me),Q=S(Pi,Q,Ie),Ye===null?Oe=Pi:Ye.sibling=Pi,Ye=Pi,Me=We}if(Ve.done)return u(X,Me),Ge&&xa(X,Ie),Oe;if(Me===null){for(;!Ve.done;Ie++,Ve=ee.next())Ve=fe(X,Ve.value,de),Ve!==null&&(Q=S(Ve,Q,Ie),Ye===null?Oe=Ve:Ye.sibling=Ve,Ye=Ve);return Ge&&xa(X,Ie),Oe}for(Me=h(Me);!Ve.done;Ie++,Ve=ee.next())Ve=re(Me,X,Ie,Ve.value,de),Ve!==null&&(i&&Ve.alternate!==null&&Me.delete(Ve.key===null?Ie:Ve.key),Q=S(Ve,Q,Ie),Ye===null?Oe=Ve:Ye.sibling=Ve,Ye=Ve);return i&&Me.forEach(function(jB){return s(X,jB)}),Ge&&xa(X,Ie),Oe}function lt(X,Q,ee,de){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 Oe=ee.key;Q!==null;){if(Q.key===Oe){if(Oe=ee.type,Oe===x){if(Q.tag===7){u(X,Q.sibling),de=v(Q,ee.props.children),de.return=X,X=de;break e}}else if(Q.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===D&&xo(Oe)===Q.type){u(X,Q.sibling),de=v(Q,ee.props),Fc(de,ee),de.return=X,X=de;break e}u(X,Q);break}else s(X,Q);Q=Q.sibling}ee.type===x?(de=mo(ee.props.children,X.mode,de,ee.key),de.return=X,X=de):(de=wf(ee.type,ee.key,ee.props,null,X.mode,de),Fc(de,ee),de.return=X,X=de)}return _(X);case C:e:{for(Oe=ee.key;Q!==null;){if(Q.key===Oe)if(Q.tag===4&&Q.stateNode.containerInfo===ee.containerInfo&&Q.stateNode.implementation===ee.implementation){u(X,Q.sibling),de=v(Q,ee.children||[]),de.return=X,X=de;break e}else{u(X,Q);break}else s(X,Q);Q=Q.sibling}de=rg(ee,X.mode,de),de.return=X,X=de}return _(X);case D:return ee=xo(ee),lt(X,Q,ee,de)}if(K(ee))return we(X,Q,ee,de);if(q(ee)){if(Oe=q(ee),typeof Oe!="function")throw Error(r(150));return ee=Oe.call(ee),Ae(X,Q,ee,de)}if(typeof ee.then=="function")return lt(X,Q,Af(ee),de);if(ee.$$typeof===j)return lt(X,Q,Mf(X,ee),de);jf(X,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint"?(ee=""+ee,Q!==null&&Q.tag===6?(u(X,Q.sibling),de=v(Q,ee),de.return=X,X=de):(u(X,Q),de=ng(ee,X.mode,de),de.return=X,X=de),_(X)):u(X,Q)}return function(X,Q,ee,de){try{$c=0;var Oe=lt(X,Q,ee,de);return zs=null,Oe}catch(Me){if(Me===Ls||Me===Tf)throw Me;var Ye=qn(29,Me,null,X.mode);return Ye.lanes=de,Ye.return=X,Ye}finally{}}}var wo=EM(!0),kM=EM(!1),ui=!1;function hg(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yg(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 di(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function fi(i,s,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(Xe&2)!==0){var v=h.pending;
vendor: 5,576 bytes, line 48
48return v===null?s.next=s:(s.next=v.next,v.next=s),h.pending=s,s=bf(i),mM(i,null,u),s}return xf(i,h,s,u),bf(i)}function Hc(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,Mn(i,u)}}function gg(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 _={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};S===null?v=S=_:S=S.next=_,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 vg=!1;function Uc(){if(vg){var i=Is;if(i!==null)throw i}}function Wc(i,s,u,h){vg=!1;var v=i.updateQueue;ui=!1;var S=v.firstBaseUpdate,_=v.lastBaseUpdate,R=v.shared.pending;if(R!==null){v.shared.pending=null;var W=R,te=W.next;W.next=null,_===null?S=te:_.next=te,_=W;var se=i.alternate;se!==null&&(se=se.updateQueue,R=se.lastBaseUpdate,R!==_&&(R===null?se.firstBaseUpdate=te:R.next=te,se.lastBaseUpdate=W))}if(S!==null){var fe=v.baseState;_=0,se=te=W=null,R=S;do{var ne=R.lane&-536870913,re=ne!==R.lane;if(re?(Ue&ne)===ne:(h&ne)===ne){ne!==0&&ne===Rs&&(vg=!0),se!==null&&(se=se.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var we=i,Ae=R;ne=s;var lt=u;switch(Ae.tag){case 1:if(we=Ae.payload,typeof we=="function"){fe=we.call(lt,fe,ne);break e}fe=we;break e;case 3:we.flags=we.flags&-65537|128;case 0:if(we=Ae.payload,ne=typeof we=="function"?we.call(lt,fe,ne):we,ne==null)break e;fe=m({},fe,ne);break e;case 2:ui=!0}}ne=R.callback,ne!==null&&(i.flags|=64,re&&(i.flags|=8192),re=v.callbacks,re===null?v.callbacks=[ne]:re.push(ne))}else re={lane:ne,tag:R.tag,payload:R.payload,callback:R.callback,next:null},se===null?(te=se=re,W=fe):se=se.next=re,_|=ne;if(R=R.next,R===null){if(R=v.shared.pending,R===null)break;re=R,R=re.next,re.next=null,v.lastBaseUpdate=re,v.shared.pending=null}}while(!0);se===null&&(W=fe),v.baseState=W,v.firstBaseUpdate=te,v.lastBaseUpdate=se,S===null&&(v.shared.lanes=0),gi|=_,i.lanes=_,i.memoizedState=fe}}function _M(i,s){if(typeof i!="function")throw Error(r(191,i));i.call(s)}function DM(i,s){var u=i.callbacks;if(u!==null)for(i.callbacks=null,i=0;i<u.length;i++)_M(u[i],s)}var Bs=z(null),Ef=z(0);function NM(i,s){i=Ea,Z(Ef,i),Z(Bs,s),Ea=i|s.baseLanes}function xg(){Z(Ef,Ea),Z(Bs,Bs.current)}function bg(){Ea=Ef.current,Y(Bs),Y(Ef)}var $n=z(null),cr=null;function pi(i){var s=i.alternate;Z(Et,Et.current&1),Z($n,i),cr===null&&(s===null||Bs.current!==null||s.memoizedState!==null)&&(cr=i)}function wg(i){Z(Et,Et.current),Z($n,i),cr===null&&(cr=i)}function RM(i){i.tag===22?(Z(Et,Et.current),Z($n,i),cr===null&&(cr=i)):mi()}function mi(){Z(Et,Et.current),Z($n,$n.current)}function Fn(i){Y($n),cr===i&&(cr=null),Y(Et)}var Et=z(0);function kf(i){for(var s=i;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||Pv(u)||Av(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 Sa=0,Ne=null,ot=null,Rt=null,_f=!1,qs=!1,So=!1,Df=0,Gc=0,$s=null,xz=0;function Tt(){throw Error(r(321))}function Sg(i,s){if(s===null)return!1;for(var u=0;u<s.length&&u<i.length;u++)if(!Bn(i[u],s[u]))return!1;return!0}function Cg(i,s,u,h,v,S){return Sa=S,Ne=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,N.H=i===null||i.memoizedState===null?vO:zg,So=!1,S=u(h,v),So=!1,qs&&(S=LM(s,u,h,v)),IM(i),S}function IM(i){N.H=Vc;var s=ot!==null&&ot.next!==null;if(Sa=0,Rt=ot=Ne=null,_f=!1,Gc=0,$s=null,s)throw Error(r(300));i===null||It||(i=i.dependencies,i!==null&&Cf(i)&&(It=!0))}function LM(i,s,u,h){Ne=i;var v=0;do{if(qs&&($s=null),Gc=0,qs=!1,25<=v)throw Error(r(301));if(v+=1,Rt=ot=null,i.updateQueue!=null){var S=i.updateQueue;S.lastEffect=null,S.events=null,S.stores=null,S.memoCache!=null&&(S.memoCache.index=0)}N.H=xO,S=s(u,h)}while(qs);return S}function bz(){var i=N.H,s=i.useState()[0];return s=typeof s.then=="function"?Kc(s):s,i=i.useState()[0],(ot!==null?ot.memoizedState:null)!==i&&(Ne.flags|=1024),s}function Mg(){var i=Df!==0;return Df=0,i}function Og(i,s,u){s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~u}function Tg(i){if(_f){for(i=i.memoizedState;i!==null;){var s=i.queue;s!==null&&(s.pending=null),i=i.next}_f=!1}Sa=0,Rt=ot=Ne=null,qs=!1,Gc=Df=0,$s=null}function yn(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?Ne.memoizedState=Rt=i:Rt=Rt.next=i,Rt}function kt(){if(ot===null){var i=Ne.alternate;i=i!==null?i.memoizedState:null}else i=ot.next;var s=Rt===null?Ne.memoizedState:Rt.next;if(s!==null)Rt=s,ot=i;else{if(i===null)throw Ne.alternate===null?Error(r(467)):Error(r(310));ot=i,i={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Rt===null?Ne.memoizedState=Rt=i:Rt=Rt.next=i}return Rt}function Nf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Kc(i){var s=Gc;return Gc+=1,$s===null&&($s=[]),i=PM($s,i,s),s=Ne,(Rt===null?s.memoizedState:Rt.next)===null&&(s=s.alternate,N.H=s===null||s.memoizedState===null?vO
vendor: 17,003 bytes, line 48
48:zg),i}function Rf(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Kc(i);if(i.$$typeof===j)return tn(i)}throw Error(r(438,String(i)))}function Pg(i){var s=null,u=Ne.updateQueue;if(u!==null&&(s=u.memoCache),s==null){var h=Ne.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=Nf(),Ne.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 Ca(i,s){return typeof s=="function"?s(i):s}function If(i){var s=kt();return Ag(s,ot,i)}function Ag(i,s,u){var h=i.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=u;var v=i.baseQueue,S=h.pending;if(S!==null){if(v!==null){var _=v.next;v.next=S.next,S.next=_}s.baseQueue=v=S,h.pending=null}if(S=i.baseState,v===null)i.memoizedState=S;else{s=v.next;var R=_=null,W=null,te=s,se=!1;do{var fe=te.lane&-536870913;if(fe!==te.lane?(Ue&fe)===fe:(Sa&fe)===fe){var ne=te.revertLane;if(ne===0)W!==null&&(W=W.next={lane:0,revertLane:0,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),fe===Rs&&(se=!0);else if((Sa&ne)===ne){te=te.next,ne===Rs&&(se=!0);continue}else fe={lane:0,revertLane:te.revertLane,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},W===null?(R=W=fe,_=S):W=W.next=fe,Ne.lanes|=ne,gi|=ne;fe=te.action,So&&u(S,fe),S=te.hasEagerState?te.eagerState:u(S,fe)}else ne={lane:fe,revertLane:te.revertLane,gesture:te.gesture,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},W===null?(R=W=ne,_=S):W=W.next=ne,Ne.lanes|=fe,gi|=fe;te=te.next}while(te!==null&&te!==s);if(W===null?_=S:W.next=R,!Bn(S,i.memoizedState)&&(It=!0,se&&(u=Is,u!==null)))throw u;i.memoizedState=S,i.baseState=_,i.baseQueue=W,h.lastRenderedState=S}return v===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function jg(i){var s=kt(),u=s.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=i;var h=u.dispatch,v=u.pending,S=s.memoizedState;if(v!==null){u.pending=null;var _=v=v.next;do S=i(S,_.action),_=_.next;while(_!==v);Bn(S,s.memoizedState)||(It=!0),s.memoizedState=S,s.baseQueue===null&&(s.baseState=S),u.lastRenderedState=S}return[S,h]}function zM(i,s,u){var h=Ne,v=kt(),S=Ge;if(S){if(u===void 0)throw Error(r(407));u=u()}else u=s();var _=!Bn((ot||v).memoizedState,u);if(_&&(v.memoizedState=u,It=!0),v=v.queue,_g($M.bind(null,h,v,i),[i]),v.getSnapshot!==s||_||Rt!==null&&Rt.memoizedState.tag&1){if(h.flags|=2048,Fs(9,{destroy:void 0},qM.bind(null,h,v,u,s),null),ft===null)throw Error(r(349));S||(Sa&127)!==0||BM(h,s,u)}return u}function BM(i,s,u){i.flags|=16384,i={getSnapshot:s,value:u},s=Ne.updateQueue,s===null?(s=Nf(),Ne.updateQueue=s,s.stores=[i]):(u=s.stores,u===null?s.stores=[i]:u.push(i))}function qM(i,s,u,h){s.value=u,s.getSnapshot=h,FM(s)&&HM(i)}function $M(i,s,u){return u(function(){FM(s)&&HM(i)})}function FM(i){var s=i.getSnapshot;i=i.value;try{var u=s();return!Bn(i,u)}catch{return!0}}function HM(i){var s=po(i,2);s!==null&&_n(s,i,2)}function Eg(i){var s=yn();if(typeof i=="function"){var u=i;if(i=u(),So){Cr(!0);try{u()}finally{Cr(!1)}}}return s.memoizedState=s.baseState=i,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:i},s}function UM(i,s,u,h){return i.baseState=u,Ag(i,ot,typeof h=="function"?h:Ca)}function wz(i,s,u,h,v){if(Bf(i))throw Error(r(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(_){S.listeners.push(_)}};N.T!==null?u(!0):S.isTransition=!1,h(S),u=s.pending,u===null?(S.next=s.pending=S,WM(s,S)):(S.next=u.next,s.pending=u.next=S)}}function WM(i,s){var u=s.action,h=s.payload,v=i.state;if(s.isTransition){var S=N.T,_={};N.T=_;try{var R=u(v,h),W=N.S;W!==null&&W(_,R),GM(i,s,R)}catch(te){kg(i,s,te)}finally{S!==null&&_.types!==null&&(S.types=_.types),N.T=S}}else try{S=u(v,h),GM(i,s,S)}catch(te){kg(i,s,te)}}function GM(i,s,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(h){KM(i,s,h)},function(h){return kg(i,s,h)}):KM(i,s,u)}function KM(i,s,u){s.status="fulfilled",s.value=u,YM(s),i.state=u,s=i.pending,s!==null&&(u=s.next,u===s?i.pending=null:(u=u.next,s.next=u,WM(i,u)))}function kg(i,s,u){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do s.status="rejected",s.reason=u,YM(s),s=s.next;while(s!==h)}i.action=null}function YM(i){i=i.listeners;for(var s=0;s<i.length;s++)(0,i[s])()}function VM(i,s){return s}function ZM(i,s){if(Ge){var u=ft.formState;if(u!==null){e:{var h=Ne;if(Ge){if(gt){t:{for(var v=gt,S=lr;v.nodeType!==8;){if(!S){v=null;break t}if(v=ur(v.nextSibling),v===null){v=null;break t}}S=v.data,v=S==="F!"||S==="F"?v:null}if(v){gt=ur(v.nextSibling),h=v.data==="F!";break e}}li(h)}h=!1}h&&(s=u[0])}}return u=yn(),u.memoizedState=u.baseState=s,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:VM,lastRenderedState:s},u.queue=h,u=hO.bind(null,Ne,h),h.dispatch=u,h=Eg(!1),S=Lg.bind(null,Ne,!1,h.queue),h=yn(),v={state:s,dispatch:null,action:i,pending:null},h.queue=v,u=wz.bind(null,Ne,v,S,u),v.dispatch=u,h.memoizedState=i,[s,u,!1]}function QM(i){var s=kt();return XM(s,ot,i)}function XM(i,s,u){if(s=Ag(i,s,VM)[0],i=If(Ca)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var h=Kc(s)}catch(_){throw _===Ls?Tf:_}else h=s;s=kt();var v=s.queue,S=v.dispatch;return u!==s.memoizedState&&(Ne.flags|=2048,Fs(9,{destroy:void 0},Sz.bind(null,v,u),null)),[h,S,i]}function Sz(i,s){i.action=s}function JM(i){var s=kt(),u=ot;if(u!==null)return XM(s,u,i);kt(),s=s.memoizedState,u=kt();var h=u.queue.dispatch;return u.memoizedState=i,[s,h,!1]}function Fs(i,s,u,h){return i={tag:i,create:u,deps:h,inst:s,next:null},s=Ne.updateQueue,s===null&&(s=Nf(),Ne.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 kt().memoizedState}function Lf(i,s,u,h){var v=yn();Ne.flags|=i,v.memoizedState=Fs(1|s,{destroy:void 0},u,h===void 0?null:h)}function zf(i,s,u,h){var v=kt();h=h===void 0?null:h;var S=v.memoizedState.inst;ot!==null&&h!==null&&Sg(h,ot.memoizedState.deps)?v.memoizedState=Fs(s,S,u,h):(Ne.flags|=i,v.memoizedState=Fs(1|s,S,u,h))}function tO(i,s){Lf(8390656,8,i,s)}function _g(i,s){zf(2048,8,i,s)}function Cz(i){Ne.flags|=4;var s=Ne.updateQueue;if(s===null)s=Nf(),Ne.updateQueue=s,s.events=[i];else{var u=s.events;u===null?s.events=[i]:u.push(i)}}function nO(i){var s=kt().memoizedState;return Cz({ref:s,nextImpl:i}),function(){if((Xe&2)!==0)throw Error(r(440));return s.impl.apply(void 0,arguments)}}function rO(i,s){return zf(4,2,i,s)}function aO(i,s){return zf(4,4,i,s)}function iO(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 oO(i,s,u){u=u!=null?u.concat([i]):null,zf(4,4,iO.bind(null,s,i),u)}function Dg(){}function sO(i,s){var u=kt();s=s===void 0?null:s;var h=u.memoizedState;return s!==null&&Sg(s,h[1])?h[0]:(u.memoizedState=[i,s],i)}function lO(i,s){var u=kt();s=s===void 0?null:s;var h=u.memoizedState;if(s!==null&&Sg(s,h[1]))return h[0];if(h=i(),So){Cr(!0);try{i()}finally{Cr(!1)}}return u.memoizedState=[h,s],h}function Ng(i,s,u){return u===void 0||(Sa&1073741824)!==0&&(Ue&261930)===0?i.memoizedState=s:(i.memoizedState=u,i=c5(),Ne.lanes|=i,gi|=i,u)}function cO(i,s,u,h){return Bn(u,s)?u:Bs.current!==null?(i=Ng(i,u,h),Bn(i,s)||(It=!0),i):(Sa&42)===0||(Sa&1073741824)!==0&&(Ue&261930)===0?(It=!0,i.memoizedState=u):(i=c5(),Ne.lanes|=i,gi|=i,s)}function uO(i,s,u,h,v){var S=H.p;H.p=S!==0&&8>S?S:8;var _=N.T,R={};N.T=R,Lg(i,!1,s,u);try{var W=v(),te=N.S;if(te!==null&&te(R,W),W!==null&&typeof W=="object"&&typeof W.then=="function"){var se=vz(W,h);Yc(i,s,se,Wn(i))}else Yc(i,s,h,Wn(i))}catch(fe){Yc(i,s,{then:function(){},status:"rejected",reason:fe},Wn())}finally{H.p=S,_!==null&&R.types!==null&&(_.types=R.types),N.T=_}}function Mz(){}function Rg(i,s,u,h){if(i.tag!==5)throw Error(r(476));var v=dO(i).queue;uO(i,v,s,$,u===null?Mz:function(){return fO(i),u(h)})}function dO(i){var s=i.memoizedState;if(s!==null)return s;s={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:$},next:null};var u={};return s.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:u},next:null},i.memoizedState=s,i=i.alternate,i!==null&&(i.memoizedState=s),s}function fO(i){var s=dO(i);s.next===null&&(s=i.alternate.memoizedState),Yc(i,s.next.queue,{},Wn())}function Ig(){return tn(du)}function pO(){return kt().memoizedState}function mO(){return kt().memoizedState}function Oz(i){for(var s=i.return;s!==null;){switch(s.tag){case 24:case 3:var u=Wn();i=di(u);var h=fi(s,i,u);h!==null&&(_n(h,s,u),Hc(h,s,u)),s={cache:dg()},i.payload=s;return}s=s.return}}function Tz(i,s,u){var h=Wn();u={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Bf(i)?yO(s,u):(u=eg(i,s,u,h),u!==null&&(_n(u,i,h),gO(u,s,h)))}function hO(i,s,u){var h=Wn();Yc(i,s,u,h)}function Yc(i,s,u,h){var v={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(Bf(i))yO(s,v);else{var S=i.alternate;if(i.lanes===0&&(S===null||S.lanes===0)&&(S=s.lastRenderedReducer,S!==null))try{var _=s.lastRenderedState,R=S(_,u);if(v.hasEagerState=!0,v.eagerState=R,Bn(R,_))return xf(i,s,v,0),ft===null&&vf(),!1}catch{}finally{}if(u=eg(i,s,v,h),u!==null)return _n(u,i,h),gO(u,s,h),!0}return!1}function Lg(i,s,u,h){if(h={lane:2,revertLane:hv(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},Bf(i)){if(s)throw Error(r(479))}else s=eg(i,u,h,2),s!==null&&_n(s,i,2)}function Bf(i){var s=i.alternate;return i===Ne||s!==null&&s===Ne}function yO(i,s){qs=_f=!0;var u=i.pending;u===null?s.next=s:(s.next=u.next,u.next=s),i.pending=s}function gO(i,s,u){if((u&4194048)!==0){var h=s.lanes;h&=i.pendingLanes,u|=h,s.lanes=u,Mn(i,u)}}var Vc={readContext:tn,use:Rf,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useLayoutEffect:Tt,useInsertionEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useSyncExternalStore:Tt,useId:Tt,useHostTransitionStatus:Tt,useFormState:Tt,useActionState:Tt,useOptimistic:Tt,useMemoCache:Tt,useCacheRefresh:Tt};Vc.useEffectEvent=Tt;var vO={readContext:tn,use:Rf,useCallback:function(i,s){return yn().memoizedState=[i,s===void 0?null:s],i},useContext:tn,useEffect:tO,useImperativeHandle:function(i,s,u){u=u!=null?u.concat([i]):null,Lf(4194308,4,iO.bind(null,s,i),u)},useLayoutEffect:function(i,s){return Lf(4194308,4,i,s)},useInsertionEffect:function(i,s){Lf(4,2,i,s)},useMemo:function(i,s){var u=yn();s=s===void 0?null:s;var h=i();if(So){Cr(!0);try{i()}finally{Cr(!1)}}return u.memoizedState=[h,s],h},useReducer:function(i,s,u){var h=yn();if(u!==void 0){var v=u(s);if(So){Cr(!0);try{u(s)}finally{Cr(!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=Tz.bind(null,Ne,i),[h.memoizedState,i]},useRef:function(i){var s=yn();return i={current:i},s.memoizedState=i},useState:function(i){i=Eg(i);var s=i.queue,u=hO.bind(null,Ne,s);return s.dispatch=u,[i.memoizedState,u]},useDebugValue:Dg,useDeferredValue:function(i,s){var u=yn();return Ng(u,i,s)},useTransition:function(){var i=Eg(!1);return i=uO.bind(null,Ne,i.queue,!0,!1),yn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,s,u){var h=Ne,v=yn();if(Ge){if(u===void 0)throw Error(r(407));u=u()}else{if(u=s(),ft===null)throw Error(r(349));(Ue&127)!==0||BM(h,s,u)}v.memoizedState=u;var S={value:u,getSnapshot:s};return v.queue=S,tO($M.bind(null,h,S,i),[i]),h.flags|=2048,Fs(9,{destroy:void 0},qM.bind(null,h,S,u,s),null),u},useId:function(){var i=yn(),s=ft.identifierPrefix;if(Ge){var u=Gr,h=Wr;u=(h&~(1<<32-ln(h)-1)).toString(32)+u,s="_"+s+"R_"+u,u=Df++,0<u&&(s+="H"+u.toString(32)),s+="_"}else u=xz++,s="_"+s+"r_"+u.toString(32)+"_";return i.memoizedState=s},useHostTransitionStatus:Ig,useFormState:ZM,useActionState:ZM,useOptimistic:function(i){var s=yn();s.memoizedState=s.baseState=i;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=u,s=Lg.bind(null,Ne,!0,u),u.dispatch=s,[i,s]},useMemoCache:Pg,useCacheRefresh:function(){return yn().memoizedState=Oz.bind(null,Ne)},useEffectEvent:function(i){var s=yn(),u={impl:i};return s.memoizedState=u,function(){if((Xe&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}},zg={readContext:tn,use:Rf,useCallback:sO,useContext:tn,useEffect:_g,useImperativeHandle:oO,useInsertionEffect:rO,useLayoutEffect:aO,useMemo:lO,useReducer:If,useRef:eO,useState:function(){return If(Ca)},useDebugValue:Dg,useDeferredValue:function(i,s){var u=kt();return cO(u,ot.memoizedState,i,s)},useTransition:function(){var i=If(Ca)[0],s=kt().memoizedState;return[typeof i=="boolean"?i:Kc(i),s]},useSyncExternalStore:zM,useId:pO,useHostTransitionStatus:Ig,useFormState:QM,useActionState:QM,useOptimistic:function(i,s){var u=kt();return UM(u,ot,i,s)},useMemoCache:Pg,useCacheRefresh:mO};zg.useEffectEvent=nO;var xO={readContext:tn,use:Rf,useCallback:sO,useContext:tn,useEffect:_g,useImperativeHandle:oO,useInsertionEffect:rO,useLayoutEffect:aO,useMemo:lO,useReducer:jg,useRef:eO,useState:function(){return jg(Ca)},useDebugValue:Dg,useDeferredValue:function(i,s){var u=kt();return ot===null?Ng(u,i,s):cO(u,ot.memoizedState,i,s)},useTransition:function(){var i=jg(Ca)[0],s=kt().memoizedState;return[typeof i=="boolean"?i:Kc(i),s]},useSyncExternalStore:zM,useId:pO,useHostTransitionStatus:Ig,useFormState:JM,useActionState:JM,useOptimistic:function(i,s){var u=kt();return ot!==null?UM(u,ot,i,s):(u.baseState=i,[i,u.queue.dispatch])},useMemoCache:Pg,useCacheRefresh:mO};xO.useEffectEvent=nO;function Bg(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 qg={enqueueSetState:function(i,s,u){i=i._reactInternals;var h=Wn(),v=di(h);v.payload=s,u!=null&&(v.callback=u),s=fi(i,v,h),s!==null&&(_n(s,i,h),Hc(s,i,h))},enqueueReplaceState:function(i,s,u){i=i._reactInternals;var h=Wn(),v=di(h);v.tag=1,v.payload=s,u!=null&&(v.callback=u),s=fi(i,v,h),s!==null&&(_n(s,i,h),Hc(s,i,h))},enqueueForceUpdate:function(i,s){i=i._reactInternals;var u=Wn(),h=di(u);h.tag=2,s!=null&&(h.callback=s),s=fi(i,h,u),s!==null&&(_n(s,i,u),Hc(s,i,u))}};function bO(i,s,u,h,v,S,_){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,S,_):s.prototype&&s.prototype.isPureReactComponent?!Rc(u,h)||!Rc(v,S):!0}function wO(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&&qg.enqueueReplaceState(s,s.state,null)}function Co(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 SO(i){gf(i)}function CO(i){console.error(i)}function MO(i){gf(i)}function qf(i,s){try{var u=i.onUncaughtError;u(s.value,{componentStack:s.stack})}catch(h){setTimeout(function(){throw h})}}function OO(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 $g(i,s,u){return u=di(u),u.tag=3,u.payload={element:null},u.callback=function(){qf(i,s)},u}function TO(i){return i=di(i),i.tag=3,i}function PO(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(){OO(s,u,h)}}var _=u.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){OO(s,u,h),typeof v!="function"&&(vi===null?vi=new Set([this]):vi.add(this));var R=h.stack;this.componentDidCatch(h.value,{componentStack:R!==null?R:""})})}function Pz(i,s,u,h,v){if(u.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(s=u.alternate,s!==null&&Ns(s,u,v,!0),u=$n.current,u!==null){switch(u.tag){case 31:case 13:return cr===null?Xf():u.alternate===null&&Pt===0&&(Pt=3),u.flags&=-257,u.flags|=65536,u.lanes=v,h===Pf?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===Pf?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(r(435,u.tag))}return fv(i,h,v),Xf(),!1}if(Ge)return s=$n.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=v,h!==og&&(i=Error(r(422),{cause:h}),zc(ir(i,u)))):(h!==og&&(s=Error(r(423),{cause:h}
vendor: 14,579 bytes, line 48
48),zc(ir(s,u))),i=i.current.alternate,i.flags|=65536,v&=-v,i.lanes|=v,h=ir(h,u),v=$g(i.stateNode,h,v),gg(i,v),Pt!==4&&(Pt=2)),!1;var S=Error(r(520),{cause:h});if(S=ir(S,u),ru===null?ru=[S]:ru.push(S),Pt!==4&&(Pt=2),s===null)return!0;h=ir(h,u),u=s;do{switch(u.tag){case 3:return u.flags|=65536,i=v&-v,u.lanes|=i,i=$g(u.stateNode,h,i),gg(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"&&(vi===null||!vi.has(S))))return u.flags|=65536,v&=-v,u.lanes|=v,v=TO(v),PO(v,i,u,h),gg(u,v),!1}u=u.return}while(u!==null);return!1}var Fg=Error(r(461)),It=!1;function nn(i,s,u,h){s.child=i===null?kM(s,null,u,h):wo(s,i.child,u,h)}function AO(i,s,u,h,v){u=u.render;var S=s.ref;if("ref"in h){var _={};for(var R in h)R!=="ref"&&(_[R]=h[R])}else _=h;return go(s),h=Cg(i,s,u,_,S,v),R=Mg(),i!==null&&!It?(Og(i,s,v),Ma(i,s,v)):(Ge&&R&&ag(s),s.flags|=1,nn(i,s,h,v),s.child)}function jO(i,s,u,h,v){if(i===null){var S=u.type;return typeof S=="function"&&!tg(S)&&S.defaultProps===void 0&&u.compare===null?(s.tag=15,s.type=S,EO(i,s,S,h,v)):(i=wf(u.type,null,h,s,s.mode,v),i.ref=s.ref,i.return=s,s.child=i)}if(S=i.child,!Zg(i,v)){var _=S.memoizedProps;if(u=u.compare,u=u!==null?u:Rc,u(_,h)&&i.ref===s.ref)return Ma(i,s,v)}return s.flags|=1,i=va(S,h),i.ref=s.ref,i.return=s,s.child=i}function EO(i,s,u,h,v){if(i!==null){var S=i.memoizedProps;if(Rc(S,h)&&i.ref===s.ref)if(It=!1,s.pendingProps=h=S,Zg(i,v))(i.flags&131072)!==0&&(It=!0);else return s.lanes=i.lanes,Ma(i,s,v)}return Hg(i,s,u,h,v)}function kO(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 _O(i,s,S,u,h)}if((u&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},i!==null&&Of(s,S!==null?S.cachePool:null),S!==null?NM(s,S):xg(),RM(s);else return h=s.lanes=536870912,_O(i,s,S!==null?S.baseLanes|u:u,u,h)}else S!==null?(Of(s,S.cachePool),NM(s,S),mi(),s.memoizedState=null):(i!==null&&Of(s,null),xg(),mi());return nn(i,s,v,u),s.child}function Zc(i,s){return i!==null&&i.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function _O(i,s,u,h,v){var S=pg();return S=S===null?null:{parent:Nt._currentValue,pool:S},s.memoizedState={baseLanes:u,cachePool:S},i!==null&&Of(s,null),xg(),RM(s),i!==null&&Ns(i,s,h,!0),s.childLanes=v,null}function $f(i,s){return s=Hf({mode:s.mode,children:s.children},i.mode),s.ref=i.ref,i.child=s,s.return=i,s}function DO(i,s,u){return wo(s,i.child,null,u),i=$f(s,s.pendingProps),i.flags|=2,Fn(s),s.memoizedState=null,i}function Az(i,s,u){var h=s.pendingProps,v=(s.flags&128)!==0;if(s.flags&=-129,i===null){if(Ge){if(h.mode==="hidden")return i=$f(s,h),s.lanes=536870912,Zc(null,i);if(wg(s),(i=gt)?(i=W5(i,lr),i=i!==null&&i.data==="&"?i:null,i!==null&&(s.memoizedState={dehydrated:i,treeContext:oi!==null?{id:Wr,overflow:Gr}:null,retryLane:536870912,hydrationErrors:null},u=yM(i),u.return=s,s.child=u,en=s,gt=null)):i=null,i===null)throw li(s);return s.lanes=536870912,null}return $f(s,h)}var S=i.memoizedState;if(S!==null){var _=S.dehydrated;if(wg(s),v)if(s.flags&256)s.flags&=-257,s=DO(i,s,u);else if(s.memoizedState!==null)s.child=i.child,s.flags|=128,s=null;else throw Error(r(558));else if(It||Ns(i,s,u,!1),v=(u&i.childLanes)!==0,It||v){if(h=ft,h!==null&&(_=On(h,u),_!==0&&_!==S.retryLane))throw S.retryLane=_,po(i,_),_n(h,i,_),Fg;Xf(),s=DO(i,s,u)}else i=S.treeContext,gt=ur(_.nextSibling),en=s,Ge=!0,si=null,lr=!1,i!==null&&xM(s,i),s=$f(s,h),s.flags|=4096;return s}return i=va(i.child,{mode:h.mode,children:h.children}),i.ref=s.ref,s.child=i,i.return=s,i}function Ff(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(r(284));(i===null||i.ref!==u)&&(s.flags|=4194816)}}function Hg(i,s,u,h,v){return go(s),u=Cg(i,s,u,h,void 0,v),h=Mg(),i!==null&&!It?(Og(i,s,v),Ma(i,s,v)):(Ge&&h&&ag(s),s.flags|=1,nn(i,s,u,v),s.child)}function NO(i,s,u,h,v,S){return go(s),s.updateQueue=null,u=LM(s,h,u,v),IM(i),h=Mg(),i!==null&&!It?(Og(i,s,S),Ma(i,s,S)):(Ge&&h&&ag(s),s.flags|=1,nn(i,s,u,S),s.child)}function RO(i,s,u,h,v){if(go(s),s.stateNode===null){var S=Es,_=u.contextType;typeof _=="object"&&_!==null&&(S=tn(_)),S=new u(h,S),s.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=qg,s.stateNode=S,S._reactInternals=s,S=s.stateNode,S.props=h,S.state=s.memoizedState,S.refs={},hg(s),_=u.contextType,S.context=typeof _=="object"&&_!==null?tn(_):Es,S.state=s.memoizedState,_=u.getDerivedStateFromProps,typeof _=="function"&&(Bg(s,u,_,h),S.state=s.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(_=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),_!==S.state&&qg.enqueueReplaceState(S,S.state,null),Wc(s,h,S,v),Uc(),S.state=s.memoizedState),typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!0}else if(i===null){S=s.stateNode;var R=s.memoizedProps,W=Co(u,R);S.props=W;var te=S.context,se=u.contextType;_=Es,typeof se=="object"&&se!==null&&(_=tn(se));var fe=u.getDerivedStateFromProps;se=typeof fe=="function"||typeof S.getSnapshotBeforeUpdate=="function",R=s.pendingProps!==R,se||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(R||te!==_)&&wO(s,S,h,_),ui=!1;var ne=s.memoizedState;S.state=ne,Wc(s,h,S,v),Uc(),te=s.memoizedState,R||ne!==te||ui?(typeof fe=="function"&&(Bg(s,u,fe,h),te=s.memoizedState),(W=ui||bO(s,u,W,h,ne,te,_))?(se||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=_,h=W):(typeof S.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{S=s.stateNode,yg(i,s),_=s.memoizedProps,se=Co(u,_),S.props=se,fe=s.pendingProps,ne=S.context,te=u.contextType,W=Es,typeof te=="object"&&te!==null&&(W=tn(te)),R=u.getDerivedStateFromProps,(te=typeof R=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(_!==fe||ne!==W)&&wO(s,S,h,W),ui=!1,ne=s.memoizedState,S.state=ne,Wc(s,h,S,v),Uc();var re=s.memoizedState;_!==fe||ne!==re||ui||i!==null&&i.dependencies!==null&&Cf(i.dependencies)?(typeof R=="function"&&(Bg(s,u,R,h),re=s.memoizedState),(se=ui||bO(s,u,se,h,ne,re,W)||i!==null&&i.dependencies!==null&&Cf(i.dependencies))?(te||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(h,re,W),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(h,re,W)),typeof S.componentDidUpdate=="function"&&(s.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=re),S.props=h,S.state=re,S.context=W,h=se):(typeof S.componentDidUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(s.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ne===i.memoizedState||(s.flags|=1024),h=!1)}return S=h,Ff(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=wo(s,i.child,null,v),s.child=wo(s,null,u,v)):nn(i,s,u,v),s.memoizedState=S.state,i=s.child):i=Ma(i,s,v),i}function IO(i,s,u,h){return ho(),s.flags|=256,nn(i,s,u,h),s.child}var Ug={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wg(i){return{baseLanes:i,cachePool:OM()}}function Gg(i,s,u){return i=i!==null?i.childLanes&~u:0,s&&(i|=Un),i}function LO(i,s,u){var h=s.pendingProps,v=!1,S=(s.flags&128)!==0,_;if((_=S)||(_=i!==null&&i.memoizedState===null?!1:(Et.current&2)!==0),_&&(v=!0,s.flags&=-129),_=(s.flags&32)!==0,s.flags&=-33,i===null){if(Ge){if(v?pi(s):mi(),(i=gt)?(i=W5(i,lr),i=i!==null&&i.data!=="&"?i:null,i!==null&&(s.memoizedState={dehydrated:i,treeContext:oi!==null?{id:Wr,overflow:Gr}:null,retryLane:536870912,hydrationErrors:null},u=yM(i),u.return=s,s.child=u,en=s,gt=null)):i=null,i===null)throw li(s);return Av(i)?s.lanes=32:s.lanes=536870912,null}var R=h.children;return h=h.fallback,v?(mi(),v=s.mode,R=Hf({mode:"hidden",children:R},v),h=mo(h,v,u,null),R.return=s,h.return=s,R.sibling=h,s.child=R,h=s.child,h.memoizedState=Wg(u),h.childLanes=Gg(i,_,u),s.memoizedState=Ug,Zc(null,h)):(pi(s),Kg(s,R))}var W=i.memoizedState;if(W!==null&&(R=W.dehydrated,R!==null)){if(S)s.flags&256?(pi(s),s.flags&=-257,s=Yg(i,s,u)):s.memoizedState!==null?(mi(),s.child=i.child,s.flags|=128,s=null):(mi(),R=h.fallback,v=s.mode,h=Hf({mode:"visible",children:h.children},v),R=mo(R,v,u,null),R.flags|=2,h.return=s,R.return=s,h.sibling=R,s.child=h,wo(s,i.child,null,u),h=s.child,h.memoizedState=Wg(u),h.childLanes=Gg(i,_,u),s.memoizedState=Ug,s=Zc(null,h));else if(pi(s),Av(R)){if(_=R.nextSibling&&R.nextSibling.dataset,_)var te=_.dgst;_=te,h=Error(r(419)),h.stack="",h.digest=_,zc({value:h,source:null,stack:null}),s=Yg(i,s,u)}else if(It||Ns(i,s,u,!1),_=(u&i.childLanes)!==0,It||_){if(_=ft,_!==null&&(h=On(_,u),h!==0&&h!==W.retryLane))throw W.retryLane=h,po(i,h),_n(_,i,h),Fg;Pv(R)||Xf(),s=Yg(i,s,u)}else Pv(R)?(s.flags|=192,s.child=i.child,s=null):(i=W.treeContext,gt=ur(R.nextSibling),en=s,Ge=!0,si=null,lr=!1,i!==null&&xM(s,i),s=Kg(s,h.children),s.flags|=4096);return s}return v?(mi(),R=h.fallback,v=s.mode,W=i.child,te=W.sibling,h=va(W,{mode:"hidden",children:h.children}),h.subtreeFlags=W.subtreeFlags&65011712,te!==null?R=va(te,R):(R=mo(R,v,u,null),R.flags|=2),R.return=s,h.return=s,h.sibling=R,s.child=h,Zc(null,h),h=s.child,R=i.child.memoizedState,R===null?R=Wg(u):(v=R.cachePool,v!==null?(W=Nt._currentValue,v=v.parent!==W?{parent:W,pool:W}:v):v=OM(),R={baseLanes:R.baseLanes|u,cachePool:v}),h.memoizedState=R,h.childLanes=Gg(i,_,u),s.memoizedState=Ug,Zc(i.child,h)):(pi(s),u=i.child,i=u.sibling,u=va(u,{mode:"visible",children:h.children}),u.return=s,u.sibling=null,i!==null&&(_=s.deletions,_===null?(s.deletions=[i],s.flags|=16):_.push(i)),s.child=u,s.memoizedState=null,u)}function Kg(i,s){return s=Hf({mode:"visible",children:s},i.mode),s.return=i,i.child=s}function Hf(i,s){return i=qn(22,i,null,s),i.lanes=0,i}function Yg(i,s,u){return wo(s,i.child,null,u),i=Kg(s,s.pendingProps.children),i.flags|=2,s.memoizedState=null,i}function zO(i,s,u){i.lanes|=s;var h=i.alternate;h!==null&&(h.lanes|=s),cg(i.return,s,u)}function Vg(i,s,u,h,v,S){var _=i.memoizedState;_===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:v,treeForkCount:S}:(_.isBackwards=s,_.rendering=null,_.renderingStartTime=0,_.last=h,_.tail=u,_.tailMode=v,_.treeForkCount=S)}function BO(i,s,u){var h=s.pendingProps,v=h.revealOrder,S=h.tail;h=h.children;var _=Et.current,R=(_&2)!==0;if(R?(_=_&1|2,s.flags|=128):_&=1,Z(Et,_),nn(i,s,h,u),h=Ge?Lc:0,!R&&i!==null&&(i.flags&128)!==0)e:for(i=s.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&zO(i,u,s);else if(i.tag===19)zO(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&&kf(i)===null&&(v=u),u=u.sibling;u=v,u===null?(v=s.child,s.child=null):(v=u.sibling,u.sibling=null),Vg(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&&kf(i)===null){s.child=v;break}i=v.sibling,v.sibling=u,u=v,v=i}Vg(s,!0,u,null,S,h);break;case"together":Vg(s,!1,null,null,void 0,h);break;default:s.memoizedState=null}return s.child}function Ma(i,s,u){if(i!==null&&(s.dependencies=i.dependencies),gi|=s.lanes,(u&s.childLanes)===0)if(i!==null){if(Ns(i,s,u,!1),(u&s.childLanes)===0)return null}else return null;if(i!==null&&s.child!==i.child)throw Error(r(153));if(s.child!==null){for(i=s.child,u=va(i,i.pendingProps),s.child=u,u.return=s;i.sibling!==null;)i=i.sibling,u=u.sibling=va(i,i.pendingProps),u.return=s;u.sibling=null}return s.child}function Zg(i,s){return(i.lanes&s)!==0?!0:(i=i.dependencies,!!(i!==null&&Cf(i)))}function jz(i,s,u){switch(s.tag){case 3:he(s,s.stateNode.containerInfo),ci(s,Nt,i.memoizedState.cache),ho();break;case 27:case 5:ye(s);break;case 4:he(s,s.stateNode.containerInfo);break;case 10:ci(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,wg(s),null;break;case 13:var h=s.memoizedState;if(h!==null)return h.dehydrated!==null?(pi(s),s.flags|=128,null):(u&s.child.childLanes)!==0?LO(i,s,u):(pi(s),i=Ma(i,s,u),i!==null?i.sibling:null);pi(s);break;case 19:var v=(i.flags&128)!==0;if(h=(u&s.childLanes)!==0,h||(Ns(i,s,u,!1),h=(u&s.childLanes)!==0),v){if(h)return BO(i,s,u);s.flags|=128}if(v=s.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Z(Et,Et.current),h)break;return null;case 22:return s.lanes=0,kO(i,s,u,s.pendingProps);case 24:ci(s,Nt,i.memoizedState.cache)}return Ma(i,s,u)}function qO(i,s,u){if(i!==null)if(i.memoizedProps!==s.pendingProps)It=!0;else{if(!Zg(i,u)&&(s.flags&128)===0)return It=!1,jz(i,s,u);It=(i.flags&131072)!==0}else It=!1,Ge&&(s.flags&1048576)!==0&&vM(s,Lc,s.index);switch(s.lanes=0,s.tag){case 16:e:{var h=s.pendingProps;if(i=xo(s.elementType),s.type=i,typeof i=="function")tg(i)?(h=Co(i,h),s.tag=1,s=RO(null,s,i,h,u)):(s.tag=0,s=Hg(null,s,i,h,u));else{if(i!=null){var v=i.$$typeof;if(v===E){s.tag=11,s=AO(null,s,i,h,u);break e}else if(v===A){s.tag=14,s=jO(null,s,i,h,u);break e}}throw s=G(i)||i,Error(r(306,s,""))}}return s;case 0:return Hg(i,s,s.type,s.pendingProps,u);
vendor: 4,817 bytes, line 48
48case 1:return h=s.type,v=Co(h,s.pendingProps),RO(i,s,h,v,u);case 3:e:{if(he(s,s.stateNode.containerInfo),i===null)throw Error(r(387));h=s.pendingProps;var S=s.memoizedState;v=S.element,yg(i,s),Wc(s,h,null,u);var _=s.memoizedState;if(h=_.cache,ci(s,Nt,h),h!==S.cache&&ug(s,[Nt],u,!0),Uc(),h=_.element,S.isDehydrated)if(S={element:h,isDehydrated:!1,cache:_.cache},s.updateQueue.baseState=S,s.memoizedState=S,s.flags&256){s=IO(i,s,h,u);break e}else if(h!==v){v=ir(Error(r(424)),s),zc(v),s=IO(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(gt=ur(i.firstChild),en=s,Ge=!0,si=null,lr=!0,u=kM(s,null,h,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(ho(),h===v){s=Ma(i,s,u);break e}nn(i,s,h,u)}s=s.child}return s;case 26:return Ff(i,s),i===null?(u=Q5(s.type,null,s.pendingProps,null))?s.memoizedState=u:Ge||(u=s.type,i=s.pendingProps,h=ip(pe.current).createElement(u),h[Jt]=s,h[Tn]=i,rn(h,u,i),Vt(h),s.stateNode=h):s.memoizedState=Q5(s.type,i.memoizedProps,s.pendingProps,i.memoizedState),null;case 27:return ye(s),i===null&&Ge&&(h=s.stateNode=Y5(s.type,s.pendingProps,pe.current),en=s,lr=!0,v=gt,Si(s.type)?(jv=v,gt=ur(h.firstChild)):gt=v),nn(i,s,s.pendingProps.children,u),Ff(i,s),i===null&&(s.flags|=4194304),s.child;case 5:return i===null&&Ge&&((v=h=gt)&&(h=iB(h,s.type,s.pendingProps,lr),h!==null?(s.stateNode=h,en=s,gt=ur(h.firstChild),lr=!1,v=!0):v=!1),v||li(s)),ye(s),v=s.type,S=s.pendingProps,_=i!==null?i.memoizedProps:null,h=S.children,Mv(v,S)?h=null:_!==null&&Mv(v,_)&&(s.flags|=32),s.memoizedState!==null&&(v=Cg(i,s,bz,null,null,u),du._currentValue=v),Ff(i,s),nn(i,s,h,u),s.child;case 6:return i===null&&Ge&&((i=u=gt)&&(u=oB(u,s.pendingProps,lr),u!==null?(s.stateNode=u,en=s,gt=null,i=!0):i=!1),i||li(s)),null;case 13:return LO(i,s,u);case 4:return he(s,s.stateNode.containerInfo),h=s.pendingProps,i===null?s.child=wo(s,null,h,u):nn(i,s,h,u),s.child;case 11:return AO(i,s,s.type,s.pendingProps,u);case 7:return nn(i,s,s.pendingProps,u),s.child;case 8:return nn(i,s,s.pendingProps.children,u),s.child;case 12:return nn(i,s,s.pendingProps.children,u),s.child;case 10:return h=s.pendingProps,ci(s,s.type,h.value),nn(i,s,h.children,u),s.child;case 9:return v=s.type._context,h=s.pendingProps.children,go(s),v=tn(v),h=h(v),s.flags|=1,nn(i,s,h,u),s.child;case 14:return jO(i,s,s.type,s.pendingProps,u);case 15:return EO(i,s,s.type,s.pendingProps,u);case 19:return BO(i,s,u);case 31:return Az(i,s,u);case 22:return kO(i,s,u,s.pendingProps);case 24:return go(s),h=tn(Nt),i===null?(v=pg(),v===null&&(v=ft,S=dg(),v.pooledCache=S,S.refCount++,S!==null&&(v.pooledCacheLanes|=u),v=S),s.memoizedState={parent:h,cache:v},hg(s),ci(s,Nt,v)):((i.lanes&u)!==0&&(yg(i,s),Wc(s,null,null,u),Uc()),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),ci(s,Nt,h)):(h=S.cache,ci(s,Nt,h),h!==v.cache&&ug(s,[Nt],u,!0))),nn(i,s,s.pendingProps.children,u),s.child;case 29:throw s.pendingProps}throw Error(r(156,s.tag))}function Oa(i){i.flags|=4}function Qg(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(p5())i.flags|=8192;else throw bo=Pf,mg}else i.flags&=-16777217}function $O(i,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!nT(s))if(p5())i.flags|=8192;else throw bo=Pf,mg}function Uf(i,s){s!==null&&(i.flags|=4),i.flags&16384&&(s=i.tag!==22?cn():536870912,i.lanes|=s,Gs|=s)}function Qc(i,s){if(!Ge)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 vt(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 Ez(i,s,u){var h=s.pendingProps;switch(ig(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(s),null;case 1:return vt(s),null;case 3:return u=s.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),wa(Nt),ue(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(i===null||i.child===null)&&(Ds(s)?Oa(s):i===null||i.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,sg())),vt(s),null;case 26:var v=s.type,S=s.memoizedState;
vendor: 6,089 bytes, line 48
48return i===null?(Oa(s),S!==null?(vt(s),$O(s,S)):(vt(s),Qg(s,v,null,h,u))):S?S!==i.memoizedState?(Oa(s),vt(s),$O(s,S)):(vt(s),s.flags&=-16777217):(i=i.memoizedProps,i!==h&&Oa(s),vt(s),Qg(s,v,i,h,u)),null;case 27:if(ge(s),u=pe.current,v=s.type,i!==null&&s.stateNode!=null)i.memoizedProps!==h&&Oa(s);else{if(!h){if(s.stateNode===null)throw Error(r(166));return vt(s),null}i=J.current,Ds(s)?bM(s):(i=Y5(v,h,u),s.stateNode=i,Oa(s))}return vt(s),null;case 5:if(ge(s),v=s.type,i!==null&&s.stateNode!=null)i.memoizedProps!==h&&Oa(s);else{if(!h){if(s.stateNode===null)throw Error(r(166));return vt(s),null}if(S=J.current,Ds(s))bM(s);else{var _=ip(pe.current);switch(S){case 1:S=_.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:S=_.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":S=_.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":S=_.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":S=_.createElement("div"),S.innerHTML="<script><\/script>",S=S.removeChild(S.firstChild);break;case"select":S=typeof h.is=="string"?_.createElement("select",{is:h.is}):_.createElement("select"),h.multiple?S.multiple=!0:h.size&&(S.size=h.size);break;default:S=typeof h.is=="string"?_.createElement(v,{is:h.is}):_.createElement(v)}}S[Jt]=s,S[Tn]=h;e:for(_=s.child;_!==null;){if(_.tag===5||_.tag===6)S.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===s)break e;for(;_.sibling===null;){if(_.return===null||_.return===s)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}s.stateNode=S;e:switch(rn(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&&Oa(s)}}return vt(s),Qg(s,s.type,i===null?null:i.memoizedProps,s.pendingProps,u),null;case 6:if(i&&s.stateNode!=null)i.memoizedProps!==h&&Oa(s);else{if(typeof h!="string"&&s.stateNode===null)throw Error(r(166));if(i=pe.current,Ds(s)){if(i=s.stateNode,u=s.memoizedProps,h=null,v=en,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[Jt]=s,i=!!(i.nodeValue===u||h!==null&&h.suppressHydrationWarning===!0||L5(i.nodeValue,u)),i||li(s,!0)}else i=ip(i).createTextNode(h),i[Jt]=s,s.stateNode=i}return vt(s),null;case 31:if(u=s.memoizedState,i===null||i.memoizedState!==null){if(h=Ds(s),u!==null){if(i===null){if(!h)throw Error(r(318));if(i=s.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[Jt]=s}else ho(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;vt(s),i=!1}else u=sg(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),i=!0;if(!i)return s.flags&256?(Fn(s),s):(Fn(s),null);if((s.flags&128)!==0)throw Error(r(558))}return vt(s),null;case 13:if(h=s.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=Ds(s),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=s.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Jt]=s}else ho(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;vt(s),v=!1}else v=sg(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=v),v=!0;if(!v)return s.flags&256?(Fn(s),s):(Fn(s),null)}return Fn(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),Uf(s,s.updateQueue),vt(s),null);case 4:return ue(),i===null&&xv(s.stateNode.containerInfo),vt(s),null;case 10:return wa(s.type),vt(s),null;case 19:if(Y(Et),h=s.memoizedState,h===null)return vt(s),null;if(v=(s.flags&128)!==0,S=h.rendering,S===null)if(v)Qc(h,!1);else{if(Pt!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(S=kf(i),S!==null){for(s.flags|=128,Qc(h,!1),i=S.updateQueue,s.updateQueue=i,Uf(s,i),s.subtreeFlags=0,i=u,u=s.child;u!==null;)hM(u,i),u=u.sibling;return Z(Et,Et.current&1|2),Ge&&xa(s,h.treeForkCount),s.child}i=i.sibling}h.tail!==null&&Kt()>Vf&&(s.flags|=128,v=!0,Qc(h,!1),s.lanes=4194304)}else{if(!v)if(i=kf(S),i!==null){if(s.flags|=128,v=!0,i=i.updateQueue,s.updateQueue=i,Uf(s,i),Qc(h,!0),h.tail===null&&h.tailMode==="hidden"&&!S.alternate&&!Ge)return vt(s),null}else 2*Kt()-h.renderingStartTime>Vf&&u!==536870912&&(s.flags|=128,v=!0,Qc(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=Kt(),i.sibling=null,u=Et.current,Z(Et,v?u&1|2:u&1),Ge&&xa(s,h.treeForkCount),i):(vt(s),null);case 22:case 23:return Fn(s),bg(),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&&(vt(s),s.subtreeFlags&6&&(s.flags|=8192)):vt(s),u=s.updateQueue,u!==null&&Uf(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&&Y(vo),null;case 24:return u=null,i!==null&&(u=i.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),wa(Nt),vt(s),null;case 25:return null;case 30:return null}throw Error(r(156,s.tag))}function kz(i,s){switch(ig(s),s.tag){case 1:return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return wa(Nt),ue(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 26:case 27:case 5:return ge(s),null;case 31:if(s.memoizedState!==null){if(Fn(s),s.alternate===null)throw Error(r(340));ho()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 13:if(Fn(s),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(r(340));ho()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return Y(Et),null;case 4:return ue(),null;
vendor: 16,136 bytes, line 48
48case 10:return wa(s.type),null;case 22:case 23:return Fn(s),bg(),i!==null&&Y(vo),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 24:return wa(Nt),null;case 25:return null;default:return null}}function FO(i,s){switch(ig(s),s.tag){case 3:wa(Nt),ue();break;case 26:case 27:case 5:ge(s);break;case 4:ue();break;case 31:s.memoizedState!==null&&Fn(s);break;case 13:Fn(s);break;case 19:Y(Et);break;case 10:wa(s.type);break;case 22:case 23:Fn(s),bg(),i!==null&&Y(vo);break;case 24:wa(Nt)}}function Xc(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,_=u.inst;h=S(),_.destroy=h}u=u.next}while(u!==v)}}catch(R){at(s,s.return,R)}}function hi(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 _=h.inst,R=_.destroy;if(R!==void 0){_.destroy=void 0,v=s;var W=u,te=R;try{te()}catch(se){at(v,W,se)}}}h=h.next}while(h!==S)}}catch(se){at(s,s.return,se)}}function HO(i){var s=i.updateQueue;if(s!==null){var u=i.stateNode;try{DM(s,u)}catch(h){at(i,i.return,h)}}}function UO(i,s,u){u.props=Co(i.type,i.memoizedProps),u.state=i.memoizedState;try{u.componentWillUnmount()}catch(h){at(i,s,h)}}function Jc(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){at(i,s,v)}}function Kr(i,s){var u=i.ref,h=i.refCleanup;if(u!==null)if(typeof h=="function")try{h()}catch(v){at(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){at(i,s,v)}else u.current=null}function WO(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){at(i,i.return,v)}}function Xg(i,s,u){try{var h=i.stateNode;Jz(h,i.type,u,s),h[Tn]=s}catch(v){at(i,i.return,v)}}function GO(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Si(i.type)||i.tag===4}function Jg(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||GO(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&&Si(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=ya));else if(h!==4&&(h===27&&Si(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 Wf(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&&Si(i.type)&&(u=i.stateNode),i=i.child,i!==null))for(Wf(i,s,u),i=i.sibling;i!==null;)Wf(i,s,u),i=i.sibling}function KO(i){var s=i.stateNode,u=i.memoizedProps;try{for(var h=i.type,v=s.attributes;v.length;)s.removeAttributeNode(v[0]);rn(s,h,u),s[Jt]=i,s[Tn]=u}catch(S){at(i,i.return,S)}}var Ta=!1,Lt=!1,tv=!1,YO=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function _z(i,s){if(i=i.containerInfo,Sv=fp,i=oM(i),Yy(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 _=0,R=-1,W=-1,te=0,se=0,fe=i,ne=null;t:for(;;){for(var re;fe!==u||v!==0&&fe.nodeType!==3||(R=_+v),fe!==S||h!==0&&fe.nodeType!==3||(W=_+h),fe.nodeType===3&&(_+=fe.nodeValue.length),(re=fe.firstChild)!==null;)ne=fe,fe=re;for(;;){if(fe===i)break t;if(ne===u&&++te===v&&(R=_),ne===S&&++se===h&&(W=_),(re=fe.nextSibling)!==null)break;fe=ne,ne=fe.parentNode}fe=re}u=R===-1||W===-1?null:{start:R,end:W}}else u=null}u=u||{start:0,end:0}}else u=null;for(Cv={focusedElem:i,selectionRange:u},fp=!1,Zt=s;Zt!==null;)if(s=Zt,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,Zt=i;else for(;Zt!==null;){switch(s=Zt,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 we=Co(u.type,v);i=h.getSnapshotBeforeUpdate(we,S),h.__reactInternalSnapshotBeforeUpdate=i}catch(Ae){at(u,u.return,Ae)}}break;case 3:if((i&1024)!==0){if(i=s.stateNode.containerInfo,u=i.nodeType,u===9)Tv(i);else if(u===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Tv(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(r(163))}if(i=s.sibling,i!==null){i.return=s.return,Zt=i;break}Zt=s.return}}function VO(i,s,u){var h=u.flags;switch(u.tag){case 0:case 11:case 15:Aa(i,u),h&4&&Xc(5,u);break;case 1:if(Aa(i,u),h&4)if(i=u.stateNode,s===null)try{i.componentDidMount()}catch(_){at(u,u.return,_)}else{var v=Co(u.type,s.memoizedProps);s=s.memoizedState;try{i.componentDidUpdate(v,s,i.__reactInternalSnapshotBeforeUpdate)}catch(_){at(u,u.return,_)}}h&64&&HO(u),h&512&&Jc(u,u.return);break;case 3:if(Aa(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{DM(i,s)}catch(_){at(u,u.return,_)}}break;case 27:s===null&&h&4&&KO(u);case 26:case 5:Aa(i,u),s===null&&h&4&&WO(u),h&512&&Jc(u,u.return);break;case 12:Aa(i,u);break;case 31:Aa(i,u),h&4&&XO(i,u);break;case 13:Aa(i,u),h&4&&JO(i,u),h&64&&(i=u.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(u=$z.bind(null,u),sB(i,u))));break;case 22:if(h=u.memoizedState!==null||Ta,!h){s=s!==null&&s.memoizedState!==null||Lt,v=Ta;var S=Lt;Ta=h,(Lt=s)&&!S?ja(i,u,(u.subtreeFlags&8772)!==0):Aa(i,u),Ta=v,Lt=S}break;case 30:break;default:Aa(i,u)}}function ZO(i){var s=i.alternate;s!==null&&(i.alternate=null,ZO(s)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(s=i.stateNode,s!==null&&ky(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 St=null,An=!1;function Pa(i,s,u){for(u=u.child;u!==null;)QO(i,s,u),u=u.sibling}function QO(i,s,u){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(io,u)}catch{}switch(u.tag){case 26:Lt||Kr(u,s),Pa(i,s,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Lt||Kr(u,s);var h=St,v=An;Si(u.type)&&(St=u.stateNode,An=!1),Pa(i,s,u),lu(u.stateNode),St=h,An=v;break;case 5:Lt||Kr(u,s);case 6:if(h=St,v=An,St=null,Pa(i,s,u),St=h,An=v,St!==null)if(An)try{(St.nodeType===9?St.body:St.nodeName==="HTML"?St.ownerDocument.body:St).removeChild(u.stateNode)}catch(S){at(u,s,S)}else try{St.removeChild(u.stateNode)}catch(S){at(u,s,S)}break;case 18:St!==null&&(An?(i=St,H5(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,u.stateNode),el(i)):H5(St,u.stateNode));break;case 4:h=St,v=An,St=u.stateNode.containerInfo,An=!0,Pa(i,s,u),St=h,An=v;break;case 0:case 11:case 14:case 15:hi(2,u,s),Lt||hi(4,u,s),Pa(i,s,u);break;case 1:Lt||(Kr(u,s),h=u.stateNode,typeof h.componentWillUnmount=="function"&&UO(u,s,h)),Pa(i,s,u);break;case 21:Pa(i,s,u);break;case 22:Lt=(h=Lt)||u.memoizedState!==null,Pa(i,s,u),Lt=h;break;default:Pa(i,s,u)}}function XO(i,s){if(s.memoizedState===null&&(i=s.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{el(i)}catch(u){at(s,s.return,u)}}}function JO(i,s){if(s.memoizedState===null&&(i=s.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{el(i)}catch(u){at(s,s.return,u)}}function Dz(i){switch(i.tag){case 31:case 13:case 19:var s=i.stateNode;return s===null&&(s=i.stateNode=new YO),s;case 22:return i=i.stateNode,s=i._retryCache,s===null&&(s=i._retryCache=new YO),s;default:throw Error(r(435,i.tag))}}function Gf(i,s){var u=Dz(i);s.forEach(function(h){if(!u.has(h)){u.add(h);var v=Fz.bind(null,i,h);h.then(v,v)}})}function jn(i,s){var u=s.deletions;if(u!==null)for(var h=0;h<u.length;h++){var v=u[h],S=i,_=s,R=_;e:for(;R!==null;){switch(R.tag){case 27:if(Si(R.type)){St=R.stateNode,An=!1;break e}break;case 5:St=R.stateNode,An=!1;break e;case 3:case 4:St=R.stateNode.containerInfo,An=!0;break e}R=R.return}if(St===null)throw Error(r(160));QO(S,_,v),St=null,An=!1,S=v.alternate,S!==null&&(S.return=null),v.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)e5(s,i),s=s.sibling}var Tr=null;function e5(i,s){var u=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:jn(s,i),En(i),h&4&&(hi(3,i,i.return),Xc(3,i),hi(5,i,i.return));break;case 1:jn(s,i),En(i),h&512&&(Lt||u===null||Kr(u,u.return)),h&64&&Ta&&(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=Tr;if(jn(s,i),En(i),h&512&&(Lt||u===null||Kr(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[Tc]||S[Jt]||S.namespaceURI==="http://www.w3.org/2000/svg"||S.hasAttribute("itemprop"))&&(S=v.createElement(h),v.head.insertBefore(S,v.querySelector("head > title"))),rn(S,h,u),S[Jt]=i,Vt(S),h=S;break e;case"link":var _=eT("link","href",v).get(h+(u.href||""));if(_){for(var R=0;R<_.length;R++)if(S=_[R],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)){_.splice(R,1);break t}}S=v.createElement(h),rn(S,h,u),v.head.appendChild(S);break;case"meta":if(_=eT("meta","content",v).get(h+(u.content||""))){for(R=0;R<_.length;R++)if(S=_[R],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)){_.splice(R,1);break t}}S=v.createElement(h),rn(S,h,u),v.head.appendChild(S);break;default:throw Error(r(468,h))}S[Jt]=i,Vt(S),h=S}i.stateNode=h}else tT(v,i.type,i.stateNode);else i.stateNode=J5(v,h,i.memoizedProps);else S!==h?(S===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):S.count--,h===null?tT(v,i.type,i.stateNode):J5(v,h,i.memoizedProps)):h===null&&i.stateNode!==null&&Xg(i,i.memoizedProps,u.memoizedProps)}break;case 27:jn(s,i),En(i),h&512&&(Lt||u===null||Kr(u,u.return)),u!==null&&h&4&&Xg(i,i.memoizedProps,u.memoizedProps);break;case 5:if(jn(s,i),En(i),h&512&&(Lt||u===null||Kr(u,u.return)),i.flags&32){v=i.stateNode;try{Cs(v,"")}catch(we){at(i,i.return,we)}}h&4&&i.stateNode!=null&&(v=i.memoizedProps,Xg(i,v,u!==null?u.memoizedProps:v)),h&1024&&(tv=!0);break;case 6:if(jn(s,i),En(i),h&4){if(i.stateNode===null)throw Error(r(162));h=i.memoizedProps,u=i.stateNode;try{u.nodeValue=h}catch(we){at(i,i.return,we)}}break;case 3:if(lp=null,v=Tr,Tr=op(s.containerInfo),jn(s,i),Tr=v,En(i),h&4&&u!==null&&u.memoizedState.isDehydrated)try{el(s.containerInfo)}catch(we){at(i,i.return,we)}tv&&(tv=!1,t5(i));break;case 4:h=Tr,Tr=op(i.stateNode.containerInfo),jn(s,i),En(i),Tr=h;break;case 12:jn(s,i),En(i);break;case 31:jn(s,i),En(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Gf(i,h)));break;case 13:jn(s,i),En(i),i.child.flags&8192&&i.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Yf=Kt()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Gf(i,h)));break;case 22:v=i.memoizedState!==null;var W=u!==null&&u.memoizedState!==null,te=Ta,se=Lt;if(Ta=te||v,Lt=se||W,jn(s,i),Lt=se,Ta=te,En(i),h&8192)e:for(s=i.stateNode,s._visibility=v?s._visibility&-2:s._visibility|1,v&&(u===null||W||Ta||Lt||Mo(i)),u=null,s=i;;){if(s.tag===5||s.tag===26){if(u===null){W=u=s;try{if(S=W.stateNode,v)_=S.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{R=W.stateNode;var fe=W.memoizedProps.style,ne=fe!=null&&fe.hasOwnProperty("display")?fe.display:null;R.style.display=ne==null||typeof ne=="boolean"?"":(""+ne).trim()}}catch(we){at(W,W.return,we)}}}else if(s.tag===6){if(u===null){W=s;try{W.stateNode.nodeValue=v?"":W.memoizedProps}catch(we){at(W,W.return,we)}}}else if(s.tag===18){if(u===null){W=s;try{var re=W.stateNode;v?U5(re,!0):U5(W.stateNode,!1)}catch(we){at(W,W.return,we)}}}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,Gf(i,u))));break;case 19:jn(s,i),En(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Gf(i,h)));break;case 30:break;case 21:break;default:jn(s,i),En(i)}}function En(i){var s=i.flags;if(s&2){try{for(var u,h=i.return;h!==null;){if(GO(h)){u=h;break}h=h.return}if(u==null)throw Error(r(160));switch(u.tag){case 27:var v=u.stateNode,S=Jg(i);Wf(i,S,v);break;case 5:var _=u.stateNode;u.flags&32&&(Cs(_,""),u.flags&=-33);var R=Jg(i);Wf(i,R,_);break;case 3:case 4:var W=u.stateNode.containerInfo,te=Jg(i);ev(i,te,W);break;default:throw Error(r(161))}}catch(se){at(i,i.return,se)}i.flags&=-3}s&4096&&(i.flags&=-4097)}function t5(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var s=i;t5(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),i=i.sibling}}function Aa(i,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)VO(i,s.alternate,s),s=s.sibling}function Mo(i){for(i=i.child;i!==null;){var s=i;switch(s.tag){case 0:case 11:case 14:case 15:hi(4,s,s.return),Mo(s);break;case 1:Kr(s,s.return);var u=s.stateNode;typeof u.componentWillUnmount=="function"&&UO(s,s.return,u),Mo(s);break;case 27:lu(s.stateNode);case 26:case 5:Kr(s,s.return),Mo(s);break;case 22:s.memoizedState===null&&Mo(s);break;case 30:Mo(s);break;default:Mo(s)}i=i.sibling}}function ja(i,s,u){for(u=u&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var h=s.alternate,v=i,S=s,_=S.flags;switch(S.tag){case 0:case 11:case 15:ja(v,S,u),Xc(4,S);break;case 1:if(ja(v,S,u),h=S,v=h.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(te){at(h,h.return,te)}if(h=S,v=h.updateQueue,v!==null){var R=h.stateNode;try{var W=v.shared.hiddenCallbacks;if(W!==null)for(v.shared.hiddenCallbacks=null,v=0;v<W.length;v++)_M(W[v],R)}catch(te){at(h,h.return,te)}}u&&_&64&&HO(S),Jc(S,S.return);break;case 27:KO(S);case 26:case 5:ja(v,S,u),u&&h===null&&_&4&&WO(S),Jc(S,S.return);break;case 12:ja(v,S,u);break;case 31:ja(v,S,u),u&&_&4&&XO(v,S);break;case 13:ja(v,S,u),u&&_&4&&JO(v,S);break;case 22:S.memoizedState===null&&ja(v,S,u),Jc(S,S.return);break;case 30:break;default:ja(v,S,u)}s=s.sibling}}function nv(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 rv(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 Pr(i,s,u,h){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)n5(i,s,u,h),s=s.sibling}function n5(i,s,u,h){var v=s.flags;switch(s.tag){case 0:case 11:case 15:Pr(i,s,u,h),v&2048&&Xc(9,s);break;case 1:Pr(i,s,u,h);break;case 3:Pr(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))
vendor: 18,199 bytes, line 48
48);break;case 12:if(v&2048){Pr(i,s,u,h),i=s.stateNode;try{var S=s.memoizedProps,_=S.id,R=S.onPostCommit;typeof R=="function"&&R(_,s.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(W){at(s,s.return,W)}}else Pr(i,s,u,h);break;case 31:Pr(i,s,u,h);break;case 13:Pr(i,s,u,h);break;case 23:break;case 22:S=s.stateNode,_=s.alternate,s.memoizedState!==null?S._visibility&2?Pr(i,s,u,h):eu(i,s):S._visibility&2?Pr(i,s,u,h):(S._visibility|=2,Hs(i,s,u,h,(s.subtreeFlags&10256)!==0||!1)),v&2048&&nv(_,s);break;case 24:Pr(i,s,u,h),v&2048&&rv(s.alternate,s);break;default:Pr(i,s,u,h)}}function Hs(i,s,u,h,v){for(v=v&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var S=i,_=s,R=u,W=h,te=_.flags;switch(_.tag){case 0:case 11:case 15:Hs(S,_,R,W,v),Xc(8,_);break;case 23:break;case 22:var se=_.stateNode;_.memoizedState!==null?se._visibility&2?Hs(S,_,R,W,v):eu(S,_):(se._visibility|=2,Hs(S,_,R,W,v)),v&&te&2048&&nv(_.alternate,_);break;case 24:Hs(S,_,R,W,v),v&&te&2048&&rv(_.alternate,_);break;default:Hs(S,_,R,W,v)}s=s.sibling}}function eu(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:eu(u,h),v&2048&&nv(h.alternate,h);break;case 24:eu(u,h),v&2048&&rv(h.alternate,h);break;default:eu(u,h)}s=s.sibling}}var tu=8192;function Us(i,s,u){if(i.subtreeFlags&tu)for(i=i.child;i!==null;)r5(i,s,u),i=i.sibling}function r5(i,s,u){switch(i.tag){case 26:Us(i,s,u),i.flags&tu&&i.memoizedState!==null&&xB(u,Tr,i.memoizedState,i.memoizedProps);break;case 5:Us(i,s,u);break;case 3:case 4:var h=Tr;Tr=op(i.stateNode.containerInfo),Us(i,s,u),Tr=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=tu,tu=16777216,Us(i,s,u),tu=h):Us(i,s,u));break;default:Us(i,s,u)}}function a5(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 nu(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];Zt=h,o5(h,i)}a5(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)i5(i),i=i.sibling}function i5(i){switch(i.tag){case 0:case 11:case 15:nu(i),i.flags&2048&&hi(9,i,i.return);break;case 3:nu(i);break;case 12:nu(i);break;case 22:var s=i.stateNode;i.memoizedState!==null&&s._visibility&2&&(i.return===null||i.return.tag!==13)?(s._visibility&=-3,Kf(i)):nu(i);break;default:nu(i)}}function Kf(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];Zt=h,o5(h,i)}a5(i)}for(i=i.child;i!==null;){switch(s=i,s.tag){case 0:case 11:case 15:hi(8,s,s.return),Kf(s);break;case 22:u=s.stateNode,u._visibility&2&&(u._visibility&=-3,Kf(s));break;default:Kf(s)}i=i.sibling}}function o5(i,s){for(;Zt!==null;){var u=Zt;switch(u.tag){case 0:case 11:case 15:hi(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,Zt=h;else e:for(u=i;Zt!==null;){h=Zt;var v=h.sibling,S=h.return;if(ZO(h),h===u){Zt=null;break e}if(v!==null){v.return=S,Zt=v;break e}Zt=S}}}var Nz={getCacheForType:function(i){var s=tn(Nt),u=s.data.get(i);return u===void 0&&(u=i(),s.data.set(i,u)),u},cacheSignal:function(){return tn(Nt).controller.signal}},Rz=typeof WeakMap=="function"?WeakMap:Map,Xe=0,ft=null,$e=null,Ue=0,rt=0,Hn=null,yi=!1,Ws=!1,av=!1,Ea=0,Pt=0,gi=0,Oo=0,iv=0,Un=0,Gs=0,ru=null,kn=null,ov=!1,Yf=0,s5=0,Vf=1/0,Zf=null,vi=null,qt=0,xi=null,Ks=null,ka=0,sv=0,lv=null,l5=null,au=0,cv=null;function Wn(){return(Xe&2)!==0&&Ue!==0?Ue&-Ue:N.T!==null?hv():jy()}function c5(){if(Un===0)if((Ue&536870912)===0||Ge){var i=hs;hs<<=1,(hs&3932160)===0&&(hs=262144),Un=i}else Un=536870912;return i=$n.current,i!==null&&(i.flags|=32),Un}function _n(i,s,u){(i===ft&&(rt===2||rt===9)||i.cancelPendingCommit!==null)&&(Ys(i,0),bi(i,Ue,Un,!1)),Ot(i,u),((Xe&2)===0||i!==ft)&&(i===ft&&((Xe&2)===0&&(Oo|=u),Pt===4&&bi(i,Ue,Un,!1)),Yr(i))}function u5(i,s,u){if((Xe&6)!==0)throw Error(r(327));var h=!u&&(s&127)===0&&(s&i.expiredLanes)===0||wt(i,s),v=h?zz(i,s):dv(i,s,!0),S=h;do{if(v===0){Ws&&!h&&bi(i,s,0,!1);break}else{if(u=i.current.alternate,S&&!Iz(u)){v=dv(i,s,!1),S=!1;continue}if(v===2){if(S=s,i.errorRecoveryDisabledLanes&S)var _=0;else _=i.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){s=_;e:{var R=i;v=ru;var W=R.current.memoizedState.isDehydrated;if(W&&(Ys(R,_).flags|=256),_=dv(R,_,!1),_!==2){if(av&&!W){R.errorRecoveryDisabledLanes|=S,Oo|=S,v=4;break e}S=kn,kn=v,S!==null&&(kn===null?kn=S:kn.push.apply(kn,S))}v=_}if(S=!1,v!==2)continue}}if(v===1){Ys(i,0),bi(i,s,0,!0);break}e:{switch(h=i,S=v,S){case 0:case 1:throw Error(r(345));case 4:if((s&4194048)!==s)break;case 6:bi(h,s,Un,!yi);break e;case 2:kn=null;break;case 3:case 5:break;default:throw Error(r(329))}if((s&62914560)===s&&(v=Yf+300-Kt(),10<v)){if(bi(h,s,Un,!yi),ke(h,0,!0)!==0)break e;ka=s,h.timeoutHandle=$5(d5.bind(null,h,u,kn,Zf,ov,s,Un,Oo,Gs,yi,S,"Throttled",-0,0),v);break e}d5(h,u,kn,Zf,ov,s,Un,Oo,Gs,yi,S,null,-0,0)}}break}while(!0);Yr(i)}function d5(i,s,u,h,v,S,_,R,W,te,se,fe,ne,re){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:ya},r5(s,S,fe);var we=(S&62914560)===S?Yf-Kt():(S&4194048)===S?s5-Kt():0;if(we=bB(fe,we),we!==null){ka=S,i.cancelPendingCommit=we(x5.bind(null,i,s,S,u,h,v,_,R,W,se,fe,null,ne,re)),bi(i,S,_,!te);return}}x5(i,s,S,u,h,v,_,R,W)}function Iz(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(!Bn(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 bi(i,s,u,h){s&=~iv,s&=~Oo,i.suspendedLanes|=s,i.pingedLanes&=~s,h&&(i.warmLanes|=s),h=i.expirationTimes;for(var v=s;0<v;){var S=31-ln(v),_=1<<S;h[S]=-1,v&=~_}u!==0&&so(i,u,s)}function Qf(){return(Xe&6)===0?(iu(0),!1):!0}function uv(){if($e!==null){if(rt===0)var i=$e.return;else i=$e,ba=yo=null,Tg(i),zs=null,$c=0,i=$e;for(;i!==null;)FO(i.alternate,i),i=i.return;$e=null}}function Ys(i,s){var u=i.timeoutHandle;u!==-1&&(i.timeoutHandle=-1,nB(u)),u=i.cancelPendingCommit,u!==null&&(i.cancelPendingCommit=null,u()),ka=0,uv(),ft=i,$e=u=va(i.current,null),Ue=s,rt=0,Hn=null,yi=!1,Ws=wt(i,s),av=!1,Gs=Un=iv=Oo=gi=Pt=0,kn=ru=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-ln(h),S=1<<v;s|=i[v],h&=~S}return Ea=s,vf(),u}function f5(i,s){Ne=null,N.H=Vc,s===Ls||s===Tf?(s=AM(),rt=3):s===mg?(s=AM(),rt=4):rt=s===Fg?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,Hn=s,$e===null&&(Pt=1,qf(i,ir(s,i.current)))}function p5(){var i=$n.current;return i===null?!0:(Ue&4194048)===Ue?cr===null:(Ue&62914560)===Ue||(Ue&536870912)!==0?i===cr:!1}function m5(){var i=N.H;return N.H=Vc,i===null?Vc:i}function h5(){var i=N.A;return N.A=Nz,i}function Xf(){Pt=4,yi||(Ue&4194048)!==Ue&&$n.current!==null||(Ws=!0),(gi&134217727)===0&&(Oo&134217727)===0||ft===null||bi(ft,Ue,Un,!1)}function dv(i,s,u){var h=Xe;Xe|=2;var v=m5(),S=h5();(ft!==i||Ue!==s)&&(Zf=null,Ys(i,s)),s=!1;var _=Pt;e:do try{if(rt!==0&&$e!==null){var R=$e,W=Hn;switch(rt){case 8:uv(),_=6;break e;case 3:case 2:case 9:case 6:$n.current===null&&(s=!0);var te=rt;if(rt=0,Hn=null,Vs(i,R,W,te),u&&Ws){_=0;break e}break;default:te=rt,rt=0,Hn=null,Vs(i,R,W,te)}}Lz(),_=Pt;break}catch(se){f5(i,se)}while(!0);return s&&i.shellSuspendCounter++,ba=yo=null,Xe=h,N.H=v,N.A=S,$e===null&&(ft=null,Ue=0,vf()),_}function Lz(){for(;$e!==null;)y5($e)}function zz(i,s){var u=Xe;Xe|=2;var h=m5(),v=h5();ft!==i||Ue!==s?(Zf=null,Vf=Kt()+500,Ys(i,s)):Ws=wt(i,s);e:do try{if(rt!==0&&$e!==null){s=$e;var S=Hn;t:switch(rt){case 1:rt=0,Hn=null,Vs(i,s,S,1);break;case 2:case 9:if(TM(S)){rt=0,Hn=null,g5(s);break}s=function(){rt!==2&&rt!==9||ft!==i||(rt=7),Yr(i)},S.then(s,s);break e;case 3:rt=7;break e;case 4:rt=5;break e;case 7:TM(S)?(rt=0,Hn=null,g5(s)):(rt=0,Hn=null,Vs(i,s,S,7));break;case 5:var _=null;switch($e.tag){case 26:_=$e.memoizedState;case 5:case 27:var R=$e;if(_?nT(_):R.stateNode.complete){rt=0,Hn=null;var W=R.sibling;if(W!==null)$e=W;else{var te=R.return;te!==null?($e=te,Jf(te)):$e=null}break t}}rt=0,Hn=null,Vs(i,s,S,5);break;case 6:rt=0,Hn=null,Vs(i,s,S,6);break;case 8:uv(),Pt=6;break e;default:throw Error(r(462))}}Bz();break}catch(se){f5(i,se)}while(!0);return ba=yo=null,N.H=h,N.A=v,Xe=u,$e!==null?0:(ft=null,Ue=0,vf(),Pt)}function Bz(){for(;$e!==null&&!Mt();)y5($e)}function y5(i){var s=qO(i.alternate,i,Ea);i.memoizedProps=i.pendingProps,s===null?Jf(i):$e=s}function g5(i){var s=i,u=s.alternate;switch(s.tag){case 15:case 0:s=NO(u,s,s.pendingProps,s.type,void 0,Ue);break;case 11:s=NO(u,s,s.pendingProps,s.type.render,s.ref,Ue);break;case 5:Tg(s);default:FO(u,s),s=$e=hM(s,Ea),s=qO(u,s,Ea)}i.memoizedProps=i.pendingProps,s===null?Jf(i):$e=s}function Vs(i,s,u,h){ba=yo=null,Tg(s),zs=null,$c=0;var v=s.return;try{if(Pz(i,v,s,u,Ue)){Pt=1,qf(i,ir(u,i.current)),$e=null;return}}catch(S){if(v!==null)throw $e=v,S;Pt=1,qf(i,ir(u,i.current)),$e=null;return}s.flags&32768?(Ge||h===1?i=!0:Ws||(Ue&536870912)!==0?i=!1:(yi=i=!0,(h===2||h===9||h===3||h===6)&&(h=$n.current,h!==null&&h.tag===13&&(h.flags|=16384))),v5(s,i)):Jf(s)}function Jf(i){var s=i;do{if((s.flags&32768)!==0){v5(s,yi);return}i=s.return;var u=Ez(s.alternate,s,Ea);if(u!==null){$e=u;return}if(s=s.sibling,s!==null){$e=s;return}$e=s=i}while(s!==null);Pt===0&&(Pt=5)}function v5(i,s){do{var u=kz(i.alternate,i);if(u!==null){u.flags&=32767,$e=u;return}if(u=i.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!s&&(i=i.sibling,i!==null)){$e=i;return}$e=i=u}while(i!==null);Pt=6,$e=null}function x5(i,s,u,h,v,S,_,R,W){i.cancelPendingCommit=null;do ep();while(qt!==0);if((Xe&6)!==0)throw Error(r(327));if(s!==null){if(s===i.current)throw Error(r(177));if(S=s.lanes|s.childLanes,S|=Jy,Cn(i,u,S,_,R,W),i===ft&&($e=ft=null,Ue=0),Ks=s,xi=i,ka=u,sv=S,lv=v,l5=h,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,Hz(ao,function(){return M5(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||h){h=N.T,N.T=null,v=H.p,H.p=2,_=Xe,Xe|=4;try{_z(i,s,u)}finally{Xe=_,H.p=v,N.T=h}}qt=1,b5(),w5(),S5()}}function b5(){if(qt===1){qt=0;var i=xi,s=Ks,u=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||u){u=N.T,N.T=null;var h=H.p;H.p=2;var v=Xe;Xe|=4;try{e5(s,i);var S=Cv,_=oM(i.containerInfo),R=S.focusedElem,W=S.selectionRange;if(_!==R&&R&&R.ownerDocument&&iM(R.ownerDocument.documentElement,R)){if(W!==null&&Yy(R)){var te=W.start,se=W.end;if(se===void 0&&(se=te),"selectionStart"in R)R.selectionStart=te,R.selectionEnd=Math.min(se,R.value.length);else{var fe=R.ownerDocument||document,ne=fe&&fe.defaultView||window;if(ne.getSelection){var re=ne.getSelection(),we=R.textContent.length,Ae=Math.min(W.start,we),lt=W.end===void 0?Ae:Math.min(W.end,we);!re.extend&&Ae>lt&&(_=lt,lt=Ae,Ae=_);var X=aM(R,Ae),Q=aM(R,lt);if(X&&Q&&(re.rangeCount!==1||re.anchorNode!==X.node||re.anchorOffset!==X.offset||re.focusNode!==Q.node||re.focusOffset!==Q.offset)){var ee=fe.createRange();ee.setStart(X.node,X.offset),re.removeAllRanges(),Ae>lt?(re.addRange(ee),re.extend(Q.node,Q.offset)):(ee.setEnd(Q.node,Q.offset),re.addRange(ee))}}}}for(fe=[],re=R;re=re.parentNode;)re.nodeType===1&&fe.push({element:re,left:re.scrollLeft,top:re.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<fe.length;R++){var de=fe[R];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}fp=!!Sv,Cv=Sv=null}finally{Xe=v,H.p=h,N.T=u}}i.current=s,qt=2}}function w5(){if(qt===2){qt=0;var i=xi,s=Ks,u=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||u){u=N.T,N.T=null;var h=H.p;H.p=2;var v=Xe;Xe|=4;try{VO(i,s.alternate,s)}finally{Xe=v,H.p=h,N.T=u}}qt=3}}function S5(){if(qt===4||qt===3){qt=0,tr();var i=xi,s=Ks,u=ka,h=l5;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?qt=5:(qt=0,Ks=xi=null,C5(i,i.pendingLanes));var v=i.pendingLanes;if(v===0&&(vi=null),Mr(u),s=s.stateNode,hn&&typeof hn.onCommitFiberRoot=="function")try{hn.onCommitFiberRoot(io,s,void 0,(s.current.flags&128)===128)}catch{}if(h!==null){s=N.T,v=H.p,H.p=2,N.T=null;try{for(var S=i.onRecoverableError,_=0;_<h.length;_++){var R=h[_];S(R.value,{componentStack:R.stack})}}finally{N.T=s,H.p=v}}(ka&3)!==0&&ep(),Yr(i),v=i.pendingLanes,(u&261930)!==0&&(v&42)!==0?i===cv?au++:(au=0,cv=i):au=0,iu(0)}}function C5(i,s){(i.pooledCacheLanes&=s)===0&&(s=i.pooledCache,s!=null&&(i.pooledCache=null,Bc(s)))}function ep(){return b5(),w5(),S5(),M5()}function M5(){if(qt!==5)return!1;var i=xi,s=sv;sv=0;var u=Mr(ka),h=N.T,v=H.p;try{H.p=32>u?32:u,N.T=null,u=lv,lv=null;var S=xi,_=ka;if(qt=0,Ks=xi=null,ka=0,(Xe&6)!==0)throw Error(r(331));var R=Xe;if(Xe|=4,i5(S.current),n5(S,S.current,_,u),Xe=R,iu(0,!1),hn&&typeof hn.onPostCommitFiberRoot=="function")try{hn.onPostCommitFiberRoot(io,S)}catch{}return!0}finally{H.p=v,N.T=h,C5(i,s)}}function O5(i,s,u){s=ir(u,s),s=$g(i.stateNode,s,2),i=fi(i,s,2),i!==null&&(Ot(i,2),Yr(i))}function at(i,s,u){if(i.tag===3)O5(i,i,u);else for(;s!==null;){if(s.tag===3){O5(s,i,u);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(vi===null||!vi.has(h))){i=ir(u,i),u=TO(2),h=fi(s,u,2),h!==null&&(PO(u,h,s,i),Ot(h,2),Yr(h));break}}s=s.return}}function fv(i,s,u){var h=i.pingCache;if(h===null){h=i.pingCache=new Rz;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=qz.bind(null,i,s,u),s.then(i,i))}function qz(i,s,u){var h=i.pingCache;h!==null&&h.delete(s),i.pingedLanes|=i.suspendedLanes&u,i.warmLanes&=~u,ft===i&&(Ue&u)===u&&(Pt===4||Pt===3&&(Ue&62914560)===Ue&&300>Kt()-Yf?(Xe&2)===0&&Ys(i,0):iv|=u,Gs===Ue&&(Gs=0)),Yr(i)}function T5(i,s){s===0&&(s=cn()),i=po(i,s),i!==null&&(Ot(i,s),Yr(i))}function $z(i){var s=i.memoizedState,u=0;s!==null&&(u=s.retryLane),T5(i,u)}function Fz(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(r(314))}h!==null&&h.delete(s),T5(i,u)}function Hz(i,s){return Fr(i,s)}var tp=null,Zs=null,pv=!1,np=!1,mv=!1,wi=0;function Yr(i){i!==Zs&&i.next===null&&(Zs===null?tp=Zs=i:Zs=Zs.next=i),np=!0,pv||(pv=!0,Wz())}function iu(i,s){if(!mv&&np){mv=!0;do for(var u=!1,h=tp;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var S=0;else{var _=h.suspendedLanes,R=h.pingedLanes;S=(1<<31-ln(42|i)+1)-1,S&=v&~(_&~R),S=S&201326741?S&201326741|1:S?S|2:0}S!==0&&(u=!0,E5(h,S))}else S=Ue,S=ke(h,h===ft?S:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(S&3)===0||wt(h,S)||(u=!0,E5(h,S));h=h.next}while(u);mv=!1}}function Uz(){P5()}function P5(){np=pv=!1;var i=0;wi!==0&&tB()&&(i=wi);for(var s=Kt(),u=null,h=tp;h!==null;){var v=h.next,S=A5(h,s);S===0?(h.next=null,u===null?tp=v:u.next=v,v===null&&(Zs=u)):(u=h,(i!==0||(S&3)!==0)&&(np=!0)),h=v}qt!==0&&qt!==5||iu(i),wi!==0&&(wi=0)}function A5(i,s){for(var u=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,S=i.pendingLanes&-62914561;0<S;){var _=31-ln(S),R=1<<_,W=v[_];W===-1?((R&u)===0||(R&h)!==0)&&(v[_]=Yt(R,s)):W<=s&&(i.expiredLanes|=R),S&=~R}if(s=ft,u=Ue,u=ke(i,i===s?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,u===0||i===s&&(rt===2||rt===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&zn(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&&zn(h),Mr(u)){case 2:case 8:u=af;break;case 32:u=ao;break;case 268435456:u=ma;break;default:u=ao}return h=j5.bind(null,i),u=Fr(u,h),i.callbackPriority=s,i.callbackNode=u,s}return h!==null&&h!==null&&zn(h),i.callbackPriority=2,i.callbackNode=null,2}function j5(i,s){if(qt!==0&&qt!==5)return i.callbackNode=null,i.callbackPriority=0,null;var u=i.callbackNode;if(ep()&&i.callbackNode!==u)return null;var h=Ue;return h=ke(i,i===ft?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(u5(i,h,s),A5(i,Kt()),i.callbackNode!=null&&i.callbackNode===u?j5.bind(null,i):null)}function E5(i,s){if(ep())return null;u5(i,s,!0)}function Wz(){rB(function(){(Xe&6)!==0?Fr(ro,Uz):P5()})}function hv(){if(wi===0){var i=Rs;i===0&&(i=ms,ms<<=1,(ms&261888)===0&&(ms=256)),wi=i}return wi}function k5(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:uf(""+i)}function _5(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 Gz(i,s,u,h,v){if(s==="submit"&&u&&u.stateNode===v){var S=k5((v[Tn]||null).action),_=h.submitter;_&&(s=(s=_[Tn]||null)?k5(s.formAction):_.getAttribute("formAction"),s!==null&&(S=s,_=null));var R=new mf("action","action",null,h,v);i.push({event:R,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(wi!==0){var W=_?_5(v,_):new FormData(v);Rg(u,{pending:!0,data:W,method:v.method,action:S},null,W)}}else typeof S=="function"&&(R.preventDefault(),W=_?_5(v,_):new FormData(v),Rg(u,{pending:!0,data:W,method:v.method,action:S},S,W))},currentTarget:v}]})}}for(var yv=0;yv<Xy.length;yv++){var gv=Xy[yv],Kz=gv.toLowerCase(),Yz=gv[0].toUpperCase()+gv.slice(1);Or(Kz,"on"+Yz)}Or(cM,"onAnimationEnd"),Or(uM,"onAnimationIteration"),Or(dM,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(uz,"onTransitionRun"),Or(dz,"onTransitionStart"),Or(fz,"onTransitionCancel"),Or(fM,"onTransitionEnd"),ws("onMouseEnter",["mouseout","mouseover"]),ws("onMouseLeave",["mouseout","mouseover"]),ws("onPointerEnter",["pointerout","pointerover"]),ws("onPointerLeave",["pointerout","pointerover"]),lo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),lo("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),lo("onBeforeInput",["compositionend","keypress","textInput","paste"]),lo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),lo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),lo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ou="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(" "),Vz=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ou));function D5(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 _=h.length-1;0<=_;_--){var R=h[_],W=R.instance,te=R.currentTarget;if(R=R.listener,W!==S&&v.isPropagationStopped())break e;S=R,v.currentTarget=te;try{S(v)}catch(se){gf(se)}v.currentTarget=null,S=W}else for(_=0;_<h.length;_++){if(R=h[_],W=R.instance,te=R.currentTarget,R=R.listener,W!==S&&v.isPropagationStopped())break e;S=R,v.currentTarget=te;try{S(v)}catch(se){gf(se)}v.currentTarget=null,S=W}}}}function Fe(i,s){var u=s[Ey];u===void 0&&(u=s[Ey]=new Set);var h=i+"__bubble";u.has(h)||(N5(s,i,2,!1),u.add(h))}function vv(i,s,u){var h=0;s&&(h|=4),N5(u,i,h,s)}var rp="_reactListening"+Math.random().toString(36).slice(2);function xv(i){if(!i[rp]){i[rp]=!0,P3.forEach(function(u){u!=="selectionchange"&&(Vz.has(u)||vv(u,!1,i),vv(u,!0,i))});var s=i.nodeType===9?i:i.ownerDocument;s===null||s[rp]||(s[rp]=!0,vv("selectionchange",!1,s))}}function N5(i,s,u,h){switch(cT(s)){case 2:var v=CB;break;case 8:v=MB;break;default:v=Nv}u=v.bind(null,s,u,i),v=void 0,!By||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 _=h.tag;if(_===3||_===4){var R=h.stateNode.containerInfo;if(R===v)break;if(_===4)for(_=h.return;_!==null;){var W=_.tag;if((W===3||W===4)&&_.stateNode.containerInfo===v)return;_=_.return}for(;R!==null;){if(_=vs(R),_===null)return;if(W=_.tag,W===5||W===6||W===26||W===27){h=S=_;continue e}R=R.parentNode}}h=h.return}B3(function(){var te=S,se=Ly(u),fe=[];e:{var ne=pM.get(i);if(ne!==void 0){var re=mf,we=i;switch(i){case"keypress":if(ff(u)===0)break e;case"keydown":case"keyup":re=FL;break;case"focusin":we="focus",re=Hy;break;case"focusout":we="blur",re=Hy;break;case"beforeblur":case"afterblur":re=Hy;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":re=F3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=EL;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=WL;break;case cM:case uM:case dM:re=DL;break;case fM:re=KL;break;case"scroll":case"scrollend":re=AL;break;case"wheel":re=VL;break;case"copy":case"cut":case"paste":re=RL;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=U3;break;case"toggle":case"beforetoggle":re=QL}var Ae=(s&4)!==0,lt=!Ae&&(i==="scroll"||i==="scrollend"),X=Ae?ne!==null?ne+"Capture":null:ne;Ae=[];for(var Q=te,ee;Q!==null;){var de=Q;if(ee=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||ee===null||X===null||(de=Ac(Q,X),de!=null&&Ae.push(su(Q,de,ee))),lt)break;Q=Q.return}0<Ae.length&&(ne=new re(ne,we,null,u,se),fe.push({event:ne,listeners:Ae}))}}if((s&7)===0){e:{if(ne=i==="mouseover"||i==="pointerover",re=i==="mouseout"||i==="pointerout",ne&&u!==Iy&&(we=u.relatedTarget||u.fromElement)&&(vs(we)||we[gs]))break e;if((re||ne)&&(ne=se.window===se?se:(ne=se.ownerDocument)?ne.defaultView||ne.parentWindow:window,re?(we=u.relatedTarget||u.toElement,re=te,we=we?vs(we):null,we!==null&&(lt=o(we),Ae=we.tag,we!==lt||Ae!==5&&Ae!==27&&Ae!==6)&&(we=null)):(re=null,we=te),re!==we)){if(Ae=F3,de="onMouseLeave",X="onMouseEnter",Q="mouse",(i==="pointerout"||i==="pointerover")&&(Ae=U3,de="onPointerLeave",X="onPointerEnter",Q="pointer"),lt=re==null?ne:Pc(re),ee=we==null?ne:Pc(we),ne=new Ae(de,Q+"leave",re,u,se),ne.target=lt,ne.relatedTarget=ee,de=null,vs(se)===te&&(Ae=new Ae(X,Q+"enter",we,u,se),Ae.target=ee,Ae.relatedTarget=lt,de=Ae),lt=de,re&&we)t:{for(Ae=Zz,X=re,Q=we,ee=0,de=X;de;de=Ae(de))ee++;
vendor: 5,505 bytes, lines 48-49
48de=0;for(var Oe=Q;Oe;Oe=Ae(Oe))de++;for(;0<ee-de;)X=Ae(X),ee--;for(;0<de-ee;)Q=Ae(Q),de--;for(;ee--;){if(X===Q||Q!==null&&X===Q.alternate){Ae=X;break t}X=Ae(X),Q=Ae(Q)}Ae=null}else Ae=null;re!==null&&R5(fe,ne,re,Ae,!1),we!==null&<!==null&&R5(fe,lt,we,Ae,!0)}}e:{if(ne=te?Pc(te):window,re=ne.nodeName&&ne.nodeName.toLowerCase(),re==="select"||re==="input"&&ne.type==="file")var Ye=X3;else if(Z3(ne))if(J3)Ye=sz;else{Ye=iz;var Me=az}else re=ne.nodeName,!re||re.toLowerCase()!=="input"||ne.type!=="checkbox"&&ne.type!=="radio"?te&&Ry(te.elementType)&&(Ye=X3):Ye=oz;if(Ye&&(Ye=Ye(i,te))){Q3(fe,Ye,u,se);break e}Me&&Me(i,ne,te),i==="focusout"&&te&&ne.type==="number"&&te.memoizedProps.value!=null&&Ny(ne,"number",ne.value)}switch(Me=te?Pc(te):window,i){case"focusin":(Z3(Me)||Me.contentEditable==="true")&&(Ps=Me,Vy=te,Ic=null);break;case"focusout":Ic=Vy=Ps=null;break;case"mousedown":Zy=!0;break;case"contextmenu":case"mouseup":case"dragend":Zy=!1,sM(fe,u,se);break;case"selectionchange":if(cz)break;case"keydown":case"keyup":sM(fe,u,se)}var Ie;if(Wy)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 Ts?Y3(i,u)&&(We="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(We="onCompositionStart");We&&(W3&&u.locale!=="ko"&&(Ts||We!=="onCompositionStart"?We==="onCompositionEnd"&&Ts&&(Ie=q3()):(ii=se,qy="value"in ii?ii.value:ii.textContent,Ts=!0)),Me=ap(te,We),0<Me.length&&(We=new H3(We,i,null,u,se),fe.push({event:We,listeners:Me}),Ie?We.data=Ie:(Ie=V3(u),Ie!==null&&(We.data=Ie)))),(Ie=JL?ez(i,u):tz(i,u))&&(We=ap(te,"onBeforeInput"),0<We.length&&(Me=new H3("onBeforeInput","beforeinput",null,u,se),fe.push({event:Me,listeners:We}),Me.data=Ie)),Gz(fe,i,te,u,se)}D5(fe,s)})}function su(i,s,u){return{instance:i,listener:s,currentTarget:u}}function ap(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=Ac(i,u),v!=null&&h.unshift(su(i,v,S)),v=Ac(i,s),v!=null&&h.push(su(i,v,S))),i.tag===3)return h;i=i.return}return[]}function Zz(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function R5(i,s,u,h,v){for(var S=s._reactName,_=[];u!==null&&u!==h;){var R=u,W=R.alternate,te=R.stateNode;if(R=R.tag,W!==null&&W===h)break;R!==5&&R!==26&&R!==27||te===null||(W=te,v?(te=Ac(u,S),te!=null&&_.unshift(su(u,te,W))):v||(te=Ac(u,S),te!=null&&_.push(su(u,te,W)))),u=u.return}_.length!==0&&i.push({event:s,listeners:_})}var Qz=/\r\n?/g,Xz=/\u0000|\uFFFD/g;function I5(i){return(typeof i=="string"?i:""+i).replace(Qz,` 49`).replace(Xz,"")}function L5(i,s){return s=I5(s),I5(i)===s}function st(i,s,u,h,v,S){switch(u){case"children":typeof h=="string"?s==="body"||s==="textarea"&&h===""||Cs(i,h):(typeof h=="number"||typeof h=="bigint")&&s!=="body"&&Cs(i,""+h);break;case"className":lf(i,"class",h);break;case"tabIndex":lf(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":lf(i,u,h);break;case"style":L3(i,h,S);break;case"data":if(s!=="object"){lf(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=uf(""+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"&&st(i,s,"name",v.name,v,null),st(i,s,"formEncType",v.formEncType,v,null),st(i,s,"formMethod",v.formMethod,v,null),st(i,s,"formTarget",v.formTarget,v,null)):(st(i,s,"encType",v.encType,v,null),st(i,s,"method",v.method,v,null),st(i,s,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(u);break}h=uf(""+h),i.setAttribute(u,h);break;case"onClick":h!=null&&(i.onclick=ya);break;case"onScroll":h!=null&&Fe("scroll",i);break;case"onScrollEnd":h!=null&&Fe("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(r(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=uf(""+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"playsInl
49ine":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":Fe("beforetoggle",i),Fe("toggle",i),sf(i,"popover",h);break;case"xlinkActuate":ha(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":ha(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":ha(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":ha(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":ha(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":ha(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":ha(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":ha(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":ha(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":sf(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=TL.get(u)||u,sf(i,u,h))}}function wv(i,s,u,h,v,S){switch(u){case"style":L3(i,h,S);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(u=h.__html,u!=null){if(v.children!=null)throw Error(r(60));i.innerHTML=u}}break;case"children":typeof h=="string"?Cs(i,h):(typeof h=="number"||typeof h=="bigint")&&Cs(i,""+h);break;case"onScroll":h!=null&&Fe("scroll",i);break;case"onScrollEnd":h!=null&&Fe("scrollend",i);break;case"onClick":h!=null&&(i.onclick=ya);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!A3.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[Tn]||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,""):sf(i,u,h)}}}function rn(i,s,u){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Fe("error",i),Fe("load",i);var h=!1,v=!1,S;for(S in u)if(u.hasOwnProperty(S)){var _=u[S];if(_!=null)switch(S){case"src":h=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,s));default:st(i,s,S,_,u,null)}}v&&st(i,s,"srcSet",u.srcSet,u,null),h&&st(i,s,"src",u.src,u,null);return;case"input":Fe("invalid",i);var R=S=_=v=null,W=null,te=null;for(h in u)if(u.hasOwnProperty(h)){var se=u[h];if(se!=null)switch(h){case"name":v=se;break;case"type":_=se;break;case"checked":W=se;break;case"defaultChecked":te=se;break;case"value":S=se;break;case"defaultValue":R=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(r(137,s));break;default:st(i,s,h,se,u,null)}}D3(i,S,R,W,te,_,v,!1);return;case"select":Fe("invalid",i),h=_=S=null;for(v in u)if(u.hasOwnProperty(v)&&(R=u[v],R!=null))switch(v){case"value":S=R;break;case"defaultValue":_=R;break;case"multiple":h=R;default:st(i,s,v,R,u,null)}s=S,u=_,i.multiple=!!h,s!=null?Ss(i,!!h,s,!1):u!=null&&Ss(i,!!h,u,!0);return;case"textarea":Fe("invalid",i),S=v=h=null;for(_ in u)if(u.hasOwnProperty(_)&&(R=u[_],R!=null))switch(_){case"value":h=R;break;case"defaultValue":v=R;break;case"children":S=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(91));break;default:st(i,s,_,R,u,null)}R3(i,h,v,S);return;case"option":for(W in u)if(u.hasOwnProperty(W)&&(h=u[W],h!=null))switch(W){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:st(i,s,W,h,u,null)}return;case"dialog":Fe("beforetoggle",i),Fe("toggle",i),Fe("cancel",i),Fe("close",i);break;case"iframe":case"object":Fe("load",i);break;case"video":case"audio":for(h=0;h<ou.length;h++)Fe(ou[h],i);break;case"image":Fe("error",i),Fe("load",i);break;case"details":Fe("toggle",i);break;case"embed":case"source":case"link":Fe("error",i),Fe("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(r(137,s));default:st(i,s,te,h,u,null)}return;default:if(Ry(s)){for(se in u)u.hasOwnProperty(se)&&(h=u[se],h!==void 0&&wv(i,s,se,h,u,void 0));return}}for(R in u)u.hasOwnProperty(R)&&(h=u[R],h!=null&&st(i,s,R,h,u,null))}function Jz(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,_=null,R=null,W=null,te=null,se=null;for(re in u){var fe=u[re];if(u.hasOwnProperty(re)&&fe!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":W=fe;default:h.hasOwnProperty(re)||st(i,s,re,null,h,fe)}}for(var ne in h){var re=h[ne];if(fe=u[ne],h.hasOwnProperty(ne)&&(re!=null||fe!=null))switch(ne){case"type":S=re;break;case"name":v=re;break;case"checked":te=re;break;case"defaultChecked":se=re;break;case"value":_=re;break;case"defaultValue":R=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(r(137,s));break;default:re!==fe&&st(i,s,ne,re,h,fe)}}Dy(i,_,R,W,te,se,S,v);return;case"select":re=_=R=ne=null;for(S in u)if(W=u[S],u.hasOwnProperty(S)&&W!=null)switch(S){case"value":break;case"multiple":re=W;default:h.hasOwnProperty(S)||st(i,s,S,null,h,W)}for(v in h)if(S=h[v],W=u[v],h.hasOwnProperty(v)&&(S!=null||W!=null))switch(v){case"value":ne=S;break;case"defaultValue":R=S;break;case"multiple":_=S;default:S!==W&&st(i,s,v,S,h,W)}s=R,u=_,h=re,ne!=null?Ss(i,!!u,ne,!1):!!h!=!!u&&(s!=null?Ss(i,!!u,s,!0):Ss(i,!!u,u?[]:"",!1));return;case"textarea":re=ne=null;for(R in u)if(v=u[R],u.hasOwnProperty(R)&&v!=null&&!h.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:st(i,s,R,null,h,v)}for(_ in h)if(v=h[_],S=u[_],h.hasOwnProperty(_)&&(v!=null||S!=null))switch(_){case"value":ne=v;break;case"defaultValue":re=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:v!==S&&st(i,s,_,v,h,S)}N3(i,ne,re);return;case"option":for(var we in u)if(ne=u[we],u.hasOwnProperty(we)&&ne!=null&&!h.hasOwnProperty(we))switch(we){case"selected":i.selected=!1;break;default:st(i,s,we,null,h,ne)}for(W in h)if(ne=h[W],re=u[W],h.hasOwnProperty(W)&&ne!==re&&(ne!=null||re!=null))switch(W){case"selected":i.selected=ne&&typeof ne!="function"&&typeof ne!="symbol";break;default:st(i,s,W,ne,h,re)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in u)ne=u[Ae],u.hasOwnProperty(Ae)&&ne!=null&&!h.hasOwnProperty(Ae)&&st(i,s,Ae,null,h,ne);for(te in h)if(ne=h[te],re=u[te],h.hasOwnProperty(te)&&ne!==re&&(ne!=null||re!=null))switch(te){case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(r(137,s));break;default:st(i,s,te,ne,h,re)}return;default:if(Ry(s)){for(var lt in u)ne=u[lt],u.hasOwnProperty(lt)&&ne!==void 0&&!h.hasOwnProperty(lt)&&wv(i,s,lt,void 0,h,ne);for(se in h)ne=h[se],re=u[se],!h.hasOwnProperty(se)||ne===re||ne===void 0&&re===void 0||wv(i,s,se,ne,h,re);return}}for(var X in u)ne=u[X],u.hasOwnProperty(X)&&ne!=null&&!h.hasOwnProperty(X)&&st(i,s,X,null,h,ne);for(fe in h)ne=h[fe],re=u[fe],!h.hasOwnProperty(fe)||ne===re||ne==null&&re==null||st(i,s,fe,ne,h,re)}function z5(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function eB(){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,_=v.initiatorType,R=v.duration;if(S&&R&&z5(_)){for(_=0,R=v.responseEnd,h+=1;h<u.length;h++){var W=u[h],te=W.startTime;if(te>R)break;var se=W.transferSize,fe=W.initiatorType;se&&z5(fe)&&(W=W.responseEnd,_+=se*(W<R?1:(R-te)/(W-te)))}if(--h,s+=8*(S+_)/(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 Sv=null,Cv=null;function ip(i){return i.nodeType===9?i:i.ownerDocument}function B5(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}}function q5(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 Mv(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 tB(){var i=window.event;return i&&i.type==="popstate"?i===Ov?!1:(Ov=i,!0):(Ov=null,!1)}var $5=typeof setTimeout=="function"?setTimeout:void 0,nB=typeof clearTimeout=="function"?clearTimeout:void 0,F5=typeof Promise=="function"?Promise:void 0,rB=typeof queueMicrotask=="function"?queueMicrotask:typeof F5<"u"?function(i){return F5.resolve(null).then(i).catch(aB)}:$5;function aB(i){setTimeout(function(){throw i})}function Si(i){return i==="head"}function H5(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),el(s);return}h--}else if(u==="$"||u==="$?"||u==="$~"||u==="$!"||u==="&")h++;else if(u==="html")lu(i.ownerDocument.documentElement);else if(u==="head"){u=i.ownerDocument.head,lu(u);for(var S=u.firstChild;S;){var _=S.nextSibling,R=S.nodeName;S[Tc]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&S.rel.toLowerCase()==="stylesheet"||u.removeChild(S),S=_}}else u==="body"&&lu(i.ownerDocument.body);u=v}while(u);el(s)}function U5(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 Tv(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":Tv(u),ky(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}i.removeChild(u)}}function iB(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[Tc])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=ur(i.nextSibling),i===null)break}return null}function oB(i,s,u){if(s==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!u||(i=ur(i.nextSibling),i===null))return null;return i}function W5(i,s){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!s||(i=ur(i.nextSibling),i===null))return null;return i}function Pv(i){return i.data==="$?"||i.data==="$~"}function Av(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function sB(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 ur(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;
vendor: 12,031 bytes, line 49
49if(s==="/$"||s==="/&")return null}}return i}var jv=null;function G5(i){i=i.nextSibling;for(var s=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"||u==="/&"){if(s===0)return ur(i.nextSibling);s--}else u!=="$"&&u!=="$!"&&u!=="$?"&&u!=="$~"&&u!=="&"||s++}i=i.nextSibling}return null}function K5(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 Y5(i,s,u){switch(s=ip(u),i){case"html":if(i=s.documentElement,!i)throw Error(r(452));return i;case"head":if(i=s.head,!i)throw Error(r(453));return i;case"body":if(i=s.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function lu(i){for(var s=i.attributes;s.length;)i.removeAttributeNode(s[0]);ky(i)}var dr=new Map,V5=new Set;function op(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var _a=H.d;H.d={f:lB,r:cB,D:uB,C:dB,L:fB,m:pB,X:hB,S:mB,M:yB};function lB(){var i=_a.f(),s=Qf();return i||s}function cB(i){var s=xs(i);s!==null&&s.tag===5&&s.type==="form"?fO(s):_a.r(i)}var Qs=typeof document>"u"?null:document;function Z5(i,s,u){var h=Qs;if(h&&typeof s=="string"&&s){var v=rr(s);v='link[rel="'+i+'"][href="'+v+'"]',typeof u=="string"&&(v+='[crossorigin="'+u+'"]'),V5.has(v)||(V5.add(v),i={rel:i,crossOrigin:u,href:s},h.querySelector(v)===null&&(s=h.createElement("link"),rn(s,"link",i),Vt(s),h.head.appendChild(s)))}}function uB(i){_a.D(i),Z5("dns-prefetch",i,null)}function dB(i,s){_a.C(i,s),Z5("preconnect",i,s)}function fB(i,s,u){_a.L(i,s,u);var h=Qs;if(h&&i&&s){var v='link[rel="preload"][as="'+rr(s)+'"]';s==="image"&&u&&u.imageSrcSet?(v+='[imagesrcset="'+rr(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(v+='[imagesizes="'+rr(u.imageSizes)+'"]')):v+='[href="'+rr(i)+'"]';var S=v;switch(s){case"style":S=Xs(i);break;case"script":S=Js(i)}dr.has(S)||(i=m({rel:"preload",href:s==="image"&&u&&u.imageSrcSet?void 0:i,as:s},u),dr.set(S,i),h.querySelector(v)!==null||s==="style"&&h.querySelector(cu(S))||s==="script"&&h.querySelector(uu(S))||(s=h.createElement("link"),rn(s,"link",i),Vt(s),h.head.appendChild(s)))}}function pB(i,s){_a.m(i,s);var u=Qs;if(u&&i){var h=s&&typeof s.as=="string"?s.as:"script",v='link[rel="modulepreload"][as="'+rr(h)+'"][href="'+rr(i)+'"]',S=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":S=Js(i)}if(!dr.has(S)&&(i=m({rel:"modulepreload",href:i},s),dr.set(S,i),u.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(uu(S)))return}h=u.createElement("link"),rn(h,"link",i),Vt(h),u.head.appendChild(h)}}}function mB(i,s,u){_a.S(i,s,u);var h=Qs;if(h&&i){var v=bs(h).hoistableStyles,S=Xs(i);s=s||"default";var _=v.get(S);if(!_){var R={loading:0,preload:null};if(_=h.querySelector(cu(S)))R.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":s},u),(u=dr.get(S))&&Ev(i,u);var W=_=h.createElement("link");Vt(W),rn(W,"link",i),W._p=new Promise(function(te,se){W.onload=te,W.onerror=se}),W.addEventListener("load",function(){R.loading|=1}),W.addEventListener("error",function(){R.loading|=2}),R.loading|=4,sp(_,s,h)}_={type:"stylesheet",instance:_,count:1,state:R},v.set(S,_)}}}function hB(i,s){_a.X(i,s);var u=Qs;if(u&&i){var h=bs(u).hoistableScripts,v=Js(i),S=h.get(v);S||(S=u.querySelector(uu(v)),S||(i=m({src:i,async:!0},s),(s=dr.get(v))&&kv(i,s),S=u.createElement("script"),Vt(S),rn(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(v,S))}}function yB(i,s){_a.M(i,s);var u=Qs;if(u&&i){var h=bs(u).hoistableScripts,v=Js(i),S=h.get(v);S||(S=u.querySelector(uu(v)),S||(i=m({src:i,async:!0,type:"module"},s),(s=dr.get(v))&&kv(i,s),S=u.createElement("script"),Vt(S),rn(S,"link",i),u.head.appendChild(S)),S={type:"script",instance:S,count:1,state:null},h.set(v,S))}}function Q5(i,s,u,h){var v=(v=pe.current)?op(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(s=Xs(u.href),u=bs(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=Xs(u.href);var S=bs(v).hoistableStyles,_=S.get(i);if(_||(v=v.ownerDocument||v,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},S.set(i,_),(S=v.querySelector(cu(i)))&&!S._p&&(_.instance=S,_.state.loading=5),dr.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},dr.set(i,u),S||gB(v,i,u,_.state))),s&&h===null)throw Error(r(528,""));return _}if(s&&h!==null)throw Error(r(529,""));return null;case"script":return s=u.async,u=u.src,typeof u=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Js(u),u=bs(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(r(444,i))}}function Xs(i){return'href="'+rr(i)+'"'}function cu(i){return'link[rel="stylesheet"]['+i+"]"}function X5(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function gB(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}),rn(s,"link",u),Vt(s),i.head.appendChild(s))}function Js(i){return'[src="'+rr(i)+'"]'}function uu(i){return"script[async]"+i}function J5(i,s,u){if(s.count++,s.instance===null)switch(s.type){case"style":var h=i.querySelector('style[data-href~="'+rr(u.href)+'"]');if(h)return s.instance=h,Vt(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"),Vt(h),rn(h,"style",v),sp(h,u.precedence,i),s.instance=h;case"stylesheet":v=Xs(u.href);var S=i.querySelector(cu(v));if(S)return s.state.loading|=4,s.instance=S,Vt(S),S;h=X5(u),(v=dr.get(v))&&Ev(h,v),S=(i.ownerDocument||i).createElement("link"),Vt(S);var _=S;return _._p=new Promise(function(R,W){_.onload=R,_.onerror=W}),rn(S,"link",h),s.state.loading|=4,sp(S,u.precedence,i),s.instance=S;case"script":return S=Js(u.src),(v=i.querySelector(uu(S)))?(s.instance=v,Vt(v),v):(h=u,(v=dr.get(S))&&(h=m({},u),kv(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),Vt(v),rn(v,"link",h),i.head.appendChild(v),s.instance=v);case"void":return null;default:throw Error(r(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(h=s.instance,s.state.loading|=4,sp(h,u.precedence,i));return s.instance}function sp(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,_=0;_<h.length;_++){var R=h[_];if(R.dataset.precedence===s)S=R;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 kv(i,s){i.crossOrigin==null&&(i.crossOrigin=s.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=s.referrerPolicy),i.integrity==null&&(i.integrity=s.integrity)}var lp=null;function eT(i,s,u){if(lp===null){var h=new Map,v=lp=new Map;v.set(u,h)}else v=lp,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[Tc]||S[Jt]||i==="link"&&S.getAttribute("rel")==="stylesheet")&&S.namespaceURI!=="http://www.w3.org/2000/svg"){var _=S.getAttribute(s)||"";_=i+_;var R=h.get(_);R?R.push(S):h.set(_,[S])}}return h}function tT(i,s,u){i=i.ownerDocument||i,i.head.insertBefore(u,s==="title"?i.querySelector("head > title"):null)}function vB(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 nT(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function xB(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=Xs(h.href),S=s.querySelector(cu(v));if(S){s=S._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(i.count++,i=cp.bind(i),s.then(i,i)),u.state.loading|=4,u.instance=S,Vt(S);return}S=s.ownerDocument||s,h=X5(h),(v=dr.get(v))&&Ev(h,v),S=S.createElement("link"),Vt(S);var _=S;_._p=new Promise(function(R,W){_.onload=R,_.onerror=W}),rn(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=cp.bind(i),s.addEventListener("load",u),s.addEventListener("error",u))}}var _v=0;function bB(i,s){return i.stylesheets&&i.count===0&&dp(i,i.stylesheets),0<i.count||0<i.imgCount?function(u){var h=setTimeout(function(){if(i.stylesheets&&dp(i,i.stylesheets),i.unsuspend){var S=i.unsuspend;i.unsuspend=null,S()}},6e4+s);0<i.imgBytes&&_v===0&&(_v=62500*eB());var v=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&dp(i,i.stylesheets),i.unsuspend)){var S=i.unsuspend;i.unsuspend=null,S()}},(i.imgBytes>_v?50:800)+s);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(v)}}:null}function cp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dp(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var up=null;function dp(i,s){i.stylesheets=null,i.unsuspend!==null&&(i.count++,up=new Map,s.forEach(wB,i),up=null,cp.call(i))}function wB(i,s){if(!(s.state.loading&4)){var u=up.get(i);if(u)var h=u.get(null);else{u=new Map,up.set(i,u);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),S=0;S<v.length;S++){var _=v[S];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(u.set(_.dataset.precedence,_),h=_)}h&&u.set(null,h)}v=s.instance,_=v.getAttribute("data-precedence"),S=u.get(_)||h,S===h&&u.set(null,v),u.set(_,v),this.count++,h=cp.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 du={$$typeof:j,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function SB(i,s,u,h,v,S,_,R,W){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=ri(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ri(0),this.hiddenUpdates=ri(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=S,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=W,this.incompleteTransitions=new Map}function rT(i,s,u,h,v,S,_,R,W,te,se,fe){return i=new SB(i,s,u,_,W,te,se,fe,R),s=1,S===!0&&(s|=24),S=qn(3,null,null,s),i.current=S,S.stateNode=i,s=dg(),s.refCount++,i.pooledCache=s,s.refCount++,S.memoizedState={element:h,isDehydrated:u,cac
vendor: 8,807 bytes, line 49
49he:s},hg(S),i}function aT(i){return i?(i=Es,i):Es}function iT(i,s,u,h,v,S){v=aT(v),h.context===null?h.context=v:h.pendingContext=v,h=di(s),h.payload={element:u},S=S===void 0?null:S,S!==null&&(h.callback=S),u=fi(i,h,s),u!==null&&(_n(u,i,s),Hc(u,i,s))}function oT(i,s){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<s?u:s}}function Dv(i,s){oT(i,s),(i=i.alternate)&&oT(i,s)}function sT(i){if(i.tag===13||i.tag===31){var s=po(i,67108864);s!==null&&_n(s,i,67108864),Dv(i,67108864)}}function lT(i){if(i.tag===13||i.tag===31){var s=Wn();s=ys(s);var u=po(i,s);u!==null&&_n(u,i,s),Dv(i,s)}}var fp=!0;function CB(i,s,u,h){var v=N.T;N.T=null;var S=H.p;try{H.p=2,Nv(i,s,u,h)}finally{H.p=S,N.T=v}}function MB(i,s,u,h){var v=N.T;N.T=null;var S=H.p;try{H.p=8,Nv(i,s,u,h)}finally{H.p=S,N.T=v}}function Nv(i,s,u,h){if(fp){var v=Rv(h);if(v===null)bv(i,s,h,pp,u),uT(i,h);else if(TB(v,i,s,u,h))h.stopPropagation();else if(uT(i,h),s&4&&-1<OB.indexOf(i)){for(;v!==null;){var S=xs(v);if(S!==null)switch(S.tag){case 3:if(S=S.stateNode,S.current.memoizedState.isDehydrated){var _=Ur(S.pendingLanes);if(_!==0){var R=S;for(R.pendingLanes|=2,R.entangledLanes|=2;_;){var W=1<<31-ln(_);R.entanglements[1]|=W,_&=~W}Yr(S),(Xe&6)===0&&(Vf=Kt()+500,iu(0))}}break;case 31:case 13:R=po(S,2),R!==null&&_n(R,S,2),Qf(),Dv(S,2)}if(S=Rv(h),S===null&&bv(i,s,h,pp,u),S===v)break;v=S}v!==null&&h.stopPropagation()}else bv(i,s,h,null,u)}}function Rv(i){return i=Ly(i),Iv(i)}var pp=null;function Iv(i){if(pp=null,i=vs(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 pp=i,null}function cT(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(ps()){case ro:return 2;case af:return 8;case ao:case Mc:return 32;case ma:return 268435456;default:return 32}default:return 32}}var Lv=!1,Ci=null,Mi=null,Oi=null,fu=new Map,pu=new Map,Ti=[],OB="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 uT(i,s){switch(i){case"focusin":case"focusout":Ci=null;break;case"dragenter":case"dragleave":Mi=null;break;case"mouseover":case"mouseout":Oi=null;break;case"pointerover":case"pointerout":fu.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":pu.delete(s.pointerId)}}function mu(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=xs(s),s!==null&&sT(s)),i):(i.eventSystemFlags|=h,s=i.targetContainers,v!==null&&s.indexOf(v)===-1&&s.push(v),i)}function TB(i,s,u,h,v){switch(s){case"focusin":return Ci=mu(Ci,i,s,u,h,v),!0;case"dragenter":return Mi=mu(Mi,i,s,u,h,v),!0;case"mouseover":return Oi=mu(Oi,i,s,u,h,v),!0;case"pointerover":var S=v.pointerId;return fu.set(S,mu(fu.get(S)||null,i,s,u,h,v)),!0;case"gotpointercapture":return S=v.pointerId,pu.set(S,mu(pu.get(S)||null,i,s,u,h,v)),!0}return!1}function dT(i){var s=vs(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,O3(i.priority,function(){lT(u)});return}}else if(s===31){if(s=c(u),s!==null){i.blockedOn=s,O3(i.priority,function(){lT(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 mp(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;0<s.length;){var u=Rv(i.nativeEvent);if(u===null){u=i.nativeEvent;var h=new u.constructor(u.type,u);Iy=h,u.target.dispatchEvent(h),Iy=null}else return s=xs(u),s!==null&&sT(s),i.blockedOn=u,!1;s.shift()}return!0}function fT(i,s,u){mp(i)&&u.delete(s)}function PB(){Lv=!1,Ci!==null&&mp(Ci)&&(Ci=null),Mi!==null&&mp(Mi)&&(Mi=null),Oi!==null&&mp(Oi)&&(Oi=null),fu.forEach(fT),pu.forEach(fT)}function hp(i,s){i.blockedOn===s&&(i.blockedOn=null,Lv||(Lv=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,PB)))}var yp=null;function pT(i){yp!==i&&(yp=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){yp===i&&(yp=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=xs(u);S!==null&&(i.splice(s,3),s-=3,Rg(S,{pending:!0,data:v,method:u.method,action:h},h,v))}}))}function el(i){function s(W){return hp(W,i)}Ci!==null&&hp(Ci,i),Mi!==null&&hp(Mi,i),Oi!==null&&hp(Oi,i),fu.forEach(s),pu.forEach(s);for(var u=0;u<Ti.length;u++){var h=Ti[u];h.blockedOn===i&&(h.blockedOn=null)}for(;0<Ti.length&&(u=Ti[0],u.blockedOn===null);)dT(u),u.blockedOn===null&&Ti.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],_=v[Tn]||null;if(typeof S=="function")_||pT(u);else if(_){var R=null;if(S&&S.hasAttribute("formAction")){if(v=S,_=S[Tn]||null)R=_.formAction;else if(Iv(v)!==null)continue}else R=_.action;typeof R=="function"?u[h+1]=R:(u.splice(h,3),h-=3),pT(u)}}}function mT(){function i(S){S.canIntercept&&S.info==="react-transition"&&S.intercept({handler:function(){return new Promise(function(_){return v=_})},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 zv(i){this._internalRoot=i}gp.prototype.render=zv.prototype.render=function(i){var s=this._internalRoot;if(s===null)throw Error(r(409));var u=s.current,h=Wn();iT(u,h,i,s,null,null)},gp.prototype.unmount=zv.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var s=i.containerInfo;iT(i.current,2,null,i,null,null),Qf(),s[gs]=null}};function gp(i){this._internalRoot=i}gp.prototype.unstable_scheduleHydration=function(i){if(i){var s=jy();i={blockedOn:null,target:i,priority:s};for(var u=0;u<Ti.length&&s!==0&&s<Ti[u].priority;u++);Ti.splice(u,0,i),u===0&&dT(i)}};var hT=t.version;if(hT!=="19.2.1")throw Error(r(527,hT,"19.2.1"));H.findDOMNode=function(i){var s=i._reactInternals;if(s===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=f(s),i=i!==null?y(i):null,i=i===null?null:i.stateNode,i};var AB={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vp.isDisabled&&vp.supportsFiber)try{io=vp.inject(AB),hn=vp}catch{}}return gu.createRoot=function(i,s){if(!a(i))throw Error(r(299));var u=!1,h="",v=SO,S=CO,_=MO;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&&(_=s.onRecoverableError)),s=rT(i,1,!1,null,null,u,h,null,v,S,_,mT),i[gs]=s.current,xv(i),new zv(s)},gu.hydrateRoot=function(i,s,u){if(!a(i))throw Error(r(299));
49var h=!1,v="",S=SO,_=CO,R=MO,W=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&&(_=u.onCaughtError),u.onRecoverableError!==void 0&&(R=u.onRecoverableError),u.formState!==void 0&&(W=u.formState)),s=rT(i,1,!0,s,u??null,h,v,W,S,_,R,mT),s.context=aT(null),u=s.current,h=Wn(),h=ys(h),v=di(h),v.callback=null,fi(u,v,h),u=h,s.current.lanes=u,Ot(s,u),Yr(s),i[gs]=s.current,xv(i),new gp(s)},gu.version="19.2.1",gu}var FT;function K$(){if(FT)return Wv.exports;FT=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(),Wv.exports=G$(),Wv.exports}var Y$=K$(),V$=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),T4=(function(){function e(t){this.generateIdentifier=t,this.kv=new V$}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),Z$=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(r[o]=a[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),Q$=(function(e){Z$(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(T4),X$=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return o};function J$(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function eF(e,t){var n=J$(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var o=r[a];if(t(o))return o}}function Al(e,t){Object.entries(e).forEach(function(n){var r=X$(n,2),a=r[0],o=r[1];return t(o,a)})}function Jp(e,t){return e.indexOf(t)!==-1}function HT(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var tF=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return eF(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),nF=function(e){return Object.prototype.toString.call(e).slice(8,-1)},P4=function(e){return typeof e>"u"},rF=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},Ew=function(e){return Yu(e)&&Object.keys(e).length===0},Hi=function(e){return Array.isArray(e)},aF=function(e){return typeof e=="string"},iF=function(e){return typeof e=="number"&&!isNaN(e)},oF=function(e){return typeof e=="boolean"},sF=function(e){return e instanceof RegExp},Vu=function(e){return e instanceof Map},Zu=function(e){return e instanceof Set},A4=function(e){return nF(e)==="Symbol"},lF=function(e){return e instanceof Date&&!isNaN(e.valueOf())},cF=function(e){return e instanceof Error},UT=function(e){return typeof e=="number"&&isNaN(e)},uF=function(e){return oF(e)||rF(e)||P4(e)||iF(e)||aF(e)||A4(e)},dF=function(e){return typeof e=="bigint"},fF=function(e){return e===1/0||e===-1/0},pF=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},mF=function(e){return e instanceof URL},j4=function(e){return e.replace(/\./g,"\\.")},Vv=function(e){return e.map(String).map(j4).join(".")},zu=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),o=a==="\\"&&e.charAt(r+1)===".";if(o){n+=".",r++;continue}var l=a===".";if(l){t.push(n),n="";continue}n+=a}var c=n;return t.push(c),t},kw=function(){return kw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},kw.apply(this,arguments)},_w=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return o},Dw=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Vr(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var E4=[Vr(P4,"undefined",function(){return null},function(){}),Vr(dF,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Vr(lF,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Vr(cF,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),Vr(sF,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
49),Vr(Zu,"set",function(e){return Dw([],_w(e.values()))},function(e){return new Set(e)}),Vr(Vu,"map",function(e){return Dw([],_w(e.entries()))},function(e){return new Map(e)}),Vr(function(e){return UT(e)||fF(e)},"number",function(e){return UT(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Vr(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Vr(mF,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Oh(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var k4=Oh(function(e,t){if(A4(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),hF=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),_4=Oh(pF,function(e){return["typed-array",e.constructor.name]},function(e){return Dw([],_w(e))},function(e,t){var n=hF[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function D4(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var N4=Oh(D4,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return kw({},e);var r={};return n.forEach(function(a){r[a]=e[a]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),R4=Oh(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),yF=[N4,k4,R4,_4],WT=function(e,t){var n=HT(yF,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=HT(E4,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},I4={};E4.forEach(function(e){I4[e.annotation]=e});var gF=function(e,t,n){if(Hi(t))switch(t[0]){case"symbol":return k4.untransform(e,t,n);case"class":return N4.untransform(e,t,n);case"custom":return R4.untransform(e,t,n);case"typed-array":return _4.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=I4[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},yl=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function L4(e){if(Jp(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Jp(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Jp(e,"constructor"))throw new Error("constructor is not allowed as a property")}var vF=function(e,t){L4(t);for(var n=0;n<t.length;n++){var r=t[n];if(Zu(e))e=yl(e,+r);else if(Vu(e)){var a=+r,o=+t[++n]==0?"key":"value",l=yl(e,a);switch(o){case"key":e=l;break;case"value":e=e.get(l);break}}else e=e[r]}return e},Nw=function(e,t,n){if(L4(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var o=t[a];if(Hi(r)){var l=+o;r=r[l]}else if(Yu(r))r=r[o];else if(Zu(r)){var c=+o;r=yl(r,c)}else if(Vu(r)){var d=a===t.length-2;if(d)break;var c=+o,f=+t[++a]==0?"key":"value",y=yl(r,c);switch(f){case"key":r=y;break;case"value":r=r.get(y);break}}}var m=t[t.length-1];if(Hi(r)?r[+m]=n(r[+m]):Yu(r)&&(r[m]=n(r[m])),Zu(r)){var g=yl(r,+m),b=n(g);g!==b&&(r.delete(g),r.add(b))}if(Vu(r)){var c=+t[t.length-2],C=yl(r,c),f=+m==0?"key":"value";switch(f){case"key":{var x=n(C);r.set(x,r.get(C)),x!==C&&r.delete(C);break}case"value":{r.set(C,n(r.get(C)));break}}}return e},La=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return o},Ri=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Rw(e,t,n){if(n===void 0&&(n=[]),!!e){if(!Hi(e)){Al(e,function(l,c){return Rw(l,t,Ri(Ri([],La(n)),La(zu(c))))});return}var r=La(e,2),a=r[0],o=r[1];
49o&&Al(o,function(l,c){Rw(l,t,Ri(Ri([],La(n)),La(zu(c))))}),t(a,n)}}function xF(e,t,n){return Rw(t,function(r,a){e=Nw(e,a,function(o){return gF(o,r,n)})}),e}function bF(e,t){function n(l,c){var d=vF(e,zu(c));l.map(zu).forEach(function(f){e=Nw(e,f,function(){return d})})}if(Hi(t)){var r=La(t,2),a=r[0],o=r[1];a.forEach(function(l){e=Nw(e,zu(l),function(){return e})}),o&&Al(o,n)}else Al(t,n);return e}var wF=function(e,t){return Yu(e)||Hi(e)||Vu(e)||Zu(e)||D4(e,t)};function SF(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function CF(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(d){return d.map(String)}).sort(function(d,f){return d.length-f.length}));var o=La(a),l=o[0],c=o.slice(1);l.length===0?r=c.map(Vv):n[Vv(l)]=c.map(Vv)}}),r?Ew(n)?[r]:[r,n]:Ew(n)?void 0:n}var z4=function(e,t,n,r,a,o,l){var c;a===void 0&&(a=[]),o===void 0&&(o=[]),l===void 0&&(l=new Map);var d=uF(e);if(!d){SF(e,a,t);var f=l.get(e);if(f)return r?{transformedValue:null}:f}if(!wF(e,n)){var y=WT(e,n),m=y?{transformedValue:y.value,annotations:[y.type]}:{transformedValue:e};return d||l.set(e,m),m}if(Jp(o,e))return{transformedValue:null};var g=WT(e,n),b=(c=g?.value)!==null&&c!==void 0?c:e,C=Hi(b)?[]:{},x={};Al(b,function(M,T){var j=z4(M,t,n,r,Ri(Ri([],La(a)),[T]),Ri(Ri([],La(o)),[e]),l);C[T]=j.transformedValue,Hi(j.annotations)?x[T]=j.annotations:Yu(j.annotations)&&Al(j.annotations,function(E,P){x[j4(T)+"."+P]=E})});var w=Ew(x)?{transformedValue:C,annotations:g?[g.type]:void 0}:{transformedValue:C,annotations:g?[g.type,x]:x};return d||l.set(e,w),w};function B4(e){return Object.prototype.toString.call(e).slice(8,-1)}function GT(e){return B4(e)==="Array"}function MF(e){if(B4(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function OF(e,t,n,r,a){const o={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=n),a&&o==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Iw(e,t={}){if(GT(e))return e.map(a=>Iw(a,t));if(!MF(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,o)=>{if(GT(t.props)&&!t.props.includes(o))return a;const l=e[o],c=Iw(l,t);return OF(a,o,c,e,t.nonenumerable),a},{})}var No=function(){return No=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},No.apply(this,arguments)},TF=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,o=[],l;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(c){l={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(l)throw l.error}}return o},PF=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Qa=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new Q$,this.symbolRegistry=new T4(function(o){var l;return(l=o.description)!==null&&l!==void 0?l:""}),this.customTransformerRegistry=new tF,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=z4(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=No(No({},a.meta),{values:r.annotations}));var o=CF(n,this.dedupe);return o&&(a.meta=No(No({},a.meta),{referentialEqualities:o})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=Iw(n);return r?.values&&(a=xF(a,r.values,this)),r?.referentialEqualities&&(a=bF(a,r.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,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register(No({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,PF([],TF(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();Qa.serialize;Qa.deserialize;Qa.stringify;Qa.parse;Qa.registerClass;Qa.registerCustom;Qa.registerSymbol;Qa.allowErrorProps;var AF=(e,t,n,r,a,o,l,c)=>{let d=document.documentElement,f=["light","dark"];
vendor: 7,440 bytes, line 49
49function y(b){(Array.isArray(e)?e:[e]).forEach(C=>{let x=C==="class",w=x&&o?a.map(M=>o[M]||M):a;x?(d.classList.remove(...w),d.classList.add(o&&o[b]?o[b]:b)):d.setAttribute(C,b)}),m(b)}function m(b){c&&f.includes(b)&&(d.style.colorScheme=b)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)y(r);else try{let b=localStorage.getItem(t)||n,C=l&&b==="system"?g():b;y(C)}catch{}},jF=O.createContext(void 0),EF={setTheme:e=>{},themes:[]},kF=()=>{var e;return(e=O.useContext(jF))!=null?e:EF};O.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:o,value:l,themes:c,nonce:d,scriptProps:f})=>{let y=JSON.stringify([n,t,o,e,c,l,r,a]).slice(1,-1);return O.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(${AF.toString()})(${y})`}})});var Fd=O4();const q4=dt(Fd);function _F(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const DF=e=>{switch(e){case"success":return IF;case"info":return zF;case"warning":return LF;case"error":return BF;default:return null}},NF=Array(12).fill(0),RF=({visible:e,className:t})=>B.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},B.createElement("div",{className:"sonner-spinner"},NF.map((n,r)=>B.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),IF=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.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"})),LF=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},B.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"})),zF=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.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"})),BF=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.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"})),qF=B.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"},B.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),B.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),$F=()=>{const[e,t]=B.useState(document.hidden);return B.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Lw=1;class FF{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,o=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Lw++,l=this.toasts.find(d=>d.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(d=>d.id===o?(this.publish({...d,...t,id:o,title:r}),{...d,...t,id:o,dismissible:c,title:r}):d):this.addToast({title:r,...a,dismissible:c,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let o=r!==void 0,l;const c=a.then(async f=>{if(l=["resolve",f],B.isValidElement(f))o=!1,this.create({id:r,type:"default",message:f});else if(UF(f)&&!f.ok){o=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${f.status}`):n.error,g=typeof n.description=="function"?await n.description(`HTTP error! status: ${f.status}`):n.description,C=typeof m=="object"&&!B.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:g,...C})}else if(f instanceof Error){o=!1;const m=typeof n.error=="function"?await n.error(f):n.error,g=typeof n.description=="function"?await n.description(f):n.description,C=typeof m=="object"&&!B.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:g,...C})}else if(n.success!==void 0){o=!1;const m=typeof n.success=="function"?await n.success(f):n.success,g=typeof n.description=="function"?await n.description(f):n.description,C=typeof m=="object"&&!B.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:g,...C})}}).catch(async f=>{if(l=["reject",f],n.error!==void 0){o=!1;const y=typeof n.error=="function"?await n.error(f):n.error,m=typeof n.description=="function"?await n.description(f):n.description,b=typeof y=="object"&&!B.isValidElement(y)?y:{message:y};this.create({id:r,type:"error",description:m,...b})}}).finally(()=>{o&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),d=()=>new Promise((f,y)=>c.then(()=>l[0]==="reject"?y(l[1]):f(l[1])).catch(y));return typeof r!="string"&&typeof r!="number"?{unwrap:d}:Object.assign(r,{unwrap:d})},this.custom=(t,n)=>{const r=n?.id||Lw++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Dn=new FF,HF=(e,t)=>{const n=t?.id||Lw++;return Dn.addToast({title:e,...t,id:n}),n},UF=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",WF=HF,GF=()=>Dn.toasts,KF=()=>Dn.getActiveToasts();Object.assign(WF,{success:Dn.success,info:Dn.info,warning:Dn.warning,error:Dn.error,custom:Dn.custom,message:Dn.message,promise:Dn.promise,dismiss:Dn.dismiss,loading:Dn.loading},{getHistory:GF,getToasts:KF});_F
vendor: 4,787 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;
vendor: 10,086 bytes, line 49
49left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 617 bytes, line 49
49Mp(e){return e.label!==void 0}const YF=3,VF="24px",ZF="16px",KT=4e3,QF=356,XF=14,JF=45,eH=200;function Zr(...e){return e.filter(Boolean).join(" ")}function tH(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const nH=e=>{var t,n,r,a,o,l,c,d,f;const{invert:y,toast:m,unstyled:g,interacting:b,setHeights:C,visibleToasts:x,heights:w,index:M,toasts:T,expanded:j,removeToast:E,defaultRichColors:P,closeButton:k,style:A,cancelButtonStyle:D,actionButtonStyle:I,className:F="",descriptionClassName:L="",duration:q,position:U,gap:G,expandByDefault:K,classNames:N,icons:H,closeButtonAriaLabel:$="Close toast"}
vendor: 19,528 bytes, line 49
49=e,[V,oe]=B.useState(null),[z,Y]=B.useState(null),[Z,J]=B.useState(!1),[ce,pe]=B.useState(!1),[ie,he]=B.useState(!1),[ue,ye]=B.useState(!1),[ge,ae]=B.useState(!1),[ze,Te]=B.useState(0),[nt,Je]=B.useState(0),mt=B.useRef(m.duration||q||KT),Sn=B.useRef(null),Dt=B.useRef(null),Fr=M===0,zn=M+1<=x,Mt=m.type,tr=m.dismissible!==!1,Kt=m.className||"",ps=m.descriptionClassName||"",ro=B.useMemo(()=>w.findIndex(ke=>ke.toastId===m.id)||0,[w,m.id]),af=B.useMemo(()=>{var ke;return(ke=m.closeButton)!=null?ke:k},[m.closeButton,k]),ao=B.useMemo(()=>m.duration||q||KT,[m.duration,q]),Mc=B.useRef(0),ma=B.useRef(0),of=B.useRef(0),ni=B.useRef(null),[io,hn]=U.split("-"),Cr=B.useMemo(()=>w.reduce((ke,wt,Yt)=>Yt>=ro?ke:ke+wt.height,0),[w,ro]),ln=$F(),Ay=m.invert||y,Oc=Mt==="loading";ma.current=B.useMemo(()=>ro*G+Cr,[ro,Cr]),B.useEffect(()=>{mt.current=ao},[ao]),B.useEffect(()=>{J(!0)},[]),B.useEffect(()=>{const ke=Dt.current;if(ke){const wt=ke.getBoundingClientRect().height;return Je(wt),C(Yt=>[{toastId:m.id,height:wt,position:m.position},...Yt]),()=>C(Yt=>Yt.filter(cn=>cn.toastId!==m.id))}},[C,m.id]),B.useLayoutEffect(()=>{if(!Z)return;const ke=Dt.current,wt=ke.style.height;ke.style.height="auto";const Yt=ke.getBoundingClientRect().height;ke.style.height=wt,Je(Yt),C(cn=>cn.find(Ot=>Ot.toastId===m.id)?cn.map(Ot=>Ot.toastId===m.id?{...Ot,height:Yt}:Ot):[{toastId:m.id,height:Yt,position:m.position},...cn])},[Z,m.title,m.description,C,m.id,m.jsx,m.action,m.cancel]);const Hr=B.useCallback(()=>{pe(!0),Te(ma.current),C(ke=>ke.filter(wt=>wt.toastId!==m.id)),setTimeout(()=>{E(m)},eH)},[m,E,C,ma]);B.useEffect(()=>{if(m.promise&&Mt==="loading"||m.duration===1/0||m.type==="loading")return;let ke;return j||b||ln?(()=>{if(of.current<Mc.current){const cn=new Date().getTime()-Mc.current;mt.current=mt.current-cn}of.current=new Date().getTime()})():(()=>{mt.current!==1/0&&(Mc.current=new Date().getTime(),ke=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Hr()},mt.current))})(),()=>clearTimeout(ke)},[j,b,m,Mt,ln,Hr]),B.useEffect(()=>{m.delete&&(Hr(),m.onDismiss==null||m.onDismiss.call(m,m))},[Hr,m.delete]);function ms(){var ke;if(H?.loading){var wt;return B.createElement("div",{className:Zr(N?.loader,m==null||(wt=m.classNames)==null?void 0:wt.loader,"sonner-loader"),"data-visible":Mt==="loading"},H.loading)}return B.createElement(RF,{className:Zr(N?.loader,m==null||(ke=m.classNames)==null?void 0:ke.loader),visible:Mt==="loading"})}const hs=m.icon||H?.[Mt]||DF(Mt);var oo,Ur;return B.createElement("li",{tabIndex:0,ref:Dt,className:Zr(F,Kt,N?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,N?.default,N?.[Mt],m==null||(n=m.classNames)==null?void 0:n[Mt]),"data-sonner-toast":"","data-rich-colors":(oo=m.richColors)!=null?oo:P,"data-styled":!(m.jsx||m.unstyled||g),"data-mounted":Z,"data-promise":!!m.promise,"data-swiped":ge,"data-removed":ce,"data-visible":zn,"data-y-position":io,"data-x-position":hn,"data-index":M,"data-front":Fr,"data-swiping":ie,"data-dismissible":tr,"data-type":Mt,"data-invert":Ay,"data-swipe-out":ue,"data-swipe-direction":z,"data-expanded":!!(j||K&&Z),"data-testid":m.testId,style:{"--index":M,"--toasts-before":M,"--z-index":T.length-M,"--offset":`${ce?ze:ma.current}px`,"--initial-height":K?"auto":`${nt}px`,...A,...m.style},onDragEnd:()=>{he(!1),oe(null),ni.current=null},onPointerDown:ke=>{ke.button!==2&&(Oc||!tr||(Sn.current=new Date,Te(ma.current),ke.target.setPointerCapture(ke.pointerId),ke.target.tagName!=="BUTTON"&&(he(!0),ni.current={x:ke.clientX,y:ke.clientY})))},onPointerUp:()=>{var ke,wt,Yt;if(ue||!tr)return;ni.current=null;const cn=Number(((ke=Dt.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ri=Number(((wt=Dt.current)==null?void 0:wt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ot=new Date().getTime()-((Yt=Sn.current)==null?void 0:Yt.getTime()),Cn=V==="x"?cn:ri,so=Math.abs(Cn)/Ot;if(Math.abs(Cn)>=JF||so>.11){Te(ma.current),m.onDismiss==null||m.onDismiss.call(m,m),Y(V==="x"?cn>0?"right":"left":ri>0?"down":"up"),Hr(),ye(!0);return}else{var Mn,On;(Mn=Dt.current)==null||Mn.style.setProperty("--swipe-amount-x","0px"),(On=Dt.current)==null||On.style.setProperty("--swipe-amount-y","0px")}ae(!1),he(!1),oe(null)},onPointerMove:ke=>{var wt,Yt,cn;if(!ni.current||!tr||((wt=window.getSelection())==null?void 0:wt.toString().length)>0)return;const Ot=ke.clientY-ni.current.y,Cn=ke.clientX-ni.current.x;var so;const Mn=(so=e.swipeDirections)!=null?so:tH(U);!V&&(Math.abs(Cn)>1||Math.abs(Ot)>1)&&oe(Math.abs(Cn)>Math.abs(Ot)?"x":"y");let On={x:0,y:0};const ys=Mr=>1/(1.5+Math.abs(Mr)/20);if(V==="y"){if(Mn.includes("top")||Mn.includes("bottom"))if(Mn.includes("top")&&Ot<0||Mn.includes("bottom")&&Ot>0)On.y=Ot;else{const Mr=Ot*ys(Ot);On.y=Math.abs(Mr)<Math.abs(Ot)?Mr:Ot}}else if(V==="x"&&(Mn.includes("left")||Mn.includes("right")))if(Mn.includes("left")&&Cn<0||Mn.includes("right")&&Cn>0)On.x=Cn;else{const Mr=Cn*ys(Cn);On.x=Math.abs(Mr)<Math.abs(Cn)?Mr:Cn}(Math.abs(On.x)>0||Math.abs(On.y)>0)&&ae(!0),(Yt=Dt.current)==null||Yt.style.setProperty("--swipe-amount-x",`${On.x}px`),(cn=Dt.current)==null||cn.style.setProperty("--swipe-amount-y",`${On.y}px`)}},af&&!m.jsx&&Mt!=="loading"?B.createElement("button",{"aria-label":$,"data-disabled":Oc,"data-close-button":!0,onClick:Oc||!tr?()=>{}:()=>{Hr(),m.onDismiss==null||m.onDismiss.call(m,m)},className:Zr(N?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(Ur=H?.close)!=null?Ur:qF):null,(Mt||m.icon||m.promise)&&m.icon!==null&&(H?.[Mt]!==null||m.icon)?B.createElement("div",{"data-icon":"",className:Zr(N?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||ms():null,m.type!=="loading"?hs:null):null,B.createElement("div",{"data-content":"",className:Zr(N?.content,m==null||(o=m.classNames)==null?void 0:o.content)},B.createElement("div",{"data-title":"",className:Zr(N?.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?B.createElement("div",{"data-description":"",className:Zr(L,ps,N?.description,m==null||(c=m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),B.isValidElement(m.cancel)?m.cancel:m.cancel&&Mp(m.cancel)?B.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||D,onClick:ke=>{Mp(m.cancel)&&tr&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,ke),Hr())},className:Zr(N?.cancelButton,m==null||(d=m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,B.isValidElement(m.action)?m.action:m.action&&Mp(m.action)?B.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||I,onClick:ke=>{Mp(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,ke),!ke.defaultPrevented&&Hr())},className:Zr(N?.actionButton,m==null||(f=m.classNames)==null?void 0:f.actionButton)},m.action.label):null)};function YT(){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 rH(e,t){const n={};return[e,t].forEach((r,a)=>{const o=a===1,l=o?"--mobile-offset":"--offset",c=o?ZF:VF;function d(f){["top","right","bottom","left"].forEach(y=>{n[`${l}-${y}`]=typeof f=="number"?`${f}px`:f})}typeof r=="number"||typeof r=="string"?d(r):typeof r=="object"?["top","right","bottom","left"].forEach(f=>{r[f]===void 0?n[`${l}-${f}`]=c:n[`${l}-${f}`]=typeof r[f]=="number"?`${r[f]}px`:r[f]}):d(c)}),n}const aH=B.forwardRef(function(t,n){const{id:r,invert:a,position:o="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:f,offset:y,mobileOffset:m,theme:g="light",richColors:b,duration:C,style:x,visibleToasts:w=YF,toastOptions:M,dir:T=YT(),gap:j=XF,icons:E,containerAriaLabel:P="Notifications"}=t,[k,A]=B.useState([]),D=B.useMemo(()=>r?k.filter(Z=>Z.toasterId===r):k.filter(Z=>!Z.toasterId),[k,r]),I=B.useMemo(()=>Array.from(new Set([o].concat(D.filter(Z=>Z.position).map(Z=>Z.position)))),[D,o]),[F,L]=B.useState([]),[q,U]=B.useState(!1),[G,K]=B.useState(!1),[N,H]=B.useState(g!=="system"?g:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=B.useRef(null),V=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),oe=B.useRef(null),z=B.useRef(!1),Y=B.useCallback(Z=>{A(J=>{var ce;return(ce=J.find(pe=>pe.id===Z.id))!=null&&ce.delete||Dn.dismiss(Z.id),J.filter(({id:pe})=>pe!==Z.id)})},[]);return B.useEffect(()=>Dn.subscribe(Z=>{if(Z.dismiss){requestAnimationFrame(()=>{A(J=>J.map(ce=>ce.id===Z.id?{...ce,delete:!0}:ce))});return}setTimeout(()=>{q4.flushSync(()=>{A(J=>{const ce=J.findIndex(pe=>pe.id===Z.id);return ce!==-1?[...J.slice(0,ce),{...J[ce],...Z},...J.slice(ce+1)]:[Z,...J]})})})}),[k]),B.useEffect(()=>{if(g!=="system"){H(g);return}if(g==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const Z=window.matchMedia("(prefers-color-scheme: dark)");try{Z.addEventListener("change",({matches:J})=>{H(J?"dark":"light")})}catch{Z.addListener(({matches:ce})=>{try{H(ce?"dark":"light")}catch(pe){console.error(pe)}})}},[g]),B.useEffect(()=>{k.length<=1&&U(!1)},[k]),B.useEffect(()=>{const Z=J=>{var ce;if(l.every(he=>J[he]||J.code===he)){var ie;U(!0),(ie=$.current)==null||ie.focus()}J.code==="Escape"&&(document.activeElement===$.current||(ce=$.current)!=null&&ce.contains(document.activeElement))&&U(!1)};return document.addEventListener("keydown",Z),()=>document.removeEventListener("keydown",Z)},[l]),B.useEffect(()=>{if($.current)return()=>{oe.current&&(oe.current.focus({preventScroll:!0}),oe.current=null,z.current=!1)}},[$.current]),B.createElement("section",{ref:n,"aria-label":`${P} ${V}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},I.map((Z,J)=>{var ce;const[pe,ie]=Z.split("-");return D.length?B.createElement("ol",{key:Z,dir:T==="auto"?YT():T,tabIndex:-1,ref:$,className:f,"data-sonner-toaster":!0,"data-sonner-theme":N,"data-y-position":pe,"data-x-position":ie,style:{"--front-toast-height":`${((ce=F[0])==null?void 0:ce.height)||0}px`,"--width":`${QF}px`,"--gap":`${j}px`,...x,...rH(y,m)},onBlur:he=>{z.current&&!he.currentTarget.contains(he.relatedTarget)&&(z.current=!1,oe.current&&(oe.current.focus({preventScroll:!0}),oe.current=null))},onFocus:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||z.current||(z.current=!0,oe.current=he.relatedTarget)},onMouseEnter:()=>U(!0),onMouseMove:()=>U(!0),onMouseLeave:()=>{G||U(!1)},onDragEnd:()=>U(!1),onPointerDown:he=>{he.target instanceof HTMLElement&&he.target.dataset.dismissible==="false"||K(!0)},onPointerUp:()=>K(!1)},D.filter(he=>!he.position&&J===0||he.position===Z).map((he,ue)=>{var ye,ge;return B.createElement(nH,{key:he.id,icons:E,index:ue,toast:he,defaultRichColors:b,duration:(ye=M?.duration)!=null?ye:C,className:M?.className,descriptionClassName:M?.descriptionClassName,invert:a,visibleToasts:w,closeButton:(ge=M?.closeButton)!=null?ge:d,interacting:G,position:Z,style:M?.style,unstyled:M?.unstyled,classNames:M?.classNames,cancelButtonStyle:M?.cancelButtonStyle,actionButtonStyle:M?.actionButtonStyle,closeButtonAriaLabel:M?.closeButtonAriaLabel,removeToast:Y,toasts:D.filter(ae=>ae.position==he.position),heights:F.filter(ae=>ae.position==he.position),setHeights:L,expandByDefault:c,gap:j,expanded:q,swipeDirections:t.swipeDirections})})):null}))}),iH=({...e})=>{const{theme:t="system"}=kF();return p.jsx(aH,{"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 xe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function VT(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Th(...e){return t=>{let n=!1;const r=e.map(a=>{const o=VT(a,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let a=0;a<r.length;a++){const o=r[a];typeof o=="function"?o():VT(e[a],null)}}}}function Ke(...e){return O.useCallback(Th(...e),e)}function oH(e,t){const n=O.createContext(t),r=o=>{const{children:l,...c}=o,d=O.useMemo(()=>c,Object.values(c));return p.jsx(n.Provider,{value:d,children:l})};r.displayName=e+"Provider";function a(o){const l=O.useContext(n);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,a]}function ua(e,t=[]){let n=[];function r(o,l){const c=O.createContext(l),d=n.length;n=[...n,l];const f=m=>{const{scope:g,children:b,...C}=m,x=g?.[e]?.[d]||c,w=O.useMemo(()=>C,Object.values(C));return p.jsx(x.Provider,{value:w,children:b})};f.displayName=o+"Provider";function y(m,g){const b=g?.[e]?.[d]||c,C=O.useContext(b);if(C)return C;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${o}\``)}return[f,y]}const a=()=>{const o=n.map(l=>O.createContext(l));return function(c){const d=c?.[e]||o;return O.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return a.scopeName=e,[r,sH(a,...t)]}function sH(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(o){const l=r.reduce((c,{useScope:d,scopeName:f})=>{const m=d(o)[`__scope${f}`];return{...c,...m}},{});return O.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Uo(e){const t=lH(e),n=O.forwardRef((r,a)=>{const{children:o,...l}=r,c=O.Children.toArray(o),d=c.find(uH);if(d){const f=d.props.children,y=c.map(m=>m===d?O.Children.count(f)>1?O.Children.only(null):O.isValidElement(f)?f.props.children:null:m);return p.jsx(t,{...l,ref:a,children:O.isValidElement(f)?O.cloneElement(f,void 0,y):null})}return p.jsx(t,{...l,ref:a,children:o})});return n.displayName=`${e}.Slot`,n}var LS=Uo("Slot");function lH(e){const t=O.forwardRef((n,r)=>{const{children:a,...o}=n;if(O.isValidElement(a)){const l=fH(a),c=dH(o,a.props);return a.type!==O.Fragment&&(c.ref=r?Th(r,l):l),O.cloneElement(a,c)}return O.Children.count(a)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $4=Symbol("radix.slottable");function cH(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=$4,t}function uH(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$4}function dH(e,t){const n={...t};for(const r in t){const a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...c)=>{const d=o(...c);return a(...c),d}:a&&(n[r]=a):r==="style"?n[r]={...a,...o}:r==="className"&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}function fH(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],De=pH.reduce((e,t)=>{const n=Uo(`Primitive.${t}`),r=O.forwardRef((a,o)=>{const{asChild:l,...c}=a,d=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(d,{...c,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function F4(e,t){e&&Fd.flushSync(()=>e.dispatchEvent(t))}function Rr(e){const t=O.useRef(e);return O.useEffect(()=>{t.current=e}),O.useMemo(()=>(...n)=>t.current?.(...n),[])}function mH(e,t=globalThis?.document){const n=Rr(e);O.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var hH="DismissableLayer",zw="dismissableLayer.update",yH="dismissableLayer.pointerDownOutside",gH="dismissableLayer.focusOutside",ZT,H4=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Hd=O.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...d}=e,f=O.useContext(H4),[y,m]=O.useState(null),g=y?.ownerDocument??globalThis?.document,[,b]=O.useState({}),C=Ke(t,A=>m(A)),x=Array.from(f.layers),[w]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),M=x.indexOf(w),T=y?x.indexOf(y):-1,j=f.layersWithOutsidePointerEventsDisabled.size>0,E=T>=M,P=bH(A=>{const D=A.target,I=[...f.branches].some(F=>F.contains(D));!E||I||(a?.(A),l?.(A),A.defaultPrevented||c?.())},g),k=wH(A=>{const D=A.target;[...f.branches].some(F=>F.contains(D))||(o?.(A),l?.(A),A.defaultPrevented||c?.())},g);return mH(A=>{T===f.layers.size-1&&(r?.(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},g),O.useEffect(()=>{if(y)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ZT=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(y)),f.layers.add(y),QT(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=ZT)}},[y,g,n,f]),O.useEffect(()=>()=>{y&&(f.layers.delete(y),f.layersWithOutsidePointerEventsDisabled.delete(y),QT())},[y,f]),O.useEffect(()=>{const A=()=>b({});return document.addEventListener(zw,A),()=>document.removeEventListener(zw,A)},[]),p.jsx(De.div,{...d,ref:C,style:{pointerEvents:j?E?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,P.onPointerDownCapture)})});Hd.displayName=hH;var vH="DismissableLayerBranch",xH=O.forwardRef((e,t)=>{const n=O.useContext(H4),r=O.useRef(null),a=Ke(t,r);return O.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),p.jsx(De.div,{...e,ref:a})});xH.displayName=vH;function bH(e,t=globalThis?.document){const n=Rr(e),r=O.useRef(!1),a=O.useRef(()=>{});return O.useEffect(()=>{const o=c=>{if(c.target&&!r.current){let d=function(){U4(yH,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=d,t.addEventListener("click",a.current,{once:!0})):d()}else t.removeEventListener("click",a.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function wH(e,t=globalThis?.document){const n=Rr(e),r=O.useRef(!1);return O.useEffect(()=>{const a=o=>{o.target&&!r.current&&U4(gH,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function QT(){const e=new CustomEvent(zw);document.dispatchEvent(e)}function U4(e,t,n,{discrete:r}){const a=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?F4(a,o):a.dispatchEvent(o)}var Wt=globalThis?.document?O.useLayoutEffect:()=>{},SH=xh[" useId ".trim().toString()]||(()=>{}),CH=0;function na(e){const[t,n]=O.useState(SH());return Wt(()=>{n(r=>r??String(CH++))},[e]),e||(t?`radix-${t}`:"")}const MH=["top","right","bottom","left"],Ui=Math.min,Qn=Math.max,im=Math.round,Op=Math.floor,ra=e=>({x:e,y:e}
vendor: 18,649 bytes, line 49
49),OH={left:"right",right:"left",bottom:"top",top:"bottom"},TH={start:"end",end:"start"};function Bw(e,t,n){return Qn(e,Ui(t,n))}function Ga(e,t){return typeof e=="function"?e(t):e}function Ka(e){return e.split("-")[0]}function nc(e){return e.split("-")[1]}function zS(e){return e==="x"?"y":"x"}function BS(e){return e==="y"?"height":"width"}const PH=new Set(["top","bottom"]);function Jr(e){return PH.has(Ka(e))?"y":"x"}function qS(e){return zS(Jr(e))}function AH(e,t,n){n===void 0&&(n=!1);const r=nc(e),a=qS(e),o=BS(a);let l=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=om(l)),[l,om(l)]}function jH(e){const t=om(e);return[qw(e),t,qw(t)]}function qw(e){return e.replace(/start|end/g,t=>TH[t])}const XT=["left","right"],JT=["right","left"],EH=["top","bottom"],kH=["bottom","top"];function _H(e,t,n){switch(e){case"top":case"bottom":return n?t?JT:XT:t?XT:JT;case"left":case"right":return t?EH:kH;default:return[]}}function DH(e,t,n,r){const a=nc(e);let o=_H(Ka(e),n==="start",r);return a&&(o=o.map(l=>l+"-"+a),t&&(o=o.concat(o.map(qw)))),o}function om(e){return e.replace(/left|right|bottom|top/g,t=>OH[t])}function NH(e){return{top:0,right:0,bottom:0,left:0,...e}}function W4(e){return typeof e!="number"?NH(e):{top:e,right:e,bottom:e,left:e}}function sm(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function eP(e,t,n){let{reference:r,floating:a}=e;const o=Jr(t),l=qS(t),c=BS(l),d=Ka(t),f=o==="y",y=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,g=r[c]/2-a[c]/2;let b;switch(d){case"top":b={x:y,y:r.y-a.height};break;case"bottom":b={x:y,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:m};break;case"left":b={x:r.x-a.width,y:m};break;default:b={x:r.x,y:r.y}}switch(nc(t)){case"start":b[l]-=g*(n&&f?-1:1);break;case"end":b[l]+=g*(n&&f?-1:1);break}return b}const RH=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:l}=n,c=o.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:y,y:m}=eP(f,r,d),g=r,b={},C=0;for(let x=0;x<c.length;x++){const{name:w,fn:M}=c[x],{x:T,y:j,data:E,reset:P}=await M({x:y,y:m,initialPlacement:r,placement:g,strategy:a,middlewareData:b,rects:f,platform:l,elements:{reference:e,floating:t}});y=T??y,m=j??m,b={...b,[w]:{...b[w],...E}},P&&C<=50&&(C++,typeof P=="object"&&(P.placement&&(g=P.placement),P.rects&&(f=P.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:a}):P.rects),{x:y,y:m}=eP(f,g,d)),x=-1)}return{x:y,y:m,placement:g,strategy:a,middlewareData:b}};async function Qu(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:o,rects:l,elements:c,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:g=!1,padding:b=0}=Ga(t,e),C=W4(b),w=c[g?m==="floating"?"reference":"floating":m],M=sm(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(w)))==null||n?w:w.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:f,rootBoundary:y,strategy:d})),T=m==="floating"?{x:r,y:a,width:l.floating.width,height:l.floating.height}:l.reference,j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),E=await(o.isElement==null?void 0:o.isElement(j))?await(o.getScale==null?void 0:o.getScale(j))||{x:1,y:1}:{x:1,y:1},P=sm(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:j,strategy:d}):T);return{top:(M.top-P.top+C.top)/E.y,bottom:(P.bottom-M.bottom+C.bottom)/E.y,left:(M.left-P.left+C.left)/E.x,right:(P.right-M.right+C.right)/E.x}}const IH=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:l,elements:c,middlewareData:d}=t,{element:f,padding:y=0}=Ga(e,t)||{};if(f==null)return{};const m=W4(y),g={x:n,y:r},b=qS(a),C=BS(b),x=await l.getDimensions(f),w=b==="y",M=w?"top":"left",T=w?"bottom":"right",j=w?"clientHeight":"clientWidth",E=o.reference[C]+o.reference[b]-g[b]-o.floating[C],P=g[b]-o.reference[b],k=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let A=k?k[j]:0;(!A||!await(l.isElement==null?void 0:l.isElement(k)))&&(A=c.floating[j]||o.floating[C]);const D=E/2-P/2,I=A/2-x[C]/2-1,F=Ui(m[M],I),L=Ui(m[T],I),q=F,U=A-x[C]-L,G=A/2-x[C]/2+D,K=Bw(q,G,U),N=!d.arrow&&nc(a)!=null&&G!==K&&o.reference[C]/2-(G<q?F:L)-x[C]/2<0,H=N?G<q?G-q:G-U:0;return{[b]:g[b]+H,data:{[b]:K,centerOffset:G-K-H,...N&&{alignmentOffset:H}},reset:N}}}),LH=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:l,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:y=!0,crossAxis:m=!0,fallbackPlacements:g,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...w}=Ga(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const M=Ka(a),T=Jr(c),j=Ka(c)===c,E=await(d.isRTL==null?void 0:d.isRTL(f.floating)),P=g||(j||!x?[om(c)]:jH(c)),k=C!=="none";!g&&k&&P.push(...DH(c,x,C,E));const A=[c,...P],D=await Qu(t,w),I=[];let F=((r=o.flip)==null?void 0:r.overflows)||[];if(y&&I.push(D[M]),m){const G=AH(a,l,E);I.push(D[G[0]],D[G[1]])}if(F=[...F,{placement:a,overflows:I}],!I.every(G=>G<=0)){var L,q;const G=(((L=o.flip)==null?void 0:L.index)||0)+1,K=A[G];if(K&&(!(m==="alignment"?T!==Jr(K):!1)||F.every($=>Jr($.placement)===T?$.overflows[0]>0:!0)))return{data:{index:G,overflows:F},reset:{placement:K}};let N=(q=F.filter(H=>H.overflows[0]<=0).sort((H,$)=>H.overflows[1]-$.overflows[1])[0])==null?void 0:q.placement;if(!N)switch(b){case"bestFit":{var U;const H=(U=F.filter($=>{if(k){const V=Jr($.placement);return V===T||V==="y"}return!0}).map($=>[$.placement,$.overflows.filter(V=>V>0).reduce((V,oe)=>V+oe,0)]).sort(($,V)=>$[1]-V[1])[0])==null?void 0:U[0];H&&(N=H);break}case"initialPlacement":N=c;break}if(a!==N)return{reset:{placement:N}}}return{}}}};function tP(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nP(e){return MH.some(t=>e[t]>=0)}const zH=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Ga(e,t);switch(r){case"referenceHidden":{const o=await Qu(t,{...a,elementContext:"reference"}),l=tP(o,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:nP(l)}}}case"escaped":{const o=await Qu(t,{...a,altBoundary:!0}),l=tP(o,n.floating);return{data:{escapedOffsets:l,escaped:nP(l)}}}default:return{}}}}},G4=new Set(["left","top"]);async function BH(e,t){const{placement:n,platform:r,elements:a}=e,o=await(r.isRTL==null?void 0:r.isRTL(a.floating)),l=Ka(n),c=nc(n),d=Jr(n)==="y",f=G4.has(l)?-1:1,y=o&&d?-1:1,m=Ga(t,e);let{mainAxis:g,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),d?{x:b*y,y:g*f}:{x:g*f,y:b*y}}const qH=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:l,middlewareData:c}=t,d=await BH(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+d.x,y:o+d.y,data:{...d,placement:l}}}}},$H=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:c={fn:w=>{let{x:M,y:T}=w;return{x:M,y:T}}},...d}=Ga(e,t),f={x:n,y:r},y=await Qu(t,d),m=Jr(Ka(a)),g=zS(m);let b=f[g],C=f[m];if(o){const w=g==="y"?"top":"left",M=g==="y"?"bottom":"right",T=b+y[w],j=b-y[M];b=Bw(T,b,j)}if(l){const w=m==="y"?"top":"left",M=m==="y"?"bottom":"right",T=C+y[w],j=C-y[M];C=Bw(T,C,j)}const x=c.fn({...t,[g]:b,[m]:C});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[g]:o,[m]:l}}}}}},FH=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:f=!0}=Ga(e,t),y={x:n,y:r},m=Jr(a),g=zS(m);let b=y[g],C=y[m];const x=Ga(c,t),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(d){const j=g==="y"?"height":"width",E=o.reference[g]-o.floating[j]+w.mainAxis,P=o.reference[g]+o.reference[j]-w.mainAxis;b<E?b=E:b>P&&(b=P)}if(f){var M,T;const j=g==="y"?"width":"height",E=G4.has(Ka(a)),P=o.reference[m]-o.floating[j]+(E&&((M=l.offset)==null?void 0:M[m])||0)+(E?0:w.crossAxis),k=o.reference[m]+o.reference[j]+(E?0:((T=l.offset)==null?void 0:T[m])||0)-(E?w.crossAxis:0);C<P?C=P:C>k&&(C=k)}return{[g]:b,[m]:C}}}},HH=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:o,platform:l,elements:c}=t,{apply:d=()=>{},...f}=Ga(e,t),y=await Qu(t,f),m=Ka(a),g=nc(a),b=Jr(a)==="y",{width:C,height:x}=o.floating;let w,M;m==="top"||m==="bottom"?(w=m,M=g===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(M=m,w=g==="end"?"top":"bottom");const T=x-y.top-y.bottom,j=C-y.left-y.right,E=Ui(x-y[w],T),P=Ui(C-y[M],j),k=!t.middlewareData.shift;let A=E,D=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(D=j),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(A=T),k&&!g){const F=Qn(y.left,0),L=Qn(y.right,0),q=Qn(y.top,0),U=Qn(y.bottom,0);b?D=C-2*(F!==0||L!==0?F+L:Qn(y.left,y.right)):A=x-2*(q!==0||U!==0?q+U:Qn(y.top,y.bottom))}await d({...t,availableWidth:D,availableHeight:A});const I=await l.getDimensions(c.floating);return C!==I.width||x!==I.height?{reset:{rects:!0}}:{}}}};function Ph(){return typeof window<"u"}function rc(e){return K4(e)?(e.nodeName||"").toLowerCase():"#document"}function er(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function da(e){var t;return(t=(K4(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function K4(e){return Ph()?e instanceof Node||e instanceof er(e).Node:!1}function Ir(e){return Ph()?e instanceof Element||e instanceof er(e).Element:!1}function oa(e){return Ph()?e instanceof HTMLElement||e instanceof er(e).HTMLElement:!1}function rP(e){return!Ph()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof er(e).ShadowRoot}const UH=new Set(["inline","contents"]);function Ud(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Lr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!UH.has(a)}const WH=new Set(["table","td","th"]);function GH(e){return WH.has(rc(e))}const KH=[":popover-open",":modal"];function Ah(e){return KH.some(t=>{try{return e.matches(t)}catch{return!1}})}const YH=["transform","translate","scale","rotate","perspective"],VH=["transform","translate","scale","rotate","perspective","filter"],ZH=["paint","layout","strict","content"];function $S(e){const t=FS(),n=Ir(e)?Lr(e):e;return YH.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||VH.some(r=>(n.willChange||"").includes(r))||ZH.some(r=>(n.contain||"").includes(r))}function QH(e){let t=Wi(e);for(;oa(t)&&!jl(t);){if($S(t))return t;if(Ah(t))return null;t=Wi(t)}return null}function FS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const XH=new Set(["html","body","#document"]);function jl(e){return XH.has(rc(e))}function Lr(e){return er(e).getComputedStyle(e)}function jh(e){return Ir(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Wi(e){if(rc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||rP(e)&&e.host||da(e);return rP(t)?t.host:t}function Y4(e){const t=Wi(e);return jl(t)?e.ownerDocument?e.ownerDocument.body:e.body:oa(t)&&Ud(t)?t:Y4(t)}function Xu(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=Y4(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),l=er(a);if(o){const c=$w(l);return t.concat(l,l.visualViewport||[],Ud(a)?a:[],c&&n?Xu(c):[])}return t.concat(a,Xu(a,[],n))}function $w(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function V4(e){const t=Lr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=oa(e),o=a?e.offsetWidth:n,l=a?e.offsetHeight:r,c=im(n)!==o||im(r)!==l;return c&&(n=o,r=l),{width:n,height:r,$:c}}function HS(e){return Ir(e)?e:e.contextElement}function wl(e){const t=HS(e);if(!oa(t))return ra(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:o}=V4(t);let l=(o?im(n.width):n.width)/r,c=(o?im(n.height):n.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const JH=ra(0);function Z4(e){const t=er(e);return!FS()||!t.visualViewport?JH:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function eU(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==er(e)?!1:t}function Wo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=HS(e);let l=ra(1);t&&(r?Ir(r)&&(l=wl(r)):l=wl(e));const c=eU(o,n,r)?Z4(o):ra(0);let d=(a.left+c.x)/l.x,f=(a.top+c.y)/l.y,y=a.width/l.x,m=a.height/l.y;if(o){const g=er(o),b=r&&Ir(r)?er(r):r;let C=g,x=$w(C);for(;x&&r&&b!==C;){const w=wl(x),M=x.getBoundingClientRect(),T=Lr(x),j=M.left+(x.clientLeft+parseFloat(T.paddingLeft))*w.x,E=M.top+(x.clientTop+parseFloat(T.paddingTop))*w.y;d*=w.x,f*=w.y,y*=w.x,m*=w.y,d+=j,f+=E,C=er(x),x=$w(C)}}return sm({width:y,height:m,x:d,y:f})}function Eh(e,t){const n=jh(e).scrollLeft;return t?t.left+n:Wo(da(e)).left+n}function Q4(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Eh(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function tU(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o=a==="fixed",l=da(r),c=t?Ah(t.floating):!1;if(r===l||c&&o)return n;let d={scrollLeft:0,scrollTop:0},f=ra(1);const y=ra(0),m=oa(r);if((m||!m&&!o)&&((rc(r)!=="body"||Ud(l))&&(d=jh(r)),oa(r))){const b=Wo(r);f=wl(r),y.x=b.x+r.clientLeft,y.y=b.y+r.clientTop}const g=l&&!m&&!o?Q4(l,d):ra(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+y.x+g.x,y:n.y*f.y-d.scrollTop*f.y+y.y+g.y}}function nU(e){return Array.from(e.getClientRects())}function rU(e){const t=da(e),n=jh(e),r=e.ownerDocument.body,a=Qn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Qn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Eh(e);const c=-n.scrollTop;return Lr(r).direction==="rtl"&&(l+=Qn(t.clientWidth,r.clientWidth)-a),{width:a,height:o,x:l,y:c}}const aP=25;function aU(e,t){const n=er(e),r=da(e),a=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,c=0,d=0;if(a){o=a.width,l=a.height;const y=FS();(!y||y&&t==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}const f=Eh(r);if(f<=0){const y=r.ownerDocument,m=y.body,g=getComputedStyle(m),b=y.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,C=Math.abs(r.clientWidth-m.clientWidth-b);C<=aP&&(o-=C)}else f<=aP&&(o+=f);return{width:o,height:l,x:c,y:d}}const iU=new Set(["absolute","fixed"]);function oU(e,t){const n=Wo(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=oa(e)?wl(e):ra(1),l=e.clientWidth*o.x,c=e.clientHeight*o.y,d=a*o.x,f=r*o.y;return{width:l,height:c,x:d,y:f}}function iP(e,t,n){let r;if(t==="viewport")r=aU(e,n);else if(t==="document")r=rU(da(e));else if(Ir(t))r=oU(t,n);else{const a=Z4(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return sm(r)}function X4(e,t){const n=Wi(e);return n===t||!Ir(n)||jl(n)?!1:Lr(n).position==="fixed"||X4(n,t)}function sU(e,t){const n=t.get(e);if(n)return n;let r=Xu(e,[],!1).filter(c=>Ir(c)&&rc(c)!=="body"),a=null;const o=Lr(e).position==="fixed";let l=o?Wi(e):e;for(;Ir(l)&&!jl(l);){const c=Lr(l),d=$S(l);!d&&c.position==="fixed"&&(a=null),(o?!d&&!a:!d&&c.position==="static"&&!!a&&iU.has(a.position)||Ud(l)&&!d&&X4(e,l))?r=r.filter(y=>y!==l):a=c,l=Wi(l)}return t.set(e,r),r}function lU(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const l=[...n==="clippingAncestors"?Ah(t)?[]:sU(t,this._c):[].concat(n),r],c=l[0],d=l.reduce((f,y)=>{const m=iP(t,y,a);return f.top=Qn(m.top,f.top),f.right=Ui(m.right,f.right),f.bottom=Ui(m.bottom,f.bottom),f.left=Qn(m.left,f.left),f},iP(t,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function cU(e){const{width:t,height:n}=V4(e);return{width:t,height:n}}function uU(e,t,n){const r=oa(t),a=da(t),o=n==="fixed",l=Wo(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const d=ra(0);function f(){d.x=Eh(a)}if(r||!r&&!o)if((rc(t)!=="body"||Ud(a))&&(c=jh(t)),r){const b=Wo(t,!0,o,t);d.x=b.x+t.clientLeft,d.y=b.y+t.clientTop}else a&&f();o&&!r&&a&&f();const y=a&&!r&&!o?Q4(a,c):ra(0),m=l.left+c.scrollLeft-d.x-y.x,g=l.top+c.scrollTop-d.y-y.y;return{x:m,y:g,width:l.width,height:l.height}}function Zv(e){return Lr(e).position==="static"}function oP(e,t){if(!oa(e)||Lr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return da(e)===n&&(n=n.ownerDocument.body),n}function J4(e,t){const n=er(e);if(Ah(e))return n;if(!oa(e)){let a=Wi(e);for(;a&&!jl(a);){if(Ir(a)&&!Zv(a))return a;a=Wi(a)}return n}let r=oP(e,t);for(;r&&GH(r)&&Zv(r);)r=oP(r,t);return r&&jl(r)&&Zv(r)&&!$S(r)?n:r||QH(e)||n}const dU=async function(e){const t=this.getOffsetParent||J4,n=this.getDimensions,r=await n(e.floating);return{reference:uU(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function fU(e){return Lr(e).direction==="rtl"}const pU={convertOffsetParentRelativeRectToViewportRelativeRect:tU,getDocumentElement:da,getClippingRect:lU,getOffsetParent:J4,getElementRects:dU,getClientRects:nU,getDimensions:cU,getScale:wl,isElement:Ir,isRTL:fU};function eD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mU(e,t){let n=null,r;const a=da(e);function o(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),o();const f=e.getBoundingClientRect(),{left:y,top:m,width:g,height:b}=f;if(c||t(),!g||!b)return;const C=Op(m),x=Op(a.clientWidth-(y+g)),w=Op(a.clientHeight-(m+b)),M=Op(y),j={rootMargin:-C+"px "+-x+"px "+-w+"px "+-M+"px",threshold:Qn(0,Ui(1,d))||1};let E=!0;function P(k){const A=k[0].intersectionRatio;if(A!==d){if(!E)return l();A?l(!1,A):r=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!eD(f,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(P,{...j,root:a.ownerDocument})}catch{n=new IntersectionObserver(P,j)}n.observe(e)}return l(!0),o}function hU(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,f=HS(e),y=a||o?[...f?Xu(f):[],...Xu(t)]:[];
vendor: 9,136 bytes, line 49
49y.forEach(M=>{a&&M.addEventListener("scroll",n,{passive:!0}),o&&M.addEventListener("resize",n)});const m=f&&c?mU(f,n):null;let g=-1,b=null;l&&(b=new ResizeObserver(M=>{let[T]=M;T&&T.target===f&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var j;(j=b)==null||j.observe(t)})),n()}),f&&!d&&b.observe(f),b.observe(t));let C,x=d?Wo(e):null;d&&w();function w(){const M=Wo(e);x&&!eD(x,M)&&n(),x=M,C=requestAnimationFrame(w)}return n(),()=>{var M;y.forEach(T=>{a&&T.removeEventListener("scroll",n),o&&T.removeEventListener("resize",n)}),m?.(),(M=b)==null||M.disconnect(),b=null,d&&cancelAnimationFrame(C)}}const yU=qH,gU=$H,vU=LH,xU=HH,bU=zH,sP=IH,wU=FH,SU=(e,t,n)=>{const r=new Map,a={platform:pU,...n},o={...a.platform,_c:r};return RH(e,t,{...a,platform:o})};var CU=typeof document<"u",MU=function(){},em=CU?O.useLayoutEffect:MU;function lm(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!lm(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const o=a[r];if(!(o==="_owner"&&e.$$typeof)&&!lm(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function tD(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lP(e,t){const n=tD(e);return Math.round(t*n)/n}function Qv(e){const t=O.useRef(e);return em(()=>{t.current=e}),t}function OU(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:o,floating:l}={},transform:c=!0,whileElementsMounted:d,open:f}=e,[y,m]=O.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,b]=O.useState(r);lm(g,r)||b(r);const[C,x]=O.useState(null),[w,M]=O.useState(null),T=O.useCallback($=>{$!==k.current&&(k.current=$,x($))},[]),j=O.useCallback($=>{$!==A.current&&(A.current=$,M($))},[]),E=o||C,P=l||w,k=O.useRef(null),A=O.useRef(null),D=O.useRef(y),I=d!=null,F=Qv(d),L=Qv(a),q=Qv(f),U=O.useCallback(()=>{if(!k.current||!A.current)return;const $={placement:t,strategy:n,middleware:g};L.current&&($.platform=L.current),SU(k.current,A.current,$).then(V=>{const oe={...V,isPositioned:q.current!==!1};G.current&&!lm(D.current,oe)&&(D.current=oe,Fd.flushSync(()=>{m(oe)}))})},[g,t,n,L,q]);em(()=>{f===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,m($=>({...$,isPositioned:!1})))},[f]);const G=O.useRef(!1);em(()=>(G.current=!0,()=>{G.current=!1}),[]),em(()=>{if(E&&(k.current=E),P&&(A.current=P),E&&P){if(F.current)return F.current(E,P,U);U()}},[E,P,U,F,I]);const K=O.useMemo(()=>({reference:k,floating:A,setReference:T,setFloating:j}),[T,j]),N=O.useMemo(()=>({reference:E,floating:P}),[E,P]),H=O.useMemo(()=>{const $={position:n,left:0,top:0};if(!N.floating)return $;const V=lP(N.floating,y.x),oe=lP(N.floating,y.y);return c?{...$,transform:"translate("+V+"px, "+oe+"px)",...tD(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:oe}},[n,c,N.floating,y.x,y.y]);return O.useMemo(()=>({...y,update:U,refs:K,elements:N,floatingStyles:H}),[y,U,K,N,H])}const TU=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?sP({element:r.current,padding:a}).fn(n):{}:r?sP({element:r,padding:a}).fn(n):{}}}},PU=(e,t)=>({...yU(e),options:[e,t]}),AU=(e,t)=>({...gU(e),options:[e,t]}),jU=(e,t)=>({...wU(e),options:[e,t]}),EU=(e,t)=>({...vU(e),options:[e,t]}),kU=(e,t)=>({...xU(e),options:[e,t]}),_U=(e,t)=>({...bU(e),options:[e,t]}),DU=(e,t)=>({...TU(e),options:[e,t]});var NU="Arrow",nD=O.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...o}=e;return p.jsx(De.svg,{...o,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});nD.displayName=NU;var RU=nD;function rD(e){const[t,n]=O.useState(void 0);return Wt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const o=a[0];let l,c;if("borderBoxSize"in o){const d=o.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,c=f.blockSize}else l=e.offsetWidth,c=e.offsetHeight;n({width:l,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var US="Popper",[aD,ac]=ua(US),[IU,iD]=aD(US),oD=e=>{const{__scopePopper:t,children:n}=e,[r,a]=O.useState(null);return p.jsx(IU,{scope:t,anchor:r,onAnchorChange:a,children:n})};oD.displayName=US;var sD="PopperAnchor",lD=O.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,o=iD(sD,n),l=O.useRef(null),c=Ke(t,l),d=O.useRef(null);return O.useEffect(()=>{const f=d.current;d.current=r?.current||l.current,f!==d.current&&o.onAnchorChange(d.current)}),r?null:p.jsx(De.div,{...a,ref:c})});lD.displayName=sD;var WS="PopperContent",[LU,zU]=aD(WS),cD=O.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:o="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:f=[],collisionPadding:y=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:C,...x}=e,w=iD(WS,n),[M,T]=O.useState(null),j=Ke(t,ie=>T(ie)),[E,P]=O.useState(null),k=rD(E),A=k?.width??0,D=k?.height??0,I=r+(o!=="center"?"-"+o:""),F=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},L=Array.isArray(f)?f:[f],q=L.length>0,U={padding:F,boundary:L.filter(qU),altBoundary:q},{refs:G,floatingStyles:K,placement:N,isPositioned:H,middlewareData:$}=OU({strategy:"fixed",placement:I,whileElementsMounted:(...ie)=>hU(...ie,{animationFrame:b==="always"}),elements:{reference:w.anchor},middleware:[PU({mainAxis:a+D,alignmentAxis:l}),d&&AU({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?jU():void 0,...U}),d&&EU({...U}),kU({...U,apply:({elements:ie,rects:he,availableWidth:ue,availableHeight:ye})=>{const{width:ge,height:ae}=he.reference,ze=ie.floating.style;ze.setProperty("--radix-popper-available-width",`${ue}px`),ze.setProperty("--radix-popper-available-height",`${ye}px`),ze.setProperty("--radix-popper-anchor-width",`${ge}px`),ze.setProperty("--radix-popper-anchor-height",`${ae}px`)}}),E&&DU({element:E,padding:c}),$U({arrowWidth:A,arrowHeight:D}),g&&_U({strategy:"referenceHidden",...U})]}),[V,oe]=fD(N),z=Rr(C);Wt(()=>{H&&z?.()},[H,z]);const Y=$.arrow?.x,Z=$.arrow?.y,J=$.arrow?.centerOffset!==0,[ce,pe]=O.useState();return Wt(()=>{M&&pe(window.getComputedStyle(M).zIndex)},[M]),p.jsx("div",{ref:G.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:H?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[$.transformOrigin?.x,$.transformOrigin?.y].join(" "),...$.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(LU,{scope:n,placedSide:V,onArrowChange:P,arrowX:Y,arrowY:Z,shouldHideArrow:J,children:p.jsx(De.div,{"data-side":V,"data-align":oe,...x,ref:j,style:{...x.style,animation:H?void 0:"none"}})})})});cD.displayName=WS;var uD="PopperArrow",BU={top:"bottom",right:"left",bottom:"top",left:"right"},dD=O.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,o=zU(uD,r),l=BU[o.placedSide];return p.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:p.jsx(RU,{...a,ref:n,style:{...a.style,display:"block"}})})});dD.displayName=uD;function qU(e){return e!==null}var $U=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,l=a.arrow?.centerOffset!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[f,y]=fD(n),m={start:"0%",center:"50%",end:"100%"}[y],g=(a.arrow?.x??0)+c/2,b=(a.arrow?.y??0)+d/2;let C="",x="";return f==="bottom"?(C=l?m:`${g}px`,x=`${-d}px`):f==="top"?(C=l?m:`${g}px`,x=`${r.floating.height+d}px`):f==="right"?(C=`${-d}px`,x=l?m:`${b}px`):f==="left"&&(C=`${r.floating.width+d}px`,x=l?m:`${b}px`),{data:{x:C,y:x}}}});function fD(e){const[t,n="center"]=e.split("-");return[t,n]}var GS=oD,KS=lD,YS=cD,VS=dD,FU="Portal",Wd=O.forwardRef((e,t)=>{const{container:n,...r}=e,[a,o]=O.useState(!1);Wt(()=>o(!0),[]);const l=n||a&&globalThis?.document?.body;return l?q4.createPortal(p.jsx(De.div,{...r,ref:t}),l):null});Wd.displayName=FU;function HU(e,t){return O.useReducer((n,r)=>t[n][r]??n,e)}var fa=e=>{const{present:t,children:n}=e,r=UU(t),a=typeof n=="function"?n({present:r.isPresent}):O.Children.only(n),o=Ke(r.ref,WU(a));return typeof n=="function"||r.isPresent?O.cloneElement(a,{ref:o}):null};fa.displayName="Presence";function UU(e){const[t,n]=O.useState(),r=O.useRef(null),a=O.useRef(e),o=O.useRef("none"),l=e?"mounted":"unmounted",[c,d]=HU(l,{mou
vendor: 4,787 bytes, line 49
49nted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return O.useEffect(()=>{const f=Tp(r.current);o.current=c==="mounted"?f:"none"},[c]),Wt(()=>{const f=r.current,y=a.current;if(y!==e){const g=o.current,b=Tp(f);e?d("MOUNT"):b==="none"||f?.display==="none"?d("UNMOUNT"):d(y&&g!==b?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,d]),Wt(()=>{if(t){let f;const y=t.ownerDocument.defaultView??window,m=b=>{const x=Tp(r.current).includes(CSS.escape(b.animationName));if(b.target===t&&x&&(d("ANIMATION_END"),!a.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",f=y.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},g=b=>{b.target===t&&(o.current=Tp(r.current))};return t.addEventListener("animationstart",g),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{y.clearTimeout(f),t.removeEventListener("animationstart",g),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:O.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function Tp(e){return e?.animationName||"none"}function WU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var GU=xh[" useInsertionEffect ".trim().toString()]||Wt;function Go({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,o,l]=KU({defaultProp:t,onChange:n}),c=e!==void 0,d=c?e:a;{const y=O.useRef(e!==void 0);O.useEffect(()=>{const m=y.current;m!==c&&console.warn(`${r} 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.`),y.current=c},[c,r])}const f=O.useCallback(y=>{if(c){const m=YU(y)?y(e):y;m!==e&&l.current?.(m)}else o(y)},[c,e,o,l]);return[d,f]}function KU({defaultProp:e,onChange:t}){const[n,r]=O.useState(e),a=O.useRef(n),o=O.useRef(t);return GU(()=>{o.current=t},[t]),O.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,r,o]}function YU(e){return typeof e=="function"}var pD=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"}),VU="VisuallyHidden",mD=O.forwardRef((e,t)=>p.jsx(De.span,{...e,ref:t,style:{...pD,...e.style}}));mD.displayName=VU;var ZU=mD,[kh]=ua("Tooltip",[ac]),_h=ac(),hD="TooltipProvider",QU=700,Fw="tooltip.open",[XU,ZS]=kh(hD),yD=e=>{const{__scopeTooltip:t,delayDuration:n=QU,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:o}=e,l=O.useRef(!0),c=O.useRef(!1),d=O.useRef(0);return O.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),p.jsx(XU,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:O.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:O.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:O.useCallback(f=>{c.current=f},[]),disableHoverableContent:a,children:o})};yD.displayName=hD;var Ju="Tooltip",[JU,Gd]=kh(Ju),gD=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:a,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,d=ZS(Ju,e.__scopeTooltip),f=_h(t),[y,m]=O.useState(null),g=na(),b=O.useRef(0),C=l??d.disableHoverableContent,x=c??d.delayDuration,w=O.useRef(!1),[M,T]=Go({prop:r,defaultProp:a??!1,onChange:A=>{A?(d.onOpen(),document.dispatchEvent(new CustomEvent(Fw))):d.onClose(),o?.(A)},caller:Ju}),j=O.useMemo(()=>M?w.current?"delayed-open":"instant-open":"closed",[M]),E=O.useCallback(()=>{window.clearTimeout(b.current),b.current=0,w.current=!1,T(!0)},[T]),P=O.useCallback(()=>{window.clearTimeout(b.current),b.current=0,T(!1)},[T]),k=O.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{w.current=!0,T(!0),b.current=0},x)},[x,T]);return O.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),p.jsx(GS,{...f,children:p.jsx(JU,{scope:t,contentId:g,open:M,stateAttribute:j,trigger:y,onTriggerChange:m,onTriggerEnter:O.useCallback(()=>{d.isOpenDelayedRef.current?k():E()},[d.isOpenDelayedRef,k,E]),onTriggerLeave:O.useCallback(()=>{C?P():(window.clearTimeout(b.current),b.current=0)},[P,C]),onOpen:E,onClose:P,disableHoverableContent:C,children:n})})};gD.displayName=Ju;var Hw="TooltipTrigger",vD=O.forwardRef((e,t)=>
vendor: 13,171 bytes, line 49
49{const{__scopeTooltip:n,...r}=e,a=Gd(Hw,n),o=ZS(Hw,n),l=_h(n),c=O.useRef(null),d=Ke(t,c,a.onTriggerChange),f=O.useRef(!1),y=O.useRef(!1),m=O.useCallback(()=>f.current=!1,[]);return O.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),p.jsx(KS,{asChild:!0,...l,children:p.jsx(De.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:d,onPointerMove:xe(e.onPointerMove,g=>{g.pointerType!=="touch"&&!y.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),y.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{a.onTriggerLeave(),y.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{a.open&&a.onClose(),f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:xe(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:xe(e.onBlur,a.onClose),onClick:xe(e.onClick,a.onClose)})})});vD.displayName=Hw;var QS="TooltipPortal",[eW,tW]=kh(QS,{forceMount:void 0}),xD=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:a}=e,o=Gd(QS,t);return p.jsx(eW,{scope:t,forceMount:n,children:p.jsx(fa,{present:n||o.open,children:p.jsx(Wd,{asChild:!0,container:a,children:r})})})};xD.displayName=QS;var El="TooltipContent",bD=O.forwardRef((e,t)=>{const n=tW(El,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...o}=e,l=Gd(El,e.__scopeTooltip);return p.jsx(fa,{present:r||l.open,children:l.disableHoverableContent?p.jsx(wD,{side:a,...o,ref:t}):p.jsx(nW,{side:a,...o,ref:t})})}),nW=O.forwardRef((e,t)=>{const n=Gd(El,e.__scopeTooltip),r=ZS(El,e.__scopeTooltip),a=O.useRef(null),o=Ke(t,a),[l,c]=O.useState(null),{trigger:d,onClose:f}=n,y=a.current,{onPointerInTransitChange:m}=r,g=O.useCallback(()=>{c(null),m(!1)},[m]),b=O.useCallback((C,x)=>{const w=C.currentTarget,M={x:C.clientX,y:C.clientY},T=oW(M,w.getBoundingClientRect()),j=sW(M,T),E=lW(x.getBoundingClientRect()),P=uW([...j,...E]);c(P),m(!0)},[m]);return O.useEffect(()=>()=>g(),[g]),O.useEffect(()=>{if(d&&y){const C=w=>b(w,y),x=w=>b(w,d);return d.addEventListener("pointerleave",C),y.addEventListener("pointerleave",x),()=>{d.removeEventListener("pointerleave",C),y.removeEventListener("pointerleave",x)}}},[d,y,b,g]),O.useEffect(()=>{if(l){const C=x=>{const w=x.target,M={x:x.clientX,y:x.clientY},T=d?.contains(w)||y?.contains(w),j=!cW(M,l);T?g():j&&(g(),f())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[d,y,l,f,g]),p.jsx(wD,{...e,ref:o})}),[rW,aW]=kh(Ju,{isInside:!1}),iW=cH("TooltipContent"),wD=O.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,d=Gd(El,n),f=_h(n),{onClose:y}=d;return O.useEffect(()=>(document.addEventListener(Fw,y),()=>document.removeEventListener(Fw,y)),[y]),O.useEffect(()=>{if(d.trigger){const m=g=>{g.target?.contains(d.trigger)&&y()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[d.trigger,y]),p.jsx(Hd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:y,children:p.jsxs(YS,{"data-state":d.stateAttribute,...f,...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:[p.jsx(iW,{children:r}),p.jsx(rW,{scope:n,isInside:!0,children:p.jsx(ZU,{id:d.contentId,role:"tooltip",children:a||r})})]})})});bD.displayName=El;var SD="TooltipArrow",CD=O.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=_h(n);return aW(SD,n).isInside?null:p.jsx(VS,{...a,...r,ref:t})});CD.displayName=SD;function oW(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,a,o)){case o:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function sW(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function lW(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function cW(e,t){const{x:n,y:r}=e;let a=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const c=t[o],d=t[l],f=c.x,y=c.y,m=d.x,g=d.y;y>r!=g>r&&n<(m-f)*(r-y)/(g-y)+f&&(a=!a)}return a}function uW(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),dW(t)}function dW(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];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 n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const o=n[n.length-1],l=n[n.length-2];if((o.x-l.x)*(a.y-l.y)>=(o.y-l.y)*(a.x-l.x))n.pop();else break}n.push(a)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var fW=yD,pW=gD,mW=vD,hW=xD,yW=bD,gW=CD;function MD(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=MD(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function He(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=MD(e))&&(r&&(r+=" "),r+=t);return r}const XS="-",vW=e=>{const t=bW(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const c=l.split(XS);return c[0]===""&&c.length!==1&&c.shift(),OD(c,t)||xW(l)},getConflictingClassGroupIds:(l,c)=>{const d=n[l]||[];return c&&r[l]?[...d,...r[l]]:d}}},OD=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?OD(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const o=e.join(XS);return t.validators.find(({validator:l})=>l(o))?.classGroupId},cP=/^\[(.+)\]$/,xW=e=>{if(cP.test(e)){const t=cP.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},bW=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)Uw(n[a],r,a,t);return r},Uw=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:uP(t,a);o.classGroupId=n;return}if(typeof a=="function"){if(wW(a)){Uw(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([o,l])=>{Uw(l,uP(t,o),n,r)})})},uP=(e,t)=>{let n=e;return t.split(XS).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wW=e=>e.isThemeGetter,SW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return a(o,l),l},set(o,l){n.has(o)?n.set(o,l):a(o,l)}}},Ww="!",Gw=":",CW=Gw.length,MW=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const o=[];let l=0,c=0,d=0,f;for(let C=0;C<a.length;C++){let x=a[C];if(l===0&&c===0){if(x===Gw){o.push(a.slice(d,C)),d=C+CW;continue}if(x==="/"){f=C;continue}}x==="["?l++:x==="]"?l--:x==="("?c++:x===")"&&c--}const y=o.length===0?a:a.substring(d),m=OW(y),g=m!==y,b=f&&f>d?f-d:void 0;return{modifiers:o,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:b}};if(t){const a=t+Gw,o=r;r=l=>l.startsWith(a)?o(l.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=o=>n({className:o,parseClassName:a})}return r},OW=e=>e.endsWith(Ww)?e.substring(0,e.length-1):e.startsWith(Ww)?e.substring(1):e,TW=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let o=[];return r.forEach(l=>{l[0]==="["||t[l]?(a.push(...o.sort(),l),o=[]):o.push(l)}),a.push(...o.sort()),a}},PW=e=>({cache:SW(e.cacheSize),parseClassName:MW(e),sortModifiers:TW(e),...vW(e)}),AW=/\s+/,jW=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:o}=t,l=[],c=e.trim().split(AW);let d="";for(let f=c.length-1;f>=0;f-=1){const y=c[f],{isExternal:m,modifiers:g,hasImportantModifier:b,baseClassName:C,maybePostfixModifierPosition:x}=n(y);if(m){d=y+(d.length>0?" "+d:d);continue}let w=!!x,M=r(w?C.substring(0,x):C);if(!M){if(!w){d=y+(d.length>0?" "+d:d);continue}if(M=r(C),!M){d=y+(d.length>0?" "+d:d);continue}w=!1}const T=o(g).join(":"),j=b?T+Ww:T,E=j+M;if(l.includes(E))continue;l.push(E);const P=a(M,w);for(let k=0;k<P.length;++k){const A=P[k];l.push(j+A)}d=y+(d.length>0?" "+d:d)}return d};function EW(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=TD(t))&&(r&&(r+=" "),r+=n);return r}const TD=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=TD(e[r]))&&(n&&(n+=" "),n+=t);return n};function kW(e,...t){let n,r,a,o=l;function l(d){const f=t.reduce((y,m)=>m(y),e());return n=PW(f),r=n.cache.get,a=n.cache.set,o=c,c(d)}function c(d){const f=r(d);if(f)return f;const y=jW(d,n);return a(d,y),y}return function(){return o(EW.apply(null,arguments))}}const $t=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},PD=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,AD=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_W=/^\d+\/\d+$/,DW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,NW=/\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$/,RW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,IW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,LW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nl=e=>_W.test(e),Be=e=>!!e&&!Number.isNaN(Number(e)),Ai=e=>!!e&&Number.isInteger(Number(e)),Xv=e=>e.endsWith("%")&&Be(e.slice(0,-1)),Da=e=>DW.test(e),zW=()=>!0,BW=e=>NW.test(e)&&!RW.test(e),jD=()=>!1,qW=e=>IW.test(e),$W=e=>LW.test(e),FW=e=>!Se(e)&&!Ce(e),HW=e=>ic(e,_D,jD),Se=e=>PD.test(e),To=e=>ic(e,DD,BW),Jv=e=>ic(e,YW,Be),dP=e=>ic(e,ED,jD),UW=e=>ic(e,kD,$W),Pp=e=>ic(e,ND,qW),Ce=e=>AD.test(e),vu=e=>oc(e,DD),WW=e=>oc(e,VW),fP=e=>oc(e,ED),GW=e=>oc(e,_D),KW=e=>oc(e,kD),Ap=e=>oc(e,ND,!0),ic=(e,t,n)=>{const r=PD.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},oc=(e,t,n=!1)=>{const r=AD.exec(e);return r?r[1]?t(r[1]):n:!1},ED=e=>e==="position"||e==="percentage",kD=e=>e==="image"||e==="url",_D=e=>e==="length"||e==="size"||e==="bg-size",DD=e=>e==="length",YW=e=>e==="number",VW=e=>e==="family-name",ND=e=>e==="shadow",ZW=()=>{const e=$t("color"),t=$t("font"),n=$t("text"),r=$t("font-weight"),a=$t("tracking"),o=$t("leading"),l=$t("breakpoint"),c=$t("container"),d=$t("spacing"),f=$t("radius"),y=$t("shadow"),m=$t("inset-shadow"),g=$t("text-shadow"),b=$t("drop-shadow"),C=$t("blur"),x=$t("perspective"),w=$t("aspect"),M=$t("ease"),T=$t("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...E(),Ce,Se],k=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],D=()=>[Ce,Se,d],I=()=>[nl,"full","auto",...D()],F=()=>[Ai,"none","subgrid",Ce,Se],L=()=>["auto",{span:["full",Ai,Ce,Se]},Ai,Ce,Se],q=()=>[Ai,"auto",Ce,Se],U=()=>["auto","min","max","fr",Ce,Se],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],K=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...D()],H=()=>[nl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],$=()=>[e,Ce,Se],V=()=>[...E(),fP,dP,{position:[Ce,Se]}],oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",GW,HW,{size:[Ce,Se]}],Y=()=>[Xv,vu,To],Z=()=>["","none","full",f,Ce,Se],J=()=>["",Be,vu,To],ce=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>[Be,Xv,fP,dP],he=()=>["","none",C,Ce,Se],ue=()=>["none",Be,Ce,Se],ye=()=>["none",Be,Ce,Se],ge=()=>[Be,Ce,Se],ae=()=>[nl,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Da],breakpoint:[Da],color:[zW],container:[Da],"drop-shadow":[Da],ease:["in","out","in-out"],font:[FW],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Da],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Da],shadow:[Da],spacing:["px",Be],text:[Da],"text-shadow":[Da],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nl,Se,Ce,w]}
vendor: 12,846 bytes, line 49
49],container:["container"],columns:[{columns:[Be,Se,Ce,c]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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:P()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ai,"auto",Ce,Se]}],basis:[{basis:[nl,"full","auto",c,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Be,nl,"auto","initial","none",Se]}],grow:[{grow:["",Be,Ce,Se]}],shrink:[{shrink:["",Be,Ce,Se]}],order:[{order:[Ai,"first","last","none",Ce,Se]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...K(),"normal"]}],"justify-self":[{"justify-self":["auto",...K()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...K(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...K(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...K(),"baseline"]}],"place-self":[{"place-self":["auto",...K()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"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",n,vu,To]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,Jv]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Xv,Se]}],"font-family":[{font:[WW,Se,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,Ce,Se]}],"line-clamp":[{"line-clamp":[Be,"none",Ce,Jv]}],leading:[{leading:[o,...D()]}],"list-image":[{"list-image":["none",Ce,Se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,Se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:$()}],"text-color":[{text:$()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[Be,"from-font","auto",Ce,To]}],"text-decoration-color":[{decoration:$()}],"underline-offset":[{"underline-offset":[Be,"auto",Ce,Se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,Se]}],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",Ce,Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ai,Ce,Se],radial:["",Ce,Se],conic:[Ai,Ce,Se]},KW,UW]}],"bg-color":[{bg:$()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:$()}],"gradient-via":[{via:$()}],"gradient-to":[{to:$()}],rounded:[{rounded:Z()}],"rounded-s":[{"rounded-s":Z()}],"rounded-e":[{"rounded-e":Z()}],"rounded-t":[{"rounded-t":Z()}],"rounded-r":[{"rounded-r":Z()}],"rounded-b":[{"rounded-b":Z()}],"rounded-l":[{"rounded-l":Z()}],"rounded-ss":[{"rounded-ss":Z()}],"rounded-se":[{"rounded-se":Z()}],"rounded-ee":[{"rounded-ee":Z()}],"rounded-es":[{"rounded-es":Z()}],"rounded-tl":[{"rounded-tl":Z()}],"rounded-tr":[{"rounded-tr":Z()}],"rounded-br":[{"rounded-br":Z()}],"rounded-bl":[{"rounded-bl":Z()}],"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:$()}],"border-color-x":[{"border-x":$()}],"border-color-y":[{"border-y":$()}],"border-color-s":[{"border-s":$()}],"border-color-e":[{"border-e":$()}],"border-color-t":[{"border-t":$()}],"border-color-r":[{"border-r":$()}],"border-color-b":[{"border-b":$()}],"border-color-l":[{"border-l":$()}],"divide-color":[{divide:$()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Be,Ce,Se]}],"outline-w":[{outline:["",Be,vu,To]}],"outline-color":[{outline:$()}],shadow:[{shadow:["","none",y,Ap,Pp]}],"shadow-color":[{shadow:$()}],"inset-shadow":[{"inset-shadow":["none",m,Ap,Pp]}],"inset-shadow-color":[{"inset-shadow":$()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:$()}],"ring-offset-w":[{"ring-offset":[Be,To]}],"ring-offset-color":[{"ring-offset":$()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":$()}],"text-shadow":[{"text-shadow":["none",g,Ap,Pp]}],"text-shadow-color":[{"text-shadow":$()}],opacity:[{opacity:[Be,Ce,Se]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":[Be]}],"mask-image-linear-from-pos":[{"mask-linear-from":ie()}],"mask-image-linear-to-pos":[{"mask-linear-to":ie()}],"mask-image-linear-from-color":[{"mask-linear-from":$()}],"mask-image-linear-to-color":[{"mask-linear-to":$()}],"mask-image-t-from-pos":[{"mask-t-from":ie()}],"mask-image-t-to-pos":[{"mask-t-to":ie()}],"mask-image-t-from-color":[{"mask-t-from":$()}],"mask-image-t-to-color":[{"mask-t-to":$()}],"mask-image-r-from-pos":[{"mask-r-from":ie()}],"mask-image-r-to-pos":[{"mask-r-to":ie()}],"mask-image-r-from-color":[{"mask-r-from":$()}],"mask-image-r-to-color":[{"mask-r-to":$()}],"mask-image-b-from-pos":[{"mask-b-from":ie()}],"mask-image-b-to-pos":[{"mask-b-to":ie()}],"mask-image-b-from-color":[{"mask-b-from":$()}],"mask-image-b-to-color":[{"mask-b-to":$()}],"mask-image-l-from-pos":[{"mask-l-from":ie()}],"mask-image-l-to-pos":[{"mask-l-to":ie()}],"mask-image-l-from-color":[{"mask-l-from":$()}],"mask-image-l-to-color":[{"mask-l-to":$()}],"mask-image-x-from-pos":[{"mask-x-from":ie()}],"mask-image-x-to-pos":[{"mask-x-to":ie()}],"mask-image-x-from-color":[{"mask-x-from":$()}],"mask-image-x-to-color":[{"mask-x-to":$()}],"mask-image-y-from-pos":[{"mask-y-from":ie()}],"mask-image-y-to-pos":[{"mask-y-to":ie()}],"mask-image-y-from-color":[{"mask-y-from":$()}],"mask-image-y-to-color":[{"mask-y-to":$()}],"mask-image-radial":[{"mask-radial":[Ce,Se]}],"mask-image-radial-from-pos":[{"mask-radial-from":ie()}],"mask-image-radial-to-pos":[{"mask-radial-to":ie()}],"mask-image-radial-from-color":[{"mask-radial-from":$()}],"mask-image-radial-to-color":[{"mask-radial-to":$()}],"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":E()}],"mask-image-conic-pos":[{"mask-conic":[Be]}],"mask-image-conic-from-pos":[{"mask-conic-from":ie()}],"mask-image-conic-to-pos":[{"mask-conic-to":ie()}],"mask-image-conic-from-color":[{"mask-conic-from":$()}],"mask-image-conic-to-color":[{"mask-conic-to":$()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,Se]}],filter:[{filter:["","none",Ce,Se]}],blur:[{blur:he()}],brightness:[{brightness:[Be,Ce,Se]}],contrast:[{contrast:[Be,Ce,Se]}],"drop-shadow":[{"drop-shadow":["","none",b,Ap,Pp]}],"drop-shadow-color":[{"drop-shadow":$()}],grayscale:[{grayscale:["",Be,Ce,Se]}],"hue-rotate":[{"hue-rotate":[Be,Ce,Se]}],invert:[{invert:["",Be,Ce,Se]}],saturate:[{saturate:[Be,Ce,Se]}],sepia:[{sepia:["",Be,Ce,Se]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,Se]}],"backdrop-blur":[{"backdrop-blur":he()}],"backdrop-brightness":[{"backdrop-brightness":[Be,Ce,Se]}],"backdrop-contrast":[{"backdrop-contrast":[Be,Ce,Se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Be,Ce,Se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Be,Ce,Se]}],"backdrop-invert":[{"backdrop-invert":["",Be,Ce,Se]}],"backdrop-opacity":[{"backdrop-opacity":[Be,Ce,Se]}],"backdrop-saturate":[{"backdrop-saturate":[Be,Ce,Se]}],"backdrop-sepia":[{"backdrop-sepia":["",Be,Ce,Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,Se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Be,"initial",Ce,Se]}],ease:[{ease:["linear","initial",M,Ce,Se]}],delay:[{delay:[Be,Ce,Se]}],animate:[{animate:["none",T,Ce,Se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,Ce,Se]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:ye()}],"scale-x":[{"scale-x":ye()}],"scale-y":[{"scale-y":ye()}],"scale-z":[{"scale-z":ye()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[Ce,Se,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],accent:[{accent:$()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:$()}
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",Ce,Se]}],"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":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",Ce,Se]}],fill:[{fill:["none",...$()]}],"stroke-w":[{stroke:[Be,vu,To,Jv]}],stroke:[{stroke:["none",...$()]}],"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"]}},QW=kW(ZW);function Ee(...e){return QW(He(e))}function JS({delayDuration:e=0,...t}){return p.jsx(fW,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}function XW({...e}){return p.jsx(JS,{"data-loc":"client/src/components/ui/tooltip.tsx:23",children:p.jsx(pW,{"data-loc":"client/src/components/ui/tooltip.tsx:24","data-slot":"tooltip",...e})})}function JW({...e}){return p.jsx(mW,{"data-loc":"client/src/components/ui/tooltip.tsx:32","data-slot":"tooltip-trigger",...e})}function eG({className:e,sideOffset:t=0,children:n,...r}){return p.jsx(hW,{"data-loc":"client/src/components/ui/tooltip.tsx:42",children:p.jsxs(yW,{"data-loc":"client/src/components/ui/tooltip.tsx:43","data-slot":"tooltip-content",sideOffset:t,className:Ee("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),...r,children:[n,p.jsx(gW,{"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 pP=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,mP=He,eC=(e,t)=>n=>{var r;if(t?.variants==null)return mP(e,n?.class,n?.className);const{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(f=>{const y=n?.[f],m=o?.[f];if(y===null)return null;const g=pP(y)||pP(m);return a[f][g]}),c=n&&Object.entries(n).reduce((f,y)=>{let[m,g]=y;return g===void 0||(f[m]=g),f},{}),d=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,y)=>{let{class:m,className:g,...b}=y;return Object.entries(b).every(C=>{let[x,w]=C;return Array.isArray(w)?w.includes({...o,...c}[x]):{...o,...c}[x]===w})?[...f,m,g]:f},[]);return mP(e,l,d,n?.class,n?.className)},tG=eC("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 Ia({className:e,variant:t,size:n,asChild:r=!1,...a}){const o=r?LS:"button";return p.jsx(o,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Ee(tG({variant:t,size:n,className:e})),...a})}function jo({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Ee("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function rl({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:20","data-slot":"card-header",className:Ee("@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 al({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:33","data-slot":"card-title",className:Ee("leading-none font-semibold",e),...t})}function nG({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:43","data-slot":"card-description",className:Ee("text-muted-foreground text-sm",e),...t})}function Eo({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Ee("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 rG=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),RD=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** 55 * @license lucide-react v0.453.0 - ISC 56 * 57 * This source code is licensed under the ISC license. 58 * See the LICENSE file in the root directory of this source tree. 59 */var aG={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 iG=O.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:l,...c},d)=>O.createElement("svg",{ref:d,...aG,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:RD("lucide",a),...c},[...l.map(([f,y])=>O.createElement(f,y)),...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 Pe=(e,t)=>
69{const n=O.forwardRef(({className:r,...a},o)=>O.createElement(iG,{ref:o,iconNode:t,className:RD(`lucide-${rG(e)}`,r),...a}));return n.displayName=`${e}`,n};/** 70 * @license lucide-react v0.453.0 - ISC 71 * 72 * This source code is licensed under the ISC license. 73 * See the LICENSE file in the root directory of this source tree. 74 */const oG=Pe("ArrowDownLeft",[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]);/** 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 sG=Pe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 lG=Pe("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** 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 cG=Pe("Bath",[["path",{d:"M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.683 3 4 3.683 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"1r8yf5"}],["line",{x1:"10",x2:"8",y1:"5",y2:"7",key:"h5g8z4"}],["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"7",x2:"7",y1:"19",y2:"21",key:"16jp00"}],["line",{x1:"17",x2:"17",y1:"19",y2:"21",key:"1pxrnk"}]]);/** 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 uG=Pe("BedDouble",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]]);/** 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 za=Pe("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 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 Kw=Pe("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"}]]);/** 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 e0=Pe("CalendarCheck",[["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"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/** 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 sc=Pe("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"}]]);/** 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 dG=Pe("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"}]]);/** 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 ID=Pe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 Dh=Pe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 fG=Pe("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 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 tC=Pe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 pG=Pe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 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 gl=Pe("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"}]]);/** 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 Nh=Pe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 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 Yw=Pe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 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 Xa=Pe("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"}]]);/** 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 mG=Pe("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"}]]);/** 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 Vw=Pe("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"}]]);/** 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 t0=Pe("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"}]]);/** 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 hG=Pe("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 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 yG=Pe("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"}]]);/** 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 Rn=Pe("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"}]]);/** 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 gG=Pe("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/** 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 vG=Pe("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** 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 xG=Pe("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 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 LD=Pe("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);/** 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 bG=Pe("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/** 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 lc=Pe("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"}]]);/** 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 cc=Pe("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"}]]);/** 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 wG=Pe("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"}]]);/** 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 Zw=Pe("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"}]]);/** 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 zD=Pe("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/** 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 BD=Pe("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/** 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 SG=Pe("Percent",[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]]);/** 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 cm=Pe("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"}]]);/** 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 CG=Pe("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 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 MG=Pe("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"}]]);/** 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 OG=Pe("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/** 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=Pe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 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 PG=Pe("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"}]]);/** 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 AG=Pe("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"}]]);/** 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 hP=Pe("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"}]]);/** 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 jG=Pe("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** 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 uc=Pe("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"}]]);/** 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 In=Pe("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"}]]);/** 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 nC=Pe("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"}]]);/** 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 EG=Pe("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** 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 kG=Pe("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 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 qD=Pe("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"}]]);/** 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 dc=Pe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function _G(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,o,l=[],c="",d=e.split("/");for(d[0]||d.shift();a=d.shift();)n=a[0],n==="*"?(l.push(n),c+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),o=a.indexOf(".",1),l.push(a.substring(1,~r?r:~o?o:a.length)),c+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(c+=(~r?"?":"")+"\\"+a.substring(o))):c+="/"+a;return{keys:l,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var n0={exports:{}},r0={};/** 335 * @license React 336 * use-sync-external-store-shim.production.js 337 * 338 * Copyright (c) Meta Platforms, Inc. and affiliates. 339 * 340 * This source code is licensed under the MIT license found in the 341 * LICENSE file in the root directory of this source tree. 342 */var yP;function DG(){if(yP)return r0;yP=1;var e=vh();function t(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,o=e.useLayoutEffect,l=e.useDebugValue;function c(m,g){var b=g(),C=r({inst:{value:b,getSnapshot:g}}),x=C[0].inst,w=C[1];return o(function(){x.value=b,x.getSnapshot=g,d(x)&&w({inst:x})},[m,b,g]),a(function(){return d(x)&&w({inst:x}),m(function(){d(x)&&w({inst:x})})},[m]),l(b),b}function d(m){var g=m.getSnapshot;m=m.value;try{var b=g();return!n(m,b)}catch{return!0}}function f(m,g){return g()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:c;return r0.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,r0}var gP;function NG(){return gP||(gP=1,n0.exports=DG()),n0.exports}
342var $D=NG();const RG=xh.useInsertionEffect,IG=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",LG=IG?O.useLayoutEffect:O.useEffect,zG=RG||LG,FD=e=>{const t=O.useRef([e,(...n)=>t[0](...n)]).current;return zG(()=>{t[0]=e}),t[1]},BG="popstate",rC="pushState",aC="replaceState",qG="hashchange",vP=[BG,rC,aC,qG],$G=e=>{for(const t of vP)addEventListener(t,e);return()=>{for(const t of vP)removeEventListener(t,e)}},HD=(e,t)=>$D.useSyncExternalStore($G,e,t),FG=()=>location.search,HG=({ssrSearch:e=""}={})=>HD(FG,()=>e),xP=()=>location.pathname,UG=({ssrPath:e}={})=>HD(xP,e?()=>e:xP),WG=(e,{replace:t=!1,state:n=null}={})=>history[t?aC:rC](n,"",e),GG=(e={})=>[UG(e),WG],bP=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[bP]>"u"){for(const e of[rC,aC]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,bP,{value:!0})}const KG=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",UD=(e="")=>e==="/"?"":e,YG=(e,t)=>e[0]==="~"?e.slice(1):UD(t)+e,VG=(e="",t)=>KG(Qw(UD(e)),Qw(t)),ZG=e=>e[0]==="?"?e.slice(1):e,Qw=e=>{try{return decodeURI(e)}catch{return e}},QG=e=>Qw(ZG(e)),WD={hook:GG,searchHook:HG,parser:_G,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},GD=O.createContext(WD),fc=()=>O.useContext(GD),KD={},YD=O.createContext(KD),XG=()=>O.useContext(YD),Rh=e=>{const[t,n]=e.hook(e);return[VG(e.base,t),FD((r,a)=>n(YG(r,e.base),a))]},VD=()=>Rh(fc()),JG=()=>{const e=fc();return QG(e.searchHook(e))},ZD=(e,t,n,r)=>{const{pattern:a,keys:o}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),l=a.exec(n)||[],[c,...d]=l;return c!==void 0?[!0,(()=>{const f=o!==!1?Object.fromEntries(o.map((m,g)=>[m,d[g]])):l.groups;let y={...d};return f&&Object.assign(y,f),y})(),...r?[c]:[]]:[!1,null]},eK=({children:e,...t})=>{const n=fc(),r=t.hook?WD:n;let a=r;const[o,l]=t.ssrPath?.split("?")??[];l&&(t.ssrSearch=l,t.ssrPath=o),t.hrefs=t.hrefs??t.hook?.hrefs;let c=O.useRef({}),d=c.current,f=d;for(let y in r){const m=y==="base"?r[y]+(t[y]||""):t[y]||r[y];d===f&&m!==f[y]&&(c.current=f={...f}),f[y]=m,(m!==r[y]||m!==a[y])&&(a=f)}return O.createElement(GD.Provider,{value:a,children:e})},wP=({children:e,component:t},n)=>t?O.createElement(t,{params:n}):typeof e=="function"?e(n):e,tK=e=>{let t=O.useRef(KD);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,a])=>a!==n[r])?e:n},jp=({path:e,nest:t,match:n,...r})=>{const a=fc(),[o]=Rh(a),[l,c,d]=n??ZD(a.parser,e,o,t),f=tK({...XG(),...c});if(!l)return null;const y=d?O.createElement(eK,{base:d},wP(r,f)):wP(r,f);return O.createElement(YD.Provider,{value:f,children:y})};O.forwardRef((e,t)=>{const n=fc(),[r,a]=Rh(n),{to:o="",href:l=o,onClick:c,asChild:d,children:f,className:y,replace:m,state:g,...b}=e,C=FD(w=>{w.ctrlKey||w.metaKey||w.altKey||w.shiftKey||w.button!==0||(c?.(w),w.defaultPrevented||(w.preventDefault(),a(l,e)))}),x=n.hrefs(l[0]==="~"?l.slice(1):n.base+l,n);return d&&O.isValidElement(f)?O.cloneElement(f,{onClick:C,href:x}):O.createElement("a",{...b,onClick:C,href:x,className:y?.call?y(r===l):y,children:f,ref:t})});const Xw=e=>Array.isArray(e)?e.flatMap(t=>Xw(t&&t.type===O.Fragment?t.props.children:t)):[e],nK=({children:e,location:t})=>{const n=fc(),[r]=Rh(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Xw(e).forEach(o=>{if(O.isValidElement(o)&&o.props.path){const l=o.props.path;window.__WOUTER_ROUTES__.includes(l)||window.__WOUTER_ROUTES__.push(l)}}));for(const a of Xw(e)){let o=0;if(O.isValidElement(a)&&(o=ZD(n.parser,a.props.path,t||r,a.props.nest))[0])return O.cloneElement(a,{match:o})}return null};function SP(){const[,e]=VD(),t=()=>{e("/")};return p.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:p.jsx(jo,{"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:p.jsxs(Eo,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[p.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:p.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[p.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),p.jsx(gl,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),p.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),p.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),p.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.",p.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),p.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:p.jsxs(Ia,{"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:[p.jsx(Rn,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class rK extends O.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?p.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:p.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[p.jsx(nC,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),p.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),p.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:p.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),p.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Ee("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[p.jsx(MG,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const aK=O.createContext(void 0);function iK({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=O.useState(()=>n&&localStorage.getItem("theme")||t);O.useEffect(()=>{const l=document.documentElement;
342r==="dark"?l.classList.add("dark"):l.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const o=n?()=>{a(l=>l==="light"?"dark":"light")}:void 0;return p.jsx(aK.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:o,switchable:n},children:e})}const ct={fullName:"Marcus Carter",title:"Licensed Real Estate Agent",licenseNumber:"",brokerage:"Coldwell Banker",phone:"(469) 724-4371",phoneRaw:"+14697244371",email:"[email protected]",website:"https://MarcusCarterCB.com",address:{full:"Dallas, TX"},social:{facebook:"https://facebook.com/MarcusCarterRealty",instagram:"https://instagram.com/MarcusCarterRealty",linkedin:"https://linkedin.com/in/MarcusCarterRealty",twitter:"",youtube:"",tiktok:"",zillow:"https://www.zillow.com/profile/MarcusCarterRealty",realtor:"https://www.realtor.com/realestateagents/MarcusCarterRealty"},headshotUrl:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/ZAUURb2A6nc5C2piQ3pAuJ/marcus-headshot_e5ac5686.jpeg",brokerageLogoUrl:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/ZAUURb2A6nc5C2piQ3pAuJ/coldwell-banker-logo_45bbd767.png",qrCodeUrl:"https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/ZAUURb2A6nc5C2piQ3pAuJ/marcus-qrcode_a219ffd7.jpeg",dataAsOf:"MarchâMay 2026"},CP=[{label:"Overview",href:"#overview"},{label:"Mortgage Rates",href:"#rates"},{label:"County Data",href:"#county"},{label:"ZIP Lookup",href:"#zip"},{label:"Compare",href:"#comparison"},{label:"Calculator",href:"#calculator"},{label:"Buy vs Rent",href:"#buy-vs-rent"},{label:"Top 10 ZIPs",href:"#top10"},{label:"Heatmap",href:"#heatmap"},{label:"Insights",href:"#blog"},{label:"Migration",href:"#migration"},{label:"Outlook",href:"#outlook"},{label:"Listings",href:"#listings"},{label:"Send a Message",href:"#contact"}];function oK(){const[e,t]=O.useState(!1),[n,r]=O.useState(!1);return O.useEffect(()=>{const a=()=>t(window.scrollY>40);return window.addEventListener("scroll",a,{passive:!0}),()=>window.removeEventListener("scroll",a)},[]),p.jsx("nav",{"data-loc":"client/src/components/Navbar.tsx:36",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-[#1a2744]/95 backdrop-blur-md shadow-lg shadow-black/20":"bg-transparent"}`,children:p.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:43",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:44",className:"flex items-center justify-between h-16",children:[p.jsxs("a",{"data-loc":"client/src/components/Navbar.tsx:46",href:"#top",className:"flex items-center gap-2.5 group",children:[p.jsx("img",{"data-loc":"client/src/components/Navbar.tsx:48",src:ct.brokerageLogoUrl,alt:ct.brokerage,className:"h-8 rounded-md"}),p.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:58",className:"font-bold text-white text-sm hidden sm:block",style:{fontFamily:"'DM Sans', sans-serif"},children:"DFW Market Update"})]}),p.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:67",className:"hidden lg:flex items-center gap-1",children:CP.map(a=>p.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:69",href:a.href,className:"px-3 py-1.5 text-xs font-medium text-white/70 hover:text-white hover:bg-white/10 rounded-md transition-all duration-200 tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:a.label},a.href))}),p.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:81",className:"hidden sm:flex items-center gap-3",children:p.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:82",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np",target:"_blank",rel:"noopener noreferrer",className:"px-4 py-2 bg-[#2563eb] hover:bg-[#1d4ed8] text-white text-xs font-semibold rounded-lg transition-colors duration-200",style:{fontFamily:"'DM Sans', sans-serif"},children:"Contact Me"})}),p.jsx("button",{"data-loc":"client/src/components/Navbar.tsx:94",className:"lg:hidden text-white p-2",onClick:()=>r(!n),"aria-label":"Toggle menu",children:n?p.jsx(dc,{"data-loc":"client/src/components/Navbar.tsx:99",className:"w-5 h-5"}):p.jsx(wG,{"data-loc":"client/src/components/Navbar.tsx:99",className:"w-5 h-5"})})]}),n&&p.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:105",className:"lg:hidden bg-[#1a2744] border-t border-white/10 pb-4",children:[CP.map(a=>p.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:107",href:a.href,onClick:()=>r(!1),className:"block px-4 py-3 text-sm text-white/80 hover:text-white hover:bg-white/10 transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:a.label},a.href)),p.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:117",className:"px-4 pt-3",children:p.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:118",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np",target:"_blank",rel:"noopener noreferrer",className:"block text-center px-4 py-2.5 bg-[#2563eb] text-white text-sm font-semibold rounded-lg",children:"Contact Me"})})]})]})})}const sK=[{label:"Dallas City Median Sale Price",value:"$465K",change:"-2.0% YoY",direction:"down",sub:"City of Dallas"},{label:"Fort Worth City Median Sale Price",value:"$405K",change:"-3.0% YoY",direction:"down",sub:"City of Fort Worth"},{label:"Avg Days on Market",value:"48 days",change:"+8 days YoY",direction:"down",sub:"Dallas County"},{label:"Sale-to-List Price Ratio",value:"97.0%",change:"Stable",direction:"neutral",sub:"DFW Metroplex"},{label:"Homes Sold Above List",value:"28%",change:"-2 pts YoY",direction:"down",sub:"DFW Metroplex"},{label:"Homes with Price Drops",value:"35%",change:"+2 pts YoY",direction:"up",sub:"DFW Metroplex"}],QD=[{county:"Collin County",medianPrice:44e4,medianPriceDisplay:"$440,000",yoyChange:-8.5,inventory:"3.9 mo.",daysOnMarket:65,domPrior:46,closedSalesYoy:-3.2,newListingsYoy:14.8,saleToListRatio:.973},{county:"Dallas County",medianPrice:365e3,medianPriceDisplay:"$365,000",yoyChange:-2.8,inventory:"4.3 mo.",daysOnMarket:44,domPrior:36,closedSalesYoy:-8.9,newListingsYoy:-.4,saleToListRatio:.97},{county:"Denton County",medianPrice:436e3,medianPriceDisplay:"$436,000",yoyChange:-4.1,inventory:"3.9 mo.",saleToListRatio:.972,daysOnMarket:59,domPrior:44,closedSalesYoy:-5.1,newListingsYoy:10.9},{county:"Tarrant County",medianPrice:354e3,medianPriceDisplay:"$354,000",yoyChange:.3,inventory:"3.4 mo.",daysOnMarket:48,domPrior:45,closedSalesYoy:-7.8,newListingsYoy:7.1,saleToListRatio:.976},{county:"Rockwall County",medianPrice:461e3,medianPriceDisplay:"$461,000",yoyChange:9.2,inventory:"5.3 mo.",daysOnMarket:78,domPrior:70,closedSalesYoy:-4.1,newListingsYoy:10.8,saleToListRatio:.969},{county:"Kaufman County",medianPrice:307e3,medianPriceDisplay:"$307,000",yoyChange:-5.9,inventory:"5.2 mo.",daysOnMarket:56,domPrior:49,closedSalesYoy:-20.1,newListingsYoy:-.
3421,saleToListRatio:.965},{county:"Ellis County",medianPrice:333e3,medianPriceDisplay:"$333,000",yoyChange:-2.9,inventory:"4.5 mo.",daysOnMarket:60,domPrior:51,closedSalesYoy:-4.8,newListingsYoy:8.4,saleToListRatio:.968}],lK=[{period:"Q2 2026",rate:6.2},{period:"Q3 2026",rate:6},{period:"Q4 2026",rate:5.85},{period:"2027 Outlook",rate:5.7}],cK=[{month:"Jan '24",rate:6.62},{month:"Apr '24",rate:6.99},{month:"Jul '24",rate:6.77},{month:"Oct '24",rate:6.72},{month:"Jan '25",rate:6.96},{month:"Apr '25",rate:6.83},{month:"Jul '25",rate:6.62},{month:"Oct '25",rate:6.44},{month:"Jan '26",rate:7.04},{month:"Apr '26",rate:6.45},{month:"May '26",rate:6.37},{month:"Q3 '26",rate:6,forecast:!0},{month:"Q4 '26",rate:5.85,forecast:!0}],uK=[{city:"Los Angeles, CA",count:2198},{city:"Seattle, WA",count:893},{city:"Washington, DC",count:784},{city:"San Francisco, CA",count:681},{city:"New York, NY",count:667}],dK=[{city:"Phoenix, AZ",count:2104},{city:"Austin, TX",count:1307},{city:"Houston, TX",count:579},{city:"Denver, CO",count:527},{city:"Oklahoma City, OK",count:342}],fK=[{number:"01",title:"Lock In Before Summer Surge",body:"With the 30-year rate at 6.37% (May 7, 2026) and forecasts pointing toward 6.0% by Q3, getting pre-approved now positions you to act quickly when inventory peaks in June."},{number:"02",title:"Request a CMA",body:"Before listing or making an offer, get a professional Comparative Market Analysis to understand exactly what homes are selling for in your specific neighborhood."},{number:"03",title:"Negotiate Seller Concessions",body:"With 35% of DFW listings seeing price drops, buyers have leverage to request rate buy-downs, closing cost assistance, and repair credits â especially in Collin and Kaufman counties."},{number:"04",title:"Focus on Move-In Ready Homes",body:"Properties that are well-maintained and updated are selling faster and closer to list price than homes requiring significant work."},{number:"05",title:"Watch Rockwall County",body:"The only DFW county posting strong price gains (+9.2% YoY), Rockwall continues to offer a compelling combination of value, growth, and community amenities."}],MP="https://drive.google.com/file/d/1xkiBR0RWU--zR0Casl0-RzJKlOnz3PYc/view?usp=drivesdk",OP="https://drive.google.com/file/d/1dOv4aGFxvkvj0BOQdIw97KXn5XHLlsY4/view?usp=drivesdk",pK="https://d2xsxph8kpxj0f.cloudfront.net/310519663300399777/ZAUURb2A6nc5C2piQ3pAuJ/dfw-hero-bg-j9CEfEnitiCDQT9Fbr44eo.webp";function mK({kpi:e,animate:t}){const n=e.direction==="up"?In:e.direction==="down"?uc:zD,r=e.direction==="up"?"text-emerald-400":e.direction==="down"?"text-red-400":"text-amber-400";return p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:33",className:`bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl p-4 transition-all duration-500 hover:bg-white/15 hover:border-white/30 ${t?"opacity-100 translate-y-0":"opacity-0 translate-y-4"}`,style:{transition:"opacity 0.5s ease, transform 0.5s ease, background 0.2s, border 0.2s"},children:[p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:39",className:"text-white/60 text-xs font-medium mb-1 leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:e.label}),p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:42",className:"text-white font-extrabold text-xl mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:e.value}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:45",className:`flex items-center gap-1 ${r}`,children:[p.jsx(n,{"data-loc":"client/src/components/HeroSection.tsx:46",className:"w-3 h-3"}),p.jsx("span",{"data-loc":"client/src/components/HeroSection.tsx:47",className:"text-xs font-semibold",children:e.change})]})]})}function xu(e){return e<2?e*100:e}function hK(e){const t=e.dallasCityMedianPrice??0,n=e.fortworthCityMedianPrice??0,r=e.avgDaysOnMarket??0,a=e.saleToListRatio!=null?parseFloat(String(e.saleToListRatio)):null,o=a!=null?xu(a):null,l=e.homesSoldAboveList!=null?parseFloat(String(e.homesSoldAboveList)):null,c=l!=null?xu(l):null,d=e.homesWithPriceDrops!=null?parseFloat(String(e.homesWithPriceDrops)):null,f=d!=null?xu(d):null,y=e.dallasPriceYoy!=null?parseFloat(String(e.dallasPriceYoy)):0,m=xu(y),g=e.fortworthPriceYoy!=null?parseFloat(String(e.fortworthPriceYoy)):0,b=xu(g),C=e.daysYoyChange??0;return[{label:"Dallas Median Price",value:t>=1e6?`$${(t/1e6).toFixed(2)}M`:`$${(t/1e3).toFixed(0)}K`,change:`${m>=0?"+":""}${m.toFixed(1)}% YoY`,direction:m>=0?"up":"down"},{label:"Fort Worth Median",value:n>=1e6?`$${(n/1e6).toFixed(2)}M`:`$${(n/1e3).toFixed(0)}K`,change:`${b>=0?"+":""}${b.toFixed(1)}% YoY`,direction:b>=0?"up":"down"},{label:"Avg Days on Market",value:`${r} days`,change:`${C>=0?"+":""}${C} days YoY`,direction:C>0?"down":C<0?"up":"neutral"},{label:"Sale-to-List Ratio",value:o!=null?`${o.toFixed(1)}%`:"N/A",change:o!=null&&o>=100?"Seller's Market":"Buyer-Friendly",direction:o!=null&&o>=100?"up":"down"},{label:"Sold Above List",value:c!=null?`${c.toFixed(0)}%`:"N/A",change:"of homes",direction:"neutral"},{label:"Price Drops",value:f!=null?`${f.toFixed(0)}%`:"N/A",change:"of listings",direction:"neutral"}]}function yK(){const[e,t]=O.useState(!1),{data:n}=bt.market.getMetroplexData.useQuery();O.useEffect(()=>{const a=setTimeout(()=>t(!0),300);return()=>clearTimeout(a)},[]);const r=n&&n.dallasCityMedianPrice?hK(n):sK;return p.jsxs("section",{"data-loc":"client/src/components/HeroSection.tsx:140",id:"top",className:"relative min-h-screen flex flex-col justify-center overflow-hidden",style:{backgroundImage:`url(${pK})`,backgroundSize:"cover",backgroundPosition:"center"},children:[p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:150",className:"absolute inset-0 bg-gradient-to-b from-[#1a2744]/80 via-[#1a2744]/60 to-[#1a2744]/90"}),p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:151",className:"absolute inset-0 bg-gradient-to-r from-[#1a2744]/40 via-trans
342parent to-transparent"}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:154",className:"relative z-10 container pt-24 pb-16",children:[p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:155",className:"max-w-4xl mx-auto text-center mb-12",children:[p.jsxs("h1",{"data-loc":"client/src/components/HeroSection.tsx:158",className:`text-white font-extrabold leading-tight mb-4 transition-all duration-700 delay-100 ${e?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,style:{fontFamily:"'DM Sans', sans-serif",fontSize:"clamp(2rem, 5vw, 3.75rem)"},children:["DallasâFort Worth",p.jsx("br",{"data-loc":"client/src/components/HeroSection.tsx:168"}),p.jsx("span",{"data-loc":"client/src/components/HeroSection.tsx:169",className:"text-[#60a5fa]",children:"Real Estate Market Update"})]}),p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:172",className:`text-white/70 text-lg max-w-2xl mx-auto mb-8 transition-all duration-700 delay-200 ${e?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,style:{fontFamily:"'Inter', sans-serif"},children:"Search Dallas-Fort Worth for current home-price, listing activity, and neighborhood trends â updated monthly with Realtor.com® market data and local DFW sources."}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:182",className:`flex flex-wrap items-center justify-center gap-3 transition-all duration-700 delay-300 ${e?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,children:[p.jsx("a",{"data-loc":"client/src/components/HeroSection.tsx:187",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 bg-[#2563eb] hover:bg-[#1d4ed8] text-white font-semibold rounded-xl transition-all duration-200 hover:shadow-lg hover:shadow-[#2563eb]/30 hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:"Contact Me"}),p.jsx("a",{"data-loc":"client/src/components/HeroSection.tsx:196",href:"#zip",className:"px-6 py-3 bg-white/10 hover:bg-white/20 border border-white/30 text-white font-semibold rounded-xl transition-all duration-200 backdrop-blur-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Find Your ZIP Code"}),p.jsx("a",{"data-loc":"client/src/components/HeroSection.tsx:203",href:"#overview",className:"px-6 py-3 bg-white/10 hover:bg-white/20 border border-white/30 text-white font-semibold rounded-xl transition-all duration-200 backdrop-blur-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"View Full Report"}),p.jsx("a",{"data-loc":"client/src/components/HeroSection.tsx:210",href:"https://marcuscartercb.com/home-valuation",target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 bg-white/10 hover:bg-white/20 border border-white/30 text-white font-semibold rounded-xl transition-all duration-200 backdrop-blur-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Home Valuation"}),p.jsxs("a",{"data-loc":"client/src/components/HeroSection.tsx:219",href:MP,target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 bg-emerald-500 hover:bg-emerald-400 text-white font-semibold rounded-xl transition-all duration-200 hover:shadow-lg hover:shadow-emerald-500/30 hover:-translate-y-0.5 flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(za,{"data-loc":"client/src/components/HeroSection.tsx:226",className:"w-4 h-4"}),"Free Buyer's Guide"]}),p.jsxs("a",{"data-loc":"client/src/components/HeroSection.tsx:229",href:OP,target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 bg-amber-500 hover:bg-amber-400 text-white font-semibold rounded-xl transition-all duration-200 hover:shadow-lg hover:shadow-amber-500/30 hover:-translate-y-0.5 flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(za,{"data-loc":"client/src/components/HeroSection.tsx:236",className:"w-4 h-4"}),"Free Home Sellers Guide"]})]})]}),p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:243",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-3 max-w-5xl mx-auto",children:r.map((a,o)=>p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:245",style:{transitionDelay:`${400+o*80}ms`},children:p.jsx(mK,{"data-loc":"client/src/components/HeroSection.tsx:249",kpi:a,animate:e})},a.label))}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:255",className:`max-w-5xl mx-auto mt-6 grid sm:grid-cols-2 gap-3 transition-all duration-700 delay-700 ${e?"opacity-100 translate-y-0":"opacity-0 translate-y-6"}`,children:[p.jsxs("a",{"data-loc":"client/src/components/HeroSection.tsx:261",href:MP,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-3 bg-emerald-500/15 border border-emerald-400/30 rounded-2xl px-5 py-4 hover:bg-emerald-500/25 transition-all group",children:[p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:267",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:268",className:"w-10 h-10 rounded-xl bg-emerald-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx(za,{"data-loc":"client/src/components/HeroSection.tsx:269",className:"w-5 h-5 text-emerald-300"})}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:271",children:[p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:272",className:"text-white font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Homebuyer's Guide"}),p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:275",className:"text-white/60 text-xs",children:"Pre-approval tips, earnest money norms & inspection timelines"})]})]}),p.jsx("span",{"data-loc":"client/src/components/HeroSection.tsx:278",className:"shrink-0 px-3 py-1.5 bg-emerald-500 hover:bg-emerald-400 text-white text-xs font-bold rounded-xl transition-all group-hover:shadow-lg group-hover:shadow-emerald-500/30 whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif"},children:"Download â"})]}),p.jsxs("a",{"data-loc":"client/src/components/HeroSection.tsx:283",href:OP,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between gap-3 bg-amber-500/15 border border-amber-400/30 rounded-2xl px-5 py-4 hover:bg-amber-500/25 transition-all group",children:[p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:289",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:290",className:"w-10 h-10 rounded-xl bg-amber-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx(za,{"data-loc":"client/src/components/HeroSection.tsx:291",className:"w-5 h-5 text-amber-300"})}),p.jsxs("div",{"data-loc":"client/src/components/HeroSection.tsx:293",children:[p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:294",className:"text-white font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Home Sellers Guide"}),p.jsx("p",{"data-loc":"client/src/components/HeroSection.tsx:297",className:"text-white/60 text-xs",children:"Pricing strategy, staging tips & closing cost breakdown"})]})]}),p.jsx("span",{"data-loc":"client/src/components/HeroSection.tsx:300",className:"shrink-0 px-3 py-1.5 bg-amber-500 hover:bg-amber-400 text-white text-xs font-bold rounded-xl transition-all group-hover:shadow-lg group-hover:shadow-amber-500/30 whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif"},children:"Download â"})]})]}),p.jsx("div",{"data-loc":"client/src/components/HeroSection.tsx:307",className:"flex justify-center mt-12",children:p.jsxs("a",{"data-loc":"client/src/components/HeroSection.tsx:308",href:"#overview",className:"flex flex-col items-center gap-2 text-white/40 hover:text-white/70 transition-colors group",children:[p.jsx("span",{"data-loc":"client/src/components/HeroSection.tsx:312",className:"text-xs tracking-widest uppercase",style:{fontFamily:"'DM Sans', sans-serif"},children:"Scroll to explore"}),p.jsx(Dh,{"data-loc":"client/src/components/HeroSection.tsx:315",className:"w-5 h-5 animate-bounce"})]})})]})]})}var a0,TP;function Ln(){if(TP)return a0;TP=1;var e=Array.isArray;return a0=e,a0}var i0,PP;function XD(){if(PP)return i0;PP=1;
vendor: 2,021 bytes, line 342
342var e=typeof xp=="object"&&xp&&xp.Object===Object&&xp;return i0=e,i0}var o0,AP;function pa(){if(AP)return o0;AP=1;var e=XD(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return o0=n,o0}var s0,jP;function Kd(){if(jP)return s0;jP=1;var e=pa(),t=e.Symbol;return s0=t,s0}var l0,EP;function gK(){if(EP)return l0;EP=1;var e=Kd(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,a=e?e.toStringTag:void 0;function o(l){var c=n.call(l,a),d=l[a];try{l[a]=void 0;var f=!0}catch{}var y=r.call(l);return f&&(c?l[a]=d:delete l[a]),y}return l0=o,l0}var c0,kP;function vK(){if(kP)return c0;kP=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return c0=n,c0}var u0,_P;function Ja(){if(_P)return u0;_P=1;var e=Kd(),t=gK(),n=vK(),r="[object Null]",a="[object Undefined]",o=e?e.toStringTag:void 0;function l(c){return c==null?c===void 0?a:r:o&&o in Object(c)?t(c):n(c)}return u0=l,u0}var d0,DP;function ei(){if(DP)return d0;DP=1;function e(t){return t!=null&&typeof t=="object"}return d0=e,d0}var f0,NP;function pc(){if(NP)return f0;NP=1;var e=Ja(),t=ei(),n="[object Symbol]";function r(a){return typeof a=="symbol"||t(a)&&e(a)==n}return f0=r,f0}var p0,RP;function iC(){if(RP)return p0;RP=1;var e=Ln(),t=pc(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\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:r.test(o)||!n.test(o)||l!=null&&o in Object(l)}return p0=a,p0}var m0,IP;function Vi(){if(IP)return m0;IP=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return m0=e,m0}var h0,LP;function oC(){if(LP)return h0;LP=1;var e=Ja(),t=Vi(),n="[object AsyncFunction]",r="[object Function]",a="[object GeneratorFunction]",o="[object Proxy]";function l(c){if(!t(c))return!1;var d=e(c);return d==r||d==a||d==n||d==o}return h0=l,h0}var y0,zP;function xK(){if(zP)return y0;zP=1;var e=pa(),t=e["__core-js_shared__"];return y0=t,y0}var g0,BP;function bK(){if(BP)return g0;BP=1;
vendor: 5,182 bytes, line 342
342var e=xK(),t=(function(){var r=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""})();function n(r){return!!t&&t in r}return g0=n,g0}var v0,qP;function JD(){if(qP)return v0;qP=1;var e=Function.prototype,t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch{}try{return r+""}catch{}}return""}return v0=n,v0}var x0,$P;function wK(){if($P)return x0;$P=1;var e=oC(),t=bK(),n=Vi(),r=JD(),a=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,d=l.toString,f=c.hasOwnProperty,y=RegExp("^"+d.call(f).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(g){if(!n(g)||t(g))return!1;var b=e(g)?y:o;return b.test(r(g))}return x0=m,x0}var b0,FP;function SK(){if(FP)return b0;FP=1;function e(t,n){return t?.[n]}return b0=e,b0}var w0,HP;function is(){if(HP)return w0;HP=1;var e=wK(),t=SK();function n(r,a){var o=t(r,a);return e(o)?o:void 0}return w0=n,w0}var S0,UP;function Ih(){if(UP)return S0;UP=1;var e=is(),t=e(Object,"create");return S0=t,S0}var C0,WP;function CK(){if(WP)return C0;WP=1;var e=Ih();function t(){this.__data__=e?e(null):{},this.size=0}return C0=t,C0}var M0,GP;function MK(){if(GP)return M0;GP=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return M0=e,M0}var O0,KP;function OK(){if(KP)return O0;KP=1;var e=Ih(),t="__lodash_hash_undefined__",n=Object.prototype,r=n.hasOwnProperty;function a(o){var l=this.__data__;if(e){var c=l[o];return c===t?void 0:c}return r.call(l,o)?l[o]:void 0}return O0=a,O0}var T0,YP;function TK(){if(YP)return T0;YP=1;var e=Ih(),t=Object.prototype,n=t.hasOwnProperty;function r(a){var o=this.__data__;return e?o[a]!==void 0:n.call(o,a)}return T0=r,T0}var P0,VP;function PK(){if(VP)return P0;VP=1;var e=Ih(),t="__lodash_hash_undefined__";function n(r,a){var o=this.__data__;return this.size+=this.has(r)?0:1,o[r]=e&&a===void 0?t:a,this}return P0=n,P0}var A0,ZP;function AK(){if(ZP)return A0;ZP=1;var e=CK(),t=MK(),n=OK(),r=TK(),a=PK();function o(l){var c=-1,d=l==null?0:l.length;for(this.clear();++c<d;){var f=l[c];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,A0=o,A0}var j0,QP;function jK(){if(QP)return j0;QP=1;function e(){this.__data__=[],this.size=0}return j0=e,j0}var E0,XP;function sC(){if(XP)return E0;XP=1;function e(t,n){return t===n||t!==t&&n!==n}return E0=e,E0}var k0,JP;function Lh(){if(JP)return k0;JP=1;var e=sC();function t(n,r){for(var a=n.length;a--;)if(e(n[a][0],r))return a;return-1}return k0=t,k0}var _0,eA;function EK(){if(eA)return _0;eA=1;var e=Lh(),t=Array.prototype,n=t.splice;function r(a){var o=this.__data__,l=e(o,a);if(l<0)return!1;var c=o.length-1;return l==c?o.pop():n.call(o,l,1),--this.size,!0}return _0=r,_0}var D0,tA;function kK(){if(tA)return D0;tA=1;var e=Lh();function t(n){var r=this.__data__,a=e(r,n);return a<0?void 0:r[a][1]}return D0=t,D0}var N0,nA;function _K(){if(nA)return N0;nA=1;var e=Lh();function t(n){return e(this.__data__,n)>-1}return N0=t,N0}var R0,rA;function DK(){if(rA)return R0;rA=1;var e=Lh();function t(n,r){var a=this.__data__,o=e(a,n);return o<0?(++this.size,a.push([n,r])):a[o][1]=r,this}return R0=t,R0}var I0,aA;function zh(){if(aA)return I0;aA=1;var e=jK(),t=EK(),n=kK(),r=_K(),a=DK();function o(l){var c=-1,d=l==null?0:l.length;for(this.clear();++c<d;){var f=l[c];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,I0=o,I0}var L0,iA;function lC(){if(iA)return L0;iA=1;var e=is(),t=pa(),n=e(t,"Map");return L0=n,L0}var z0,oA;function NK(){if(oA)return z0;oA=1;var e=AK(),t=zh(),n=lC();function r(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return z0=r,z0}var B0,sA;function RK(){if(sA)return B0;sA=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return B0=e,B0}var q0,lA;function Bh(){if(lA)return q0;lA=1;var e=RK();function t(n,r){var a=n.__data__;return e(r)?a[typeof r=="string"?"string":"hash"]:a.map}return q0=t,q0}var $0,cA;function IK(){if(cA)return $0;cA=1;var e=Bh();function t(n){var r=e(this,n).delete(n);return this.size-=r?1:0,r}return $0=t,$0}var F0,uA;function LK(){if(uA)return F0;uA=1;var e=Bh();function t(n){return e(this,n).get(n)}return F0=t,F0}var H0,dA;function zK(){if(dA)return H0;dA=1;var e=Bh();function t(n){return e(this,n).has(n)}return H0=t,H0}var U0,fA;function BK(){if(fA)return U0;fA=1;var e=Bh();function t(n,r){var a=e(this,n),o=a.size;return a.set(n,r),this.size+=a.size==o?0:1,this}return U0=t,U0}var W0,pA;function cC(){if(pA)return W0;pA=1;var e=NK(),t=IK(),n=LK(),r=zK(),a=BK();function o(l){var c=-1,d=l==null?0:l.length;for(this.clear();++c<d;){var f=l[c];this.set(f[0],f[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,W0=o,W0}var G0,mA;function eN(){if(mA)return G0;mA=1;var e=cC(),t="Expected a function";function n(r,a){if(typeof r!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var o=function(){var l=arguments,c=a?a.apply(this,l):l[0],d=o.cache;
vendor: 10,553 bytes, lines 342-350
342if(d.has(c))return d.get(c);var f=r.apply(this,l);return o.cache=d.set(c,f)||d,f};return o.cache=new(n.Cache||e),o}return n.Cache=e,G0=n,G0}var K0,hA;function qK(){if(hA)return K0;hA=1;var e=eN(),t=500;function n(r){var a=e(r,function(l){return o.size===t&&o.clear(),l}),o=a.cache;return a}return K0=n,K0}var Y0,yA;function $K(){if(yA)return Y0;yA=1;var e=qK(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(a){var o=[];return a.charCodeAt(0)===46&&o.push(""),a.replace(t,function(l,c,d,f){o.push(d?f.replace(n,"$1"):c||l)}),o});return Y0=r,Y0}var V0,gA;function uC(){if(gA)return V0;gA=1;function e(t,n){for(var r=-1,a=t==null?0:t.length,o=Array(a);++r<a;)o[r]=n(t[r],r,t);return o}return V0=e,V0}var Z0,vA;function FK(){if(vA)return Z0;vA=1;var e=Kd(),t=uC(),n=Ln(),r=pc(),a=e?e.prototype:void 0,o=a?a.toString:void 0;function l(c){if(typeof c=="string")return c;if(n(c))return t(c,l)+"";if(r(c))return o?o.call(c):"";var d=c+"";return d=="0"&&1/c==-1/0?"-0":d}return Z0=l,Z0}var Q0,xA;function tN(){if(xA)return Q0;xA=1;var e=FK();function t(n){return n==null?"":e(n)}return Q0=t,Q0}var X0,bA;function nN(){if(bA)return X0;bA=1;var e=Ln(),t=iC(),n=$K(),r=tN();function a(o,l){return e(o)?o:t(o,l)?[o]:n(r(o))}return X0=a,X0}var J0,wA;function qh(){if(wA)return J0;wA=1;var e=pc();function t(n){if(typeof n=="string"||e(n))return n;var r=n+"";return r=="0"&&1/n==-1/0?"-0":r}return J0=t,J0}var ex,SA;function dC(){if(SA)return ex;SA=1;var e=nN(),t=qh();function n(r,a){a=e(a,r);for(var o=0,l=a.length;r!=null&&o<l;)r=r[t(a[o++])];return o&&o==l?r:void 0}return ex=n,ex}var tx,CA;function rN(){if(CA)return tx;CA=1;var e=dC();function t(n,r,a){var o=n==null?void 0:e(n,r);return o===void 0?a:o}return tx=t,tx}var HK=rN();const yr=dt(HK);var nx,MA;function UK(){if(MA)return nx;MA=1;function e(t){return t==null}return nx=e,nx}var WK=UK();const qe=dt(WK);var rx,OA;function GK(){if(OA)return rx;OA=1;var e=Ja(),t=Ln(),n=ei(),r="[object String]";function a(o){return typeof o=="string"||!t(o)&&n(o)&&e(o)==r}return rx=a,rx}var KK=GK();const Ko=dt(KK);var YK=oC();const Re=dt(YK);var VK=Vi();const mc=dt(VK);var ax={exports:{}},et={};/** 343 * @license React 344 * react-is.production.min.js 345 * 346 * Copyright (c) Facebook, Inc. and its affiliates. 347 * 348 * This source code is licensed under the MIT license found in the 349 * LICENSE file in the root directory of this source tree. 350 */var TA;function ZK(){if(TA)return et;TA=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=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"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=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 M=w.$$typeof;switch(M){case e:switch(w=w.type,w){case n:case a:case r:case f:case y:return w;default:switch(w=w&&w.$$typeof,w){case c:case l:case d:case g:case m:case o:return w;default:return M}}case t:return M}}}return et.ContextConsumer=l,et.ContextProvider=o,et.Element=e,et.ForwardRef=d,et.Fragment=n,et.Lazy=g,et.Memo=m,et.Portal=t,et.Profiler=a,et.StrictMode=r,et.Suspense=f,et.SuspenseList=y,et.isAsyncMode=function(){return!1},et.isConcurrentMode=function(){return!1},et.isContextConsumer=function(w){return x(w)===l},et.isContextProvider=function(w){return x(w)===o},et.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},et.isForwardRef=function(w){return x(w)===d},et.isFragment=function(w){return x(w)===n},et.isLazy=function(w){return x(w)===g},et.isMemo=function(w){return x(w)===m},et.isPortal=function(w){return x(w)===t},et.isProfiler=function(w){return x(w)===a},et.isStrictMode=function(w){return x(w)===r},et.isSuspense=function(w){return x(w)===f},et.isSuspenseList=function(w){return x(w)===y},et.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===a||w===r||w===f||w===y||w===b||typeof w=="object"&&w!==null&&(w.$$typeof===g||w.$$typeof===m||w.$$typeof===o||w.$$typeof===l||w.$$typeof===d||w.$$typeof===C||w.getModuleId!==void 0)},et.typeOf=x,et}var PA;function QK(){return PA||(PA=1,ax.exports=ZK()),ax.exports}var XK=QK(),ix,AA;function aN(){if(AA)return ix;AA=1;var e=Ja(),t=ei(),n="[object Number]";function r(a){return typeof a=="number"||t(a)&&e(a)==n}return ix=r,ix}var ox,jA;function JK(){if(jA)return ox;jA=1;var e=aN();function t(n){return e(n)&&n!=+n}return ox=t,ox}var eY=JK();const hc=dt(eY);var tY=aN();const nY=dt(tY);var Dr=function(t){return t===0?0:t>0?1:-1},Io=function(t){return Ko(t)&&t.indexOf("%")===t.length-1},me=function(t){return nY(t)&&!hc(t)},rY=function(t){return qe(t)},Ut=function(t){return me(t)||Ko(t)},aY=0,yc=function(t){var n=++aY;return"".concat(t||"").concat(n)},Yo=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!me(t)&&!Ko(t))return r;var o;if(Io(t)){var l=t.indexOf("%");o=n*parseFloat(t.slice(0,l))/100}else o=+t;return hc(o)&&(o=r),a&&o>n&&(o=n),o},Ni=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},iY=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},a=0;a<n;a++)if(!r[t[a]])r[t[a]]=!0;else return!0;return!1},on=function(t,n){return me(t)&&me(n)?function(r){return t+r*(n-t)}:function(){return n}};function um(e,t,n){return!e||!e.length?null:e.find(function(r){return r&&(typeof t=="function"?t(r):yr(r,t))===n})}var oY=function(t,n){return me(t)&&me(n)?t-n:Ko(t)&&Ko(n)?t.localeCompare(n):t instanceof Date&&n instanceof Date?t.getTime()-n.getTime():String(t).localeCompare(String(n))};function Sl(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function Jw(e){"@babel/helpers - typeof";return Jw=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},Jw(e)}var sY=["viewBox","children"],lY=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],EA=["points","pathLength"],sx={svg:sY,polygon:EA,polyline:EA},fC=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onF
350ocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],dm=function(t,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var r=t;if(O.isValidElement(t)&&(r=t.props),!mc(r))return null;var a={};return Object.keys(r).forEach(function(o){fC.includes(o)&&(a[o]=n||function(l){return r[o](r,l)})}),a},cY=function(t,n,r){return function(a){return t(n,r,a),null}},fm=function(t,n,r){if(!mc(t)||Jw(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(o){var l=t[o];fC.includes(o)&&typeof l=="function"&&(a||(a={}),a[o]=cY(l,n,r))}),a},uY=["children"],dY=["children"];function kA(e,t){if(e==null)return{};var n=fY(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fY(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function e2(e){"@babel/helpers - typeof";return e2=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},e2(e)}var _A={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"}
vendor: 4,375 bytes, line 350
350,Fa=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},DA=null,lx=null,pC=function e(t){if(t===DA&&Array.isArray(lx))return lx;var n=[];return O.Children.forEach(t,function(r){qe(r)||(XK.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),lx=n,DA=t,n};function gr(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(a){return Fa(a)}):r=[Fa(t)],pC(e).forEach(function(a){var o=yr(a,"type.displayName")||yr(a,"type.name");r.indexOf(o)!==-1&&n.push(a)}),n}function Vn(e,t){var n=gr(e,t);return n&&n[0]}var NA=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,a=n.height;return!(!me(r)||r<=0||!me(a)||a<=0)},pY=["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"],mY=function(t){return t&&t.type&&Ko(t.type)&&pY.indexOf(t.type)>=0},iN=function(t){return t&&e2(t)==="object"&&"clipDot"in t},hY=function(t,n,r,a){var o,l=(o=sx?.[a])!==null&&o!==void 0?o:[];return n.startsWith("data-")||!Re(t)&&(a&&l.includes(n)||lY.includes(n))||r&&fC.includes(n)},Le=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(O.isValidElement(t)&&(a=t.props),!mc(a))return null;var o={};return Object.keys(a).forEach(function(l){var c;hY((c=a)===null||c===void 0?void 0:c[l],l,n,r)&&(o[l]=a[l])}),o},t2=function e(t,n){if(t===n)return!0;var r=O.Children.count(t);if(r!==O.Children.count(n))return!1;if(r===0)return!0;if(r===1)return RA(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var a=0;a<r;a++){var o=t[a],l=n[a];if(Array.isArray(o)||Array.isArray(l)){if(!e(o,l))return!1}else if(!RA(o,l))return!1}return!0},RA=function(t,n){if(qe(t)&&qe(n))return!0;if(!qe(t)&&!qe(n)){var r=t.props||{},a=r.children,o=kA(r,uY),l=n.props||{},c=l.children,d=kA(l,dY);return a&&c?Sl(o,d)&&t2(a,c):!a&&!c?Sl(o,d):!1}return!1},IA=function(t,n){var r=[],a={};return pC(t).forEach(function(o,l){if(mY(o))r.push(o);else if(o){var c=Fa(o.type),d=n[c]||{},f=d.handler,y=d.once;if(f&&(!y||!a[c])){var m=f(o,c,l);r.push(m),a[c]=!0}}}),r},yY=function(t){var n=t&&t.type;return n&&_A[n]?_A[n]:null},gY=function(t,n){return pC(n).indexOf(t)},vY=["children","width","height","viewBox","className","style","title","desc"];function n2(){return n2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n2.apply(this,arguments)}function xY(e,t){if(e==null)return{};var n=bY(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bY(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function r2(e){var t=e.children,n=e.width,r=e.height,a=e.viewBox,o=e.className,l=e.style,c=e.title,d=e.desc,f=xY(e,vY),y=a||{width:n,height:r,x:0,y:0},m=He("recharts-surface",o);return B.createElement("svg",n2({},Le(f,!0,"svg"),{className:m,width:n,height:r,style:l,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),B.createElement("title",null,c),B.createElement("desc",null,d),t)}var wY=["children","className"];function a2(){return a2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a2.apply(this,arguments)}function SY(e,t){if(e==null)return{};var n=CY(e,t),r,a;
350if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function CY(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var yt=B.forwardRef(function(e,t){var n=e.children,r=e.className,a=SY(e,wY),o=He("recharts-layer",r);return B.createElement("g",a2({className:o},Le(a,!0),{ref:t}),n)}),Ha=function(t,n){for(var r=arguments.length,a=new Array(r>2?r-2:0),o=2;o<r;o++)a[o-2]=arguments[o]},cx,LA;function MY(){if(LA)return cx;LA=1;function e(t,n,r){var a=-1,o=t.length;n<0&&(n=-n>o?0:o+n),r=r>o?o:r,r<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var l=Array(o);++a<o;)l[a]=t[a+n];return l}return cx=e,cx}var ux,zA;function OY(){if(zA)return ux;zA=1;var e=MY();function t(n,r,a){var o=n.length;return a=a===void 0?o:a,!r&&a>=o?n:e(n,r,a)}return ux=t,ux}var dx,BA;function oN(){if(BA)return dx;BA=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=t+n+r,o="\\ufe0e\\ufe0f",l="\\u200d",c=RegExp("["+l+e+a+o+"]");function d(f){return c.test(f)}return dx=d,dx}var fx,qA;function TY(){if(qA)return fx;qA=1;function e(t){return t.split("")}return fx=e,fx}var px,$A;function PY(){if($A)return px;$A=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=t+n+r,o="\\ufe0e\\ufe0f",l="["+e+"]",c="["+a+"]",d="\\ud83c[\\udffb-\\udfff]",f="(?:"+c+"|"+d+")",y="[^"+e+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",C=f+"?",x="["+o+"]?",w="(?:"+b+"(?:"+[y,m,g].join("|")+")"+x+C+")*",M=x+C+w,T="(?:"+[y+c+"?",c,m,g,l].join("|")+")",j=RegExp(d+"(?="+d+")|"+T+M,"g");function E(P){return P.match(j)||[]}return px=E,px}var mx,FA;function AY(){if(FA)return mx;FA=1;var e=TY(),t=oN(),n=PY();function r(a){return t(a)?n(a):e(a)}return mx=r,mx}var hx,HA;function jY(){if(HA)return hx;HA=1;var e=OY(),t=oN(),n=AY(),r=tN();function a(o){return function(l){l=r(l);var c=t(l)?n(l):void 0,d=c?c[0]:l.charAt(0),f=c?e(c,1).join(""):l.slice(1);return d[o]()+f}}return hx=a,hx}var yx,UA;function EY(){if(UA)return yx;UA=1;var e=jY(),t=e("toUpperCase");return yx=t,yx}var kY=EY();const $h=dt(kY);function ht(e){return function(){return e}}const sN=Math.cos,pm=Math.sin,Br=Math.sqrt,mm=Math.PI,Fh=2*mm,i2=Math.PI,o2=2*i2,ko=1e-6,_Y=o2-ko;function lN(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function DY(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return lN;const n=10**t;return function(r){this._+=r[0];for(let a=1,o=r.length;a<o;++a)this._+=Math.round(arguments[a]*n)/n+r[a]}}class NY{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?lN:DY(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,a){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+a}`}bezierCurveTo(t,n,r,a,o,l){this._append`C${+t},${+n},${+r},${+a},${this._x1=+o},${this._y1=+l}`}arcTo(t,n,r,a,o){if(t=+t,n=+n,r=+r,a=+a,o=+o,o<0)throw new Error(`negative radius: ${o}`);let l=this._x1,c=this._y1,d=r-t,f=a-n,y=l-t,m=c-n,g=y*y+m*m;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(g>ko)if(!(Math.abs(m*d-f*y)>ko)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let b=r-l,C=a-c,x=d*d+f*f,w=b*b+C*C,M=Math.sqrt(x),T=Math.sqrt(g),j=o*Math.tan((i2-Math.acos((x+g-w)/(2*M*T)))/2),E=j/T,P=j/M;Math.abs(E-1)>ko&&this._append`L${t+E*y},${n+E*m}`,this._append`A${o},${o},0,0,${+(m*b>y*C)},${this._x1=t+P*d},${this._y1=n+P*f}`}}arc(t,n,r,a,o,l){if(t=+t,n=+n,r=+r,l=!!l,r<0)throw new Error(`negative radius: ${r}`);let c=r*Math.cos(a),d=r*Math.sin(a),f=t+c,y=n+d,m=1^l,g=l?a-o:o-a;this._x1===null?this._append`M${f},${y}`:(Math.abs(this._x1-f)>ko||Math.abs(this._y1-y)>ko)&&this._append`L${f},${y}`,r&&(g<0&&(g=g%o2+o2),g>_Y?this._append`A${r},${r},0,1,${m},${t-c},${n-d}A${r},${r},0,1,${m},${this._x1=f},${this._y1=y}`:g>ko&&this._append`A${r},${r},0,${+(g>=i2)},${m},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+a}h${-r}Z`}toString(){return this._}}function mC(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new NY(t)}function hC(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function cN(e){this._context=e}cN.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 Hh(e){return new cN(e)}function uN(e){return e[0]}function dN(e){return e[1]}function fN(e,t){var n=ht(!0),r=null,a=Hh,o=null,l=mC(c);e=typeof e=="function"?e:e===void 0?uN:ht(e),t=typeof t=="function"?t:t===void 0?dN:ht(t);function c(d){var f,y=(d=hC(d)).length,m,g=!1,b;for(r==null&&(o=a(b=l())),f=0;f<=y;++f)!(f<y&&n(m=d[f],f,d))===g&&((g=!g)?o.lineStart():o.lineEnd()),g&&o.point(+e(m,f,d),+t(m,f,d));if(b)return o=null,b+""||null}return c.x=function(d){return arguments.length?(e=typeof d=="function"?d:ht(+d),c):e},c.y=function(d){return arguments.length?(t=typeof d=="function"?d:ht(+d),c):t},c.defined=function(d){return arguments.length?(n=typeof d=="function"?d:ht(!!d),c):n},c.curve=function(d){return arguments.length?(a=d,r!=null&&(o=a(r)),c
vendor: 10,289 bytes, line 350
350):a},c.context=function(d){return arguments.length?(d==null?r=o=null:o=a(r=d),c):r},c}function Ep(e,t,n){var r=null,a=ht(!0),o=null,l=Hh,c=null,d=mC(f);e=typeof e=="function"?e:e===void 0?uN:ht(+e),t=typeof t=="function"?t:ht(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?dN:ht(+n);function f(m){var g,b,C,x=(m=hC(m)).length,w,M=!1,T,j=new Array(x),E=new Array(x);for(o==null&&(c=l(T=d())),g=0;g<=x;++g){if(!(g<x&&a(w=m[g],g,m))===M)if(M=!M)b=g,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),C=g-1;C>=b;--C)c.point(j[C],E[C]);c.lineEnd(),c.areaEnd()}M&&(j[g]=+e(w,g,m),E[g]=+t(w,g,m),c.point(r?+r(w,g,m):j[g],n?+n(w,g,m):E[g]))}if(T)return c=null,T+""||null}function y(){return fN().defined(a).curve(l).context(o)}return f.x=function(m){return arguments.length?(e=typeof m=="function"?m:ht(+m),r=null,f):e},f.x0=function(m){return arguments.length?(e=typeof m=="function"?m:ht(+m),f):e},f.x1=function(m){return arguments.length?(r=m==null?null:typeof m=="function"?m:ht(+m),f):r},f.y=function(m){return arguments.length?(t=typeof m=="function"?m:ht(+m),n=null,f):t},f.y0=function(m){return arguments.length?(t=typeof m=="function"?m:ht(+m),f):t},f.y1=function(m){return arguments.length?(n=m==null?null:typeof m=="function"?m:ht(+m),f):n},f.lineX0=f.lineY0=function(){return y().x(e).y(t)},f.lineY1=function(){return y().x(e).y(n)},f.lineX1=function(){return y().x(r).y(t)},f.defined=function(m){return arguments.length?(a=typeof m=="function"?m:ht(!!m),f):a},f.curve=function(m){return arguments.length?(l=m,o!=null&&(c=l(o)),f):l},f.context=function(m){return arguments.length?(m==null?o=c=null:c=l(o=m),f):o},f}class pN{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function RY(e){return new pN(e,!0)}function IY(e){return new pN(e,!1)}const yC={draw(e,t){const n=Br(t/mm);e.moveTo(n,0),e.arc(0,0,n,0,Fh)}},LY={draw(e,t){const n=Br(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},mN=Br(1/3),zY=mN*2,BY={draw(e,t){const n=Br(t/zY),r=n*mN;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},qY={draw(e,t){const n=Br(t),r=-n/2;e.rect(r,r,n,n)}},$Y=.8908130915292852,hN=pm(mm/10)/pm(7*mm/10),FY=pm(Fh/10)*hN,HY=-sN(Fh/10)*hN,UY={draw(e,t){const n=Br(t*$Y),r=FY*n,a=HY*n;e.moveTo(0,-n),e.lineTo(r,a);for(let o=1;o<5;++o){const l=Fh*o/5,c=sN(l),d=pm(l);e.lineTo(d*n,-c*n),e.lineTo(c*r-d*a,d*r+c*a)}e.closePath()}},gx=Br(3),WY={draw(e,t){const n=-Br(t/(gx*3));e.moveTo(0,n*2),e.lineTo(-gx*n,-n),e.lineTo(gx*n,-n),e.closePath()}},fr=-.5,pr=Br(3)/2,s2=1/Br(12),GY=(s2/2+1)*3,KY={draw(e,t){const n=Br(t/GY),r=n/2,a=n*s2,o=r,l=n*s2+n,c=-o,d=l;e.moveTo(r,a),e.lineTo(o,l),e.lineTo(c,d),e.lineTo(fr*r-pr*a,pr*r+fr*a),e.lineTo(fr*o-pr*l,pr*o+fr*l),e.lineTo(fr*c-pr*d,pr*c+fr*d),e.lineTo(fr*r+pr*a,fr*a-pr*r),e.lineTo(fr*o+pr*l,fr*l-pr*o),e.lineTo(fr*c+pr*d,fr*d-pr*c),e.closePath()}};function YY(e,t){let n=null,r=mC(a);e=typeof e=="function"?e:ht(e||yC),t=typeof t=="function"?t:ht(t===void 0?64:+t);function a(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return a.type=function(o){return arguments.length?(e=typeof o=="function"?o:ht(o),a):e},a.size=function(o){return arguments.length?(t=typeof o=="function"?o:ht(+o),a):t},a.context=function(o){return arguments.length?(n=o??null,a):n},a}function hm(){}function ym(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function yN(e){this._context=e}yN.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:ym(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:ym(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function VY(e){return new yN(e)}function gN(e){this._context=e}gN.prototype={areaStart:hm,areaEnd:hm,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:ym(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ZY(e){return new gN(e)}function vN(e){this._context=e}vN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ym(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function QY(e){return new vN(e)}function xN(e){this._context=e}xN.prototype={areaStart:hm,areaEnd:hm,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 XY(e){return new xN(e)}function WA(e){return e<0?-1:1}function GA(e,t,n){var r=e._x1-e._x0,a=t-e._x1,o=(e._y1-e._y0)/(r||a<0&&-0),l=(n-e._y1)/(a||r<0&&-0),c=(o*a+l*r)/(r+a);return(WA(o)+WA(l))*Math.min(Math.abs(o),Math.abs(l),.5*Math.abs(c))||0}function KA(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function vx(e,t,n){var r=e._x0,a=e._y0,o=e._x1,l=e._y1,c=(o-r)/3;e._context.bezierCurveTo(r+c,a+c*t,o-c,l-c*n,o,l)}function gm(e){this._context=e}gm.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:vx(this,this._t0,KA(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,vx(this,KA(this,n=GA(this,e,t)),n);break;default:vx(this,this._t0,n=GA(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function bN(e){this._context=new wN(e)}(bN.prototype=Object.create(gm.prototype)).point=function(e,t){gm.prototype.point.call(this,t,e)};function wN(e){this._context=e}wN.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,a,o){this._context.bezierCurveTo(t,e,r,n,o,a)}};function JY(e){return new gm(e)}function eV(e){return new bN(e)}function SN(e){this._context=e}SN.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=YA(e),a=YA(t),o=0,l=1;l<n;++o,++l)this._context.bezierCurveTo(r[0][o],a[0][o],r[1][o],a[1][o],e[l],t[l]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function YA(e){var t,n=e.length-1,r,a=new Array(n),o=new Array(n),l=new Array(n);for(a[0]=0,o[0]=2,l[0]=e[0]+2*e[1],t=1;t<n-1;++t)a[t]=1,o[t]=4,l[t]=4*e[t]+2*e[t+1];for(a[n-1]=2,o[n-1]=7,l[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=a[t]/o[t-1],o[t]-=r,l[t]-=r*l[t-1];for(a[n-1]=l[n-1]/o[n-1],t=n-2;t>=0;--t)a[t]=(l[t]-a[t+1])/o[t];for(o[n-1]=(e[n]+a[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-a[t+1];return[a,o]}function tV(e){return new SN(e)}function Uh(e,t){this._context=e,this._t=t}Uh.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,990 bytes, lines 350-353
350default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function nV(e){return new Uh(e,.5)}function rV(e){return new Uh(e,0)}function aV(e){return new Uh(e,1)}function kl(e,t){if((l=e.length)>1)for(var n=1,r,a,o=e[t[0]],l,c=o.length;n<l;++n)for(a=o,o=e[t[n]],r=0;r<c;++r)o[r][1]+=o[r][0]=isNaN(a[r][1])?a[r][0]:a[r][1]}function l2(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function iV(e,t){return e[t]}function oV(e){const t=[];return t.key=e,t}function sV(){var e=ht([]),t=l2,n=kl,r=iV;function a(o){var l=Array.from(e.apply(this,arguments),oV),c,d=l.length,f=-1,y;for(const m of o)for(c=0,++f;c<d;++c)(l[c][f]=[0,+r(m,l[c].key,f,o)]).data=m;for(c=0,y=hC(t(l));c<d;++c)l[y[c]].index=c;return n(l,y),l}return a.keys=function(o){return arguments.length?(e=typeof o=="function"?o:ht(Array.from(o)),a):e},a.value=function(o){return arguments.length?(r=typeof o=="function"?o:ht(+o),a):r},a.order=function(o){return arguments.length?(t=o==null?l2:typeof o=="function"?o:ht(Array.from(o)),a):t},a.offset=function(o){return arguments.length?(n=o??kl,a):n},a}function lV(e,t){if((r=e.length)>0){for(var n,r,a=0,o=e[0].length,l;a<o;++a){for(l=n=0;n<r;++n)l+=e[n][a][1]||0;if(l)for(n=0;n<r;++n)e[n][a][1]/=l}kl(e,t)}}function cV(e,t){if((a=e.length)>0){for(var n=0,r=e[t[0]],a,o=r.length;n<o;++n){for(var l=0,c=0;l<a;++l)c+=e[l][n][1]||0;r[n][1]+=r[n][0]=-c/2}kl(e,t)}}function uV(e,t){if(!(!((l=e.length)>0)||!((o=(a=e[t[0]]).length)>0))){for(var n=0,r=1,a,o,l;r<o;++r){for(var c=0,d=0,f=0;c<l;++c){for(var y=e[t[c]],m=y[r][1]||0,g=y[r-1][1]||0,b=(m-g)/2,C=0;C<c;++C){var x=e[t[C]],w=x[r][1]||0,M=x[r-1][1]||0;b+=w-M}d+=m,f+=b*m}a[r-1][1]+=a[r-1][0]=n,d&&(n-=f/d)}a[r-1][1]+=a[r-1][0]=n,kl(e,t)}}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)}var dV=["type","size","sizeType"];function c2(){return c2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c2.apply(this,arguments)}function VA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ZA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?VA(Object(n),!0).forEach(function(r){fV(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fV(e,t,n){return t=pV(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pV(e){var t=mV(e,"string");return ed(t)=="symbol"?t:t+""}function mV(e,t){if(ed(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ed(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hV(e,t){if(e==null)return{};var n=yV(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yV(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var CN={symbolCircle:yC,symbolCross:LY,symbolDiamond:BY,symbolSquare:qY,symbolStar:UY,symbolTriangle:WY,symbolWye:KY},gV=Math.PI/180,vV=function(t){var n="symbol".concat($h(t));return CN[n]||yC},xV=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*gV;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}},bV=function(t,n){CN["symbol".concat($h(t))]=n},gC=function(t){var n=t.type,r=n===void 0?"circle":n,a=t.size,o=a===void 0?64:a,l=t.sizeType,c=l===void 0?"area":l,d=hV(t,dV),f=ZA(ZA({},d),{},{type:r,size:o,sizeType:c}),y=function(){var w=vV(r),M=YY().type(w).size(xV(o,c,r));return M()},m=f.className,g=f.cx,b=f.cy,C=Le(f,!0);return g===+g&&b===+b&&o===+o?B.createElement("path",c2({},C,{className:He("recharts-symbols",m),transform:"translate(".concat(g,", ").concat(b,")"),d:y()})):null};gC.registerSymbol=bV;function _l(e){"@babel/helpers - typeof";return _l=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},_l(e)}function u2(){return u2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u2.apply(this,arguments)}function QA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function wV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?QA(Object(n),!0).forEach(function(r){td(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):QA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function SV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CV(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ON(r.key),r)}}function MV(e,t,n){return t&&CV(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function OV(e,t,n){return t=vm(t),TV(e,MN()?Reflect.construct(t,n||[],vm(e).constructor):t.apply(e,n))}function TV(e,t){if(t&&(_l(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return PV(e)}function PV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MN=function(){return!!e})()}function vm(e){return vm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vm(e)}function AV(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&&d2(e,t)}function d2(e,t){return d2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},d2(e,t)}function td(e,t,n){return t=ON(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ON(e){var t=jV(e,"string");return _l(t)=="symbol"?t:t+""}function jV(e,t){if(_l(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_l(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var mr=32,vC=(function(e){function t(){return SV(this,t),OV(this,t,arguments)}return AV(t,e),MV(t,[{key:"renderIcon",value:function(r){var a=this.props.inactiveColor,o=mr/2,l=mr/6,c=mr/3,d=r.inactive?a:r.color;if(r.type==="plainline")return B.createElement("line",{strokeWidth:4,fill:"none",stroke:d,strokeDasharray:r.payload.strokeDasharray,x1:0,y1:o,x2:mr,y2:o,className:"recharts-legend-icon"});if(r.type==="line")return B.createElement("path",{strokeWidth:4,fill:"none",stroke:d,d:"M0,".concat(o,"h").concat(c,` 351 A`).concat(l,",").concat(l,",0,1,1,").concat(2*c,",").concat(o,` 352 H`).concat(mr,"M").concat(2*c,",").concat(o,` 353 A`).concat(l,",").concat(l,",0,1,1,").concat(c,",").concat(o),className:"recharts-legend-icon"});if(r.type==="rect")return B.createElement("path",{stroke:"none",fill:d,d:"M0,".concat(mr/8,"h").concat(mr,"v").concat(mr*3/4,"h").concat(-mr,"z"),className:"recharts-legend-icon"});if(B.isValidElement(r.legendIcon)){var f=wV({},r);return delete f.legendIcon,B.cloneElement(r.legendIcon,f)}return B.createElement(gC,{fill:d,cx:o,cy:o,size:mr,sizeType:"diameter",type:r.type})}},{key:"renderItems",value:function(){var r=this,a=this.props,o=a.payload,l=a.iconSize,c=a.layout,d=a.formatter,f=a.inactiveColor,y={x:0,y:0,width:mr,height:mr},m={display:c==="horizontal"?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return o.map(function(b,C){var x=b.formatter||d,w=He(td(td({"recharts-legend-item":!0},"legend-item-".concat(C),!0),"inactive",b.inactive));if(b.type==="none")return null;var M=Re(b.value)?null:b.value;Ha(!Re(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 T=b.inactive?f:b.color;return B.createElement("li",u2({className:w,style:m,key:"legend-item-".concat(C)},fm(r.props,b,C)),B.createElement(r2,{width:l,height:l,viewBox:y,style:g},r.renderIcon(b)),B.createElement("span",{className:"recharts-legend-item-text",style:{color:T}},x?x(M,b,C):M))})}},{key:"render",value:function(){var r=this.props,a=r.payload,o=r.layout,l=r.align;if(!a||!a.length)return null;var c={padding:0,margin:0,textAlign:o==="horizontal"?l:"left"};return B.createElement("ul",{className:"recharts-default-legend",style:c},this.renderItems())}}])})(O.PureComponent);td(vC,"displayName","Legend");td(vC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var xx,XA;function EV(){if(XA)return xx;XA=1;var e=zh();function t(){this.__data__=new e,this.size=0}return xx=t,xx}var bx,JA;function kV(){if(JA)return bx;JA=1;function e(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}return bx=e,bx}var wx,ej;function _V(){if(ej)return wx;ej=1;function e(t){return this.__data__.get(t)}return wx=e,wx}var Sx,tj;function DV(){if(tj)return Sx;tj=1;function e(t){return this.__data__.has(t)}return Sx=e,Sx}var Cx,nj;function NV(){if(nj)return Cx;nj=1;var e=zh(),t=lC(),n=cC(),r=200;function a(o,l){var c=this.__data__;if(c instanceof e){var d=c.__data__;if(!t||d.length<r-1)return d.push([o,l]),this.size=++c.size,this;c=this.__data__=new n(d)}return c.set(o,l),this.size=c.size,this}return Cx=a,Cx}var Mx,rj;function TN(){if(rj)return Mx;rj=1;var e=zh(),t=EV(),n=kV(),r=_V(),a=DV(),o=NV();function l(c){var d=this.__data__=new e(c);this.size=d.size}return l.prototype.clear=t,l.prototype.delete=n,l.prototype.get=r,l.prototype.has=a,l.prototype.set=o,Mx=l,Mx}var Ox,aj;function RV(){if(aj)return Ox;aj=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return Ox=t,Ox}var Tx,ij;function IV(){if(ij)return Tx;ij=1;function e(t){return this.__data__.has(t)}return Tx=e,Tx}var Px,oj;function PN(){if(oj)return Px;oj=1;var e=cC(),t=RV(),n=IV();function r(a){var o=-1,l=a==null?0:a.length;for(this.__data__=new e;++o<l;)this.add(a[o])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,Px=r,Px}var Ax,sj;function AN(){if(sj)return Ax;sj=1;function e(t,n){for(var r=-1,a=t==null?0:t.length;++r<a;)if(n(t[r],r,t))return!0;return!1}return Ax=e,Ax}var jx,lj;function jN(){if(lj)return jx;lj=1;function e(t,n){return t.has(n)}return jx=e,jx}var Ex,cj;function EN(){if(cj)return Ex;cj=1;var e=PN(),t=AN(),n=jN(),r=1,a=2;function o(l,c,d,f,y,m){var g=d&r,b=l.length,C=c.length;if(b!=C&&!(g&&C>b))return!1;var x=m.get(l),w=m.get(c);if(x&&w)return x==c&&w==l;var M=-1,T=!0,j=d&a?new e:void 0;for(m.set(l,c),m.set(c,l);++M<b;){var E=l[M],P=c[M];if(f)var k=g?f(P,E,M,c,l,m):f(E,P,M,l,c,m);if(k!==void 0){if(k)continue;T=!1;break}if(j){if(!t(c,function(A,D){if(!n(j,D)&&(E===A||y(E,A,d,f,m)))return j.push(D)})){T=!1;break}}else if(!(E===P||y(E,P,d,f,m))){T=!1;break}}return m.delete(l),m.delete(c),T}return Ex=o,Ex}var kx,uj;function LV(){if(uj)return kx;uj=1;var e=pa(),t=e.Uint8Array;return kx=t,kx}var _x,dj;function zV(){if(dj)return _x;dj=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(a,o){r[++n]=[o,a]}),r}return _x=e,_x}var Dx,fj;function xC(){if(fj)return Dx;fj=1;function e(t){var n=-1,r=Array(t.size);return t.forEach(function(a){r[++n]=a}),r}return Dx=e,Dx}var Nx,pj;function BV(){if(pj)return Nx;pj=1;var e=Kd(),t=LV(),n=sC(),r=EN(),a=zV(),o=xC(),l=1,c=2,d="[object Boolean]",f="[object Date]",y="[object Error]",m="[object Map]",g="[object Number]",b="[object RegExp]",C="[object Set]",x="[object String]",w="[object Symbol]",M="[object ArrayBuffer]",T="[object DataView]",j=e?e.prototype:void 0,E=j?j.valueOf:void 0;function P(k,A,D,I,F,L,q){switch(D){case T:if(k.byteLength!=A.byteLength||k.byteOffset!=A.byteOffset)return!1;k=k.buffer,A=A.buffer;case M:return!(k.byteLength!=A.byteLength||!L(new t(k),new t(A)));case d:case f:case g:return n(+k,+A);case y:return k.name==A.name&&k.message==A.message;case b:case x:return k==A+"";case m:var U=a;case C:var G=I&l;if(U||(U=o),k.size!=A.size&&!G)return!1;var K=q.get(k);if(K)return K==A;I|=c,q.set(k,A);var N=r(U(k),U(A),I,F,L,q);return q.delete(k),N;case w:if(E)return E.call(k)==E.call(A)}return!1}return Nx=P,Nx}var Rx,mj;function kN(){if(mj)return Rx;mj=1;function e(t,n){for(var r=-1,a=n.length,o=t.length;++r<a;)t[o+r]=n[r];return t}return Rx=e,Rx}var Ix,hj;function qV(){if(hj)return Ix;hj=1;var e=kN(),t=Ln();function n(r,a,o){var l=a(r);return t(r)?l:e(l,o(r))}return Ix=n,Ix}var Lx,yj;function $V(){if(yj)return Lx;yj=1;function e(t,n){for(var r=-1,a=t==null?0:t.length,o=0,l=[];++r<a;){var c=t[r];n(c,r,t)&&(l[o++]=c)}return l}return Lx=e,Lx}var zx,gj;function FV(){if(gj)return zx;gj=1;function e(){return[]}return zx=e,zx}var Bx,vj;function HV(){if(vj)return Bx;vj=1;var e=$V(),t=FV(),n=Object.prototype,r=n.propertyIsEnumerable,a=Object.getOwnPropertySymbols,o=a?function(l){return l==null?[]:(l=Object(l),e(a(l),function(c){return r.call(l,c)}))}:t;return Bx=o,Bx}var qx,xj;function UV(){if(xj)return qx;xj=1;function e(t,n){for(var r=-1,a=Array(t);++r<t;)a[r]=n(r);return a}return qx=e,qx}var $x,bj;function WV(){if(bj)return $x;bj=1;var e=Ja(),t=ei(),n="[object Arguments]";function r(a){return t(a)&&e(a)==n}return $x=r,$x}var Fx,wj;function bC(){if(wj)return Fx;wj=1;var e=WV(),t=ei(),n=Object.prototype,r=n.hasOwnProperty,a=n.propertyIsEnumerable,o=e((function(){return arguments})())?e:function(l){return t(l)&&r.call(l,"callee")&&!a.call(l,"callee")};return Fx=o,Fx}var _u={exports:{}},Hx,Sj;function GV(){if(Sj)return Hx;Sj=1;function e(){return!1}return Hx=e,Hx}_u.exports;var Cj;function _N(){return Cj||(Cj=1,(function(e,t){var n=pa(),r=GV(),a=t&&!t.nodeType&&t,o=a&&!0&&e&&!e.nodeType&&e,l=o&&o.exports===a,c=l?n.Buffer:void 0,d=c?c.isBuffer:void 0,f=d||r;e.exports=f})(_u,_u.exports)),_u.exports}var Ux,Mj;function wC(){if(Mj)return Ux;Mj=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(r,a){var o=typeof r;return a=a??e,!!a&&(o=="number"||o!="symbol"&&t.test(r))&&r>-1&&r%1==0&&r<a}return Ux=n,Ux}var Wx,Oj;function SC(){if(Oj)return Wx;Oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Wx=t,Wx}var Gx,Tj;function KV(){if(Tj)return Gx;Tj=1;var e=Ja(),t=SC(),n=ei(),r="[object Arguments]",a="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",y="[object Number]",m="[object Object]",g="[object RegExp]",b="[object Set]",C="[object String]",x="[object WeakMap]",w="[object ArrayBuffer]",M="[object DataView]",T="[object Float32Array]",j="[object Float64Array]",E="[object Int8Array]",P="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",D="[object Uint8ClampedArray]",I="[object Uint16Array]",F="[object Uint32Array]",L={};L[T]=L[j]=L[E]=L[P]=L[k]=L[A]=L[D]=L[I]=L[F]=!0,L[r]=L[a]=L[w]=L[o]=L[M]=L[l]=L[c]=L[d]=L[f]=L[y]=L[m]=L[g]=L[b]=L[C]=L[x]=!1;function q(U){return n(U)&&t(U.length)&&!!L[e(U)]}return Gx=q,Gx}var Kx,Pj;function DN(){if(Pj)return Kx;Pj=1;function e(t){return function(n){return t(n)}}return Kx=e,Kx}var Du={exports:{}};Du.exports;var Aj;function YV(){return Aj||(Aj=1,(function(e,t){var n=XD(),r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===r,l=o&&n.process,c=(function(){try{var d=a&&a.require&&a.require("util").t
vendor: 5,503 bytes, line 353
353ypes;return d||l&&l.binding&&l.binding("util")}catch{}})();e.exports=c})(Du,Du.exports)),Du.exports}var Yx,jj;function NN(){if(jj)return Yx;jj=1;var e=KV(),t=DN(),n=YV(),r=n&&n.isTypedArray,a=r?t(r):e;return Yx=a,Yx}var Vx,Ej;function VV(){if(Ej)return Vx;Ej=1;var e=UV(),t=bC(),n=Ln(),r=_N(),a=wC(),o=NN(),l=Object.prototype,c=l.hasOwnProperty;function d(f,y){var m=n(f),g=!m&&t(f),b=!m&&!g&&r(f),C=!m&&!g&&!b&&o(f),x=m||g||b||C,w=x?e(f.length,String):[],M=w.length;for(var T in f)(y||c.call(f,T))&&!(x&&(T=="length"||b&&(T=="offset"||T=="parent")||C&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||a(T,M)))&&w.push(T);return w}return Vx=d,Vx}var Zx,kj;function ZV(){if(kj)return Zx;kj=1;var e=Object.prototype;function t(n){var r=n&&n.constructor,a=typeof r=="function"&&r.prototype||e;return n===a}return Zx=t,Zx}var Qx,_j;function RN(){if(_j)return Qx;_j=1;function e(t,n){return function(r){return t(n(r))}}return Qx=e,Qx}var Xx,Dj;function QV(){if(Dj)return Xx;Dj=1;var e=RN(),t=e(Object.keys,Object);return Xx=t,Xx}var Jx,Nj;function XV(){if(Nj)return Jx;Nj=1;var e=ZV(),t=QV(),n=Object.prototype,r=n.hasOwnProperty;function a(o){if(!e(o))return t(o);var l=[];for(var c in Object(o))r.call(o,c)&&c!="constructor"&&l.push(c);return l}return Jx=a,Jx}var eb,Rj;function Yd(){if(Rj)return eb;Rj=1;var e=oC(),t=SC();function n(r){return r!=null&&t(r.length)&&!e(r)}return eb=n,eb}var tb,Ij;function Wh(){if(Ij)return tb;Ij=1;var e=VV(),t=XV(),n=Yd();function r(a){return n(a)?e(a):t(a)}return tb=r,tb}var nb,Lj;function JV(){if(Lj)return nb;Lj=1;var e=qV(),t=HV(),n=Wh();function r(a){return e(a,n,t)}return nb=r,nb}var rb,zj;function eZ(){if(zj)return rb;zj=1;var e=JV(),t=1,n=Object.prototype,r=n.hasOwnProperty;function a(o,l,c,d,f,y){var m=c&t,g=e(o),b=g.length,C=e(l),x=C.length;if(b!=x&&!m)return!1;for(var w=b;w--;){var M=g[w];if(!(m?M in l:r.call(l,M)))return!1}var T=y.get(o),j=y.get(l);if(T&&j)return T==l&&j==o;var E=!0;y.set(o,l),y.set(l,o);for(var P=m;++w<b;){M=g[w];var k=o[M],A=l[M];if(d)var D=m?d(A,k,M,l,o,y):d(k,A,M,o,l,y);if(!(D===void 0?k===A||f(k,A,c,d,y):D)){E=!1;break}P||(P=M=="constructor")}if(E&&!P){var I=o.constructor,F=l.constructor;I!=F&&"constructor"in o&&"constructor"in l&&!(typeof I=="function"&&I instanceof I&&typeof F=="function"&&F instanceof F)&&(E=!1)}return y.delete(o),y.delete(l),E}return rb=a,rb}var ab,Bj;function tZ(){if(Bj)return ab;Bj=1;var e=is(),t=pa(),n=e(t,"DataView");return ab=n,ab}var ib,qj;function nZ(){if(qj)return ib;qj=1;var e=is(),t=pa(),n=e(t,"Promise");return ib=n,ib}var ob,$j;function IN(){if($j)return ob;$j=1;var e=is(),t=pa(),n=e(t,"Set");return ob=n,ob}var sb,Fj;function rZ(){if(Fj)return sb;Fj=1;var e=is(),t=pa(),n=e(t,"WeakMap");return sb=n,sb}var lb,Hj;function aZ(){if(Hj)return lb;Hj=1;var e=tZ(),t=lC(),n=nZ(),r=IN(),a=rZ(),o=Ja(),l=JD(),c="[object Map]",d="[object Object]",f="[object Promise]",y="[object Set]",m="[object WeakMap]",g="[object DataView]",b=l(e),C=l(t),x=l(n),w=l(r),M=l(a),T=o;return(e&&T(new e(new ArrayBuffer(1)))!=g||t&&T(new t)!=c||n&&T(n.resolve())!=f||r&&T(new r)!=y||a&&T(new a)!=m)&&(T=function(j){var E=o(j),P=E==d?j.constructor:void 0,k=P?l(P):"";if(k)switch(k){case b:return g;case C:return c;case x:return f;case w:return y;case M:return m}return E}),lb=T,lb}var cb,Uj;function iZ(){if(Uj)return cb;Uj=1;var e=TN(),t=EN(),n=BV(),r=eZ(),a=aZ(),o=Ln(),l=_N(),c=NN(),d=1,f="[object Arguments]",y="[object Array]",m="[object Object]",g=Object.prototype,b=g.hasOwnProperty;function C(x,w,M,T,j,E){var P=o(x),k=o(w),A=P?y:a(x),D=k?y:a(w);A=A==f?m:A,D=D==f?m:D;var I=A==m,F=D==m,L=A==D;if(L&&l(x)){if(!l(w))return!1;P=!0,I=!1}if(L&&!I)return E||(E=new e),P||c(x)?t(x,w,M,T,j,E):n(x,w,A,M,T,j,E);if(!(M&d)){var q=I&&b.call(x,"__wrapped__"),U=F&&b.call(w,"__wrapped__");if(q||U){var G=q?x.value():x,K=U?w.value():w;return E||(E=new e),j(G,K,M,T,E)}}return L?(E||(E=new e),r(x,w,M,T,j,E)):!1}return cb=C,cb}var ub,Wj;function CC(){if(Wj)return ub;Wj=1;var e=iZ(),t=ei();function n(r,a,o,l,c){return r===a?!0:r==null||a==null||!t(r)&&!t(a)?r!==r&&a!==a:e(r,a,o,l,n,c)}return ub=n,ub}var db,Gj;function oZ(){if(Gj)return db;Gj=1;var e=TN(),t=CC(),n=1,r=2;function a(o,l,c,d){var f=c.length,y=f,m=!d;if(o==null)return!y;for(o=Object(o);f--;){var g=c[f];if(m&&g[2]?g[1]!==o[g[0]]:!(g[0]in o))return!1}for(;++f<y;){g=c[f];var b=g[0],C=o[b],x=g[1];if(m&&g[2]){if(C===void 0&&!(b in o))return!1}else{var w=new e;if(d)var M=d(C,x,b,o,l,w);if(!(M===void 0?t(x,C,n|r,d,w):M))return!1}}return!0}return db=a,db}var fb,Kj;function LN(){if(Kj)return fb;Kj=1;var e=Vi();function t(n){return n===n&&!e(n)}return fb=t,fb}var pb,Yj;function sZ(){if(Yj)return pb;Yj=1;var e=LN(),t=Wh();function n(r){for(var a=t(r),o=a.length;o--;){var l=a[o],c=r[l];a[o]=[l,c,e(c)]}return a}return pb=n,pb}var mb,Vj;function zN(){if(Vj)return mb;Vj=1;function e(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}return mb=e,mb}var hb,Zj;function lZ(){if(Zj)return hb;Zj=1;var e=oZ(),t=sZ(),n=zN();function r(a){var o=t(a);return o.length==1&&o[0][2]?n(o[0][0],o[0][1]):function(l){return l===a||e(l,a,o)}}return hb=r,hb}var yb,Qj;function cZ(){if(Qj)return yb;Qj=1;function e(t,n){return t!=null&&n in Object(t)}return yb=e,yb}var gb,Xj;function uZ(){if(Xj)return gb;Xj=1;var e=nN(),t=bC(),n=Ln(),r=wC(),a=SC(),o=qh();function l(c,d,f){d=e(d,c);for(var y=-1,m=d.length,g=!1;++y<m;){var b=o(d[y]);if(!(g=c!=null&&f(c,b)))break;c=c[b]}return g||++y!=m?g:(m=c==null?0:c.length,!!m&&a(m)&&r(b,m)&&(n(c)||t(c))
vendor: 41,595 bytes, lines 353-360
353)}return gb=l,gb}var vb,Jj;function dZ(){if(Jj)return vb;Jj=1;var e=cZ(),t=uZ();function n(r,a){return r!=null&&t(r,a,e)}return vb=n,vb}var xb,e6;function fZ(){if(e6)return xb;e6=1;var e=CC(),t=rN(),n=dZ(),r=iC(),a=LN(),o=zN(),l=qh(),c=1,d=2;function f(y,m){return r(y)&&a(m)?o(l(y),m):function(g){var b=t(g,y);return b===void 0&&b===m?n(g,y):e(m,b,c|d)}}return xb=f,xb}var bb,t6;function gc(){if(t6)return bb;t6=1;function e(t){return t}return bb=e,bb}var wb,n6;function pZ(){if(n6)return wb;n6=1;function e(t){return function(n){return n?.[t]}}return wb=e,wb}var Sb,r6;function mZ(){if(r6)return Sb;r6=1;var e=dC();function t(n){return function(r){return e(r,n)}}return Sb=t,Sb}var Cb,a6;function hZ(){if(a6)return Cb;a6=1;var e=pZ(),t=mZ(),n=iC(),r=qh();function a(o){return n(o)?e(r(o)):t(o)}return Cb=a,Cb}var Mb,i6;function Zi(){if(i6)return Mb;i6=1;var e=lZ(),t=fZ(),n=gc(),r=Ln(),a=hZ();function o(l){return typeof l=="function"?l:l==null?n:typeof l=="object"?r(l)?t(l[0],l[1]):e(l):a(l)}return Mb=o,Mb}var Ob,o6;function BN(){if(o6)return Ob;o6=1;function e(t,n,r,a){for(var o=t.length,l=r+(a?1:-1);a?l--:++l<o;)if(n(t[l],l,t))return l;return-1}return Ob=e,Ob}var Tb,s6;function yZ(){if(s6)return Tb;s6=1;function e(t){return t!==t}return Tb=e,Tb}var Pb,l6;function gZ(){if(l6)return Pb;l6=1;function e(t,n,r){for(var a=r-1,o=t.length;++a<o;)if(t[a]===n)return a;return-1}return Pb=e,Pb}var Ab,c6;function vZ(){if(c6)return Ab;c6=1;var e=BN(),t=yZ(),n=gZ();function r(a,o,l){return o===o?n(a,o,l):e(a,t,l)}return Ab=r,Ab}var jb,u6;function xZ(){if(u6)return jb;u6=1;var e=vZ();function t(n,r){var a=n==null?0:n.length;return!!a&&e(n,r,0)>-1}return jb=t,jb}var Eb,d6;function bZ(){if(d6)return Eb;d6=1;function e(t,n,r){for(var a=-1,o=t==null?0:t.length;++a<o;)if(r(n,t[a]))return!0;return!1}return Eb=e,Eb}var kb,f6;function wZ(){if(f6)return kb;f6=1;function e(){}return kb=e,kb}var _b,p6;function SZ(){if(p6)return _b;p6=1;var e=IN(),t=wZ(),n=xC(),r=1/0,a=e&&1/n(new e([,-0]))[1]==r?function(o){return new e(o)}:t;return _b=a,_b}var Db,m6;function CZ(){if(m6)return Db;m6=1;var e=PN(),t=xZ(),n=bZ(),r=jN(),a=SZ(),o=xC(),l=200;function c(d,f,y){var m=-1,g=t,b=d.length,C=!0,x=[],w=x;if(y)C=!1,g=n;else if(b>=l){var M=f?null:a(d);if(M)return o(M);C=!1,g=r,w=new e}else w=f?[]:x;e:for(;++m<b;){var T=d[m],j=f?f(T):T;if(T=y||T!==0?T:0,C&&j===j){for(var E=w.length;E--;)if(w[E]===j)continue e;f&&w.push(j),x.push(T)}else g(w,j,y)||(w!==x&&w.push(j),x.push(T))}return x}return Db=c,Db}var Nb,h6;function MZ(){if(h6)return Nb;h6=1;var e=Zi(),t=CZ();function n(r,a){return r&&r.length?t(r,e(a,2)):[]}return Nb=n,Nb}var OZ=MZ();const y6=dt(OZ);function qN(e,t,n){return t===!0?y6(e,n):Re(t)?y6(e,t):e}function Dl(e){"@babel/helpers - typeof";return Dl=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},Dl(e)}var TZ=["ref"];function g6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?g6(Object(n),!0).forEach(function(r){Gh(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v6(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,FN(r.key),r)}}function AZ(e,t,n){return t&&v6(e.prototype,t),n&&v6(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function jZ(e,t,n){return t=xm(t),EZ(e,$N()?Reflect.construct(t,n||[],xm(e).constructor):t.apply(e,n))}function EZ(e,t){if(t&&(Dl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return kZ(e)}function kZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($N=function(){return!!e})()}function xm(e){return xm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xm(e)}function _Z(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&&f2(e,t)}function f2(e,t){return f2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},f2(e,t)}function Gh(e,t,n){return t=FN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FN(e){var t=DZ(e,"string");return Dl(t)=="symbol"?t:t+""}function DZ(e,t){if(Dl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Dl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function NZ(e,t){if(e==null)return{};var n=RZ(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function RZ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function IZ(e){return e.value}function LZ(e,t){if(B.isValidElement(e))return B.cloneElement(e,t);if(typeof e=="function")return B.createElement(e,t);t.ref;var n=NZ(t,TZ);return B.createElement(vC,n)}var x6=1,Bi=(function(e){function t(){var n;PZ(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=jZ(this,t,[].concat(a)),Gh(n,"lastBoundingBox",{width:-1,height:-1}),n}return _Z(t,e),AZ(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();return r.height=this.wrapperNode.offsetHeight,r.width=this.wrapperNode.offsetWidth,r}return null}},{key:"updateBBox",value:function(){var r=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>x6||Math.abs(a.height-this.lastBoundingBox.height)>x6)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,r&&r(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Na({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var a=this.props,o=a.layout,l=a.align,c=a.verticalAlign,d=a.margin,f=a.chartWidth,y=a.chartHeight,m,g;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(l==="center"&&o==="vertical"){var b=this.getBBoxSnapshot();m={left:((f||0)-b.width)/2}}else m=l==="right"?{right:d&&d.right||0}:{left:d&&d.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(c==="middle"){var C=this.getBBoxSnapshot();g={top:((y||0)-C.height)/2}}else g=c==="bottom"?{bottom:d&&d.bottom||0}:{top:d&&d.top||0};return Na(Na({},m),g)}},{key:"render",value:function(){var r=this,a=this.props,o=a.content,l=a.width,c=a.height,d=a.wrapperStyle,f=a.payloadUniqBy,y=a.payload,m=Na(Na({position:"absolute",width:l||"auto",height:c||"auto"},this.getDefaultPosition(d)),d);return B.createElement("div",{className:"recharts-legend-wrapper",style:m,ref:function(b){r.wrapperNode=b}},LZ(o,Na(Na({},this.props),{},{payload:qN(y,f,IZ)})))}}],[{key:"getWithHeight",value:function(r,a){var o=Na(Na({},this.defaultProps),r.props),l=o.layout;return l==="vertical"&&me(r.props.height)?{height:r.props.height}:l==="horizontal"?{width:r.props.width||a}:null}}])})(O.PureComponent);Gh(Bi,"displayName","Legend");Gh(Bi,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Rb,b6;function zZ(){if(b6)return Rb;b6=1;var e=Kd(),t=bC(),n=Ln(),r=e?e.isConcatSpreadable:void 0;function a(o){return n(o)||t(o)||!!(r&&o&&o[r])}return Rb=a,Rb}var Ib,w6;function HN(){if(w6)return Ib;w6=1;var e=kN(),t=zZ();function n(r,a,o,l,c){var d=-1,f=r.length;for(o||(o=t),c||(c=[]);++d<f;){var y=r[d];a>0&&o(y)?a>1?n(y,a-1,o,l,c):e(c,y):l||(c[c.length]=y)}return c}return Ib=n,Ib}var Lb,S6;function BZ(){if(S6)return Lb;S6=1;function e(t){return function(n,r,a){for(var o=-1,l=Object(n),c=a(n),d=c.length;d--;){var f=c[t?d:++o];if(r(l[f],f,l)===!1)break}return n}}return Lb=e,Lb}var zb,C6;function qZ(){if(C6)return zb;C6=1;var e=BZ(),t=e();return zb=t,zb}var Bb,M6;function UN(){if(M6)return Bb;M6=1;var e=qZ(),t=Wh();function n(r,a){return r&&e(r,a,t)}return Bb=n,Bb}var qb,O6;function $Z(){if(O6)return qb;O6=1;var e=Yd();function t(n,r){return function(a,o){if(a==null)return a;if(!e(a))return n(a,o);for(var l=a.length,c=r?l:-1,d=Object(a);(r?c--:++c<l)&&o(d[c],c,d)!==!1;);return a}}return qb=t,qb}var $b,T6;function MC(){if(T6)return $b;T6=1;var e=UN(),t=$Z(),n=t(e);return $b=n,$b}var Fb,P6;function WN(){if(P6)return Fb;P6=1;var e=MC(),t=Yd();function n(r,a){var o=-1,l=t(r)?Array(r.length):[];return e(r,function(c,d,f){l[++o]=a(c,d,f)}),l}return Fb=n,Fb}var Hb,A6;function FZ(){if(A6)return Hb;A6=1;function e(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}return Hb=e,Hb}var Ub,j6;function HZ(){if(j6)return Ub;j6=1;var e=pc();function t(n,r){if(n!==r){var a=n!==void 0,o=n===null,l=n===n,c=e(n),d=r!==void 0,f=r===null,y=r===r,m=e(r);if(!f&&!m&&!c&&n>r||c&&d&&y&&!f&&!m||o&&d&&y||!a&&y||!l)return 1;if(!o&&!c&&!m&&n<r||m&&a&&l&&!o&&!c||f&&a&&l||!d&&l||!y)return-1}return 0}return Ub=t,Ub}var Wb,E6;function UZ(){if(E6)return Wb;E6=1;var e=HZ();function t(n,r,a){for(var o=-1,l=n.criteria,c=r.criteria,d=l.length,f=a.length;++o<d;){var y=e(l[o],c[o]);if(y){if(o>=f)return y;var m=a[o];return y*(m=="desc"?-1:1)}}return n.index-r.index}return Wb=t,Wb}var Gb,k6;function WZ(){if(k6)return Gb;k6=1;var e=uC(),t=dC(),n=Zi(),r=WN(),a=FZ(),o=DN(),l=UZ(),c=gc(),d=Ln();function f(y,m,g){m.length?m=e(m,function(x){return d(x)?function(w){return t(w,x.length===1?x[0]:x)}:x}):m=[c];var b=-1;m=e(m,o(n));var C=r(y,function(x,w,M){var T=e(m,function(j){return j(x)});return{criteria:T,index:++b,value:x}});return a(C,function(x,w){return l(x,w,g)})}return Gb=f,Gb}var Kb,_6;function GZ(){if(_6)return Kb;_6=1;function e(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}return Kb=e,Kb}var Yb,D6;function KZ(){if(D6)return Yb;D6=1;var e=GZ(),t=Math.max;function n(r,a,o){return a=t(a===void 0?r.length-1:a,0),function(){for(var l=arguments,c=-1,d=t(l.length-a,0),f=Array(d);++c<d;)f[c]=l[a+c];c=-1;for(var y=Array(a+1);++c<a;)y[c]=l[c];return y[a]=o(f),e(r,this,y)}}return Yb=n,Yb}var Vb,N6;function YZ(){if(N6)return Vb;N6=1;function e(t){return function(){return t}}return Vb=e,Vb}var Zb,R6;function GN(){if(R6)return Zb;R6=1;var e=is(),t=(function(){try{var n=e(Object,"defineProperty");return n({},"",{}),n}catch{}})();return Zb=t,Zb}var Qb,I6;function VZ(){if(I6)return Qb;I6=1;var e=YZ(),t=GN(),n=gc(),r=t?function(a,o){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(o),writable:!0})}:n;return Qb=r,Qb}var Xb,L6;function ZZ(){if(L6)return Xb;L6=1;var e=800,t=16,n=Date.now;function r(a){var o=0,l=0;return function(){var c=n(),d=t-(c-l);if(l=c,d>0){if(++o>=e)return arguments[0]}else o=0;return a.apply(void 0,arguments)}}return Xb=r,Xb}var Jb,z6;function QZ(){if(z6)return Jb;z6=1;var e=VZ(),t=ZZ(),n=t(e);return Jb=n,Jb}var e1,B6;function XZ(){if(B6)return e1;B6=1;var e=gc(),t=KZ(),n=QZ();function r(a,o){return n(t(a,o,e),a+"")}return e1=r,e1}var t1,q6;function Kh(){if(q6)return t1;q6=1;var e=sC(),t=Yd(),n=wC(),r=Vi();function a(o,l,c){if(!r(c))return!1;var d=typeof l;return(d=="number"?t(c)&&n(l,c.length):d=="string"&&l in c)?e(c[l],o):!1}return t1=a,t1}var n1,$6;function JZ(){if($6)return n1;$6=1;var e=HN(),t=WZ(),n=XZ(),r=Kh(),a=n(function(o,l){if(o==null)return[];var c=l.length;return c>1&&r(o,l[0],l[1])?l=[]:c>2&&r(l[0],l[1],l[2])&&(l=[l[0]]),t(o,e(l,1),[])});return n1=a,n1}var eQ=JZ();const OC=dt(eQ);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)}function p2(){return p2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p2.apply(this,arguments)}function tQ(e,t){return iQ(e)||aQ(e,t)||rQ(e,t)||nQ()}function nQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 354In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rQ(e,t){if(e){if(typeof e=="string")return F6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F6(e,t)}}function F6(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aQ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function iQ(e){if(Array.isArray(e))return e}function H6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function r1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?H6(Object(n),!0).forEach(function(r){oQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oQ(e,t,n){return t=sQ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sQ(e){var t=lQ(e,"string");return nd(t)=="symbol"?t:t+""}function lQ(e,t){if(nd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(nd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cQ(e){return Array.isArray(e)&&Ut(e[0])&&Ut(e[1])?e.join(" ~ "):e}var uQ=function(t){var n=t.separator,r=n===void 0?" : ":n,a=t.contentStyle,o=a===void 0?{}:a,l=t.itemStyle,c=l===void 0?{}:l,d=t.labelStyle,f=d===void 0?{}:d,y=t.payload,m=t.formatter,g=t.itemSorter,b=t.wrapperClassName,C=t.labelClassName,x=t.label,w=t.labelFormatter,M=t.accessibilityLayer,T=M===void 0?!1:M,j=function(){if(y&&y.length){var q={padding:0,margin:0},U=(g?OC(y,g):y).map(function(G,K){if(G.type==="none")return null;var N=r1({display:"block",paddingTop:4,paddingBottom:4,color:G.color||"#000"},c),H=G.formatter||m||cQ,$=G.value,V=G.name,oe=$,z=V;if(H&&oe!=null&&z!=null){var Y=H($,V,G,K,y);if(Array.isArray(Y)){var Z=tQ(Y,2);oe=Z[0],z=Z[1]}else oe=Y}return B.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(K),style:N},Ut(z)?B.createElement("span",{className:"recharts-tooltip-item-name"},z):null,Ut(z)?B.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,B.createElement("span",{className:"recharts-tooltip-item-value"},oe),B.createElement("span",{className:"recharts-tooltip-item-unit"},G.unit||""))});return B.createElement("ul",{className:"recharts-tooltip-item-list",style:q},U)}return null},E=r1({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),P=r1({margin:0},f),k=!qe(x),A=k?x:"",D=He("recharts-default-tooltip",b),I=He("recharts-tooltip-label",C);k&&w&&y!==void 0&&y!==null&&(A=w(x,y));var F=T?{role:"status","aria-live":"assertive"}:{};return B.createElement("div",p2({className:D,style:E},F),B.createElement("p",{className:I,style:P},B.isValidElement(A)?A:"".concat(A)),j())};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)}function kp(e,t,n){return t=dQ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dQ(e){var t=fQ(e,"string");return rd(t)=="symbol"?t:t+""}function fQ(e,t){if(rd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(rd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bu="recharts-tooltip-wrapper",pQ={visibility:"hidden"};function mQ(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return He(bu,kp(kp(kp(kp({},"".concat(bu,"-right"),me(n)&&t&&me(t.x)&&n>=t.x),"".concat(bu,"-left"),me(n)&&t&&me(t.x)&&n<t.x),"".concat(bu,"-bottom"),me(r)&&t&&me(t.y)&&r>=t.y),"".concat(bu,"-top"),me(r)&&t&&me(t.y)&&r<t.y))}function U6(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,a=e.offsetTopLeft,o=e.position,l=e.reverseDirection,c=e.tooltipDimension,d=e.viewBox,f=e.viewBoxDimension;if(o&&me(o[r]))return o[r];var y=n[r]-c-a,m=n[r]+a;if(t[r])return l[r]?y:m;if(l[r]){var g=y,b=d[r];return g<b?Math.max(m,d[r]):Math.max(y,d[r])}var C=m+c,x=d[r]+f;return C>x?Math.max(y,d[r]):Math.max(m,d[r])}function hQ(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function yQ(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,a=e.position,o=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,d=e.viewBox,f,y,m;return l.height>0&&l.width>0&&n?(y=U6({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:a,reverseDirection:o,tooltipDimension:l.width,viewBox:d,viewBoxDimension:d.width}),m=U6({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:a,reverseDirection:o,tooltipDimension:l.height,viewBox:d,viewBoxDimension:d.height}),f=hQ({translateX:y,translateY:m,useTranslate3d:c})):f=pQ,{cssProperties:f,cssClasses:mQ({translateX:y,translateY:m,coordinate:n})}}function Nl(e){"@babel/helpers - typeof";return Nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nl(e)}function W6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function G6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W6(Object(n),!0).forEach(function(r){h2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,YN(r.key),r)}}function xQ(e,t,n){return t&&vQ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function bQ(e,t,n){return t=bm(t),wQ(e,KN()?Reflect.construct(t,n||[],bm(e).constructor):t.apply(e,n))}function wQ(e,t){if(t&&(Nl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return SQ(e)}function SQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(KN=function(){return!!e})()}function bm(e){return bm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},bm(e)}function CQ(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&&m2(e,t)}function m2(e,t){return m2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},m2(e,t)}function h2(e,t,n){return t=YN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YN(e){var t=MQ(e,"string");return Nl(t)=="symbol"?t:t+""}function MQ(e,t){if(Nl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var K6=1,OQ=(function(e){function t(){var n;gQ(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=bQ(this,t,[].concat(a)),h2(n,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),h2(n,"handleKeyDown",function(l){if(l.key==="Escape"){var c,d,f,y;n.setState({dismissed:!0,dismissedAtCoordinate:{x:(c=(d=n.props.coordinate)===null||d===void 0?void 0:d.x)!==null&&c!==void 0?c:0,y:(f=(y=n.props.coordinate)===null||y===void 0?void 0:y.y)!==null&&f!==void 0?f:0}})}}),n}return CQ(t,e),xQ(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-this.state.lastBoundingBox.width)>K6||Math.abs(r.height-this.state.lastBoundingBox.height)>K6)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.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 r=this,a=this.props,o=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,d=a.animationEasing,f=a.children,y=a.coordinate,m=a.hasPayload,g=a.isAnimationActive,b=a.offset,C=a.position,x=a.reverseDirection,w=a.useTranslate3d,M=a.viewBox,T=a.wrapperStyle,j=yQ({allowEscapeViewBox:l,coordinate:y,offsetTopLeft:b,position:C,reverseDirection:x,tooltipBox:this.state.lastBoundingBox,useTranslate3d:w,viewBox:M}),E=j.cssClasses,P=j.cssProperties,k=G6(G6({transition:g&&o?"transform ".concat(c,"ms ").concat(d):void 0},P),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&m?"visible":"hidden",position:"absolute",top:0,left:0},T);return B.createElement("div",{tabIndex:-1,className:E,style:k,ref:function(D){r.wrapperNode=D}},f)}}])})(O.PureComponent),TQ=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},os={isSsr:TQ()};function Rl(e){"@babel/helpers - typeof";return Rl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rl(e)}function Y6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function V6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Y6(Object(n),!0).forEach(function(r){TC(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y6(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AQ(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ZN(r.key),r)}}function jQ(e,t,n){return t&&AQ(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function EQ(e,t,n){return t=wm(t),kQ(e,VN()?Reflect.construct(t,n||[],wm(e).constructor):t.apply(e,n))}function kQ(e,t){if(t&&(Rl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _Q(e)}function _Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(VN=function(){return!!e})()}function wm(e){return wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},wm(e)}function DQ(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&&y2(e,t)}function y2(e,t){return y2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},y2(e,t)}function TC(e,t,n){return t=ZN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZN(e){var t=NQ(e,"string");return Rl(t)=="symbol"?t:t+""}function NQ(e,t){if(Rl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Rl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function RQ(e){return e.dataKey}function IQ(e,t){return B.isValidElement(e)?B.cloneElement(e,t):typeof e=="function"?B.createElement(e,t):B.createElement(uQ,t)}var vn=(function(e){function t(){return PQ(this,t),EQ(this,t,arguments)}return DQ(t,e),jQ(t,[{key:"render",value:function(){var r=this,a=this.props,o=a.active,l=a.allowEscapeViewBox,c=a.animationDuration,d=a.animationEasing,f=a.content,y=a.coordinate,m=a.filterNull,g=a.isAnimationActive,b=a.offset,C=a.payload,x=a.payloadUniqBy,w=a.position,M=a.reverseDirection,T=a.useTranslate3d,j=a.viewBox,E=a.wrapperStyle,P=C??[];m&&P.length&&(P=qN(C.filter(function(A){return A.value!=null&&(A.hide!==!0||r.props.includeHidden)}),x,RQ));var k=P.length>0;return B.createElement(OQ,{allowEscapeViewBox:l,animationDuration:c,animationEasing:d,isAnimationActive:g,active:o,coordinate:y,hasPayload:k,offset:b,position:w,reverseDirection:M,useTranslate3d:T,viewBox:j,wrapperStyle:E},IQ(f,V6(V6({},this.props),{},{payload:P})))}}])})(O.PureComponent);TC(vn,"displayName","Tooltip");TC(vn,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!os.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 a1,Z6;function LQ(){if(Z6)return a1;Z6=1;var e=pa(),t=function(){return e.Date.now()};return a1=t,a1}var i1,Q6;function zQ(){if(Q6)return i1;Q6=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return i1=t,i1}var o1,X6;function BQ(){if(X6)return o1;X6=1;var e=zQ(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return o1=n,o1}var s1,J6;function QN(){if(J6)return s1;J6=1;var e=BQ(),t=Vi(),n=pc(),r=NaN,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function d(f){if(typeof f=="number")return f;if(n(f))return r;if(t(f)){var y=typeof f.valueOf=="function"?f.valueOf():f;f=t(y)?y+"":y}if(typeof f!="string")return f===0?f:+f;f=e(f);var m=o.test(f);return m||l.test(f)?c(f.slice(2),m?2:8):a.test(f)?r:+f}return s1=d,s1}var l1,eE;function qQ(){if(eE)return l1;eE=1;var e=Vi(),t=LQ(),n=QN(),r="Expected a function",a=Math.max,o=Math.min;function l(c,d,f){var y,m,g,b,C,x,w=0,M=!1,T=!1,j=!0;if(typeof c!="function")throw new TypeError(r);d=n(d)||0,e(f)&&(M=!!f.leading,T="maxWait"in f,g=T?a(n(f.maxWait)||0,d):g,j="trailing"in f?!!f.trailing:j);function E(U){var G=y,K=m;return y=m=void 0,w=U,b=c.apply(K,G),b}function P(U){return w=U,C=setTimeout(D,d),M?E(U):b}function k(U){var G=U-x,K=U-w,N=d-G;return T?o(N,g-K):N}function A(U){var G=U-x,K=U-w;return x===void 0||G>=d||G<0||T&&K>=g}function D(){var U=t();if(A(U))return I(U);C=setTimeout(D,k(U))}function I(U){return C=void 0,j&&y?E(U):(y=m=void 0,b)}function F(){C!==void 0&&clearTimeout(C),w=0,y=x=m=C=void 0}function L(){return C===void 0?b:I(t())}function q(){var U=t(),G=A(U);if(y=arguments,m=this,x=U,G){if(C===void 0)return P(x);if(T)return clearTimeout(C),C=setTimeout(D,d),E(x)}return C===void 0&&(C=setTimeout(D,d)),b}return q.cancel=F,q.flush=L,q}return l1=l,l1}var c1,tE;function $Q(){if(tE)return c1;tE=1;var e=qQ(),t=Vi(),n="Expected a function";function r(a,o,l){var c=!0,d=!0;if(typeof a!="function")throw new TypeError(n);return t(l)&&(c="leading"in l?!!l.leading:c,d="trailing"in l?!!l.trailing:d),e(a,o,{leading:c,maxWait:o,trailing:d})}return c1=r,c1}var FQ=$Q();const XN=dt(FQ);function ad(e){"@babel/helpers - typeof";return ad=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},ad(e)}function nE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _p(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nE(Object(n),!0).forEach(function(r){HQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function HQ(e,t,n){return t=UQ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function UQ(e){var t=WQ(e,"string");return ad(t)=="symbol"?t:t+""}function WQ(e,t){if(ad(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ad(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GQ(e,t){return ZQ(e)||VQ(e,t)||YQ(e,t)||KQ()}function KQ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 355In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function YQ(e,t){if(e){if(typeof e=="string")return rE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rE(e,t)}}function rE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VQ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function ZQ(e){if(Array.isArray(e))return e}var Vo=O.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,a=r===void 0?{width:-1,height:-1}:r,o=e.width,l=o===void 0?"100%":o,c=e.height,d=c===void 0?"100%":c,f=e.minWidth,y=f===void 0?0:f,m=e.minHeight,g=e.maxHeight,b=e.children,C=e.debounce,x=C===void 0?0:C,w=e.id,M=e.className,T=e.onResize,j=e.style,E=j===void 0?{}:j,P=O.useRef(null),k=O.useRef();k.current=T,O.useImperativeHandle(t,function(){return Object.defineProperty(P.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),P.current},configurable:!0})});var A=O.useState({containerWidth:a.width,containerHeight:a.height}),D=GQ(A,2),I=D[0],F=D[1],L=O.useCallback(function(U,G){F(function(K){var N=Math.round(U),H=Math.round(G);return K.containerWidth===N&&K.containerHeight===H?K:{containerWidth:N,containerHeight:H}})},[]);O.useEffect(function(){var U=function(V){var oe,z=V[0].contentRect,Y=z.width,Z=z.height;L(Y,Z),(oe=k.current)===null||oe===void 0||oe.call(k,Y,Z)};x>0&&(U=XN(U,x,{trailing:!0,leading:!1}));var G=new ResizeObserver(U),K=P.current.getBoundingClientRect(),N=K.width,H=K.height;return L(N,H),G.observe(P.current),function(){G.disconnect()}},[L,x]);var q=O.useMemo(function(){var U=I.containerWidth,G=I.containerHeight;if(U<0||G<0)return null;Ha(Io(l)||Io(d),`The width(%s) and height(%s) are both fixed numbers, 356 maybe you don't need to use a ResponsiveContainer.`,l,d),Ha(!n||n>0,"The aspect(%s) must be greater than zero.",n);var K=Io(l)?U:l,N=Io(d)?G:d;n&&n>0&&(K?N=K/n:N&&(K=N*n),g&&N>g&&(N=g)),Ha(K>0||N>0,`The width(%s) and height(%s) of chart should be greater than 0, 357 please check the style of container, or the props width(%s) and height(%s), 358 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 359 height and width.`,K,N,l,d,y,m,n);var H=!Array.isArray(b)&&Fa(b.type).endsWith("Chart");return B.Children.map(b,function($){return B.isValidElement($)?O.cloneElement($,_p({width:K,height:N},H?{style:_p({height:"100%",width:"100%",maxHeight:N,maxWidth:K},$.props.style)}:{})):$})},[n,b,d,g,m,y,I,l]);return B.createElement("div",{id:w?"".concat(w):void 0,className:He("recharts-responsive-container",M),style:_p(_p({},E),{},{width:l,height:d,minWidth:y,minHeight:m,maxHeight:g}),ref:P},q)}),Yh=function(t){return null};Yh.displayName="Cell";function id(e){"@babel/helpers - typeof";return id=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},id(e)}function aE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function g2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?aE(Object(n),!0).forEach(function(r){QQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function QQ(e,t,n){return t=XQ(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XQ(e){var t=JQ(e,"string");return id(t)=="symbol"?t:t+""}function JQ(e,t){if(id(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(id(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var il={widthCache:{},cacheCount:0},eX=2e3,tX={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},iE="recharts_measurement_span";function nX(e){var t=g2({},e);return Object.keys(t).forEach(function(n){t[n]||delete t[n]}),t}var Bu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||os.isSsr)return{width:0,height:0};var r=nX(n),a=JSON.stringify({text:t,copyStyle:r});if(il.widthCache[a])return il.widthCache[a];try{var o=document.getElementById(iE);o||(o=document.createElement("span"),o.setAttribute("id",iE),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var l=g2(g2({},tX),r);Object.assign(o.style,l),o.textContent="".concat(t);var c=o.getBoundingClientRect(),d={width:c.width,height:c.height};return il.widthCache[a]=d,++il.cacheCount>eX&&(il.cacheCount=0,il.widthCache={}),d}catch{return{width:0,height:0}}},rX=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};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 Sm(e,t){return sX(e)||oX(e,t)||iX(e,t)||aX()}function aX(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 360In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iX(e,t){if(e){if(typeof e=="string")return oE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oE(e,t)}}function oE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function sX(e){if(Array.isArray(e))return e}function lX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,uX(r.key),r)}}function cX(e,t,n){return t&&sE(e.prototype,t),n&&sE(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function uX(e){var t=dX(e,"string");return od(t)=="symbol"?t:t+""}function dX(e,t){if(od(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(od(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var lE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,cE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fX=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,pX=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,JN={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},mX=Object.keys(JN),vl="NaN";function hX(e,t){return e*JN[t]}var Dp=(function(){function e(t,n){lX(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),n!==""&&!fX.test(n)&&(this.num=NaN,this.unit=""),mX.includes(n)&&(this.num=hX(t,n),this.unit="px")}return cX(e,[{key:"add",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num+n.num,this.unit)}},{key:"subtract",value:function(n){return this.unit!==n.unit?new e(NaN,""):new e(this.num-n.num,this.unit)}},{key:"multiply",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num*n.num,this.unit||n.unit)}},{key:"divide",value:function(n){return this.unit!==""&&n.unit!==""&&this.unit!==n.unit?new e(NaN,""):new e(this.num/n.num,this.unit||n.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(n){var r,a=(r=pX.exec(n))!==null&&r!==void 0?r:[],o=Sm(a,3),l=o[1],c=o[2];return new e(parseFloat(l),c??"")}}])})();function eR(e){if(e.includes(vl))return vl;for(var t=e;t.includes("*")||t.includes("/");){var n,r=(n=lE.exec(t))!==null&&n!==void 0?n:[],a=Sm(r,4),o=a[1],l=a[2],c=a[3],d=Dp.parse(o??""),f=Dp.parse(c??""),y=l==="*"?d.multiply(f):d.divide(f);if(y.isNaN())return vl;t=t.replace(lE,y.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var m,g=(m=cE.exec(t))!==null&&m!==void 0?m:[],b=Sm(g,4),C=b[1],x=b[2],w=b[3],M=Dp.parse(C??""),T=Dp.parse(w??""),j=x==="
360+"?M.add(T):M.subtract(T);if(j.isNaN())return vl;t=t.replace(cE,j.toString())}return t}var uE=/\(([^()]*)\)/;function yX(e){for(var t=e;t.includes("(");){var n=uE.exec(t),r=Sm(n,2),a=r[1];t=t.replace(uE,eR(a))}return t}function gX(e){var t=e.replace(/\s+/g,"");return t=yX(t),t=eR(t),t}function vX(e){try{return gX(e)}catch{return vl}}function u1(e){var t=vX(e.slice(5,-1));return t===vl?"":t}var xX=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],bX=["dx","dy","angle","className","breakAll"];function v2(){return v2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v2.apply(this,arguments)}function dE(e,t){if(e==null)return{};var n=wX(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wX(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function fE(e,t){return OX(e)||MX(e,t)||CX(e,t)||SX()}function SX(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 361In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CX(e,t){if(e){if(typeof e=="string")return pE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pE(e,t)}}function pE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function MX(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;d=!1}else for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function OX(e){if(Array.isArray(e))return e}var tR=/[ \f\n\r\t\v\u2028\u2029]+/,nR=function(t){var n=t.children,r=t.breakAll,a=t.style;try{var o=[];qe(n)||(r?o=n.toString().split(""):o=n.toString().split(tR));var l=o.map(function(d){return{word:d,width:Bu(d,a).width}}),c=r?0:Bu("Â ",a).width;
361return{wordsWithComputedWidth:l,spaceWidth:c}}catch{return null}},TX=function(t,n,r,a,o){var l=t.maxLines,c=t.children,d=t.style,f=t.breakAll,y=me(l),m=c,g=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return K.reduce(function(N,H){var $=H.word,V=H.width,oe=N[N.length-1];if(oe&&(a==null||o||oe.width+V+r<Number(a)))oe.words.push($),oe.width+=V+r;else{var z={words:[$],width:V};N.push(z)}return N},[])},b=g(n),C=function(K){return K.reduce(function(N,H){return N.width>H.width?N:H})};if(!y)return b;for(var x="â¦",w=function(K){var N=m.slice(0,K),H=nR({breakAll:f,style:d,children:N+x}).wordsWithComputedWidth,$=g(H),V=$.length>l||C($).width>Number(a);return[V,$]},M=0,T=m.length-1,j=0,E;M<=T&&j<=m.length-1;){var P=Math.floor((M+T)/2),k=P-1,A=w(k),D=fE(A,2),I=D[0],F=D[1],L=w(P),q=fE(L,1),U=q[0];if(!I&&!U&&(M=P+1),I&&U&&(T=P-1),!I&&U){E=F;break}j++}return E||b},mE=function(t){var n=qe(t)?[]:t.toString().split(tR);return[{words:n}]},PX=function(t){var n=t.width,r=t.scaleToFit,a=t.children,o=t.style,l=t.breakAll,c=t.maxLines;if((n||r)&&!os.isSsr){var d,f,y=nR({breakAll:l,children:a,style:o});if(y){var m=y.wordsWithComputedWidth,g=y.spaceWidth;d=m,f=g}else return mE(a);return TX({breakAll:l,children:a,maxLines:c,style:o},d,f,n,r)}return mE(a)},hE="#808080",Cm=function(t){var n=t.x,r=n===void 0?0:n,a=t.y,o=a===void 0?0:a,l=t.lineHeight,c=l===void 0?"1em":l,d=t.capHeight,f=d===void 0?"0.71em":d,y=t.scaleToFit,m=y===void 0?!1:y,g=t.textAnchor,b=g===void 0?"start":g,C=t.verticalAnchor,x=C===void 0?"end":C,w=t.fill,M=w===void 0?hE:w,T=dE(t,xX),j=O.useMemo(function(){return PX({breakAll:T.breakAll,children:T.children,maxLines:T.maxLines,scaleToFit:m,style:T.style,width:T.width})},[T.breakAll,T.children,T.maxLines,m,T.style,T.width]),E=T.dx,P=T.dy,k=T.angle,A=T.className,D=T.breakAll,I=dE(T,bX);if(!Ut(r)||!Ut(o))return null;var F=r+(me(E)?E:0),L=o+(me(P)?P:0),q;switch(x){case"start":q=u1("calc(".concat(f,")"));break;case"middle":q=u1("calc(".concat((j.length-1)/2," * -").concat(c," + (").concat(f," / 2))"));break;default:q=u1("calc(".concat(j.length-1," * -").concat(c,")"));break}var U=[];if(m){var G=j[0].width,K=T.width;U.push("scale(".concat((me(K)?K/G:1)/G,")"))}return k&&U.push("rotate(".concat(k,", ").concat(F,", ").concat(L,")")),U.length&&(I.transform=U.join(" ")),B.createElement("text",v2({},Le(I,!0),{x:F,y:L,className:He("recharts-text",A),textAnchor:b,fill:M.includes("url")?hE:M}),j.map(function(N,H){var $=N.words.join(D?"":" ");return B.createElement("tspan",{x:F,dy:H===0?q:c,key:"".concat($,"-").concat(H)},$)}))};function qi(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function AX(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function PC(e){let t,n,r;e.length!==2?(t=qi,n=(c,d)=>qi(e(c),d),r=(c,d)=>e(c)-d):(t=e===qi||e===AX?e:jX,n=e,r=e);function a(c,d,f=0,y=c.length){if(f<y){if(t(d,d)!==0)return y;do{const m=f+y>>>1;n(c[m],d)<0?f=m+1:y=m}while(f<y)}return f}function o(c,d,f=0,y=c.length){if(f<y){if(t(d,d)!==0)return y;do{const m=f+y>>>1;n(c[m],d)<=0?f=m+1:y=m}while(f<y)}return f}function l(c,d,f=0,y=c.length){const m=a(c,d,f,y-1);return m>f&&r(c[m-1],d)>-r(c[m],d)?m-1:m}return{left:a,center:l,right:o}}function jX(){return 0}function rR(e){return e===null?NaN:+e}function*EX(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const kX=PC(qi),Vd=kX.right;PC(rR).center;class yE extends Map{constructor(t,n=NX){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,a]of t)this.set(r,a)}get(t){return super.get(gE(this,t))}has(t){return super.has(gE(this,t))}set(t,n){return super.set(_X(this,t),n)}delete(t){return super.delete(DX(this,t))}}function gE({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function _X({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function DX({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function NX(e){return e!==null&&typeof e=="object"?e.valueOf():e}function RX(e=qi){if(e===qi)return aR;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function aR(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const IX=Math.sqrt(50),LX=Math.sqrt(10),zX=Math.sqrt(2);function Mm(e,t,n){const r=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(r)),o=r/Math.pow(10,a),l=o>=IX?10:o>=LX?5:o>=zX?2:1;let c,d,f;return a<0?(f=Math.pow(10,-a)/l,c=Math.round(e*f),d=Math.round(t*f),c/f<e&&++c,d/f>t&&--d,f=-f):(f=Math.pow(10,a)*l,c=Math.round(e/f),d=Math.round(t/f),c*f<e&&++c,d*f>t&&--d),d<c&&.5<=n&&n<2?Mm(e,t,n*2):[c,d,f]}function x2(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[a,o,l]=r?Mm(t,e,n):Mm(e,t,n);if(!(o>=a))return[];const c=o-a+1,d=new Array(c);if(r)if(l<0)for(let f=0;f<c;++f)d[f]=(o-f)/-l;else for(let f=0;f<c;++f)d[f]=(o-f)*l;else if(l<0)for(let f=0;f<c;++f)d[f]=(a+f)/-l;else for(let f=0;f<c;++f)d[f]=(a+f)*l;return d}function b2(e,t,n){return t=+t,e=+e,n=+n,Mm(e,t,n)[2]}function w2(e,t,n){t=+t,e=+e,n=+n;const r=t<e,a=r?b2(t,e,n):b2(e,t,n);return(r?-1:1)*(a<0?1/-a:a)}function vE(e,t){let n;for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);return n}function xE(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function iR(e,t,n=0,r=1/0,a){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(a=a===void 0?aR:RX(a);r>n;){if(r-n>600){const d=r-n+1,f=t-n+1,y=Math.log(d),m=.5*Math.exp(2*y/3),g=.5*Math.sqrt(y*m*(d-m)/d)*(f-d/2<0?-1:1),b=Math.max(n,Math.floor(t-f*m/d+g)),C=Math.min(r,Math.floor(t+(d-f)*m/d+g));iR(e,t,b,C,a)}const o=e[t];let l=n,c=r;for(wu(e,n,t),a(e[r],o)>0&&wu(e,n,r);l<c;){for(wu(e,l,c),++l,--c;a(e[l],o)<0;)++l;for(;a(e[c],o)>0;)--c}a(e[n],o)===0?wu(e,n,c):(++c,wu(e,c,r)),c<=t&&(n=c+1),t<=c&&(r=c-1)}return e}function wu(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function BX(e,t,n){if(e=Float64Array.from(EX(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return xE(e);if(t>=1)return vE(e);var r,a=(r-1)*t,o=Math.floor(a),l=vE(iR(e,o).subarray(0,o+1)),c=xE(e.subarray(o+1));return l+(c-l)*(a-o)}}function qX(e,t,n=rR){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,a=(r-1)*t,o=Math.floor(a),l=+n(e[o],o,e),c=+n(e[o+1],o+1,e);return l+(c-l)*(a-o)}}
vendor: 6,302 bytes, line 361
361function $X(e,t,n){e=+e,t=+t,n=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+n;for(var r=-1,a=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(a);++r<a;)o[r]=e+r*n;return o}function Sr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function ti(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 S2=Symbol("implicit");function AC(){var e=new yE,t=[],n=[],r=S2;function a(o){let l=e.get(o);if(l===void 0){if(r!==S2)return r;e.set(o,l=t.push(o)-1)}return n[l%n.length]}return a.domain=function(o){if(!arguments.length)return t.slice();t=[],e=new yE;for(const l of o)e.has(l)||e.set(l,t.push(l)-1);return a},a.range=function(o){return arguments.length?(n=Array.from(o),a):n.slice()},a.unknown=function(o){return arguments.length?(r=o,a):r},a.copy=function(){return AC(t,n).unknown(r)},Sr.apply(a,arguments),a}function sd(){var e=AC().unknown(void 0),t=e.domain,n=e.range,r=0,a=1,o,l,c=!1,d=0,f=0,y=.5;delete e.unknown;function m(){var g=t().length,b=a<r,C=b?a:r,x=b?r:a;o=(x-C)/Math.max(1,g-d+f*2),c&&(o=Math.floor(o)),C+=(x-C-o*(g-d))*y,l=o*(1-d),c&&(C=Math.round(C),l=Math.round(l));var w=$X(g).map(function(M){return C+o*M});return n(b?w.reverse():w)}return e.domain=function(g){return arguments.length?(t(g),m()):t()},e.range=function(g){return arguments.length?([r,a]=g,r=+r,a=+a,m()):[r,a]},e.rangeRound=function(g){return[r,a]=g,r=+r,a=+a,c=!0,m()},e.bandwidth=function(){return l},e.step=function(){return o},e.round=function(g){return arguments.length?(c=!!g,m()):c},e.padding=function(g){return arguments.length?(d=Math.min(1,f=+g),m()):d},e.paddingInner=function(g){return arguments.length?(d=Math.min(1,g),m()):d},e.paddingOuter=function(g){return arguments.length?(f=+g,m()):f},e.align=function(g){return arguments.length?(y=Math.max(0,Math.min(1,g)),m()):y},e.copy=function(){return sd(t(),[r,a]).round(c).paddingInner(d).paddingOuter(f).align(y)},Sr.apply(m(),arguments)}function oR(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return oR(t())},e}function qu(){return oR(sd.apply(null,arguments).paddingInner(1))}function jC(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function sR(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Zd(){}var ld=.7,Om=1/ld,Cl="\\s*([+-]?\\d+)\\s*",cd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",aa="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",FX=/^#([0-9a-f]{3,8})$/,HX=new RegExp(`^rgb\\(${Cl},${Cl},${Cl}\\)$`),UX=new RegExp(`^rgb\\(${aa},${aa},${aa}\\)$`),WX=new RegExp(`^rgba\\(${Cl},${Cl},${Cl},${cd}\\)$`),GX=new RegExp(`^rgba\\(${aa},${aa},${aa},${cd}\\)$`),KX=new RegExp(`^hsl\\(${cd},${aa},${aa}\\)$`),YX=new RegExp(`^hsla\\(${cd},${aa},${aa},${cd}\\)$`),bE={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};jC(Zd,ud,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:wE,formatHex:wE,formatHex8:VX,formatHsl:ZX,formatRgb:SE,toString:SE});function wE(){return this.rgb().formatHex()}function VX(){return this.rgb().formatHex8()}function ZX(){return lR(this).formatHsl()}function SE(){return this.rgb().formatRgb()}function ud(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=FX.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?CE(t):n===3?new Nn(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Np(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Np(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>
vendor: 7,392 bytes, line 361
3614&15|t&240,((t&15)<<4|t&15)/255):null):(t=HX.exec(e))?new Nn(t[1],t[2],t[3],1):(t=UX.exec(e))?new Nn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=WX.exec(e))?Np(t[1],t[2],t[3],t[4]):(t=GX.exec(e))?Np(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=KX.exec(e))?TE(t[1],t[2]/100,t[3]/100,1):(t=YX.exec(e))?TE(t[1],t[2]/100,t[3]/100,t[4]):bE.hasOwnProperty(e)?CE(bE[e]):e==="transparent"?new Nn(NaN,NaN,NaN,0):null}function CE(e){return new Nn(e>>16&255,e>>8&255,e&255,1)}function Np(e,t,n,r){return r<=0&&(e=t=n=NaN),new Nn(e,t,n,r)}function QX(e){return e instanceof Zd||(e=ud(e)),e?(e=e.rgb(),new Nn(e.r,e.g,e.b,e.opacity)):new Nn}function C2(e,t,n,r){return arguments.length===1?QX(e):new Nn(e,t,n,r??1)}function Nn(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}jC(Nn,C2,sR(Zd,{brighter(e){return e=e==null?Om:Math.pow(Om,e),new Nn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?ld:Math.pow(ld,e),new Nn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Nn($o(this.r),$o(this.g),$o(this.b),Tm(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:ME,formatHex:ME,formatHex8:XX,formatRgb:OE,toString:OE}));function ME(){return`#${Lo(this.r)}${Lo(this.g)}${Lo(this.b)}`}function XX(){return`#${Lo(this.r)}${Lo(this.g)}${Lo(this.b)}${Lo((isNaN(this.opacity)?1:this.opacity)*255)}`}function OE(){const e=Tm(this.opacity);return`${e===1?"rgb(":"rgba("}${$o(this.r)}, ${$o(this.g)}, ${$o(this.b)}${e===1?")":`, ${e})`}`}function Tm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function $o(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Lo(e){return e=$o(e),(e<16?"0":"")+e.toString(16)}function TE(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new _r(e,t,n,r)}function lR(e){if(e instanceof _r)return new _r(e.h,e.s,e.l,e.opacity);if(e instanceof Zd||(e=ud(e)),!e)return new _r;if(e instanceof _r)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),l=NaN,c=o-a,d=(o+a)/2;return c?(t===o?l=(n-r)/c+(n<r)*6:n===o?l=(r-t)/c+2:l=(t-n)/c+4,c/=d<.5?o+a:2-o-a,l*=60):c=d>0&&d<1?0:l,new _r(l,c,d,e.opacity)}function JX(e,t,n,r){return arguments.length===1?lR(e):new _r(e,t,n,r??1)}function _r(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}jC(_r,JX,sR(Zd,{brighter(e){return e=e==null?Om:Math.pow(Om,e),new _r(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?ld:Math.pow(ld,e),new _r(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new Nn(d1(e>=240?e-240:e+120,a,r),d1(e,a,r),d1(e<120?e+240:e-120,a,r),this.opacity)},clamp(){return new _r(PE(this.h),Rp(this.s),Rp(this.l),Tm(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=Tm(this.opacity);return`${e===1?"hsl(":"hsla("}${PE(this.h)}, ${Rp(this.s)*100}%, ${Rp(this.l)*100}%${e===1?")":`, ${e})`}`}}));function PE(e){return e=(e||0)%360,e<0?e+360:e}function Rp(e){return Math.max(0,Math.min(1,e||0))}function d1(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const EC=e=>()=>e;function eJ(e,t){return function(n){return e+n*t}}function tJ(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function nJ(e){return(e=+e)==1?cR:function(t,n){return n-t?tJ(t,n,e):EC(isNaN(t)?n:t)}}function cR(e,t){var n=t-e;return n?eJ(e,n):EC(isNaN(e)?t:e)}const AE=(function e(t){var n=nJ(t);function r(a,o){var l=n((a=C2(a)).r,(o=C2(o)).r),c=n(a.g,o.g),d=n(a.b,o.b),f=cR(a.opacity,o.opacity);return function(y){return a.r=l(y),a.g=c(y),a.b=d(y),a.opacity=f(y),a+""}}return r.gamma=e,r})(1);function rJ(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),a;return function(o){for(a=0;a<n;++a)r[a]=e[a]*(1-o)+t[a]*o;return r}}function aJ(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function iJ(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,a=new Array(r),o=new Array(n),l;for(l=0;l<r;++l)a[l]=vc(e[l],t[l]);for(;l<n;++l)o[l]=t[l];return function(c){for(l=0;l<r;++l)o[l]=a[l](c);return o}}function oJ(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Pm(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function sJ(e,t){var n={},r={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?n[a]=vc(e[a],t[a]):r[a]=t[a];return function(o){for(a in n)r[a]=n[a](o);return r}}var M2=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,f1=new RegExp(M2.source,"g");function lJ(e){return function(){return e}}function cJ(e){return function(t){return e(t)+""}}function uJ(e,t){var n=M2.lastIndex=f1.lastIndex=0,r,a,o,l=-1,c=[],d=[];for(e=e+"",t=t+"";(r=M2.exec(e))&&(a=f1.exec(t));)(o=a.index)>n&&(o=t.slice(n,o),c[l]?c[l]+=o:c[++l]=o),(r=r[0])===(a=a[0])?c[l]?c[l]+=a:c[++l]=a:(c[++l]=null,d.push({i:l,x:Pm(r,a)})),n=f1.lastIndex;return n<t.length&&(o=t.slice(n),c[l]?c[l]+=o:c[++l]=o),c.length<2?d[0]?cJ(d[0].x):lJ(t):(t=d.length,function(f){for(var y=0,m;y<t;++y)c[(m=d[y]).i]=m.x(f);return c.join("")})}function vc(e,t){var n=typeof t,r;return t==null||n==="boolean"?EC(t):(n==="number"?Pm:n==="string"?(r=ud(t))?(t=r,AE):uJ:t instanceof ud?AE:t instanceof Date?oJ:aJ(t)?rJ:Array.isArray(t)?iJ:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?sJ:Pm)(e,t)}function kC(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function dJ(e,t){t===void 0&&(t=e,e=vc);for(var n=0,r=t.length-1,a=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(a,a=t[++n]);return function(l){var c=Math.max(0,Math.min(r-1,Math.floor(l*=r)));return o[c](l-c)}}function fJ(e){return function(){return e}}function Am(e){return+e}var jE=[0,1];function xn(e){return e}function O2(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:fJ(isNaN(t)?NaN:.5)}function pJ(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function mJ(e,t,n){var r=e[0],a=e[1],o=t[0],l=t[1];return a<r?(r=O2(a,r),o=n(l,o)):(r=O2(r,a),o=n(o,l)),function(c){return o(r(c))}}function hJ(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),o=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<r;)a[l]=O2(e[l],e[l+1]),o[l]=n(t[l],t[l+1]);return function(c){var d=Vd(e,c,1,r)-1;return o[d](a[d](c))}}function Qd(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Vh(){var e=jE,t=jE,n=vc,r,a,o,l=xn,c,d,f;function y(){var g=Math.min(e.length,t.length);return l!==xn&&(l=pJ(e[0],e[g-1])),c=g>2?hJ:mJ,d=f=null,m}function m(g){return g==null||isNaN(g=+g)?o:(d||(d=c(e.map(r),t,n)))(r(l(g)))}return m.invert=function(g){return l(a((f||(f=c(t,e.map(r),Pm)))(g)))},m.domain=function(g){return arguments.length?(e=Array.from(g,Am),y()):e.slice()},m.range=function(g){return arguments.length?(t=Array.from(g),y()):t.slice()},m.rangeRound=function(g){return t=Array.from(g),n=kC,y()},m.clamp=function(g){return arguments.length?(l=g?!0:xn,y()):l!==xn},m.interpolate=function(g){return arguments.length?(n=g,y()):n},m.unknown=function(g){return arguments.length?(o=g,m):o},function(g,b){return r=g,a=b,y()}}function _C(){return Vh()(xn,xn)}
vendor: 4,443 bytes, line 361
361function yJ(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function jm(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Il(e){return e=jm(Math.abs(e)),e?e[1]:NaN}function gJ(e,t){return function(n,r){for(var a=n.length,o=[],l=0,c=e[0],d=0;a>0&&c>0&&(d+c+1>r&&(c=Math.max(1,r-d)),o.push(n.substring(a-=c,a+c)),!((d+=c+1)>r));)c=e[l=(l+1)%e.length];return o.reverse().join(t)}}function vJ(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var xJ=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function dd(e){if(!(t=xJ.exec(e)))throw new Error("invalid format: "+e);var t;return new DC({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]})}dd.prototype=DC.prototype;function DC(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+""}DC.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 bJ(e){e:for(var t=e.length,n=1,r=-1,a;n<t;++n)switch(e[n]){case".":r=a=n;break;case"0":r===0&&(r=n),a=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(a+1):e}var uR;function wJ(e,t){var n=jm(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(uR=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,l=r.length;return o===l?r:o>l?r+new Array(o-l+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+jm(e,Math.max(0,t+o-1))[0]}function EE(e,t){var n=jm(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}const kE={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:yJ,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)=>EE(e*100,t),r:EE,s:wJ,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function _E(e){return e}var DE=Array.prototype.map,NE=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function SJ(e){var t=e.grouping===void 0||e.thousands===void 0?_E:gJ(DE.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?_E:vJ(DE.call(e.numerals,String)),l=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"â":e.minus+"",d=e.nan===void 0?"NaN":e.nan+"";function f(m){m=dd(m);var g=m.fill,b=m.align,C=m.sign,x=m.symbol,w=m.zero,M=m.width,T=m.comma,j=m.precision,E=m.trim,P=m.type;P==="n"?(T=!0,P="g"):kE[P]||(j===void 0&&(j=12),E=!0,P="g"),(w||g==="0"&&b==="=")&&(w=!0,g="0",b="=");var k=x==="$"?n:x==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",A=x==="$"?r:/[%p]/.test(P)?l:"",D=kE[P],I=/[defgprs%]/.test(P);j=j===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,j)):Math.max(0,Math.min(20,j));function F(L){var q=k,U=A,G,K,N;if(P==="c")U=D(L)+U,L="";else{L=+L;var H=L<0||1/L<0;if(L=isNaN(L)?d:D(Math.abs(L),j),E&&(L=bJ(L)),H&&+L==0&&C!=="+"&&(H=!1),q=(H?C==="("?C:c:C==="-"||C==="("?"":C)+q,U=(P==="s"?NE[8+uR/3]:"")+U+(H&&C==="("?")":""),I){for(G=-1,K=L.length;++G<K;)if(N=L.charCodeAt(G),48>N||N>57){U=(N===46?a+L.slice(G+1):L.slice(G))+U,L=L.slice(0,G);break}}}T&&!w&&(L=t(L,1/0));var $=q.length+L.length+U.length,V=$<M?new Array(M-$+1).join(g):"";switch(T&&w&&(L=t(V+L,V.length?M-U.length:1/0),V=""),b){case"<":L=q+L+U+V;break;case"=":L=q+V+L+U;break;case"^":L=V.slice(0,$=V.length>>1)+q+L+U+V.slice($);break;default:L=V+q+L+U;break}return o(L)}return F.toString=function(){return m+""},F}function y(m,g){var b=f((m=dd(m),m.type="f",m)),C=Math.max(-8,Math.min(8,Math.floor(Il(g)/3)))*3,x=Math.pow(10,-C),w=NE[8+C/3];return function(M){return b(x*M)+w}}return{format:f,formatPrefix:y}}var Ip,NC,dR;
361CJ({thousands:",",grouping:[3],currency:["$",""]});function CJ(e){return Ip=SJ(e),NC=Ip.format,dR=Ip.formatPrefix,Ip}function MJ(e){return Math.max(0,-Il(Math.abs(e)))}function OJ(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Il(t)/3)))*3-Il(Math.abs(e)))}function TJ(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Il(t)-Il(e))+1}function fR(e,t,n,r){var a=w2(e,t,n),o;switch(r=dd(r??",f"),r.type){case"s":{var l=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=OJ(a,l))&&(r.precision=o),dR(r,l)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=TJ(a,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=MJ(a))&&(r.precision=o-(r.type==="%")*2);break}}return NC(r)}function Qi(e){var t=e.domain;return e.ticks=function(n){var r=t();return x2(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var a=t();return fR(a[0],a[a.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),a=0,o=r.length-1,l=r[a],c=r[o],d,f,y=10;for(c<l&&(f=l,l=c,c=f,f=a,a=o,o=f);y-- >0;){if(f=b2(l,c,n),f===d)return r[a]=l,r[o]=c,t(r);if(f>0)l=Math.floor(l/f)*f,c=Math.ceil(c/f)*f;else if(f<0)l=Math.ceil(l*f)/f,c=Math.floor(c*f)/f;else break;d=f}return e},e}function Em(){var e=_C();return e.copy=function(){return Qd(e,Em())},Sr.apply(e,arguments),Qi(e)}function pR(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,Am),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return pR(e).unknown(t)},e=arguments.length?Array.from(e,Am):[0,1],Qi(n)}function mR(e,t){e=e.slice();var n=0,r=e.length-1,a=e[n],o=e[r],l;return o<a&&(l=n,n=r,r=l,l=a,a=o,o=l),e[n]=t.floor(a),e[r]=t.ceil(o),e}function RE(e){return Math.log(e)}function IE(e){return Math.exp(e)}function PJ(e){return-Math.log(-e)}function AJ(e){return-Math.exp(-e)}function jJ(e){return isFinite(e)?+("1e"+e):e<0?0:e}function EJ(e){return e===10?jJ:e===Math.E?Math.exp:t=>Math.pow(e,t)}function kJ(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 LE(e){return(t,n)=>-e(-t,n)}function RC(e){const t=e(RE,IE),n=t.domain;let r=10,a,o;function l(){return a=kJ(r),o=EJ(r),n()[0]<0?(a=LE(a),o=LE(o),e(PJ,AJ)):e(RE,IE),t}return t.base=function(c){return arguments.length?(r=+c,l()):r},t.domain=function(c){return arguments.length?(n(c),l()):n()},t.ticks=c=>{const d=n();let f=d[0],y=d[d.length-1];const m=y<f;m&&([f,y]=[y,f]);let g=a(f),b=a(y),C,x;const w=c==null?10:+c;let M=[];if(!(r%1)&&b-g<w){if(g=Math.floor(g),b=Math.ceil(b),f>0){for(;g<=b;++g)for(C=1;C<r;++C)if(x=g<0?C/o(-g):C*o(g),!(x<f)){if(x>y)break;M.push(x)}}else for(;g<=b;++g)for(C=r-1;C>=1;--C)if(x=g>0?C/o(-g):C*o(g),!(x<f)){if(x>y)break;M.push(x)}M.length*2<w&&(M=x2(f,y,w))}else M=x2(g,b,Math.min(b-g,w)).map(o);return m?M.reverse():M},t.tickFormat=(c,d)=>{if(c==null&&(c=10),d==null&&(d=r===10?"s":","),typeof d!="function"&&(!(r%1)&&(d=dd(d)).precision==null&&(d.trim=!0),d=NC(d)),c===1/0)return d;const f=Math.max(1,r*c/t.ticks().length);return y=>{let m=y/o(Math.round(a(y)));return m*r<r-.5&&(m*=r),m<=f?d(y):""}},t.nice=()=>n(mR(n(),{floor:c=>o(Math.floor(a(c))),ceil:c=>o(Math.ceil(a(c)))})),t}function hR(){const e=RC(Vh()).domain([1,10]);return e.copy=()=>Qd(e,hR()).base(e.base()),Sr.apply(e,arguments),e}function zE(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function BE(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function IC(e){var t=1,n=e(zE(t),BE(t));return n.constant=function(r){return arguments.length?e(zE(t=+r),BE(t)):t},Qi(n)}function yR(){var e=IC(Vh());return e.copy=function(){return Qd(e,yR()).constant(e.constant())},Sr.apply(e,arguments)}function qE(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function _J(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function DJ(e){return e<0?-e*e:e*e}function LC(e){var t=e(xn,xn),n=1;function r(){return n===1?e(xn,xn):n===.5?e(_J,DJ):e(qE(n),qE(1/n))}return t.exponent=function(a){return arguments.length?(n=+a,r()):n},Qi(t)}function zC(){var e=LC(Vh());return e.copy=function(){return Qd(e,zC()).exponent(e.exponent())},Sr.apply(e,arguments),e}function NJ(){return zC.apply(null,arguments).exponent(.5)}function $E(e){return Math.sign(e)*e*e}function RJ(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function gR(){var e=_C(),t=[0,1],n=!1,r;function a(o){var l=RJ(e(o));return isNaN(l)?r:n?Math.round(l):l}return a.invert=function(o){return e.invert($E(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,Am)).map($E)),a):t.slice()},a.rangeRound=function(o){return a.range(o).round(!0)},a.round=function(o){return arguments.length?(n=!!o,a):n},a.clamp=function(o){return arguments.length?(e.clamp(o),a):e.clamp()},a.unknown=function(o){return arguments.length?(r=o,a):r},a.copy=function(){return gR(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},Sr.apply(a,arguments),Qi(a)}function vR(){var e=[],t=[],n=[],r;function a(){var l=0,c=Math.max(1,t.length);for(n=new Array(c-1);++l<c;)n[l-1]=qX(e,l/c);return o}function o(l){return l==null||isNaN(l=+l)?r:t[Vd(n,l)]}return o.invertExtent=function(l){var c=t.indexOf(l);
361return c<0?[NaN,NaN]:[c>0?n[c-1]:e[0],c<n.length?n[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(qi),a()},o.range=function(l){return arguments.length?(t=Array.from(l),a()):t.slice()},o.unknown=function(l){return arguments.length?(r=l,o):r},o.quantiles=function(){return n.slice()},o.copy=function(){return vR().domain(e).range(t).unknown(r)},Sr.apply(o,arguments)}function xR(){var e=0,t=1,n=1,r=[.5],a=[0,1],o;function l(d){return d!=null&&d<=d?a[Vd(r,d,0,n)]:o}function c(){var d=-1;for(r=new Array(n);++d<n;)r[d]=((d+1)*t-(d-n)*e)/(n+1);return l}return l.domain=function(d){return arguments.length?([e,t]=d,e=+e,t=+t,c()):[e,t]},l.range=function(d){return arguments.length?(n=(a=Array.from(d)).length-1,c()):a.slice()},l.invertExtent=function(d){var f=a.indexOf(d);return f<0?[NaN,NaN]:f<1?[e,r[0]]:f>=n?[r[n-1],t]:[r[f-1],r[f]]},l.unknown=function(d){return arguments.length&&(o=d),l},l.thresholds=function(){return r.slice()},l.copy=function(){return xR().domain([e,t]).range(a).unknown(o)},Sr.apply(Qi(l),arguments)}function bR(){var e=[.5],t=[0,1],n,r=1;function a(o){return o!=null&&o<=o?t[Vd(e,o,0,r)]:n}return a.domain=function(o){return arguments.length?(e=Array.from(o),r=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(o){return arguments.length?(t=Array.from(o),r=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?(n=o,a):n},a.copy=function(){return bR().domain(e).range(t).unknown(n)},Sr.apply(a,arguments)}const p1=new Date,m1=new Date;function Gt(e,t,n,r){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 d=[];if(o=a.ceil(o),c=c==null?1:Math.floor(c),!(o<l)||!(c>0))return d;let f;do d.push(f=new Date(+o)),t(o,c),e(o);while(f<o&&o<l);return d},a.filter=o=>Gt(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););}),n&&(a.count=(o,l)=>(p1.setTime(+o),m1.setTime(+l),e(p1),e(m1),Math.floor(n(p1,m1))),a.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?a.filter(r?l=>r(l)%o===0:l=>a.count(0,l)%o===0):a)),a}const km=Gt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);km.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Gt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):km);km.range;const Ba=1e3,hr=Ba*60,qa=hr*60,Ya=qa*24,BC=Ya*7,FE=Ya*30,h1=Ya*365,zo=Gt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Ba)},(e,t)=>(t-e)/Ba,e=>e.getUTCSeconds());zo.range;const qC=Gt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ba)},(e,t)=>{e.setTime(+e+t*hr)},(e,t)=>(t-e)/hr,e=>e.getMinutes());qC.range;const $C=Gt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*hr)},(e,t)=>(t-e)/hr,e=>e.getUTCMinutes());$C.range;const FC=Gt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ba-e.getMinutes()*hr)},(e,t)=>{e.setTime(+e+t*qa)},(e,t)=>(t-e)/qa,e=>e.getHours());FC.range;const HC=Gt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*qa)},(e,t)=>(t-e)/qa,e=>e.getUTCHours());HC.range;const Xd=Gt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*hr)/Ya,e=>e.getDate()-1);Xd.range;const Zh=Gt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ya,e=>e.getUTCDate()-1);Zh.range;const wR=Gt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ya,e=>Math.floor(e/Ya));wR.range;function ss(e){return Gt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*hr)/BC)}const Qh=ss(0),_m=ss(1),IJ=ss(2),LJ=ss(3),Ll=ss(4),zJ=ss(5),BJ=ss(6);Qh.range;_m.range;IJ.range;LJ.range;Ll.range;zJ.range;BJ.range;function ls(e){return Gt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/BC)}const Xh=ls(0),Dm=ls(1),qJ=ls(2),$J=ls(3),zl=ls(4),FJ=ls(5),HJ=ls(6);Xh.range;Dm.range;qJ.range;$J.range;zl.range;FJ.range;HJ.range;const UC=Gt(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());UC.range;const WC=Gt(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());WC.range;const Va=Gt(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());Va.every=e=>
vendor: 6,183 bytes, line 361
361!isFinite(e=Math.floor(e))||!(e>0)?null:Gt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});Va.range;const Za=Gt(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());Za.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Gt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Za.range;function SR(e,t,n,r,a,o){const l=[[zo,1,Ba],[zo,5,5*Ba],[zo,15,15*Ba],[zo,30,30*Ba],[o,1,hr],[o,5,5*hr],[o,15,15*hr],[o,30,30*hr],[a,1,qa],[a,3,3*qa],[a,6,6*qa],[a,12,12*qa],[r,1,Ya],[r,2,2*Ya],[n,1,BC],[t,1,FE],[t,3,3*FE],[e,1,h1]];function c(f,y,m){const g=y<f;g&&([f,y]=[y,f]);const b=m&&typeof m.range=="function"?m:d(f,y,m),C=b?b.range(f,+y+1):[];return g?C.reverse():C}function d(f,y,m){const g=Math.abs(y-f)/m,b=PC(([,,w])=>w).right(l,g);if(b===l.length)return e.every(w2(f/h1,y/h1,m));if(b===0)return km.every(Math.max(w2(f,y,m),1));const[C,x]=l[g/l[b-1][2]<l[b][2]/g?b-1:b];return C.every(x)}return[c,d]}const[UJ,WJ]=SR(Za,WC,Xh,wR,HC,$C),[GJ,KJ]=SR(Va,UC,Qh,Xd,FC,qC);function y1(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 Su(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function YJ(e){var t=e.dateTime,n=e.date,r=e.time,a=e.periods,o=e.days,l=e.shortDays,c=e.months,d=e.shortMonths,f=Cu(a),y=Mu(a),m=Cu(o),g=Mu(o),b=Cu(l),C=Mu(l),x=Cu(c),w=Mu(c),M=Cu(d),T=Mu(d),j={a:H,A:$,b:V,B:oe,c:null,d:YE,e:YE,f:gee,g:Pee,G:jee,H:mee,I:hee,j:yee,L:CR,m:vee,M:xee,p:z,q:Y,Q:QE,s:XE,S:bee,u:wee,U:See,V:Cee,w:Mee,W:Oee,x:null,X:null,y:Tee,Y:Aee,Z:Eee,"%":ZE},E={a:Z,A:J,b:ce,B:pe,c:null,d:VE,e:VE,f:Nee,g:Uee,G:Gee,H:kee,I:_ee,j:Dee,L:OR,m:Ree,M:Iee,p:ie,q:he,Q:QE,s:XE,S:Lee,u:zee,U:Bee,V:qee,w:$ee,W:Fee,x:null,X:null,y:Hee,Y:Wee,Z:Kee,"%":ZE},P={a:F,A:L,b:q,B:U,c:G,d:GE,e:GE,f:uee,g:WE,G:UE,H:KE,I:KE,j:oee,L:cee,m:iee,M:see,p:I,q:aee,Q:fee,s:pee,S:lee,u:JJ,U:eee,V:tee,w:XJ,W:nee,x:K,X:N,y:WE,Y:UE,Z:ree,"%":dee};j.x=k(n,j),j.X=k(r,j),j.c=k(t,j),E.x=k(n,E),E.X=k(r,E),E.c=k(t,E);function k(ue,ye){return function(ge){var ae=[],ze=-1,Te=0,nt=ue.length,Je,mt,Sn;for(ge instanceof Date||(ge=new Date(+ge));++ze<nt;)ue.charCodeAt(ze)===37&&(ae.push(ue.slice(Te,ze)),(mt=HE[Je=ue.charAt(++ze)])!=null?Je=ue.charAt(++ze):mt=Je==="e"?" ":"0",(Sn=ye[Je])&&(Je=Sn(ge,mt)),ae.push(Je),Te=ze+1);return ae.push(ue.slice(Te,ze)),ae.join("")}}function A(ue,ye){return function(ge){var ae=Su(1900,void 0,1),ze=D(ae,ue,ge+="",0),Te,nt;if(ze!=ge.length)return null;if("Q"in ae)return new Date(ae.Q);if("s"in ae)return new Date(ae.s*1e3+("L"in ae?ae.L:0));if(ye&&!("Z"in ae)&&(ae.Z=0),"p"in ae&&(ae.H=ae.H%12+ae.p*12),ae.m===void 0&&(ae.m="q"in ae?ae.q:0),"V"in ae){if(ae.V<1||ae.V>53)return null;"w"in ae||(ae.w=1),"Z"in ae?(Te=g1(Su(ae.y,0,1)),nt=Te.getUTCDay(),Te=nt>4||nt===0?Dm.ceil(Te):Dm(Te),Te=Zh.offset(Te,(ae.V-1)*7),ae.y=Te.getUTCFullYear(),ae.m=Te.getUTCMonth(),ae.d=Te.getUTCDate()+(ae.w+6)%7):(Te=y1(Su(ae.y,0,1)),nt=Te.getDay(),Te=nt>4||nt===0?_m.ceil(Te):_m(Te),Te=Xd.offset(Te,(ae.V-1)*7),ae.y=Te.getFullYear(),ae.m=Te.getMonth(),ae.d=Te.getDate()+(ae.w+6)%7)}else("W"in ae||"U"in ae)&&("w"in ae||(ae.w="u"in ae?ae.u%7:"W"in ae?1:0),nt="Z"in ae?g1(Su(ae.y,0,1)).getUTCDay():y1(Su(ae.y,0,1)).getDay(),ae.m=0,ae.d="W"in ae?(ae.w+6)%7+ae.W*7-(nt+5)%7:ae.w+ae.U*7-(nt+6)%7);return"Z"in ae?(ae.H+=ae.Z/100|0,ae.M+=ae.Z%100,g1(ae)):y1(ae)}}function D(ue,ye,ge,ae){for(var ze=0,Te=ye.length,nt=ge.length,Je,mt;ze<Te;){if(ae>=nt)return-1;if(Je=ye.charCodeAt(ze++),Je===37){if(Je=ye.charAt(ze++),mt=P[Je in HE?ye.charAt(ze++):Je],!mt||(ae=mt(ue,ge,ae))<0)return-1}else if(Je!=ge.charCodeAt(ae++))return-1}return ae}function I(ue,ye,ge){var ae=f.exec(ye.slice(ge));return ae?(ue.p=y.get(ae[0].toLowerCase()),ge+ae[0].length):-1}function F(ue,ye,ge){var ae=b.exec(ye.slice(ge));return ae?(ue.w=C.get(ae[0].toLowerCase()),ge+ae[0].length):-1}function L(ue,ye,ge){var ae=m.exec(ye.slice(ge));return ae?(ue.w=g.get(ae[0].toLowerCase()),ge+ae[0].length):-1}function q(ue,ye,ge){var ae=M.exec(ye.slice(ge));return ae?(ue.m=T.get(ae[0].toLowerCase()),ge+ae[0].length):-1}function U(ue,ye,ge){var ae=x.exec(ye.slice(ge));return ae?(ue.m=w.get(ae[0].toLowerCase()),ge+ae[0].length):-1}function G(ue,ye,ge){return D(ue,t,ye,ge)}function K(ue,ye,ge){return D(ue,n,ye,ge)}function N(ue,ye,ge){return D(ue,r,ye,ge)}function H(ue){return l[ue.getDay()]}function $(ue){return o[ue.getDay()]}function V(ue){return d[ue.getMonth()]}function oe(ue){return c[ue.getMonth()]}function z(ue){return a[+(ue.getHours()>=12)]}function Y(ue){return 1+~~(ue.getMonth()/3)}function Z(ue){return l[ue.getUTCDay()]}function J(ue){return o[ue.getUTCDay()]}function ce(ue){return d[ue.getUTCMonth()]}function pe(ue){return c[ue.getUTCMonth()]}function ie(ue){return a[+(ue.getUTCHours()>=12)]}function he(ue){return 1+~~(ue.getUTCMonth()/3)}return{format:function(ue){var ye=k(ue+="",j);return ye.toString=function(){return ue},ye},parse:function(ue){var ye=A(ue+="",!1);return ye.toString=function(){return ue},ye},utcFormat:function(ue){var ye=k(ue+="",E);return ye.toString=function(){return ue},ye},utcParse:function(ue){var ye=A(ue+="",!0);return ye.toString=function(){return ue},ye}}}var HE={"-":"",_:" ",0:"0"},Xt=/^\s*\d+/,VJ=/^%/,ZJ=/[\\^$*+?|[\]().{}]/g;function Qe(e,t,n){var r=e<0?"-":"",a=(r?-e:e)+"",o=a.length;return r+(o<n?new Array(n-o+1).join(t)+a:a)}function QJ(e){return e.replace(ZJ,"\\$&")}function Cu(e){return new RegExp("^(?:"+e.map(QJ).join("|")+")","i")}function Mu(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function XJ(e,t,n){var r=Xt.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function JJ(e,t,n){var r=Xt.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function eee(e,t,n){var r=Xt.exec(t.slice(n,n+2));
vendor: 4,105 bytes, line 361
361return r?(e.U=+r[0],n+r[0].length):-1}function tee(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function nee(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function UE(e,t,n){var r=Xt.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function WE(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ree(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function aee(e,t,n){var r=Xt.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function iee(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function GE(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function oee(e,t,n){var r=Xt.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function KE(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function see(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function lee(e,t,n){var r=Xt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function cee(e,t,n){var r=Xt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function uee(e,t,n){var r=Xt.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function dee(e,t,n){var r=VJ.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function fee(e,t,n){var r=Xt.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function pee(e,t,n){var r=Xt.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function YE(e,t){return Qe(e.getDate(),t,2)}function mee(e,t){return Qe(e.getHours(),t,2)}function hee(e,t){return Qe(e.getHours()%12||12,t,2)}function yee(e,t){return Qe(1+Xd.count(Va(e),e),t,3)}function CR(e,t){return Qe(e.getMilliseconds(),t,3)}function gee(e,t){return CR(e,t)+"000"}function vee(e,t){return Qe(e.getMonth()+1,t,2)}function xee(e,t){return Qe(e.getMinutes(),t,2)}function bee(e,t){return Qe(e.getSeconds(),t,2)}function wee(e){var t=e.getDay();return t===0?7:t}function See(e,t){return Qe(Qh.count(Va(e)-1,e),t,2)}function MR(e){var t=e.getDay();return t>=4||t===0?Ll(e):Ll.ceil(e)}function Cee(e,t){return e=MR(e),Qe(Ll.count(Va(e),e)+(Va(e).getDay()===4),t,2)}function Mee(e){return e.getDay()}function Oee(e,t){return Qe(_m.count(Va(e)-1,e),t,2)}function Tee(e,t){return Qe(e.getFullYear()%100,t,2)}function Pee(e,t){return e=MR(e),Qe(e.getFullYear()%100,t,2)}function Aee(e,t){return Qe(e.getFullYear()%1e4,t,4)}function jee(e,t){var n=e.getDay();return e=n>=4||n===0?Ll(e):Ll.ceil(e),Qe(e.getFullYear()%1e4,t,4)}function Eee(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Qe(t/60|0,"0",2)+Qe(t%60,"0",2)}function VE(e,t){return Qe(e.getUTCDate(),t,2)}function kee(e,t){return Qe(e.getUTCHours(),t,2)}function _ee(e,t){return Qe(e.getUTCHours()%12||12,t,2)}function Dee(e,t){return Qe(1+Zh.count(Za(e),e),t,3)}function OR(e,t){return Qe(e.getUTCMilliseconds(),t,3)}function Nee(e,t){return OR(e,t)+"000"}function Ree(e,t){return Qe(e.getUTCMonth()+1,t,2)}function Iee(e,t){return Qe(e.getUTCMinutes(),t,2)}function Lee(e,t){return Qe(e.getUTCSeconds(),t,2)}function zee(e){var t=e.getUTCDay();return t===0?7:t}function Bee(e,t){return Qe(Xh.count(Za(e)-1,e),t,2)}function TR(e){var t=e.getUTCDay();return t>=4||t===0?zl(e):zl.ceil(e)}function qee(e,t){return e=TR(e),Qe(zl.count(Za(e),e)+(Za(e).getUTCDay()===4),t,2)}function $ee(e){return e.getUTCDay()}function Fee(e,t){return Qe(Dm.count(Za(e)-1,e),t,2)}function Hee(e,t){return Qe(e.getUTCFullYear()%100,t,2)}function Uee(e,t){return e=TR(e),Qe(e.getUTCFullYear()%100,t,2)}function Wee(e,t){return Qe(e.getUTCFullYear()%1e4,t,4)}function Gee(e,t){var n=e.getUTCDay();return e=n>=4||n===0?zl(e):zl.ceil(e),Qe(e.getUTCFullYear()%1e4,t,4)}function Kee(){return"+0000"}function ZE(){return"%"}function QE(e){return+e}function XE(e){return Math.floor(+e/1e3)}var ol,PR,AR;Yee({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
361ay","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 Yee(e){return ol=YJ(e),PR=ol.format,ol.parse,AR=ol.utcFormat,ol.utcParse,ol}function Vee(e){return new Date(e)}function Zee(e){return e instanceof Date?+e:+new Date(+e)}function GC(e,t,n,r,a,o,l,c,d,f){var y=_C(),m=y.invert,g=y.domain,b=f(".%L"),C=f(":%S"),x=f("%I:%M"),w=f("%I %p"),M=f("%a %d"),T=f("%b %d"),j=f("%B"),E=f("%Y");function P(k){return(d(k)<k?b:c(k)<k?C:l(k)<k?x:o(k)<k?w:r(k)<k?a(k)<k?M:T:n(k)<k?j:E)(k)}return y.invert=function(k){return new Date(m(k))},y.domain=function(k){return arguments.length?g(Array.from(k,Zee)):g().map(Vee)},y.ticks=function(k){var A=g();return e(A[0],A[A.length-1],k??10)},y.tickFormat=function(k,A){return A==null?P:f(A)},y.nice=function(k){var A=g();return(!k||typeof k.range!="function")&&(k=t(A[0],A[A.length-1],k??10)),k?g(mR(A,k)):y},y.copy=function(){return Qd(y,GC(e,t,n,r,a,o,l,c,d,f))},y}function Qee(){return Sr.apply(GC(GJ,KJ,Va,UC,Qh,Xd,FC,qC,zo,PR).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Xee(){return Sr.apply(GC(UJ,WJ,Za,WC,Xh,Zh,HC,$C,zo,AR).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Jh(){var e=0,t=1,n,r,a,o,l=xn,c=!1,d;function f(m){return m==null||isNaN(m=+m)?d:l(a===0?.5:(m=(o(m)-n)*a,c?Math.max(0,Math.min(1,m)):m))}f.domain=function(m){return arguments.length?([e,t]=m,n=o(e=+e),r=o(t=+t),a=n===r?0:1/(r-n),f):[e,t]},f.clamp=function(m){return arguments.length?(c=!!m,f):c},f.interpolator=function(m){return arguments.length?(l=m,f):l};function y(m){return function(g){var b,C;return arguments.length?([b,C]=g,l=m(b,C),f):[l(0),l(1)]}}return f.range=y(vc),f.rangeRound=y(kC),f.unknown=function(m){return arguments.length?(d=m,f):d},function(m){return o=m,n=m(e),r=m(t),a=n===r?0:1/(r-n),f}}function Xi(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function jR(){var e=Qi(Jh()(xn));return e.copy=function(){return Xi(e,jR())},ti.apply(e,arguments)}function ER(){var e=RC(Jh()).domain([1,10]);return e.copy=function(){return Xi(e,ER()).base(e.base())},ti.apply(e,arguments)}function kR(){var e=IC(Jh());return e.copy=function(){return Xi(e,kR()).constant(e.constant())},ti.apply(e,arguments)}function KC(){var e=LC(Jh());return e.copy=function(){return Xi(e,KC()).exponent(e.exponent())},ti.apply(e,arguments)}function Jee(){return KC.apply(null,arguments).exponent(.5)}function _R(){var e=[],t=xn;function n(r){if(r!=null&&!isNaN(r=+r))return t((Vd(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let a of r)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(qi),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,a)=>t(a/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(a,o)=>BX(e,o/r))},n.copy=function(){return _R(t).domain(e)},ti.apply(n,arguments)}function ey(){var e=0,t=.5,n=1,r=1,a,o,l,c,d,f=xn,y,m=!1,g;function b(x){return isNaN(x=+x)?g:(x=.5+((x=+y(x))-o)*(r*x<r*o?c:d),f(m?Math.max(0,Math.min(1,x)):x))}b.domain=function(x){return arguments.length?([e,t,n]=x,a=y(e=+e),o=y(t=+t),l=y(n=+n),c=a===o?0:.5/(o-a),d=o===l?0:.5/(l-o),r=o<a?-1:1,b):[e,t,n]},b.clamp=function(x){return arguments.length?(m=!!x,b):m},b.interpolator=function(x){return arguments.length?(f=x,b):f};function C(x){return function(w){var M,T,j;return arguments.length?([M,T,j]=w,f=dJ(x,[M,T,j]),b):[f(0),f(.5),f(1)]}}return b.range=C(vc),b.rangeRound=C(kC),b.unknown=function(x){return arguments.length?(g=x,b):g},function(x){return y=x,a=x(e),o=x(t),l=x(n),c=a===o?0:.5/(o-a),d=o===l?0:.5/(l-o),r=o<a?-1:1,b}}function DR(){var e=Qi(ey()(xn));return e.copy=function(){return Xi(e,DR())},ti.apply(e,arguments)}function NR(){var e=RC(ey()).domain([.1,1,10]);return e.copy=function(){return Xi(e,NR()).base(e.base())},ti.apply(e,arguments)}function RR(){var e=IC(ey());return e.copy=function(){return Xi(e,RR()).constant(e.constant())},ti.apply(e,arguments)}function YC(){var e=LC(ey());return e.copy=function(){return Xi(e,YC()).exponent(e.exponent())},ti.apply(e,arguments)}function ete(){return YC.apply(null,arguments).exponent(.5)}const JE=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:sd,scaleDiverging:DR,scaleDivergingLog:NR,scaleDivergingPow:YC,scaleDivergingSqrt:ete,scaleDivergingSymlog:RR,scaleIdentity:pR,scaleImplicit:S2,scaleLinear:Em,scaleLog:hR,scaleOrdinal:AC,scalePoint:qu,scalePow:zC,scaleQuantile:vR,scaleQuantize:xR,scaleRadial:gR,scaleSequential:jR,scaleSequentialLog:ER,scaleSequentialPow:KC,scaleSequentialQuantile:_R,scaleSequentialSqrt:Jee,scaleSequentialSymlog:kR,scaleSqrt:NJ,scaleSymlog:yR,scaleThreshold:bR,scaleTime:Qee,scaleUtc:Xee,tickFormat:fR},Symbol.toStringTag,{value:"Module"}));var v1,e7;function IR(){if(e7)return v1;e7=1;var e=pc();function t(n,r,a){for(var o=-1,l=n.length;++o<l;){var c=n[o],d=r(c);if(d!=null&&(f===void 0?d===d&&!e(d):a(d,f)))var f=d,y=c}return y}return v1=t,v1}var x1,t7;function tte(){if(t7)return x1;t7=1;function e(t,n){return t>n}return x1=e,x1}var b1,n7;function nte(){if(n7)return b1;n7=1;var e=IR(),t=tte(),n=gc();function r(a){return a&&a.length?e(a,n,t):void 0}return b1=r,b1}var rte=nte();const Ii=dt(rte);var w1,r7;function ate(){if(r7)return w1;r7=1;function e(t,n){return t<n}return w1=e,w1}var S1,a7;function ite(){if(a7)return S1;a7=1;var e=IR(),t=ate(),n=gc();function r(a){return a&&a.length?e(a,n,t):void 0}return S1=r,S1}var ote=ite();const ty=dt(ote);var C1,i7;function ste(){if(i7)return C1;i7=1;var e=uC(),t=Zi(),n=WN(),r=Ln();function a(o,l){var c=r(o)?e:n;return c(o,t(l,3))}return C1=a,C1}var M1,o7;function lte(){if(o7)return M1;o7=1;var e=HN(),t=ste();function n(r,a){return e(t(r,a),1)}return M1=n,M1}var cte=lte();const ute=dt(cte);var O1,s7;function dte(){if(s7)return O1;s7=1;var e=CC();function t(n,r){return e(n,r)}return O1=t,O1}var fte=dte();const Bl=dt(fte);
vendor: 66,291 bytes, lines 361-387
361var xc=1e9,pte={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ZC,Ct=!0,xr="[DecimalError] ",Fo=xr+"Invalid argument: ",VC=xr+"Exponent out of range: ",bc=Math.floor,_o=Math.pow,mte=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Jn,Qt=1e7,xt=7,LR=9007199254740991,Nm=bc(LR/xt),be={};be.absoluteValue=be.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};be.comparedTo=be.cmp=function(e){var t,n,r,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(r=o.d.length,a=e.d.length,t=0,n=r<a?r:a;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===a?0:r>a^o.s<0?1:-1};be.decimalPlaces=be.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*xt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};be.dividedBy=be.div=function(e){return Ua(this,new this.constructor(e))};be.dividedToIntegerBy=be.idiv=function(e){var t=this,n=t.constructor;return pt(Ua(t,new n(e),0,1),n.precision)};be.equals=be.eq=function(e){return!this.cmp(e)};be.exponent=function(){return Bt(this)};be.greaterThan=be.gt=function(e){return this.cmp(e)>0};be.greaterThanOrEqualTo=be.gte=function(e){return this.cmp(e)>=0};be.isInteger=be.isint=function(){return this.e>this.d.length-2};be.isNegative=be.isneg=function(){return this.s<0};be.isPositive=be.ispos=function(){return this.s>0};be.isZero=function(){return this.s===0};be.lessThan=be.lt=function(e){return this.cmp(e)<0};be.lessThanOrEqualTo=be.lte=function(e){return this.cmp(e)<1};be.logarithm=be.log=function(e){var t,n=this,r=n.constructor,a=r.precision,o=a+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(Jn))throw Error(xr+"NaN");if(n.s<1)throw Error(xr+(n.s?"NaN":"-Infinity"));return n.eq(Jn)?new r(0):(Ct=!1,t=Ua(fd(n,o),fd(e,o),o),Ct=!0,pt(t,a))};be.minus=be.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?qR(t,e):zR(t,(e.s=-e.s,e))};be.modulo=be.mod=function(e){var t,n=this,r=n.constructor,a=r.precision;if(e=new r(e),!e.s)throw Error(xr+"NaN");return n.s?(Ct=!1,t=Ua(n,e,0,1).times(e),Ct=!0,n.minus(t)):pt(new r(n),a)};be.naturalExponential=be.exp=function(){return BR(this)};be.naturalLogarithm=be.ln=function(){return fd(this)};be.negated=be.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};be.plus=be.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?zR(t,e):qR(t,(e.s=-e.s,e))};be.precision=be.sd=function(e){var t,n,r,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Fo+e);if(t=Bt(a)+1,r=a.d.length-1,n=r*xt+1,r=a.d[r],r){for(;r%10==0;r/=10)n--;for(r=a.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};be.squareRoot=be.sqrt=function(){var e,t,n,r,a,o,l,c=this,d=c.constructor;if(c.s<1){if(!c.s)return new d(0);throw Error(xr+"NaN")}for(e=Bt(c),Ct=!1,a=Math.sqrt(+c),a==0||a==1/0?(t=ea(c.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=bc((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),r=new d(t)):r=new d(a.toString()),n=d.precision,a=l=n+3;;)if(o=r,r=o.plus(Ua(c,o,l+2)).times(.5),ea(o.d).slice(0,l)===(t=ea(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),a==l&&t=="4999"){if(pt(o,n+1,0),o.times(o).eq(c)){r=o;break}}else if(t!="9999")break;l+=4}return Ct=!0,pt(r,n)};be.times=be.mul=function(e){var t,n,r,a,o,l,c,d,f,y=this,m=y.constructor,g=y.d,b=(e=new m(e)).d;if(!y.s||!e.s)return new m(0);for(e.s*=y.s,n=y.e+e.e,d=g.length,f=b.length,d<f&&(o=g,g=b,b=o,l=d,d=f,f=l),o=[],l=d+f,r=l;r--;)o.push(0);for(r=f;--r>=0;){for(t=0,a=d+r;a>r;)c=o[a]+b[r]*g[a-r-1]+t,o[a--]=c%Qt|0,t=c/Qt|0;o[a]=(o[a]+t)%Qt|0}for(;!o[--l];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,Ct?pt(e,m.precision):e};be.toDecimalPlaces=be.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(sa(e,0,xc),t===void 0?t=r.rounding:sa(t,0,8),pt(n,e+Bt(n)+1,t))};be.toExponential=function(e,t){var n,r=this,a=r.constructor;return e===void 0?n=Zo(r,!0):(sa(e,0,xc),t===void 0?t=a.rounding:sa(t,0,8),r=pt(new a(r),e+1,t),n=Zo(r,!0,e+1)),n};be.toFixed=function(e,t){var n,r,a=this,o=a.constructor;return e===void 0?Zo(a):(sa(e,0,xc),t===void 0?t=o.rounding:sa(t,0,8),r=pt(new o(a),e+Bt(a)+1,t),n=Zo(r.abs(),!1,e+Bt(r)+1),a.isneg()&&!a.isZero()?"-"+n:n)};be.toInteger=be.toint=function(){var e=this,t=e.constructor;return pt(new t(e),Bt(e)+1,t.rounding)};be.toNumber=function(){return+this};be.toPower=be.pow=function(e){var t,n,r,a,o,l,c=this,d=c.constructor,f=12,y=+(e=new d(e));if(!e.s)return new d(Jn);if(c=new d(c),!c.s){if(e.s<1)throw Error(xr+"Infinity");return c}if(c.eq(Jn))return c;if(r=d.precision,e.eq(Jn))return pt(c,r);if(t=e.e,n=e.d.length-1,l=t>=n,o=c.s,l){if((n=y<0?-y:y)<=LR){for(a=new d(Jn),t=Math.ceil(r/xt+4),Ct=!1;n%2&&(a=a.times(c),c7(a.d,t)),n=bc(n/2),n!==0;)c=c.times(c),c7(c.d,t);return Ct=!0,e.s<0?new d(Jn).div(a):pt(a,r)}}else if(o<0)throw Error(xr+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,c.s=1,Ct=!1,a=e.times(fd(c,r+f)),Ct=!0,a=BR(a),a.s=o,a};be.toPrecision=function(e,t){var n,r,a=this,o=a.constructor;return e===void 0?(n=Bt(a),r=Zo(a,n<=o.toExpNeg||n>=o.toExpPos)):(sa(e,1,xc),t===void 0?t=o.rounding:sa(t,0,8),a=pt(new o(a),e,t),n=Bt(a),r=Zo(a,e<=n||n<=o.toExpNeg,e)),r};be.toSignificantDigits=be.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(sa(e,1,xc),t===void 0?t=r.rounding:sa(t,0,8)),pt(new r(n),e,t)};be.toString=be.valueOf=be.val=be.toJSON=be[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Bt(e),n=e.constructor;return Zo(e,t<=n.toExpNeg||t>=n.toExpPos)};function zR(e,t){var n,r,a,o,l,c,d,f,y=e.constructor,m=y.precision;if(!e.s||!t.s)return t.s||(t=new y(e)),Ct?pt(t,m):t;if(d=e.d,f=t.d,l=e.e,a=t.e,d=d.slice(),o=l-a,o){for(o<0?(r=d,o=-o,c=f.length):(r=f,a=l,c=d.length),l=Math.ceil(m/xt),c=l>c?l+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=d.length,o=f.length,c-o<0&&(o=c,r=f,f=d,d=r),n=0;o;)n=(d[--o]=d[o]+f[o]+n)/Qt|0,d[o]%=Qt;for(n&&(d.unshift(n),++a),c=d.length;d[--c]==0;)d.pop();return t.d=d,t.e=a,Ct?pt(t,m):t}function sa(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Fo+e)}function ea(e){var t,n,r,a=e.length-1,o="",l=e[0];if(a>0){for(o+=l,t=1;t<a;t++)r=e[t]+"",n=xt-r.length,n&&(o+=Di(n)),o+=r;l=e[t],r=l+"",n=xt-r.length,n&&(o+=Di(n))}else if(l===0)return"0";for(;l%10===0;)l/=10;return o+l}var Ua=(function(){function e(r,a){var o,l=0,c=r.length;for(r=r.slice();c--;)o=r[c]*a+l,r[c]=o%Qt|0,l=o/Qt|0;return l&&r.unshift(l),r}function t(r,a,o,l){var c,d;if(o!=l)d=o>l?1:-1;else for(c=d=0;c<o;c++)if(r[c]!=a[c]){d=r[c]>a[c]?1:-1;break}return d}function n(r,a,o){for(var l=0;o--;)r[o]-=l,l=r[o]<a[o]?1:0,r[o]=l*Qt+r[o]-a[o];for(;!r[0]&&r.length>1;)r.shift()}return function(r,a,o,l){var c,d,f,y,m,g,b,C,x,w,M,T,j,E,P,k,A,D,I=r.constructor,F=r.s==a.s?1:-1,L=r.d,q=a.d;if(!r.s)return new I(r);if(!a.s)throw Error(xr+"Division by zero");for(d=r.e-a.e,A=q.length,P=L.length,b=new I(F),C=b.d=[],f=0;q[f]==(L[f]||0);)++f;if(q[f]>(L[f]||0)&&--d,o==null?T=o=I.precision:l?T=o+(Bt(r)-Bt(a))+1:T=o,T<0)return new I(0);if(T=T/xt+2|0,f=0,A==1)for(y=0,q=q[0],T++;(f<P||y)&&T--;f++)j=y*Qt+(L[f]||0),C[f]=j/q|0,y=j%q|0;else{for(y=Qt/(q[0]+1)|0,y>1&&(q=e(q,y),L=e(L,y),A=q.length,P=L.length),E=A,x=L.slice(0,A),w=x.length;w<A;)x[w++]=0;D=q.slice(),D.unshift(0),k=q[0],q[1]>=Qt/2&&++k;do y=0,c=t(q,x,A,w),c<0?(M=x[0],A!=w&&(M=M*Qt+(x[1]||0)),y=M/k|0,y>1?(y>=Qt&&(y=Qt-1),m=e(q,y),g=m.length,w=x.length,c=t(m,x,g,w),c==1&&(y--,n(m,A<g?D:q,g))):(y==0&&(c=y=1),m=q.slice()),g=m.length,g<w&&m.unshift(0),n(x,m,w),c==-1&&(w=x.length,c=t(q,x,A,w),c<1&&(y++,n(x,A<w?D:q,w))),w=x.length):c===0&&(y++,x=[0]),C[f++]=y,c&&x[0]?x[w++]=L[E]||0:(x=[L[E]],w=1);while((E++<P||x[0]!==void 0)&&T--)}return C[0]||C.shift(),b.e=d,pt(b,l?o+Bt(b)+1:o)}})();function BR(e,t){var n,r,a,o,l,c,d=0,f=0,y=e.constructor,m=y.precision;if(Bt(e)>16)throw Error(VC+Bt(e));if(!e.s)return new y(Jn);for(Ct=!1,c=m,l=new y(.03125);e.abs().gte(.1);)e=e.times(l),f+=5;for(r=Math.log(_o(2,f))/Math.LN10*2+5|0,c+=r,n=a=o=new y(Jn),y.precision=c;;){if(a=pt(a.times(e),c),n=n.times(++d),l=o.plus(Ua(a,n,c)),ea(l.d).slice(0,c)===ea(o.d).slice(0,c)){for(;f--;)o=pt(o.times(o),c);return y.precision=m,t==null?(Ct=!0,pt(o,m)):o}o=l}}function Bt(e){for(var t=e.e*xt,n=e.d[0];n>=10;n/=10)t++;return t}function T1(e,t,n){if(t>e.LN10.sd())throw Ct=!0,n&&(e.precision=n),Error(xr+"LN10 precision limit exceeded");return pt(new e(e.LN10),t)}function Di(e){for(var t="";e--;)t+="0";return t}function fd(e,t){var n,r,a,o,l,c,d,f,y,m=1,g=10,b=e,C=b.d,x=b.constructor,w=x.precision;if(b.s<1)throw Error(xr+(b.s?"NaN":"-Infinity"));if(b.eq(Jn))return new x(0);if(t==null?(Ct=!1,f=w):f=t,b.eq(10))return t==null&&(Ct=!0),T1(x,f);if(f+=g,x.precision=f,n=ea(C),r=n.charAt(0),o=Bt(b),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)b=b.times(e),n=ea(b.d),r=n.charAt(0),m++;o=Bt(b),r>1?(b=new x("0."+n),o++):b=new x(r+"."+n.slice(1))}else return d=T1(x,f+2,w).times(o+""),b=fd(new x(r+"."+n.slice(1)),f-g).plus(d),x.precision=w,t==null?(Ct=!0,pt(b,w)):b;for(c=l=b=Ua(b.minus(Jn),b.plus(Jn),f),y=pt(b.times(b),f),a=3;;){if(l=pt(l.times(y),f),d=c.plus(Ua(l,new x(a),f)),ea(d.d).slice(0,f)===ea(c.d).slice(0,f))return c=c.times(2),o!==0&&(c=c.plus(T1(x,f+2,w).times(o+""))),c=Ua(c,new x(m),f),x.precision=w,t==null?(Ct=!0,pt(c,w)):c;c=d,a+=2}}function l7(e,t){var n,r,a;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=bc(n/xt),e.d=[],r=(n+1)%xt,n<0&&(r+=xt),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=xt;r<a;)e.d.push(+t.slice(r,r+=xt));t=t.slice(r),r=xt-t.length}else r-=a;for(;r--;)t+="0";if(e.d.push(+t),Ct&&(e.e>Nm||e.e<-Nm))throw Error(VC+n)}else e.s=0,e.e=0,e.d=[0];return e}function pt(e,t,n){var r,a,o,l,c,d,f,y,m=e.d;for(l=1,o=m[0];o>=10;o/=10)l++;if(r=t-l,r<0)r+=xt,a=t,f=m[y=0];else{if(y=Math.ceil((r+1)/xt),o=m.length,y>=o)return e;for(f=o=m[y],l=1;o>=10;o/=10)l++;r%=xt,a=r-xt+l}if(n!==void 0&&(o=_o(10,l-a-1),c=f/o%10|0,d=t<0||m[y+1]!==void 0||f%o,d=n<4?(c||d)&&(n==0||n==(e.s<0?3:2)):c>5||c==5&&(n==4||d||n==6&&(r>0?a>0?f/_o(10,l-a):0:m[y-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return d?(o=Bt(e),m.length=1,t=t-o-1,m[0]=_o(10,(xt-t%xt)%xt),e.e=bc(-t/xt)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(r==0?(m.length=y,o=1,y--):(m.length=y+1,o=_o(10,xt-r),m[y]=a>0?(f/_o(10,l-a)%_o(10,a)|0)*o:0),d)for(;;)if(y==0){(m[0]+=o)==Qt&&(m[0]=1,++e.e);break}else{if(m[y]+=o,m[y]!=Qt)break;m[y--]=0,o=1}for(r=m.length;m[--r]===0;)m.pop();if(Ct&&(e.e>Nm||e.e<-Nm))throw Error(VC+Bt(e));return e}function qR(e,t){var n,r,a,o,l,c,d,f,y,m,g=e.constructor,b=g.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new g(e),Ct?pt(t,b):t;if(d=e.d,m=t.d,r=t.e,f=e.e,d=d.slice(),l=f-r,l){for(y=l<0,y?(n=d,l=-l,c=m.length):(n=m,r=f,c=d.length),a=Math.max(Math.ceil(b/xt),c)+2,l>a&&(l=a,n.length=1),n.reverse(),a=l;a--;)n.push(0);n.reverse()}else{for(a=d.length,c=m.length,y=a<c,y&&(c=a),a=0;a<c;a++)if(d[a]!=m[a]){y=d[a]<m[a];break}l=0}for(y&&(n=d,d=m,m=n,t.s=-t.s),c=d.length,a=m.length-c;a>0;--a)d[c++]=0;for(a=m.length;a>l;){if(d[--a]<m[a]){for(o=a;o&&d[--o]===0;)d[o]=Qt-1;--d[o],d[a]+=Qt}d[a]-=m[a]}for(;d[--c]===0;)d.pop();for(;d[0]===0;d.shift())--r;return d[0]?(t.d=d,t.e=r,Ct?pt(t,b):t):new g(0)}function Zo(e,t,n){var r,a=Bt(e),o=ea(e.d),l=o.length;return t?(n&&(r=n-l)>0?o=o.charAt(0)+"."+o.slice(1)+Di(r):l>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(a<0?"e":"e+")+a):a<0?(o="0."+Di(-a-1)+o,n&&(r=n-l)>0&&(o+=Di(r))):a>=l?(o+=Di(a+1-l),n&&(r=n-a-1)>0&&(o=o+"."+Di(r))):((r=a+1)<l&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-l)>0&&(a+1===l&&(o+="."),o+=Di(r))),e.s<0?"-"+o:o}function c7(e,t){if(e.length>t)return e.length=t,!0}function $R(e){var t,n,r;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(Fo+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 l7(l,o.toString())}else if(typeof o!="string")throw Error(Fo+o);if(o.charCodeAt(0)===45?(o=o.slice(1),l.s=-1):l.s=1,mte.test(o))l7(l,o);else throw Error(Fo+o)}if(a.prototype=be,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=$R,a.config=a.set=hte,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return a.config(e),a}function hte(e){if(!e||typeof e!="object")throw Error(xr+"Object expected");var t,n,r,a=["precision",1,xc,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((r=e[n=a[t]])!==void 0)if(bc(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(Fo+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Fo+n+": "+r);return this}var ZC=$R(pte);Jn=new ZC(1);const ut=ZC;function yte(e){return bte(e)||xte(e)||vte(e)||gte()}function gte(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 362In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vte(e,t){if(e){if(typeof e=="string")return T2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T2(e,t)}}function xte(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function bte(e){if(Array.isArray(e))return T2(e)}function T2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var wte=function(t){return t},FR={},HR=function(t){return t===FR},u7=function(t){return function n(){return arguments.length===0||arguments.length===1&&HR(arguments.length<=0?void 0:arguments[0])?n:t.apply(void 0,arguments)}},Ste=function e(t,n){return t===1?n:u7(function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];var l=a.filter(function(c){return c!==FR}).length;return l>=t?n.apply(void 0,a):e(t-l,u7(function(){for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];var y=a.map(function(m){return HR(m)?d.shift():m});return n.apply(void 0,yte(y).concat(d))}))})},ny=function(t){return Ste(t.length,t)},P2=function(t,n){for(var r=[],a=t;a<n;++a)r[a-t]=a;return r},Cte=ny(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(n){return t[n]}).map(e)}),Mte=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.length)return wte;var a=n.reverse(),o=a[0],l=a.slice(1);return function(){return l.reduce(function(c,d){return d(c)},o.apply(void 0,arguments))}},A2=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},UR=function(t){var n=null,r=null;return function(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return n&&o.every(function(c,d){return c===n[d]})||(n=o,r=t.apply(void 0,o)),r}};function Ote(e){var t;return e===0?t=1:t=Math.floor(new ut(e).abs().log(10).toNumber())+1,t}function Tte(e,t,n){for(var r=new ut(e),a=0,o=[];r.lt(t)&&a<1e5;)o.push(r.toNumber()),r=r.add(n),a++;return o}var Pte=ny(function(e,t,n){var r=+e,a=+t;return r+n*(a-r)}),Ate=ny(function(e,t,n){var r=t-+e;return r=r||1/0,(n-e)/r}),jte=ny(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});const ry={rangeStep:Tte,getDigitCount:Ote,interpolateNumber:Pte,uninterpolateNumber:Ate,uninterpolateTruncation:jte};function j2(e){return _te(e)||kte(e)||WR(e)||Ete()}function Ete(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 363In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kte(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function _te(e){if(Array.isArray(e))return E2(e)}function pd(e,t){return Rte(e)||Nte(e,t)||WR(e,t)||Dte()}function Dte(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 364In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WR(e,t){if(e){if(typeof e=="string")return E2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E2(e,t)}}function E2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nte(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,a=!1,o=void 0;try{for(var l=e[Symbol.iterator](),c;!(r=(c=l.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(d){a=!0,o=d}finally{try{!r&&l.return!=null&&l.return()}finally{if(a)throw o}}return n}}function Rte(e){if(Array.isArray(e))return e}function GR(e){var t=pd(e,2),n=t[0],r=t[1],a=n,o=r;return n>r&&(a=r,o=n),[a,o]}function KR(e,t,n){if(e.lte(0))return new ut(0);var r=ry.getDigitCount(e.toNumber()),a=new ut(10).pow(r),o=e.div(a),l=r!==1?.05:.1,c=new ut(Math.ceil(o.div(l).toNumber())).add(n).mul(l),d=c.mul(a);return t?d:new ut(Math.ceil(d))}function Ite(e,t,n){var r=1,a=new ut(e);if(!a.isint()&&n){var o=Math.abs(e);o<1?(r=new ut(10).pow(ry.getDigitCount(e)-1),a=new ut(Math.floor(a.div(r).toNumber())).mul(r)):o>1&&(a=new ut(Math.floor(e)))}else e===0?a=new ut(Math.floor((t-1)/2)):n||(a=new ut(Math.floor(e)));var l=Math.floor((t-1)/2),c=Mte(Cte(function(d){return a.add(new ut(d-l).mul(r)).toNumber()}),P2);return c(0,t)}function YR(e,t,n,r){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new ut(0),tickMin:new ut(0),tickMax:new ut(0)};var o=KR(new ut(t).sub(e).div(n-1),r,a),l;e<=0&&t>=0?l=new ut(0):(l=new ut(e).add(t).div(2),l=l.sub(new ut(l).mod(o)));var c=Math.ceil(l.sub(e).div(o).toNumber()),d=Math.ceil(new ut(t).sub(l).div(o).toNumber()),f=c+d+1;return f>n?YR(e,t,n,r,a+1):(f<n&&(d=t>0?d+(n-f):d,c=t>0?c:c+(n-f)),{step:o,tickMin:l.sub(new ut(c).mul(o)),tickMax:l.add(new ut(d).mul(o))})}function Lte(e){var t=pd(e,2),n=t[0],r=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=GR([n,r]),d=pd(c,2),f=d[0],y=d[1];if(f===-1/0||y===1/0){var m=y===1/0?[f].concat(j2(P2(0,a-1).map(function(){return 1/0}))):[].concat(j2(P2(0,a-1).map(function(){return-1/0})),[y]);return n>r?A2(m):m}if(f===y)return Ite(f,a,o);var g=YR(f,y,l,o),b=g.step,C=g.tickMin,x=g.tickMax,w=ry.rangeStep(C,x.add(new ut(.1).mul(b)),b);return n>r?A2(w):w}function zte(e,t){var n=pd(e,2),r=n[0],a=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=GR([r,a]),c=pd(l,2),d=c[0],f=c[1];if(d===-1/0||f===1/0)return[r,a];if(d===f)return[d];var y=Math.max(t,2),m=KR(new ut(f).sub(d).div(y-1),o,0),g=[].concat(j2(ry.rangeStep(new ut(d),new ut(f).sub(new ut(.99).mul(m)),m)),[f]);return r>a?A2(g):g}var Bte=UR(Lte),qte=UR(zte),$te="Invariant failed";function Qo(e,t){throw new Error($te)}var Fte=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];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 Rm(){return Rm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rm.apply(this,arguments)}function Hte(e,t){return Kte(e)||Gte(e,t)||Wte(e,t)||Ute()}function Ute(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 365In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wte(e,t){if(e){if(typeof e=="string")return d7(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d7(e,t)}}function d7(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gte(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Kte(e){if(Array.isArray(e))return e}function Yte(e,t){if(e==null)return{};var n=Vte(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vte(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qte(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QR(r.key),r)}}function Xte(e,t,n){return t&&Qte(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jte(e,t,n){return t=Im(t),ene(e,VR()?Reflect.construct(t,n||[],Im(e).constructor):t.apply(e,n))}function ene(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 tne(e)}function tne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(VR=function(){return!!e})()}function Im(e){return Im=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Im(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k2(e,t)}function k2(e,t){return k2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},k2(e,t)}function ZR(e,t,n){return t=QR(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QR(e){var t=rne(e,"string");return ql(t)=="symbol"?t:t+""}function rne(e,t){if(ql(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ql(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Jd=(function(e){function t(){return Zte(this,t),Jte(this,t,arguments)}return nne(t,e),Xte(t,[{key:"render",value:function(){var r=this.props,a=r.offset,o=r.layout,l=r.width,c=r.dataKey,d=r.data,f=r.dataPointFormatter,y=r.xAxis,m=r.yAxis,g=Yte(r,Fte),b=Le(g,!1);this.props.direction==="x"&&y.type!=="number"&&Qo();var C=d.map(function(x){var w=f(x,c),M=w.x,T=w.y,j=w.value,E=w.errorVal;if(!E)return null;var P=[],k,A;if(Array.isArray(E)){var D=Hte(E,2);k=D[0],A=D[1]}else k=A=E;if(o==="vertical"){var I=y.scale,F=T+a,L=F+l,q=F-l,U=I(j-k),G=I(j+A);P.push({x1:G,y1:L,x2:G,y2:q}),P.push({x1:U,y1:F,x2:G,y2:F}),P.push({x1:U,y1:L,x2:U,y2:q})}else if(o==="horizontal"){var K=m.scale,N=M+a,H=N-l,$=N+l,V=K(j-k),oe=K(j+A);P.push({x1:H,y1:oe,x2:$,y2:oe}),P.push({x1:N,y1:V,x2:N,y2:oe}),P.push({x1:H,y1:V,x2:$,y2:V})}return B.createElement(yt,Rm({className:"recharts-errorBar",key:"bar-".concat(P.map(function(z){return"".concat(z.x1,"-").concat(z.x2,"-").concat(z.y1,"-").concat(z.y2)}))},b),P.map(function(z){return B.createElement("line",Rm({},z,{key:"line-".concat(z.x1,"-").concat(z.x2,"-").concat(z.y1,"-").concat(z.y2)}))}))});return B.createElement(yt,{className:"recharts-errorBars"},C)}}])})(B.Component);ZR(Jd,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});ZR(Jd,"displayName","ErrorBar");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 f7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?f7(Object(n),!0).forEach(function(r){ane(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ane(e,t,n){return t=ine(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ine(e){var t=one(e,"string");return md(t)=="symbol"?t:t+""}function one(e,t){if(md(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(md(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XR=function(t){var n=t.children,r=t.formattedGraphicalItems,a=t.legendWidth,o=t.legendContent,l=Vn(n,Bi);if(!l)return null;var c=Bi.defaultProps,d=c!==void 0?Po(Po({},c),l.props):{},f;return l.props&&l.props.payload?f=l.props&&l.props.payload:o==="children"?f=(r||[]).reduce(function(y,m){var g=m.item,b=m.props,C=b.sectors||b.data||[];return y.concat(C.map(function(x){return{type:l.props.iconType||g.props.legendType,value:x.name,color:x.fill,payload:x}}))},[]):f=(r||[]).map(function(y){var m=y.item,g=m.type.defaultProps,b=g!==void 0?Po(Po({},g),m.props):{},C=b.dataKey,x=b.name,w=b.legendType,M=b.hide;return{inactive:M,dataKey:C,type:d.iconType||w||"square",color:QC(m),value:x||C,payload:b}}),Po(Po(Po({},d),Bi.getWithHeight(l,a)),{},{payload:f,item:l})};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 p7(e){return une(e)||cne(e)||lne(e)||sne()}function sne(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 366In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lne(e,t){if(e){if(typeof e=="string")return _2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _2(e,t)}}function cne(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function une(e){if(Array.isArray(e))return _2(e)}function _2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m7(Object(n),!0).forEach(function(r){Ml(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ml(e,t,n){return t=dne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dne(e){var t=fne(e,"string");return hd(t)=="symbol"?t:t+""}function fne(e,t){if(hd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(hd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bn(e,t,n){return qe(e)||qe(t)?n:Ut(t)?yr(e,t,n):Re(t)?t(e):n}function $u(e,t,n,r){var a=ute(e,function(c){return bn(c,t)});if(n==="number"){var o=a.filter(function(c){return me(c)||parseFloat(c)});return o.length?[ty(o),Ii(o)]:[1/0,-1/0]}var l=r?a.filter(function(c){return!qe(c)}):a;return l.map(function(c){return Ut(c)||c instanceof Date?c:""})}var pne=function(t){var n,r=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=(n=r?.length)!==null&&n!==void 0?n: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 d=o.range,f=0;f<c;f++){var y=f>0?a[f-1].coordinate:a[c-1].coordinate,m=a[f].coordinate,g=f>=c-1?a[0].coordinate:a[f+1].coordinate,b=void 0;if(Dr(m-y)!==Dr(g-m)){var C=[];if(Dr(g-m)===Dr(d[1]-d[0])){b=g;var x=m+d[1]-d[0];C[0]=Math.min(x,(x+y)/2),C[1]=Math.max(x,(x+y)/2)}else{b=y;var w=g+d[1]-d[0];C[0]=Math.min(m,(w+m)/2),C[1]=Math.max(m,(w+m)/2)}var M=[Math.min(m,(b+m)/2),Math.max(m,(b+m)/2)];if(t>M[0]&&t<=M[1]||t>=C[0]&&t<=C[1]){l=a[f].index;break}}else{var T=Math.min(y,g),j=Math.max(y,g);if(t>(T+m)/2&&t<=(j+m)/2){l=a[f].index;break}}}else for(var E=0;E<c;E++)if(E===0&&t<=(r[E].coordinate+r[E+1].coordinate)/2||E>0&&E<c-1&&t>(r[E].coordinate+r[E-1].coordinate)/2&&t<=(r[E].coordinate+r[E+1].coordinate)/2||E===c-1&&t>(r[E].coordinate+r[E-1].coordinate)/2){l=r[E].index;break}return l},QC=function(t){var n,r=t,a=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?At(At({},t.type.defaultProps),t.props):t.props,l=o.stroke,c=o.fill,d;switch(a){case"Line":d=l;break;case"Area":case"Radar":d=l&&l!=="none"?l:c;break;default:d=c;break}return d},mne=function(t){var n=t.barSize,r=t.totalSize,a=t.stackGroups,o=a===void 0?{}:a;if(!o)return{};for(var l={},c=Object.keys(o),d=0,f=c.length;d<f;d++)for(var y=o[c[d]].stackGroups,m=Object.keys(y),g=0,b=m.length;g<b;g++){var C=y[m[g]],x=C.items,w=C.cateAxisId,M=x.filter(function(A){return Fa(A.type).indexOf("Bar")>=0});if(M&&M.length){var T=M[0].type.defaultProps,j=T!==void 0?At(At({},T),M[0].props):M[0].props,E=j.barSize,P=j[w];l[P]||(l[P]=[]);var k=qe(E)?n:E;l[P].push({item:M[0],stackList:M.slice(1),barSize:qe(k)?void 0:Yo(k,r,0)})}}return l},hne=function(t){var n=t.barGap,r=t.barCategoryGap,a=t.bandSize,o=t.sizeList,l=o===void 0?[]:o,c=t.maxBarSize,d=l.length;if(d<1)return null;var f=Yo(n,a,0,!0),y,m=[];if(l[0].barSize===+l[0].barSize){var g=!1,b=a/d,C=l.reduce(function(E,P){return E+P.barSize||0},0);C+=(d-1)*f,C>=a&&(C-=(d-1)*f,f=0),C>=a&&b>0&&(g=!0,b*=.9,C=d*b);var x=(a-C)/2>>0,w={offset:x-f,size:0};y=l.reduce(function(E,P){var k={item:P.item,position:{offset:w.offset+w.size+f,size:g?b:P.barSize}},A=[].concat(p7(E),[k]);return w=A[A.length-1].position,P.stackList&&P.stackList.length&&P.stackList.forEach(function(D){A.push({item:D,position:w})}),A},m)}else{var M=Yo(r,a,0,!0);a-2*M-(d-1)*f<=0&&(f=0);var T=(a-2*M-(d-1)*f)/d;T>1&&(T>>=0);var j=c===+c?Math.min(T,c):T;y=l.reduce(function(E,P,k){var A=[].concat(p7(E),[{item:P.item,position:{offset:M+(T+f)*k+(T-j)/2,size:j}}]);return P.stackList&&P.stackList.length&&P.stackList.forEach(function(D){A.push({item:D,position:A[A.length-1].position})}),A},m)}return y},yne=function(t,n,r,a){var o=r.children,l=r.width,c=r.margin,d=l-(c.left||0)-(c.right||0),f=XR({children:o,legendWidth:d});if(f){var y=a||{},m=y.width,g=y.height,b=f.align,C=f.verticalAlign,x=f.layout;if((x==="vertical"||x==="horizontal"&&C==="middle")&&b!=="center"&&me(t[b]))return At(At({},t),{},Ml({},b,t[b]+(m||0)));if((x==="horizontal"||x==="vertical"&&b==="center")&&C!=="middle"&&me(t[C]))return At(At({},t),{},Ml({},C,t[C]+(g||0)))}return t},gne=function(t,n,r){return qe(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},JR=function(t,n,r,a,o){var l=n.props.children,c=gr(l,Jd).filter(function(f){return gne(a,o,f.props.direction)});if(c&&c.length){var d=c.map(function(f){return f.props.dataKey});return t.reduce(function(f,y){var m=bn(y,r);if(qe(m))return f;var g=Array.isArray(m)?[ty(m),Ii(m)]:[m,m],b=d.reduce(function(C,x){var w=bn(y,x,0),M=g[0]-Math.abs(Array.isArray(w)?w[0]:w),T=g[1]+Math.abs(Array.isArray(w)?w[1]:w);return[Math.min(M,C[0]),Math.max(T,C[1])]},[1/0,-1/0]);return[Math.min(b[0],f[0]),Math.max(b[1],f[1])]},[1/0,-1/0])}return null},vne=function(t,n,r,a,o){var l=n.map(function(c){return JR(t,c,r,o,a)}).filter(function(c){return!qe(c)});return l&&l.length?l.reduce(function(c,d){return[Math.min(c[0],d[0]),Math.max(c[1],d[1])]},[1/0,-1/0]):null},e9=function(t,n,r,a,o){var l=n.map(function(d){var f=d.props.dataKey;return r==="number"&&f&&JR(t,d,f,a)||$u(t,f,r,o)});if(r==="number")return l.reduce(function(d,f){return[Math.min(d[0],f[0]),Math.max(d[1],f[1])]},[1/0,-1/0]);var c={};return l.reduce(function(d,f){for(var y=0,m=f.length;y<m;y++)c[f[y]]||(c[f[y]]=!0,d.push(f[y]));return d},[])},t9=function(t,n){return t==="horizontal"&&n==="xAxis"||t==="vertical"&&n==="yAxis"||t==="centric"&&n==="angleAxis"||t==="radial"&&n==="radiusAxis"},n9=function(t,n,r,a){if(a)return t.map(function(d){return d.coordinate});var o,l,c=t.map(function(d){return d.coordinate===n&&(o=!0),d.coordinate===r&&(l=!0),d.coordinate});return o||c.push(n),l||c.push(r),c},$a=function(t,n,r){if(!t)return null;var a=t.scale,o=t.duplicateDomain,l=t.type,c=t.range,d=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,f=(n||r)&&l==="category"&&a.bandwidth?a.bandwidth()/d:0;if(f=t.axisType==="angleAxis"&&c?.length>=2?Dr(c[0]-c[1])*2*f:f,n&&(t.ticks||t.niceTicks)){var y=(t.ticks||t.niceTicks).map(function(m){var g=o?o.indexOf(m):m;return{coordinate:a(g)+f,value:m,offset:f}});return y.filter(function(m){return!hc(m.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(m,g){return{coordinate:a(m)+f,value:m,index:g,offset:f}}):a.ticks&&!r?a.ticks(t.tickCount).map(function(m){return{coordinate:a(m)+f,value:m,offset:f}}):a.domain().map(function(m,g){return{coordinate:a(m)+f,value:o?o[m]:m,index:g,offset:f}})},P1=new WeakMap,Lp=function(t,n){if(typeof n!="function")return t;P1.has(t)||P1.set(t,new WeakMap);var r=P1.get(t);if(r.has(n))return r.get(n);var a=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,a),a},xne=function(t,n,r){var a=t.scale,o=t.type,l=t.layout,c=t.axisType;if(a==="auto")return l==="radial"&&c==="radiusAxis"?{scale:sd(),realScaleType:"band"}:l==="radial"&&c==="angleAxis"?{scale:Em(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:qu(),realScaleType:"point"}:o==="category"?{scale:sd(),realScaleType:"band"}:{scale:Em(),realScaleType:"linear"};if(Ko(a)){var d="scale".concat($h(a));return{scale:(JE[d]||qu)(),realScaleType:JE[d]?d:"point"}}return Re(a)?{scale:a}:{scale:qu(),realScaleType:"point"}},h7=1e-4,bne=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,a=t.range(),o=Math.min(a[0],a[1])-h7,l=Math.max(a[0],a[1])+h7,c=t(n[0]),d=t(n[r-1]);(c<o||c>l||d<o||d>l)&&t.domain([n[0],n[r-1]])}},wne=function(t,n){if(!t)return null;for(var r=0,a=t.length;r<a;r++)if(t[r].item===n)return t[r].position;return null},Sne=function(t,n){if(!n||n.length!==2||!me(n[0])||!me(n[1]))return t;var r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]),o=[t[0],t[1]];return(!me(t[0])||t[0]<r)&&(o[0]=r),(!me(t[1])||t[1]>a)&&(o[1]=a),o[0]>a&&(o[0]=a),o[1]<r&&(o[1]=r),o},Cne=function(t){var n=t.length;if(!(n<=0))for(var r=0,a=t[0].length;r<a;++r)for(var o=0,l=0,c=0;c<n;++c){var d=hc(t[c][r][1])?t[c][r][0]:t[c][r][1];d>=0?(t[c][r][0]=o,t[c][r][1]=o+d,o=t[c][r][1]):(t[c][r][0]=l,t[c][r][1]=l+d,l=t[c][r][1])}},Mne=function(t){var n=t.length;if(!(n<=0))for(var r=0,a=t[0].length;r<a;++r)for(var o=0,l=0;l<n;++l){var c=hc(t[l][r][1])?t[l][r][0]:t[l][r][1];c>=0?(t[l][r][0]=o,t[l][r][1]=o+c,o=t[l][r][1]):(t[l][r][0]=0,t[l][r][1]=0)}},One={sign:Cne,expand:lV,none:kl,silhouette:cV,wiggle:uV,positive:Mne},Tne=function(t,n,r){var a=n.map(function(c){return c.props.dataKey}),o=One[r],l=sV().keys(a).value(function(c,d){return+bn(c,d,0)}).order(l2).offset(o);return l(t)},Pne=function(t,n,r,a,o,l){if(!t)return null;var c=l?n.reverse():n,d={},f=c.reduce(function(m,g){var b,C=(b=g.type)!==null&&b!==void 0&&b.defaultProps?At(At({},g.type.defaultProps),g.props):g.props,x=C.stackId,w=C.hide;if(w)return m;var M=C[r],T=m[M]||{hasStack:!1,stackGroups:{}};if(Ut(x)){var j=T.stackGroups[x]||{numericAxisId:r,cateAxisId:a,items:[]};j.items.push(g),T.hasStack=!0,T.stackGroups[x]=j}else T.stackGroups[yc("_stackId_")]={numericAxisId:r,cateAxisId:a,items:[g]};return At(At({},m),{},Ml({},M,T))},d),y={};return Object.keys(f).reduce(function(m,g){var b=f[g];if(b.hasStack){var C={};b.stackGroups=Object.keys(b.stackGroups).reduce(function(x,w){var M=b.stackGroups[w];return At(At({},x),{},Ml({},w,{numericAxisId:r,cateAxisId:a,items:M.items,stackedData:Tne(t,M.items,o)}))},C)}return At(At({},m),{},Ml({},g,b))},y)},Ane=function(t,n){var r=n.realScaleType,a=n.type,o=n.tickCount,l=n.originalDomain,c=n.allowDecimals,d=r||n.scale;if(d!=="auto"&&d!=="linear")return null;if(o&&a==="number"&&l&&(l[0]==="auto"||l[1]==="auto")){var f=t.domain();if(!f.length)return null;var y=Bte(f,o,c);return t.domain([ty(y),Ii(y)]),{niceTicks:y}}if(o&&a==="number"){var m=t.domain(),g=qte(m,o,c);return{niceTicks:g}}return null};function Lm(e){var t=e.axis,n=e.ticks,r=e.bandSize,a=e.entry,o=e.index,l=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!qe(a[t.dataKey])){var c=um(n,"value",a[t.dataKey]);if(c)return c.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var d=bn(a,qe(l)?t.dataKey:l);return qe(d)?null:t.scale(d)}var y7=function(t){var n=t.axis,r=t.ticks,a=t.offset,o=t.bandSize,l=t.entry,c=t.index;if(n.type==="category")return r[c]?r[c].coordinate+a:null;var d=bn(l,n.dataKey,n.domain[c]);return qe(d)?null:n.scale(d)-o/2+a},jne=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return a<=0&&o>=0?0:o<0?o:a}return r[0]},Ene=function(t,n){var r,a=(r=t.type)!==null&&r!==void 0&&r.defaultProps?At(At({},t.type.defaultProps),t.props):t.props,o=a.stackId;if(Ut(o)){var l=n[o];if(l){var c=l.items.indexOf(t);return c>=0?l.stackedData[c]:null}}return null},kne=function(t){return t.reduce(function(n,r){return[ty(r.concat([n[0]]).filter(me)),Ii(r.concat([n[1]]).filter(me))]},[1/0,-1/0])},r9=function(t,n,r){return Object.keys(t).reduce(function(a,o){var l=t[o],c=l.stackedData,d=c.reduce(function(f,y){var m=kne(y.slice(n,r+1));return[Math.min(f[0],m[0]),Math.max(f[1],m[1])]},[1/0,-1/0]);return[Math.min(d[0],a[0]),Math.max(d[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},g7=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,v7=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,D2=function(t,n,r){if(Re(t))return t(n,r);if(!Array.isArray(t))return n;var a=[];if(me(t[0]))a[0]=r?t[0]:Math.min(t[0],n[0]);else if(g7.test(t[0])){var o=+g7.exec(t[0])[1];a[0]=n[0]-o}else Re(t[0])?a[0]=t[0](n[0]):a[0]=n[0];if(me(t[1]))a[1]=r?t[1]:Math.max(t[1],n[1]);else if(v7.test(t[1])){var l=+v7.exec(t[1])[1];a[1]=n[1]+l}else Re(t[1])?a[1]=t[1](n[1]):a[1]=n[1];return a},zm=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!r||a>0)return a}if(t&&n&&n.length>=2){for(var o=OC(n,function(m){return m.coordinate}),l=1/0,c=1,d=o.length;c<d;c++){var f=o[c],y=o[c-1];l=Math.min((f.coordinate||0)-(y.coordinate||0),l)}return l===1/0?0:l}return r?void 0:0},x7=function(t,n,r){return!t||!t.length||Bl(t,yr(r,"type.defaultProps.domain"))?n:t},a9=function(t,n){var r=t.type.defaultProps?At(At({},t.type.defaultProps),t.props):t.props,a=r.dataKey,o=r.name,l=r.unit,c=r.formatter,d=r.tooltipType,f=r.chartType,y=r.hide;return At(At({},Le(t,!1)),{},{dataKey:a,unit:l,formatter:c,name:o||a,color:QC(t),value:bn(n,a),type:d,payload:n,chartType:f,hide:y})};function yd(e){"@babel/helpers - typeof";return yd=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},yd(e)}function b7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function w7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b7(Object(n),!0).forEach(function(r){_ne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _ne(e,t,n){return t=Dne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dne(e){var t=Nne(e,"string");return yd(t)=="symbol"?t:t+""}function Nne(e,t){if(yd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(yd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Bm=Math.PI/180,Rne=function(t){return t*180/Math.PI},sn=function(t,n,r,a){return{x:t+Math.cos(-Bm*a)*r,y:n+Math.sin(-Bm*a)*r}},Ine=function(t,n){var r=t.x,a=t.y,o=n.x,l=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(a-l,2))},Lne=function(t,n){var r=t.x,a=t.y,o=n.cx,l=n.cy,c=Ine({x:r,y:a},{x:o,y:l});if(c<=0)return{radius:c};var d=(r-o)/c,f=Math.acos(d);return a>l&&(f=2*Math.PI-f),{radius:c,angle:Rne(f),angleInRadian:f}},zne=function(t){var n=t.startAngle,r=t.endAngle,a=Math.floor(n/360),o=Math.floor(r/360),l=Math.min(a,o);return{startAngle:n-l*360,endAngle:r-l*360}},Bne=function(t,n){var r=n.startAngle,a=n.endAngle,o=Math.floor(r/360),l=Math.floor(a/360),c=Math.min(o,l);return t+c*360},S7=function(t,n){var r=t.x,a=t.y,o=Lne({x:r,y:a},n),l=o.radius,c=o.angle,d=n.innerRadius,f=n.outerRadius;if(l<d||l>f)return!1;if(l===0)return!0;var y=zne(n),m=y.startAngle,g=y.endAngle,b=c,C;if(m<=g){for(;b>g;)b-=360;for(;b<m;)b+=360;C=b>=m&&b<=g}else{for(;b>m;)b-=360;for(;b<g;)b+=360;C=b>=g&&b<=m}return C?w7(w7({},n),{},{radius:l,angle:Bne(b,n)}):null};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)}var qne=["offset"];function $ne(e){return Wne(e)||Une(e)||Hne(e)||Fne()}function Fne(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 367In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hne(e,t){if(e){if(typeof e=="string")return N2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N2(e,t)}}function Une(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wne(e){if(Array.isArray(e))return N2(e)}function N2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Gne(e,t){if(e==null)return{};var n=Kne(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function C7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C7(Object(n),!0).forEach(function(r){Yne(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yne(e,t,n){return t=Vne(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vne(e){var t=Zne(e,"string");return gd(t)=="symbol"?t:t+""}function Zne(e,t){if(gd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(gd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vd(){return vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vd.apply(this,arguments)}var Qne=function(t){var n=t.value,r=t.formatter,a=qe(t.children)?n:t.children;return Re(r)?r(a):a},Xne=function(t,n){var r=Dr(n-t),a=Math.min(Math.abs(n-t),360);return r*a},Jne=function(t,n,r){var a=t.position,o=t.viewBox,l=t.offset,c=t.className,d=o,f=d.cx,y=d.cy,m=d.innerRadius,g=d.outerRadius,b=d.startAngle,C=d.endAngle,x=d.clockWise,w=(m+g)/2,M=Xne(b,C),T=M>=0?1:-1,j,E;a==="insideStart"?(j=b+T*l,E=x):a==="insideEnd"?(j=C-T*l,E=!x):a==="end"&&(j=C+T*l,E=x),E=M<=0?E:!E;var P=sn(f,y,w,j),k=sn(f,y,w,j+(E?1:-1)*359),A="M".concat(P.x,",").concat(P.y,` 368 A`).concat(w,",").concat(w,",0,1,").concat(E?0:1,`, 369 `).concat(k.x,",").concat(k.y),D=qe(t.id)?yc("recharts-radial-line-"):t.id;return B.createElement("text",vd({},r,{dominantBaseline:"central",className:He("recharts-radial-bar-label",c)}),B.createElement("defs",null,B.createElement("path",{id:D,d:A})),B.createElement("textPath",{xlinkHref:"#".concat(D)},n))},ere=function(t){var n=t.viewBox,r=t.offset,a=t.position,o=n,l=o.cx,c=o.cy,d=o.innerRadius,f=o.outerRadius,y=o.startAngle,m=o.endAngle,g=(y+m)/2;if(a==="outside"){var b=sn(l,c,f+r,g),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=(d+f)/2,M=sn(l,c,w,g),T=M.x,j=M.y;return{x:T,y:j,textAnchor:"middle",verticalAnchor:"middle"}},tre=function(t){var n=t.viewBox,r=t.parentViewBox,a=t.offset,o=t.position,l=n,c=l.x,d=l.y,f=l.width,y=l.height,m=y>=0?1:-1,g=m*a,b=m>0?"end":"start",C=m>0?"start":"end",x=f>=0?1:-1,w=x*a,M=x>0?"end":"start",T=x>0?"start":"end";if(o==="top"){var j={x:c+f/2,y:d-m*a,textAnchor:"middle",verticalAnchor:b};return Ht(Ht({},j),r?{height:Math.max(d-r.y,0),width:f}:{})}if(o==="bottom"){var E={x:c+f/2,y:d+y+g,textAnchor:"middle",verticalAnchor:C};return Ht(Ht({},E),r?{height:Math.max(r.y+r.height-(d+y),0),width:f}:{})}if(o==="left"){var P={x:c-w,y:d+y/2,textAnchor:M,verticalAnchor:"middle"};return Ht(Ht({},P),r?{width:Math.max(P.x-r.x,0),height:y}:{})}if(o==="right"){var k={x:c+f+w,y:d+y/2,textAnchor:T,verticalAnchor:"middle"};return Ht(Ht({},k),r?{width:Math.max(r.x+r.width-k.x,0),height:y}:{})}var A=r?{width:f,height:y}:{};return o==="insideLeft"?Ht({x:c+w,y:d+y/2,textAnchor:T,verticalAnchor:"middle"},A):o==="insideRight"?Ht({x:c+f-w,y:d+y/2,textAnchor:M,verticalAnchor:"middle"},A):o==="insideTop"?Ht({x:c+f/2,y:d+g,textAnchor:"middle",verticalAnchor:C},A):o==="insideBottom"?Ht({x:c+f/2,y:d+y-g,textAnchor:"middle",verticalAnchor:b},A):o==="insideTopLeft"?Ht({x:c+w,y:d+g,textAnchor:T,verticalAnchor:C},A):o==="insideTopRight"?Ht({x:c+f-w,y:d+g,textAnchor:M,verticalAnchor:C},A):o==="insideBottomLeft"?Ht({x:c+w,y:d+y-g,textAnchor:T,verticalAnchor:b},A):o==="insideBottomRight"?Ht({x:c+f-w,y:d+y-g,textAnchor:M,verticalAnchor:b},A):mc(o)&&(me(o.x)||Io(o.x))&&(me(o.y)||Io(o.y))?Ht({x:c+Yo(o.x,f),y:d+Yo(o.y,y),textAnchor:"end",verticalAnchor:"end"},A):Ht({x:c+f/2,y:d+y/2,textAnchor:"middle",verticalAnchor:"middle"},A)},nre=function(t){return"cx"in t&&me(t.cx)};function pn(e){var t=e.offset,n=t===void 0?5:t,r=Gne(e,qne),a=Ht({offset:n},r),o=a.viewBox,l=a.position,c=a.value,d=a.children,f=a.content,y=a.className,m=y===void 0?"":y,g=a.textBreakAll;if(!o||qe(c)&&qe(d)&&!O.isValidElement(f)&&!Re(f))return null;if(O.isValidElement(f))return O.cloneElement(f,a);var b;if(Re(f)){if(b=O.createElement(f,a),O.isValidElement(b))return b}else b=Qne(a);var C=nre(o),x=Le(a,!0);if(C&&(l==="insideStart"||l==="insideEnd"||l==="end"))return Jne(a,b,x);var w=C?ere(a):tre(a);return B.createElement(Cm,vd({className:He("recharts-label",m)},x,w,{breakAll:g}),b)}pn.displayName="Label";var i9=function(t){var n=t.cx,r=t.cy,a=t.angle,o=t.startAngle,l=t.endAngle,c=t.r,d=t.radius,f=t.innerRadius,y=t.outerRadius,m=t.x,g=t.y,b=t.top,C=t.left,x=t.width,w=t.height,M=t.clockWise,T=t.labelViewBox;if(T)return T;if(me(x)&&me(w)){if(me(m)&&me(g))return{x:m,y:g,width:x,height:w};if(me(b)&&me(C))return{x:b,y:C,width:x,height:w}}return me(m)&&me(g)?{x:m,y:g,width:0,height:0}:me(n)&&me(r)?{cx:n,cy:r,startAngle:o||a||0,endAngle:l||a||0,innerRadius:f||0,outerRadius:y||d||c||0,clockWise:M}:t.viewBox?t.viewBox:{}},rre=function(t,n){return t?t===!0?B.createElement(pn,{key:"label-implicit",viewBox:n}):Ut(t)?B.createElement(pn,{key:"label-implicit",viewBox:n,value:t}):O.isValidElement(t)?t.type===pn?O.cloneElement(t,{key:"label-implicit",viewBox:n}):B.createElement(pn,{key:"label-implicit",content:t,viewBox:n}):Re(t)?B.createElement(pn,{key:"label-implicit",content:t,viewBox:n}):mc(t)?B.createElement(pn,vd({viewBox:n},t,{key:"label-implicit"})):null:null},are=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var a=t.children,o=i9(t),l=gr(a,pn).map(function(d,f){return O.cloneElement(d,{viewBox:n||o,key:"label-".concat(f)})});if(!r)return l;var c=rre(t.label,n||o);return[c].concat($ne(l))};pn.parseViewBox=i9;pn.renderCallByParent=are;var A1,M7;function ire(){if(M7)return A1;M7=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return A1=e,A1}var ore=ire();const sre=dt(ore);function xd(e){"@babel/helpers - typeof";return xd=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},xd(e)}var lre=["valueAccessor"],cre=["data","dataKey","clockWise","id","textBreakAll"];function ure(e){return mre(e)||pre(e)||fre(e)||dre()}function dre(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 370In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fre(e,t){if(e){if(typeof e=="string")return R2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R2(e,t)}}function pre(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mre(e){if(Array.isArray(e))return R2(e)}function R2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qm(){return qm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qm.apply(this,arguments)}function O7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function T7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O7(Object(n),!0).forEach(function(r){hre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hre(e,t,n){return t=yre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yre(e){var t=gre(e,"string");return xd(t)=="symbol"?t:t+""}function gre(e,t){if(xd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(xd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function P7(e,t){if(e==null)return{};var n=vre(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function vre(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var xre=function(t){return Array.isArray(t.value)?sre(t.value):t.value};function Wa(e){var t=e.valueAccessor,n=t===void 0?xre:t,r=P7(e,lre),a=r.data,o=r.dataKey,l=r.clockWise,c=r.id,d=r.textBreakAll,f=P7(r,cre);return!a||!a.length?null:B.createElement(yt,{className:"recharts-label-list"},a.map(function(y,m){var g=qe(o)?n(y,m):bn(y&&y.payload,o),b=qe(c)?{}:{id:"".concat(c,"-").concat(m)};return B.createElement(pn,qm({},Le(y,!0),f,b,{parentViewBox:y.parentViewBox,value:g,textBreakAll:d,viewBox:pn.parseViewBox(qe(l)?y:T7(T7({},y),{},{clockWise:l})),key:"label-".concat(m),index:m}))}))}Wa.displayName="LabelList";function bre(e,t){return e?e===!0?B.createElement(Wa,{key:"labelList-implicit",data:t}):B.isValidElement(e)||Re(e)?B.createElement(Wa,{key:"labelList-implicit",data:t,content:e}):mc(e)?B.createElement(Wa,qm({data:t},e,{key:"labelList-implicit"})):null:null}function wre(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,a=gr(r,Wa).map(function(l,c){return O.cloneElement(l,{data:t,key:"labelList-".concat(c)})});if(!n)return a;var o=bre(e.label,t);return[o].concat(ure(a))}Wa.renderCallByParent=wre;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 I2(){return I2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I2.apply(this,arguments)}function A7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function j7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?A7(Object(n),!0).forEach(function(r){Sre(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sre(e,t,n){return t=Cre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cre(e){var t=Mre(e,"string");return bd(t)=="symbol"?t:t+""}function Mre(e,t){if(bd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(bd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ore=function(t,n){var r=Dr(n-t),a=Math.min(Math.abs(n-t),359.999);return r*a},zp=function(t){var n=t.cx,r=t.cy,a=t.radius,o=t.angle,l=t.sign,c=t.isExternal,d=t.cornerRadius,f=t.cornerIsExternal,y=d*(c?1:-1)+a,m=Math.asin(d/y)/Bm,g=f?o:o+l*m,b=sn(n,r,y,g),C=sn(n,r,a,g),x=f?o-l*m:o,w=sn(n,r,y*Math.cos(m*Bm),x);return{center:b,circleTangency:C,lineTangency:w,theta:m}},o9=function(t){var n=t.cx,r=t.cy,a=t.innerRadius,o=t.outerRadius,l=t.startAngle,c=t.endAngle,d=Ore(l,c),f=l+d,y=sn(n,r,o,l),m=sn(n,r,o,f),g="M ".concat(y.x,",").concat(y.y,` 371 A `).concat(o,",").concat(o,`,0, 372 `).concat(+(Math.abs(d)>180),",").concat(+(l>f),`, 373 `).concat(m.x,",").concat(m.y,` 374 `);if(a>0){var b=sn(n,r,a,l),C=sn(n,r,a,f);g+="L ".concat(C.x,",").concat(C.y,` 375 A `).concat(a,",").concat(a,`,0, 376 `).concat(+(Math.abs(d)>180),",").concat(+(l<=f),`, 377 `).concat(b.x,",").concat(b.y," Z")}else g+="L ".concat(n,",").concat(r," Z");return g},Tre=function(t){var n=t.cx,r=t.cy,a=t.innerRadius,o=t.outerRadius,l=t.cornerRadius,c=t.forceCornerRadius,d=t.cornerIsExternal,f=t.startAngle,y=t.endAngle,m=Dr(y-f),g=zp({cx:n,cy:r,radius:o,angle:f,sign:m,cornerRadius:l,cornerIsExternal:d}),b=g.circleTangency,C=g.lineTangency,x=g.theta,w=zp({cx:n,cy:r,radius:o,angle:y,sign:-m,cornerRadius:l,cornerIsExternal:d}),M=w.circleTangency,T=w.lineTangency,j=w.theta,E=d?Math.abs(f-y):Math.abs(f-y)-x-j;if(E<0)return c?"M ".concat(C.x,",").concat(C.y,` 378 a`).concat(l,",").concat(l,",0,0,1,").concat(l*2,`,0 379 a`).concat(l,",").concat(l,",0,0,1,").concat(-l*2,`,0 380 `):o9({cx:n,cy:r,innerRadius:a,outerRadius:o,startAngle:f,endAngle:y});var P="M ".concat(C.x,",").concat(C.y,` 381 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(b.x,",").concat(b.y,` 382 A`).concat(o,",").concat(o,",0,").concat(+(E>180),",").concat(+(m<0),",").concat(M.x,",").concat(M.y,` 383 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(T.x,",").concat(T.y,` 384 `);if(a>0){var k=zp({cx:n,cy:r,radius:a,angle:f,sign:m,isExternal:!0,cornerRadius:l,cornerIsExternal:d}),A=k.circleTangency,D=k.lineTangency,I=k.theta,F=zp({cx:n,cy:r,radius:a,angle:y,sign:-m,isExternal:!0,cornerRadius:l,cornerIsExternal:d}),L=F.circleTangency,q=F.lineTangency,U=F.theta,G=d?Math.abs(f-y):Math.abs(f-y)-I-U;if(G<0&&l===0)return"".concat(P,"L").concat(n,",").concat(r,"Z");P+="L".concat(q.x,",").concat(q.y,` 385 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(L.x,",").concat(L.y,` 386 A`).concat(a,",").concat(a,",0,").concat(+(G>180),",").concat(+(m>0),",").concat(A.x,",").concat(A.y,` 387 A`).concat(l,",").concat(l,",0,0,").concat(+(m<0),",").concat(D.x,",").concat(D.y,"Z")}else P+="L".concat(n,",").concat(r,"Z");return P},Pre={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},s9=function(t){var n=j7(j7({},Pre),t),r=n.cx,a=n.cy,o=n.innerRadius,l=n.outerRadius,c=n.cornerRadius,d=n.forceCornerRadius,f=n.cornerIsExternal,y=n.startAngle,m=n.endAngle,g=n.className;if(l<o||y===m)return null;var b=He("recharts-sector",g),C=l-o,x=Yo(c,C,0,!0),w;return x>0&&Math.abs(y-m)<360?w=Tre({cx:r,cy:a,innerRadius:o,outerRadius:l,cornerRadius:Math.min(x,C/2),forceCornerRadius:d,cornerIsExternal:f,startAngle:y,endAngle:m}):w=o9({cx:r,cy:a,innerRadius:o,outerRadius:l,startAngle:y,endAngle:m}),B.createElement("path",I2({},Le(n,!0),{className:b,d:w,role:"img"}))};function wd(e){"@babel/helpers - typeof";return wd=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},wd(e)}function L2(){return L2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L2.apply(this,arguments)}function E7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function k7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?E7(Object(n),!0).forEach(function(r){Are(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Are(e,t,n){return t=jre(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jre(e){var t=Ere(e,"string");return wd(t)=="symbol"?t:t+""}function Ere(e,t){if(wd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(wd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var _7={curveBasisClosed:ZY,curveBasisOpen:QY,curveBasis:VY,curveBumpX:RY,curveBumpY:IY,curveLinearClosed:XY,curveLinear:Hh,curveMonotoneX:JY,curveMonotoneY:eV,curveNatural:tV,curveStep:nV,curveStepAfter:aV,curveStepBefore:rV},Bp=function(t){return t.x===+t.x&&t.y===+t.y},Ou=function(t){return t.x},Tu=function(t){return t.y},kre=function(t,n){if(Re(t))return t;var r="curve".concat($h(t));return(r==="curveMonotone"||r==="curveBump")&&n?_7["".concat(r).concat(n==="vertical"?"Y":"X")]:_7[r]||Hh},_re=function(t){var n=t.type,r=n===void 0?"linear":n,a=t.points,o=a===void 0?[]:a,l=t.baseLine,c=t.layout,d=t.connectNulls,f=d===void 0?!1:d,y=kre(r,c),m=f?o.filter(function(x){return Bp(x)}):o,g;if(Array.isArray(l)){var b=f?l.filter(function(x){return Bp(x)}):l,C=m.map(function(x,w){return k7(k7({},x),{},{base:b[w]})});return c==="vertical"?g=Ep().y(Tu).x1(Ou).x0(function(x){return x.base.x}):g=Ep().x(Ou).y1(Tu).y0(function(x){return x.base.y}),g.defined(Bp).curve(y),g(C)}return c==="vertical"&&me(l)?g=Ep().y(Tu).x1(Ou).x0(l):me(l)?g=Ep().x(Ou).y1(Tu).y0(l):g=fN().x(Ou).y(Tu),g.defined(Bp).curve(y),g(m)},Ol=function(t){var n=t.className,r=t.points,a=t.path,o=t.pathRef;if((!r||!r.length)&&!a)return null;var l=r&&r.length?_re(t):a;return O.createElement("path",L2({},Le(t,!1),dm(t),{className:He("recharts-curve",n),d:l,ref:o}))},j1={exports:{}},E1,D7;function Dre(){if(D7)return E1;D7=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return E1=e,E1}var k1,N7;function Nre(){if(N7)return k1;N7=1;var e=Dre();function t(){}function n(){}return n.resetWarningCache=t,k1=function(){function r(l,c,d,f,y,m){if(m!==e){var g=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 g.name="Invariant Violation",g}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},k1}var R7;function Rre(){return R7||(R7=1,j1.exports=Nre()()),j1.exports}var Ire=Rre();const tt=dt(Ire);var Lre=Object.getOwnPropertyNames,zre=Object.getOwnPropertySymbols,Bre=Object.prototype.hasOwnProperty;function I7(e,t){return function(r,a,o){return e(r,a,o)&&t(r,a,o)}}function qp(e){return function(n,r,a){if(!n||!r||typeof n!="object"||typeof r!="object")return e(n,r,a);var o=a.cache,l=o.get(n),c=o.get(r);if(l&&c)return l===r&&c===n;o.set(n,r),o.set(r,n);var d=e(n,r,a);return o.delete(n),o.delete(r),d}}function qre(e){return e?.[Symbol.toStringTag]}function L7(e){return Lre(e).concat(zre(e))}var $re=Object.hasOwn||(function(e,t){return Bre.call(e,t)});function cs(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var Fre="__v",Hre="__o",Ure="_owner",z7=Object.getOwnPropertyDescriptor,B7=Object.keys;function Wre(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Gre(e,t){return cs(e.getTime(),t.getTime())}function Kre(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Yre(e,t){return e===t}function q7(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var a=new Array(r),o=e.entries(),l,c,d=0;(l=o.next())&&!l.done;){for(var f=t.entries(),y=!1,m=0;(c=f.next())&&!c.done;){if(a[m]){m++;continue}var g=l.value,b=c.value;if(n.equals(g[0],b[0],d,m,e,t,n)&&n.equals(g[1],b[1],g[0],b[0],e,t,n)){y=a[m]=!0;break}m++}if(!y)return!1;d++}return!0}var Vre=cs;function Zre(e,t,n){var r=B7(e),a=r.length;if(B7(t).length!==a)return!1;for(;a-- >0;)if(!l9(e,t,n,r[a]))return!1;return!0}function Pu(e,t,n){var r=L7(e),a=r.length;if(L7(t).length!==a)return!1;for(var o,l,c;a-- >0;)if(o=r[a],!l9(e,t,n,o)||(l=z7(e,o),c=z7(t,o),(l||c)&&(!l||!c||l.configurable!==c.configurable||l.enumerable!==c.enumerable||l.writable!==c.writable)))return!1;return!0}function Qre(e,t){return cs(e.valueOf(),t.valueOf())}function Xre(e,t){return e.source===t.source&&e.flags===t.flags}function $7(e,t,n){var r=e.size;if(r!==t.size)return!1;if(!r)return!0;for(var a=new Array(r),o=e.values(),l,c;(l=o.next())&&!l.done;){for(var d=t.values(),f=!1,y=0;(c=d.next())&&!c.done;){if(!a[y]&&n.equals(l.value,c.value,l.value,c.value,e,t,n)){f=a[y]=!0;break}y++}if(!f)return!1}return!0}function Jre(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function eae(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 l9(e,t,n,r){return(r===Ure||r===Hre||r===Fre)&&(e.$$typeof||t.$$typeof)?!0:$re(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}var tae="[object Arguments]",nae="[object Boolean]",rae="[object Date]",aae="[object Error]",iae="[object Map]",oae="[object Number]",
387sae="[object Object]",lae="[object RegExp]",cae="[object Set]",uae="[object String]",dae="[object URL]",fae=Array.isArray,F7=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,H7=Object.assign,pae=Object.prototype.toString.call.bind(Object.prototype.toString);function mae(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areErrorsEqual,a=e.areFunctionsEqual,o=e.areMapsEqual,l=e.areNumbersEqual,c=e.areObjectsEqual,d=e.arePrimitiveWrappersEqual,f=e.areRegExpsEqual,y=e.areSetsEqual,m=e.areTypedArraysEqual,g=e.areUrlsEqual,b=e.unknownTagComparators;return function(x,w,M){if(x===w)return!0;if(x==null||w==null)return!1;var T=typeof x;if(T!==typeof w)return!1;if(T!=="object")return T==="number"?l(x,w,M):T==="function"?a(x,w,M):!1;var j=x.constructor;if(j!==w.constructor)return!1;if(j===Object)return c(x,w,M);if(fae(x))return t(x,w,M);if(F7!=null&&F7(x))return m(x,w,M);if(j===Date)return n(x,w,M);if(j===RegExp)return f(x,w,M);if(j===Map)return o(x,w,M);if(j===Set)return y(x,w,M);var E=pae(x);if(E===rae)return n(x,w,M);if(E===lae)return f(x,w,M);if(E===iae)return o(x,w,M);if(E===cae)return y(x,w,M);if(E===sae)return typeof x.then!="function"&&typeof w.then!="function"&&c(x,w,M);if(E===dae)return g(x,w,M);if(E===aae)return r(x,w,M);if(E===tae)return c(x,w,M);if(E===nae||E===oae||E===uae)return d(x,w,M);if(b){var P=b[E];if(!P){var k=qre(x);k&&(P=b[k])}if(P)return P(x,w,M)}return!1}}function hae(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,a={areArraysEqual:r?Pu:Wre,areDatesEqual:Gre,areErrorsEqual:Kre,areFunctionsEqual:Yre,areMapsEqual:r?I7(q7,Pu):q7,areNumbersEqual:Vre,areObjectsEqual:r?Pu:Zre,arePrimitiveWrappersEqual:Qre,areRegExpsEqual:Xre,areSetsEqual:r?I7($7,Pu):$7,areTypedArraysEqual:r?Pu:Jre,areUrlsEqual:eae,unknownTagComparators:void 0};if(n&&(a=H7({},a,n(a))),t){var o=qp(a.areArraysEqual),l=qp(a.areMapsEqual),c=qp(a.areObjectsEqual),d=qp(a.areSetsEqual);a=H7({},a,{areArraysEqual:o,areMapsEqual:l,areObjectsEqual:c,areSetsEqual:d})}return a}function yae(e){return function(t,n,r,a,o,l,c){return e(t,n,c)}}function gae(e){var t=e.circular,n=e.comparator,r=e.createState,a=e.equals,o=e.strict;if(r)return function(d,f){var y=r(),m=y.cache,g=m===void 0?t?new WeakMap:void 0:m,b=y.meta;return n(d,f,{cache:g,equals:a,meta:b,strict:o})};if(t)return function(d,f){return n(d,f,{cache:new WeakMap,equals:a,meta:void 0,strict:o})};var l={cache:void 0,equals:a,meta:void 0,strict:o};return function(d,f){return n(d,f,l)}}var vae=Ji();Ji({strict:!0});Ji({circular:!0});Ji({circular:!0,strict:!0});Ji({createInternalComparator:function(){return cs}});Ji({strict:!0,createInternalComparator:function(){return cs}});Ji({circular:!0,createInternalComparator:function(){return cs}});Ji({circular:!0,createInternalComparator:function(){return cs},strict:!0});function Ji(e){e===void 0&&(e={});var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,a=e.createState,o=e.strict,l=o===void 0?!1:o,c=hae(e),d=mae(c),f=r?r(d):yae(d);return gae({circular:n,comparator:d,createState:a,equals:f,strict:l})}function xae(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function U7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function a(o){n<0&&(n=o),o-n>t?(e(o),n=-1):xae(a)};requestAnimationFrame(r)}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)}function bae(e){return Mae(e)||Cae(e)||Sae(e)||wae()}function wae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 388In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sae(e,t){if(e){if(typeof e=="string")return W7(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W7(e,t)}}function W7(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mae(e){if(Array.isArray(e))return e}function Oae(){var e={},t=function(){return null}
vendor: 169,724 bytes, lines 388-410
388,n=!1,r=function a(o){if(!n){if(Array.isArray(o)){if(!o.length)return;var l=o,c=bae(l),d=c[0],f=c.slice(1);if(typeof d=="number"){U7(a.bind(null,f),d);return}a(d),U7(a.bind(null,f));return}z2(o)==="object"&&(e=o,t(e)),typeof o=="function"&&o()}};return{stop:function(){n=!0},start:function(o){n=!1,r(o)},subscribe:function(o){return t=o,function(){t=function(){return null}}}}}function Sd(e){"@babel/helpers - typeof";return Sd=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},Sd(e)}function G7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function K7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?G7(Object(n),!0).forEach(function(r){c9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function c9(e,t,n){return t=Tae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tae(e){var t=Pae(e,"string");return Sd(t)==="symbol"?t:String(t)}function Pae(e,t){if(Sd(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Sd(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Aae=function(t,n){return[Object.keys(t),Object.keys(n)].reduce(function(r,a){return r.filter(function(o){return a.includes(o)})})},jae=function(t){return t},Eae=function(t){return t.replace(/([A-Z])/g,function(n){return"-".concat(n.toLowerCase())})},Fu=function(t,n){return Object.keys(n).reduce(function(r,a){return K7(K7({},r),{},c9({},a,t(a,n[a])))},{})},Y7=function(t,n,r){return t.map(function(a){return"".concat(Eae(a)," ").concat(n,"ms ").concat(r)}).join(",")};function kae(e,t){return Nae(e)||Dae(e,t)||u9(e,t)||_ae()}function _ae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 389In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Nae(e){if(Array.isArray(e))return e}function Rae(e){return zae(e)||Lae(e)||u9(e)||Iae()}function Iae(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 390In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u9(e,t){if(e){if(typeof e=="string")return B2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return B2(e,t)}}function Lae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zae(e){if(Array.isArray(e))return B2(e)}function B2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var $m=1e-4,d9=function(t,n){return[0,3*t,3*n-6*t,3*t-3*n+1]},f9=function(t,n){return t.map(function(r,a){return r*Math.pow(n,a)}).reduce(function(r,a){return r+a})},V7=function(t,n){return function(r){var a=d9(t,n);return f9(a,r)}},Bae=function(t,n){return function(r){var a=d9(t,n),o=[].concat(Rae(a.map(function(l,c){return l*c}).slice(1)),[0]);return f9(o,r)}},Z7=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0],o=n[1],l=n[2],c=n[3];if(n.length===1)switch(n[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 d=n[0].split("(");if(d[0]==="cubic-bezier"&&d[1].split(")")[0].split(",").length===4){var f=d[1].split(")")[0].split(",").map(function(w){return parseFloat(w)}),y=kae(f,4);a=y[0],o=y[1],l=y[2],c=y[3]}}}var m=V7(a,l),g=V7(o,c),b=Bae(a,l),C=function(M){return M>1?1:M<0?0:M},x=function(M){for(var T=M>1?1:M,j=T,E=0;E<8;++E){var P=m(j)-T,k=b(j);if(Math.abs(P-T)<$m||k<$m)return g(j);j=C(j-P/k)}return g(j)};return x.isStepper=!1,x},qae=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,a=t.damping,o=a===void 0?8:a,l=t.dt,c=l===void 0?17:l,d=function(y,m,g){var b=-(y-m)*r,C=g*o,x=g+(b-C)*c/1e3,w=g*c/1e3+y;return Math.abs(w-m)<$m&&Math.abs(x)<$m?[m,0]:[w,x]};return d.isStepper=!0,d.dt=c,d},$ae=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Z7(a);case"spring":return qae();default:if(a.split("(")[0]==="cubic-bezier")return Z7(a)}return typeof a=="function"?a:null};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 Q7(e){return Uae(e)||Hae(e)||p9(e)||Fae()}function Fae(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 391In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Uae(e){if(Array.isArray(e))return $2(e)}function X7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X7(Object(n),!0).forEach(function(r){q2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function q2(e,t,n){return t=Wae(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wae(e){var t=Gae(e,"string");return Cd(t)==="symbol"?t:String(t)}function Gae(e,t){if(Cd(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Cd(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kae(e,t){return Zae(e)||Vae(e,t)||p9(e,t)||Yae()}function Yae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 392In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p9(e,t){if(e){if(typeof e=="string")return $2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $2(e,t)}}function $2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vae(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Zae(e){if(Array.isArray(e))return e}var Fm=function(t,n,r){return t+(n-t)*r},F2=function(t){var n=t.from,r=t.to;return n!==r},Qae=function e(t,n,r){var a=Fu(function(o,l){if(F2(l)){var c=t(l.from,l.to,l.velocity),d=Kae(c,2),f=d[0],y=d[1];return an(an({},l),{},{from:f,velocity:y})}return l},n);return r<1?Fu(function(o,l){return F2(l)?an(an({},l),{},{velocity:Fm(l.velocity,a[o].velocity,r),from:Fm(l.from,a[o].from,r)}):l},n):e(t,a,r-1)};const Xae=(function(e,t,n,r,a){var o=Aae(e,t),l=o.reduce(function(w,M){return an(an({},w),{},q2({},M,[e[M],t[M]]))},{}),c=o.reduce(function(w,M){return an(an({},w),{},q2({},M,{from:e[M],velocity:0,to:t[M]}))},{}),d=-1,f,y,m=function(){return null},g=function(){return Fu(function(M,T){return T.from},c)},b=function(){return!Object.values(c).filter(F2).length},C=function(M){f||(f=M);var T=M-f,j=T/n.dt;c=Qae(n,c,j),a(an(an(an({},e),t),g())),f=M,b()||(d=requestAnimationFrame(m))},x=function(M){y||(y=M);var T=(M-y)/r,j=Fu(function(P,k){return Fm.apply(void 0,Q7(k).concat([n(T)]))},l);if(a(an(an(an({},e),t),j)),T<1)d=requestAnimationFrame(m);else{var E=Fu(function(P,k){return Fm.apply(void 0,Q7(k).concat([n(1)]))},l);a(an(an(an({},e),t),E))}};return m=n.isStepper?C:x,function(){return requestAnimationFrame(m),function(){cancelAnimationFrame(d)}}});function $l(e){"@babel/helpers - typeof";return $l=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},$l(e)}var Jae=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function eie(e,t){if(e==null)return{};var n=tie(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tie(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function _1(e){return iie(e)||aie(e)||rie(e)||nie()}function nie(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 393In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rie(e,t){if(e){if(typeof e=="string")return H2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H2(e,t)}}function aie(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iie(e){if(Array.isArray(e))return H2(e)}function H2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function J7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?J7(Object(n),!0).forEach(function(r){Nu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Nu(e,t,n){return t=m9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sie(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m9(r.key),r)}}function lie(e,t,n){return t&&sie(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function m9(e){var t=cie(e,"string");return $l(t)==="symbol"?t:String(t)}function cie(e,t){if($l(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if($l(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uie(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&&U2(e,t)}function U2(e,t){return U2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},U2(e,t)}function die(e){var t=fie();return function(){var r=Hm(e),a;if(t){var o=Hm(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return W2(this,a)}}function W2(e,t){if(t&&($l(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return G2(e)}function G2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fie(){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 Hm(e){return Hm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Hm(e)}var la=(function(e){uie(n,e);var t=die(n);function n(r,a){var o;oie(this,n),o=t.call(this,r,a);var l=o.props,c=l.isActive,d=l.attributeName,f=l.from,y=l.to,m=l.steps,g=l.children,b=l.duration;if(o.handleStyleChange=o.handleStyleChange.bind(G2(o)),o.changeStyle=o.changeStyle.bind(G2(o)),!c||b<=0)return o.state={style:{}},typeof g=="function"&&(o.state={style:y}),W2(o);if(m&&m.length)o.state={style:m[0].style};else if(f){if(typeof g=="function")return o.state={style:f},W2(o);o.state={style:d?Nu({},d,f):f}}else o.state={style:{}};return o}return lie(n,[{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,d=o.attributeName,f=o.shouldReAnimate,y=o.to,m=o.from,g=this.state.style;if(c){if(!l){var b={style:d?Nu({},d,y):y};this.state&&g&&(d&&g[d]!==y||!d&&g!==y)&&this.setState(b);return}if(!(vae(a.to,y)&&a.canBegin&&a.isActive)){var C=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var x=C||f?m:a.to;if(this.state&&g){var w={style:d?Nu({},d,x):x};(d&&g[d]!==x||!d&&g!==x)&&this.setState(w)}this.runAnimation(Ar(Ar({},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,d=a.duration,f=a.easing,y=a.begin,m=a.onAnimationEnd,g=a.onAnimationStart,b=Xae(l,c,$ae(f),d,this.changeStyle),C=function(){o.stopJSAnimation=b()};this.manager.start([g,y,C,d,m])}},{key:"runStepAnimation",value:function(a){var o=this,l=a.steps,c=a.begin,d=a.onAnimationStart,f=l[0],y=f.style,m=f.duration,g=m===void 0?0:m,b=function(x,w,M){if(M===0)return x;var T=w.duration,j=w.easing,E=j===void 0?"ease":j,P=w.style,k=w.properties,A=w.onAnimationEnd,D=M>0?l[M-1]:w,I=k||Object.keys(P);if(typeof E=="function"||E==="spring")return[].concat(_1(x),[o.runJSAnimation.bind(o,{from:D.style,to:P,duration:T,easing:E}),T]);var F=Y7(I,T,E),L=Ar(Ar(Ar({},D.style),P),{},{transition:F});return[].concat(_1(x),[L,T,A]).filter(jae)};return this.manager.start([d].concat(_1(l.reduce(b,[y,Math.max(g,c)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=Oae());var o=a.begin,l=a.duration,c=a.attributeName,d=a.to,f=a.easing,y=a.onAnimationStart,m=a.onAnimationEnd,g=a.steps,b=a.children,C=this.manager;if(this.unSubscribe=C.subscribe(this.handleStyleChange),typeof f=="function"||typeof b=="function"||f==="spring"){this.runJSAnimation(a);return}if(g.length>1){this.runStepAnimation(a);return}var x=c?Nu({},c,d):d,w=Y7(Object.keys(x),l,f);C.start([y,o,Ar(Ar({},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 d=eie(a,Jae),f=O.Children.count(o),y=this.state.style;if(typeof o=="function")return o(y);if(!c||f===0||l<=0)return o;var m=function(b){var C=b.props,x=C.style,w=x===void 0?{}:x,M=C.className,T=O.cloneElement(b,Ar(Ar({},d),{},{style:Ar(Ar({},w),y),className:M}));return T};return f===1?m(O.Children.only(o)):B.createElement("div",null,O.Children.map(o,function(g){return m(g)}))}}]),n})(O.PureComponent);la.displayName="Animate";la.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};la.propTypes={from:tt.oneOfType([tt.object,tt.string]),to:tt.oneOfType([tt.object,tt.string]),attributeName:tt.string,duration:tt.number,begin:tt.number,easing:tt.oneOfType([tt.string,tt.func]),steps:tt.arrayOf(tt.shape({duration:tt.number.isRequired,style:tt.object.isRequired,easing:tt.oneOfType([tt.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),tt.func]),properties:tt.arrayOf("string"),onAnimationEnd:tt.func})),children:tt.oneOfType([tt.node,tt.func]),isActive:tt.bool,canBegin:tt.bool,onAnimationEnd:tt.func,shouldReAnimate:tt.bool,onAnimationStart:tt.func,onAnimationReStart:tt.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 Um(){return Um=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Um.apply(this,arguments)}function pie(e,t){return gie(e)||yie(e,t)||hie(e,t)||mie()}function mie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 394In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hie(e,t){if(e){if(typeof e=="string")return ek(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ek(e,t)}}function ek(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function gie(e){if(Array.isArray(e))return e}function tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function nk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(r){vie(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function vie(e,t,n){return t=xie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xie(e){var t=bie(e,"string");return Md(t)=="symbol"?t:t+""}function bie(e,t){if(Md(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Md(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rk=function(t,n,r,a,o){var l=Math.min(Math.abs(r)/2,Math.abs(a)/2),c=a>=0?1:-1,d=r>=0?1:-1,f=a>=0&&r>=0||a<0&&r<0?1:0,y;if(l>0&&o instanceof Array){for(var m=[0,0,0,0],g=0,b=4;g<b;g++)m[g]=o[g]>l?l:o[g];y="M".concat(t,",").concat(n+c*m[0]),m[0]>0&&(y+="A ".concat(m[0],",").concat(m[0],",0,0,").concat(f,",").concat(t+d*m[0],",").concat(n)),y+="L ".concat(t+r-d*m[1],",").concat(n),m[1]>0&&(y+="A ".concat(m[1],",").concat(m[1],",0,0,").concat(f,`, 395 `).concat(t+r,",").concat(n+c*m[1])),y+="L ".concat(t+r,",").concat(n+a-c*m[2]),m[2]>0&&(y+="A ".concat(m[2],",").concat(m[2],",0,0,").concat(f,`, 396 `).concat(t+r-d*m[2],",").concat(n+a)),y+="L ".concat(t+d*m[3],",").concat(n+a),m[3]>0&&(y+="A ".concat(m[3],",").concat(m[3],",0,0,").concat(f,`, 397 `).concat(t,",").concat(n+a-c*m[3])),y+="Z"}else if(l>0&&o===+o&&o>0){var C=Math.min(l,o);y="M ".concat(t,",").concat(n+c*C,` 398 A `).concat(C,",").concat(C,",0,0,").concat(f,",").concat(t+d*C,",").concat(n,` 399 L `).concat(t+r-d*C,",").concat(n,` 400 A `).concat(C,",").concat(C,",0,0,").concat(f,",").concat(t+r,",").concat(n+c*C,` 401 L `).concat(t+r,",").concat(n+a-c*C,` 402 A `).concat(C,",").concat(C,",0,0,").concat(f,",").concat(t+r-d*C,",").concat(n+a,` 403 L `).concat(t+d*C,",").concat(n+a,` 404 A `).concat(C,",").concat(C,",0,0,").concat(f,",").concat(t,",").concat(n+a-c*C," Z")}else y="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(a," h ").concat(-r," Z");return y},wie=function(t,n){if(!t||!n)return!1;var r=t.x,a=t.y,o=n.x,l=n.y,c=n.width,d=n.height;if(Math.abs(c)>0&&Math.abs(d)>0){var f=Math.min(o,o+c),y=Math.max(o,o+c),m=Math.min(l,l+d),g=Math.max(l,l+d);return r>=f&&r<=y&&a>=m&&a<=g}return!1},Sie={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},XC=function(t){var n=nk(nk({},Sie),t),r=O.useRef(),a=O.useState(-1),o=pie(a,2),l=o[0],c=o[1];O.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var E=r.current.getTotalLength();E&&c(E)}catch{}},[]);var d=n.x,f=n.y,y=n.width,m=n.height,g=n.radius,b=n.className,C=n.animationEasing,x=n.animationDuration,w=n.animationBegin,M=n.isAnimationActive,T=n.isUpdateAnimationActive;if(d!==+d||f!==+f||y!==+y||m!==+m||y===0||m===0)return null;var j=He("recharts-rectangle",b);return T?B.createElement(la,{canBegin:l>0,from:{width:y,height:m,x:d,y:f},to:{width:y,height:m,x:d,y:f},duration:x,animationEasing:C,isActive:T},function(E){var P=E.width,k=E.height,A=E.x,D=E.y;return B.createElement(la,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:x,isActive:M,easing:C},B.createElement("path",Um({},Le(n,!0),{className:j,d:rk(A,D,P,k,g),ref:r})))}):B.createElement("path",Um({},Le(n,!0),{className:j,d:rk(d,f,y,m,g)}))};function K2(){return K2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K2.apply(this,arguments)}var ay=function(t){var n=t.cx,r=t.cy,a=t.r,o=t.className,l=He("recharts-dot",o);return n===+n&&r===+r&&a===+a?O.createElement("circle",K2({},Le(t,!1),dm(t),{className:l,cx:n,cy:r,r:a})):null};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)}var Cie=["x","y","top","left","width","height","className"];function Y2(){return Y2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y2.apply(this,arguments)}function ak(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Mie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ak(Object(n),!0).forEach(function(r){Oie(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ak(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Oie(e,t,n){return t=Tie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tie(e){var t=Pie(e,"string");return Od(t)=="symbol"?t:t+""}function Pie(e,t){if(Od(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Od(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Aie(e,t){if(e==null)return{};var n=jie(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jie(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Eie=function(t,n,r,a,o,l){return"M".concat(t,",").concat(o,"v").concat(a,"M").concat(l,",").concat(n,"h").concat(r)},kie=function(t){var n=t.x,r=n===void 0?0:n,a=t.y,o=a===void 0?0:a,l=t.top,c=l===void 0?0:l,d=t.left,f=d===void 0?0:d,y=t.width,m=y===void 0?0:y,g=t.height,b=g===void 0?0:g,C=t.className,x=Aie(t,Cie),w=Mie({x:r,y:o,top:c,left:f,width:m,height:b},x);return!me(r)||!me(o)||!me(m)||!me(b)||!me(c)||!me(f)?null:B.createElement("path",Y2({},Le(w,!0),{className:He("recharts-cross",C),d:Eie(r,o,m,b,c,f)}))},D1,ik;function _ie(){if(ik)return D1;ik=1;var e=RN(),t=e(Object.getPrototypeOf,Object);return D1=t,D1}var N1,ok;function Die(){if(ok)return N1;ok=1;var e=Ja(),t=_ie(),n=ei(),r="[object Object]",a=Function.prototype,o=Object.prototype,l=a.toString,c=o.hasOwnProperty,d=l.call(Object);function f(y){if(!n(y)||e(y)!=r)return!1;var m=t(y);if(m===null)return!0;var g=c.call(m,"constructor")&&m.constructor;return typeof g=="function"&&g instanceof g&&l.call(g)==d}return N1=f,N1}var Nie=Die();const Rie=dt(Nie);var R1,sk;function Iie(){if(sk)return R1;sk=1;var e=Ja(),t=ei(),n="[object Boolean]";function r(a){return a===!0||a===!1||t(a)&&e(a)==n}return R1=r,R1}var Lie=Iie();const zie=dt(Lie);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 Wm(){return Wm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wm.apply(this,arguments)}function Bie(e,t){return Hie(e)||Fie(e,t)||$ie(e,t)||qie()}function qie(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 405In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $ie(e,t){if(e){if(typeof e=="string")return lk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lk(e,t)}}function lk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fie(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Hie(e){if(Array.isArray(e))return e}function ck(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function uk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ck(Object(n),!0).forEach(function(r){Uie(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ck(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uie(e,t,n){return t=Wie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wie(e){var t=Gie(e,"string");return Td(t)=="symbol"?t:t+""}function Gie(e,t){if(Td(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Td(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var dk=function(t,n,r,a,o){var l=r-a,c;return c="M ".concat(t,",").concat(n),c+="L ".concat(t+r,",").concat(n),c+="L ".concat(t+r-l/2,",").concat(n+o),c+="L ".concat(t+r-l/2-a,",").concat(n+o),c+="L ".concat(t,",").concat(n," Z"),c},Kie={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Yie=function(t){var n=uk(uk({},Kie),t),r=O.useRef(),a=O.useState(-1),o=Bie(a,2),l=o[0],c=o[1];O.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var j=r.current.getTotalLength();j&&c(j)}catch{}},[]);var d=n.x,f=n.y,y=n.upperWidth,m=n.lowerWidth,g=n.height,b=n.className,C=n.animationEasing,x=n.animationDuration,w=n.animationBegin,M=n.isUpdateAnimationActive;if(d!==+d||f!==+f||y!==+y||m!==+m||g!==+g||y===0&&m===0||g===0)return null;var T=He("recharts-trapezoid",b);return M?B.createElement(la,{canBegin:l>0,from:{upperWidth:0,lowerWidth:0,height:g,x:d,y:f},to:{upperWidth:y,lowerWidth:m,height:g,x:d,y:f},duration:x,animationEasing:C,isActive:M},function(j){var E=j.upperWidth,P=j.lowerWidth,k=j.height,A=j.x,D=j.y;return B.createElement(la,{canBegin:l>0,from:"0px ".concat(l===-1?1:l,"px"),to:"".concat(l,"px 0px"),attributeName:"strokeDasharray",begin:w,duration:x,easing:C},B.createElement("path",Wm({},Le(n,!0),{className:T,d:dk(A,D,E,P,k),ref:r})))}):B.createElement("g",null,B.createElement("path",Wm({},Le(n,!0),{className:T,d:dk(d,f,y,m,g)})))},Vie=["option","shapeType","propTransformer","activeClassName","isActive"];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 Zie(e,t){if(e==null)return{};var n=Qie(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Qie(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function fk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Gm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fk(Object(n),!0).forEach(function(r){Xie(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xie(e,t,n){return t=Jie(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jie(e){var t=eoe(e,"string");return Pd(t)=="symbol"?t:t+""}function eoe(e,t){if(Pd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Pd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function toe(e,t){return Gm(Gm({},t),e)}function noe(e,t){return e==="symbols"}function pk(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return B.createElement(XC,n);case"trapezoid":return B.createElement(Yie,n);case"sector":return B.createElement(s9,n);case"symbols":if(noe(t))return B.createElement(gC,n);break;default:return null}}function roe(e){return O.isValidElement(e)?e.props:e}function aoe(e){var t=e.option,n=e.shapeType,r=e.propTransformer,a=r===void 0?toe:r,o=e.activeClassName,l=o===void 0?"recharts-active-shape":o,c=e.isActive,d=Zie(e,Vie),f;if(O.isValidElement(t))f=O.cloneElement(t,Gm(Gm({},d),roe(t)));else if(Re(t))f=t(d);else if(Rie(t)&&!zie(t)){var y=a(t,d);f=B.createElement(pk,{shapeType:n,elementProps:y})}else{var m=d;f=B.createElement(pk,{shapeType:n,elementProps:m})}return c?B.createElement(yt,{className:l},f):f}function iy(e,t){return t!=null&&"trapezoids"in e.props}function oy(e,t){return t!=null&&"sectors"in e.props}function Ad(e,t){return t!=null&&"points"in e.props}function ioe(e,t){var n,r,a=e.x===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.x)||e.x===t.x,o=e.y===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.y)||e.y===t.y;return a&&o}function ooe(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function soe(e,t){var n=e.x===t.x,r=e.y===t.y,a=e.z===t.z;return n&&r&&a}function loe(e,t){var n;return iy(e,t)?n=ioe:oy(e,t)?n=ooe:Ad(e,t)&&(n=soe),n}function coe(e,t){var n;return iy(e,t)?n="trapezoids":oy(e,t)?n="sectors":Ad(e,t)&&(n="points"),n}function uoe(e,t){if(iy(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}if(oy(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}return Ad(e,t)?t.payload:{}}function doe(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,a=coe(n,t),o=uoe(n,t),l=r.filter(function(d,f){var y=Bl(o,d),m=n.props[a].filter(function(C){var x=loe(n,t);return x(C,t)}),g=n.props[a].indexOf(m[m.length-1]),b=f===g;return y&&b}),c=r.indexOf(l[l.length-1]);return c}var I1,mk;function foe(){if(mk)return I1;mk=1;var e=Math.ceil,t=Math.max;function n(r,a,o,l){for(var c=-1,d=t(e((a-r)/(o||1)),0),f=Array(d);d--;)f[l?d:++c]=r,r+=o;return f}return I1=n,I1}var L1,hk;function h9(){if(hk)return L1;hk=1;var e=QN(),t=1/0,n=17976931348623157e292;function r(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var o=a<0?-1:1;return o*n}return a===a?a:0}return L1=r,L1}var z1,yk;function poe(){if(yk)return z1;yk=1;var e=foe(),t=Kh(),n=h9();function r(a){return function(o,l,c){return c&&typeof c!="number"&&t(o,l,c)&&(l=c=void 0),o=n(o),l===void 0?(l=o,o=0):l=n(l),c=c===void 0?o<l?1:-1:n(c),e(o,l,c,a)}}return z1=r,z1}var B1,gk;function moe(){if(gk)return B1;gk=1;var e=poe(),t=e();return B1=t,B1}var hoe=moe();const Km=dt(hoe);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 vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function xk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vk(Object(n),!0).forEach(function(r){y9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function y9(e,t,n){return t=yoe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yoe(e){var t=goe(e,"string");return jd(t)=="symbol"?t:t+""}function goe(e,t){if(jd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var voe=["Webkit","Moz","O","ms"],xoe=function(t,n){var r=t.replace(/(\w)/,function(o){return o.toUpperCase()}),a=voe.reduce(function(o,l){return xk(xk({},o),{},y9({},l+r,n))},{});return a[t]=n,a};function Fl(e){"@babel/helpers - typeof";return Fl=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},Fl(e)}function Ym(){return Ym=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ym.apply(this,arguments)}function bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function q1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bk(Object(n),!0).forEach(function(r){Yn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v9(r.key),r)}}function woe(e,t,n){return t&&wk(e.prototype,t),n&&wk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Soe(e,t,n){return t=Vm(t),Coe(e,g9()?Reflect.construct(t,n||[],Vm(e).constructor):t.apply(e,n))}function Coe(e,t){if(t&&(Fl(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 g9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(g9=function(){return!!e})()}function Vm(e){return Vm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vm(e)}function Ooe(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&&V2(e,t)}function V2(e,t){return V2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},V2(e,t)}function Yn(e,t,n){return t=v9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v9(e){var t=Toe(e,"string");return Fl(t)=="symbol"?t:t+""}function Toe(e,t){if(Fl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Fl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Poe=function(t){var n=t.data,r=t.startIndex,a=t.endIndex,o=t.x,l=t.width,c=t.travellerWidth;if(!n||!n.length)return{};var d=n.length,f=qu().domain(Km(0,d)).range([o,o+l-c]),y=f.domain().map(function(m){return f(m)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:f(r),endX:f(a),scale:f,scaleValues:y}},Sk=function(t){return t.changedTouches&&!!t.changedTouches.length},Hl=(function(e){function t(n){var r;return boe(this,t),r=Soe(this,t,[n]),Yn(r,"handleDrag",function(a){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(a):r.state.isSlideMoving&&r.handleSlideDrag(a)}),Yn(r,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&r.handleDrag(a.changedTouches[0])}),Yn(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=r.props,o=a.endIndex,l=a.onDragEnd,c=a.startIndex;l?.({endIndex:o,startIndex:c})}),r.detachDragEndListener()}),Yn(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),Yn(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),Yn(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),Yn(r,"handleSlideDragStart",function(a){var o=Sk(a)?a.changedTouches[0]:a;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return Ooe(t,e),woe(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var a=r.startX,o=r.endX,l=this.state.scaleValues,c=this.props,d=c.gap,f=c.data,y=f.length-1,m=Math.min(a,o),g=Math.max(a,o),b=t.getIndexInRange(l,m),C=t.getIndexInRange(l,g);return{startIndex:b-b%d,endIndex:C===y?y:C-C%d}}},{key:"getTextOfTick",value:function(r){var a=this.props,o=a.data,l=a.tickFormatter,c=a.dataKey,d=bn(o[r],c,r);return Re(l)?l(d,r):d}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var a=this.state,o=a.slideMoveStartX,l=a.startX,c=a.endX,d=this.props,f=d.x,y=d.width,m=d.travellerWidth,g=d.startIndex,b=d.endIndex,C=d.onChange,x=r.pageX-o;x>0?x=Math.min(x,f+y-m-c,f+y-m-l):x<0&&(x=Math.max(x,f-l,f-c));var w=this.getIndex({startX:l+x,endX:c+x});(w.startIndex!==g||w.endIndex!==b)&&C&&C(w),this.setState({startX:l+x,endX:c+x,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,a){var o=Sk(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var a=this.state,o=a.brushMoveStartX,l=a.movingTravellerId,c=a.endX,d=a.startX,f=this.state[l],y=this.props,m=y.x,g=y.width,b=y.travellerWidth,C=y.onChange,x=y.gap,w=y.data,M={startX:this.state.startX,endX:this.state.endX},T=r.pageX-o;T>0?T=Math.min(T,m+g-b-f):T<0&&(T=Math.max(T,m-f)),M[l]=f+T;var j=this.getIndex(M),E=j.startIndex,P=j.endIndex,k=function(){var D=w.length-1;return l==="startX"&&(c>d?E%x===0:P%x===0)||c<d&&P===D||l==="endX"&&(c>d?P%x===0:E%x===0)||c>d&&P===D};this.setState(Yn(Yn({},l,f+T),"brushMoveStartX",r.pageX),function(){C&&k()&&C(j)})}},{key:"handleTravellerMoveKeyboard",value:function(r,a){var o=this,l=this.state,c=l.scaleValues,d=l.startX,f=l.endX,y=this.state[a],m=c.indexOf(y);if(m!==-1){var g=m+r;if(!(g===-1||g>=c.length)){var b=c[g];a==="startX"&&b>=f||a==="endX"&&b<=d||this.setState(Yn({},a,b),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,a=r.x,o=r.y,l=r.width,c=r.height,d=r.fill,f=r.stroke;return B.createElement("rect",{stroke:f,fill:d,x:a,y:o,width:l,height:c})}},{key:"renderPanorama",value:function(){var r=this.props,a=r.x,o=r.y,l=r.width,c=r.height,d=r.data,f=r.children,y=r.padding,m=O.Children.only(f);return m?B.cloneElement(m,{x:a,y:o,width:l,height:c,margin:y,compact:!0,data:d}):null}},{key:"renderTravellerLayer",value:function(r,a){var o,l,c=this,d=this.props,f=d.y,y=d.travellerWidth,m=d.height,g=d.traveller,b=d.ariaLabel,C=d.data,x=d.startIndex,w=d.endIndex,M=Math.max(r,this.props.x),T=q1(q1({},Le(this.props,!1)),{},{x:M,y:f,width:y,height:m}),j=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 B.createElement(yt,{tabIndex:0,role:"slider","aria-label":j,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(P){["ArrowLeft","ArrowRight"].includes(P.key)&&(P.preventDefault(),P.stopPropagation(),c.handleTravellerMoveKeyboard(P.key==="ArrowRight"?1:-1,a))},onFocus:function(){c.setState({isTravellerFocused:!0})},onBlur:function(){c.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(g,T))}},{key:"renderSlide",value:function(r,a){var o=this.props,l=o.y,c=o.height,d=o.stroke,f=o.travellerWidth,y=Math.min(r,a)+f,m=Math.max(Math.abs(a-r)-f,0);return B.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:d,fillOpacity:.2,x:y,y:l,width:m,height:c})}},{key:"renderText",value:function(){var r=this.props,a=r.startIndex,o=r.endIndex,l=r.y,c=r.height,d=r.travellerWidth,f=r.stroke,y=this.state,m=y.startX,g=y.endX,b=5,C={pointerEvents:"none",fill:f};return B.createElement(yt,{className:"recharts-brush-texts"},B.createElement(Cm,Ym({textAnchor:"end",verticalAnchor:"middle",x:Math.min(m,g)-b,y:l+c/2},C),this.getTextOfTick(a)),B.createElement(Cm,Ym({textAnchor:"start",verticalAnchor:"middle",x:Math.max(m,g)+d+b,y:l+c/2},C),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,a=r.data,o=r.className,l=r.children,c=r.x,d=r.y,f=r.width,y=r.height,m=r.alwaysShowText,g=this.state,b=g.startX,C=g.endX,x=g.isTextActive,w=g.isSlideMoving,M=g.isTravellerMoving,T=g.isTravellerFocused;if(!a||!a.length||!me(c)||!me(d)||!me(f)||!me(y)||f<=0||y<=0)return null;var j=He("recharts-brush",o),E=B.Children.count(l)===1,P=xoe("userSelect","none");return B.createElement(yt,{className:j,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:P},this.renderBackground(),E&&this.renderPanorama(),this.renderSlide(b,C),this.renderTravellerLayer(b,"startX"),this.renderTravellerLayer(C,"endX"),(x||w||M||T||m)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var a=r.x,o=r.y,l=r.width,c=r.height,d=r.stroke,f=Math.floor(o+c/2)-1;return B.createElement(B.Fragment,null,B.createElement("rect",{x:a,y:o,width:l,height:c,fill:d,stroke:"none"}),B.createElement("line",{x1:a+1,y1:f,x2:a+l-1,y2:f,fill:"none",stroke:"#fff"}),B.createElement("line",{x1:a+1,y1:f+2,x2:a+l-1,y2:f+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,a){var o;return B.isValidElement(r)?o=B.cloneElement(r,a):Re(r)?o=r(a):o=t.renderDefaultTraveller(a),o}},{key:"getDerivedStateFromProps",value:function(r,a){var o=r.data,l=r.width,c=r.x,d=r.travellerWidth,f=r.updateId,y=r.startIndex,m=r.endIndex;if(o!==a.prevData||f!==a.prevUpdateId)return q1({prevData:o,prevTravellerWidth:d,prevUpdateId:f,prevX:c,prevWidth:l},o&&o.length?Poe({data:o,width:l,x:c,travellerWidth:d,startIndex:y,endIndex:m}):{scale:null,scaleValues:null});if(a.scale&&(l!==a.prevWidth||c!==a.prevX||d!==a.prevTravellerWidth)){a.scale.range([c,c+l-d]);var g=a.scale.domain().map(function(b){return a.scale(b)});return{prevData:o,prevTravellerWidth:d,prevUpdateId:f,prevX:c,prevWidth:l,startX:a.scale(r.startIndex),endX:a.scale(r.endIndex),scaleValues:g}}return null}},{key:"getIndexInRange",value:function(r,a){for(var o=r.length,l=0,c=o-1;c-l>1;){var d=Math.floor((l+c)/2);r[d]>a?c=d:l=d}return a>=r[c]?c:l}}])})(O.PureComponent);Yn(Hl,"displayName","Brush");Yn(Hl,"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 $1,Ck;function Aoe(){if(Ck)return $1;Ck=1;var e=MC();function t(n,r){var a;return e(n,function(o,l,c){return a=r(o,l,c),!a}),!!a}return $1=t,$1}var F1,Mk;function joe(){if(Mk)return F1;Mk=1;var e=AN(),t=Zi(),n=Aoe(),r=Ln(),a=Kh();function o(l,c,d){var f=r(l)?e:n;return d&&a(l,c,d)&&(c=void 0),f(l,t(c,3))}return F1=o,F1}var Eoe=joe();const koe=dt(Eoe);var ia=function(t,n){var r=t.alwaysShow,a=t.ifOverflow;return r&&(a="extendDomain"),a===n},H1,Ok;function _oe(){if(Ok)return H1;Ok=1;var e=GN();function t(n,r,a){r=="__proto__"&&e?e(n,r,{configurable:!0,enumerable:!0,value:a,writable:!0}):n[r]=a}return H1=t,H1}var U1,Tk;function Doe(){if(Tk)return U1;Tk=1;var e=_oe(),t=UN(),n=Zi();function r(a,o){var l={};return o=n(o,3),t(a,function(c,d,f){e(l,d,o(c,d,f))}),l}return U1=r,U1}var Noe=Doe();const Roe=dt(Noe);var W1,Pk;function Ioe(){if(Pk)return W1;Pk=1;function e(t,n){for(var r=-1,a=t==null?0:t.length;++r<a;)if(!n(t[r],r,t))return!1;return!0}return W1=e,W1}var G1,Ak;function Loe(){if(Ak)return G1;Ak=1;var e=MC();function t(n,r){var a=!0;return e(n,function(o,l,c){return a=!!r(o,l,c),a}),a}return G1=t,G1}var K1,jk;function zoe(){if(jk)return K1;jk=1;var e=Ioe(),t=Loe(),n=Zi(),r=Ln(),a=Kh();function o(l,c,d){var f=r(l)?e:t;return d&&a(l,c,d)&&(c=void 0),f(l,n(c,3))}return K1=o,K1}var Boe=zoe();const x9=dt(Boe);var qoe=["x","y"];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 Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z2.apply(this,arguments)}function Ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Au(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ek(Object(n),!0).forEach(function(r){$oe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ek(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $oe(e,t,n){return t=Foe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Foe(e){var t=Hoe(e,"string");return Ed(t)=="symbol"?t:t+""}function Hoe(e,t){if(Ed(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ed(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Uoe(e,t){if(e==null)return{};var n=Woe(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Woe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Goe(e,t){var n=e.x,r=e.y,a=Uoe(e,qoe),o="".concat(n),l=parseInt(o,10),c="".concat(r),d=parseInt(c,10),f="".concat(t.height||a.height),y=parseInt(f,10),m="".concat(t.width||a.width),g=parseInt(m,10);return Au(Au(Au(Au(Au({},t),a),l?{x:l}:{}),d?{y:d}:{}),{},{height:y,width:g,name:t.name,radius:t.radius})}function kk(e){return B.createElement(aoe,Z2({shapeType:"rectangle",propTransformer:Goe,activeClassName:"recharts-active-bar"},e))}var Koe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,a){if(typeof t=="number")return t;var o=me(r)||rY(r);return o?t(r,a):(o||Qo(),n)}},Yoe=["value","background"],b9;function Ul(e){"@babel/helpers - typeof";return Ul=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},Ul(e)}function Voe(e,t){if(e==null)return{};var n=Zoe(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zoe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zm.apply(this,arguments)}function _k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_k(Object(n),!0).forEach(function(r){Li(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_k(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,S9(r.key),r)}}function Xoe(e,t,n){return t&&Dk(e.prototype,t),n&&Dk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Joe(e,t,n){return t=Qm(t),ese(e,w9()?Reflect.construct(t,n||[],Qm(e).constructor):t.apply(e,n))}function ese(e,t){if(t&&(Ul(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return tse(e)}function tse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(w9=function(){return!!e})()}function Qm(e){return Qm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qm(e)}function nse(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&&Q2(e,t)}function Q2(e,t){return Q2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},Q2(e,t)}function Li(e,t,n){return t=S9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S9(e){var t=rse(e,"string");return Ul(t)=="symbol"?t:t+""}function rse(e,t){if(Ul(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ul(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Nr=(function(e){function t(){var n;Qoe(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=Joe(this,t,[].concat(a)),Li(n,"state",{isAnimationFinished:!1}),Li(n,"id",yc("recharts-bar-")),Li(n,"handleAnimationEnd",function(){var l=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),l&&l()}),Li(n,"handleAnimationStart",function(){var l=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),l&&l()}),n}return nse(t,e),Xoe(t,[{key:"renderRectanglesStatically",value:function(r){var a=this,o=this.props,l=o.shape,c=o.dataKey,d=o.activeIndex,f=o.activeBar,y=Le(this.props,!1);return r&&r.map(function(m,g){var b=g===d,C=b?f:l,x=zt(zt(zt({},y),m),{},{isActive:b,option:C,index:g,dataKey:c,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return B.createElement(yt,Zm({className:"recharts-bar-rectangle"},fm(a.props,m,g),{key:"rectangle-".concat(m?.x,"-").concat(m?.y,"-").concat(m?.value,"-").concat(g)}),B.createElement(kk,x))})}},{key:"renderRectanglesWithAnimation",value:function(){var r=this,a=this.props,o=a.data,l=a.layout,c=a.isAnimationActive,d=a.animationBegin,f=a.animationDuration,y=a.animationEasing,m=a.animationId,g=this.state.prevData;return B.createElement(la,{begin:d,duration:f,isActive:c,easing:y,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,M){var T=g&&g[M];if(T){var j=on(T.x,w.x),E=on(T.y,w.y),P=on(T.width,w.width),k=on(T.height,w.height);return zt(zt({},w),{},{x:j(C),y:E(C),width:P(C),height:k(C)})}if(l==="horizontal"){var A=on(0,w.height),D=A(C);return zt(zt({},w),{},{y:w.y+w.height-D,height:D})}var I=on(0,w.width),F=I(C);return zt(zt({},w),{},{width:F})});return B.createElement(yt,null,r.renderRectanglesStatically(x))})}},{key:"renderRectangles",value:function(){var r=this.props,a=r.data,o=r.isAnimationActive,l=this.state.prevData;return o&&a&&a.length&&(!l||!Bl(l,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var r=this,a=this.props,o=a.data,l=a.dataKey,c=a.activeIndex,d=Le(this.props.background,!1);return o.map(function(f,y){f.value;var m=f.background,g=Voe(f,Yoe);if(!m)return null;var b=zt(zt(zt(zt(zt({},g),{},{fill:"#eee"},m),d),fm(r.props,f,y)),{},{onAnimationStart:r.handleAnimationStart,onAnimationEnd:r.handleAnimationEnd,dataKey:l,index:y,className:"recharts-bar-background-rectangle"});return B.createElement(kk,Zm({key:"background-bar-".concat(y),option:r.props.background,isActive:y===c},b))})}},{key:"renderErrorBar",value:function(r,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,l=o.data,c=o.xAxis,d=o.yAxis,f=o.layout,y=o.children,m=gr(y,Jd);if(!m)return null;var g=f==="vertical"?l[0].height/2:l[0].width/2,b=function(w,M){var T=Array.isArray(w.value)?w.value[1]:w.value;return{x:w.x,y:w.y,value:T,errorVal:bn(w,M)}},C={clipPath:r?"url(#clipPath-".concat(a,")"):null};return B.createElement(yt,C,m.map(function(x){return B.cloneElement(x,{key:"error-bar-".concat(a,"-").concat(x.props.dataKey),data:l,xAxis:c,yAxis:d,layout:f,offset:g,dataPointFormatter:b})}))}},{key:"render",value:function(){var r=this.props,a=r.hide,o=r.data,l=r.className,c=r.xAxis,d=r.yAxis,f=r.left,y=r.top,m=r.width,g=r.height,b=r.isAnimationActive,C=r.background,x=r.id;if(a||!o||!o.length)return null;var w=this.state.isAnimationFinished,M=He("recharts-bar",l),T=c&&c.allowDataOverflow,j=d&&d.allowDataOverflow,E=T||j,P=qe(x)?this.id:x;return B.createElement(yt,{className:M},T||j?B.createElement("defs",null,B.createElement("clipPath",{id:"clipPath-".concat(P)},B.createElement("rect",{x:T?f:f-m/2,y:j?y:y-g/2,width:T?m:m*2,height:j?g:g*2}))):null,B.createElement(yt,{className:"recharts-bar-rectangles",clipPath:E?"url(#clipPath-".concat(P,")"):null},C?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(E,P),(!b||w)&&Wa.renderCallByParent(this.props,o))}}],[{key:"getDerivedStateFromProps",value:function(r,a){return r.animationId!==a.prevAnimationId?{prevAnimationId:r.animationId,curData:r.data,prevData:a.curData}:r.data!==a.curData?{curData:r.data}:null}}])})(O.PureComponent);b9=Nr;Li(Nr,"displayName","Bar");Li(Nr,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!os.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});Li(Nr,"getComposedData",function(e){var t=e.props,n=e.item,r=e.barPosition,a=e.bandSize,o=e.xAxis,l=e.yAxis,c=e.xAxisTicks,d=e.yAxisTicks,f=e.stackedData,y=e.dataStartIndex,m=e.displayedData,g=e.offset,b=wne(r,n);if(!b)return null;var C=t.layout,x=n.type.defaultProps,w=x!==void 0?zt(zt({},x),n.props):n.props,M=w.dataKey,T=w.children,j=w.minPointSize,E=C==="horizontal"?l:o,P=f?E.scale.domain():null,k=jne({numericAxis:E}),A=gr(T,Yh),D=m.map(function(I,F){var L,q,U,G,K,N;f?L=Sne(f[y+F],P):(L=bn(I,M),Array.isArray(L)||(L=[k,L]));var H=Koe(j,b9.defaultProps.minPointSize)(L[1],F);if(C==="horizontal"){var $,V=[l.scale(L[0]),l.scale(L[1])],oe=V[0],z=V[1];q=y7({axis:o,ticks:c,bandSize:a,offset:b.offset,entry:I,index:F}),U=($=z??oe)!==null&&$!==void 0?$:void 0,G=b.size;var Y=oe-z;if(K=Number.isNaN(Y)?0:Y,N={x:q,y:l.y,width:G,height:l.height},Math.abs(H)>0&&Math.abs(K)<Math.abs(H)){var Z=Dr(K||H)*(Math.abs(H)-Math.abs(K));U-=Z,K+=Z}}else{var J=[o.scale(L[0]),o.scale(L[1])],ce=J[0],pe=J[1];if(q=ce,U=y7({axis:l,ticks:d,bandSize:a,offset:b.offset,entry:I,index:F}),G=pe-ce,K=b.size,N={x:o.x,y:U,width:o.width,height:K},Math.abs(H)>0&&Math.abs(G)<Math.abs(H)){var ie=Dr(G||H)*(Math.abs(H)-Math.abs(G));G+=ie}}return zt(zt(zt({},I),{},{x:q,y:U,width:G,height:K,value:f?L:L[1],payload:I,background:N},A&&A[F]&&A[F].props),{},{tooltipPayload:[a9(n,I)],tooltipPosition:{x:q+G/2,y:U+K/2}})});return zt({data:D,layout:C},g)});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 ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,C9(r.key),r)}}function ise(e,t,n){return t&&Nk(e.prototype,t),n&&Nk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Rk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rk(Object(n),!0).forEach(function(r){sy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function sy(e,t,n){return t=C9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C9(e){var t=ose(e,"string");return kd(t)=="symbol"?t:t+""}function ose(e,t){if(kd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(kd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var JC=function(t,n,r,a,o){var l=t.width,c=t.height,d=t.layout,f=t.children,y=Object.keys(n),m={left:r.left,leftMirror:r.left,right:l-r.right,rightMirror:l-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},g=!!Vn(f,Nr);return y.reduce(function(b,C){var x=n[C],w=x.orientation,M=x.domain,T=x.padding,j=T===void 0?{}:T,E=x.mirror,P=x.reversed,k="".concat(w).concat(E?"Mirror":""),A,D,I,F,L;if(x.type==="number"&&(x.padding==="gap"||x.padding==="no-gap")){var q=M[1]-M[0],U=1/0,G=x.categoricalDomain.sort(oY);if(G.forEach(function(J,ce){ce>0&&(U=Math.min((J||0)-(G[ce-1]||0),U))}),Number.isFinite(U)){var K=U/q,N=x.layout==="vertical"?r.height:r.width;if(x.padding==="gap"&&(A=K*N/2),x.padding==="no-gap"){var H=Yo(t.barCategoryGap,K*N),$=K*N/2;A=$-H-($-H)/N*H}}}a==="xAxis"?D=[r.left+(j.left||0)+(A||0),r.left+r.width-(j.right||0)-(A||0)]:a==="yAxis"?D=d==="horizontal"?[r.top+r.height-(j.bottom||0),r.top+(j.top||0)]:[r.top+(j.top||0)+(A||0),r.top+r.height-(j.bottom||0)-(A||0)]:D=x.range,P&&(D=[D[1],D[0]]);var V=xne(x,o,g),oe=V.scale,z=V.realScaleType;oe.domain(M).range(D),bne(oe);var Y=Ane(oe,Er(Er({},x),{},{realScaleType:z}));a==="xAxis"?(L=w==="top"&&!E||w==="bottom"&&E,I=r.left,F=m[k]-L*x.height):a==="yAxis"&&(L=w==="left"&&!E||w==="right"&&E,I=m[k]-L*x.width,F=r.top);var Z=Er(Er(Er({},x),Y),{},{realScaleType:z,x:I,y:F,scale:oe,width:a==="xAxis"?r.width:x.width,height:a==="yAxis"?r.height:x.height});return Z.bandSize=zm(Z,Y),!x.hide&&a==="xAxis"?m[k]+=(L?-1:1)*Z.height:x.hide||(m[k]+=(L?-1:1)*Z.width),Er(Er({},b),{},sy({},C,Z))},{})},M9=function(t,n){var r=t.x,a=t.y,o=n.x,l=n.y;return{x:Math.min(r,o),y:Math.min(a,l),width:Math.abs(o-r),height:Math.abs(l-a)}},sse=function(t){var n=t.x1,r=t.y1,a=t.x2,o=t.y2;return M9({x:n,y:r},{x:a,y:o})},O9=(function(){function e(t){ase(this,e),this.scale=t}return ise(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}case"end":{var c=this.bandwidth?this.bandwidth():0;return this.scale(n)+c}default:return this.scale(n)}if(a){var d=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+d}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),a=r[0],o=r[r.length-1];return a<=o?n>=a&&n<=o:n>=o&&n<=a}}],[{key:"create",value:function(n){return new e(n)}}])})();sy(O9,"EPS",1e-4);var e3=function(t){var n=Object.keys(t).reduce(function(r,a){return Er(Er({},r),{},sy({},a,O9.create(t[a])))},{});return Er(Er({},n),{},{apply:function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=o.bandAware,c=o.position;return Roe(a,function(d,f){return n[f].apply(d,{bandAware:l,position:c})})},isInRange:function(a){return x9(a,function(o,l){return n[l].isInRange(o)})}})};function lse(e){return(e%180+180)%180}var cse=function(t){var n=t.width,r=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=lse(a),l=o*Math.PI/180,c=Math.atan(r/n),d=l>c&&l<Math.PI-c?r/Math.sin(l):n/Math.cos(l);return Math.abs(d)},Y1,Ik;function use(){if(Ik)return Y1;Ik=1;var e=Zi(),t=Yd(),n=Wh();function r(a){return function(o,l,c){var d=Object(o);if(!t(o)){var f=e(l,3);o=n(o),l=function(m){return f(d[m],m,d)}}var y=a(o,l,c);return y>-1?d[f?o[y]:y]:void 0}}return Y1=r,Y1}var V1,Lk;function dse(){if(Lk)return V1;Lk=1;var e=h9();function t(n){var r=e(n),a=r%1;return r===r?a?r-a:r:0}return V1=t,V1}var Z1,zk;function fse(){if(zk)return Z1;zk=1;var e=BN(),t=Zi(),n=dse(),r=Math.max;function a(o,l,c){var d=o==null?0:o.length;if(!d)return-1;var f=c==null?0:n(c);return f<0&&(f=r(d+f,0)),e(o,t(l,3),f)}return Z1=a,Z1}var Q1,Bk;function pse(){if(Bk)return Q1;Bk=1;var e=use(),t=fse(),n=e(t);return Q1=n,Q1}var mse=pse();const hse=dt(mse);var yse=eN();const gse=dt(yse);var vse=gse(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("")}),t3=O.createContext(void 0),n3=O.createContext(void 0),T9=O.createContext(void 0),P9=O.createContext({}),A9=O.createContext(void 0),j9=O.createContext(0),E9=O.createContext(0),qk=function(t){var n=t.state,r=n.xAxisMap,a=n.yAxisMap,o=n.offset,l=t.clipPathId,c=t.children,d=t.width,f=t.height,y=vse(o);return B.createElement(t3.Provider,{value:r},B.createElement(n3.Provider,{value:a},B.createElement(P9.Provider,{value:o},B.createElement(T9.Provider,{value:y},B.createElement(A9.Provider,{value:l},B.createElement(j9.Provider,{value:f},B.createElement(E9.Provider,{value:d},c)))))))},xse=function(){return O.useContext(A9)},k9=function(t){var n=O.useContext(t3);n==null&&Qo();var r=n[t];return r==null&&Qo(),r},bse=function(){var t=O.useContext(t3);return Ni(t)},wse=function(){var t=O.useContext(n3),n=hse(t,function(r){return x9(r.domain,Number.isFinite)});return n||Ni(t)},_9=function(t){var n=O.useContext(n3);n==null&&Qo();var r=n[t];return r==null&&Qo(),r},Sse=function(){var t=O.useContext(T9);return t},Cse=function(){return O.useContext(P9)},r3=function(){return O.useContext(E9)},a3=function(){return O.useContext(j9)};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 Mse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ose(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,N9(r.key),r)}}function Tse(e,t,n){return t&&Ose(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pse(e,t,n){return t=Xm(t),Ase(e,D9()?Reflect.construct(t,n||[],Xm(e).constructor):t.apply(e,n))}function Ase(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 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 D9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(D9=function(){return!!e})()}function Xm(e){return Xm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xm(e)}function Ese(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&&X2(e,t)}function X2(e,t){return X2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},X2(e,t)}function $k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Fk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$k(Object(n),!0).forEach(function(r){i3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$k(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function i3(e,t,n){return t=N9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N9(e){var t=kse(e,"string");return Wl(t)=="symbol"?t:t+""}function kse(e,t){if(Wl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Wl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function _se(e,t){return Ise(e)||Rse(e,t)||Nse(e,t)||Dse()}function Dse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 406In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nse(e,t){if(e){if(typeof e=="string")return Hk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hk(e,t)}}function Hk(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rse(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Ise(e){if(Array.isArray(e))return e}function J2(){return J2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J2.apply(this,arguments)}var Lse=function(t,n){var r;return B.isValidElement(t)?r=B.cloneElement(t,n):Re(t)?r=t(n):r=B.createElement("line",J2({},n,{className:"recharts-reference-line-line"})),r},zse=function(t,n,r,a,o,l,c,d,f){var y=o.x,m=o.y,g=o.width,b=o.height;if(r){var C=f.y,x=t.y.apply(C,{position:l});if(ia(f,"discard")&&!t.y.isInRange(x))return null;var w=[{x:y+g,y:x},{x:y,y:x}];return d==="left"?w.reverse():w}if(n){var M=f.x,T=t.x.apply(M,{position:l});if(ia(f,"discard")&&!t.x.isInRange(T))return null;var j=[{x:T,y:m+b},{x:T,y:m}];return c==="top"?j.reverse():j}if(a){var E=f.segment,P=E.map(function(k){return t.apply(k,{position:l})});return ia(f,"discard")&&koe(P,function(k){return!t.isInRange(k)})?null:P}return null};function Bse(e){var t=e.x,n=e.y,r=e.segment,a=e.xAxisId,o=e.yAxisId,l=e.shape,c=e.className,d=e.alwaysShow,f=xse(),y=k9(a),m=_9(o),g=Sse();if(!f||!g)return null;Ha(d===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var b=e3({x:y.scale,y:m.scale}),C=Ut(t),x=Ut(n),w=r&&r.length===2,M=zse(b,C,x,w,g,e.position,y.orientation,m.orientation,e);if(!M)return null;var T=_se(M,2),j=T[0],E=j.x,P=j.y,k=T[1],A=k.x,D=k.y,I=ia(e,"hidden")?"url(#".concat(f,")"):void 0,F=Fk(Fk({clipPath:I},Le(e,!0)),{},{x1:E,y1:P,x2:A,y2:D});return B.createElement(yt,{className:He("recharts-reference-line",c)},Lse(l,F),pn.renderCallByParent(e,sse({x1:E,y1:P,x2:A,y2:D})))}var ef=(function(e){function t(){return Mse(this,t),Pse(this,t,arguments)}return Ese(t,e),Tse(t,[{key:"render",value:function(){return B.createElement(Bse,this.props)}}])})(B.Component);i3(ef,"displayName","ReferenceLine");i3(ef,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function eS(){return eS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eS.apply(this,arguments)}function Gl(e){"@babel/helpers - typeof";return Gl=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},Gl(e)}function Uk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Wk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uk(Object(n),!0).forEach(function(r){ly(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,I9(r.key),r)}}function Fse(e,t,n){return t&&$se(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hse(e,t,n){return t=Jm(t),Use(e,R9()?Reflect.construct(t,n||[],Jm(e).constructor):t.apply(e,n))}function Use(e,t){if(t&&(Gl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wse(e)}function Wse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(R9=function(){return!!e})()}function Jm(e){return Jm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Jm(e)}function Gse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tS(e,t)}function tS(e,t){return tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},tS(e,t)}function ly(e,t,n){return t=I9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I9(e){var t=Kse(e,"string");return Gl(t)=="symbol"?t:t+""}function Kse(e,t){if(Gl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Yse=function(t){var n=t.x,r=t.y,a=t.xAxis,o=t.yAxis,l=e3({x:a.scale,y:o.scale}),c=l.apply({x:n,y:r},{bandAware:!0});return ia(t,"discard")&&!l.isInRange(c)?null:c},cy=(function(e){function t(){return qse(this,t),Hse(this,t,arguments)}return Gse(t,e),Fse(t,[{key:"render",value:function(){var r=this.props,a=r.x,o=r.y,l=r.r,c=r.alwaysShow,d=r.clipPathId,f=Ut(a),y=Ut(o);if(Ha(c===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!f||!y)return null;var m=Yse(this.props);if(!m)return null;var g=m.x,b=m.y,C=this.props,x=C.shape,w=C.className,M=ia(this.props,"hidden")?"url(#".concat(d,")"):void 0,T=Wk(Wk({clipPath:M},Le(this.props,!0)),{},{cx:g,cy:b});return B.createElement(yt,{className:He("recharts-reference-dot",w)},t.renderDot(x,T),pn.renderCallByParent(this.props,{x:g-l,y:b-l,width:2*l,height:2*l}))}}])})(B.Component);ly(cy,"displayName","ReferenceDot");ly(cy,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});ly(cy,"renderDot",function(e,t){var n;return B.isValidElement(e)?n=B.cloneElement(e,t):Re(e)?n=e(t):n=B.createElement(ay,eS({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),n});function nS(){return nS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nS.apply(this,arguments)}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 Gk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Kk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gk(Object(n),!0).forEach(function(r){uy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Vse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zse(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,z9(r.key),r)}}function Qse(e,t,n){return t&&Zse(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Xse(e,t,n){return t=eh(t),Jse(e,L9()?Reflect.construct(t,n||[],eh(e).constructor):t.apply(e,n))}function Jse(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 ele(e)}function ele(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(L9=function(){return!!e})()}function eh(e){return eh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},eh(e)}function tle(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&&rS(e,t)}function rS(e,t){return rS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},rS(e,t)}function uy(e,t,n){return t=z9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z9(e){var t=nle(e,"string");return Kl(t)=="symbol"?t:t+""}function nle(e,t){if(Kl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Kl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var rle=function(t,n,r,a,o){var l=o.x1,c=o.x2,d=o.y1,f=o.y2,y=o.xAxis,m=o.yAxis;if(!y||!m)return null;var g=e3({x:y.scale,y:m.scale}),b={x:t?g.x.apply(l,{position:"start"}):g.x.rangeMin,y:r?g.y.apply(d,{position:"start"}):g.y.rangeMin},C={x:n?g.x.apply(c,{position:"end"}):g.x.rangeMax,y:a?g.y.apply(f,{position:"end"}):g.y.rangeMax};return ia(o,"discard")&&(!g.isInRange(b)||!g.isInRange(C))?null:M9(b,C)},dy=(function(e){function t(){return Vse(this,t),Xse(this,t,arguments)}return tle(t,e),Qse(t,[{key:"render",value:function(){var r=this.props,a=r.x1,o=r.x2,l=r.y1,c=r.y2,d=r.className,f=r.alwaysShow,y=r.clipPathId;Ha(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=Ut(a),g=Ut(o),b=Ut(l),C=Ut(c),x=this.props.shape;if(!m&&!g&&!b&&!C&&!x)return null;var w=rle(m,g,b,C,this.props);if(!w&&!x)return null;var M=ia(this.props,"hidden")?"url(#".concat(y,")"):void 0;return B.createElement(yt,{className:He("recharts-reference-area",d)},t.renderRect(x,Kk(Kk({clipPath:M},Le(this.props,!0)),w)),pn.renderCallByParent(this.props,w))}}])})(B.Component);uy(dy,"displayName","ReferenceArea");uy(dy,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});uy(dy,"renderRect",function(e,t){var n;return B.isValidElement(e)?n=B.cloneElement(e,t):Re(e)?n=e(t):n=B.createElement(XC,nS({},t,{className:"recharts-reference-area-rect"})),n});function B9(e,t,n){if(t<1)return[];if(t===1&&n===void 0)return e;for(var r=[],a=0;a<e.length;a+=t)r.push(e[a]);return r}function ale(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return cse(r,n)}function ile(e,t,n){var r=n==="width",a=e.x,o=e.y,l=e.width,c=e.height;return t===1?{start:r?a:o,end:r?a+l:o+c}:{start:r?a+l:o+c,end:r?a:o}}function th(e,t,n,r,a){if(e*t<e*r||e*t>e*a)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-a)<=0}function ole(e,t){return B9(e,t+1)}function sle(e,t,n,r,a){for(var o=(r||[]).slice(),l=t.start,c=t.end,d=0,f=1,y=l,m=function(){var C=r?.[d];if(C===void 0)return{v:B9(r,f)};var x=d,w,M=function(){return w===void 0&&(w=n(C,x)),w},T=C.coordinate,j=d===0||th(e,T,M,y,c);j||(d=0,y=l,f+=1),j&&(y=T+e*(M()/2+a),d+=f)},g;f<=o.length;)if(g=m(),g)return g.v;return[]}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 Yk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yk(Object(n),!0).forEach(function(r){lle(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function lle(e,t,n){return t=cle(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cle(e){var t=ule(e,"string");return _d(t)=="symbol"?t:t+""}function ule(e,t){if(_d(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(_d(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dle(e,t,n,r,a){for(var o=(r||[]).slice(),l=o.length,c=t.start,d=t.end,f=function(g){var b=o[g],C,x=function(){return C===void 0&&(C=n(b,g)),C};if(g===l-1){var w=e*(b.coordinate+e*x()/2-d);o[g]=b=dn(dn({},b),{},{tickCoord:w>0?b.coordinate-w*e:b.coordinate})}else o[g]=b=dn(dn({},b),{},{tickCoord:b.coordinate});var M=th(e,b.tickCoord,x,c,d);M&&(d=b.tickCoord-e*(x()/2+a),o[g]=dn(dn({},b),{},{isShow:!0}))},y=l-1;y>=0;y--)f(y);return o}function fle(e,t,n,r,a,o){var l=(r||[]).slice(),c=l.length,d=t.start,f=t.end;if(o){var y=r[c-1],m=n(y,c-1),g=e*(y.coordinate+e*m/2-f);l[c-1]=y=dn(dn({},y),{},{tickCoord:g>0?y.coordinate-g*e:y.coordinate});var b=th(e,y.tickCoord,function(){return m},d,f);b&&(f=y.tickCoord-e*(m/2+a),l[c-1]=dn(dn({},y),{},{isShow:!0}))}for(var C=o?c-1:c,x=function(T){var j=l[T],E,P=function(){return E===void 0&&(E=n(j,T)),E};if(T===0){var k=e*(j.coordinate-e*P()/2-d);l[T]=j=dn(dn({},j),{},{tickCoord:k<0?j.coordinate-k*e:j.coordinate})}else l[T]=j=dn(dn({},j),{},{tickCoord:j.coordinate});var A=th(e,j.tickCoord,P,d,f);A&&(d=j.tickCoord+e*(P()/2+a),l[T]=dn(dn({},j),{},{isShow:!0}))},w=0;w<C;w++)x(w);return l}function o3(e,t,n){var r=e.tick,a=e.ticks,o=e.viewBox,l=e.minTickGap,c=e.orientation,d=e.interval,f=e.tickFormatter,y=e.unit,m=e.angle;if(!a||!a.length||!r)return[];if(me(d)||os.isSsr)return ole(a,typeof d=="number"&&me(d)?d:0);var g=[],b=c==="top"||c==="bottom"?"width":"height",C=y&&b==="width"?Bu(y,{fontSize:t,letterSpacing:n}):{width:0,height:0},x=function(j,E){var P=Re(f)?f(j.value,E):j.value;return b==="width"?ale(Bu(P,{fontSize:t,letterSpacing:n}),C,m):Bu(P,{fontSize:t,letterSpacing:n})[b]},w=a.length>=2?Dr(a[1].coordinate-a[0].coordinate):1,M=ile(o,w,b);return d==="equidistantPreserveStart"?sle(w,M,x,a,l):(d==="preserveStart"||d==="preserveStartEnd"?g=fle(w,M,x,a,l,d==="preserveStartEnd"):g=dle(w,M,x,a,l),g.filter(function(T){return T.isShow}))}var ple=["viewBox"],mle=["viewBox"],hle=["ticks"];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 xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xl.apply(this,arguments)}function Vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vk(Object(n),!0).forEach(function(r){s3(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function X1(e,t){if(e==null)return{};var n=yle(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yle(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function gle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$9(r.key),r)}}function vle(e,t,n){return t&&Zk(e.prototype,t),n&&Zk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function xle(e,t,n){return t=nh(t),ble(e,q9()?Reflect.construct(t,n||[],nh(e).constructor):t.apply(e,n))}function ble(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 wle(e)}function wle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(q9=function(){return!!e})()}function nh(e){return nh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},nh(e)}function Sle(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&&aS(e,t)}function aS(e,t){return aS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},aS(e,t)}function s3(e,t,n){return t=$9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $9(e){var t=Cle(e,"string");return Yl(t)=="symbol"?t:t+""}function Cle(e,t){if(Yl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Yl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var wc=(function(e){function t(n){var r;return gle(this,t),r=xle(this,t,[n]),r.state={fontSize:"",letterSpacing:""},r}return Sle(t,e),vle(t,[{key:"shouldComponentUpdate",value:function(r,a){var o=r.viewBox,l=X1(r,ple),c=this.props,d=c.viewBox,f=X1(c,mle);return!Sl(o,d)||!Sl(l,f)||!Sl(a,this.state)}},{key:"componentDidMount",value:function(){var r=this.layerReference;if(r){var a=r.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(r){var a=this.props,o=a.x,l=a.y,c=a.width,d=a.height,f=a.orientation,y=a.tickSize,m=a.mirror,g=a.tickMargin,b,C,x,w,M,T,j=m?-1:1,E=r.tickSize||y,P=me(r.tickCoord)?r.tickCoord:r.coordinate;switch(f){case"top":b=C=r.coordinate,w=l+ +!m*d,x=w-j*E,T=x-j*g,M=P;break;case"left":x=w=r.coordinate,C=o+ +!m*c,b=C-j*E,M=b-j*g,T=P;break;case"right":x=w=r.coordinate,C=o+ +m*c,b=C+j*E,M=b+j*g,T=P;break;default:b=C=r.coordinate,w=l+ +m*d,x=w+j*E,T=x+j*g,M=P;break}return{line:{x1:b,y1:x,x2:C,y2:w},tick:{x:M,y:T}}}},{key:"getTickTextAnchor",value:function(){var r=this.props,a=r.orientation,o=r.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 r=this.props,a=r.orientation,o=r.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 r=this.props,a=r.x,o=r.y,l=r.width,c=r.height,d=r.orientation,f=r.mirror,y=r.axisLine,m=Ft(Ft(Ft({},Le(this.props,!1)),Le(y,!1)),{},{fill:"none"});if(d==="top"||d==="bottom"){var g=+(d==="top"&&!f||d==="bottom"&&f);m=Ft(Ft({},m),{},{x1:a,y1:o+g*c,x2:a+l,y2:o+g*c})}else{var b=+(d==="left"&&!f||d==="right"&&f);m=Ft(Ft({},m),{},{x1:a+b*l,y1:o,x2:a+b*l,y2:o+c})}return B.createElement("line",xl({},m,{className:He("recharts-cartesian-axis-line",yr(y,"className"))}))}},{key:"renderTicks",value:function(r,a,o){var l=this,c=this.props,d=c.tickLine,f=c.stroke,y=c.tick,m=c.tickFormatter,g=c.unit,b=o3(Ft(Ft({},this.props),{},{ticks:r}),a,o),C=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),w=Le(this.props,!1),M=Le(y,!1),T=Ft(Ft({},w),{},{fill:"none"},Le(d,!1)),j=b.map(function(E,P){var k=l.getTickLineCoord(E),A=k.line,D=k.tick,I=Ft(Ft(Ft(Ft({textAnchor:C,verticalAnchor:x},w),{},{stroke:"none",fill:f},M),D),{},{index:P,payload:E,visibleTicksCount:b.length,tickFormatter:m});return B.createElement(yt,xl({className:"recharts-cartesian-axis-tick",key:"tick-".concat(E.value,"-").concat(E.coordinate,"-").concat(E.tickCoord)},fm(l.props,E,P)),d&&B.createElement("line",xl({},T,A,{className:He("recharts-cartesian-axis-tick-line",yr(d,"className"))})),y&&t.renderTickItem(y,I,"".concat(Re(m)?m(E.value,P):E.value).concat(g||"")))});return B.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var r=this,a=this.props,o=a.axisLine,l=a.width,c=a.height,d=a.ticksGenerator,f=a.className,y=a.hide;if(y)return null;var m=this.props,g=m.ticks,b=X1(m,hle),C=g;return Re(d)&&(C=g&&g.length>0?d(this.props):d(b)),l<=0||c<=0||!C||!C.length?null:B.createElement(yt,{className:He("recharts-cartesian-axis",f),ref:function(w){r.layerReference=w}},o&&this.renderAxisLine(),this.renderTicks(C,this.state.fontSize,this.state.letterSpacing),pn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,a,o){var l,c=He(a.className,"recharts-cartesian-axis-tick-value");return B.isValidElement(r)?l=B.cloneElement(r,Ft(Ft({},a),{},{className:c})):Re(r)?l=r(Ft(Ft({},a),{},{className:c})):l=B.createElement(Cm,xl({},a,{className:"recharts-cartesian-axis-tick-value"}),o),l}}])})(O.Component);s3(wc,"displayName","CartesianAxis");s3(wc,"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 Mle=["x1","y1","x2","y2","key"],Ole=["offset"];function Xo(e){"@babel/helpers - typeof";return Xo=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},Xo(e)}function Qk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qk(Object(n),!0).forEach(function(r){Tle(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qk(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tle(e,t,n){return t=Ple(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ple(e){var t=Ale(e,"string");return Xo(t)=="symbol"?t:t+""}function Ale(e,t){if(Xo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xo(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bo.apply(this,arguments)}function Xk(e,t){if(e==null)return{};var n=jle(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jle(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Ele=function(t){var n=t.fill;if(!n||n==="none")return null;var r=t.fillOpacity,a=t.x,o=t.y,l=t.width,c=t.height,d=t.ry;return B.createElement("rect",{x:a,y:o,ry:d,width:l,height:c,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function F9(e,t){var n;if(B.isValidElement(e))n=B.cloneElement(e,t);else if(Re(e))n=e(t);else{var r=t.x1,a=t.y1,o=t.x2,l=t.y2,c=t.key,d=Xk(t,Mle),f=Le(d,!1);f.offset;var y=Xk(f,Ole);n=B.createElement("line",Bo({},y,{x1:r,y1:a,x2:o,y2:l,fill:"none",key:c}))}return n}function kle(e){var t=e.x,n=e.width,r=e.horizontal,a=r===void 0?!0:r,o=e.horizontalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(c,d){var f=mn(mn({},e),{},{x1:t,y1:c,x2:t+n,y2:c,key:"line-".concat(d),index:d});return F9(a,f)});return B.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function _le(e){var t=e.y,n=e.height,r=e.vertical,a=r===void 0?!0:r,o=e.verticalPoints;if(!a||!o||!o.length)return null;var l=o.map(function(c,d){var f=mn(mn({},e),{},{x1:c,y1:t,x2:c,y2:t+n,key:"line-".concat(d),index:d});return F9(a,f)});return B.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function Dle(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,a=e.y,o=e.width,l=e.height,c=e.horizontalPoints,d=e.horizontal,f=d===void 0?!0:d;if(!f||!t||!t.length)return null;var y=c.map(function(g){return Math.round(g+a-a)}).sort(function(g,b){return g-b});a!==y[0]&&y.unshift(0);var m=y.map(function(g,b){var C=!y[b+1],x=C?a+l-g:y[b+1]-g;if(x<=0)return null;var w=b%t.length;return B.createElement("rect",{key:"react-".concat(b),y:g,x:r,height:x,width:o,stroke:"none",fill:t[w],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return B.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},m)}function Nle(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,a=e.fillOpacity,o=e.x,l=e.y,c=e.width,d=e.height,f=e.verticalPoints;if(!n||!r||!r.length)return null;var y=f.map(function(g){return Math.round(g+o-o)}).sort(function(g,b){return g-b});o!==y[0]&&y.unshift(0);var m=y.map(function(g,b){var C=!y[b+1],x=C?o+c-g:y[b+1]-g;if(x<=0)return null;var w=b%r.length;return B.createElement("rect",{key:"react-".concat(b),x:g,y:l,width:x,height:d,stroke:"none",fill:r[w],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return B.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},m)}var Rle=function(t,n){var r=t.xAxis,a=t.width,o=t.height,l=t.offset;return n9(o3(mn(mn(mn({},wc.defaultProps),r),{},{ticks:$a(r,!0),viewBox:{x:0,y:0,width:a,height:o}})),l.left,l.left+l.width,n)},Ile=function(t,n){var r=t.yAxis,a=t.width,o=t.height,l=t.offset;return n9(o3(mn(mn(mn({},wc.defaultProps),r),{},{ticks:$a(r,!0),viewBox:{x:0,y:0,width:a,height:o}})),l.top,l.top+l.height,n)},sl={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function Vl(e){var t,n,r,a,o,l,c=r3(),d=a3(),f=Cse(),y=mn(mn({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:sl.stroke,fill:(n=e.fill)!==null&&n!==void 0?n:sl.fill,horizontal:(r=e.horizontal)!==null&&r!==void 0?r:sl.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:sl.horizontalFill,vertical:(o=e.vertical)!==null&&o!==void 0?o:sl.vertical,verticalFill:(l=e.verticalFill)!==null&&l!==void 0?l:sl.verticalFill,x:me(e.x)?e.x:f.left,y:me(e.y)?e.y:f.top,width:me(e.width)?e.width:f.width,height:me(e.height)?e.height:f.height}),m=y.x,g=y.y,b=y.width,C=y.height,x=y.syncWithTicks,w=y.horizontalValues,M=y.verticalValues,T=bse(),j=wse();if(!me(b)||b<=0||!me(C)||C<=0||!me(m)||m!==+m||!me(g)||g!==+g)return null;var E=y.verticalCoordinatesGenerator||Rle,P=y.horizontalCoordinatesGenerator||Ile,k=y.horizontalPoints,A=y.verticalPoints;if((!k||!k.length)&&Re(P)){var D=w&&w.length,I=P({yAxis:j?mn(mn({},j),{},{ticks:D?w:j.ticks}):void 0,width:c,height:d,offset:f},D?!0:x);Ha(Array.isArray(I),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Xo(I),"]")),Array.isArray(I)&&(k=I)}if((!A||!A.length)&&Re(E)){var F=M&&M.length,L=E({xAxis:T?mn(mn({},T),{},{ticks:F?M:T.ticks}):void 0,width:c,height:d,offset:f},F?!0:x);Ha(Array.isArray(L),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Xo(L),"]")),Array.isArray(L)&&(A=L)}return B.createElement("g",{className:"recharts-cartesian-grid"},B.createElement(Ele,{fill:y.fill,fillOpacity:y.fillOpacity,x:y.x,y:y.y,width:y.width,height:y.height,ry:y.ry}),B.createElement(kle,Bo({},y,{offset:f,horizontalPoints:k,xAxis:T,yAxis:j})),B.createElement(_le,Bo({},y,{offset:f,verticalPoints:A,xAxis:T,yAxis:j})),B.createElement(Dle,Bo({},y,{horizontalPoints:k})),B.createElement(Nle,Bo({},y,{verticalPoints:A})))}Vl.displayName="CartesianGrid";var Lle=["type","layout","connectNulls","ref"],zle=["key"];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)}function Jk(e,t){if(e==null)return{};var n=Ble(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ble(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Hu(){return Hu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hu.apply(this,arguments)}function e_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?e_(Object(n),!0).forEach(function(r){kr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ll(e){return Hle(e)||Fle(e)||$le(e)||qle()}function qle(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 407In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $le(e,t){if(e){if(typeof e=="string")return iS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iS(e,t)}}function Fle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hle(e){if(Array.isArray(e))return iS(e)}function iS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ule(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,U9(r.key),r)}}function Wle(e,t,n){return t&&t_(e.prototype,t),n&&t_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gle(e,t,n){return t=rh(t),Kle(e,H9()?Reflect.construct(t,n||[],rh(e).constructor):t.apply(e,n))}function Kle(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 Yle(e)}function Yle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(H9=function(){return!!e})()}function rh(e){return rh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},rh(e)}function Vle(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(r,a){return r.__proto__=a,r},oS(e,t)}function kr(e,t,n){return t=U9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U9(e){var t=Zle(e,"string");return Zl(t)=="symbol"?t:t+""}function Zle(e,t){if(Zl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Zl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var $i=(function(e){function t(){var n;Ule(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=Gle(this,t,[].concat(a)),kr(n,"state",{isAnimationFinished:!0,totalLength:0}),kr(n,"generateSimpleStrokeDasharray",function(l,c){return"".concat(c,"px ").concat(l-c,"px")}),kr(n,"getStrokeDasharray",function(l,c,d){var f=d.reduce(function(M,T){return M+T});if(!f)return n.generateSimpleStrokeDasharray(c,l);for(var y=Math.floor(l/f),m=l%f,g=c-l,b=[],C=0,x=0;C<d.length;x+=d[C],++C)if(x+d[C]>m){b=[].concat(ll(d.slice(0,C)),[m-x]);break}var w=b.length%2===0?[0,g]:[g];return[].concat(ll(t.repeat(d,y)),ll(b),w).map(function(M){return"".concat(M,"px")}).join(", ")}),kr(n,"id",yc("recharts-line-")),kr(n,"pathRef",function(l){n.mainCurve=l}),kr(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),kr(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Vle(t,e),Wle(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,l=o.points,c=o.xAxis,d=o.yAxis,f=o.layout,y=o.children,m=gr(y,Jd);if(!m)return null;var g=function(x,w){return{x:x.x,y:x.y,value:x.value,errorVal:bn(x.payload,w)}},b={clipPath:r?"url(#clipPath-".concat(a,")"):null};return B.createElement(yt,b,m.map(function(C){return B.cloneElement(C,{key:"bar-".concat(C.props.dataKey),data:l,xAxis:c,yAxis:d,layout:f,dataPointFormatter:g})}))}},{key:"renderDots",value:function(r,a,o){var l=this.props.isAnimationActive;if(l&&!this.state.isAnimationFinished)return null;var c=this.props,d=c.dot,f=c.points,y=c.dataKey,m=Le(this.props,!1),g=Le(d,!0),b=f.map(function(x,w){var M=Kn(Kn(Kn({key:"dot-".concat(w),r:3},m),g),{},{index:w,cx:x.x,cy:x.y,value:x.value,dataKey:y,payload:x.payload,points:f});return t.renderDotItem(d,M)}),C={clipPath:r?"url(#clipPath-".concat(a?"":"dots-").concat(o,")"):null};return B.createElement(yt,Hu({className:"recharts-line-dots",key:"dots"},C),b)}},{key:"renderCurveStatically",value:function(r,a,o,l){var c=this.props,d=c.type,f=c.layout,y=c.connectNulls;c.ref;var m=Jk(c,Lle),g=Kn(Kn(Kn({},Le(m,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:a?"url(#clipPath-".concat(o,")"):null,points:r},l),{},{type:d,layout:f,connectNulls:y});return B.createElement(Ol,Hu({},g,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,a){var o=this,l=this.props,c=l.points,d=l.strokeDasharray,f=l.isAnimationActive,y=l.animationBegin,m=l.animationDuration,g=l.animationEasing,b=l.animationId,C=l.animateNewValues,x=l.width,w=l.height,M=this.state,T=M.prevPoints,j=M.totalLength;return B.createElement(la,{begin:y,duration:m,isActive:f,easing:g,from:{t:0},to:{t:1},key:"line-".concat(b),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(E){var P=E.t;if(T){var k=T.length/c.length,A=c.map(function(q,U){var G=Math.floor(U*k);if(T[G]){var K=T[G],N=on(K.x,q.x),H=on(K.y,q.y);return Kn(Kn({},q),{},{x:N(P),y:H(P)})}if(C){var $=on(x*2,q.x),V=on(w/2,q.y);return Kn(Kn({},q),{},{x:$(P),y:V(P)})}return Kn(Kn({},q),{},{x:q.x,y:q.y})});return o.renderCurveStatically(A,r,a)}var D=on(0,j),I=D(P),F;if(d){var L="".concat(d).split(/[,\s]+/gim).map(function(q){return parseFloat(q)});F=o.getStrokeDasharray(I,j,L)}else F=o.generateSimpleStrokeDasharray(j,I);return o.renderCurveStatically(c,r,a,{strokeDasharray:F})})}},{key:"renderCurve",value:function(r,a){var o=this.props,l=o.points,c=o.isAnimationActive,d=this.state,f=d.prevPoints,y=d.totalLength;return c&&l&&l.length&&(!f&&y>0||!Bl(f,l))?this.renderCurveWithAnimation(r,a):this.renderCurveStatically(l,r,a)}},{key:"render",value:function(){var r,a=this.props,o=a.hide,l=a.dot,c=a.points,d=a.className,f=a.xAxis,y=a.yAxis,m=a.top,g=a.left,b=a.width,C=a.height,x=a.isAnimationActive,w=a.id;if(o||!c||!c.length)return null;var M=this.state.isAnimationFinished,T=c.length===1,j=He("recharts-line",d),E=f&&f.allowDataOverflow,P=y&&y.allowDataOverflow,k=E||P,A=qe(w)?this.id:w,D=(r=Le(l,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},I=D.r,F=I===void 0?3:I,L=D.strokeWidth,q=L===void 0?2:L,U=iN(l)?l:{},G=U.clipDot,K=G===void 0?!0:G,N=F*2+q;return B.createElement(yt,{className:j},E||P?B.createElement("defs",null,B.createElement("clipPath",{id:"clipPath-".concat(A)},B.createElement("rect",{x:E?g:g-b/2,y:P?m:m-C/2,width:E?b:b*2,height:P?C:C*2})),!K&&B.createElement("clipPath",{id:"clipPath-dots-".concat(A)},B.createElement("rect",{x:g-N/2,y:m-N/2,width:b+N,height:C+N}))):null,!T&&this.renderCurve(k,A),this.renderErrorBar(k,A),(T||l)&&this.renderDots(k,K,A),(!x||M)&&Wa.renderCallByParent(this.props,c))}}],[{key:"getDerivedStateFromProps",value:function(r,a){return r.animationId!==a.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:a.curPoints}:r.points!==a.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,a){for(var o=r.length%2!==0?[].concat(ll(r),[0]):r,l=[],c=0;c<a;++c)l=[].concat(ll(l),ll(o));return l}},{key:"renderDotItem",value:function(r,a){var o;if(B.isValidElement(r))o=B.cloneElement(r,a);else if(Re(r))o=r(a);else{var l=a.key,c=Jk(a,zle),d=He("recharts-line-dot",typeof r!="boolean"?r.className:"");o=B.createElement(ay,Hu({key:l},c,{className:d}))}return o}}])})(O.PureComponent);kr($i,"displayName","Line");kr($i,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!os.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1});kr($i,"getComposedData",function(e){var t=e.props,n=e.xAxis,r=e.yAxis,a=e.xAxisTicks,o=e.yAxisTicks,l=e.dataKey,c=e.bandSize,d=e.displayedData,f=e.offset,y=t.layout,m=d.map(function(g,b){var C=bn(g,l);return y==="horizontal"?{x:Lm({axis:n,ticks:a,bandSize:c,entry:g,index:b}),y:qe(C)?null:r.scale(C),value:C,payload:g}:{x:qe(C)?null:n.scale(C),y:Lm({axis:r,ticks:o,bandSize:c,entry:g,index:b}),value:C,payload:g}});return Kn({points:m,layout:y},f)});var Qle=["layout","type","stroke","connectNulls","isRange","ref"],Xle=["key"],W9;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 G9(e,t){if(e==null)return{};var n=Jle(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Jle(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function qo(){return qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qo.apply(this,arguments)}function n_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ki(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n_(Object(n),!0).forEach(function(r){ta(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Y9(r.key),r)}}function tce(e,t,n){return t&&r_(e.prototype,t),n&&r_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function nce(e,t,n){return t=ah(t),rce(e,K9()?Reflect.construct(t,n||[],ah(e).constructor):t.apply(e,n))}function rce(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 ace(e)}function ace(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(K9=function(){return!!e})()}function ah(e){return ah=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ah(e)}function ice(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&&sS(e,t)}function sS(e,t){return sS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},sS(e,t)}function ta(e,t,n){return t=Y9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y9(e){var t=oce(e,"string");return Ql(t)=="symbol"?t:t+""}function oce(e,t){if(Ql(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ql(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var eo=(function(e){function t(){var n;ece(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=nce(this,t,[].concat(a)),ta(n,"state",{isAnimationFinished:!0}),ta(n,"id",yc("recharts-area-")),ta(n,"handleAnimationEnd",function(){var l=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),Re(l)&&l()}),ta(n,"handleAnimationStart",function(){var l=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),Re(l)&&l()}),n}return ice(t,e),tce(t,[{key:"renderDots",value:function(r,a,o){var l=this.props.isAnimationActive,c=this.state.isAnimationFinished;if(l&&!c)return null;var d=this.props,f=d.dot,y=d.points,m=d.dataKey,g=Le(this.props,!1),b=Le(f,!0),C=y.map(function(w,M){var T=ki(ki(ki({key:"dot-".concat(M),r:3},g),b),{},{index:M,cx:w.x,cy:w.y,dataKey:m,value:w.value,payload:w.payload,points:y});return t.renderDotItem(f,T)}),x={clipPath:r?"url(#clipPath-".concat(a?"":"dots-").concat(o,")"):null};return B.createElement(yt,qo({className:"recharts-area-dots"},x),C)}},{key:"renderHorizontalRect",value:function(r){var a=this.props,o=a.baseLine,l=a.points,c=a.strokeWidth,d=l[0].x,f=l[l.length-1].x,y=r*Math.abs(d-f),m=Ii(l.map(function(g){return g.y||0}));return me(o)&&typeof o=="number"?m=Math.max(o,m):o&&Array.isArray(o)&&o.length&&(m=Math.max(Ii(o.map(function(g){return g.y||0})),m)),me(m)?B.createElement("rect",{x:d<f?d:d-y,y:0,width:y,height:Math.floor(m+(c?parseInt("".concat(c),10):1))}):null}},{key:"renderVerticalRect",value:function(r){var a=this.props,o=a.baseLine,l=a.points,c=a.strokeWidth,d=l[0].y,f=l[l.length-1].y,y=r*Math.abs(d-f),m=Ii(l.map(function(g){return g.x||0}));return me(o)&&typeof o=="number"?m=Math.max(o,m):o&&Array.isArray(o)&&o.length&&(m=Math.max(Ii(o.map(function(g){return g.x||0})),m)),me(m)?B.createElement("rect",{x:0,y:d<f?d:d-y,width:m+(c?parseInt("".concat(c),10):1),height:Math.floor(y)}):null}},{key:"renderClipRect",value:function(r){var a=this.props.layout;return a==="vertical"?this.renderVerticalRect(r):this.renderHorizontalRect(r)}},{key:"renderAreaStatically",value:function(r,a,o,l){var c=this.props,d=c.layout,f=c.type,y=c.stroke,m=c.connectNulls,g=c.isRange;c.ref;var b=G9(c,Qle);return B.createElement(yt,{clipPath:o?"url(#clipPath-".concat(l,")"):null},B.createElement(Ol,qo({},Le(b,!0),{points:r,connectNulls:m,type:f,baseLine:a,layout:d,stroke:"none",className:"recharts-area-area"})),y!=="none"&&B.createElement(Ol,qo({},Le(this.props,!1),{className:"recharts-area-curve",layout:d,type:f,connectNulls:m,fill:"none",points:r})),y!=="none"&&g&&B.createElement(Ol,qo({},Le(this.props,!1),{className:"recharts-area-curve",layout:d,type:f,connectNulls:m,fill:"none",points:a})))}},{key:"renderAreaWithAnimation",value:function(r,a){var o=this,l=this.props,c=l.points,d=l.baseLine,f=l.isAnimationActive,y=l.animationBegin,m=l.animationDuration,g=l.animationEasing,b=l.animationId,C=this.state,x=C.prevPoints,w=C.prevBaseLine;return B.createElement(la,{begin:y,duration:m,isActive:f,easing:g,from:{t:0},to:{t:1},key:"area-".concat(b),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(M){var T=M.t;if(x){var j=x.length/c.length,E=c.map(function(D,I){var F=Math.floor(I*j);if(x[F]){var L=x[F],q=on(L.x,D.x),U=on(L.y,D.y);return ki(ki({},D),{},{x:q(T),y:U(T)})}return D}),P;if(me(d)&&typeof d=="number"){var k=on(w,d);P=k(T)}else if(qe(d)||hc(d)){var A=on(w,0);P=A(T)}else P=d.map(function(D,I){var F=Math.floor(I*j);if(w[F]){var L=w[F],q=on(L.x,D.x),U=on(L.y,D.y);return ki(ki({},D),{},{x:q(T),y:U(T)})}return D});return o.renderAreaStatically(E,P,r,a)}return B.createElement(yt,null,B.createElement("defs",null,B.createElement("clipPath",{id:"animationClipPath-".concat(a)},o.renderClipRect(T))),B.createElement(yt,{clipPath:"url(#animationClipPath-".concat(a,")")},o.renderAreaStatically(c,d,r,a)))})}},{key:"renderArea",value:function(r,a){var o=this.props,l=o.points,c=o.baseLine,d=o.isAnimationActive,f=this.state,y=f.prevPoints,m=f.prevBaseLine,g=f.totalLength;return d&&l&&l.length&&(!y&&g>0||!Bl(y,l)||!Bl(m,c))?this.renderAreaWithAnimation(r,a):this.renderAreaStatically(l,c,r,a)}},{key:"render",value:function(){var r,a=this.props,o=a.hide,l=a.dot,c=a.points,d=a.className,f=a.top,y=a.left,m=a.xAxis,g=a.yAxis,b=a.width,C=a.height,x=a.isAnimationActive,w=a.id;if(o||!c||!c.length)return null;var M=this.state.isAnimationFinished,T=c.length===1,j=He("recharts-area",d),E=m&&m.allowDataOverflow,P=g&&g.allowDataOverflow,k=E||P,A=qe(w)?this.id:w,D=(r=Le(l,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},I=D.r,F=I===void 0?3:I,L=D.strokeWidth,q=L===void 0?2:L,U=iN(l)?l:{},G=U.clipDot,K=G===void 0?!0:G,N=F*2+q;return B.createElement(yt,{className:j},E||P?B.createElement("defs",null,B.createElement("clipPath",{id:"clipPath-".concat(A)},B.createElement("rect",{x:E?y:y-b/2,y:P?f:f-C/2,width:E?b:b*2,height:P?C:C*2})),!K&&B.createElement("clipPath",{id:"clipPath-dots-".concat(A)},B.createElement("rect",{x:y-N/2,y:f-N/2,width:b+N,height:C+N}))):null,T?null:this.renderArea(k,A),(l||T)&&this.renderDots(k,K,A),(!x||M)&&Wa.renderCallByParent(this.props,c))}}],[{key:"getDerivedStateFromProps",value:function(r,a){return r.animationId!==a.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:a.curPoints,prevBaseLine:a.curBaseLine}:r.points!==a.curPoints||r.baseLine!==a.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}])})(O.PureComponent);W9=eo;ta(eo,"displayName","Area");ta(eo,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!os.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});ta(eo,"getBaseValue",function(e,t,n,r){var a=e.layout,o=e.baseValue,l=t.props.baseValue,c=l??o;if(me(c)&&typeof c=="number")return c;var d=a==="horizontal"?r:n,f=d.scale.domain();if(d.type==="number"){var y=Math.max(f[0],f[1]),m=Math.min(f[0],f[1]);return c==="dataMin"?m:c==="dataMax"||y<0?y:Math.max(Math.min(f[0],f[1]),0)}return c==="dataMin"?f[0]:c==="dataMax"?f[1]:f[0]});ta(eo,"getComposedData",function(e){var t=e.props,n=e.item,r=e.xAxis,a=e.yAxis,o=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,d=e.dataKey,f=e.stackedData,y=e.dataStartIndex,m=e.displayedData,g=e.offset,b=t.layout,C=f&&f.length,x=W9.getBaseValue(t,n,r,a),w=b==="horizontal",M=!1,T=m.map(function(E,P){var k;C?k=f[y+P]:(k=bn(E,d),Array.isArray(k)?M=!0:k=[x,k]);var A=k[1]==null||C&&bn(E,d)==null;return w?{x:Lm({axis:r,ticks:o,bandSize:c,entry:E,index:P}),y:A?null:a.scale(k[1]),value:k,payload:E}:{x:A?null:r.scale(k[1]),y:Lm({axis:a,ticks:l,bandSize:c,entry:E,index:P}),value:k,payload:E}}),j;return C||M?j=T.map(function(E){var P=Array.isArray(E.value)?E.value[0]:null;return w?{x:E.x,y:P!=null&&E.y!=null?a.scale(P):null}:{x:P!=null?r.scale(P):null,y:E.y}}):j=w?a.scale(x):r.scale(x),ki({points:T,baseLine:j,layout:b,isRange:M},g)});ta(eo,"renderDotItem",function(e,t){var n;if(B.isValidElement(e))n=B.cloneElement(e,t);else if(Re(e))n=e(t);else{var r=He("recharts-area-dot",typeof e!="boolean"?e.className:""),a=t.key,o=G9(t,Xle);n=B.createElement(ay,qo({},o,{key:a,className:r}))}return n});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 sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q9(r.key),r)}}function cce(e,t,n){return t&&lce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function uce(e,t,n){return t=ih(t),dce(e,V9()?Reflect.construct(t,n||[],ih(e).constructor):t.apply(e,n))}function dce(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 fce(e)}function fce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(V9=function(){return!!e})()}function ih(e){return ih=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ih(e)}function pce(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(r,a){return r.__proto__=a,r},lS(e,t)}function Z9(e,t,n){return t=Q9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q9(e){var t=mce(e,"string");return Xl(t)=="symbol"?t:t+""}function mce(e,t){if(Xl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Xl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function cS(){return cS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cS.apply(this,arguments)}function hce(e){var t=e.xAxisId,n=r3(),r=a3(),a=k9(t);return a==null?null:O.createElement(wc,cS({},a,{className:He("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(l){return $a(l,!0)}}))}var br=(function(e){function t(){return sce(this,t),uce(this,t,arguments)}return pce(t,e),cce(t,[{key:"render",value:function(){return O.createElement(hce,this.props)}}])})(O.Component);Z9(br,"displayName","XAxis");Z9(br,"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 Jl(e){"@babel/helpers - typeof";return Jl=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},Jl(e)}function yce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,e8(r.key),r)}}function vce(e,t,n){return t&&gce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function xce(e,t,n){return t=oh(t),bce(e,X9()?Reflect.construct(t,n||[],oh(e).constructor):t.apply(e,n))}function bce(e,t){if(t&&(Jl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wce(e)}function wce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X9=function(){return!!e})()}function oh(e){return oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},oh(e)}function Sce(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(r,a){return r.__proto__=a,r},uS(e,t)}function J9(e,t,n){return t=e8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e8(e){var t=Cce(e,"string");return Jl(t)=="symbol"?t:t+""}function Cce(e,t){if(Jl(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jl(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function dS(){return dS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dS.apply(this,arguments)}var Mce=function(t){var n=t.yAxisId,r=r3(),a=a3(),o=_9(n);return o==null?null:O.createElement(wc,dS({},o,{className:He("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:a},ticksGenerator:function(c){return $a(c,!0)}}))},wr=(function(e){function t(){return yce(this,t),xce(this,t,arguments)}return Sce(t,e),vce(t,[{key:"render",value:function(){return O.createElement(Mce,this.props)}}])})(O.Component);J9(wr,"displayName","YAxis");J9(wr,"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 a_(e){return Ace(e)||Pce(e)||Tce(e)||Oce()}function Oce(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 408In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tce(e,t){if(e){if(typeof e=="string")return fS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fS(e,t)}}function Pce(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ace(e){if(Array.isArray(e))return fS(e)}function fS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pS=function(t,n,r,a,o){var l=gr(t,ef),c=gr(t,cy),d=[].concat(a_(l),a_(c)),f=gr(t,dy),y="".concat(a,"Id"),m=a[0],g=n;if(d.length&&(g=d.reduce(function(x,w){if(w.props[y]===r&&ia(w.props,"extendDomain")&&me(w.props[m])){var M=w.props[m];return[Math.min(x[0],M),Math.max(x[1],M)]}return x},g)),f.length){var b="".concat(m,"1"),C="".concat(m,"2");g=f.reduce(function(x,w){if(w.props[y]===r&&ia(w.props,"extendDomain")&&me(w.props[b])&&me(w.props[C])){var M=w.props[b],T=w.props[C];return[Math.min(x[0],M,T),Math.max(x[1],M,T)]}return x},g)}return o&&o.length&&(g=o.reduce(function(x,w){return me(w)?[Math.min(x[0],w),Math.max(x[1],w)]:x},g)),g},J1={exports:{}},i_;function jce(){return i_||(i_=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function a(d,f,y){this.fn=d,this.context=f,this.once=y||!1}function o(d,f,y,m,g){if(typeof y!="function")throw new TypeError("The listener must be a function");var b=new a(y,m||d,g),C=n?n+f:f;return d._events[C]?d._events[C].fn?d._events[C]=[d._events[C],b]:d._events[C].push(b):(d._events[C]=b,d._eventsCount++),d}function l(d,f){--d._eventsCount===0?d._events=new r:delete d._events[f]}function c(){this._events=new r,this._eventsCount=0}c.prototype.eventNames=function(){var f=[],y,m;if(this._eventsCount===0)return f;for(m in y=this._events)t.call(y,m)&&f.push(n?m.slice(1):m);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(y)):f},c.prototype.listeners=function(f){var y=n?n+f:f,m=this._events[y];if(!m)return[];if(m.fn)return[m.fn];for(var g=0,b=m.length,C=new Array(b);g<b;g++)C[g]=m[g].fn;return C},c.prototype.listenerCount=function(f){var y=n?n+f:f,m=this._events[y];return m?m.fn?1:m.length:0},c.prototype.emit=function(f,y,m,g,b,C){var x=n?n+f:f;if(!this._events[x])return!1;var w=this._events[x],M=arguments.length,T,j;if(w.fn){switch(w.once&&this.removeListener(f,w.fn,void 0,!0),M){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,y),!0;case 3:return w.fn.call(w.context,y,m),!0;case 4:return w.fn.call(w.context,y,m,g),!0;case 5:return w.fn.call(w.context,y,m,g,b),!0;case 6:return w.fn.call(w.context,y,m,g,b,C),!0}for(j=1,T=new Array(M-1);j<M;j++)T[j-1]=arguments[j];w.fn.apply(w.context,T)}else{var E=w.length,P;for(j=0;j<E;j++)switch(w[j].once&&this.removeListener(f,w[j].fn,void 0,!0),M){case 1:w[j].fn.call(w[j].context);break;case 2:w[j].fn.call(w[j].context,y);break;case 3:w[j].fn.call(w[j].context,y,m);break;case 4:w[j].fn.call(w[j].context,y,m,g);break;default:if(!T)for(P=1,T=new Array(M-1);P<M;P++)T[P-1]=arguments[P];w[j].fn.apply(w[j].context,T)}}return!0},c.prototype.on=function(f,y,m){return o(this,f,y,m,!1)},c.prototype.once=function(f,y,m){return o(this,f,y,m,!0)},c.prototype.removeListener=function(f,y,m,g){var b=n?n+f:f;if(!this._events[b])return this;if(!y)return l(this,b),this;var C=this._events[b];if(C.fn)C.fn===y&&(!g||C.once)&&(!m||C.context===m)&&l(this,b);else{for(var x=0,w=[],M=C.length;x<M;x++)(C[x].fn!==y||g&&!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(f){var y;return f?(y=n?n+f:f,this._events[y]&&l(this,y)):(this._events=new r,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,e.exports=c})(J1)),J1.exports}var Ece=jce();const kce=dt(Ece);var ew=new kce,tw="recharts.syncMouseEvents";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 _ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,t8(r.key),r)}}function Nce(e,t,n){return t&&Dce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function nw(e,t,n){return t=t8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t8(e){var t=Rce(e,"string");return Dd(t)=="symbol"?t:t+""}function Rce(e,t){if(Dd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Dd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ice=(function(){function e(){_ce(this,e),nw(this,"activeIndex",0),nw(this,"coordinateList",[]),nw(this,"layout","horizontal")}return Nce(e,[{key:"setDetails",value:function(n){var r,a=n.coordinateList,o=a===void 0?null:a,l=n.container,c=l===void 0?null:l,d=n.layout,f=d===void 0?null:d,y=n.offset,m=y===void 0?null:y,g=n.mouseHandlerCallback,b=g===void 0?null:g;this.coordinateList=(r=o??this.coordinateList)!==null&&r!==void 0?r:[],this.container=c??this.container,this.layout=f??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(n){if(this.coordinateList.length!==0)switch(n.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(n){this.activeIndex=n}},{key:"spoofMouse",value:function(){var n,r;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),o=a.x,l=a.y,c=a.height,d=this.coordinateList[this.activeIndex].coordinate,f=((n=window)===null||n===void 0?void 0:n.scrollX)||0,y=((r=window)===null||r===void 0?void 0:r.scrollY)||0,m=o+d+f,g=l+this.offset.top+c/2+y;this.mouseHandlerCallback({pageX:m,pageY:g})}}}])})();function Lce(e,t,n){if(n==="number"&&t===!0&&Array.isArray(e)){var r=e?.[0],a=e?.[1];if(r&&a&&me(r)&&me(a))return!0}return!1}function zce(e,t,n,r){var a=r/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:n.left+.5,y:e==="horizontal"?n.top+.5:t.y-a,width:e==="horizontal"?r:n.width-1,height:e==="horizontal"?n.height-1:r}}function n8(e){var t=e.cx,n=e.cy,r=e.radius,a=e.startAngle,o=e.endAngle,l=sn(t,n,r,a),c=sn(t,n,r,o);return{points:[l,c],cx:t,cy:n,radius:r,startAngle:a,endAngle:o}}function Bce(e,t,n){var r,a,o,l;if(e==="horizontal")r=t.x,o=r,a=n.top,l=n.top+n.height;else if(e==="vertical")a=t.y,l=a,r=n.left,o=n.left+n.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var c=t.cx,d=t.cy,f=t.innerRadius,y=t.outerRadius,m=t.angle,g=sn(c,d,f,m),b=sn(c,d,y,m);r=g.x,a=g.y,o=b.x,l=b.y}else return n8(t);return[{x:r,y:a},{x:o,y:l}]}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)}function o_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function $p(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o_(Object(n),!0).forEach(function(r){qce(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qce(e,t,n){return t=$ce(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $ce(e){var t=Fce(e,"string");return Nd(t)=="symbol"?t:t+""}function Fce(e,t){if(Nd(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Nd(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hce(e){var t,n,r=e.element,a=e.tooltipEventType,o=e.isActive,l=e.activeCoordinate,c=e.activePayload,d=e.offset,f=e.activeTooltipIndex,y=e.tooltipAxisBandSize,m=e.layout,g=e.chartName,b=(t=r.props.cursor)!==null&&t!==void 0?t:(n=r.type.defaultProps)===null||n===void 0?void 0:n.cursor;if(!r||!b||!o||!l||g!=="ScatterChart"&&a!=="axis")return null;var C,x=Ol;if(g==="ScatterChart")C=l,x=kie;else if(g==="BarChart")C=zce(m,l,d,y),x=XC;else if(m==="radial"){var w=n8(l),M=w.cx,T=w.cy,j=w.radius,E=w.startAngle,P=w.endAngle;C={cx:M,cy:T,startAngle:E,endAngle:P,innerRadius:j,outerRadius:j},x=s9}else C={points:Bce(m,l,d)},x=Ol;var k=$p($p($p($p({stroke:"#ccc",pointerEvents:"none"},d),C),Le(b,!1)),{},{payload:c,payloadIndex:f,className:He("recharts-tooltip-cursor",b.className)});return O.isValidElement(b)?O.cloneElement(b,k):O.createElement(x,k)}var Uce=["item"],Wce=["children","className","width","height","style","compact","title","desc"];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 bl(){return bl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bl.apply(this,arguments)}function s_(e,t){return Yce(e)||Kce(e,t)||a8(e,t)||Gce()}function Gce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 409In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kce(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,l,c=[],d=!0,f=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(r=o.call(n)).done)&&(c.push(r.value),c.length!==t);d=!0);}catch(y){f=!0,a=y}finally{try{if(!d&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(f)throw a}}return c}}function Yce(e){if(Array.isArray(e))return e}function l_(e,t){if(e==null)return{};var n=Vce(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vce(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i8(r.key),r)}}function Xce(e,t,n){return t&&Qce(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jce(e,t,n){return t=sh(t),eue(e,r8()?Reflect.construct(t,n||[],sh(e).constructor):t.apply(e,n))}function eue(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 tue(e)}function tue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(r8=function(){return!!e})()}function sh(e){return sh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},sh(e)}function nue(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&&mS(e,t)}function mS(e,t){return mS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},mS(e,t)}function tc(e){return iue(e)||aue(e)||a8(e)||rue()}function rue(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 410In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a8(e,t){if(e){if(typeof e=="string")return hS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hS(e,t)}}function aue(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iue(e){if(Array.isArray(e))return hS(e)}function hS(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?c_(Object(n),!0).forEach(function(r){je(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c_(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function je(e,t,n){return t=i8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i8(e){var t=oue(e,"string");return ec(t)=="symbol"?t:t+""}function oue(e,t){if(ec(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ec(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var sue={xAxis:["bottom","top"],yAxis:["left","right"]},lue={width:"100%",height:"100%"},o8={x:0,y:0};function Fp(e){return e}var cue=function(t,n){return n==="horizontal"?t.x:n==="vertical"?t.y:n==="centric"?t.angle:t.radius},uue=function(t,n,r,a){var o=n.find(function(y){return y&&y.index===r});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 le(le(le({},a),sn(a.cx,a.cy,c,l)),{},{angle:l,radius:c})}var d=o.coordinate,f=a.angle;return le(le(le({},a),sn(a.cx,a.cy,d,f)),{},{angle:f,radius:d})}return o8},fy=function(t,n){var r=n.graphicalItems,a=n.dataStartIndex,o=n.dataEndIndex,l=(r??[]).reduce(function(c,d){var f=d.props.data;return f&&f.length?[].concat(tc(c),tc(f)):c},[]);return l.length>0?l:t&&t.length&&me(a)&&me(o)?t.slice(a,o+1):[]};function s8(e){return e==="number"?[0,"auto"]:void 0}var yS=function(t,n,r,a){var o=t.graphicalItems,l=t.tooltipAxis,c=fy(n,t);return r<0||!o||!o.length||r>=c.length?null:o.reduce(function(d,f){var y,m=(y=f.props.data)!==null&&y!==void 0?y:n;m&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(m=m.slice(t.dataStartIndex,t.dataEndIndex+1));var g;if(l.dataKey&&!l.allowDuplicatedCategory){var b=m===void 0?c:m;g=um(b,l.dataKey,a)}else g=m&&m[r]||c[r];return g?[].concat(tc(d),[a9(f,g)]):d},[])},u_=function(t,n,r,a){var o=a||{x:t.chartX,y:t.chartY},l=cue(o,r),c=t.orderedTooltipTicks,d=t.tooltipAxis,f=t.tooltipTicks,y=pne(l,c,f,d);if(y>=0&&f){var m=f[y]&&f[y].value,g=yS(t,n,y,m),b=uue(r,c,y,o);return{activeTooltipIndex:y,activeLabel:m,activePayload:g,activeCoordinate:b}}return null},due=function(t,n){var r=n.axes,a=n.graphicalItems,o=n.axisType,l=n.axisIdKey,c=n.stackGroups,d=n.dataStartIndex,f=n.dataEndIndex,y=t.layout,m=t.children,g=t.stackOffset,b=t9(y,o);return r.reduce(function(C,x){var w,M=x.type.defaultProps!==void 0?le(le({},x.type.defaultProps),x.props):x.props,T=M.type,j=M.dataKey,E=M.allowDataOverflow,P=M.allowDuplicatedCategory,k=M.scale,A=M.ticks,D=M.includeHidden,I=M[l];if(C[I])return C;var F=fy(t.data,{graphicalItems:a.filter(function(Y){var Z,J=l in Y.props?Y.props[l]:(Z=Y.type.defaultProps)===null||Z===void 0?void 0:Z[l];return J===I}),dataStartIndex:d,dataEndIndex:f}),L=F.length,q,U,G;Lce(M.domain,E,T)&&(q=D2(M.domain,null,E),b&&(T==="number"||k!=="auto")&&(G=$u(F,j,"category")));var K=s8(T);if(!q||q.length===0){var N,H=(N=M.domain)!==null&&N!==void 0?N:K;if(j){if(q=$u(F,j,T),T==="category"&&b){var $=iY(q);P&&$?(U=q,q=Km(0,L)):P||(q=x7(H,q,x).reduce(function(Y,Z){return Y.indexOf(Z)>=0?Y:[].concat(tc(Y),[Z])},[]))}else if(T==="category")P?q=q.filter(function(Y){return Y!==""&&!qe(Y)}):q=x7(H,q,x).reduce(function(Y,Z){return Y.indexOf(Z)>=0||Z===""||qe(Z)?Y:[].concat(tc(Y),[Z])},[]);else if(T==="number"){var V=vne(F,a.filter(function(Y){var Z,J,ce=l in Y.props?Y.props[l]:(Z=Y.type.defaultProps)===null||Z===void 0?void 0:Z[l],pe="hide"in Y.props?Y.props.hide:(J=Y.type.defaultProps)===null||J===void 0?void 0:J.hide;return ce===I&&(D||!pe)}),j,o,y);V&&(q=V)}b&&(T==="number"||k!=="auto")&&(G=$u(F,j,"category"))}else b?q=Km(0,L):c&&c[I]&&c[I].hasStack&&T==="number"?q=g==="expand"?[0,1]:r9(c[I].stackGroups,d,f):q=e9(F,a.filter(function(Y){var Z=l in Y.props?Y.props[l]:Y.type.defaultProps[l],J="hide"in Y.props?Y.props.hide:Y.type.defaultProps.hide;return Z===I&&(D||!J)}),T,y,!0);if(T==="number")q=pS(m,q,I,o,A),H&&(q=D2(H,q,E));else if(T==="category"&&H){var oe=H,z=q.every(function(Y){return oe.indexOf(Y)>=0});z&&(q=oe)}}return le(le({},C),{},je({},I,le(le({},M),{},{axisType:o,domain:q,categoricalDomain:G,duplicateDomain:U,originalDomain:(w=M.domain)!==null&&w!==void 0?w:K,isCategorical:b,layout:y})))},{})},fue=function(t,n){var r=n.graphicalItems,a=n.Axis,o=n.axisType,l=n.axisIdKey,c=n.stackGroups,d=n.dataStartIndex,f=n.dataEndIndex,y=t.layout,m=t.children,g=fy(t.data,{graphicalItems:r,dataStartIndex:d,dataEndIndex:f}),b=g.length,C=t9(y,o),x=-1;return r.reduce(function(w,M){var T=M.type.defaultProps!==void 0?le(le({},M.type.defaultProps),M.props):M.props,j=T[l],E=s8("number");if(!w[j]){x++;var P;return C?P=Km(0,b):c&&c[j]&&c[j].hasStack?(P=r9(c[j].stackGroups,d,f),P=pS(m,P,j,o)):(P=D2(E,e9(g,r.filter(function(k){var A,D,I=l in k.props?k.props[l]:(A=k.type.defaultProps)===null||A===void 0?void 0:A[l],F="hide"in k.props?k.props.hide:(D=k.type.defaultProps)===null||D===void 0?void 0:D.hide;return I===j&&!F}),"number",y),a.defaultProps.allowDataOverflow),P=pS(m,P,j,o)),le(le({},w),{},je({},j,le(le({axisType:o},a.defaultProps),{},{hide:!0,orientation:yr(sue,"".concat(o,".").concat(x%2),null),domain:P,originalDomain:E,isCategorical:C,layout:y})))}return w},{})},pue=function(t,n){var r=n.axisType,a=r===void 0?"xAxis":r,o=n.AxisComp,l=n.graphicalItems,c=n.stackGroups,d=n.dataStartIndex,f=n.dataEndIndex,y=t.children,m="".concat(a,"Id"),g=gr(y,o),b={};return g&&g.length?b=due(t,{axes:g,graphicalItems:l,axisType:a,axisIdKey:m,stackGroups:c,dataStartIndex:d,dataEndIndex:f}):l&&l.length&&(b=fue(t,{Axis:o,graphicalItems:l,axisType:a,axisIdKey:m,stackGroups:c,dataStartIndex:d,dataEndIndex:f})),b},mue=function(t){var n=Ni(t),r=$a(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:OC(r,function(a){return a.coordinate}),tooltipAxis:n,tooltipAxisBandSize:zm(n,r)}},d_=function(t){var n=t.children,r=t.defaultShowTooltip,a=Vn(n,Hl),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:!!r}},hue=function(t){return!t||!t.length?!1:t.some(function(n){var r=Fa(n&&n.type);return r&&r.indexOf("Bar")>=0})},f_=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"}},yue=function(t,n){var r=t.props,a=t.graphicalItems,o=t.xAxisMap,l=o===void 0?{}:o,c=t.yAxisMap,d=c===void 0?{}:c,f=r.width,y=r.height,m=r.children,g=r.margin||{},b=Vn(m,Hl),C=Vn(m,Bi),x=Object.keys(d).reduce(function(P,k){var A=d[k],D=A.orientation;return!A.mirror&&!A.hide?le(le({},P),{},je({},D,P[D]+A.width)):P},{left:g.left||0,right:g.right||0}),w=Object.keys(l).reduce(function(P,k){var A=l[k],D=A.orientation;return!A.mirror&&!A.hide?le(le({},P),{},je({},D,yr(P,"".concat(D))+A.height)):P},{top:g.top||0,bottom:g.bottom||0}),M=le(le({},w),x),T=M.bottom;b&&(M.bottom+=b.props.height||Hl.defaultProps.height),C&&n&&(M=yne(M,a,r,n));var j=f-M.left-M.right,E=y-M.top-M.bottom;return le(le({brushBottom:T},M),{},{width:Math.max(j,0),height:Math.max(E,0)})},gue=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},l3=function(t){var n=t.chartName,r=t.GraphicalChild,a=t.defaultTooltipEventType,o=a===void 0?"axis":a,l=t.validateTooltipEventTypes,c=l===void 0?["axis"]:l,d=t.axisComponents,f=t.legendContent,y=t.formatAxisMap,m=t.defaultProps,g=function(M,T){var j=T.graphicalItems,E=T.stackGroups,P=T.offset,k=T.updateId,A=T.dataStartIndex,D=T.dataEndIndex,I=M.barSize,F=M.layout,L=M.barGap,q=M.barCategoryGap,U=M.maxBarSize,G=f_(F),K=G.numericAxisName,N=G.cateAxisName,H=hue(j),$=[];return j.forEach(function(V,oe){var z=fy(M.data,{graphicalItems:[V],dataStartIndex:A,dataEndIndex:D}),Y=V.type.defaultProps!==void 0?le(le({},V.type.defaultProps),V.props):V.props,Z=Y.dataKey,J=Y.maxBarSize,ce=Y["".concat(K,"Id")],pe=Y["".concat(N,"Id")],ie={},he=d.reduce(function(zn,Mt){var tr=T["".concat(Mt.axisType,"Map")],Kt=Y["".concat(Mt.axisType,"Id")];tr&&tr[Kt]||Mt.axisType==="zAxis"||Qo();var ps=tr[Kt];return le(le({},zn),{},je(je({},Mt.axisType,ps),"".concat(Mt.axisType,"Ticks"),$a(ps)))},ie),ue=he[N],ye=he["".concat(N,"Ticks")],ge=E&&E[ce]&&E[ce].hasStack&&Ene(V,E[ce].stackGroups),ae=Fa(V.type).indexOf("Bar")>=0,ze=zm(ue,ye),Te=[],nt=H&&mne({barSize:I,stackGroups:E,totalSize:gue(he,N)});if(ae){var Je,mt,Sn=qe(J)?U:J,Dt=(Je=(mt=zm(ue,ye,!0))!==null&&mt!==void 0?mt:Sn)!==null&&Je!==void 0?Je:0;Te=hne({barGap:L,barCategoryGap:q,bandSize:Dt!==ze?Dt:ze,sizeList:nt[pe],maxBarSize:Sn}),Dt!==ze&&(Te=Te.map(function(zn){return le(le({},zn),{},{position:le(le({},zn.position),{},{offset:zn.position.offset-Dt/2})})}))}var Fr=V&&V.type&&V.type.getComposedData;Fr&&$.push({props:le(le({},Fr(le(le({},he),{},{displayedData:z,props:M,dataKey:Z,item:V,bandSize:ze,barPosition:Te,offset:P,stackedData:ge,layout:F,dataStartIndex:A,dataEndIndex:D}))),{},je(je(je({key:V.key||"item-".concat(oe)},K,he[K]),N,he[N]),"animationId",k)),childIndex:gY(V,M.children),item:V})}),$},b=function(M,T){var j=M.props,E=M.dataStartIndex,P=M.dataEndIndex,k=M.updateId;if(!NA({props:j}))return null;var A=j.children,D=j.layout,I=j.stackOffset,F=j.data,L=j.reverseStackOrder,q=f_(D),U=q.numericAxisName,G=q.cateAxisName,K=gr(A,r),N=Pne(F,K,"".concat(U,"Id"),"".concat(G,"Id"),I,L),H=d.reduce(function(Y,Z){var J="".concat(Z.axisType,"Map");return le(le({},Y),{},je({},J,pue(j,le(le({},Z),{},{graphicalItems:K,stackGroups:Z.axisType===U&&N,dataStartIndex:E,dataEndIndex:P}))))},{}),$=yue(le(le({},H),{},{props:j,graphicalItems:K}),T?.legendBBox);Object.keys(H).forEach(function(Y){H[Y]=y(j,H[Y],$,Y.replace("Map",""),n)});var V=H["".concat(G,"Map")],oe=mue(V),z=g(j,le(le({},H),{},{dataStartIndex:E,dataEndIndex:P,updateId:k,graphicalItems:K,stackGroups:N,offset:$}));return le(le({formattedGraphicalItems:z,graphicalItems:K,offset:$,stackGroups:N},oe),H)},C=(function(w){function M(T){var j,E,P;return Zce(this,M),P=Jce(this,M,[T]),je(P,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),je(P,"accessibilityManager",new Ice),je(P,"handleLegendBBoxUpdate",function(k){if(k){var A=P.state,D=A.dataStartIndex,I=A.dataEndIndex,F=A.updateId;P.setState(le({legendBBox:k},b({props:P.props,dataStartIndex:D,dataEndIndex:I,updateId:F},le(le({},P.state),{},{legendBBox:k}))))}}),je(P,"handleReceiveSyncEvent",function(k,A,D){if(P.props.syncId===k){if(D===P.eventEmitterSymbol&&typeof P.props.syncMethod!="function")return;P.applySyncEvent(A)}}),je(P,"handleBrushChange",function(k){var A=k.startIndex,D=k.endIndex;if(A!==P.state.dataStartIndex||D!==P.state.dataEndIndex){var I=P.state.updateId;P.setState(function(){return le({dataStartIndex:A,dataEndIndex:D},b({props:P.props,dataStartIndex:A,dataEndIndex:D,updateId:I},P.state))}),P.triggerSyncEvent({dataStartIndex:A,dataEndIndex:D})}}),je(P,"handleMouseEnter",function(k){var A=P.getMouseInfo(k);if(A){var D=le(le({},A),{},{isTooltipActive:!0});P.setState(D),P.triggerSyncEvent(D);var I=P.props.onMouseEnter;Re(I)&&I(D,k)}}),je(P,"triggeredAfterMouseMove",function(k){var A=P.getMouseInfo(k),D=A?le(le({},A),{},{isTooltipActive:!0}):{isTooltipActive:!1};P.setState(D),P.triggerSyncEvent(D);var I=P.props.onMouseMove;Re(I)&&I(D,k)}),je(P,"handleItemMouseEnter",function(k){P.setState(function(){return{isTooltipActive:!0,activeItem:k,activePayload:k.tooltipPayload,activeCoordinate:k.tooltipPosition||{x:k.cx,y:k.cy}}})}),je(P,"handleItemMouseLeave",function(){P.setState(function(){return{isTooltipActive:!1}})}),je(P,"handleMouseMove",function(k){k.persist(),P.throttleTriggeredAfterMouseMove(k)}),je(P,"handleMouseLeave",function(k){P.throttleTriggeredAfterMouseMove.cancel();var A={isTooltipActive:!1};P.setState(A),P.triggerSyncEvent(A);var D=P.props.onMouseLeave;Re(D)&&D(A,k)}),je(P,"handleOuterEvent",function(k){var A=yY(k),D=yr(P.props,"".concat(A));if(A&&Re(D)){var I,F;/.*touch.*/i.test(A)?F=P.getMouseInfo(k.changedTouches[0]):F=P.getMouseInfo(k),D((I=F)!==null&&I!==void 0?I:{},k)}}),je(P,"handleClick",function(k){var A=P.getMouseInfo(k);if(A){var D=le(le({},A),{},{isTooltipActive:!0});P.setState(D),P.triggerSyncEvent(D);var I=P.props.onClick;Re(I)&&I(D,k)}}),je(P,"handleMouseDown",function(k){var A=P.props.onMouseDown;if(Re(A)){var D=P.getMouseInfo(k);A(D,k)}}),je(P,"handleMouseUp",function(k){var A=P.props.onMouseUp;if(Re(A)){var D=P.getMouseInfo(k);A(D,k)}}),je(P,"handleTouchMove",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&P.throttleTriggeredAfterMouseMove(k.changedTouches[0])}),je(P,"handleTouchStart",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&P.handleMouseDown(k.changedTouches[0])}),je(P,"handleTouchEnd",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&P.handleMouseUp(k.changedTouches[0])}),je(P,"handleDoubleClick",function(k){var A=P.props.onDoubleClick;if(Re(A)){var D=P.getMouseInfo(k);A(D,k)}}),je(P,"handleContextMenu",function(k){var A=P.props.onContextMenu;if(Re(A)){var D=P.getMouseInfo(k);A(D,k)}}),je(P,"triggerSyncEvent",function(k){P.props.syncId!==void 0&&ew.emit(tw,P.props.syncId,k,P.eventEmitterSymbol)}),je(P,"applySyncEvent",function(k){var A=P.props,D=A.layout,I=A.syncMethod,F=P.state.updateId,L=k.dataStartIndex,q=k.dataEndIndex;if(k.dataStartIndex!==void 0||k.dataEndIndex!==void 0)P.setState(le({dataStartIndex:L,dataEndIndex:q},b({props:P.props,dataStartIndex:L,dataEndIndex:q,updateId:F},P.state)));else if(k.activeTooltipIndex!==void 0){var U=k.chartX,G=k.chartY,K=k.activeTooltipIndex,N=P.state,H=N.offset,$=N.tooltipTicks;if(!H)return;if(typeof I=="function")K=I($,k);else if(I==="value"){K=-1;for(var V=0;V<$.length;V++)if($[V].value===k.activeLabel){K=V;break}}var oe=le(le({},H),{},{x:H.left,y:H.top}),z=Math.min(U,oe.x+oe.width),Y=Math.min(G,oe.y+oe.height),Z=$[K]&&$[K].value,J=yS(P.state,P.props.data,K),ce=$[K]?{x:D==="horizontal"?$[K].coordinate:z,y:D==="horizontal"?Y:$[K].coordinate}:o8;P.setState(le(le({},k),{},{activeLabel:Z,activeCoordinate:ce,activePayload:J,activeTooltipIndex:K}))}else P.setState(k)}),je(P,"renderCursor",function(k){var A,D=P.state,I=D.isTooltipActive,F=D.activeCoordinate,L=D.activePayload,q=D.offset,U=D.activeTooltipIndex,G=D.tooltipAxisBandSize,K=P.getTooltipEventType(),N=(A=k.props.active)!==null&&A!==void 0?A:I,H=P.props.layout,$=k.key||"_recharts-cursor";return B.createElement(Hce,{key:$,activeCoordinate:F,activePayload:L,activeTooltipIndex:U,chartName:n,element:k,isActive:N,layout:H,offset:q,tooltipAxisBandSize:G,tooltipEventType:K})}),je(P,"renderPolarAxis",function(k,A,D){var I=yr(k,"type.axisType"),F=yr(P.state,"".concat(I,"Map")),L=k.type.defaultProps,q=L!==void 0?le(le({},L),k.props):k.props,U=F&&F[q["".concat(I,"Id")]];return O.cloneElement(k,le(le({},U),{},{className:He(I,U.className),key:k.key||"".concat(A,"-").concat(D),ticks:$a(U,!0)}))}),je(P,"renderPolarGrid",function(k){var A=k.props,D=A.radialLines,I=A.polarAngles,F=A.polarRadius,L=P.state,q=L.radiusAxisMap,U=L.angleAxisMap,G=Ni(q),K=Ni(U),N=K.cx,H=K.cy,$=K.innerRadius,V=K.outerRadius;return O.cloneElement(k,{polarAngles:Array.isArray(I)?I:$a(K,!0).map(function(oe){return oe.coordinate}),polarRadius:Array.isArray(F)?F:$a(G,!0).map(function(oe){return oe.coordinate}),cx:N,cy:H,innerRadius:$,outerRadius:V,key:k.key||"polar-grid",radialLines:D})}),je(P,"renderLegend",function(){var k=P.state.formattedGraphicalItems,A=P.props,D=A.children,I=A.width,F=A.height,L=P.props.margin||{},q=I-(L.left||0)-(L.right||0),U=XR({children:D,formattedGraphicalItems:k,legendWidth:q,legendContent:f});if(!U)return null;var G=U.item,K=l_(U,Uce);return O.cloneElement(G,le(le({},K),{},{chartWidth:I,chartHeight:F,margin:L,onBBoxUpdate:P.handleLegendBBoxUpdate}))}),je(P,"renderTooltip",function(){var k,A=P.props,D=A.children,I=A.accessibilityLayer,F=Vn(D,vn);if(!F)return null;var L=P.state,q=L.isTooltipActive,U=L.activeCoordinate,G=L.activePayload,K=L.activeLabel,N=L.offset,H=(k=F.props.active)!==null&&k!==void 0?k:q;return O.cloneElement(F,{viewBox:le(le({},N),{},{x:N.left,y:N.top}),active:H,label:K,payload:H?G:[],coordinate:U,accessibilityLayer:I})}),je(P,"renderBrush",function(k){var A=P.props,D=A.margin,I=A.data,F=P.state,L=F.offset,q=F.dataStartIndex,U=F.dataEndIndex,G=F.updateId;return O.cloneElement(k,{key:k.key||"_recharts-brush",onChange:Lp(P.handleBrushChange,k.props.onChange),data:I,x:me(k.props.x)?k.props.x:L.left,y:me(k.props.y)?k.props.y:L.top+L.height+L.brushBottom-(D.bottom||0),width:me(k.props.width)?k.props.width:L.width,startIndex:q,endIndex:U,updateId:"brush-".concat(G)})}),je(P,"renderReferenceElement",function(k,A,D){if(!k)return null;var I=P,F=I.clipPathId,L=P.state,q=L.xAxisMap,U=L.yAxisMap,G=L.offset,K=k.type.defaultProps||{},N=k.props,H=N.xAxisId,$=H===void 0?K.xAxisId:H,V=N.yAxisId,oe=V===void 0?K.yAxisId:V;return O.cloneElement(k,{key:k.key||"".concat(A,"-").concat(D),xAxis:q[$],yAxis:U[oe],viewBox:{x:G.left,y:G.top,width:G.width,height:G.height},clipPathId:F})}),je(P,"renderActivePoints",function(k){var A=k.item,D=k.activePoint,I=k.basePoint,F=k.childIndex,L=k.isRange,q=[],U=A.props.key,G=A.item.type.defaultProps!==void 0?le(le({},A.item.type.defaultProps),A.item.props):A.item.props,K=G.activeDot,N=G.dataKey,H=le(le({index:F,dataKey:N,cx:D.x,cy:D.y,r:4,fill:QC(A.item),strokeWidth:2,stroke:"#fff",payload:D.payload,value:D.value},Le(K,!1)),dm(K));return q.push(M.renderActiveDot(K,H,"".concat(U,"-activePoint-").concat(F))),I?q.push(M.renderActiveDot(K,le(le({},H),{},{cx:I.x,cy:I.y}),"".concat(U,"-basePoint-").concat(F))):L&&q.push(null),q}),je(P,"renderGraphicChild",function(k,A,D){var I=P.filterFormatItem(k,A,D);if(!I)return null;var F=P.getTooltipEventType(),L=P.state,q=L.isTooltipActive,U=L.tooltipAxis,G=L.activeTooltipIndex,K=L.activeLabel,N=P.props.children,H=Vn(N,vn),$=I.props,V=$.points,oe=$.isRange,z=$.baseLine,Y=I.item.type.defaultProps!==void 0?le(le({},I.item.type.defaultProps),I.item.props):I.item.props,Z=Y.activeDot,J=Y.hide,ce=Y.activeBar,pe=Y.activeShape,ie=!!(!J&&q&&H&&(Z||ce||pe)),he={};F!=="axis"&&H&&H.props.trigger==="click"?he={onClick:Lp(P.handleItemMouseEnter,k.props.onClick)}:F!=="axis"&&(he={onMouseLeave:Lp(P.handleItemMouseLeave,k.props.onMouseLeave),onMouseEnter:Lp(P.handleItemMouseEnter,k.props.onMouseEnter)});var ue=O.cloneElement(k,le(le({},I.props),he));function ye(Mt){return typeof U.dataKey=="function"?U.dataKey(Mt.payload):null}if(ie)if(G>=0){var ge,ae;if(U.dataKey&&!U.allowDuplicatedCategory){var ze=typeof U.dataKey=="function"?ye:"payload.".concat(U.dataKey.toString());ge=um(V,ze,K),ae=oe&&z&&um(z,ze,K)}else ge=V?.[G],ae=oe&&z&&z[G];if(pe||ce){var Te=k.props.activeIndex!==void 0?k.props.activeIndex:G;return[O.cloneElement(k,le(le(le({},I.props),he),{},{activeIndex:Te})),null,null]}if(!qe(ge))return[ue].concat(tc(P.renderActivePoints({item:I,activePoint:ge,basePoint:ae,childIndex:G,isRange:oe})))}else{var nt,Je=(nt=P.getItemByXY(P.state.activeCoordinate))!==null&&nt!==void 0?nt:{graphicalItem:ue},mt=Je.graphicalItem,Sn=mt.item,Dt=Sn===void 0?k:Sn,Fr=mt.childIndex,zn=le(le(le({},I.props),he),{},{activeIndex:Fr});return[O.cloneElement(Dt,zn),null,null]}return oe?[ue,null,null]:[ue,null]}),je(P,"renderCustomized",function(k,A,D){return O.cloneElement(k,le(le({key:"recharts-customized-".concat(D)},P.props),P.state))}),je(P,"renderMap",{CartesianGrid:{handler:Fp,once:!0},ReferenceArea:{handler:P.renderReferenceElement},ReferenceLine:{handler:Fp},ReferenceDot:{handler:P.renderReferenceElement},XAxis:{handler:Fp},YAxis:{handler:Fp},Brush:{handler:P.renderBrush,once:!0},Bar:{handler:P.renderGraphicChild},Line:{handler:P.renderGraphicChild},Area:{handler:P.renderGraphicChild},Radar:{handler:P.renderGraphicChild},RadialBar:{handler:P.renderGraphicChild},Scatter:{handler:P.renderGraphicChild},Pie:{handler:P.renderGraphicChild},Funnel:{handler:P.renderGraphicChild},Tooltip:{handler:P.renderCursor,once:!0},PolarGrid:{handler:P.renderPolarGrid,once:!0},PolarAngleAxis:{handler:P.renderPolarAxis},PolarRadiusAxis:{handler:P.renderPolarAxis},Customized:{handler:P.renderCustomized}}),P.clipPathId="".concat((j=T.id)!==null&&j!==void 0?j:yc("recharts"),"-clip"),P.throttleTriggeredAfterMouseMove=XN(P.triggeredAfterMouseMove,(E=T.throttleDelay)!==null&&E!==void 0?E:1e3/60),P.state={},P}return nue(M,w),Xce(M,[{key:"componentDidMount",value:function(){var j,E;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(j=this.props.margin.left)!==null&&j!==void 0?j:0,top:(E=this.props.margin.top)!==null&&E!==void 0?E:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var j=this.props,E=j.children,P=j.data,k=j.height,A=j.layout,D=Vn(E,vn);if(D){var I=D.props.defaultIndex;if(!(typeof I!="number"||I<0||I>this.state.tooltipTicks.length-1)){var F=this.state.tooltipTicks[I]&&this.state.tooltipTicks[I].value,L=yS(this.state,P,I,F),q=this.state.tooltipTicks[I].coordinate,U=(this.state.offset.top+k)/2,G=A==="horizontal",K=G?{x:q,y:U}:{y:q,x:U},N=this.state.formattedGraphicalItems.find(function($){var V=$.item;return V.type.name==="Scatter"});N&&(K=le(le({},K),N.props.points[I].tooltipPosition),L=N.props.points[I].tooltipPayload);var H={activeTooltipIndex:I,isTooltipActive:!0,activeLabel:F,activePayload:L,activeCoordinate:K};this.setState(H),this.renderCursor(D),this.accessibilityManager.setIndex(I)}}}},{key:"getSnapshotBeforeUpdate",value:function(j,E){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==E.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==j.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==j.margin){var P,k;this.accessibilityManager.setDetails({offset:{left:(P=this.props.margin.left)!==null&&P!==void 0?P:0,top:(k=this.props.margin.top)!==null&&k!==void 0?k:0}})}return null}},{key:"componentDidUpdate",value:function(j){t2([Vn(j.children,vn)],[Vn(this.props.children,vn)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var j=Vn(this.props.children,vn);if(j&&typeof j.props.shared=="boolean"){var E=j.props.shared?"axis":"item";return c.indexOf(E)>=0?E:o}return o}},{key:"getMouseInfo",value:function(j){if(!this.container)return null;var E=this.container,P=E.getBoundingClientRect(),k=rX(P),A={chartX:Math.round(j.pageX-k.left),chartY:Math.round(j.pageY-k.top)},D=P.width/E.offsetWidth||1,I=this.inRange(A.chartX,A.chartY,D);if(!I)return null;var F=this.state,L=F.xAxisMap,q=F.yAxisMap,U=this.getTooltipEventType(),G=u_(this.state,this.props.data,this.props.layout,I);if(U!=="axis"&&L&&q){var K=Ni(L).scale,N=Ni(q).scale,H=K&&K.invert?K.invert(A.chartX):null,$=N&&N.invert?N.invert(A.chartY):null;return le(le({},A),{},{xValue:H,yValue:$},G)}return G?le(le({},A),G):null}},{key:"inRange",value:function(j,E){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,k=this.props.layout,A=j/P,D=E/P;if(k==="horizontal"||k==="vertical"){var I=this.state.offset,F=A>=I.left&&A<=I.left+I.width&&D>=I.top&&D<=I.top+I.height;return F?{x:A,y:D}:null}var L=this.state,q=L.angleAxisMap,U=L.radiusAxisMap;if(q&&U){var G=Ni(q);return S7({x:A,y:D},G)}return null}},{key:"parseEventsOfWrapper",value:function(){var j=this.props.children,E=this.getTooltipEventType(),P=Vn(j,vn),k={};P&&E==="axis"&&(P.props.trigger==="click"?k={onClick:this.handleClick}:k={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 A=dm(this.props,this.handleOuterEvent);return le(le({},A),k)}},{key:"addListener",value:function(){ew.on(tw,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ew.removeListener(tw,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(j,E,P){for(var k=this.state.formattedGraphicalItems,A=0,D=k.length;A<D;A++){var I=k[A];if(I.item===j||I.props.key===j.key||E===Fa(I.item.type)&&P===I.childIndex)return I}return null}},{key:"renderClipPath",value:function(){var j=this.clipPathId,E=this.state.offset,P=E.left,k=E.top,A=E.height,D=E.width;return B.createElement("defs",null,B.createElement("clipPath",{id:j},B.createElement("rect",{x:P,y:k,height:A,width:D})))}},{key:"getXScales",value:function(){var j=this.state.xAxisMap;return j?Object.entries(j).reduce(function(E,P){var k=s_(P,2),A=k[0],D=k[1];return le(le({},E),{},je({},A,D.scale))},{}):null}},{key:"getYScales",value:function(){var j=this.state.yAxisMap;return j?Object.entries(j).reduce(function(E,P){var k=s_(P,2),A=k[0],D=k[1];return le(le({},E),{},je({},A,D.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(j){var E;return(E=this.state.xAxisMap)===null||E===void 0||(E=E[j])===null||E===void 0?void 0:E.scale}},{key:"getYScaleByAxisId",value:function(j){var E;return(E=this.state.yAxisMap)===null||E===void 0||(E=E[j])===null||E===void 0?void 0:E.scale}},{key:"getItemByXY",value:function(j){var E=this.state,P=E.formattedGraphicalItems,k=E.activeItem;if(P&&P.length)for(var A=0,D=P.length;A<D;A++){var I=P[A],F=I.props,L=I.item,q=L.type.defaultProps!==void 0?le(le({},L.type.defaultProps),L.props):L.props,U=Fa(L.type);if(U==="Bar"){var G=(F.data||[]).find(function($){return wie(j,$)});
410if(G)return{graphicalItem:I,payload:G}}else if(U==="RadialBar"){var K=(F.data||[]).find(function($){return S7(j,$)});if(K)return{graphicalItem:I,payload:K}}else if(iy(I,k)||oy(I,k)||Ad(I,k)){var N=doe({graphicalItem:I,activeTooltipItem:k,itemData:q.data}),H=q.activeIndex===void 0?N:q.activeIndex;return{graphicalItem:le(le({},I),{},{childIndex:H}),payload:Ad(I,k)?q.data[N]:I.props.data[N]}}}return null}},{key:"render",value:function(){var j=this;if(!NA(this))return null;var E=this.props,P=E.children,k=E.className,A=E.width,D=E.height,I=E.style,F=E.compact,L=E.title,q=E.desc,U=l_(E,Wce),G=Le(U,!1);if(F)return B.createElement(qk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},B.createElement(r2,bl({},G,{width:A,height:D,title:L,desc:q}),this.renderClipPath(),IA(P,this.renderMap)));if(this.props.accessibilityLayer){var K,N;G.tabIndex=(K=this.props.tabIndex)!==null&&K!==void 0?K:0,G.role=(N=this.props.role)!==null&&N!==void 0?N:"application",G.onKeyDown=function($){j.accessibilityManager.keyboardEvent($)},G.onFocus=function(){j.accessibilityManager.focus()}}var H=this.parseEventsOfWrapper();return B.createElement(qk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},B.createElement("div",bl({className:He("recharts-wrapper",k),style:le({position:"relative",cursor:"default",width:A,height:D},I)},H,{ref:function(V){j.container=V}}),B.createElement(r2,bl({},G,{width:A,height:D,title:L,desc:q,style:lue}),this.renderClipPath(),IA(P,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(O.Component);je(C,"displayName",n),je(C,"defaultProps",le({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},m)),je(C,"getDerivedStateFromProps",function(w,M){var T=w.dataKey,j=w.data,E=w.children,P=w.width,k=w.height,A=w.layout,D=w.stackOffset,I=w.margin,F=M.dataStartIndex,L=M.dataEndIndex;if(M.updateId===void 0){var q=d_(w);return le(le(le({},q),{},{updateId:0},b(le(le({props:w},q),{},{updateId:0}),M)),{},{prevDataKey:T,prevData:j,prevWidth:P,prevHeight:k,prevLayout:A,prevStackOffset:D,prevMargin:I,prevChildren:E})}if(T!==M.prevDataKey||j!==M.prevData||P!==M.prevWidth||k!==M.prevHeight||A!==M.prevLayout||D!==M.prevStackOffset||!Sl(I,M.prevMargin)){var U=d_(w),G={chartX:M.chartX,chartY:M.chartY,isTooltipActive:M.isTooltipActive},K=le(le({},u_(M,j,A)),{},{updateId:M.updateId+1}),N=le(le(le({},U),G),K);return le(le(le({},N),b(le({props:w},N),M)),{},{prevDataKey:T,prevData:j,prevWidth:P,prevHeight:k,prevLayout:A,prevStackOffset:D,prevMargin:I,prevChildren:E})}if(!t2(E,M.prevChildren)){var H,$,V,oe,z=Vn(E,Hl),Y=z&&(H=($=z.props)===null||$===void 0?void 0:$.startIndex)!==null&&H!==void 0?H:F,Z=z&&(V=(oe=z.props)===null||oe===void 0?void 0:oe.endIndex)!==null&&V!==void 0?V:L,J=Y!==F||Z!==L,ce=!qe(j),pe=ce&&!J?M.updateId:M.updateId+1;return le(le({updateId:pe},b(le(le({props:w},M),{},{updateId:pe,dataStartIndex:Y,dataEndIndex:Z}),M)),{},{prevChildren:E,dataStartIndex:Y,dataEndIndex:Z})}return null}),je(C,"renderActiveDot",function(w,M,T){var j;return O.isValidElement(w)?j=O.cloneElement(w,M):Re(w)?j=w(M):j=B.createElement(ay,M),B.createElement(yt,{className:"recharts-active-dot",key:T},j)});var x=O.forwardRef(function(M,T){return B.createElement(C,bl({},M,{ref:T}))});return x.displayName=C.displayName,x},l8=l3({chartName:"LineChart",GraphicalChild:$i,axisComponents:[{axisType:"xAxis",AxisComp:br},{axisType:"yAxis",AxisComp:wr}],formatAxisMap:JC}),lh=l3({chartName:"BarChart",GraphicalChild:Nr,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:br},{axisType:"yAxis",AxisComp:wr}],formatAxisMap:JC}),vue=l3({chartName:"AreaChart",GraphicalChild:eo,axisComponents:[{axisType:"xAxis",AxisComp:br},{axisType:"yAxis",AxisComp:wr}],formatAxisMap:JC});function us({variant:e="footer",className:t=""}){const{data:n,isLoading:r}=bt.market.getLatestReportMonth.useQuery(void 0,{staleTime:18e5});if(r)return p.jsxs("span",{"data-loc":"client/src/components/DataFreshnessBadge.tsx:26",className:`inline-flex items-center gap-1.5 animate-pulse bg-white/10 rounded-full px-3 py-1 text-xs text-white/40 ${t}`,children:[p.jsx(e0,{"data-loc":"client/src/components/DataFreshnessBadge.tsx:29",className:"w-3.5 h-3.5"}),"Loading data dateâ¦"]});const a=n?.displayLabel??"May 2026";return e==="section"?p.jsxs("span",{"data-loc":"client/src/components/DataFreshnessBadge.tsx:39",className:`inline-flex items-center gap-1.5 bg-blue-50 border border-blue-200 text-blue-700 rounded-full px-3 py-1 text-xs font-medium ${t}`,title:`Market data last refreshed: ${a}`,children:[p.jsx(e0,{"data-loc":"client/src/components/DataFreshnessBadge.tsx:43",className:"w-3.5 h-3.5 text-blue-500"}),"Data as of ",a]}):p.jsxs("span",{"data-loc":"client/src/components/DataFreshnessBadge.tsx:51",className:`inline-flex items-center gap-1.5 text-white/60 text-xs ${t}`,title:`Market data last refreshed: ${a}`,children:[p.jsx(e0,{"data-loc":"client/src/components/DataFreshnessBadge.tsx:55",className:"w-3.5 h-3.5 text-white/40"}),"Data as of ",a]})}const rw={negative:"#2563eb",rock:"#c9a84c"};function xue(e){return`$${(e/1e3).toFixed(0)}K`}function bue(e){const t=e.medianSalePrice??0,n=e.yoyPriceChange!=null?parseFloat(String(e.yoyPriceChange)):0,r=e.inventoryMonths!=null?parseFloat(String(e.inventoryMonths)):null,a=e.saleToListRatio!=null?parseFloat(String(e.saleToListRatio))/100:.97;return{county:`${e.county}
410 County`,medianPrice:t,medianPriceDisplay:`$${t.toLocaleString()}`,yoyChange:n,inventory:r!=null?`${r.toFixed(1)} mo.`:"N/A",daysOnMarket:e.avgDaysOnMarket??0,domPrior:e.avgDaysOnMarket??0,closedSalesYoy:0,newListingsYoy:0,saleToListRatio:a}}function wue(){const{data:e,isLoading:t}=bt.market.getLatestSnapshots.useQuery(),n=e&&e.length>0?e.map(bue):QD,r=e&&e.length>0?(()=>{const l=e[0].reportMonth??"";if(!l)return"Latest";const[c,d]=l.split("-");return new Date(Number(c),Number(d)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():"March 2026",a=n.map(l=>({county:l.county.replace(" County",""),price:l.medianPrice,yoy:l.yoyChange,full:l.county})),o=({active:l,payload:c,label:d})=>{if(l&&c&&c.length){const f=n.find(y=>y.county.replace(" County","")===d);return p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:91",className:"bg-[#1a2744] border border-white/20 rounded-xl p-3 shadow-xl",children:[p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:92",className:"text-white font-bold text-sm mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:d}),p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:95",className:"text-[#60a5fa] font-semibold text-base",children:f?.medianPriceDisplay}),p.jsxs("p",{"data-loc":"client/src/components/MarketOverview.tsx:98",className:`text-xs font-medium mt-0.5 ${(f?.yoyChange??0)>=0?"text-emerald-400":"text-red-400"}`,children:[(f?.yoyChange??0)>=0?"â²":"â¼"," ",Math.abs(f?.yoyChange??0).toFixed(1),"% YoY"]}),p.jsxs("p",{"data-loc":"client/src/components/MarketOverview.tsx:105",className:"text-white/50 text-xs mt-1",children:[f?.inventory," inventory · ",f?.daysOnMarket," days on market"]})]})}return null};return p.jsx("section",{"data-loc":"client/src/components/MarketOverview.tsx:113",id:"overview",className:"py-20 bg-white",children:p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:114",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:116",className:"mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:117",className:"flex flex-wrap items-center gap-3 mb-2",children:[p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:118",className:"section-label",children:"Metroplex Market Overview"}),p.jsx(us,{"data-loc":"client/src/components/MarketOverview.tsx:119",variant:"section"})]}),p.jsxs("h2",{"data-loc":"client/src/components/MarketOverview.tsx:121",className:"text-3xl font-extrabold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:["DFW Market at a Glance â ",r]}),p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:127",className:"text-slate-600 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:"After several years of rapid appreciation, the DFW housing market is normalizing in 2026. Inventory has increased across all major counties, pushing conditions toward equilibrium. Buyers now have more options and more negotiating leverage than at any point since 2019. Sellers who price competitively and present their homes well are still attracting strong interest."})]}),t?p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:136",className:"grid lg:grid-cols-2 gap-12",children:[p.jsx("div",{"data-loc":"client/src/components/MarketOverview.tsx:137",className:"bg-slate-100 rounded-2xl h-80 animate-pulse"}),p.jsx("div",{"data-loc":"client/src/components/MarketOverview.tsx:138",className:"space-y-3",children:[1,2,3,4,5].map(l=>p.jsx("div",{"data-loc":"client/src/components/MarketOverview.tsx:140",className:"bg-slate-100 rounded-xl h-16 animate-pulse"},l))})]}):p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:145",className:"grid lg:grid-cols-2 gap-12 items-start",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:147",children:[p.jsxs("h3",{"data-loc":"client/src/components/MarketOverview.tsx:148",className:"text-base font-bold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:["Median Home Prices by County â ",r]}),p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:154",className:"bg-slate-50 rounded-2xl p-4 border border-slate-100",children:[p.jsx(Vo,{"data-loc":"client/src/components/MarketOverview.tsx:155",width:"100%",height:320,children:p.jsxs(lh,{"data-loc":"client/src/components/MarketOverview.tsx:156",data:a,margin:{top:10,right:10,left:0,bottom:5},children:[p.jsx(Vl,{"data-loc":"client/src/components/MarketOverview.tsx:157",strokeDasharray:"3 3",stroke:"#e2e8f0",vertical:!1}),p.jsx(br,{"data-loc":"client/src/components/MarketOverview.tsx:158",dataKey:"county",tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"}
410,axisLine:!1,tickLine:!1}),p.jsx(wr,{"data-loc":"client/src/components/MarketOverview.tsx:164",tickFormatter:xue,tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1,domain:[25e4,5e5]}),p.jsx(vn,{"data-loc":"client/src/components/MarketOverview.tsx:171",content:p.jsx(o,{"data-loc":"client/src/components/MarketOverview.tsx:171"}),cursor:{fill:"rgba(37,99,235,0.05)"}}),p.jsx(Nr,{"data-loc":"client/src/components/MarketOverview.tsx:172",dataKey:"price",radius:[6,6,0,0],maxBarSize:52,children:a.map((l,c)=>p.jsx(Yh,{"data-loc":"client/src/components/MarketOverview.tsx:174",fill:l.yoy>0||l.county==="Rockwall"?rw.rock:rw.negative,fillOpacity:.85},`cell-${c}`))})]})}),p.jsxs("p",{"data-loc":"client/src/components/MarketOverview.tsx:189",className:"text-xs text-slate-400 text-center mt-2",style:{fontFamily:"'Inter', sans-serif"},children:["Source: Republic Title of Texas, HAR/NTREIS â ",r]})]})]}),p.jsx("div",{"data-loc":"client/src/components/MarketOverview.tsx:196",className:"space-y-3",children:n.map((l,c)=>p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:198",className:"flex items-center justify-between p-4 rounded-xl border border-slate-100 hover:border-[#2563eb]/30 hover:bg-slate-50 transition-all duration-200 group",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:202",className:"flex-1",children:[p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:203",className:"font-bold text-[#1a2744] text-sm group-hover:text-[#2563eb] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:l.county}),p.jsxs("p",{"data-loc":"client/src/components/MarketOverview.tsx:209",className:"text-xs text-slate-500 mt-0.5",style:{fontFamily:"'Inter', sans-serif"},children:[l.inventory," inventory · ",l.daysOnMarket," days on market"]})]}),p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:213",className:"text-right",children:[p.jsx("p",{"data-loc":"client/src/components/MarketOverview.tsx:214",className:"font-extrabold text-[#1a2744] text-base",style:{fontFamily:"'DM Sans', sans-serif"},children:l.medianPriceDisplay}),p.jsxs("div",{"data-loc":"client/src/components/MarketOverview.tsx:220",className:`inline-flex items-center gap-1 text-xs font-semibold px-2 py-0.5 rounded-full mt-1 ${l.yoyChange>0?"bg-emerald-50 text-emerald-700":"bg-red-50 text-red-600"}`,children:[l.yoyChange>0?p.jsx(In,{"data-loc":"client/src/components/MarketOverview.tsx:228",className:"w-3 h-3"}):p.jsx(uc,{"data-loc":"client/src/components/MarketOverview.tsx:230",className:"w-3 h-3"}),l.yoyChange>0?"+":"",l.yoyChange.toFixed(1),"% YoY"]})]})]},`${l.county}-${c}`))})]})]})})}const Sue=[{label:"30-Year Fixed",rate:"6.45%",icon:"ð "},{label:"15-Year Fixed",rate:"5.70%",icon:"ð
"},{label:"5/1 ARM",rate:"6.43%",icon:"ð"},{label:"30-Year VA Loan",rate:"5.77%",icon:"ðï¸"}],Cue=[{period:"Q2 2026",rate:5.9},{period:"Q3 2026",rate:5.8},{period:"Q4 2026",rate:5.7},{period:"2027 Outlook",rate:5.65}];function Mue(){const{data:e,isLoading:t}=bt.market.getMortgageRates.useQuery(),n=e?[{label:"30-Year Fixed",rate:`${parseFloat(String(e.rate30yr??"6.45")).toFixed(2)}%`,icon:"ð "},{label:"15-Year Fixed",rate:`${parseFloat(String(e.rate15yr??"5.70")).toFixed(2)}%`,icon:"ð
"},{label:"5/1 ARM",rate:`${parseFloat(String(e.rate5yr1arm??"6.43")).toFixed(2)}%`,icon:"ð"},{label:"30-Year VA Loan",rate:`${parseFloat(String(e.vaRate30yr??"5.77")).toFixed(2)}%`,icon:"ðï¸"}]:Sue,r=e?parseFloat(String(e.rate30yr??"6.45")).toFixed(2):"6.45",a=e&&Array.isArray(e.rateHistory)&&e.rateHistory.length>0?e.rateHistory.map(d=>({month:d.month,rate:d.rate30yr})):cK,o=e?Cue:lK,l=e?.reportMonth?(()=>{const[d,f]=e.reportMonth.split("-");return new Date(Number(d),Number(f)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():"May 2026",c=({active:d,payload:f,label:y})=>{if(d&&f&&f.length){const m=a.find(g=>g.month===y)?.forecast;return p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:76",className:"bg-[#1a2744] border border-white/20 rounded-xl p-3 shadow-xl",children:[p.jsxs("p",{"data-loc":"client/src/components/MortgageRates.tsx:77",className:"text-white/60 text-xs mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:[y," ",m?"(Forecast)":""]}),p.jsxs("p",{"data-loc":"client/src/components/MortgageRates.tsx:80",className:"text-[#60a5fa] font-bold text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:[f[0].value,"%"]}),p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:83",className:"text-white/50 text-xs",children:"30-Year Fixed"})]})}return null};return p.jsx("section",{"data-loc":"client/src/components/MortgageRates.tsx:91",id:"rates",className:"py-20 bg-[#f8fafc]",children:p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:92",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:94",className:"mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:95",className:"flex flex-wrap items-center gap-3 mb-2",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:96",className:"section-label",children:"Current Mortgage Rates"}),p.jsx(us,{"data-loc":"client/src/components/MortgageRates.tsx:97",variant:"section"})]}),p.jsx("h2",{"data-loc":"client/src/components/MortgageRates.tsx:99",className:"text-3xl font-extrabold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Rates Trending Down â Good News for Buyers"}),p.jsxs("p",{"data-loc":"client/src/components/MortgageRates.tsx:105",className:"text-slate-600 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:["As of ",l,", the 30-year fixed rate sits at approximately"," ",p.jsxs("strong",{"data-loc":"client/src/components/MortgageRates.tsx:107",className:"text-[#1a2744]",children:[r,"%"]}),", down from highs above 7% seen in 2023. Fannie Mae forecasts continued gradual declines through the remainder of 2026 and into 2027, which is expected to bring more buyers back to the market."]})]}),t?p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:114",className:"space-y-8",children:[p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:115",className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[1,2,3,4].map(d=>p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:117",className:"bg-slate-200 rounded-2xl h-28 animate-pulse"},d))}),p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:120",className:"bg-slate-100 rounded-2xl h-72 animate-pulse"})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:125",className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-12",children:n.map(d=>p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:127",className:"bg-[#1a2744] rounded-2xl p-5 text-center hover:bg-[#1e3160] transition-colors duration-200",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:131",className:"text-3xl mb-2",children:d.icon}),p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:132",className:"text-white font-extrabold text-2xl mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:d.rate}),p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:138",className:"text-white/60 text-xs font-medium tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:d.label})]},d.label))}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:145",className:"grid lg:grid-cols-3 gap-8 items-start",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:147",className:"lg:col-span-2",children:[p.jsx("h3",{"data-loc":"client/src/components/MortgageRates.tsx:148",className:"text-base font-bold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"30-Year Fixed Rate Trend (2024â2026 + Forecast)"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:154",className:"bg-white rounded-2xl p-4 border border-slate-100 shadow-sm",children:[p.jsx(Vo,{"data-loc":"client/src/components/MortgageRates.tsx:155",width:"100%",height:280,children:p.jsxs(l8,{"data-loc":"client/src/components/MortgageRates.tsx:156",data:a,margin:{top:10,right:20,left
410:0,bottom:5},children:[p.jsx(Vl,{"data-loc":"client/src/components/MortgageRates.tsx:157",strokeDasharray:"3 3",stroke:"#f1f5f9"}),p.jsx(br,{"data-loc":"client/src/components/MortgageRates.tsx:158",dataKey:"month",tick:{fontSize:10,fill:"#94a3b8",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1}),p.jsx(wr,{"data-loc":"client/src/components/MortgageRates.tsx:164",domain:[5.4,7.2],tickFormatter:d=>`${d}%`,tick:{fontSize:10,fill:"#94a3b8",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1}),p.jsx(vn,{"data-loc":"client/src/components/MortgageRates.tsx:171",content:p.jsx(c,{"data-loc":"client/src/components/MortgageRates.tsx:171"})}),p.jsx(ef,{"data-loc":"client/src/components/MortgageRates.tsx:172",x:a[a.length-1]?.month,stroke:"#2563eb",strokeDasharray:"4 4",label:{value:"Today",position:"top",fontSize:10,fill:"#2563eb"}}),p.jsx($i,{"data-loc":"client/src/components/MortgageRates.tsx:178",type:"monotone",dataKey:"rate",stroke:"#2563eb",strokeWidth:2.5,dot:d=>{const f=a[d.index]?.forecast;return p.jsx("circle",{"data-loc":"client/src/components/MortgageRates.tsx:186",cx:d.cx,cy:d.cy,r:f?3:4,fill:f?"#93c5fd":"#2563eb",stroke:"white",strokeWidth:2},d.index)},activeDot:{r:6,fill:"#2563eb",stroke:"white",strokeWidth:2},strokeDasharray:"0"})]})}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:202",className:"flex items-center justify-center gap-6 mt-2",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:203",className:"flex items-center gap-2",children:[p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:204",className:"w-6 h-0.5 bg-[#2563eb]"}),p.jsx("span",{"data-loc":"client/src/components/MortgageRates.tsx:205",className:"text-xs text-slate-500",children:"Actual"})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:207",className:"flex items-center gap-2",children:[p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:208",className:"w-6 h-0.5 bg-[#93c5fd] border-dashed border-t-2 border-[#93c5fd]",style:{borderStyle:"dashed"}}),p.jsx("span",{"data-loc":"client/src/components/MortgageRates.tsx:209",className:"text-xs text-slate-500",children:"Forecast"})]})]}),p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:212",className:"text-xs text-slate-400 text-center mt-1",children:"Source: Freddie Mac Primary Mortgage Market Survey · Fannie Mae Economic Forecast"})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:219",children:[p.jsx("h3",{"data-loc":"client/src/components/MortgageRates.tsx:220",className:"text-base font-bold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Fannie Mae Rate Forecast"}),p.jsx("div",{"data-loc":"client/src/components/MortgageRates.tsx:226",className:"bg-white rounded-2xl border border-slate-100 shadow-sm overflow-hidden",children:o.map((d,f)=>p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:228",className:`flex items-center justify-between px-5 py-4 ${f<o.length-1?"border-b border-slate-100":""}`,children:[p.jsx("span",{"data-loc":"client/src/components/MortgageRates.tsx:234",className:"text-sm text-slate-600",style:{fontFamily:"'Inter', sans-serif"},children:d.period}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:237",className:"flex items-center gap-2",children:[p.jsx(uc,{"data-loc":"client/src/components/MortgageRates.tsx:238",className:"w-3.5 h-3.5 text-emerald-500"}),p.jsxs("span",{"data-loc":"client/src/components/MortgageRates.tsx:239",className:"font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:["~",d.rate,"%"]})]})]},d.period))}),p.jsxs("div",{"data-loc":"client/src/components/MortgageRates.tsx:250",className:"mt-4 bg-emerald-50 border border-emerald-200 rounded-xl p-4",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageRates.tsx:251",className:"text-emerald-800 text-sm font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"What This Means"}),p.jsxs("p",{"data-loc":"client/src/components/MortgageRates.tsx:254",className:"text-emerald-700 text-xs leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:["A drop from ",r,"% to ~5.70% on a $400K loan reduces the monthly payment by approximately",p.jsx("strong",{"data-loc":"client/src/components/MortgageRates.tsx:256",children:" $190/month"})," â a significant affordability improvement for buyers."]})]})]})]})]})]})})}function aw({value:e,suffix:t="%"}){const n=e>0;return p.jsxs("span",{"data-loc":"client/src/components/CountyData.tsx:23",className:`inline-flex items-center gap-0.5 text-xs font-semibold px-2 py-0.5 rounded-full ${n?"bg-emerald-50 text-emerald-700":"bg-red-50 text-red-600"}`,children:[n?p.jsx(In,{"data-loc":"client/src/components/CountyData.tsx:28",className:"w-3 h-3"}):p.jsx(uc,{"data-loc":"client/src/components/CountyData.tsx:28",className:"w-3 h-3"}),n?"+":"",e,t]})}const Oue=({active:e,payload:t,label:n})=>e&&t&&t.length?p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:39",className:"bg-[#1a2744] border border-white/20 rounded-xl p-3 shadow-xl",children:[p.jsxs("p",{"data-loc":"client/src/components/CountyData.tsx:40",className:"text-white font-bold text-sm mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[n," County"]}),t.map(r=>p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:44",className:"flex items-center gap-2 mb-1",children:[p.jsx("div",{"data-loc":"client/src/components/CountyData.tsx:45",className:"w-2 h-2 rounded-full",style:{background:r.fill}}),p.jsxs("span",{"data-loc":"client/src/components/CountyData.tsx:46",className:"text-white/70 text-xs",children:[r.name,":"]}),p.jsxs("span",{"data-loc":"client/src/components/CountyData.tsx:47",className:"text-white font-semibold text-xs",children:[r.value," days"]})]},r.name))]}):null;function Tue(e){const t=e.medianSalePrice??0,n=e.yoyPriceChange!=null?parseFloat(String(e.yoyPriceChange)):0,r=e.inventoryMonths!=null?parseFloat(String(e.inventoryMonths)):null,a=e.saleToListRatio!=null?parseFloat(String(e.saleToListRatio))/100:.97;return{county:`${e.county}
410 County`,medianPrice:t,medianPriceDisplay:`$${t.toLocaleString()}`,yoyChange:parseFloat(n.toFixed(1)),inventory:r!=null?`${r.toFixed(1)} mo.`:"N/A",daysOnMarket:e.avgDaysOnMarket??0,domPrior:e.avgDaysOnMarket??0,closedSalesYoy:0,newListingsYoy:0,saleToListRatio:a}}function Pue(){const{data:e,isLoading:t}=bt.market.getLatestSnapshots.useQuery(),n=e&&e.length>0?e.map(Tue):QD,r=e&&e.length>0?(()=>{const c=e[0].reportMonth??"";if(!c)return"Latest";const[d,f]=c.split("-");return new Date(Number(d),Number(f)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():"March 2026",a=e&&e.length>0?(()=>{const c=e[0].reportMonth??"2026-03",[d,f]=c.split("-");return new Date(Number(d),Number(f)-2,1).toLocaleDateString("en-US",{month:"short",year:"numeric"})})():"Mar 2025",o=e&&e.length>0?(()=>{const c=e[0].reportMonth??"2026-03",[d,f]=c.split("-");return new Date(Number(d),Number(f)-1,1).toLocaleDateString("en-US",{month:"short",year:"numeric"})})():"Mar 2026",l=n.map(c=>({county:c.county.replace(" County",""),[a]:c.domPrior,[o]:c.daysOnMarket}));return p.jsx("section",{"data-loc":"client/src/components/CountyData.tsx:131",id:"county",className:"py-20 bg-white",children:p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:132",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:134",className:"mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:135",className:"flex flex-wrap items-center gap-3 mb-2",children:[p.jsx("p",{"data-loc":"client/src/components/CountyData.tsx:136",className:"section-label",children:"County-Level Market Data"}),p.jsx(us,{"data-loc":"client/src/components/CountyData.tsx:137",variant:"section"})]}),p.jsxs("h2",{"data-loc":"client/src/components/CountyData.tsx:139",className:"text-3xl font-extrabold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:["County Breakdown â ",r]}),p.jsx("p",{"data-loc":"client/src/components/CountyData.tsx:145",className:"text-slate-600 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:"Real estate markets vary significantly across DFW's major counties. Collin County is experiencing the largest price corrections, while Rockwall County stands out as the only county posting year-over-year price gains. Tarrant County remains the most supply-constrained, with only 3.2 months of inventory."})]}),t?p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:154",className:"space-y-8",children:[p.jsx("div",{"data-loc":"client/src/components/CountyData.tsx:155",className:"bg-slate-100 rounded-2xl h-48 animate-pulse"}),p.jsx("div",{"data-loc":"client/src/components/CountyData.tsx:156",className:"bg-slate-100 rounded-2xl h-72 animate-pulse"})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{"data-loc":"client/src/components/CountyData.tsx:161",className:"overflow-x-auto rounded-2xl border border-slate-200 shadow-sm mb-12",children:p.jsxs("table",{"data-loc":"client/src/components/CountyData.tsx:162",className:"w-full text-sm",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx("thead",{"data-loc":"client/src/components/CountyData.tsx:163",children:p.jsxs("tr",{"data-loc":"client/src/components/CountyData.tsx:164",className:"bg-[#1a2744] text-white",children:[p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:165",className:"text-left px-5 py-4 font-semibold text-xs tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:"County"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:168",className:"text-right px-4 py-4 font-semibold text-xs tracking-wide",children:"Median Price"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:169",className:"text-center px-4 py-4 font-semibold text-xs tracking-wide",children:"YoY Change"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:170",className:"text-center px-4 py-4 font-semibold text-xs tracking-wide",children:"Inventory"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:171",className:"text-center px-4 py-4 font-semibold text-xs tracking-wide",children:"Days on Market"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:172",className:"text-center px-4 py-4 font-semibold text-xs tracking-wide",children:"Closed Sales YoY"}),p.jsx("th",{"data-loc":"client/src/components/CountyData.tsx:173",className:"text-center px-4 py-4 font-semibold text-xs tracking-wide",children:"New Listings YoY"})]})}),p.jsx("tbody",{"data-loc":"client/src/components/CountyData.tsx:176",children:n.map((c,d)=>p.jsxs("tr",{"data-loc":"client/src/components/CountyData.tsx:178",className:`border-t border-slate-100 hover:bg-slate-50 transition-colors ${d%2===0?"bg-white":"bg-slate-50/50"}`,children:[p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:184",className:"px-5 py-4 font-semibold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:c.county}),p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:187",className:"px-4 py-4 text-right font-bold text-[#1a2744]",children:c.medianPriceDisplay}),p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:190",className:"px-4 py-4 text-center",children:p.jsx(aw,{"data-loc":"client/src/components/CountyData.tsx:191",value:c.yoyChange})}),p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:193",className:"px-4 py-4 text-center text-slate-600",children:c.inventory}),p.jsxs("td",{"data-loc":"client/src/components/CountyData.tsx:194",className:"px-4 py-4 text-center text-slate-600",children:[c.daysOnMarket," days"]}),p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:195",className:"px-4 py-4 text-center",children:p.jsx(aw,{"data-loc":"client/src/components/CountyData.tsx:196",value:c.closedSalesYoy})}),p.jsx("td",{"data-loc":"client/src/components/CountyData.tsx:198",className:"px-4 py-4 text-center",children:p.jsx(aw,{"data-loc":"client/src/components/CountyData.tsx:199",value:c.newListingsYoy})})]},`${c.county}-${d}`))})]})}),p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:208",className:"mb-12",children:[p.jsx("h3",{"data-loc":"client/src/components/CountyData.tsx:209",className:"text-base font-bold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Sold vs. List Price by County â Market Competitiveness"}),p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:215",className:"bg-slate-50 rounded-2xl p-4 border border-slate-100",children:[p.jsx(Vo,{"data-loc":"client/src/components/CountyData.tsx:216",width:"100%",height:280,children:p.jsxs(lh,{"data-loc":"client/src/components/CountyData.tsx:217",data:n.map(c=>({county:c.county.replace(" County",""),"Sold/List %":Math.round(c.saleToListRatio*100)}
410)),margin:{top:10,right:20,left:0,bottom:5},children:[p.jsx(Vl,{"data-loc":"client/src/components/CountyData.tsx:224",strokeDasharray:"3 3",stroke:"#e2e8f0",vertical:!1}),p.jsx(br,{"data-loc":"client/src/components/CountyData.tsx:225",dataKey:"county",tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1}),p.jsx(wr,{"data-loc":"client/src/components/CountyData.tsx:231",tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1,domain:[95,102],unit:"%"}),p.jsx(vn,{"data-loc":"client/src/components/CountyData.tsx:238",content:({active:c,payload:d,label:f})=>{if(c&&d&&d.length){const y=d[0].value,m=y>100?"Seller's Market":y===100?"Balanced":"Buyer-Friendly";return p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:244",className:"bg-[#1a2744] border border-white/20 rounded-xl p-3 shadow-xl",children:[p.jsxs("p",{"data-loc":"client/src/components/CountyData.tsx:245",className:"text-white font-bold text-sm mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:[f," County"]}),p.jsxs("p",{"data-loc":"client/src/components/CountyData.tsx:248",className:"text-white/70 text-xs mb-1",children:["Sold/List Ratio: ",p.jsxs("span",{"data-loc":"client/src/components/CountyData.tsx:248",className:"text-white font-semibold",children:[y,"%"]})]}),p.jsx("p",{"data-loc":"client/src/components/CountyData.tsx:249",className:"text-xs text-emerald-300 font-semibold",children:m})]})}return null},cursor:{fill:"rgba(37,99,235,0.04)"}}),p.jsx(Nr,{"data-loc":"client/src/components/CountyData.tsx:257",dataKey:"Sold/List %",fill:"#06b6d4",radius:[4,4,0,0],maxBarSize:48})]})}),p.jsxs("p",{"data-loc":"client/src/components/CountyData.tsx:260",className:"text-xs text-slate-400 text-center mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/CountyData.tsx:261",className:"text-emerald-600 font-semibold",children:">100% = Seller's Market"})," ⢠",p.jsx("span",{"data-loc":"client/src/components/CountyData.tsx:261",className:"text-slate-600",children:"100% = Balanced"})," ⢠",p.jsx("span",{"data-loc":"client/src/components/CountyData.tsx:261",className:"text-blue-600 font-semibold",children:"<100% = Buyer-Friendly"})]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:267",children:[p.jsxs("h3",{"data-loc":"client/src/components/CountyData.tsx:268",className:"text-base font-bold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:["Days on Market by County â ",a," vs. ",o]}),p.jsxs("div",{"data-loc":"client/src/components/CountyData.tsx:274",className:"bg-slate-50 rounded-2xl p-4 border border-slate-100",children:[p.jsx(Vo,{"data-loc":"client/src/components/CountyData.tsx:275",width:"100%",height:280,children:p.jsxs(lh,{"data-loc":"client/src/components/CountyData.tsx:276",data:l,margin:{top:10,right:20,left:0,bottom:5},children:[p.jsx(Vl,{"data-loc":"client/src/components/CountyData.tsx:277",strokeDasharray:"3 3",stroke:"#e2e8f0",vertical:!1}),p.jsx(br,{"data-loc":"client/src/components/CountyData.tsx:278",dataKey:"county",tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1}),p.jsx(wr,{"data-loc":"client/src/components/CountyData.tsx:284",tick:{fontSize:11,fill:"#64748b",fontFamily:"'Inter', sans-serif"},axisLine:!1,tickLine:!1,unit:" d"}),p.jsx(vn,{"data-loc":"client/src/components/CountyData.tsx:290",content:p.jsx(Oue,{"data-loc":"client/src/components/CountyData.tsx:290"}),cursor:{fill:"rgba(37,99,235,0.04)"}}),p.jsx(Bi,{"data-loc":"client/src/components/CountyData.tsx:291",wrapperStyle:{fontSize:"12px",fontFamily:"'Inter', sans-serif",paddingTop:"12px"}}),p.jsx(Nr,{"data-loc":"client/src/components/CountyData.tsx:294",dataKey:a,fill:"#93c5fd",radius:[4,4,0,0],maxBarSize:32}),p.jsx(Nr,{"data-loc":"client/src/components/CountyData.tsx:295",dataKey:o,fill:"#2563eb",radius:[4,4,0,0],maxBarSize:32})]})}),p.jsx("p",{"data-loc":"client/src/components/CountyData.tsx:298",className:"text-xs text-slate-400 text-center mt-2",children:"Source: Republic Title of Texas, HAR/NTREIS"})]})]})]})]})})}const Gi=[{zip:"75002",city:"Allen",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:49e4,daysOnMarket:44,pricePerSqft:214,yoyChange:2,competeScore:72,saleToList:99.6,zillowEstimate:494500},{zip:"75009",city:"Celina",altCities:[],county:"Collin",marketType:"Hot Seller's Market",medianPrice:531e3,daysOnMarket:37,pricePerSqft:199,yoyChange:3.2,competeScore:80,saleToList:100.3,zillowEstimate:542100},{zip:"75013",city:"Allen",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:521e3,daysOnMarket:40,pricePerSqft:225,yoyChange:2.1,competeScore:74,saleToList:99.9,zillowEstimate:526200},{zip:"75023",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:439e3,daysOnMarket:55,pricePerSqft:199,yoyChange:.5,competeScore:62,saleToList:98.9,zillowEstimate:436400},{zip:"75024",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:664e3,daysOnMarket:59,pricePerSqft:245,yoyChange:-2.2,competeScore:58,saleToList:98.3,zillowEstimate:641700},{zip:"75025",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:48e4,daysOnMarket:53,pricePerSqft:204,yoyChange:.6,competeScore:64,saleToList:98.6,zillowEstimate:478e3},{zip:"75026",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:454e3,daysOnMarket:57,pricePerSqft:202,yoyChange:.6,competeScore:62,saleToList:98.4,zillowEstimate:452100},{zip:"75033",city:"Frisco",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:602e3,daysOnMarket:42,pricePerSqft:230,yoyChange:2.5,competeScore:70,saleToList:99.6,zillowEstimate:610800},{zip:"75034",city:"Frisco",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:633e3,daysOnMarket:40,pricePerSqft:237,yoyChange:2.7,competeScore:72,saleToList:99.8,zillowEstimate:643100},{zip:"75035",city:"Frisco",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:592e3,daysOnMarket:43,pricePerSqft:225,yoyChange:2.3,competeScore:70,saleToList:99.5,zillowEstimate:599600},{zip:"75069",city:"McKinney",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:398e3,daysOnMarket:58,pricePerSqft:182,yoyChange:0,competeScore:60,saleToList:98.1,zillowEstimate:394e3},{zip:"75070",city:"McKinney",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:459e3,daysOnMarket:46,pricePerSqft:199,yoyChange:1.8,competeScore:68,saleToList:99.3,zillowEstimate:462900},{zip:"75071",city:"McKinney",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:49e4,daysOnMarket:44,pricePerSqft:209,yoyChange:2.1,competeScore:70,saleToList:99.5,zillowEstimate:495e3},{zip:"75072",city:"McKinney",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:531e3,daysOnMarket:42,pricePerSqft:220,yoyChange:2.5,competeScore:72,saleToList:99.6,zillowEstimate:538400},{zip:"75074",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:429e3,daysOnMarket:56,pricePerSqft:194,yoyChange:.3,competeScore:62,saleToList:98.5,zillowEstimate:425600},{zip:"75075",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:419e3,daysOnMarket:58,pricePerSqft:192,yoyChange:.1,competeScore:60,saleToList:98.3,zillowEstimate:414800},{zip:"75078",city:"Prosper",altCities:[],county:"Collin",marketType:"Hot Seller's Market",medianPrice:694e3,daysOnMarket:34,pricePerSqft:260,yoyChange:3.6,competeScore:82,saleToList:100.6,zillowEstimate:712e3},{zip:"75082",city:"Richardson",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:449e3,daysOnMarket:53,pricePerSqft:204,yoyChange:.8,competeScore:64,saleToList:98.6,zillowEstimate:448100},{zip:"75086",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:439e3,daysOnMarket:55,pricePerSqft:199,yoyChange:.6,competeScore:62,saleToList:98.5,zillowEstimate:436800},{zip:"75093",city:"Plano",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:562e3,daysOnMarket:50,pricePerSqft:225,yoyChange:1.3,competeScore:66,saleToList:98.9,zillowEstimate:563e3},{zip:"75094",city:"Plano",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:49e4,daysOnMarket:53,pricePerSqft:212,yoyChange:1,competeScore:64,saleToList:98.6,zillowEstimate:489
410600},{zip:"75097",city:"Weston",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:388e3,daysOnMarket:63,pricePerSqft:174,yoyChange:.6,competeScore:55,saleToList:97.9,zillowEstimate:386e3},{zip:"75098",city:"Wylie",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:398e3,daysOnMarket:47,pricePerSqft:184,yoyChange:1.7,competeScore:68,saleToList:99.1,zillowEstimate:400600},{zip:"75121",city:"Copeville",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:296e3,daysOnMarket:79,pricePerSqft:148,yoyChange:-.7,competeScore:42,saleToList:96.6,zillowEstimate:290900},{zip:"75164",city:"Josephine",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:286e3,daysOnMarket:82,pricePerSqft:143,yoyChange:-.9,competeScore:40,saleToList:96.3,zillowEstimate:280200},{zip:"75166",city:"Lavon",altCities:[],county:"Collin",marketType:"Balanced Market",medianPrice:368e3,daysOnMarket:58,pricePerSqft:168,yoyChange:1.3,competeScore:58,saleToList:98.1,zillowEstimate:368500},{zip:"75173",city:"Nevada",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:301e3,daysOnMarket:76,pricePerSqft:151,yoyChange:-.4,competeScore:44,saleToList:96.9,zillowEstimate:297e3},{zip:"75252",city:"Dallas",altCities:["Far North Dallas"],county:"Collin",marketType:"Balanced Market",medianPrice:47e4,daysOnMarket:53,pricePerSqft:209,yoyChange:1.2,competeScore:64,saleToList:98.6,zillowEstimate:470100},{zip:"75287",city:"Dallas",altCities:["Far North Dallas"],county:"Collin",marketType:"Balanced Market",medianPrice:459e3,daysOnMarket:54,pricePerSqft:206,yoyChange:1.1,competeScore:63,saleToList:98.5,zillowEstimate:459400},{zip:"75407",city:"Princeton",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:347e3,daysOnMarket:50,pricePerSqft:161,yoyChange:2.3,competeScore:66,saleToList:99.1,zillowEstimate:351500},{zip:"75409",city:"Anna",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:368e3,daysOnMarket:48,pricePerSqft:168,yoyChange:2.6,competeScore:68,saleToList:99.3,zillowEstimate:373100},{zip:"75424",city:"Blue Ridge",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:291e3,daysOnMarket:84,pricePerSqft:145,yoyChange:-.4,competeScore:40,saleToList:96.1,zillowEstimate:286600},{zip:"75442",city:"Farmersville",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:301e3,daysOnMarket:80,pricePerSqft:151,yoyChange:-.2,competeScore:42,saleToList:96.6,zillowEstimate:297400},{zip:"75454",city:"Melissa",altCities:[],county:"Collin",marketType:"Seller's Market",medianPrice:388e3,daysOnMarket:46,pricePerSqft:176,yoyChange:2.5,competeScore:70,saleToList:99.4,zillowEstimate:393400},{zip:"75485",city:"Westminster",altCities:[],county:"Collin",marketType:"Buyer-Friendly",medianPrice:276e3,daysOnMarket:89,pricePerSqft:141,yoyChange:-1.2,competeScore:38,saleToList:95.9,zillowEstimate:269500},{zip:"75001",city:"Addison",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:48,pricePerSqft:214,yoyChange:1.7,competeScore:67,saleToList:98.9,zillowEstimate:430800},{zip:"75006",city:"Carrollton",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:387e3,daysOnMarket:56,pricePerSqft:188,yoyChange:.5,competeScore:61,saleToList:98.2,zillowEstimate:385300},{zip:"75011",city:"Carrollton",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:377e3,daysOnMarket:58,pricePerSqft:185,yoyChange:.4,competeScore:59,s
410aleToList:98,zillowEstimate:374800},{zip:"75014",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:346e3,daysOnMarket:59,pricePerSqft:178,yoyChange:.3,competeScore:59,saleToList:97.9,zillowEstimate:344e3},{zip:"75015",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:341e3,daysOnMarket:60,pricePerSqft:175,yoyChange:.2,competeScore:57,saleToList:97.7,zillowEstimate:338500},{zip:"75016",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:336e3,daysOnMarket:62,pricePerSqft:173,yoyChange:0,competeScore:57,saleToList:97.6,zillowEstimate:332900},{zip:"75017",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:331e3,daysOnMarket:63,pricePerSqft:171,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:327500},{zip:"75019",city:"Coppell",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:59e4,daysOnMarket:41,pricePerSqft:244,yoyChange:2.2,competeScore:71,saleToList:99.7,zillowEstimate:597800},{zip:"75030",city:"Rowlett",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:366e3,daysOnMarket:56,pricePerSqft:178,yoyChange:.7,competeScore:61,saleToList:98.3,zillowEstimate:365600},{zip:"75038",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:356e3,daysOnMarket:58,pricePerSqft:181,yoyChange:.4,competeScore:59,s
410aleToList:98.1,zillowEstimate:354500},{zip:"75039",city:"Irving",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:489e3,daysOnMarket:45,pricePerSqft:224,yoyChange:1.9,competeScore:69,saleToList:99.4,zillowEstimate:493500},{zip:"75040",city:"Garland",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:316e3,daysOnMarket:63,pricePerSqft:165,yoyChange:.2,competeScore:57,saleToList:97.7,zillowEstimate:313200},{zip:"75041",city:"Garland",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:65,pricePerSqft:158,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:297300},{zip:"75042",city:"Garland",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:31e4,daysOnMarket:64,pricePerSqft:161,yoyChange:0,competeScore:56,saleToList:97.5,zillowEstimate:307700},{zip:"75043",city:"Garland",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:326e3,daysOnMarket:62,pricePerSqft:168,yoyChange:.3,competeScore:58,saleToList:97.8,zillowEstimate:323800},{zip:"75044",city:"Garland",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:336e3,daysOnMarket:59,pricePerSqft:171,yoyChange:.5,competeScore:60,saleToList:98,zillowEstimate:334600},{zip:"75048",city:"Sachse",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:387e3,daysOnMarket:50,pricePerSqft:185,yoyChange:1.7,competeScore:67,saleToList:98.9,zillowEstimate:389700},{zip:"75050",city:"Grand Prairie",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:65,pricePerSqft:158,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:297300},{zip:"75051",city:"Grand Prairie",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:29e4,daysOnMarket:67,pricePerSqft:153,yoyChange:-.3,competeScore:53,saleToList:97.1,zillowEstimate:286500},{zip:"75052",city:"Grand Prairie",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:316e3,daysOnMarket:63,pricePerSqft:165,yoyChange:.2,competeScore:57,saleToList:97.7,zillowEstimate:313200},{zip:"75060",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:326e3,daysOnMarket:62,pricePerSqft:168,yoyChange:.3,competeScore:58,saleToList:97.8,zillowEstimate:323800},{zip:"75061",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:316e3,daysOnMarket:64,pricePerSqft:163,yoyChange:0,competeScore:56,saleToList:97.5,zillowEstimate:312700},{zip:"75062",city:"Irving",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:336e3,daysOnMarket:59,pricePerSqft:171,yoyChange:.5,competeScore:60,saleToList:98,zillowEstimate:334600},{zip:"75063",city:"Irving",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:48,pricePerSqft:204,yoyChange:1.8,competeScore:67,saleToList:99.1,zillowEstimate:431400},{zip:"75080",city:"Richardson",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:438e3,daysOnMarket:54,pricePerSqft:199,yoyChange:1,competeScore:63,saleToList:98.4,zillowEstimate:438200},{zip:"75081",city:"Richardson",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:428e3,daysOnMarket:55,pricePerSqft:195,yoyChange:.8,competeScore:62,saleToList:98.3,zillowEstimate:427100},{zip:"75083",city:"Richardson",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:422e3,daysOnMarket:56,pricePerSqft:193,yoyChange:.7,competeScore:61,saleToList:98.2,zillowEstimate:421400},{zip:"75085",city:"Richardson",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:433e3,daysOnMarket:54,pricePerSqft:196,yoyChange:.9,competeScore:62,saleToList:98.3,zillowEstimate:432700},{zip:"75088",city:"Rowlett",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:361e3,daysOnMarket:57,pricePerSqft:175,yoyChange:.5,competeScore:60,saleToList:98.1,zillowEstimate:359900},{zip:"75089",city:"Rowlett",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:372e3,daysOnMarket:55,pricePerSqft:179,yoyChange:.8,competeScore:62,saleToList:98.3,zillowEstimate:371200},{zip:"75099",city:"Coppell",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:58e4,daysOnMarket:42,pricePerSqft:242,yoyChange:2,competeScore:70,saleToList:99.5,zillowEstimate:586600},{zip:"75104",city:"Cedar Hill",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:326e3,daysOnMarket:63,pricePerSqft:165,yoyChange:.2,competeScore:57,saleToList:97.7,zillowEstimate:323300},{zip:"75115",city:"DeSoto",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:316e3,daysOnMarket:65,pricePerSqft:161,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:312400},{zip:"75116",city:"Duncanville",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:67,pricePerSqft:155,yoyChange:-.3,competeScore:53,saleToList:97.1,zillowEstimate:296600},{zip:"75134",city:"Lancaster",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:285e3,daysOnMarket:70,pricePerSqft:148,yoyChange:-.6,competeScore:51,saleToList:96.7,zillowEstimate:280800},{zip:"75137",city:"Duncanville",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:305e3,daysOnMarket:66,pricePerSqft:158,yoyChange:-.2,competeScore:54,saleToList:97.2,zillowEstimate:302e3},{zip:"75141",city:"Hutchins",altCities:[],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:27e4,daysOnMarket:76,pricePerSqft:140,yoyChange:-1.1,competeScore:43,saleToList:96.1,zillowEstimate:264400},{zip:"75146",city:"Lancaster",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:29e4,daysOnMarket:69,pricePerSqft:151,yoyChange:-.5,competeScore:52,saleToList:96.9,zillowEstimate:286100},{zip:"75149",city:"Mesquite",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:295e3,daysOnMarket:67,pricePerSqft:153,yoyChange:-.2,competeScore:54,saleToList:97.2,zillowEstimate:292e3},{zip:"75150",city:"Mesquite",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:66,pricePerSqft:155,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:297300},{zip:"75159",city:"Seagoville",altCities:[],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:275e3,daysOnMarket:73,pricePerSqft:143,yoyChange:-.8,competeScore:45,saleToList:96.4,zillowEstimate:27e4}
410,{zip:"75172",city:"Wilmer",altCities:[],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:26e4,daysOnMarket:78,pricePerSqft:137,yoyChange:-1.3,competeScore:41,saleToList:95.9,zillowEstimate:253700},{zip:"75180",city:"Balch Springs",altCities:[],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:28e4,daysOnMarket:70,pricePerSqft:145,yoyChange:-.7,competeScore:49,saleToList:96.7,zillowEstimate:275500},{zip:"75181",city:"Mesquite",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:305e3,daysOnMarket:65,pricePerSqft:158,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:302300},{zip:"75182",city:"Sunnyvale",altCities:[],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:48,pricePerSqft:202,yoyChange:1.8,competeScore:67,saleToList:98.9,zillowEstimate:431400},{zip:"75201",city:"Dallas",altCities:["Downtown Dallas"],county:"Dallas",marketType:"Seller's Market",medianPrice:489e3,daysOnMarket:45,pricePerSqft:326,yoyChange:2.2,competeScore:69,saleToList:99.4,zillowEstimate:494700},{zip:"75202",city:"Dallas",altCities:["Downtown Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:387e3,daysOnMarket:56,pricePerSqft:285,yoyChange:.7,competeScore:61,saleToList:98.3,zillowEstimate:385900},{zip:"75203",city:"Dallas",altCities:["Oak Cliff"],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:65,pricePerSqft:199,yoyChange:0,competeScore:55,saleToList:97.4,zillowEstimate:297600},{zip:"75204",city:"Dallas",altCities:["Uptown"],county:"Dallas",marketType:"Seller's Market",medianPrice:529e3,daysOnMarket:38,pricePerSqft:346,yoyChange:3.2,competeScore:79,saleToList:100.1,zillowEstimate:541300},{zip:"75205",city:"Dallas",altCities:["Highland Park"],county:"Dallas",marketType:"Seller's Market",medianPrice:1883e3,daysOnMarket:49,pricePerSqft:489,yoyChange:2.5,competeScore:74,saleToList:99.7,zillowEstimate:1913400},{zip:"75206",city:"Dallas",altCities:["Lower Greenville"],county:"Dallas",marketType:"Hot Seller's Market",medianPrice:59e4,daysOnMarket:39,pricePerSqft:366,yoyChange:3.3,competeScore:81,saleToList:100.3,zillowEstimate:604600},{zip:"75207",city:"Dallas",altCities:["Design District"],county:"Dallas",marketType:"Seller's Market",medianPrice:458e3,daysOnMarket:48,pricePerSqft:316,yoyChange:1.9,competeScore:69,saleToList:99.2,zillowEstimate:462700},{zip:"75208",city:"Dallas",altCities:["Oak Cliff/Kessler Park"],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:50,pricePerSqft:300,yoyChange:1.8,competeScore:67,saleToList:99,zillowEstimate:431400},{zip:"75209",city:"Dallas",altCities:["Bluffview/Lovers Lane"],county:"Dallas",marketType:"Seller's Market",medianPrice:692e3,daysOnMarket:43,pricePerSqft:387,yoyChange:2.3,competeScore:71,saleToList:99.5,zillowEstimate:701900},{zip:"75210",city:"Dallas",altCities:["South Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:188e3,daysOnMarket:81,pricePerSqft:122,yoyChange:-1.6,competeScore:37,saleToList:95.4,zillowEstimate:183600},{zip:"75211",city:"Dallas",altCities:["West Dallas/Oak Cliff"],county:"Dallas",marketType:"Balanced Market",medianPrice:27e4,daysOnMarket:67,pricePerSqft:171,yoyChange:-.3,competeScore:53,saleToList:97.1,zillowEstimate:266400},{zip:"75212",city:"Dallas",altCities:["West Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:285e3,daysOnMarket:65,pricePerSqft:178,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:282200},{zip:"75214",city:"Dallas",altCities:["Lakewood"],county:"Dallas",marketType:"Hot Seller's Market",medianPrice:692e3,daysOnMarket:37,pricePerSqft:397,yoyChange:3.5,competeScore:83,saleToList:100.5,zillowEstimate:710200},{zip:"75215",city:"Dallas",altCities:["South Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:178e3,daysOnMarket:86,pricePerSqft:117,yoyChange:-2.1,competeScore:34,saleToList:94.9,zillowEstimate:172800},{zip:"75216",city:"Dallas",altCities:["South Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:183e3,daysOnMarket:84,pricePerSqft:120,yoyChange:-1.8,competeScore:35,saleToList:95.1,zillowEstimate:178200},{zip:"75217",city:"Dallas",altCities:["Pleasant Grove"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:244e3,daysOnMarket:70,pricePerSqft:148,yoyChange:-.6,competeScore:49,saleToList:96.7,zillowEstimate:240700},{zip:"75218",city:"Dallas",altCities:["Lakewood/White Rock"],county:"Dallas",marketType:"Seller's Market",medianPrice:529e3,daysOnMarket:43,pricePerSqft:316,yoyChange:2.2,competeScore:69,saleToList:99.3,zillowEstimate:536e3},{zip:"75219",city:"Dallas",altCities:["Oak Lawn"],county:"Dallas",marketType:"Seller's Market",medianPrice:499e3,daysOnMarket:45,pricePerSqft:326,yoyChange:2,competeScore:69,saleToList:99.2,zillowEstimate:504300},{zip:"75220",city:"Dallas",altCities:["Northwest Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:428e3,daysOnMarket:54,pricePerSqft:270,yoyChange:1.2,competeScore:63,saleToList:98.4,zillowEstimate:428600},{zip:"75223",city:"Dallas",altCities:["East Dallas"],county:"Dallas",marketType:"Seller's Market",medianPrice:387e3,daysOnMarket:50,pricePerSqft:252,yoyChange:1.7,competeScore:67,saleToList:98.9,zillowEstimate:389700},{zip:"75224",city:"Dallas",altCities:["Oak Cliff"],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:65,pricePerSqft:199,yoyChange:0,competeScore:55,saleToList:97.4,zillowEstimate:297600},{zip:"75225",city:"Dallas",altCities:["Park Cities/Preston Hollow"],county:"Dallas",marketType:"Seller's Market",medianPrice:1222e3,daysOnMarket:45,pricePerSqft:458,yoyChange:2.8,competeScore:75,saleToList:99.8,zillowEstimate:1244800},{zip:"75226",city:"Dallas",altCities:["Deep Ellum"],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:48,pricePerSqft:300,yoyChange:1.9,competeScore:69,saleToList:99.1,zillowEstimate:431800},{zip:"75227",city:"Dallas",altCities:["East Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:265e3,daysOnMarket:69,pricePerSqft:165,yoyChange:-.5,competeScore:51,saleToList:96.9,zillowEstimate:261e3},{zip:"75228",city:"Dallas",altCities:["East Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:295e3,daysOnMarket:66,pricePerSqft:181,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:2923
41000},{zip:"75229",city:"Dallas",altCities:["Northwest Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:458e3,daysOnMarket:54,pricePerSqft:285,yoyChange:1,competeScore:63,saleToList:98.4,zillowEstimate:458600},{zip:"75230",city:"Dallas",altCities:["Preston Hollow"],county:"Dallas",marketType:"Seller's Market",medianPrice:794e3,daysOnMarket:45,pricePerSqft:397,yoyChange:2.3,competeScore:71,saleToList:99.4,zillowEstimate:805200},{zip:"75231",city:"Dallas",altCities:["Northeast Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:346e3,daysOnMarket:59,pricePerSqft:214,yoyChange:.5,competeScore:60,saleToList:98.1,zillowEstimate:344700},{zip:"75232",city:"Dallas",altCities:["South Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:239e3,daysOnMarket:71,pricePerSqft:145,yoyChange:-.7,competeScore:49,saleToList:96.7,zillowEstimate:235400},{zip:"75233",city:"Dallas",altCities:["Southwest Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:249e3,daysOnMarket:70,pricePerSqft:151,yoyChange:-.6,competeScore:50,saleToList:96.9,zillowEstimate:245700},{zip:"75234",city:"Dallas",altCities:["Farmers Branch"],county:"Dallas",marketType:"Balanced Market",medianPrice:387e3,daysOnMarket:56,pricePerSqft:224,yoyChange:.7,competeScore:61,saleToList:98.2,zillowEstimate:385900},{zip:"75235",city:"Dallas",altCities:["Medical District"],county:"Dallas",marketType:"Balanced Market",medianPrice:326e3,daysOnMarket:63,pricePerSqft:214,yoyChange:.3,competeScore:57,saleToList:97.7,zillowEstimate:323800},{zip:"75236",city:"Dallas",altCities:["Southwest Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:255e3,daysOnMarket:73,pricePerSqft:153,yoyChange:-.8,competeScore:45,saleToList:96.4,zillowEstimate:25e4},{zip:"75237",city:"Dallas",altCities:["Southwest Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:244e3,daysOnMarket:76,pricePerSqft:148,yoyChange:-1.1,competeScore:43,saleToList:96.1,zillowEstimate:239400},{zip:"75238",city:"Dallas",altCities:["Lake Highlands"],county:"Dallas",marketType:"Seller's Market",medianPrice:428e3,daysOnMarket:48,pricePerSqft:260,yoyChange:1.8,competeScore:67,saleToList:98.9,zillowEstimate:431400},{zip:"75240",city:"Dallas",altCities:["Far North Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:428e3,daysOnMarket:54,pricePerSqft:255,yoyChange:1,competeScore:63,saleToList:98.4,zillowEstimate:428e3},{zip:"75241",city:"Dallas",altCities:["South Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:199e3,daysOnMarket:81,pricePerSqft:124,yoyChange:-1.8,competeScore:37,saleToList:95.4,zillowEstimate:193100},{zip:"75243",city:"Dallas",altCities:["Lake Highlands/NE Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:366e3,daysOnMarket:58,pricePerSqft:222,yoyChange:.5,competeScore:61,saleToList:98.1,zillowEstimate:365e3},{zip:"75244",city:"Dallas",altCities:["Far North Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:448e3,daysOnMarket:54,pricePerSqft:263,yoyChange:1.2,competeScore:63,saleToList:98.4,zillowEstimate:449e3},{zip:"75246",city:"Dallas",altCities:["East Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:316e3,daysOnMarket:63,pricePerSqft:199,yoyChange:.2,competeScore:57,saleToList:97.7,zillowEstimate:313200},{zip:"75247",city:"Dallas",altCities:["Northwest Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:3e5,daysOnMarket:65,pricePerSqft:188,yoyChange:-.1,competeScore:55,saleToList:97.4,zillowEstimate:297300},{zip:"75248",city:"Dallas",altCities:["Far North Dallas"],county:"Dallas",marketType:"Seller's Market",medianPrice:529e3,daysOnMarket:52,pricePerSqft:285,yoyChange:1.3,competeScore:65,saleToList:98.7,zillowEstimate:531500},{zip:"75249",city:"Dallas",altCities:["Southwest Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:275e3,daysOnMarket:70,pricePerSqft:158,yoyChange:-.6,competeScore:51,saleToList:96.9,zillowEstimate:270700},{zip:"75251",city:"Dallas",altCities:["Far North Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:417e3,daysOnMarket:55,pricePerSqft:249,yoyChange:.8,competeScore:62,saleToList:98.3,zillowEstimate:417e3},{zip:"75253",city:"Dallas",altCities:["Southeast Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:234e3,daysOnMarket:76,pricePerSqft:140,yoyChange:-1.2,competeScore:43,saleToList:96.1,zillowEstimate:229200},{zip:"75254",city:"Dallas",altCities:["Far North Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:489e3,daysOnMarket:53,pricePerSqft:273,yoyChange:1.2,competeScore:64,saleToList:98.5,zillowEstimate:489900},{zip:"75007",city:"Carrollton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:386e3,daysOnMarket:55,pricePerSqft:188,yoyChange:.9,competeScore:62,saleToList:98.6,zillowEstimate:383600},{zip:"75010",city:"Carrollton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:391e3,daysOnMarket:54,pricePerSqft:190,yoyChange:1,competeScore:63,saleToList:98.7,zillowEstimate:389100},{zip:"75022",city:"Flower Mound",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:576e3,daysOnMarket:41,pricePerSqft:234,yoyChange:2.5,competeScore:71,saleToList:99.8,zillowEstimate:582e3},{zip:"75028",city:"Flower Mound",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:555e3,daysOnMarket:42,pricePerSqft:228,yoyChange:2.4,competeScore:71,saleToList:99.7,zillowEstimate:560700},{zip:"75036",city:"Frisco",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:586e3,daysOnMarket:41,pricePerSqft:224,yoyChange:2.7,competeScore:71,saleToList:99.8,zillowEstimate:593300},{zip:"75056",city:"The Colony",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:411e3,daysOnMarket:46,pricePerSqft:193,yoyChange:2.3,competeScore:69,saleToList:99.5,zillowEstimate:414900},{zip:"75057",city:"Lewisville",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:36e4,daysOnMarket:57,pricePerSqft:177,yoyChange:1,competeScore:62,saleToList:98.6,zillowEstimate:358400},{zip:"75065",city:"Lake Dallas",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:319e3,daysOnMarket:60,pricePerSqft:162,yoyChange:.6,competeScore:59,s
410aleToList:98.2,zillowEstimate:316300},{zip:"75067",city:"Lewisville",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:355e3,daysOnMarket:58,pricePerSqft:175,yoyChange:.9,competeScore:61,saleToList:98.4,zillowEstimate:352900},{zip:"75068",city:"Little Elm",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:401e3,daysOnMarket:47,pricePerSqft:187,yoyChange:2.2,competeScore:69,saleToList:99.4,zillowEstimate:403900},{zip:"75077",city:"Lewisville",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:37e4,daysOnMarket:56,pricePerSqft:180,yoyChange:1.2,competeScore:63,saleToList:98.7,zillowEstimate:369200},{zip:"76201",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:329e3,daysOnMarket:60,pricePerSqft:167,yoyChange:.6,competeScore:59,saleToList:98.2,zillowEstimate:326500},{zip:"76205",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:324e3,daysOnMarket:61,pricePerSqft:164,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:320900},{zip:"76207",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:319e3,daysOnMarket:62,pricePerSqft:162,yoyChange:.4,competeScore:57,saleToList:97.9,zillowEstimate:315500},{zip:"76208",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:334e3,daysOnMarket:59,pricePerSqft:168,yoyChange:.8,competeScore:60,saleToList:98.3,zillowEstimate:332100},{zip:"76209",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:314e3,daysOnMarket:63,pricePerSqft:160,yoyChange:.3,competeScore:56,saleToList:97.7,zillowEstimate:310100},{zip:"76210",city:"Denton",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:35e4,daysOnMarket:57,pricePerSqft:173,yoyChange:1,competeScore:62,saleToList:98.5,zillowEstimate:348100},{zip:"76226",city:"Argyle",altCities:[],county:"Denton",marketType:"Hot Seller's Market",medianPrice:699e3,daysOnMarket:33,pricePerSqft:272,yoyChange:4.2,competeScore:83,saleToList:100.9,zillowEstimate:718300},{zip:"76227",city:"Aubrey",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:432e3,daysOnMarket:45,pricePerSqft:193,yoyChange:2.7,competeScore:71,saleToList:99.7,zillowEstimate:437200},{zip:"76247",city:"Justin",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:391e3,daysOnMarket:47,pricePerSqft:180,yoyChange:2.4,competeScore:69,saleToList:99.4,zillowEstimate:394500},{zip:"76249",city:"Krum",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:303e3,daysOnMarket:64,pricePerSqft:154,yoyChange:.4,competeScore:56,saleToList:97.7,zillowEstimate:300200},{zip:"76258",city:"Pilot Point",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:319e3,daysOnMarket:62,pricePerSqft:159,yoyChange:.5,competeScore:57,saleToList:97.9,zillowEstimate:315800},{zip:"76259",city:"Ponder",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:329e3,daysOnMarket:60,pricePerSqft:162,yoyChange:.6,competeScore:59,s
410aleToList:98.2,zillowEstimate:326500},{zip:"76262",city:"Roanoke",altCities:[],county:"Denton",marketType:"Seller's Market",medianPrice:493e3,daysOnMarket:43,pricePerSqft:216,yoyChange:2.5,competeScore:71,saleToList:99.8,zillowEstimate:498900},{zip:"76266",city:"Sanger",altCities:[],county:"Denton",marketType:"Balanced Market",medianPrice:303e3,daysOnMarket:64,pricePerSqft:152,yoyChange:.3,competeScore:56,saleToList:97.7,zillowEstimate:299900},{zip:"75054",city:"Grand Prairie",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:323e3,daysOnMarket:61,pricePerSqft:166,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:320100},{zip:"76001",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:159,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76002",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:312e3,daysOnMarket:63,pricePerSqft:162,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:309500},{zip:"76005",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:61,pricePerSqft:164,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:315100},{zip:"76006",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:297e3,daysOnMarket:66,pricePerSqft:156,yoyChange:.1,competeScore:55,saleToList:97.5,zillowEstimate:293700},{zip:"76010",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:287e3,daysOnMarket:68,pricePerSqft:152,yoyChange:-.2,competeScore:53,saleToList:97.2,zillowEstimate:282700},{zip:"76011",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:292e3,daysOnMarket:67,pricePerSqft:154,yoyChange:-.1,competeScore:54,saleToList:97.4,zillowEstimate:288200},{zip:"76012",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:159,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76013",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:307e3,daysOnMarket:64,pricePerSqft:161,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:304400},{zip:"76014",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:297e3,daysOnMarket:66,pricePerSqft:156,yoyChange:.1,competeScore:55,saleToList:97.5,zillowEstimate:293700},{zip:"76015",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:159,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76016",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:312e3,daysOnMarket:63,pricePerSqft:162,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:309500},{zip:"76017",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:323e3,daysOnMarket:61,pricePerSqft:166,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:320100},{zip:"76018",city:"Arlington",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:63,pricePerSqft:164,yoyChange:.4,competeScore:57,saleToList:97.9,zillowEstimate:314900},{zip:"76020",city:"Azle",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:61,pricePerSqft:162,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:315100},{zip:"76021",city:"Bedford",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:348e3,daysOnMarket:58,pricePerSqft:174,yoyChange:.8,competeScore:61,saleToList:98.3,zillowEstimate:346800},{zip:"76022",city:"Bedford",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:343e3,daysOnMarket:59,pricePerSqft:172,yoyChange:.7,competeScore:60,saleToList:98.2,zillowEstimate:341300},{zip:"76034",city:"Colleyville",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:799e3,daysOnMarket:37,pricePerSqft:328,yoyChange:3.5,competeScore:78,saleToList:100.2,zillowEstimate:816700},{zip:"76036",city:"Crowley",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:156,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76039",city:"Euless",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:338e3,daysOnMarket:59,pricePerSqft:172,yoyChange:.8,competeScore:61,saleToList:98.3,zillowEstimate:336600},{zip:"76040",city:"Euless",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:333e3,daysOnMarket:60,pricePerSqft:169,yoyChange:.7,competeScore:60,saleToList:98.2,zillowEstimate:331100},{zip:"76051",city:"Grapevine",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:492e3,daysOnMarket:45,pricePerSqft:225,yoyChange:2.2,competeScore:70,saleToList:99.5,zillowEstimate:496400},{zip:"76052",city:"Haslet",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:389e3,daysOnMarket:49,pricePerSqft:182,yoyChange:2.1,competeScore:68,saleToList:99.2,zillowEstimate:392600},{zip:"76053",city:"Hurst",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:61,pricePerSqft:164,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:315100},{zip:"76054",city:"Hurst",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:323e3,daysOnMarket:60,pricePerSqft:166,yoyChange:.6,competeScore:59,s
410aleToList:98.1,zillowEstimate:320600},{zip:"76060",city:"Kennedale",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:156,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76063",city:"Mansfield",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:43e4,daysOnMarket:47,pricePerSqft:200,yoyChange:2.1,competeScore:68,saleToList:99.2,zillowEstimate:433900},{zip:"76092",city:"Southlake",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:1126e3,daysOnMarket:40,pricePerSqft:430,yoyChange:3.3,competeScore:78,saleToList:100.3,zillowEstimate:1150100},{zip:"76102",city:"Fort Worth",altCities:["Downtown Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:64,pricePerSqft:184,yoyChange:.3,competeScore:56,saleToList:97.7,zillowEstimate:299400},{zip:"76103",city:"Fort Worth",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:246e3,daysOnMarket:70,pricePerSqft:152,yoyChange:-.3,competeScore:52,saleToList:97.2,zillowEstimate:242100},{zip:"76104",city:"Fort Worth",altCities:["Near Southside"],county:"Tarrant",marketType:"Balanced Market",medianPrice:256e3,daysOnMarket:69,pricePerSqft:156,yoyChange:-.2,competeScore:53,saleToList:97.3,zillowEstimate:252400},{zip:"76105",city:"Fort Worth",altCities:[],county:"Tarrant",marketType:"Buyer-Friendly",medianPrice:2e5,daysOnMarket:80,pricePerSqft:125,yoyChange:-1.6,competeScore:38,saleToList:95.7,zillowEstimate:194200},{zip:"76106",city:"Fort Worth",altCities:["Northside"],county:"Tarrant",marketType:"Buyer-Friendly",medianPrice:21e4,daysOnMarket:77,pricePerSqft:131,yoyChange:-1.3,competeScore:40,saleToList:96,zillowEstimate:204700},{zip:"76107",city:"Fort Worth",altCities:["Cultural District"],county:"Tarrant",marketType:"Balanced Market",medianPrice:328e3,daysOnMarket:61,pricePerSqft:200,yoyChange:.5,competeScore:58,saleToList:98,zillowEstimate:325200},{zip:"76108",city:"Fort Worth",altCities:["West Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:287e3,daysOnMarket:67,pricePerSqft:159,yoyChange:-.1,competeScore:54,saleToList:97.4,zillowEstimate:283100},{zip:"76109",city:"Fort Worth",altCities:["TCU/Westcliff"],county:"Tarrant",marketType:"Seller's Market",medianPrice:389e3,daysOnMarket:49,pricePerSqft:215,yoyChange:2,competeScore:68,saleToList:99.2,zillowEstimate:392e3},{zip:"76110",city:"Fort Worth",altCities:["Fairmount/Southside"],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:179,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76111",city:"Fort Worth",altCities:["Riverside"],county:"Tarrant",marketType:"Balanced Market",medianPrice:261e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.3,competeScore:52,saleToList:97.2,zillowEstimate:257200},{zip:"76112",city:"Fort Worth",altCities:["East Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:251e3,daysOnMarket:71,pricePerSqft:145,yoyChange:-.6,competeScore:50,saleToList:97,zillowEstimate:246500},{zip:"76114",city:"Fort Worth",altCities:["River Oaks"],county:"Tarrant",marketType:"Balanced Market",medianPrice:271e3,daysOnMarket:68,pricePerSqft:154,yoyChange:-.2,competeScore:53,saleToList:97.3,zillowEstimate:267600},{zip:"76115",city:"Fort Worth",altCities:["South Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:256e3,daysOnMarket:70,pricePerSqft:148,yoyChange:-.4,competeScore:51,saleToList:97.1,zillowEstimate:251900},{zip:"76116",city:"Fort Worth",altCities:["Ridglea/West Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:297e3,daysOnMarket:66,pricePerSqft:166,yoyChange:.1,competeScore:55,saleToList:97.5,zillowEstimate:293700},{zip:"76117",city:"Haltom City",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:261e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.3,competeScore:52,saleToList:97.2,zillowEstimate:257200},{zip:"76118",city:"Fort Worth",altCities:["East Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:276e3,daysOnMarket:68,pricePerSqft:159,yoyChange:-.2,competeScore:53,saleToList:97.3,zillowEstimate:272600},{zip:"76119",city:"Fort Worth",altCities:["Southeast Fort Worth"],county:"Tarrant",marketType:"Buyer-Friendly",medianPrice:22e4,daysOnMarket:76,pricePerSqft:133,yoyChange:-1.3,competeScore:40,saleToList:96,zillowEstimate:214700},{zip:"76120",city:"Fort Worth",altCities:["East Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:287e3,daysOnMarket:67,pricePerSqft:162,yoyChange:-.1,competeScore:54,saleToList:97.4,zillowEstimate:283100},{zip:"76123",city:"Fort Worth",altCities:["Southwest Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:166,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76126",city:"Fort Worth",altCities:["Benbrook"],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:63,pricePerSqft:169,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:314600},{zip:"76131",city:"Fort Worth",altCities:["North Fort Worth"],county:"Tarrant",marketType:"Seller's Market",medianPrice:358e3,daysOnMarket:53,pricePerSqft:179,yoyChange:1.8,competeScore:66,saleToList:99,zillowEstimate:360600},{zip:"76132",city:"Fort Worth",altCities:["Southwest Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:63,pricePerSqft:169,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:314600},{zip:"76133",city:"Fort Worth",altCities:["Southwest Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:162,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76134",city:"Fort Worth",altCities:["South Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:287e3,daysOnMarket:67,pricePerSqft:156,yoyChange:-.1,competeScore:54,saleToList:97.4,zillowEstimate:283100},{zip:"76135",city:"Fort Worth",altCities:["Lake Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:271e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.3,competeScore:52,saleToList:97.2,zillowEstimate:267300},{zip:"76137",city:"Fort Worth",altCities:["North Fort Worth"],county:"Tarrant",marketType:"Seller's Market",medianPrice:348e3,daysOnMarket:55,pricePerSqft:176,yoyChange:1.7,competeScore:65,saleToList:98.8,zillowEstimate:349900},{zip:"76140",city:"Fort Worth",altCities:["Southeast Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:261e3,daysOnMarket:70,pricePerSqft:148,yoyChange:-.4,competeScore:51,saleToList:97.1,zillowEstimate:256900},{zip:"76148",city:"Fort Worth",altCities:["Watauga"],county:"Tarrant",marketType:"Balanced Market",medianPrice:302e3,daysOnMarket:65,pricePerSqft:162,yoyChange:.2,competeScore:56,saleToList:97.7,zillowEstimate:299100},{zip:"76155",city:"Fort Worth",altCities:["DFW Airport Area"],county:"Tarrant",marketType:"Balanced Market",medianPrice:317e3,daysOnMarket:63,pricePerSqft:166,yoyChange:.3,competeScore:57,saleToList:97.8,zillowEstimate:314600},{zip:"76164",city:"Fort Worth",altCities:["North Fort Worth"],county:"Tarrant",marketType:"Balanced Market",medianPrice:266e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.3,competeScore:52,saleToList:97.2,zillowEstimate:262200},{zip:"76177",city:"Fort Worth",altCities:["North Fort Worth"],county:"Tarrant",marketType:"Seller's Market",medianPrice:369e3,daysOnMarket:51,pricePerSqft:182,yoyChange:2,competeScore:68,saleToList:99.2,zillowEstimate:371400},{zip:"76179",city:"Fort Worth",altCities:["North Fort Worth"],county:"Tarrant",marketType:"Seller's Market",medianPrice:379e3,daysOnMarket:50,pricePerSqft:186,yoyChange:2.1,competeScore:68,saleToList:99.3,zillowEstimate:382300},{zip:"76180",city:"North Richland Hills",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:328e3,daysOnMarket:60,pricePerSqft:169,yoyChange:.6,competeScore:59,s
410aleToList:98.1,zillowEstimate:325700},{zip:"76182",city:"North Richland Hills",altCities:[],county:"Tarrant",marketType:"Balanced Market",medianPrice:338e3,daysOnMarket:59,pricePerSqft:172,yoyChange:.8,competeScore:61,saleToList:98.3,zillowEstimate:336600},{zip:"76244",city:"Keller",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:492e3,daysOnMarket:45,pricePerSqft:220,yoyChange:2.2,competeScore:70,saleToList:99.5,zillowEstimate:496400},{zip:"76248",city:"Keller",altCities:[],county:"Tarrant",marketType:"Seller's Market",medianPrice:502e3,daysOnMarket:43,pricePerSqft:223,yoyChange:2.3,competeScore:71,saleToList:99.6,zillowEstimate:507300},{zip:"75101",city:"Bardwell",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:248e3,daysOnMarket:87,pricePerSqft:134,yoyChange:-1.6,competeScore:37,saleToList:95.4,zillowEstimate:242400},{zip:"75119",city:"Ennis",altCities:[],county:"Ellis",marketType:"Balanced Market",medianPrice:268e3,daysOnMarket:73,pricePerSqft:142,yoyChange:-.9,competeScore:51,saleToList:96.6,zillowEstimate:264200},{zip:"75125",city:"Ferris",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:258e3,daysOnMarket:78,pricePerSqft:137,yoyChange:-1.4,competeScore:43,saleToList:95.8,zillowEstimate:252900},{zip:"75152",city:"Palmer",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:253e3,daysOnMarket:81,pricePerSqft:134,yoyChange:-1.5,competeScore:41,saleToList:95.6,zillowEstimate:247700},{zip:"75154",city:"Red Oak",altCities:["Glenn Heights","Oak Leaf","Ovilla"],county:"Ellis",marketType:"Balanced Market",medianPrice:324e3,daysOnMarket:65,pricePerSqft:164,yoyChange:-.2,competeScore:57,saleToList:97.4,zillowEstimate:321400},{zip:"75165",city:"Waxahachie",altCities:[],county:"Ellis",marketType:"Balanced Market",medianPrice:314e3,daysOnMarket:67,pricePerSqft:160,yoyChange:-.3,competeScore:55,saleToList:97.1,zillowEstimate:310900},{zip:"75167",city:"Waxahachie",altCities:[],county:"Ellis",marketType:"Balanced Market",medianPrice:309e3,daysOnMarket:68,pricePerSqft:157,yoyChange:-.4,competeScore:54,saleToList:96.9,zillowEstimate:305600},{zip:"76041",city:"Forreston",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:238e3,daysOnMarket:90,pricePerSqft:130,yoyChange:-1.9,competeScore:37,saleToList:95.1,zillowEstimate:231900},{zip:"76064",city:"Maypearl",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:283e3,daysOnMarket:81,pricePerSqft:147,yoyChange:-1.2,competeScore:43,saleToList:95.8,zillowEstimate:278400},{zip:"76065",city:"Midlothian",altCities:[],county:"Ellis",marketType:"Seller's Market",medianPrice:385e3,daysOnMarket:52,pricePerSqft:180,yoyChange:1.6,competeScore:67,saleToList:98.6,zillowEstimate:388400},{zip:"76623",city:"Avalon",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:228e3,daysOnMarket:95,pricePerSqft:123,yoyChange:-2.2,competeScore:35,saleToList:94.8,zillowEstimate:221400},{zip:"76651",city:"Italy",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:218e3,daysOnMarket:99,pricePerSqft:119,yoyChange:-2.4,competeScore:33,saleToList:94.4,zillowEstimate:211100},{zip:"76670",city:"Milford",altCities:[],county:"Ellis",marketType:"Buyer-Friendly",medianPrice:213e3,daysOnMarket:101,pricePerSqft:116,yoyChange:-2.7,competeScore:31,saleToList:94.1,zillowEstimate:205600},{zip:"75032",city:"Rockwall",altCities:[],county:"Rockwall",marketType:"Seller's Market",medianPrice:464e3,daysOnMarket:45,pricePerSqft:206,yoyChange:2.6,competeScore:72,saleToList:99.8,zillowEstimate:468600},{zip:"75087",city:"Rockwall",altCities:[],county:"Rockwall",marketType:"Seller's Market",medianPrice:495e3,daysOnMarket:43,pricePerSqft:217,yoyChange:2.8,competeScore:74,saleToList:100.1,zillowEstimate:501100},{zip:"75132",city:"Fate",altCities:[],county:"Rockwall",marketType:"Seller's Market",medianPrice:402e3,daysOnMarket:47,pricePerSqft:188,yoyChange:2.7,competeScore:72,saleToList:99.8,zillowEstimate:406500},{zip:"75189",city:"Royse City",altCities:[],county:"Rockwall",marketType:"Seller's Market",medianPrice:371e3,daysOnMarket:49,pricePerSqft:175,yoyChange:2.6,competeScore:70,saleToList:99.6,zillowEstimate:374900},{zip:"75114",city:"Crandall",altCities:[],county:"Kaufman",marketType:"Balanced Market",medianPrice:299e3,daysOnMarket:68,pricePerSqft:152,yoyChange:-.2,competeScore:54,saleToList:97.1,zillowEstimate:296400},{zip:"75126",city:"Forney",altCities:[],county:"Kaufman",marketType:"Seller's Market",medianPrice:345e3,daysOnMarket:55,pricePerSqft:167,yoyChange:1.7,competeScore:65,saleToList:98.6,zillowEstimate:348200},{zip:"75142",city:"Kaufman",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:259e3,daysOnMarket:79,pricePerSqft:137,yoyChange:-1.2,competeScore:43,saleToList:96,zillowEstimate:253600},{zip:"75143",city:"Kemp",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:244e3,daysOnMarket:86,pricePerSqft:130,yoyChange:-1.6,competeScore:39,saleToList:95.6,zillowEstimate:237800},{zip:"75147",city:"Mabank",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:254e3,daysOnMarket:83,pricePerSqft:134,yoyChange:-1.5,competeScore:41,saleToList:95.8,zillowEstimate:248e3},{zip:"75157",city:"Rosser",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:239e3,daysOnMarket:88,pricePerSqft:127,yoyChange:-1.7,competeScore:37,saleToList:95.3,zillowEstimate:232600},{zip:"75158",city:"Scurry",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:249e3,daysOnMarket:85,pricePerSqft:132,yoyChange:-1.5,competeScore:39,saleToList:95.6,zillowEstimate:243100},{zip:"75160",city:"Terrell",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:264e3,daysOnMarket:77,pricePerSqft:140,yoyChange:-1.1,competeScore:43,saleToList:96,zillowEstimate:258900},{zip:"76009",city:"Alvarado",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:267e3,daysOnMarket:80,pricePerSqft:139,yoyChange:-1.3,competeScore:44,saleToList:95.9,zillowEstimate:262400},{zip:"76028",city:"Burleson",altCities:[],county:"Johnson",marketType:"Balanced Market",medianPrice:323e3,daysOnMarket:66,pricePerSqft:163,yoyChange:-.3,competeScore:56,saleToList:97.2,zillowEstimate:320100},{zip:"76031",city:"Cleburne",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:257e3,daysOnMarket:82,pricePerSqft:136,yoyChange:-1.6,competeScore:42,saleToList:95.6,zillowEstimate:251900},{zip:"76033",city:"Cleburne",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:252e3,daysOnMarket:84,pricePerSqft:133,yoyChange:-1.7,competeScore:40,saleToList:95.4,zillowEstimate:246700},{zip:"76044",city:"Godley",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:282e3,daysOnMarket:80,pricePerSqft:143,yoyChange:-1.3,competeScore:44,saleToList:95.9,zillowEstimate:277300},{zip:"76050",city:"Grandview",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:262e3,daysOnMarket:84,pricePerSqft:137,yoyChange:-1.6,competeScore:40,saleToList:95.4,zillowEstimate:256800},{zip:"76058",city:"Joshua",altCities:[],county:"Johnson",marketType:"Balanced Market",medianPrice:297e3,daysOnMarket:71,pricePerSqft:151,yoyChange:-.6,competeScore:53,saleToList:96.7,zillowEstimate:294400},{zip:"76059",city:"Keene",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:272e3,daysOnMarket:82,pricePerSqft:141,yoyChange:-1.3,competeScore:42,saleToList:95.6,zillowEstimate:267400},{zip:"76061",city:"Lillian",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:257e3,daysOnMarket:87,pricePerSqft:136,yoyChange:-1.7,competeScore:38,saleToList:95.2,z
410illowEstimate:251600},{zip:"76084",city:"Venus",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:287e3,daysOnMarket:78,pricePerSqft:146,yoyChange:-1.2,competeScore:46,saleToList:96.2,zillowEstimate:282700},{zip:"76093",city:"Rio Vista",altCities:[],county:"Johnson",marketType:"Buyer-Friendly",medianPrice:252e3,daysOnMarket:89,pricePerSqft:133,yoyChange:-1.8,competeScore:38,saleToList:95.2,zillowEstimate:246300},{zip:"76008",city:"Aledo",altCities:[],county:"Parker",marketType:"Seller's Market",medianPrice:525e3,daysOnMarket:45,pricePerSqft:222,yoyChange:1.8,competeScore:69,saleToList:98.9,zillowEstimate:531800},{zip:"76020",city:"Azle",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:308e3,daysOnMarket:67,pricePerSqft:160,yoyChange:-.4,competeScore:56,saleToList:97.1,zillowEstimate:305300},{zip:"76066",city:"Millsap",altCities:[],county:"Parker",marketType:"Buyer-Friendly",medianPrice:268e3,daysOnMarket:84,pricePerSqft:139,yoyChange:-1.4,competeScore:41,saleToList:95.5,zillowEstimate:262600},{zip:"76082",city:"Springtown",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:298e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.5,competeScore:54,saleToList:96.8,zillowEstimate:295e3},{zip:"76085",city:"Weatherford",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:313e3,daysOnMarket:67,pricePerSqft:160,yoyChange:-.4,competeScore:56,saleToList:97.1,zillowEstimate:310300},{zip:"76086",city:"Weatherford",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:308e3,daysOnMarket:68,pricePerSqft:157,yoyChange:-.5,competeScore:55,saleToList:97,zillowEstimate:305e3},{zip:"76087",city:"Weatherford",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:318e3,daysOnMarket:66,pricePerSqft:162,yoyChange:-.2,competeScore:57,saleToList:97.3,zillowEstimate:315800},{zip:"76088",city:"Weatherford",altCities:[],county:"Parker",marketType:"Balanced Market",medianPrice:298e3,daysOnMarket:69,pricePerSqft:152,yoyChange:-.6,competeScore:54,saleToList:96.8,zillowEstimate:294700},{zip:"76487",city:"Poolville",altCities:[],county:"Parker",marketType:"Buyer-Friendly",medianPrice:263e3,daysOnMarket:87,pricePerSqft:136,yoyChange:-1.7,competeScore:39,saleToList:95.3,zillowEstimate:256700},{zip:"76490",city:"Whitt",altCities:[],county:"Parker",marketType:"Buyer-Friendly",medianPrice:247e3,daysOnMarket:92,pricePerSqft:129,yoyChange:-2,competeScore:37,saleToList:95,zillowEstimate:241300},{zip:"76035",city:"Cresson",altCities:[],county:"Hood",marketType:"Balanced Market",medianPrice:32e4,daysOnMarket:60,pricePerSqft:162,yoyChange:-1.8,competeScore:56,saleToList:96.5,zillowEstimate:317120},{zip:"76049",city:"Granbury",altCities:[],county:"Hood",marketType:"Balanced Market",medianPrice:34e4,daysOnMarket:58,pricePerSqft:168,yoyChange:-1.5,competeScore:58,saleToList:96.8,zillowEstimate:337450},{zip:"76462",city:"Lipan",altCities:[],county:"Hood",marketType:"Buyer-Friendly",medianPrice:255e3,daysOnMarket:78,pricePerSqft:135,yoyChange:-4.2,competeScore:40,saleToList:94.8,zillowEstimate:249645},{zip:"75135",city:"Caddo Mills",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:28e4,daysOnMarket:70,pricePerSqft:142,yoyChange:-3.5,competeScore:46,saleToList:95.5,zillowEstimate:275100},{zip:"75401",city:"Greenville",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:245e3,daysOnMarket:75,pricePerSqft:130,yoyChange:-4.5,competeScore:42,saleToList:95,zillowEstimate:239487},{zip:"75402",city:"Greenville",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:24e4,daysOnMarket:77,pricePerSqft:128,yoyChange:-4.8,competeScore:40,saleToList:94.8,zillowEstimate:234240},{zip:"75422",city:"Campbell",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:225e3,daysOnMarket:85,pricePerSqft:120,yoyChange:-5.5,competeScore:36,saleToList:94.2,zillowEstimate:218812},{zip:"75423",city:"Celeste",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:23e4,daysOnMarket:83,pricePerSqft:122,yoyChange:-5.2,competeScore:37,saleToList:94.4,zillowEstimate:224020},{zip:"75428",city:"Commerce",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:215e3,daysOnMarket:88,pricePerSqft:115,yoyChange:-6,competeScore:34,saleToList:93.8,zillowEstimate:208550},{zip:"75453",city:"Lone Oak",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:235e3,daysOnMarket:82,pricePerSqft:125,yoyChange:-5,competeScore:38,saleToList:94.5,zillowEstimate:229125},{zip:"75458",city:"Merit",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:225e3,daysOnMarket:86,pricePerSqft:120,yoyChange:-5.5,competeScore:36,saleToList:94.2,zillowEstimate:218812},{zip:"75474",city:"Quinlan",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:24e4,daysOnMarket:80,pricePerSqft:128,yoyChange:-5,competeScore:38,saleToList:94.5,zillowEstimate:234e3},{zip:"75496",city:"Wolfe City",altCities:[],county:"Hunt",marketType:"Buyer-Friendly",medianPrice:22e4,daysOnMarket:88,pricePerSqft:118,yoyChange:-5.8,competeScore:34,saleToList:93.8,zillowEstimate:213620},{zip:"76023",city:"Boyd",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:285e3,daysOnMarket:70,pricePerSqft:145,yoyChange:-3.5,competeScore:46,saleToList:95.5,zillowEstimate:280012},{zip:"76071",city:"Newark",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:275e3,daysOnMarket:72,pricePerSqft:142,yoyChange:-3.8,competeScore:44,saleToList:95.2,z
410illowEstimate:269775},{zip:"76073",city:"Paradise",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:265e3,daysOnMarket:75,pricePerSqft:138,yoyChange:-4.2,competeScore:42,saleToList:95,zillowEstimate:259435},{zip:"76078",city:"Rhome",altCities:[],county:"Wise",marketType:"Balanced Market",medianPrice:295e3,daysOnMarket:62,pricePerSqft:150,yoyChange:-2,competeScore:55,saleToList:96.3,zillowEstimate:292050},{zip:"76225",city:"Alvord",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:255e3,daysOnMarket:78,pricePerSqft:135,yoyChange:-4.5,competeScore:40,saleToList:94.8,zillowEstimate:249262},{zip:"76234",city:"Decatur",altCities:[],county:"Wise",marketType:"Balanced Market",medianPrice:29e4,daysOnMarket:63,pricePerSqft:148,yoyChange:-2.2,competeScore:54,saleToList:96.2,zillowEstimate:286810},{zip:"76426",city:"Bridgeport",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:265e3,daysOnMarket:76,pricePerSqft:138,yoyChange:-4,competeScore:42,saleToList:95,zillowEstimate:259700},{zip:"76431",city:"Chico",altCities:[],county:"Wise",marketType:"Buyer-Friendly",medianPrice:245e3,daysOnMarket:82,pricePerSqft:128,yoyChange:-5,competeScore:38,saleToList:94.5,zillowEstimate:238875},{zip:"76070",city:"Nemo",altCities:[],county:"Somervell",marketType:"Buyer-Friendly",medianPrice:28e4,daysOnMarket:75,pricePerSqft:142,yoyChange:-3.8,competeScore:42,saleToList:95,zillowEstimate:274680},{zip:"75495",city:"Van Alstyne",altCities:[],county:"Grayson",marketType:"Balanced Market",medianPrice:32e4,daysOnMarket:58,pricePerSqft:160,yoyChange:-1.5,competeScore:58,saleToList:96.8,zillowEstimate:317600},{zip:"75242",city:"Dallas",altCities:["Southwest Dallas"],county:"Dallas",marketType:"Buyer-Friendly",medianPrice:199e3,daysOnMarket:78,pricePerSqft:117,yoyChange:-.3,competeScore:43,saleToList:96.4,zillowEstimate:195e3},{zip:"75260",city:"Dallas",altCities:["Downtown Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:387e3,daysOnMarket:56,pricePerSqft:285,yoyChange:1.4,competeScore:61,saleToList:98.1,zillowEstimate:388800},{zip:"75270",city:"Dallas",altCities:["Downtown Dallas"],county:"Dallas",marketType:"Balanced Market",medianPrice:397e3,daysOnMarket:54,pricePerSqft:290,yoyChange:1.5,competeScore:62,saleToList:98.2,zillowEstimate:401800},{zip:"75398",city:"Dallas",altCities:[],county:"Dallas",marketType:"Balanced Market",medianPrice:356e3,daysOnMarket:59,pricePerSqft:199,yoyChange:1.2,competeScore:59,s
410aleToList:97.9,zillowEstimate:358100},{zip:"76127",city:"Fort Worth",altCities:["NAS JRB Fort Worth","Naval Air Station"],county:"Tarrant",marketType:"Balanced Market",medianPrice:292e3,daysOnMarket:61,pricePerSqft:159,yoyChange:.7,competeScore:58,saleToList:98,zillowEstimate:288900},{zip:"75161",city:"Terrell",altCities:[],county:"Kaufman",marketType:"Buyer-Friendly",medianPrice:259e3,daysOnMarket:84,pricePerSqft:134,yoyChange:-.7,competeScore:41,saleToList:96,zillowEstimate:254e3},{zip:"75449",city:"Ladonia",altCities:[],county:"Fannin",marketType:"Buyer's Market",medianPrice:185e3,daysOnMarket:95,pricePerSqft:105,yoyChange:-5.5,competeScore:30,saleToList:93.5,zillowEstimate:181225},{zip:"75452",city:"Leonard",altCities:[],county:"Fannin",marketType:"Buyer-Friendly",medianPrice:215e3,daysOnMarket:82,pricePerSqft:118,yoyChange:-4,competeScore:36,saleToList:94.2,zillowEstimate:210690},{zip:"76272",city:"Valley View",altCities:[],county:"Cooke",marketType:"Buyer-Friendly",medianPrice:245e3,daysOnMarket:78,pricePerSqft:130,yoyChange:-3.5,competeScore:40,saleToList:94.8,zillowEstimate:240100},{zip:"76055",city:"Itasca",altCities:[],county:"Hill",marketType:"Buyer's Market",medianPrice:195e3,daysOnMarket:92,pricePerSqft:108,yoyChange:-5,competeScore:32,saleToList:93.8,zillowEstimate:191100},{zip:"76486",city:"Perrin",altCities:[],county:"Jack",marketType:"Buyer's Market",medianPrice:175e3,daysOnMarket:98,pricePerSqft:98,yoyChange:-6,competeScore:28,saleToList:93,zillowEstimate:171325},{zip:"76270",city:"Sunset",altCities:[],county:"Montague",marketType:"Buyer's Market",medianPrice:185e3,daysOnMarket:96,pricePerSqft:102,yoyChange:-5.5,competeScore:30,saleToList:93.2,zillowEstimate:181225},{zip:"76626",city:"Blooming Grove",altCities:[],county:"Navarro",marketType:"Buyer's Market",medianPrice:19e4,daysOnMarket:94,pricePerSqft:105,yoyChange:-5,competeScore:32,saleToList:93.5,zillowEstimate:186100},{zip:"76067",city:"Mineral Wells",altCities:[],county:"Palo Pinto",marketType:"Buyer-Friendly",medianPrice:225e3,daysOnMarket:80,pricePerSqft:122,yoyChange:-3.8,competeScore:38,saleToList:94.5,zillowEstimate:220725},{zip:"75169",city:"Wills Point",altCities:[],county:"Van Zandt",marketType:"Buyer-Friendly",medianPrice:235e3,daysOnMarket:78,pricePerSqft:125,yoyChange:-3.2,competeScore:40,saleToList:94.8,zillowEstimate:230380}],ch=Gi,Aue={Plano:["Legacy Dr","Preston Rd","Spring Creek Pkwy","Parker Rd","Coit Rd","Independence Pkwy","Alma Dr","Jupiter Rd","Hedgcoxe Rd","Mapleshade Ln"],Frisco:["Main St","Preston Rd","Eldorado Pkwy","Lebanon Rd","Panther Creek Pkwy","Stonebrook Pkwy","Rolater Rd","Teel Pkwy","Rockhill Pkwy","Coit Rd"],McKinney:["Virginia Pkwy","Eldorado Pkwy","Stacy Rd","Custer Rd","Hardin Blvd","University Dr","Lake Forest Dr","Alma Rd","Collin McKinney Pkwy","Wilmeth Rd"],Allen:["Exchange Pkwy","McDermott Dr","Bethany Dr","Stacy Rd","Ridgeview Dr","Bray Central Dr","Greenville Ave","Jupiter Rd","Alma Dr","Watters Rd"],Garland:["Garland Ave","Buckingham Rd","Walnut St","Beltline Rd","Naaman Forest Blvd","Centerville Rd","Lavon Dr","Miller Rd","Shiloh Rd","Kingsley Rd"],Irving:["MacArthur Blvd","Story Rd","Beltline Rd","Esters Rd","Valley Ranch Pkwy","Las Colinas Blvd","O'Connor Rd","Rochelle Rd","Conflans Rd","Pioneer Dr"],"Grand Prairie":["Pioneer Pkwy","Beltline Rd","Forum Dr","Carrier Pkwy","Corn Valley Rd","Arkansas Ln","Great Southwest Pkwy","Bardin Rd","Camp Wisdom Rd","Mayfield Rd"],Mesquite:["Galloway Ave","Gus Thomasson Rd","Motley Dr","Faithon P Lucas Sr Blvd","Bruton Rd","Military Pkwy","Town East Blvd","Gross Rd","Peachtree Rd","Cartwright Rd"],Carrollton:["Frankford Rd","Keller Springs Rd","Hebron Pkwy","Belt Line Rd","Old Denton Rd","Josey Ln","Rosemeade Pkwy","Trinity Mills Rd","Marsh Ln","Midway Rd"],Richardson:["Arapaho Rd","Campbell Rd","Beltline Rd","Greenville Ave","Plano Rd","Spring Valley Rd","Buckingham Rd","Renner Rd","Coit Rd","Jupiter Rd"],Denton:["University Dr","Loop 288","Teasley Ln","Malone St","Elm St","Locust St","Carroll Blvd","Scripture St","Hickory St","McKinney St"],Lewisville:["Main St","Hebron Pkwy","Fox Ave","State Hwy 121","Valley Pkwy","Josey Ln","Justin Rd","Edmonds Ln","Bellaire Blvd","Corporate Dr"],"Flower Mound":["Cross Timbers Rd","Morriss Rd","Long Prairie Rd","Firewheel Pkwy","Flower Mound Rd","Simmons Rd","Spinks Rd","Waketon Rd","Gerault Rd","Lakeside Pkwy"],Coppell:["MacArthur Blvd","Sandy Lake Rd","Bethel Rd","Belt Line Rd","Denton Tap Rd","Freeport Pkwy","Coppell Rd","Moore Rd","Parkway Blvd","Village Pkwy"],Rowlett:["Lakeview Pkwy","Dalrock Rd","Merritt Rd","Miller Rd","Rowlett Rd","Schrade Rd","Watkins Rd","Chiesa Rd","Liberty Grove Rd","Firewheel Pkwy"],Sachse:["Miles Rd","Sachse Rd","Ranch Rd","Woodbridge Pkwy","Merritt Rd","State Hwy 78","Bunker Hill Rd","Peakwood Dr","Vineyard Dr","Rosamond Pkwy"],Wylie:["Ballard Ave","FM 544","FM 1378","Brown St","Alanis Dr","McMillen Rd","Sachse Rd","Parker Rd","Country Club Rd","Woodbridge Pkwy"],Rockwall:["Harry Hines Blvd","Ridge Rd","Goliad Rd","Horizon Rd","John King Blvd","Lakeshore Dr","Smirl Dr","Stodghill Rd","FM 740","Dalrock Rd"],Forney:["US-80","FM 548","Pinson Rd","Gateway Blvd","Ridgecrest Rd","Windmill Farms Blvd","Clements Dr","Travis Ranch Blvd","Reeder Rd","Blackjack Rd"],Kaufman:["TX-34","TX-243","Fair St","Washington St","Grove St","Mulberry St","Elm St","Cliff St","Commerce St","Coke St"],Terrell:["Moore Ave","TX-34","US-80","College St","Rockwall Ave","Brin St","Griffith Ave","Eubanks Ave","Catherine St","Eubanks Ave"],"Fort Worth":["Camp Bowie Blvd","Hulen St","Ridgmar Blvd","Western Center Blvd","Boat Club Rd","Jacksboro Hwy","Hwy 287","Sycamore School Rd","Crowley Rd","McCart Ave"],Arlington:["Division St","Abram St","Cooper St","Matlock Rd","Fielder Rd","Green Oaks Blvd","Park Row Dr","Pioneer Pkwy","Collins St","Randol Mill Rd"],Mansfield:["Broad St","Debbie Ln","Walnut Creek Dr","Matlock Rd","Hwy 287","Bardin Rd","Ragland Rd","Holland Rd","Rendon Rd","Webb Ferrell Rd"],Burleson:["Renfro St","Hulen St","Wilshire Blvd","Alsbury Blvd","Hwy 174","Summercrest Blvd","Lakewood Dr","McAlister Rd","Briaroaks Rd","Hidden Creek Pkwy"],Crowley:["Main St","Crowley Rd","Rendon Rd","McPherson Blvd","Hwy 1187","Sycamore School Rd","Hwy 287","Risinger Rd","Hulen St","Nolan River Rd"],Euless:["Glade Rd","Euless Main St","Harwood Rd","Industrial Blvd","Westpark Way","Pipeline Rd","Mid-Cities Blvd","Hwy 183","Hwy 360","Fuller Wiser Rd"],Bedford:["Central Dr","Forest Ridge Dr","Harwood Rd","Hwy 183","Cheek Sparger Rd","Pipeline Rd","Norwood Dr","Brown Trail","Precinct Line Rd","Airport Fwy"],Hurst:["Precinct Line Rd","Hurst Blvd","Brown Trail","Norwood Dr","Pipeline Rd","Harwood Rd","Hwy 183","Hurstview Dr","Redbud Dr","Booth Calloway Rd"],Colleyville:["Precinct Line Rd","Glade Rd","Cheek Sparger Rd","Hwy 26","Hall-Johnson Rd","Colleyville Blvd","Pleasant Run Rd","Ira E. Woods Ave","Hwy 121","John McCain Rd"],Keller:["
410Keller Pkwy","Rufe Snow Dr","Bear Creek Pkwy","Whitley Rd","Shady Grove Rd","Johnson Rd","Rapp Rd","Bourland Rd","Hwy 377","Willis Ln"],Southlake:["Southlake Blvd","Carroll Ave","Kimball Ave","White Chapel Blvd","Dove Rd","Continental Blvd","Randol Mill Ave","Peytonville Ave","Florence Rd","Hwy 1709"],Grapevine:["Main St","Grapevine Mills Blvd","William D Tate Ave","Hall-Johnson Rd","Ira E. Woods Ave","Northwest Hwy","Euless-Grapevine Rd","Dooley St","Texan Trail","Mustang Dr"],Roanoke:["Byron Nelson Blvd","Hwy 114","Oak St","Hwy 377","Avondale Haslet Rd","Litsey Rd","Hwy 170","Pearson Ln","Randol Mill Rd","Kirkwood Blvd"],Weatherford:["Fort Worth Hwy","Palo Pinto St","Santa Fe Dr","Bankhead Hwy","Tin Top Rd","Mineral Wells Hwy","Bethel Rd","Bowie Dr","Ranger Hwy","Clear Lake Rd"],Azle:["Main St","Hwy 199","Stewart St","Hwy 730","Bogart St","Murphy St","Elm St","Commerce St","Roe St","Hwy 199"],Waxahachie:["US-287","TX-77","Hwy 287","Marvin Ave","College St","Brown St","Ferris Ave","Hwy 35E","Broadhead Rd","Butcher Rd"],Midlothian:["US-287","TX-67","Midlothian Pkwy","Walnut Grove Rd","Mockingbird Ln","Shiloh Rd","Bryson Rd","Plainview Rd","Sudith Ln","Longbranch Rd"],"Cedar Hill":["Belt Line Rd","FM 1382","Hwy 67","Pleasant Run Rd","Beltline Rd","Mansfield Hwy","Straus Rd","Uptown Blvd","Waterford Oaks Dr","Bardin Rd"],DeSoto:["Belt Line Rd","Pleasant Run Rd","Westmoreland Rd","Cockrell Hill Rd","Wintergreen Rd","Beltline Rd","Hampton Rd","Duncanville Rd","Polk St","Danieldale Rd"],Duncanville:["Main St","Hwy 67","Camp Wisdom Rd","Cockrell Hill Rd","Wheatland Rd","Danieldale Rd","Hwy 408","Beltline Rd","Merrifield Rd","Center St"],Lancaster:["Belt Line Rd","Pleasant Run Rd","Westmoreland Rd","Hwy 35E","Beltline Rd","Wintergreen Rd","Polk St","Sargent Rd","Danieldale Rd","Houston School Rd"],"Glenn Heights":["Hwy 67","FM 664","Hwy 35E","Ovilla Rd","Glenn Heights Rd","Mansfield Hwy","Straus Rd","Beltline Rd","Bear Creek Rd","Red Oak Rd"],"Red Oak":["Ovilla Rd","Hwy 35E","FM 664","Red Oak Rd","Glenn Heights Rd","Hwy 342","Uhl Rd","Beltline Rd","Mansfield Hwy","Straus Rd"],Ennis:["TX-34","US-287","Ennis Ave","Dallas St","Kaufman St","Brown St","Lake Bardwell Dr","Hwy 45","Creechville Rd","Hwy 34"],Corsicana:["TX-31","US-287","Beaton St","Collin St","Corsicana St","Navarro St","Hwy 287","Hwy 31","State Hwy 22","Hwy 45"],Prosper:["Preston Rd","Prosper Trail","First St","Coit Rd","Hays Rd","Fishtrap Rd","Lovers Ln","Richland Blvd","La Cima Blvd","Legacy Dr"],Celina:["Preston Rd","Hwy 380","Coit Rd","Celina Pkwy","FM 455","County Rd 88","County Rd 86","Hwy 289","County Rd 84","Parvin Rd"],"Little Elm":["Eldorado Pkwy","FM 720","Hwy 380","Walker Ln","Lobo Ln","Palomino Rd","Shahan Prairie Rd","Rockhill Pkwy","Teel Pkwy","Fishtrap Rd"],"The Colony":["Main St","Memorial Dr","Paige Rd","Lewisville Lake Expy","Plano Pkwy","Windhaven Pkwy","Standridge Dr","Maumee Ave","Ridgewood Dr","Colony Blvd"],Corinth:["Corinth Pkwy","Swisher Rd","Dobbs Rd","Shady Shores Rd","Hwy 77","Post Oak Dr","Oakmont Dr","Garza Ln","Lake Sharon Dr","Hwy 2181"],"Lake Dallas":["Main St","Hwy 77","Lake Dallas Dr","Shady Shores Rd","Swisher Rd","Corinth Pkwy","Garza Ln","Lake Sharon Dr","Hwy 2181","Post Oak Dr"],Argyle:["FM 407","Hwy 377","Hwy 2931","Hwy 1830","Hwy 2449","Hwy 1173","County Rd 2200","County Rd 2210","Hwy 2181","Hwy 156"],Aubrey:["Hwy 377","FM 428","Hwy 380","Hwy 2931","Hwy 1173","County Rd 2200","County Rd 2210","Hwy 2181","Hwy 156","County Rd 2220"],Saginaw:["Blue Mound Rd","Hwy 287","McLeroy Blvd","Hwy 156","N Saginaw Blvd","Bailey Boswell Rd","Old Decatur Rd","Hwy 199","Hwy 820","Hwy 170"],Watauga:["Rufe Snow Dr","Hwy 377","Hwy 183","Hwy 820","Hwy 26","Hwy 121","Hwy 170","Hwy 156","Hwy 199","Hwy 287"],"North Richland Hills":["Rufe Snow Dr","Hwy 26","Hwy 183","Hwy 820","Hwy 121","Hwy 377","Hwy 170","Hwy 156","Hwy 199","Hwy 287"],"Richland Hills":["Rufe Snow Dr","Hwy 26","Hwy 183","Hwy 820","Hwy 121","Hwy 377","Hwy 170","Hwy 156","Hwy 199","Hwy 287"],"Haltom City":["Hwy 377","Hwy 183","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Hwy 287","Rufe Snow Dr"],Benbrook:["Benbrook Blvd","Hwy 377","Hwy 183","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Hwy 287"],"White Settlement":["White Settlement Rd","Hwy 183","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Hwy 287","Rufe Snow Dr"],"Lake Worth":["Hwy 199","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 287","Rufe Snow Dr","Hwy 377","Hwy 183"],Kennedale:["Hwy 287","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Rufe Snow Dr","Hwy 377","Hwy 183"],Everman:["Hwy 287","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Rufe Snow Dr","Hwy 377","Hwy 183"],Pantego:["Hwy 287","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Rufe Snow Dr","Hwy 377","Hwy 183"],"Dalworthington Gardens":["Hwy 287","Hwy 820","Hwy 121","Hwy 26","Hwy 170","Hwy 156","Hwy 199","Rufe Snow Dr","Hwy 377","Hwy 183"],Joshua:["Hwy 174","Hwy 917","Hwy 1902","Hwy 1434","Hwy 3048","Hwy 1187","Hwy 287","Nolan River Rd","Hulen St","Crowley Rd"],Cleburne:["Henderson St","Hwy 67","Hwy 174","Hwy 917","Hwy 1902","Hwy 1434","Hwy 3048","Hwy 1187","Hwy 287","Nolan River Rd"],Granbury:["Pearl St","Hwy 377","Hwy 144","Hwy 4","Hwy 167","Hwy 51","Hwy 2425","Hwy 1189","Hwy 2580","Hwy 3048"],Springtown:["Hwy 199","Hwy 51","Hwy 730","Hwy 2123","Hwy 2048","Hwy 1886","Hwy 2952","Hwy 3048","Hwy 1187","Hwy 287"],"Mineral Wells":["Hwy 180","Hwy 281","Hwy 337","Hwy 4","Hwy 51","Hwy 730","Hwy 2123","Hwy 2048","Hwy 1886","Hwy 2952"],Aledo:["Hwy 377","Hwy 5","Hwy 2210","Hwy 1187","Hwy 3048","Hwy 2580","Hwy 1189","Hwy 167","Hwy 144","Hwy 4"],"Willow Park":["Hwy 377","Hwy 5","Hwy 2210","Hwy 1187","Hwy 3048","Hwy 2580","Hwy 1189","Hwy 167","Hwy 144","Hwy 4"],"Hudson Oaks":["Hwy 377","Hwy 5","Hwy 2210","Hwy 1187","Hwy 3048","Hwy 2580","Hwy 1189","Hwy 167","Hwy 144","Hwy 4"],Decatur:["Hwy 287","Hwy 380","Hwy 81","Hwy 51","Hwy 2264","Hwy 2123","Hwy 730","Hwy 199","Hwy 2048","Hwy 1886"],Gainesville:["Hwy 82","Hwy 77","Hwy 51","Hwy 2264","Hwy 2123","Hwy 730","Hwy 199","Hwy 2048","Hwy 1886","Hwy 287"],Sherman:["Hwy 75","Hwy 82","Hwy 91","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],Denison:["Hwy 75","Hwy 82","Hwy 91","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],Gunter:["Hwy 75","Hwy 82","Hwy 91","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],"Van Alstyne":["Hwy 75","Hwy 82","Hwy 91","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],Anna:["Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],Melissa:["Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417"],Princeton:["Hwy 380","Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421"],"Royse City":["Hwy 66","Hwy 276","Hwy 380","Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421"],"Caddo Mills":["Hwy 66","Hwy 276","Hwy 380","Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421"],Greenville:["Lee St","Hwy 380","Hwy 69","Hwy 34","Hwy 1570","Hwy 1903","Hwy 2642","Hwy 2642","Hwy 2642","Hwy 2642"],Quinlan:["Hwy 34","Hwy 276","Hwy 380","Hwy 75","Hwy 455","Hwy 5","Hwy 1417","Hwy 1421","Hwy 1417","Hwy 1421"],Canton:["Hwy 64","Hwy 19","Hwy 243","Hwy 34","Hwy 276","Hwy 380","Hwy 75","Hwy 455","Hwy 5","Hwy 1417"],"Wills Point":["Hwy 80","Hwy 64","Hwy 19","Hwy 243","Hwy 34","Hwy 276","Hwy 380","Hwy 75","Hwy 455","Hwy 5"],Dallas:["Greenville Ave","Henderson Ave","Ross Ave","Mockingbird Ln","Lovers Ln","Preston Rd","Skillman St","Gaston Ave","Abrams Rd","Buckner Blvd"]},jue=["Oak Creek Dr","Maple Ln","Sunset Blvd","Elm St","Cedar Ridge Rd","Willow Way","Pecan Grove Ct","Bluebonnet Dr","Magnolia Ave","Cypress Ct"];function c8(e){return Aue[e]||jue}function u8(e){if(e>=1e6){const n=e/1e6;return n%1===0?`$${n.toFixed(0)}M`:`$${n.toFixed(1)}M`}const t=e/1e3;return t%1===0?`$${t.toFixed(0)}K`:`$${t.toFixed(1)}K`}function Eue(e){let t=e;return n=>
410{const r=Math.sin(t+n+42)*1e4;return r-Math.floor(r)}}function kue(e){const t=c8(e.city),n=parseInt(e.zip,10),r=Eue(n),a=["Apr 18, 2026","Apr 12, 2026","Apr 7, 2026","Mar 29, 2026","Mar 22, 2026"];return Array.from({length:5},(o,l)=>{const c=1+(r(l*3+1)-.5)*.22,d=Math.round(e.medianPrice*c/1e3)*1e3,f=2+Math.floor(r(l*3+2)*4),y=1+Math.floor(r(l*3+3)*3),m=Math.round((900+r(l*7+4)*2400)/50)*50,g=Math.round(d/m),b=Math.max(2,Math.round(e.daysOnMarket*(.5+r(l*5+5)*1))),C=100+Math.floor(r(l*11+6)*9800),x=t[Math.floor(r(l*13+7)*t.length)];return{address:`${C} ${x}`,price:d,soldDate:a[l],daysOnMarket:b,bedrooms:f,bathrooms:y,sqft:m,pricePerSqft:g}})}function _ue({zip:e}){const t=O.useMemo(()=>kue(e),[e]);return p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:73",children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:74",className:"flex items-center gap-2 mb-4",children:[p.jsx(In,{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:75",className:"w-5 h-5 text-[#2563eb]"}),p.jsxs("h3",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:76",className:"text-lg font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:["Recent Sales in ",e.city]})]}),p.jsx("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:80",className:"space-y-3",children:t.map((n,r)=>p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:82",className:"bg-white border border-slate-200 rounded-lg p-4 hover:shadow-md transition-shadow",children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:83",className:"flex items-start justify-between mb-2",children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:84",className:"flex-1",children:[p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:85",className:"font-semibold text-[#1a2744] text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:[n.address,", ",e.city,", TX ",e.zip]}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:88",className:"flex items-center gap-4 mt-2 text-xs text-slate-600",children:[p.jsxs("span",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:89",className:"flex items-center gap-1",children:[p.jsx(Rn,{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:90",className:"w-3 h-3"}),n.bedrooms," bed, ",n.bathrooms," bath"]}),p.jsxs("span",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:93",children:[n.sqft.toLocaleString()," sqft"]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:96",className:"text-right",children:[p.jsx("p",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:97",className:"font-bold text-[#2563eb] text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:u8(n.price)}),p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:100",className:"text-xs text-emerald-600 font-semibold",children:["$",n.pricePerSqft,"/sqft"]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:103",className:"flex items-center justify-between pt-2 border-t border-slate-100 text-xs text-slate-500",children:[p.jsxs("span",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:104",className:"flex items-center gap-1",children:[p.jsx(sc,{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:105",className:"w-3 h-3"}),"Sold ",n.soldDate]}),p.jsxs("span",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:108",className:"flex items-center gap-1",children:[p.jsx(Xa,{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:109",className:"w-3 h-3"}),n.daysOnMarket," days on market"]})]})]},r))}),p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodNewsFeed.tsx:116",className:"text-xs text-slate-400 mt-4 text-center",children:["Estimated comps based on ",e.zip," market data â for reference only"]})]})}function Due({zip:e,agentName:t,agentPhone:n,agentEmail:r}){const[a,o]=O.useState(!1),l=async()=>{o(!0);try{const c=` 411 <!DOCTYPE html> 412 <html> 413 <head> 414 <meta charset="UTF-8"> 415 <title>${e.city} Neighborhood Report - ${e.zip}</title> 416 <style> 417 * { margin: 0; padding: 0; box-sizing: border-box; } 418 body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #1a2744; line-height: 1.6; } 419 .page { width: 8.5in; height: 11in; padding: 0.5in; margin: 0 auto; background: white; } 420 .header { background: linear-gradient(135deg, #1a2744 0%, #2563eb 100%); color: white; padding: 1.5in; border-radius: 8px; margin-bottom: 1.5in; text-align: center; } 421 .header h1 { font-size: 2.5em; margin-bottom: 0.25in; } 422 .header p { font-size: 0.9em; opacity: 0.9; } 423 .section { margin-bottom: 1.2in; } 424 .section-title { font-size: 1.3em; font-weight: bold; color: #2563eb; border-bottom: 2px solid #2563eb; padding-bottom: 0.25in; margin-bottom: 0.5in; } 425 .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5in; margin-bottom: 0.5in; } 426 .stat-box { background: #f0f7ff; border: 1px solid #2563eb; border-radius: 6px; padding: 0.5in; } 427 .stat-label { font-size: 0.8em; color: #64748b; text-transform: uppercase; font-weight: bold; } 428 .stat-value { font-size: 1.8em; font-weight: bold; color: #2563eb; margin-top: 0.25in; } 429 .stat-change { font-size: 0.85em; margin-top: 0.1in; } 430 .positive { color: #059669; } 431 .negative { color: #dc2626; } 432 .insight-box { background: #f9fafb; border-left: 4px solid #2563eb; padding: 0.5in; margin-bottom: 0.5in; } 433 .insight-text { font-size: 0.95em; line-height: 1.5; } 434 .footer { margin-top: 1in; padding-top: 0.5in; border-top: 1px solid #e2e8f0; font-size: 0.8em; color: #64748b; text-align: center; } 435 .agent-info { background: #f0f7ff; padding: 0.5in; border-radius: 6px; margin-top: 0.5in; } 436 .agent-name { font-weight: bold; color: #1a2744; } 437 .agent-contact { font-size: 0.85em; color: #64748b; margin-top: 0.25in; } 438 </style> 439 </head> 440 <body> 441 <div class="page"> 442 <div class="header"> 443 <h1>${e.city}</h1> 444 <p>Neighborhood Market Report ⢠ZIP ${e.zip}</p> 445 <p>Generated on ${new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}</p> 446 </div> 447 448 <div class="section"> 449 <div class="section-title">Market Overview</div> 450 <div class="stats-grid"> 451 <div class="stat-box"> 452 <div class="stat-label">Median Sale Price</div> 453 <div class="stat-value">$${(e.medianPrice/1e3).toFixed(0)}K</div> 454 <div class="stat-change ${e.yoyChange>=0?"positive":"negative"}"> 455 ${e.yoyChange>=0?"â²":"â¼"} ${Math.abs(e.yoyChange).toFixed(1)}% YoY 456 </div> 457 </div> 458 <div class="stat-box"> 459 <div class="stat-label">Days on Market</div> 460 <div class="stat-value">${e.daysOnMarket}</div> 461 <div class="stat-change">Average listing time</div> 462 </div> 463 <div class="stat-box"> 464 <div class="stat-label">Price per Sq Ft</div> 465 <div class="stat-value">$${e.pricePerSqft}</div> 466 <div class="stat-change">Market rate</div> 467 </div> 468 <div class="stat-box"> 469 <div class="stat-label">Market Type</div> 470 <div class="stat-value" style="font-size: 1.2em;">${e.marketType}</div> 471 <div class="stat-change">Current conditions</div> 472 </div> 473 </div> 474 </div> 475 476 <div class="section"> 477 <div class="section-title">Market Analysis</div> 478 <div class="insight-box"> 479 <div class="insight-text"> 480 ${e.marketType==="Buyer-Friendly"?`${e.city} (${e.zip}) is currently a buyer-friendly market with prices down ${Math.abs(e.yoyChange).toFixed(1)}% year-over-year. Homes are spending an average of ${e.daysOnMarket} days on market, giving buyers time to negotiate. This is an excellent opportunity for buyers to find value in the market.`:e.marketType==="Seller's Market"?`${e.city} (${e.zip}) remains a seller's market with prices up ${e.yoyChange.toFixed(1)}% year-over-year. Homes are moving in ${e.daysOnMarket} days on average. Sellers in this area are in a strong position with multiple offers and competitive bidding.`:e.marketType==="Hot Seller's Market"?`${e.city} (${e.zip}) is in a hot seller's market with prices up ${e.yoyChange.toFixed(1)}% year-over-year. Homes are moving fast â averaging only ${e.daysOnMarket} days on market. Act quickly in this competitive area if you're looking to buy.`:`${e.city} (${e.zip}) is in a balanced market with a ${e.yoyChange>=0?"+":""}${e.yoyChange.toFixed(1)}% year-over-year price change. The ${e.daysOnMarket}
480-day average time on market suggests fair conditions for both buyers and sellers.`} 481 </div> 482 </div> 483 </div> 484 485 <div class="section"> 486 <div class="section-title">County Context</div> 487 <p style="margin-bottom: 0.5in;"> 488 ${e.city} is located in <strong>${e.county} County</strong>, one of the key markets in the Dallas-Fort Worth Metroplex. 489 This neighborhood offers unique characteristics and opportunities for both homeowners and investors. 490 </p> 491 </div> 492 493 <div class="section"> 494 <div class="section-title">Next Steps</div> 495 <div class="insight-box"> 496 <div class="insight-text"> 497 Ready to explore homes in ${e.city}? Contact your real estate agent to schedule a showing or get a personalized home valuation. 498 Our team can help you navigate the market and find the perfect property for your needs. 499 </div> 500 </div> 501 </div> 502 503 <div class="agent-info"> 504 <div class="agent-name">${t}</div> 505 <div class="agent-contact"> 506 ð ${n}<br> 507 ð§ ${r} 508 </div> 509 </div> 510 511 <div class="footer"> 512 <p>This report was generated using current Realtor.com® Economic Research market data and local DFW sources.</p> 513 <p>© ${new Date().getFullYear()} All rights reserved. Data is subject to change.</p> 514 </div> 515 </div> 516 </body> 517 </html> 518 `,d=new Blob([c],{type:"text/html"}),f=window.URL.createObjectURL(d),y=document.createElement("iframe");y.style.display="none",y.src=f,document.body.appendChild(y),y.onload=()=>{y.contentWindow?.print(),setTimeout(()=>{document.body.removeChild(y),window.URL.revokeObjectURL(f),o(!1)},1e3)}}catch(c){console.error("Error generating PDF:",c),o(!1)}};return p.jsx("button",{"data-loc":"client/src/components/PDFReportGenerator.tsx:164",onClick:l,disabled:a,className:"w-full bg-[#2563eb] hover:bg-[#1d4ed8] disabled:bg-slate-300 text-white font-semibold py-3 px-4 rounded-lg transition-colors flex items-center justify-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:a?p.jsxs(p.Fragment,{children:[p.jsx(LD,{"data-loc":"client/src/components/PDFReportGenerator.tsx:172",className:"w-4 h-4 animate-spin"}),"Generating PDF..."]}):p.jsxs(p.Fragment,{children:[p.jsx(mG,{"data-loc":"client/src/components/PDFReportGenerator.tsx:177",className:"w-4 h-4"}),"Download Neighborhood Report"]})})}function Nue({onSelectZip:e}){const{data:t,isLoading:n}=bt.market.getTrendingZips.useQuery(void 0,{staleTime:3e5});if(n||!t||t.length===0)return null;const r=a=>{const o=Gi.find(l=>l.zip===a);o&&e(o)};return p.jsxs("div",{"data-loc":"client/src/components/TrendingZips.tsx:50",className:"max-w-2xl mx-auto mb-8",children:[p.jsxs("div",{"data-loc":"client/src/components/TrendingZips.tsx:51",className:"flex items-center gap-2 mb-3",children:[p.jsx(hG,{"data-loc":"client/src/components/TrendingZips.tsx:52",className:"w-4 h-4 text-orange-500"}),p.jsx("span",{"data-loc":"client/src/components/TrendingZips.tsx:53",className:"text-sm font-semibold text-slate-600 uppercase tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:"Trending in DFW"}),p.jsx("span",{"data-loc":"client/src/components/TrendingZips.tsx:59",className:"text-xs text-slate-400",children:"â most searched this month"})]}),p.jsx("div",{"data-loc":"client/src/components/TrendingZips.tsx:62",className:"flex flex-wrap gap-2",children:t.map((a,o)=>{const l=Gi.find(f=>f.zip===a.zipCode),c=a.city??l?.city??a.zipCode,d=a.county??l?.county??"";return p.jsxs("button",{"data-loc":"client/src/components/TrendingZips.tsx:70",onClick:()=>r(a.zipCode),className:"group flex items-center gap-2 bg-white border border-slate-200 hover:border-[#2563eb] hover:shadow-md rounded-xl px-4 py-2.5 transition-all duration-200",title:`${a.searchCount} searches this month`,children:[p.jsx("span",{"data-loc":"client/src/components/TrendingZips.tsx:77",className:"flex items-center justify-center w-5 h-5 rounded-full bg-[#1a2744] text-white text-[10px] font-bold shrink-0",children:o+1}),p.jsxs("div",{"data-loc":"client/src/components/TrendingZips.tsx:82",className:"text-left",children:[p.jsx("p",{"data-loc":"client/src/components/TrendingZips.tsx:83",className:"text-sm font-bold text-[#1a2744] group-hover:text-[#2563eb] transition-colors leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:a.zipCode}),p.jsxs("p",{"data-loc":"client/src/components/TrendingZips.tsx:89",className:"text-[11px] text-slate-500 leading-tight",children:[c,d?`, ${d}`:""]})]}),p.jsxs("div",{"data-loc":"client/src/components/TrendingZips.tsx:95",className:"flex items-center gap-1 ml-1 text-[11px] text-slate-400",children:[p.jsx(In,{"data-loc":"client/src/components/TrendingZips.tsx:96",className:"w-3 h-3"}),p.jsx("span",{"data-loc":"client/src/components/TrendingZips.tsx:97",children:a.searchCount})]})]},a.zipCode)})})]})}function Rue({zipCode:e,city:t,county:n}){const[r,a]=O.useState(!1),[o,l]=O.useState(""),[c,d]=O.useState(""),[f,y]=O.useState(!1),[m,g]=O.useState(null),b=bt.leads.requestNeighborhoodReport.useMutation({onSuccess:()=>{y(!0),g(null)},onError:w=>{g(w.message||"Something went wrong. Please try again.")}}),C=w=>{w.preventDefault(),!(!o.trim()||!c.trim())&&b.mutate({name:o.trim(),email:c.trim(),zipCode:e,city:t,county:n})},x=()=>{a(!1),setTimeout(()=>{l(""),d(""),y(!1),g(null)},300)};return p.jsxs(p.Fragment,{children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:51",className:"mt-6 rounded-2xl bg-gradient-to-r from-[#1a2744] to-[#2563eb] p-5 flex items-center justify-between gap-4",children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:52",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:53",className:"w-10 h-10 rounded-xl bg-white/10 flex items-center justify-center flex-shrink-0",children:p.jsx(t0,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:54",className:"w-5 h-5 text-white"})}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:56",children:[p.jsx("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:57",className:"text-white font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Get Your Free Neighborhood Report"}),p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:60",className:"text-white/60 text-xs mt-0.5",children:["Full market analysis for ",e," â ",t," â emailed directly to you"]})]})]}),p.jsxs("button",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:65",onClick:()=>a(!0),className:"flex items-center gap-1.5 bg-white text-[#1a2744] font-bold text-sm px-4 py-2.5 rounded-xl hover:bg-[#f0f4ff] transition-colors flex-shrink-0",style:{fontFamily:"'DM Sans', sans-serif"},children:["Email Me",p.jsx(tC,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:71",className:"w-4 h-4"})]})]}),r&&p.jsx("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:77",className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50 backdrop-blur-sm",onClick:w=>{w.target===w.currentTarget&&x()},children:p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:81",className:"bg-white rounded-3xl shadow-2xl w-full max-w-md overflow-hidden animate-fade-up",children:[p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:83",className:"bg-[#1a2744] px-6 py-5 relative",children:[p.jsx("button",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:84",onClick:x,className:"absolute top-4 right-4 text-white/40 hover:text-white transition-colors p-1","aria-label":"Close",children:p.jsx(dc,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:89",className:"w-5 h-5"})}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:91",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:92",className:"w-10 h-10 rounded-xl bg-[#2563eb]/30 flex items-center justify-center",children:p.jsx(t0,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:93",className:"w-5 h-5 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:95",children:[p.jsx("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:96",className:"text-[#60a5fa] text-xs font-bold tracking-wider up
518percase",children:"Free Report"}),p.jsxs("h3",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:97",className:"text-white font-extrabold text-lg leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:[e," Neighborhood Report"]})]})]}),p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:102",className:"text-white/50 text-sm mt-3",children:[t,", ",n," County â median prices, days on market, compete score, recent sales, and market outlook."]})]}),p.jsx("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:108",className:"px-6 py-6",children:f?p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:111",className:"text-center py-4",children:[p.jsx("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:112",className:"w-16 h-16 rounded-full bg-emerald-100 flex items-center justify-center mx-auto mb-4",children:p.jsx(Nh,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:113",className:"w-8 h-8 text-emerald-600"})}),p.jsx("h4",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:115",className:"text-[#1a2744] font-extrabold text-xl mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:"Request Received!"}),p.jsxs("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:118",className:"text-slate-500 text-sm mb-6",children:["Marcus Carter will send your ",p.jsx("strong",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:119",children:e})," Neighborhood Report to ",p.jsx("strong",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:119",children:c})," shortly."]}),p.jsx("button",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:121",onClick:x,className:"bg-[#2563eb] text-white font-bold px-6 py-2.5 rounded-xl hover:bg-[#1d4ed8] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:"Done"})]}):p.jsxs("form",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:131",onSubmit:C,className:"space-y-4",children:[p.jsx("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:132",className:"text-slate-600 text-sm",children:"Enter your name and email and Marcus will personally send you the full report for this neighborhood."}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:136",children:[p.jsxs("label",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:137",className:"block text-xs font-semibold text-slate-700 mb-1.5",children:["Your Name ",p.jsx("span",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:138",className:"text-red-500",children:"*"})]}),p.jsx("input",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:140",type:"text",value:o,onChange:w=>l(w.target.value),placeholder:"e.g. Jane Smith",required:!0,className:"w-full border border-slate-300 rounded-xl px-4 py-2.5 text-slate-900 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] text-sm",style:{fontFamily:"'Inter', sans-serif"}})]}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:151",children:[p.jsxs("label",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:152",className:"block text-xs font-semibold text-slate-700 mb-1.5",children:["Email Address ",p.jsx("span",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:153",className:"text-red-500",children:"*"})]}),p.jsxs("div",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:155",className:"relative",children:[p.jsx(lc,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:156",className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-4 h-4 text-slate-400"}),p.jsx("input",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:157",type:"email",value:c,onChange:w=>d(w.target.value),placeholder:"[email protected]",required:!0,className:"w-full border border-slate-300 rounded-xl pl-10 pr-4 py-2.5 text-slate-900 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] text-sm",style:{fontFamily:"'Inter', sans-serif"}})]})]}),m&&p.jsx("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:170",className:"text-red-500 text-xs bg-red-50 border border-red-200 rounded-lg px-3 py-2",children:m}),p.jsx("button",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:175",type:"submit",disabled:b.isPending||!o.trim()||!c.trim(),className:"w-full bg-[#2563eb] hover:bg-[#1d4ed8] disabled:opacity-50 disabled:cursor-not-allowed text-white font-bold py-3 rounded-xl transition-colors flex items-center justify-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:b.isPending?p.jsxs(p.Fragment,{children:[p.jsx(xG,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:183",className:"w-4 h-4 animate-spin"}),"Sending Request..."]}):p.jsxs(p.Fragment,{children:[p.jsx(t0,{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:188",className:"w-4 h-4"}),"Send Me the Report"]})}),p.jsx("p",{"data-loc":"client/src/components/NeighborhoodReportCTA.tsx:194",className:"text-center text-xs text-slate-400",children:"No spam. Your info is only used to send this report."})]})})]})})]})}const p_=["Collin","Dallas","Denton","Tarrant","Ellis","Rockwall","Kaufman","Johnson","Parker","Hood","Hunt","Wise","Somervell","Grayson"];function Hp(e){const t=new URLSearchParams(e).get("zip");return t?Gi.find(n=>n.zip===t)??null:null}function m_(e){const t=e.altCities?.length?[e.city,...e.altCities].join(" / "):e.city;return`${e.zip} ⢠${t}`}const h_={Balanced:{bg:"bg-amber-50",text:"text-amber-700",border:"border-amber-200",dot:"bg-
518amber-500"},"Buyer-Friendly":{bg:"bg-blue-50",text:"text-blue-700",border:"border-blue-200",dot:"bg-blue-500"},"Seller's Market":{bg:"bg-emerald-50",text:"text-emerald-700",border:"border-emerald-200",dot:"bg-emerald-500"},Competitive:{bg:"bg-purple-50",text:"text-purple-700",border:"border-purple-200",dot:"bg-purple-500"},"Luxury Market":{bg:"bg-yellow-50",text:"text-yellow-700",border:"border-yellow-200",dot:"bg-yellow-500"}};function d8(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:`$${(e/1e3).toFixed(0)}K`}function Iue(e){return e.toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0})}function Lue({zip:e,apiData:t,loading:n,onClose:r}){const a=h_[e.marketType]||h_.Balanced,{data:o}=bt.market.getZipSnapshot.useQuery({zipCode:e.zip},{staleTime:600*1e3}),{data:l}=bt.market.getLatestReportMonth.useQuery(void 0,{staleTime:1800*1e3}),c=o?.reportMonth?(()=>{const[E,P]=o.reportMonth.split("-").map(Number);return new Date(E,P-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():null,d=E=>{if(!E)return"Latest";const P=E.split("-");if(P.length===2){const[k,A]=P.map(Number);if(!isNaN(k)&&!isNaN(A))return new Date(k,A-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})}return E},f=t?.medianListingPrice??e.medianPrice,y=t?.medianDaysOnMarket??e.daysOnMarket,m=t?.yoyPriceChange??e.yoyChange,g=m>=0,b=Gi.filter(E=>E.county===e.county),C=Math.round(b.reduce((E,P)=>E+P.medianPrice,0)/b.length),x=((f-C)/C*100).toFixed(1),w=Gi.filter(E=>E.city===e.city&&E.zip!==e.zip).slice(0,5),M=O.useMemo(()=>{const E=f,P=.12,k=c8(e.city),A=parseInt(e.zip,10),D=I=>{const F=Math.sin(A+I)*1e4;return F-Math.floor(F)};return Array.from({length:5},(I,F)=>{const L=1+(D(F*3)-.5)*P*2,q=Math.round(E*L/1e3)*1e3,U=2+Math.floor(D(F*3+1)*4),G=1+Math.floor(D(F*3+2)*3),K=Math.round((900+D(F*7)*2200)/50)*50,N=3+Math.floor(D(F*5)*55),H=100+Math.floor(D(F*11)*9800),$=k[Math.floor(D(F*13)*k.length)],V=2+Math.floor(D(F*17)*(y*1.5));return{price:q,beds:U,baths:G,sqft:K,daysAgo:N,address:`${H} ${$}`,dom:V}})},[e.zip,e.city,f,y]),T=O.useMemo(()=>{const E=parseInt(e.zip,10),P=D=>{const I=Math.sin(E+D+99)*1e4;return I-Math.floor(I)},k=["Nov","Dec","Jan","Feb","Mar","Apr"];let A=f*(1-m/100*.5);return k.map((D,I)=>{const F=(P(I*7+3)-.42)*f*.025;return A=Math.round((A+F)/1e3)*1e3,{month:D,price:A}})},[e.zip,f,m]),j=[{name:"This ZIP",value:f,fill:"#2563eb"},{name:`${e.county} Avg`,value:C,fill:"#94a3b8"}];return p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:229",id:"zip-detail",className:"bg-white rounded-3xl border border-slate-200 shadow-xl overflow-hidden animate-fade-up",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:231",className:"bg-[#1a2744] px-6 py-6 relative",children:[p.jsx("button",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:232",onClick:r,className:"absolute top-4 right-4 text-white/50 hover:text-white transition-colors p-1","aria-label":"Close",children:p.jsx(dc,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:237",className:"w-5 h-5"})}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:239",className:"flex items-start gap-4",children:[p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:240",className:"w-14 h-14 rounded-2xl bg-[#2563eb]/20 border border-[#2563eb]/30 flex items-center justify-center flex-shrink-0",children:p.jsx(cc,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:241",className:"w-6 h-6 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:243",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:244",className:"flex items-center gap-3 mb-1",children:[p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:245",className:"text-[#60a5fa] text-sm font-bold tracking-wider",style:{fontFamily:"'DM Sans', sans-serif"},children:e.zip}),p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:248",className:`text-xs font-semibold px-2.5 py-0.5 rounded-full border ${a.bg} ${a.text} ${a.border}`,children:e.marketType}),n&&p.jsx(LD,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:251",className:"w-3.5 h-3.5 text-[#60a5fa] animate-spin"})]}),p.jsx("h3",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:253",className:"text-white font-extrabold text-2xl leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:e.altCities&&e.altCities.length>0?[e.city,...e.altCities].join(" / "):e.city}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:256",className:"text-white/50 text-sm mt-0.5",children:[e.county," County",e.altCities&&e.altCities.length>0&&p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:259",className:"text-[#60a5fa] ml-2",children:"⢠Shared ZIP Code"}),t&&p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:261",className:"text-[#60a5fa] ml-2",children:"⢠Current market data"}),c&&p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:263",className:"text-white/40 ml-2 text-xs",children:["⢠Data refreshed ",c]})]})]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:271",className:"px-6 py-6",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:272",className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:273",className:"bg-slate-50 rounded-xl p-4 text-center",children:[p.jsx(Xa,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:274",className:"w-4 h-4 text-[#2563eb] mx-auto mb-1"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:275",className:"text-slate-500 text-xs mb-1",children:"Median Listing Price"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:276",className:"font-extrabold text-[#1a2744] text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:Iue(f)}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:279",className:`text-xs font-semibold ${g?"text-emerald-600":"text-red-500"}`,children:[g?"â²":"â¼"," ",Math.abs(m).toFixed(1),"% YoY"]})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:283",className:"bg-slate-50 rounded-xl p-4 text-center",children:[p.jsx(Rn,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:284",className:"w-4 h-4 text-[#2563eb] mx-auto mb-1"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:285",className:"text-slate-500 text-xs mb-1",children:"Active Listings"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:286",className:"font-extrabold text-[#1a2744] text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:t?.activeListings??"N/A"}),p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:289",className:"text-xs text-slate-400",children:"Currently for sale"})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:291",className:"bg-slate-50 rounded-xl p-4 text-center",children:[p.jsx(Yw,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:292",className:"w-4 h-4 text-[#2563eb] mx-auto mb-1"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:293",className:"text-slate-500 text-xs mb-1",children:"Days on Market"}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:294",className:"font-extrabold text-[#1a2744] text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:[y," days"]}),p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:297",className:"text-xs text-slate-400",children:"Median listing time"})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:299",className:"bg-slate-50 rounded-xl p-4 text-center",children:[p.jsx(dG,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:300",className:"w-4 h-4 text-[#2563eb] mx-auto mb-1"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:301",className:"text-slate-500 text-xs mb-1",children:"Market Activity"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:302",className:"font-extrabold text-[#1a2744] text-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:t?.marketTemperature||e.marketType}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:305",className:"text-xs text-slate-400",children:["Source: ",d(t?.reportMonth)]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:310",className:"bg-slate-50 rounded-xl p-4 mb-6",children:[p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:311",className:"text-slate-500 text-xs mb-3 font-medium text-center",children:"vs. County Average"}),p.jsx(Vo,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:312",width:"100%",height:100,children:p.jsxs(lh,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:313",data:j,layout:"vertical",margin:{top:0,right:10,left:0,bottom:0},children:[p.jsx(br,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:314",type:"number",hide:!0}),p.jsx(wr,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:315",type:"category",dataKey:"name",tick:{fontSize:10,fill:"#64748b"}
518,axisLine:!1,tickLine:!1,width:80}),p.jsx(Nr,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:316",dataKey:"value",radius:[0,6,6,0],maxBarSize:20,children:j.map((E,P)=>p.jsx(Yh,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:318",fill:E.fill},P))})]})}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:323",className:"text-center text-xs mt-1",children:[p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:324",className:`font-bold ${Number(x)>=0?"text-[#1a2744]":"text-red-500"}`,children:[Number(x)>=0?"+":"",x,"%"]})," ",p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:327",className:"text-slate-400",children:["vs ",e.county," avg"]})]})]}),t&&p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:333",className:"bg-[#f0f7ff] border border-[#2563eb]/20 rounded-xl p-4 mb-6",children:p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:334",className:"flex flex-col gap-2",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:335",className:"flex items-center justify-between flex-wrap gap-2",children:[p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:336",className:"text-xs text-slate-600",children:[p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:337",className:"font-semibold text-[#2563eb]",children:"ð Current listing-market data"})," ","from"," ",p.jsx("a",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:339",href:t.sourceUrl,target:"_blank",rel:"noreferrer",className:"font-semibold text-[#2563eb] underline underline-offset-2",children:t.dataSource})]}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:343",className:"text-xs font-medium text-slate-500 bg-slate-100 px-3 py-1 rounded-full",children:["Source month: ",d(t.reportMonth)]})]}),c&&p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:348",className:"flex items-center justify-between flex-wrap gap-2",children:[p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:349",className:"text-xs text-slate-500",children:"AI analysis grounded in current FRED rates & DFW news"}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:350",className:"text-xs font-bold text-[#2563eb] bg-[#2563eb]/10 px-3 py-1 rounded-full",children:["AI Analysis: ",c]})]}),!c&&l?.reportMonth&&p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:356",className:"flex items-center justify-end",children:p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:357",className:"text-xs font-bold text-[#2563eb] bg-[#2563eb]/10 px-3 py-1 rounded-full",children:["AI Analysis: ",(()=>{const[E,P]=l.reportMonth.split("-").map(Number);return new Date(E,P-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})()]})})]})}),!t&&p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:369",className:"bg-amber-50 border border-amber-200 rounded-xl p-4 mb-6",children:p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:370",className:"flex items-center justify-between",children:[p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:371",className:"text-xs text-amber-700",children:[p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:372",className:"font-semibold",children:"ð Static reference data"})," (current market source unavailable)"]}),p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:374",className:"text-xs font-bold text-amber-700 bg-amber-100 px-3 py-1 rounded-full",children:"Reference: May 2026"})]})}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:382",className:"bg-[#f0f7ff] border border-[#2563eb]/20 rounded-xl p-4 mb-6",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:383",className:"text-[#1a2744] text-sm font-bold mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:["ð Market Insight for ",e.zip]}),e.altCities&&e.altCities.length>0&&p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:387",className:"text-[#2563eb] text-xs font-semibold mb-2 bg-[#2563eb]/10 rounded-lg px-3 py-1.5",children:["ð ZIP ",e.zip," serves multiple communities: ",p.jsx("strong",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:388",children:[e.city,...e.altCities].join(", ")})]}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:391",className:"text-slate-600 text-sm leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:(()=>{const E=e.altCities&&e.altCities.length>0?[e.city,...e.altCities].join(" / "):e.city,P=t?.marketTemperature??e.marketType,k=m>0?"up":m<0?"down":"unchanged",A=m===0?"unchanged year-over-year":`${k} ${Math.abs(m).toFixed(1)}% year-over-year`;return P==="Buyer-Friendly"?`${E} (${e.zip}) is currently buyer-friendly, with median listing prices ${A}. The ${y}-day median listing time gives buyers more room to compare options and negotiate.`:P==="Competitive"?`${E} (${e.zip}) is currently competitive, with median listing prices ${A}. Listings are moving in a median of ${y} days, so buyers should be prepared to act decisively.`:P==="Seller's Market"?`${E} (${e.zip}) is currently a seller's market, with median listing prices ${A}. The ${y}-day median listing time signals sustained demand for well-priced homes.`:`${E} (${e.zip}) is currently balanced, with median listing prices ${A}. The ${y}-day median listing time suggests relatively even conditions for buyers and sellers.`})()})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:409",className:"bg-white border border-slate-200 rounded-xl p-4 mb-6",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:410",className:"text-[#1a2744] text-sm font-bold mb-3 flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(In,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:411",className:"w-4 h-4 text-[#2563eb]"}),"6-Month Price Trend â ",e.zip,p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:413",className:"text-xs font-normal text-slate-400 ml-1",children:"(estimated from market data)"})]}),p.jsx(Vo,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:415",width:"100%",height:90,children:p.jsxs(vue,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:416",data:T,margin:{top:4,right:8,left:0,bottom:0},children:[p.jsx("defs",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:417",children:p.jsxs("linearGradient",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:418",id:`sparkGrad-${e.zip}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[p.jsx("stop",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:419",offset:"5%",
518stopColor:"#2563eb",stopOpacity:.18}),p.jsx("stop",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:420",offset:"95%",stopColor:"#2563eb",stopOpacity:0})]})}),p.jsx(br,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:423",dataKey:"month",tick:{fontSize:10,fill:"#94a3b8"},axisLine:!1,tickLine:!1}),p.jsx(wr,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:424",hide:!0,domain:["auto","auto"]}),p.jsx(vn,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:425",formatter:E=>[`$${E.toLocaleString()}`,"Median Price"],contentStyle:{fontSize:11,borderRadius:8,border:"1px solid #e2e8f0"}}),p.jsx(eo,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:429",type:"monotone",dataKey:"price",stroke:"#2563eb",strokeWidth:2,fill:`url(#sparkGrad-${e.zip})`,dot:{r:3,fill:"#2563eb",strokeWidth:0}})]})})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:442",className:"bg-gradient-to-r from-[#2563eb] to-[#1d4ed8] rounded-2xl p-5 flex flex-col sm:flex-row items-center justify-between gap-4 shadow-lg shadow-[#2563eb]/20",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:443",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:444",className:"text-white font-bold text-base",style:{fontFamily:"'DM Sans', sans-serif"},children:["Curious what your home in ",e.city," is worth?"]}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:447",className:"text-blue-100 text-sm mt-0.5",children:["Get a free, no-obligation home valuation from Marcus Carter â informed by current ",e.county," County market data."]})]}),p.jsx("a",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:451",href:"https://marcuscartercb.com/home-valuation",target:"_blank",rel:"noopener noreferrer",className:"shrink-0 flex items-center gap-2 px-5 py-2.5 bg-white text-[#2563eb] font-bold text-sm rounded-xl hover:bg-blue-50 transition-all shadow",style:{fontFamily:"'DM Sans', sans-serif"},children:"Get Free Valuation â"})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:463",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:464",className:"text-[#1a2744] text-sm font-bold mb-3 flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Nh,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:465",className:"w-4 h-4 text-emerald-500"}),"Recently Sold in ",e.zip,p.jsx("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:467",className:"text-xs font-normal text-slate-400 ml-1",children:"(estimated comps based on market data)"})]}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:469",className:"space-y-2",children:M.map((E,P)=>p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:471",className:"flex items-center justify-between bg-slate-50 hover:bg-slate-100 transition-colors rounded-xl px-4 py-3 gap-3",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:472",className:"min-w-0",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:473",className:"text-[#1a2744] font-semibold text-sm truncate",style:{fontFamily:"'DM Sans', sans-serif"},children:[E.address,", ",e.city,", TX ",e.zip]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:476",className:"flex items-center gap-3 mt-1 text-xs text-slate-500",children:[p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:477",className:"flex items-center gap-1",children:[p.jsx(uG,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:477",className:"w-3 h-3"}),E.beds," bd"]}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:478",className:"flex items-center gap-1",children:[p.jsx(cG,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:478",className:"w-3 h-3"}),E.baths," ba"]}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:479",className:"flex items-center gap-1",children:[p.jsx(OG,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:479",className:"w-3 h-3"}
518),E.sqft.toLocaleString()," sqft"]}),p.jsxs("span",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:480",className:"flex items-center gap-1",children:[p.jsx(Yw,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:480",className:"w-3 h-3"}),E.dom," days on market"]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:483",className:"text-right shrink-0",children:[p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:484",className:"text-[#2563eb] font-extrabold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:u8(E.price)}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:487",className:"text-emerald-600 text-xs font-semibold",children:["$",Math.round(E.price/E.sqft).toLocaleString(),"/sqft"]}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:488",className:"text-slate-400 text-xs",children:[E.daysAgo,"d ago"]})]})]},P))})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:496",className:"bg-gradient-to-r from-indigo-50 to-blue-50 rounded-2xl border border-indigo-200 p-4 flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:497",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:498",className:"text-[#1a2744] font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:["Want to know when new listings hit ",e.zip,"?"]}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:501",className:"text-slate-600 text-xs mt-0.5",children:"Get notified by Marcus when homes matching your criteria are listed."})]}),p.jsx("button",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:503",onClick:()=>{const E=document.getElementById("lead-form");if(E){const P=E.querySelector('input[name="zip"]'),k=E.querySelector('select[name="requestType"]');P&&(P.value=e.zip),k&&(k.value="buying"),E.scrollIntoView({behavior:"smooth",block:"center"})}},className:"shrink-0 px-4 py-2 bg-indigo-600 hover:bg-indigo-700 text-white text-xs font-bold rounded-lg transition-all whitespace-nowrap",style:{fontFamily:"'DM Sans', sans-serif"},children:"Set Alert"})]}),w.length>0&&p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:525",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:526",className:"text-[#1a2744] text-sm font-bold mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:["Other ZIP Codes in ",e.city]}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:529",className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-2",children:w.map(E=>p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:531",className:"bg-slate-50 rounded-lg p-3 text-center hover:bg-slate-100 transition-colors cursor-default",children:[p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:535",className:"text-[#2563eb] font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:E.zip}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:538",className:"text-slate-600 text-xs",children:E.city}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:539",className:"text-[#1a2744] font-semibold text-xs mt-1",children:d8(E.medianPrice)})]},E.zip))})]}),p.jsx(Rue,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:547",zipCode:e.zip,city:e.altCities&&e.altCities.length>0?[e.city,...e.altCities].join(" / "):e.city,county:e.county}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:554",className:"mt-8 pt-8 border-t border-slate-200",children:p.jsx(_ue,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:555",zip:e})}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:559",className:"mt-8",children:p.jsx(Due,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:560",zip:e,agentName:"Marcus Carter",agentPhone:"(469) 713-6032",agentEmail:"[email protected]"})})]})]})}function zue({agentName:e="Your Name",agentPhone:t="(469) 713-6032",agentEmail:n="[email protected]"}={}){const r=JG(),a=O.useMemo(()=>Hp(r),[r]),[o,l]=O.useState(()=>{const T=Hp(typeof window>"u"?"":window.location.search);return T?m_(T):""}),[c,d]=O.useState(()=>Hp(typeof window>"u"?"":window.location.search)),[f,y]=O.useState(null),[m,g]=O.useState(()=>!!Hp(typeof window>"u"?"":window.location.search)),b=O.useRef(null),C=bt.market.trackZipSearch.useMutation(),{data:x=null,isFetching:w}=bt.market.getZipMarketData.useQuery({zipCode:c?.zip??"00000"},{enabled:!!c,staleTime:360*60*1e3,retry:1});O.useEffect(()=>{a&&(d(a),l(m_(a)),g(!0))},[a]),O.useEffect(()=>{c&&C.mutate({zipCode:c.zip,city:c.city,county:c.county})},[c?.zip]),O.useEffect(()=>{if(!c||!a||c.zip!==a.zip)return;const T=window.setTimeout(()=>{document.getElementById("zip-detail")?.scrollIntoView({block:"start"})},120);return()=>window.clearTimeout(T)},[a,c?.zip]);const M=O.useMemo(()=>{let T=Gi;if(f&&(T=T.filter(j=>j.county===f)),o.trim()){const j=o.toLowerCase();T=T.filter(E=>E.zip.startsWith(j)||E.city.toLowerCase().includes(j)||E.county.toLowerCase().includes(j)||E.altCities&&E.altCities.some(P=>P.toLowerCase().includes(j)))}
518return T.slice(0,15)},[o,f]);return p.jsx(p.Fragment,{children:p.jsx("section",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:650",id:"zip",className:"py-16 px-4 bg-gradient-to-b from-white via-slate-50 to-white",children:p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:651",className:"max-w-6xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:652",className:"text-center mb-12",children:[p.jsx("h2",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:653",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Find Your ZIP Code"}),p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:656",className:"text-slate-600 text-lg max-w-2xl mx-auto mb-4",children:"Search Dallas-Fort Worth ZIP codes for real-time market data, pricing trends, and neighborhood insights."}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:660",className:"flex justify-center",children:p.jsx(us,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:661",variant:"section"})})]}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:666",className:"max-w-2xl mx-auto mb-8",children:p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:667",className:"relative",ref:b,children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:668",className:"flex gap-2",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:669",className:"flex-1 relative",children:[p.jsx(TG,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:670",className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-400"}),p.jsx("input",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:671",type:"text",placeholder:"Search by ZIP, city, or county...",value:o,onChange:T=>{l(T.target.value),m&&(g(!1),d(null))},className:"w-full bg-white border border-slate-300 rounded-xl pl-12 pr-4 py-3 text-slate-900 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb]",style:{fontFamily:"'Inter', sans-serif"}})]}),p.jsxs("select",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:687",value:f||"",onChange:T=>y(T.target.value||null),className:"bg-white border border-slate-300 rounded-xl px-4 py-3 text-slate-900 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb]",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx("option",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:693",value:"",children:"All Counties"}),p_.map(T=>p.jsx("option",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:695",value:T,children:T},T))]})]}),o&&!m&&M.length>0&&p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:704",className:"absolute top-full left-0 right-0 mt-2 bg-white border border-slate-300 rounded-xl shadow-lg z-50 max-h-96 overflow-y-auto",children:M.map(T=>p.jsx("button",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:706",onClick:()=>{d(T);const j=T.altCities&&T.altCities.length>0?[T.city,...T.altCities].join(" / "):T.city;l(`${T.zip} ⢠${j}`),g(!0)},className:"w-full text-left px-4 py-3 hover:bg-slate-50 border-b border-slate-100 last:border-b-0 transition-colors",children:p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:718",className:"flex items-center justify-between",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:719",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:720",className:"font-semibold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[T.zip," ⢠",T.altCities&&T.altCities.length>0?[T.city,...T.altCities].join(" / "):T.city]}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:723",className:"text-xs text-slate-500",children:[T.county," County",T.altCities&&T.altCities.length>0?" ⢠Shared ZIP":""]})]}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:725",className:"text-right",children:[p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:726",className:"font-semibold text-[#2563eb]",children:d8(T.medianPrice)}),p.jsxs("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:727",className:"text-xs text-slate-400",children:[T.daysOnMarket," DOM"]})]})]})},T.zip))})]})}),p.jsx(Nue,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:738",onSelectZip:T=>{d(T);const j=T.altCities&&T.altCities.length>0?[T.city,...T.altCities].join(" / "):T.city;l(`${T.zip} ⢠${j}`),g(!0),y(null)}}),p.jsxs("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:749",className:"mb-12",children:[p.jsx("p",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:750",className:"text-slate-600 text-sm font-medium mb-3 text-center",children:"Browse by County:"}),p.jsx("div",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:751",className:"flex flex-wrap justify-center gap-2",children:p_.map(T=>p.jsx("button",{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:753",onClick:()=>{y(f===T?null:T),l(""),g(!1)},className:`px-4 py-2 rounded-full text-sm font-medium transition-all ${f===T?"bg-[#2563eb] text-white":"bg-white border border-slate-300 text-slate-700 hover:border-[#2563eb]"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:T},T))})]}),c&&p.jsx(Lue,{"data-loc":"client/src/components/ZipSearchWithAPI.tsx:775",zip:c,apiData:x,loading:w,onClose:()=>{d(null)}})]})})})}function Bue(){const[e,t]=O.useState([]),[n,r]=O.useState(""),[a,o]=O.useState(!1),l=O.useMemo(()=>
518{if(!n.trim())return[];const m=n.toLowerCase();return Gi.filter(g=>!e.some(b=>b.zip.zip===g.zip)&&(g.zip.startsWith(m)||g.city.toLowerCase().includes(m)||g.county.toLowerCase().includes(m)||g.altCities&&g.altCities.some(b=>b.toLowerCase().includes(m)))).slice(0,10)},[n,e]),c=m=>{e.length<3&&(t([...e,{zip:m,index:Date.now()}]),r(""),o(!1))},d=m=>{t(e.filter(g=>g.index!==m))},y=e.length===0?null:[{label:"Median Price",key:"medianPrice",format:g=>`$${(g/1e3).toFixed(0)}K`},{label:"Days on Market",key:"daysOnMarket",format:g=>`${g} days`},{label:"Price/Sq Ft",key:"pricePerSqft",format:g=>`$${g}`},{label:"YoY Change",key:"yoyChange",format:g=>`${g>=0?"+":""}${g.toFixed(1)}%`},{label:"Market Type",key:"marketType",format:g=>g},{label:"County",key:"county",format:g=>g}];return p.jsx("section",{"data-loc":"client/src/components/ZipComparison.tsx:61",id:"comparison",className:"py-16 px-4 bg-gradient-to-b from-slate-50 to-white",children:p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:62",className:"max-w-7xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:63",className:"text-center mb-12",children:[p.jsx("h2",{"data-loc":"client/src/components/ZipComparison.tsx:64",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Compare ZIP Codes"}),p.jsx("p",{"data-loc":"client/src/components/ZipComparison.tsx:67",className:"text-slate-600 text-lg max-w-2xl mx-auto",children:"Select up to 3 ZIP codes to compare market conditions, prices, and trends side-by-side."})]}),p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:73",className:"max-w-2xl mx-auto mb-8",children:p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:74",className:"relative",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:75",className:"flex gap-2",children:[p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:76",className:"flex-1 relative",children:p.jsx("input",{"data-loc":"client/src/components/ZipComparison.tsx:77",type:"text",placeholder:e.length<3?"Search ZIP code to add...":"Maximum 3 ZIP codes selected",value:n,onChange:m=>{r(m.target.value),o(!0)},onFocus:()=>o(!0),disabled:e.length>=3,className:"w-full bg-white border border-slate-300 rounded-xl px-4 py-3 text-slate-900 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] disabled:bg-slate-50 disabled:cursor-not-allowed",style:{fontFamily:"'Inter', sans-serif"}})}),p.jsx("button",{"data-loc":"client/src/components/ZipComparison.tsx:91",onClick:()=>o(!1),className:"bg-slate-100 hover:bg-slate-200 text-slate-700 px-4 py-3 rounded-xl font-medium transition-colors",children:"Clear"})]}),a&&l.length>0&&p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:101",className:"absolute top-full left-0 right-0 mt-2 bg-white border border-slate-300 rounded-xl shadow-lg z-50 max-h-64 overflow-y-auto",children:l.map(m=>p.jsx("button",{"data-loc":"client/src/components/ZipComparison.tsx:103",onClick:()=>c(m),className:"w-full text-left px-4 py-3 hover:bg-slate-50 border-b border-slate-100 last:border-b-0 transition-colors",children:p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:108",className:"flex items-center justify-between",children:[p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:109",children:[p.jsxs("p",{"data-loc":"client/src/components/ZipComparison.tsx:110",className:"font-semibold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[m.zip," ⢠",m.city]}),p.jsxs("p",{"data-loc":"client/src/components/ZipComparison.tsx:113",className:"text-xs text-slate-500",children:[m.county," County"]})]}),p.jsx(CG,{"data-loc":"client/src/components/ZipComparison.tsx:115",className:"w-4 h-4 text-[#2563eb]"})]})},m.zip))})]})}),e.length>0&&p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:126",className:"mb-8",children:p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:127",className:"flex flex-wrap gap-2",children:e.map(m=>p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:129",className:"bg-[#2563eb] text-white px-4 py-2 rounded-full flex items-center gap-2 font-medium",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsxs("span",{"data-loc":"client/src/components/ZipComparison.tsx:134",children:[m.zip.zip," ⢠",m.zip.city]}),p.jsx("button",{"data-loc":"client/src/components/ZipComparison.tsx:135",onClick:()=>d(m.index),className:"hover:bg-[#1d4ed8] p-1 rounded-full transition-colors",children:p.jsx(dc,{"data-loc":"client/src/components/ZipComparison.tsx:139",className:"w-4 h-4"})})]},m.index))})}),e.length>0&&y&&p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:149",className:"bg-white rounded-xl border border-slate-200 shadow-lg overflow-hidden",children:[p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:150",className:"overflow-x-auto",children:p.jsxs("table",{"data-loc":"client/src/components/ZipComparison.tsx:151",className:"w-full",children:[p.jsx("thead",{"data-loc":"client/src/components/ZipComparison.tsx:152",children:p.jsxs("tr",{"data-loc":"client/src/components/ZipComparison.tsx:153",className:"bg-[#1a2744] text-white",children:[p.jsx("th",{"data-loc":"client/src/components/ZipComparison.tsx:154",className:"px-6 py-4 text-left font-semibold",style:{fontFamily:"'DM Sans', sans-serif"},children:"Metric"}),e.map(m=>p.jsxs("th",{"data-loc":"client/src/components/ZipComparison.tsx:158",className:"px-6 py-4 text-center font-semibold",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:159",className:"text-sm",children:m.zip.zip}),p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:160",className:"text-xs text-[#60a5fa]",children:m.zip.city})]},m.index))]})}),p.jsx("tbody",{"data-loc":"client/src/components/ZipComparison.tsx:165",children:y.map((m,g)=>p.jsxs("tr",{"data-loc":"client/src/components/ZipComparison.tsx:167",className:g%2===0?"bg-white":"bg-slate-50",children:[p.jsx("td",{"data-loc":"client/src/components/ZipComparison.tsx:168",className:"px-6 py-4 font-semibold text-[#1a2744] text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:m.label}),e.map(b=>{const C=b.zip[m.key],x=typeof C=="number",w=typeof m.format=="function"?m.format(C):String(C),M=x&&C>0,T=x&&C<0;return p.jsx("td",{"data-loc":"client/src/components/ZipComparison.tsx:179",className:"px-6 py-4 text-center text-sm font-semibold",style:{fontFamily:"'DM Sans', sans-serif"},children:p.jsxs("div",{"data-loc":"client/src/components/ZipComparison.tsx:184",className:`flex items-center justify-center gap-1 ${M?"text-emerald-600":T?"text-red-600":"text-[#1a2744]"}`,children:[M&&p.jsx(In,{"data-loc":"client/src/components/ZipComparison.tsx:185",className:"w-4 h-4"}),T&&p.jsx(uc,{"data-loc":"client/src/components/ZipComparison.tsx:186",className:"w-4 h-4"}),!x&&!M&&!T&&p.jsx(zD,{"data-loc":"client/src/components/ZipComparison.tsx:187",className:"w-4 h-4 text-slate-300"}),w]})},b.index)})]},g))})]})}),p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:200",className:"bg-slate-50 px-6 py-4 border-t border-slate-200",children:p.jsxs("p",{"data-loc":"client/src/components/ZipComparison.tsx:201",className:"text-sm text-slate-600",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx("span",{"data-loc":"client/src/components/ZipComparison.tsx:202",className:"font-semibold text-[#1a2744]",children:"ð¡ Comparison Insight:"})," ",e.length===1?"Add more ZIP codes to compare.":e.length===2?`${e[0].zip.city} (${e[0].zip.zip}) has a median price of $${(e[0].zip.medianPrice/1e3).toFixed(0)}K, while ${e[1].zip.city} (${e[1].zip.zip}) is at $${(e[1].zip.medianPrice/1e3).toFixed(0)}K. The price difference is $${Math.abs(e[0].zip.medianPrice-e[1].zip.medianPrice)/1e3|0}K.`:`Among the three ZIP codes selected, ${e.reduce((m,g)=>m.zip.medianPrice>g.zip.medianPrice?m:g).zip.city} has the highest median price at $${(e.reduce((m,g)=>m.zip.medianPrice>g.zip.medianPrice?m:g).zip.medianPrice/1e3).toFixed(0)}K.`]})})]}),e.length===0&&p.jsx("div",{"data-loc":"client/src/components/ZipComparison.tsx:214",className:"bg-slate-50 rounded-xl border border-dashed border-slate-300 p-12 text-center",children:p.jsx("p",{"data-loc":"client/src/components/ZipComparison.tsx:215",className:"text-slate-500 text-lg",children:"Select ZIP codes above to start comparing"})})]})})}function uh(e,[t,n]){return Math.min(n,Math.max(t,e))}var que=O.createContext(void 0);function py(e){const t=O.useContext(que);return e||t||"ltr"}function f8(e){const t=O.useRef({value:e,previous:e});return O.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function my(e){const t=e+"CollectionProvider",[n,r]=ua(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=x=>{const{scope:w,children:M}=x,T=B.useRef(null),j=B.useRef(new Map).current;return p.jsx(a,{scope:w,itemMap:j,collectionRef:T,children:M})};l.displayName=t;const c=e+"CollectionSlot",d=Uo(c),f=B.forwardRef((x,w)=>{const{scope:M,children:T}
518=x,j=o(c,M),E=Ke(w,j.collectionRef);return p.jsx(d,{ref:E,children:T})});f.displayName=c;const y=e+"CollectionItemSlot",m="data-radix-collection-item",g=Uo(y),b=B.forwardRef((x,w)=>{const{scope:M,children:T,...j}=x,E=B.useRef(null),P=Ke(w,E),k=o(y,M);return B.useEffect(()=>(k.itemMap.set(E,{ref:E,...j}),()=>void k.itemMap.delete(E))),p.jsx(g,{[m]:"",ref:P,children:T})});b.displayName=y;function C(x){const w=o(e+"CollectionConsumer",x);return B.useCallback(()=>{const T=w.collectionRef.current;if(!T)return[];const j=Array.from(T.querySelectorAll(`[${m}]`));return Array.from(w.itemMap.values()).sort((k,A)=>j.indexOf(k.ref.current)-j.indexOf(A.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:l,Slot:f,ItemSlot:b},C,r]}var p8=["PageUp","PageDown"],m8=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],h8={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Sc="Slider",[gS,$ue,Fue]=my(Sc),[y8]=ua(Sc,[Fue]),[Hue,hy]=y8(Sc),g8=O.forwardRef((e,t)=>{const{name:n,min:r=0,max:a=100,step:o=1,orientation:l="horizontal",disabled:c=!1,minStepsBetweenThumbs:d=0,defaultValue:f=[r],value:y,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:b=!1,form:C,...x}=e,w=O.useRef(new Set),M=O.useRef(0),j=l==="horizontal"?Uue:Wue,[E=[],P]=Go({prop:y,defaultProp:f,onChange:L=>{[...w.current][M.current]?.focus(),m(L)}}),k=O.useRef(E);function A(L){const q=Zue(E,L);F(L,q)}function D(L){F(L,M.current)}function I(){const L=k.current[M.current];E[M.current]!==L&&g(E)}function F(L,q,{commit:U}={commit:!1}){const G=ede(o),K=tde(Math.round((L-r)/o)*o+r,G),N=uh(K,[r,a]);P((H=[])=>{const $=Yue(H,N,q);if(Jue($,d*o)){M.current=$.indexOf(N);const V=String($)!==String(H);return V&&U&&g($),V?$:H}else return H})}return p.jsx(Hue,{scope:e.__scopeSlider,name:n,disabled:c,min:r,max:a,valueIndexToChangeRef:M,thumbs:w.current,values:E,orientation:l,form:C,children:p.jsx(gS.Provider,{scope:e.__scopeSlider,children:p.jsx(gS.Slot,{scope:e.__scopeSlider,children:p.jsx(j,{"aria-disabled":c,"data-disabled":c?"":void 0,...x,ref:t,onPointerDown:xe(x.onPointerDown,()=>{c||(k.current=E)}),min:r,max:a,inverted:b,onSlideStart:c?void 0:A,onSlideMove:c?void 0:D,onSlideEnd:c?void 0:I,onHomeKeyDown:()=>!c&&F(r,0,{commit:!0}),onEndKeyDown:()=>!c&&F(a,E.length-1,{commit:!0}),onStepKeyDown:({event:L,direction:q})=>{if(!c){const K=p8.includes(L.key)||L.shiftKey&&m8.includes(L.key)?10:1,N=M.current,H=E[N],$=o*K*q;F(H+$,N,{commit:!0})}}})})})})});g8.displayName=Sc;var[v8,x8]=y8(Sc,{startEdge:"left",endEdge:"right",size:"width",direction:1}),Uue=O.forwardRef((e,t)=>{const{min:n,max:r,dir:a,inverted:o,onSlideStart:l,onSlideMove:c,onSlideEnd:d,onStepKeyDown:f,...y}=e,[m,g]=O.useState(null),b=Ke(t,j=>g(j)),C=O.useRef(void 0),x=py(a),w=x==="ltr",M=w&&!o||!w&&o;function T(j){const E=C.current||m.getBoundingClientRect(),P=[0,E.width],A=c3(P,M?[n,r]:[r,n]);return C.current=E,A(j-E.left)}return p.jsx(v8,{scope:e.__scopeSlider,startEdge:M?"left":"right",endEdge:M?"right":"left",direction:M?1:-1,size:"width",children:p.jsx(b8,{dir:x,"data-orientation":"horizontal",...y,ref:b,style:{...y.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:j=>{const E=T(j.clientX);l?.(E)},onSlideMove:j=>{const E=T(j.clientX);c?.(E)},onSlideEnd:()=>{C.current=void 0,d?.()},onStepKeyDown:j=>{const P=h8[M?"from-left":"from-right"].includes(j.key);f?.({event:j,direction:P?-1:1})}})})}),Wue=O.forwardRef((e,t)=>{const{min:n,max:r,inverted:a,onSlideStart:o,onSlideMove:l,onSlideEnd:c,onStepKeyDown:d,...f}=e,y=O.useRef(null),m=Ke(t,y),g=O.useRef(void 0),b=!a;function C(x){const w=g.current||y.current.getBoundingClientRect(),M=[0,w.height],j=c3(M,b?[r,n]:[n,r]);return g.current=w,j(x-w.top)}return p.jsx(v8,{scope:e.__scopeSlider,startEdge:b?"bottom":"top",endEdge:b?"top":"bottom",size:"height",direction:b?1:-1,children:p.jsx(b8,{"data-orientation":"vertical",...f,ref:m,style:{...f.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:x=>{const w=C(x.clientY);o?.(w)},onSlideMove:x=>{const w=C(x.clientY);l?.(w)},onSlideEnd:()=>{g.current=void 0,c?.()},onStepKeyDown:x=>{const M=h8[b?"from-bottom":"from-top"].includes(x.key);d?.({event:x,direction:M?-1:1})}})})}),b8=O.forwardRef((e,t)=>
518{const{__scopeSlider:n,onSlideStart:r,onSlideMove:a,onSlideEnd:o,onHomeKeyDown:l,onEndKeyDown:c,onStepKeyDown:d,...f}=e,y=hy(Sc,n);return p.jsx(De.span,{...f,ref:t,onKeyDown:xe(e.onKeyDown,m=>{m.key==="Home"?(l(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):p8.concat(m8).includes(m.key)&&(d(m),m.preventDefault())}),onPointerDown:xe(e.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),y.thumbs.has(g)?g.focus():r(m)}),onPointerMove:xe(e.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&a(m)}),onPointerUp:xe(e.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),o(m))})})}),w8="SliderTrack",S8=O.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,a=hy(w8,n);return p.jsx(De.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...r,ref:t})});S8.displayName=w8;var vS="SliderRange",C8=O.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,a=hy(vS,n),o=x8(vS,n),l=O.useRef(null),c=Ke(t,l),d=a.values.length,f=a.values.map(g=>T8(g,a.min,a.max)),y=d>1?Math.min(...f):0,m=100-Math.max(...f);return p.jsx(De.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...r,ref:c,style:{...e.style,[o.startEdge]:y+"%",[o.endEdge]:m+"%"}})});C8.displayName=vS;var xS="SliderThumb",M8=O.forwardRef((e,t)=>{const n=$ue(e.__scopeSlider),[r,a]=O.useState(null),o=Ke(t,c=>a(c)),l=O.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return p.jsx(Gue,{...e,ref:o,index:l})}),Gue=O.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:a,...o}=e,l=hy(xS,n),c=x8(xS,n),[d,f]=O.useState(null),y=Ke(t,T=>f(T)),m=d?l.form||!!d.closest("form"):!0,g=rD(d),b=l.values[r],C=b===void 0?0:T8(b,l.min,l.max),x=Vue(r,l.values.length),w=g?.[c.size],M=w?Que(w,C,c.direction):0;return O.useEffect(()=>{if(d)return l.thumbs.add(d),()=>{l.thumbs.delete(d)}},[d,l.thumbs]),p.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${C}% + ${M}px)`},children:[p.jsx(gS.ItemSlot,{scope:e.__scopeSlider,children:p.jsx(De.span,{role:"slider","aria-label":e["aria-label"]||x,"aria-valuemin":l.min,"aria-valuenow":b,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0,...o,ref:y,style:b===void 0?{display:"none"}:e.style,onFocus:xe(e.onFocus,()=>{l.valueIndexToChangeRef.current=r})})}),m&&p.jsx(O8,{name:a??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:b},r)]})});M8.displayName=xS;var Kue="RadioBubbleInput",O8=O.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const a=O.useRef(null),o=Ke(a,r),l=f8(t);return O.useEffect(()=>{const c=a.current;if(!c)return;const d=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(d,"value").set;if(l!==t&&y){const m=new Event("input",{bubbles:!0});y.call(c,t),c.dispatchEvent(m)}},[l,t]),p.jsx(De.input,{style:{display:"none"},...n,ref:o,defaultValue:t})});O8.displayName=Kue;function Yue(e=[],t,n){const r=[...e];return r[n]=t,r.sort((a,o)=>a-o)}function T8(e,t,n){const o=100/(n-t)*(e-t);return uh(o,[0,100])}function Vue(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Zue(e,t){if(e.length===1)return 0;const n=e.map(a=>Math.abs(a-t)),r=Math.min(...n);return n.indexOf(r)}function Que(e,t,n){const r=e/2,o=c3([0,50],[0,r]);return(r-o(t)*n)*n}function Xue(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function Jue(e,t){if(t>0){const n=Xue(e);return Math.min(...n)>=t}return!0}function c3(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function ede(e){return(String(e).split(".")[1]||"").length}function tde(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var nde=g8,rde=S8,ade=C8,ide=M8;function hl({className:e,defaultValue:t,value:n,min:r=0,max:a=100,...o}){const l=O.useMemo(()=>Array.isArray(n)?n:Array.isArray(t)?t:[r,a],[n,t,r,a]);return p.jsxs(nde,{"data-loc":"client/src/components/ui/slider.tsx:25","data-slot":"slider",defaultValue:t,value:n,min:r,max:a,className:Ee("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e),...o,children:[p.jsx(rde,{"data-loc":"client/src/components/ui/slider.tsx:37","data-slot":"slider-track",className:Ee("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:p.jsx(ade,{"data-loc":"client/src/components/ui/slider.tsx:43","data-slot":"slider-range",className:Ee("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:l.length},(c,d)=>p.jsx(ide,{"data-loc":"client/src/components/ui/slider.tsx:51","data-slot":"slider-thumb",className:"border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},d))]})}const y_=[{label:"Custom",rate:0},{label:"Collin County",rate:1.67},{label:"Dallas County",rate:1.99},{label:"Denton County",rate:1.72},{label:"Tarrant County",rate:1.85},{label:"Ellis County",rate:1.58},{label:"Johnson County",rate:1.55},{label:"Kaufman County",rate:1.71},{label:"Parker County",rate:1.49},{label:"Rockwall County",rate:1.63},{label:"Hood County",rate:1.42},{label:"Hunt County",rate:1.61},{label:"Wise County",rate:1.48},{label:"Grayson County",rate:1.53}];function ode(e,t,n,r,a,o){const l=e*(t/100),c=e-l,d=n/100/12,f=r*12;let y=0;d===0?y=c/f:y=c*(d*Math.pow(1+d,f))/(Math.pow(1+d,f)-1);
518const m=e*(a/100)/12,g=e*.005/12,b=y+m+g+o,C=y*f,x=C-c;return{monthlyPI:y,monthlyTax:m,monthlyInsurance:g,monthlyHOA:o,monthlyTotal:b,totalPayment:C,totalInterest:x,principalAmount:c}}function sde(){const e=new URLSearchParams(window.location.search);return{homePrice:Number(e.get("price"))||4e5,downPaymentPercent:Number(e.get("down"))||20,interestRate:Number(e.get("rate"))||6.8,loanTerm:Number(e.get("term"))||30,annualTaxRate:Number(e.get("tax"))||1.8,monthlyHOA:Number(e.get("hoa"))||0}}function lde(){const e=O.useMemo(()=>sde(),[]),[t,n]=O.useState(e.homePrice),[r,a]=O.useState(e.downPaymentPercent),[o,l]=O.useState(e.interestRate),[c,d]=O.useState(e.loanTerm),[f,y]=O.useState(e.annualTaxRate),[m,g]=O.useState(e.monthlyHOA),[b,C]=O.useState("Custom"),[x,w]=O.useState(!1);O.useEffect(()=>{window.location.hash==="#calculator"&&setTimeout(()=>{document.getElementById("calculator")?.scrollIntoView({behavior:"smooth"})},300)},[]);const M=D=>{C(D);const I=y_.find(F=>F.label===D);I&&I.rate>0&&y(I.rate)},T=D=>{y(D[0]),C("Custom")},j=O.useCallback(()=>{const D=`${window.location.origin}${window.location.pathname}`,I=new URLSearchParams({price:String(t),down:String(r),rate:String(o),term:String(c),tax:String(f),hoa:String(m)});return`${D}?${I.toString()}#calculator`},[t,r,o,c,f,m]),E=async()=>{const D=j();try{await navigator.clipboard.writeText(D)}catch{window.history.replaceState(null,"",D)}w(!0),setTimeout(()=>w(!1),2500)},P=O.useMemo(()=>ode(t,r,o,c,f,m),[t,r,o,c,f,m]),k=t*(r/100),A=D=>D.toLocaleString(void 0,{maximumFractionDigits:0});return p.jsx("section",{"data-loc":"client/src/components/MortgageCalculator.tsx:146",id:"calculator",className:"py-16 px-4 bg-gradient-to-b from-white to-slate-50",children:p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:147",className:"max-w-4xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:148",className:"text-center mb-12",children:[p.jsx("h2",{"data-loc":"client/src/components/MortgageCalculator.tsx:149",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Mortgage Calculator"}),p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:152",className:"text-slate-600 text-lg max-w-2xl mx-auto",children:"Estimate your total monthly cost including principal, interest, property taxes, insurance, and HOA."})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:157",className:"grid lg:grid-cols-2 gap-8",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:159",className:"space-y-7",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:161",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:162",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:163",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Rn,{"data-loc":"client/src/components/MortgageCalculator.tsx:164",className:"w-4 h-4 inline mr-2"}),"Home Price"]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:167",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(t)]})]}),p.jsx(hl,{"data-loc":"client/src/components/MortgageCalculator.tsx:171",value:[t],onValueChange:D=>n(D[0]),min:5e4,max:2e6,step:1e4,className:"w-full"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:172",className:"flex justify-between text-xs text-slate-500 mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:172",children:"$50K"}),p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:172",children:"$2M"})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:176",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:177",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:178",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(SG,{"data-loc":"client/src/components/MortgageCalculator.tsx:179",className:"w-4 h-4 inline mr-2"}),"Down Payment"]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:182",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:[r,"% ($",A(k),")"]})]}),p.jsx(hl,{"data-loc":"client/src/components/MortgageCalculator.tsx:186",value:[r],onValueChange:D=>a(D[0]),min:0,max:50,step:1,className:"w-full"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:187",className:"flex justify-between text-xs text-slate-500 mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:187",children:"0%"}),p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:187",children:"50%"})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:191",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:192",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:193",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Xa,{"data-loc":"client/src/components/MortgageCalculator.tsx:194",className:"w-4 h-4 inline mr-2"}),"Interest Rate (%)"]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:197",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:[o.toFixed(2),"%"]})]}),p.jsx(hl,{"data-loc":"client/src/components/MortgageCalculator.tsx:201",value:[o],onValueChange:D=>l(D[0]),min:2,max:12,step:.1,className:"w-full"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:202",className:"flex justify-between text-xs text-slate-500 mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:202",children:"2%"}),p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:202",children:"12%"})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:206",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:207",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:208",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(sc,{"data-loc":"client/src/components/MortgageCalculator.tsx:209",className:"w-4 h-4 inline mr-2"}),"Loan Term (Years)"]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:212",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:[c," years"]})]}),p.jsx("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:216",className:"flex gap-2",children:[15,20,30].map(D=>p.jsxs("button",{"data-loc":"client/src/components/MortgageCalculator.tsx:218",onClick:()=>d(D),className:`flex-1 py-2 px-3 rounded-lg font-semibold text-sm transition-all ${c===D?"bg-[#2563eb] text-white":"bg-slate-100 text-slate-700 hover:bg-slate-200"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[D,"yr"]},D))})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:231",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:232",className:"text-sm font-bold text-[#1a2744] flex items-center gap-2 mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(cc,{"data-loc":"client/src/components/MortgageCalculator.tsx:233",className:"w-4 h-4"}),"County Tax Preset"]}),p.jsx("select",{"data-loc":"client/src/components/MortgageCalculator.tsx:236",value:b,onChange:D=>M(D.target.value),className:"w-full px-3 py-2 rounded-xl border-2 border-[#2563eb]/20 bg-white text-[#1a2744] text-sm font-semibold focus:outline-none focus:border-[#2563eb] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:y_.map(D=>p.jsx("option",{"data-loc":"client/src/components/MortgageCalculator.tsx:243",value:D.label,children:D.label==="Custom"?"Custom (use slider)":`${D.label} â ${D.rate.toFixed(2)}%`},D.label))})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:251",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:252",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:253",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Kw,{"data-loc":"client/src/components/MortgageCalculator.tsx:254",className:"w-4 h-4 inline mr-2"}),"Property Tax Rate (%)",b==="Custom"&&p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:256",className:"ml-2 text-xs font-normal text-slate-500",children:"TX avg ~1.8%"})]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:258",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:[f.toFixed(2),"% ($",A(P.monthlyTax),"/mo)"]})]}),p.jsx(hl,{"data-loc":"client/src/components/MortgageCalculator.tsx:262",value:[f],onValueChange:T,min:.5,max:4,step:.05,className:"w-full"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:263",className:"flex justify-between text-xs text-slate-500 mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:263",children:"0.5%"}),p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:263",children:"4.0%"})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:267",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:268",className:"flex items-center justify-between mb-3",children:[p.jsxs("label",{"data-loc":"client/src/components/MortgageCalculator.tsx:269",className:"text-sm font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Kw,{"data-loc":"client/src/components/MortgageCalculator.tsx:270",className:"w-4 h-4 inline mr-2"}),"Monthly HOA Fee",p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:272",className:"ml-2 text-xs font-normal text-slate-500",children:"$0 if none"})]}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:274",className:"text-lg font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(m),"/mo"]})]}),p.jsx(hl,{"data-loc":"client/src/components/MortgageCalculator.tsx:278",value:[m],onValueChange:D=>g(D[0]),min:0,max:1e3,step:25,className:"w-full"}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:279",className:"flex justify-between text-xs text-slate-500 mt-2",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:279",children:"$0"}),p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:279",children:"$1,000"})]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:284",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:286",className:"bg-gradient-to-br from-[#2563eb] to-[#1d4ed8] rounded-2xl p-8 text-white shadow-lg",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:287",className:"text-sm font-semibold opacity-90 mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:"Estimated Total Monthly Payment"}),p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:290",className:"text-5xl font-extrabold",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(P.monthlyTotal)]}),p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:293",className:"text-sm opacity-75 mt-2",children:"Principal + Interest + Taxes + Insurance + HOA"})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:297",className:"bg-white border-2 border-[#2563eb]/20 rounded-xl p-5 space-y-3",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:298",className:"text-xs font-bold text-slate-500 uppercase tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:"Monthly Breakdown"}),[{label:"Principal & Interest",value:P.monthlyPI,color:"text-[#1a2744]"},{label:"Property Tax",value:P.monthlyTax,color:"text-amber-600"},{label:"Homeowners Insurance",value:P.monthlyInsurance,color:"text-emerald-600"},{label:"HOA",value:P.monthlyHOA,color:"text-purple-600"}].map(({label:D,value:I,color:F})=>p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:307",className:"flex items-center justify-between text-sm",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:308",className:"text-slate-600",style:{fontFamily:"'DM Sans', sans-serif"},children:D}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:309",className:`font-bold ${F}`,style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(I),"/mo"]})]},D)),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:314",className:"border-t border-slate-200 pt-3 flex items-center justify-between text-sm font-bold",children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:315",className:"text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:"Total"}),p.jsxs("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:316",className:"text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(P.monthlyTotal),"/mo"]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:321",className:"grid grid-cols-2 gap-4",children:[p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:322",className:"bg-white border-2 border-[#2563eb]/20 rounded-xl p-4",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:323",className:"text-xs text-slate-500 font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Loan Amount"}),p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:324",className:"text-2xl font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(P.principalAmount)]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:326",className:"bg-white border-2 border-[#2563eb]/20 rounded-xl p-4",children:[p.jsx("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:327",className:"text-xs text-slate-500 font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Down Payment"}),p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:328",className:"text-2xl font-bold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(k)]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:330",className:"bg-white border-2 border-emerald-200 rounded-xl p-4",children:[p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:331",className:"text-xs text-slate-500 font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:["Total Interest (",c,"yr)"]}),p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:332",className:"text-2xl font-bold text-emerald-600",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(P.totalInterest)]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:334",className:"bg-white border-2 border-amber-200 rounded-xl p-4",children:[p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:335",className:"text-xs text-slate-500 font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:["Total P&I Paid (",c,"yr)"]}),p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:336",className:"text-2xl font-bold text-amber-600",
518style:{fontFamily:"'DM Sans', sans-serif"},children:["$",A(P.totalPayment)]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:341",className:"flex gap-2",children:[p.jsxs("button",{"data-loc":"client/src/components/MortgageCalculator.tsx:342",onClick:E,className:`flex-1 flex items-center justify-center gap-2 px-4 py-3 rounded-xl font-bold text-sm transition-all ${x?"bg-emerald-500 text-white":"bg-slate-100 hover:bg-slate-200 text-[#1a2744]"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[x?p.jsx(ID,{"data-loc":"client/src/components/MortgageCalculator.tsx:351",className:"w-4 h-4"}):p.jsx(AG,{"data-loc":"client/src/components/MortgageCalculator.tsx:351",className:"w-4 h-4"}),x?"Link Copied!":"Share Results"]}),p.jsxs("a",{"data-loc":"client/src/components/MortgageCalculator.tsx:354",href:`mailto:[email protected]?subject=Mortgage%20Scenario%20from%20DFW%20Market%20Update&body=Hi%20Marcus%2C%0A%0AHere%20are%20my%20mortgage%20calculator%20results%3A%0A%0AHome%20Price%3A%20%24${t.toLocaleString()}%0ADown%20Payment%3A%20${r}%25%20(%24${Math.round(t*r/100).toLocaleString()})%0AInterest%20Rate%3A%20${o.toFixed(2)}%25%0ALoan%20Term%3A%20${c}%20years%0AProperty%20Tax%20Rate%3A%20${f.toFixed(2)}%25%0AMonthly%20HOA%3A%20%24${m}%0A%0AEstimated%20Total%20Monthly%20Payment%3A%20%24${A(P.monthlyTotal)}%0A%0AView%20full%20scenario%3A%20${encodeURIComponent(j())}`,className:"flex-1 flex items-center justify-center gap-2 px-4 py-3 bg-[#2563eb] hover:bg-[#1d4ed8] rounded-xl text-white font-bold text-sm transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(lc,{"data-loc":"client/src/components/MortgageCalculator.tsx:359",className:"w-4 h-4"}),"Email Marcus"]})]}),p.jsx("div",{"data-loc":"client/src/components/MortgageCalculator.tsx:365",className:"bg-slate-50 rounded-lg p-4 border border-slate-200",children:p.jsxs("p",{"data-loc":"client/src/components/MortgageCalculator.tsx:366",className:"text-xs text-slate-600",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx("span",{"data-loc":"client/src/components/MortgageCalculator.tsx:367",className:"font-semibold",children:"ð Disclaimer:"})," Estimates only. Property tax rates vary by county and municipality. Insurance estimate is ~0.5% of home value annually. PMI not included. Contact a lender for precise quotes."]})})]})]})]})})}function iw(e){return e.toLocaleString(void 0,{maximumFractionDigits:0})}function cl(e){return Math.abs(e)>=1e6?`$${(e/1e6).toFixed(1)}M`:Math.abs(e)>=1e3?`$${(e/1e3).toFixed(0)}K`:`$${e}`}function cde(e,t,n,r,a,o,l,c,d){const f=e*(t/100),y=e-f,m=n/100/12,g=360,b=m===0?y/g:y*(m*Math.pow(1+m,g))/(Math.pow(1+m,g)-1),C=e*(l/100)/12,x=e*.005/12,w=b+C+x+c,M=[];let T=y,j=f,E=0,P=r,k=e;for(let A=1;A<=d;A++){const D=T*m,I=b-D;T-=I,k*=1+a/100/12;const F=k-T;j+=w,A>1&&(A-1)%12===0&&(P*=1+o/100),E+=P;const L=j-F,q=E;M.push({month:A,buyCumulative:j,rentCumulative:E,buyEquity:F,buyNetCost:L,rentNetCost:q})}return M}function ude(){const[e,t]=O.useState(38e4),[n,r]=O.useState(20),[a,o]=O.useState(6.8),[l,c]=O.useState(2200),[d,f]=O.useState(3.5),[y,m]=O.useState(4),[g,b]=O.useState(1.8),[C,x]=O.useState(0),w=120,M=O.useMemo(()=>cde(e,n,a,l,d,y,g,C,w),[e,n,a,l,d,y,g,C]),T=M.findIndex(A=>A.buyNetCost<=A.rentNetCost),j=T===-1?"Beyond 10 years":T===0?"Immediately":`Month ${T+1} (${Math.ceil((T+1)/12)} yr${Math.ceil((T+1)/12)!==1?"s":""})`,E=M[M.length-1],P=E.rentNetCost-E.buyNetCost,k=M.filter((A,D)=>D%6===5||D===0).map(A=>({label:`Yr ${Math.ceil(A.month/12)}`,"Buy Net Cost":Math.round(A.buyNetCost),"Rent Net Cost":Math.round(A.rentNetCost),"Buy Equity":Math.round(A.buyEquity)}));return p.jsx("section",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:136",id:"buy-vs-rent",className:"py-16 px-4 bg-gradient-to-b from-slate-50 to-white",children:p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:137",className:"max-w-5xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:138",className:"text-center mb-12",children:[p.jsx("span",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:139",className:"inline-block bg-[#2563eb]/10 text-[#2563eb] text-xs font-semibold tracking-widest uppercase px-3 py-1 rounded-full mb-3",children:"Decision Tool"}),p.jsx("h2",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:142",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Buy vs. Rent Breakeven"}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:145",className:"text-slate-600 text-lg max-w-2xl mx-auto",children:"See exactly when buying becomes cheaper than renting in y
518our DFW neighborhood â accounting for equity, appreciation, and rising rents."})]}),p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:150",className:"grid lg:grid-cols-5 gap-8",children:[p.jsx("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:152",className:"lg:col-span-2 space-y-5",children:[{label:"Home Price",icon:p.jsx(Rn,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:154",className:"w-4 h-4"}),value:e,set:t,min:1e5,max:15e5,step:1e4,display:`$${iw(e)}`},{label:"Down Payment",icon:p.jsx(Xa,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:155",className:"w-4 h-4"}),value:n,set:r,min:3,max:50,step:1,display:`${n}%`},{label:"Interest Rate",icon:p.jsx(dde,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:156"}),value:a,set:o,min:2,max:12,step:.1,display:`${a.toFixed(1)}%`},{label:"Monthly Rent",icon:p.jsx(gG,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:157",className:"w-4 h-4"}),value:l,set:c,min:800,max:8e3,step:50,display:`$${iw(l)}/mo`},{label:"Annual Appreciation",icon:p.jsx(In,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:158",className:"w-4 h-4"}),value:d,set:f,min:0,max:10,step:.5,display:`${d.toFixed(1)}%/yr`},{label:"Annual Rent Increase",icon:p.jsx(In,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:159",className:"w-4 h-4"}),value:y,set:m,min:0,max:10,step:.5,display:`${y.toFixed(1)}%/yr`},{label:"Property Tax Rate",icon:p.jsx(sc,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:160",className:"w-4 h-4"}),value:g,set:b,min:.5,max:4,step:.05,display:`${g.toFixed(2)}%`},{label:"Monthly HOA",icon:p.jsx(Rn,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:161",className:"w-4 h-4"}),value:C,set:x,min:0,max:1e3,step:25,display:`$${iw(C)}/mo`}].map(({label:A,icon:D,value:I,set:F,min:L,max:q,step:U,display:G})=>p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:163",children:[p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:164",className:"flex items-center justify-between mb-2",children:[p.jsxs("label",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:165",className:"text-xs font-bold text-[#1a2744] flex items-center gap-1.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[D," ",A]}),p.jsx("span",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:168",className:"text-sm font-bold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:G})]}),p.jsx(hl,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:170",value:[I],onValueChange:K=>F(K[0]),min:L,max:q,step:U,className:"w-full"})]},A))}),p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:176",className:"lg:col-span-3 flex flex-col gap-5",children:[p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:178",className:`rounded-2xl p-6 text-white shadow-lg ${T===-1?"bg-gradient-to-br from-slate-600 to-slate-800":"bg-gradient-to-br from-[#2563eb] to-[#1d4ed8]"}`,children:[p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:179",className:"text-sm font-semibold opacity-80 mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Breakeven Point"}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:180",className:"text-3xl font-extrabold",style:{fontFamily:"'DM Sans', sans-serif"},children:j}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:181",className:"text-sm opacity-75 mt-1",children:"After this point, buying is cheaper than renting (net of equity)"})]}),p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:185",className:`rounded-xl border-2 p-4 flex items-center gap-4 ${P>0?"border-emerald-200 bg-emerald-50":"border-red-200 bg-red-50"}`,children:[p.jsx(sG,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:186",className:`w-6 h-6 flex-shrink-0 ${P>0?"text-emerald-600":"text-red-500"}`}),p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:187",children:[p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:188",className:"text-xs font-semibold text-slate-500 uppercase tracking-wide",children:"10-Year Net Advantage"}),p.jsxs("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:189",className:`text-2xl font-extrabold ${P>0?"text-emerald-600":"text-red-500"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[P>0?"+":"",cl(P)," ",P>0?"buying wins":"renting wins"]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:196",className:"bg-white border border-slate-200 rounded-xl p-4",children:[p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:197",className:"text-xs font-bold text-slate-500 uppercase tracking-wide mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Cumulative Net Cost Over 10 Years"}),p.jsx(Vo,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:200",width:"100%",height:220,children:p.jsxs(l8,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:201",data:k,margin:{top:5,right:10,left:0,bottom:5},children:[p.jsx(Vl,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:202",strokeDasharray:"3 3",stroke:"#f1f5f9"}),p.jsx(br,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:203",dataKey:"label",tick:{fontSize:11,fill:"#94a3b8"}}),p.jsx(wr,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:204",tickFormatter:A=>cl(A),tick:{fontSize:10,fill:"#94a3b8"},width:55}),p.jsx(vn,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:205",formatter:(A,D)=>
518[cl(A),D],contentStyle:{fontSize:12,borderRadius:8,border:"1px solid #e2e8f0"}}),p.jsx(Bi,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:209",wrapperStyle:{fontSize:11}}),T!==-1&&p.jsx(ef,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:211",x:`Yr ${Math.ceil((T+1)/12)}`,stroke:"#2563eb",strokeDasharray:"4 2",label:{value:"Breakeven",position:"top",fontSize:10,fill:"#2563eb"}}),p.jsx($i,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:218",type:"monotone",dataKey:"Buy Net Cost",stroke:"#2563eb",strokeWidth:2,dot:!1}),p.jsx($i,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:219",type:"monotone",dataKey:"Rent Net Cost",stroke:"#f97316",strokeWidth:2,dot:!1}),p.jsx($i,{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:220",type:"monotone",dataKey:"Buy Equity",stroke:"#10b981",strokeWidth:1.5,strokeDasharray:"4 2",dot:!1})]})})]}),p.jsx("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:226",className:"grid grid-cols-3 gap-3",children:[{label:"Down Payment",value:cl(e*n/100),sub:"upfront cost"},{label:"10-yr Equity",value:cl(E.buyEquity),sub:"est. home equity"},{label:"10-yr Rent Paid",value:cl(E.rentCumulative),sub:"total rent spent"}].map(({label:A,value:D,sub:I})=>p.jsxs("div",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:232",className:"bg-slate-50 border border-slate-200 rounded-xl p-3 text-center",children:[p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:233",className:"text-xs text-slate-500 font-semibold mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:A}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:234",className:"text-lg font-extrabold text-[#1a2744]",style:{fontFamily:"'DM Sans', sans-serif"},children:D}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:235",className:"text-xs text-slate-400",children:I})]},A))}),p.jsx("p",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:240",className:"text-xs text-slate-400 text-center",children:"Estimates only. Does not include closing costs, maintenance, or investment returns on down payment. Consult a financial advisor."})]})]})]})})}function dde(){return p.jsxs("svg",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:253",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[p.jsx("line",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:254",x1:"19",y1:"5",x2:"5",y2:"19"}),p.jsx("circle",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:255",cx:"6.5",cy:"6.5",r:"2.5"}),p.jsx("circle",{"data-loc":"client/src/components/BuyVsRentCalculator.tsx:256",cx:"17.5",cy:"17.5",r:"2.5"})]})}const fde={75002:"Allen ISD",75009:"Celina ISD",75013:"Allen ISD",75023:"Plano ISD",75024:"Plano ISD",75025:"Plano ISD",75026:"Plano ISD",75033:"Frisco ISD",75034:"Frisco ISD",75035:"Frisco ISD",75069:"McKinney ISD",75070:"McKinney ISD",75071:"McKinney ISD",75072:"McKinney ISD",75074:"Plano ISD",75075:"Plano ISD",75078:"Prosper ISD",75082:"Richardson ISD",75086:"Plano ISD",75093:"Plano ISD",75094:"Plano ISD",75097:"Celina ISD",75098:"Wylie ISD",75121:"Community ISD",75164:"Community ISD",75166:"Community ISD",75173:"Community ISD",75252:"Plano ISD",75287:"Plano ISD",75407:"Princeton ISD",75409:"Anna ISD",75424:"Blue Ridge ISD",75442:"Farmersville ISD",75454:"Melissa ISD",75485:"Van Alstyne 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:"Carrollton-Farmers Branch 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:"Irving ISD",75080:"Richardson ISD",75081:"Richardson ISD",75083:"Richardson ISD",75088:"Garland ISD",75089:"Garland ISD",75104:"Cedar Hill ISD",75115:"Desoto ISD",75116:"Duncanville ISD",75125:"Ferris ISD",75134:"Lancaster ISD",75137:"Duncanville ISD",75141:"Wilmer-Hutchins ISD",75146:"Lancaster ISD",75149:"Mesquite ISD",75150:"Mesquite ISD",75154:"Red Oak ISD",75159:"Seagoville ISD",75172:"Wilmer-Hutchins ISD",75180:"Mesquite ISD",75181:"Mesquite ISD",75182:"Mesquite ISD",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",75253:"Dallas ISD",75254:"Richardson ISD",76001:"Arlington ISD",76002:"Arlington ISD",76003:"Arlington ISD",76006:"Arlington ISD",76008:"Aledo ISD",76009:"Alvarado 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",76020:"Azle ISD",76021:"Hurst-Euless-Bedford ISD",76022:"Hurst-Euless-Bedford ISD",76028:"Burleson ISD",76034:"Keller ISD",76036:"Crowley ISD",76039:"Hurst-Euless-Bedford ISD",76040:"Hurst-Euless-Bedford ISD",76051:"Grapevine-Colleyville ISD",76052:"Northwest ISD",76053:"Hurst-Euless-Bedford ISD",76054:"Hurst-Euless-Bedford ISD",76058:"Joshua ISD",76059:"Burleson ISD",76060:"Kennedale ISD",76063:"Mansfield ISD",76064:"Midlothian ISD",76065:"Midlothian ISD",76071:"Northwest ISD",76082:"Springtown ISD",76085:"Azle ISD",76086:"Weatherford ISD",76087:"Weatherford ISD",76092:"Keller ISD",76093:"Granbury 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:"Fort Worth 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:"Hurst-Euless-Bedford ISD",76118:"Fort Worth ISD",76119:"Fort Worth ISD",76120:"Fort Worth ISD",76123:"Crowley ISD",76126:"Fort Worth ISD",76127:"Fort Worth ISD",76129:"Fort Worth ISD",76131:"Northwest 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:"Keller ISD",76155:"Hurst-Euless-Bedford ISD",76164:"Fort Worth ISD",76177:"Northwest ISD",76179:"Eagle Mountain-Saginaw ISD",76180:"Keller ISD",76182:"Keller ISD",75022:"Lewisville ISD",75028:"Lewisville ISD",75056:"Lewisville ISD",75057:"Lewisville ISD",75065:"Lake Dallas ISD",75067:"Lewisville ISD",75068:"Little Elm ISD",75077:"Lewisville ISD",76201:"Denton ISD",76202:"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",76248:"Keller ISD",76249:"Krum ISD",76258:"Pilot Point ISD",76259:"Ponder ISD",76262:"Northwest ISD",76266:"Sanger ISD",75032:"Rockwall ISD",75087:"Rockwall ISD",75189:"Rockwall ISD",75126:"Forney ISD",75142:"Kaufman ISD",75143:"Mabank ISD",75147:"Mabank ISD",75160:"Terrell ISD",75161:"Terrell ISD",75101:"Ennis ISD",75119:"Ennis ISD",75165:"Waxahac
518hie ISD",76031:"Cleburne ISD",76033:"Cleburne ISD",76044:"Godley ISD",76049:"Granbury ISD",76050:"Grandview ISD",76066:"Millsap ISD",76067:"Mineral Wells ISD",76088:"Weatherford ISD",76073:"Paradise ISD",76078:"Bridgeport ISD",76426:"Bridgeport ISD",76048:"Granbury ISD",76476:"Tolar ISD",75401:"Greenville ISD",75402:"Greenville ISD"};function pde(e){return fde[e]??"Independent ISD"}function mde(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:`$${(e/1e3).toFixed(0)}K`}const hde=["text-yellow-500","text-slate-400","text-amber-600"],g_={"Hot Seller's Market":{bg:"bg-red-100",text:"text-red-700"},"Seller's Market":{bg:"bg-orange-100",text:"text-orange-700"},"Balanced Market":{bg:"bg-amber-100",text:"text-amber-700"},"Buyer-Friendly":{bg:"bg-blue-100",text:"text-blue-700"},"Buyer's Market":{bg:"bg-blue-200",text:"text-blue-800"}};function ow(e){const t=parseInt(e.zip,10),n=c=>{const d=Math.sin(t+c+42)*1e4;return d-Math.floor(d)},r=Math.round(n(1)*3*10)/10,a=Math.round(n(2)*3*10)/10,o=Math.round(n(3)*4*10)/10,l=r+a+o;return Math.min(10,Math.max(1,Math.round(l*10)/10))}function yde(e){return e>=8?"text-emerald-600 bg-emerald-50 border-emerald-200":e>=6?"text-blue-600 bg-blue-50 border-blue-200":e>=4?"text-amber-600 bg-amber-50 border-amber-200":"text-red-500 bg-red-50 border-red-200"}function gde(e){return e>=8?"Excellent":e>=6?"Good":e>=4?"Fair":"Below Avg"}function vde(){const[e,t]=O.useState("pricePerSqft"),[n,r]=O.useState("All"),a=O.useMemo(()=>["All",...Array.from(new Set(ch.map(d=>d.county))).sort()],[]),o=O.useMemo(()=>{let c=ch;return n!=="All"&&(c=c.filter(d=>d.county===n)),[...c].sort((d,f)=>e==="pricePerSqft"?d.pricePerSqft-f.pricePerSqft:e==="medianPrice"?d.medianPrice-f.medianPrice:e==="daysOnMarket"?f.daysOnMarket-d.daysOnMarket:e==="yoyChange"?d.yoyChange-f.yoyChange:e==="neighborhoodScore"?ow(f)-ow(d):0).slice(0,10)},[e,n]),l=[{key:"pricePerSqft",label:"$/Sq Ft"},{key:"medianPrice",label:"Median Price"},{key:"daysOnMarket",label:"Days on Market"},{key:"yoyChange",label:"YoY Change"},{key:"neighborhoodScore",label:"Neighborhood Score"}];return p.jsx("section",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:99",id:"top10",className:"py-16 px-4 bg-gradient-to-b from-white to-slate-50",children:p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:100",className:"max-w-6xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:101",className:"text-center mb-10",children:[p.jsx("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:102",className:"inline-block bg-amber-100 text-amber-700 text-xs font-semibold tracking-widest uppercase px-3 py-1 rounded-full mb-3",children:"Value Finder"}),p.jsx("h2",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:105",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Top 10 Most Affordable DFW ZIPs"}),p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:108",className:"text-slate-600 text-lg max-w-2xl mx-auto",children:"Best-value ZIP codes ranked by price per square foot â with school district and neighborhood scores. Filter by county to find hidden gems near you."})]}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:114",className:"flex flex-wrap items-center gap-3 mb-6 justify-between",children:[p.jsx("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:115",className:"flex flex-wrap gap-2",children:l.map(({key:c,label:d})=>p.jsxs("button",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:117",onClick:()=>t(c),className:`px-3 py-1.5 rounded-full text-xs font-semibold border transition-all ${e===c?"bg-[#2563eb] text-white border-[#2563eb]":"bg-white text-slate-600 border-slate-200 hover:border-[#2563eb] hover:text-[#2563eb]"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:["Sort: ",d]},c))}),p.jsx("select",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:131",value:n,onChange:c=>r(c.target.value),className:"px-3 py-1.5 rounded-xl border-2 border-slate-200 bg-white text-[#1a2744] text-xs font-semibold focus:outline-none focus:border-[#2563eb] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:a.map(c=>p.jsx("option",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:138",value:c,children:c==="All"?"All Counties":`${c} County`},c))})]}),p.jsx("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:144",className:"bg-white rounded-2xl border border-slate-200 shadow-sm overflow-x-auto",children:p.jsxs("table",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:145",className:"w-full min-w-[700px] text-sm",children:[p.jsx("thead",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:146",children:p.jsxs("tr",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:147",className:"bg-slate-50 border-b border-slate-200 text-xs font-bold text-slate-500 uppercase tracking-wide",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:148",className:"px-4 py-3 text-left w-8",children:"#"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:149",className:"px-4 py-3 text-left",children:"ZIP / City"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:150",className:"px-4 py-3 text-left",children:"School District"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:151",className:"px-4 py-3 text-right",children:"$/Sq Ft"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:152",className:"px-4 py-3 text-right",children:"Median"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:153",className:"px-4 py-3 text-right",children:"YoY"}),p.jsx("th",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:154",className:"px-4 py-3 text-right",children:"Neighborhood"})]})}),p.jsx("tbody",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:157",children:o.map((c,d)=>{const f=g_[c.marketType]??g_["Balanced Market"],y=c.yoyChange>=0,m=ow(c),g=yde(m),b=pde(c.zip);return p.jsxs("tr",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:165",className:`border-b border-slate-100 last:border-0 hover:bg-slate-50 transition-colors ${d<3?"bg-amber-50/40":""}`,children:[p.jsx("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:170",className:"px-4 py-4",children:d<3?p.jsx(EG,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:172",className:`w-4 h-4 ${hde[d]}`}):p.jsx("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:174",className:"text-slate-400 font-bold",style:{fontFamily:"'DM Sans', sans-serif"},children:d+1})}),p.jsxs("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:179",className:"px-4 py-4",children:[p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:180",className:"text-[#2563eb] font-extrabold",style:{fontFamily:"'DM Sans', sans-serif"},children:c.zip}),p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:181",className:"text-slate-600 text-xs",children:c.city}),p.jsx("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:182",className:`text-xs font-semibold px-1.5 py-0.5 rounded-full mt-0.5 inline-block ${f.bg} ${f.text}`,children:c.marketType.replace(" Market","").replace("Hot Seller's","Hot")})]}),p.jsx("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:188",className:"px-4 py-4",children:p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:189",className:"flex items-start gap-1.5",children:[p.jsx(yG,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:190",className:"w-3.5 h-3.5 text-indigo-400 mt-0.5 flex-shrink-0"}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:191",children:[p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:192",className:"text-slate-700 font-semibold text-xs leading-tight",children:b}),p.jsxs("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:193",className:"text-slate-400 text-xs flex items-center gap-0.5 mt-0.5",children:[p.jsx(cc,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:194",className:"w-2.5 h-2.5"}),c.county," Co."]})]})]})}),p.jsxs("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:201",className:"px-4 py-4 text-right",children:[p.jsxs("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:202",className:"text-emerald-600 font-extrabold",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",c.pricePerSqft]}),p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:205",className:"text-slate-400 text-xs",children:"per sqft"})]}),p.jsxs("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:209",className:"px-4 py-4 text-right",children:[p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:210",className:"text-[#1a2744] font-bold",style:{fontFamily:"'DM Sans', sans-serif"},children:mde(c.medianPrice)}),p.jsxs("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:213",className:"text-slate-400 text-xs",children:[c.daysOnMarket,"d avg"]})]}),p.jsx("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:217",className:"px-4 py-4 text-right",children:p.jsxs("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:218",className:`font-bold flex items-center justify-end gap-1 ${y?"text-emerald-600":"text-red-500"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[y?p.jsx(In,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:219",className:"w-3 h-3"}):p.jsx(uc,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:219",className:"w-3 h-3"}),y?"+":"",c.yoyChange,"%"]})}),p.jsxs("td",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:225",className:"px-4 py-4 text-right",children:[p.jsxs("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:226",className:`inline-flex items-center gap-1 px-2 py-1 rounded-lg border text-xs font-bold ${g}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(hP,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:227",className:"w-3 h-3"}),m,"/10"]}),p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:230",className:"text-slate-400 text-xs mt-0.5",children:gde(m)})]})]},c.zip)})})]})}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:240",className:"mt-4 flex flex-wrap gap-3 justify-center",children:[[{label:"Excellent (8â10)",cls:"text-emerald-600 bg-emerald-50 border-emerald-200"},{label:"Good (6â7.9)",cls:"text-blue-600 bg-blue-50 border-blue-200"},{label:"Fair (4â5.9)",cls:"text-amber-600 bg-amber-50 border-amber-200"},{label:"Below Avg (<4)",cls:"text-red-500 bg-red-50 border-red-200"}
518].map(({label:c,cls:d})=>p.jsxs("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:247",className:`inline-flex items-center gap-1 px-2.5 py-1 rounded-lg border text-xs font-semibold ${d}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(hP,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:248",className:"w-3 h-3"})," ",c]},c)),p.jsx("span",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:251",className:"text-slate-400 text-xs self-center",children:"(composite of school, walkability & safety factors)"})]}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:255",className:"mt-6 flex flex-col sm:flex-row items-center justify-between gap-4 bg-[#1a2744] rounded-2xl px-6 py-5",children:[p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:256",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:257",className:"w-10 h-10 rounded-xl bg-[#2563eb]/20 flex items-center justify-center flex-shrink-0",children:p.jsx(Rn,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:258",className:"w-5 h-5 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:260",children:[p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:261",className:"text-white font-bold text-sm",style:{fontFamily:"'DM Sans', sans-serif"},children:"Found a ZIP you like?"}),p.jsx("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:264",className:"text-slate-400 text-xs",children:"Get a free home valuation or schedule a call with Marcus."})]})]}),p.jsxs("div",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:267",className:"flex gap-3 shrink-0",children:[p.jsx("a",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:268",href:"https://marcuscartercb.com/home-valuation",target:"_blank",rel:"noopener noreferrer",className:"px-4 py-2 bg-[#2563eb] hover:bg-[#1d4ed8] text-white text-xs font-bold rounded-xl transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Valuation"}),p.jsx("a",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:277",href:"https://marcuscartercb.com/contact-me",target:"_blank",rel:"noopener noreferrer",className:"px-4 py-2 bg-white/10 hover:bg-white/20 text-white text-xs font-bold rounded-xl transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:"Schedule a Call"})]})]}),p.jsxs("p",{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:289",className:"text-center text-xs text-slate-400 mt-4",children:[p.jsx(Xa,{"data-loc":"client/src/components/Top10AffordableZIPs.tsx:290",className:"w-3 h-3 inline mr-1"}),"Rankings based on May 2026 market data. School districts per TEA ISD boundaries. Neighborhood scores are composite estimates. Updated monthly."]})]})})}function v_(e){return{city:`${e.city}, ${e.state}`,count:Math.round(e.percentage*100)}}function xde(){const{data:e,isLoading:t}=bt.market.getMigrationData.useQuery(),n=e&&Array.isArray(e.inboundData)&&e.inboundData.length>0?e.inboundData.slice(0,5).map(v_):uK,r=e&&Array.isArray(e.outboundData)&&e.outboundData.length>0?e.outboundData.slice(0,5).map(v_):dK,a=e?.narrative??null,o=n[0]?.count??1,l=r[0]?.count??1,c=e?.reportMonth?(()=>{const[d,f]=e.reportMonth.split("-");return new Date(Number(d),Number(f)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():null;return p.jsx("section",{"data-loc":"client/src/components/MigrationSection.tsx:48",id:"migration",className:"py-20 bg-[#1a2744]",children:p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:49",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:51",className:"mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:52",className:"flex flex-wrap items-center gap-3 mb-2",children:[p.jsx("p",{"data-loc":"client/src/components/MigrationSection.tsx:53",className:"text-[#60a5fa] text-xs font-bold tracking-widest uppercase",style:{fontFamily:"'DM Sans', sans-serif"},children:"Migration & Relocation Trends"}),p.jsx(us,{"data-loc":"client/src/components/MigrationSection.tsx:56",variant:"section",className:"opacity-90"})]}),p.jsx("h2",{"data-loc":"client/src/components/MigrationSection.tsx:58",className:"text-3xl font-extrabold text-white mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Who's Moving to DFW â and Where Are They Going?"}),p.jsx("p",{"data-loc":"client/src/components/MigrationSection.tsx:64",className:"text-white/60 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:a??p.jsxs(p.Fragment,{children:["Migration data from Redfin shows that"," ",p.jsx("strong",{"data-loc":"client/src/components/MigrationSection.tsx:68",className:"text-white",children:"69% of Dallas homebuyers"})," searched to stay within the DFW metropolitan area, reflecting strong local confidence. The top inbound markets are primarily coastal metros where buyers are seeking affordability and lifestyle improvements."]})})]}),t?p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:77",className:"grid lg:grid-cols-2 gap-8",children:[p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:78",className:"bg-white/10 rounded-2xl h-64 animate-pulse"}),p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:79",className:"bg-white/10 rounded-2xl h-64 animate-pulse"})]}):p.jsxs(p.Fragment,{children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:84",className:"bg-white/10 border border-white/20 rounded-2xl p-6 mb-10 flex flex-col sm:flex-row items-center gap-6",children:[p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:85",className:"w-20 h-20 rounded-full bg-[#2563eb]/20 border-2 border-[#2563eb]/40 flex items-center justify-center flex-shrink-0",children:p.jsx(qD,{"data-loc":"client/src/components/MigrationSection.tsx:86",className:"w-8 h-8 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:88",children:[p.jsx("p",{"data-loc":"client/src/components/MigrationSection.tsx:89",className:"text-5xl font-extrabold text-white mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"69%"}),p.jsxs("p",{"data-loc":"client/src/components/MigrationSection.tsx:92",className:"text-white/70 text-base",style:{fontFamily:"'Inter', sans-serif"},children:["of Dallas homebuyers searched to ",p.jsx("strong",{"data-loc":"client/src/components/MigrationSection.tsx:93",className:"text-white",children:"stay within DFW"})," â the highest local retention rate among major Texas metros."]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:98",className:"grid lg:grid-cols-2 gap-8",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:100",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:101",className:"flex items-center gap-3 mb-6",children:[p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:102",className:"w-8 h-8 rounded-lg bg-emerald-500/20 border border-emerald-500/30 flex items-center justify-center",children:p.jsx(oG,{"data-loc":"client/src/components/MigrationSection.tsx:103",className:"w-4 h-4 text-emerald-400"})}),p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:105",children:[p.jsx("h3",{"data-loc":"client/src/components/MigrationSection.tsx:106",className:"text-white font-bold text-base",style:{fontFamily:"'DM Sans', sans-serif"}
518,children:"Top Inbound Markets"}),p.jsx("p",{"data-loc":"client/src/components/MigrationSection.tsx:109",className:"text-white/50 text-xs",children:"Moving TO Dallas"})]})]}),p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:112",className:"space-y-3",children:n.map((d,f)=>p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:114",className:"group",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:115",className:"flex items-center justify-between mb-1",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:116",className:"flex items-center gap-3",children:[p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:117",className:"text-white/30 text-xs font-bold w-4",style:{fontFamily:"'DM Sans', sans-serif"},children:f+1}),p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:120",className:"text-white text-sm font-medium",style:{fontFamily:"'Inter', sans-serif"},children:d.city})]}),p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:124",className:"text-emerald-400 text-sm font-bold",style:{fontFamily:"'DM Sans', sans-serif"},children:d.count.toLocaleString()})]}),p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:128",className:"h-1.5 bg-white/10 rounded-full overflow-hidden ml-7",children:p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:129",className:"h-full rounded-full bg-gradient-to-r from-emerald-500 to-emerald-400 transition-all duration-700",style:{width:`${d.count/o*100}%`}})})]},d.city))})]}),p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:140",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:141",className:"flex items-center gap-3 mb-6",children:[p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:142",className:"w-8 h-8 rounded-lg bg-red-500/20 border border-red-500/30 flex items-center justify-center",children:p.jsx(lG,{"data-loc":"client/src/components/MigrationSection.tsx:143",className:"w-4 h-4 text-red-400"})}),p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:145",children:[p.jsx("h3",{"data-loc":"client/src/components/MigrationSection.tsx:146",className:"text-white font-bold text-base",style:{fontFamily:"'DM Sans', sans-serif"},children:"Top Outbound Destinations"}),p.jsx("p",{"data-loc":"client/src/components/MigrationSection.tsx:149",className:"text-white/50 text-xs",children:"Moving FROM Dallas"})]})]}),p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:152",className:"space-y-3",children:r.map((d,f)=>p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:154",className:"group",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:155",className:"flex items-center justify-between mb-1",children:[p.jsxs("div",{"data-loc":"client/src/components/MigrationSection.tsx:156",className:"flex items-center gap-3",children:[p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:157",className:"text-white/30 text-xs font-bold w-4",style:{fontFamily:"'DM Sans', sans-serif"},children:f+1}),p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:160",className:"text-white text-sm font-medium",style:{fontFamily:"'Inter', sans-serif"},children:d.city})]}),p.jsx("span",{"data-loc":"client/src/components/MigrationSection.tsx:164",className:"text-red-400 text-sm font-bold",style:{fontFamily:"'DM Sans', sans-serif"},children:d.count.toLocaleString()})]}),p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:168",className:"h-1.5 bg-white/10 rounded-full overflow-hidden ml-7",children:p.jsx("div",{"data-loc":"client/src/components/MigrationSection.tsx:169",className:"h-full rounded-full bg-gradient-to-r from-red-500 to-red-400 transition-all duration-700",style:{width:`${d.count/l*100}%`}})})]},d.city))})]})]})]}),p.jsxs("p",{"data-loc":"client/src/components/MigrationSection.tsx:182",className:"text-white/30 text-xs mt-8 text-center",style:{fontFamily:"'Inter', sans-serif"},children:["Source: Redfin Migration Report",c?` â ${c}`:", OctâDec 2025"," · Numbers represent net migration flows"]})]})})}const ju=[{icon:In,label:"For Buyers",color:"emerald",iconBg:"bg-emerald-500/20",iconColor:"text-emerald-400",borderColor:"border-emerald-500/30",headline:"Excellent Entry Window",body:"Prices have corrected 3â10% from peak levels, inventory is at multi-year highs, and mortgage rates are trending down. You have more negotiating power than at any point since 2019."},{icon:Rn,label:"For Sellers",color:"blue",iconBg:"bg-blue-500/20",iconColor:"text-blue-400",borderColor:"border-blue-500/30",headline:"Price Competitively",body:"Accurate pricing is critical. Homes priced competitively and presented well are still attracting strong buyer interest. Sellers who are flexible on price can benefit by moving now before more inventory enters the market."},{icon:Xa,label:"For Investors",color:"amber",iconBg:"bg-amber-500/20",iconColor:"text-amber-400",borderColor:"border-amber-500/30",headline:"Strong Long-Term Fundamentals",body:"DFW's population growth, job market diversity, and no state income tax continue to attract residents and businesses. Corrected prices create compelling entry points for long-term appreciation."},{icon:nC,label:"Watch Out For",color:"red",iconBg:"bg-red-500/20",iconColor:"text-red-400",borderColor:"border-red-500/30",headline:"Key Risk Factors",body:"Tariff uncertainty on building materials may impact new construction costs. Interest rate volatility remains a risk. Buyers in a 'wait and see' mode may miss the window of maximum inventory and negotiating leverage."}];function bde(e,t){return e.slice(0,5).map((n,r)=>({number:String(t+r).padStart(2,"0"),title:n.tip,body:n.detail}))}function wde(){const{data:e,isLoading:t}=bt.market.getOutlookData.useQuery(),n=e&&Array.isArray(e.buyerTips)&&e.buyerTips.length>0?[{icon:In,label:"For Buyers",color:"emerald",iconBg:"bg-emerald-500/20",iconColor:"text-emerald-400",borderColor:"border-emerald-500/30",headline:e.buyerTips[0]?.tip??"Excellent Entry Window",body:e.buyerTips[0]?.detail??ju[0].body},{icon:Rn,label:"For Sellers",color:"blue",iconBg:"bg-blue-500/20",iconColor:"text-blue-400",borderColor:"border-blue-500/30",headline:e.sellerTips?.[0]?.tip??"Price Competitively",body:e.sellerTips?.[0]?.detail??ju[1].body},{icon:Xa,label:"For Investors",color:"amber",iconBg:"bg-amber-500/20",iconColor:"text-amber-400",borderColor:"border-amber-500/30",headline:e.investorTips?.[0]?.tip??"Strong Long-Term Fundamentals",body:e.investorTips?.[0]?.detail??ju[2].body},{icon:nC,label:"Watch Out For",color:"red",iconBg:"bg-red-500/20",iconColor:"text-red-400",borderColor:"border-red-500/30",headline:"Key Risk Factors",body:ju[3].body}]:ju,r=e&&Array.isArray(e.buyerTips)&&e.buyerTips.length>1?bde(e.buyerTips.slice(1),1):fK,a=e?.overallOutlook??null,o=e?.reportMonth?(()=>{const[l,c]=e.reportMonth.split("-");return new Date(Number(l),Number(c)-1,1).toLocaleDateString("en-US",{month:"long",year:"numeric"})})():"Spring 2026";return p.jsx("section",{"data-loc":"client/src/components/OutlookSection.tsx:131",id:"outlook",className:"py-20 bg-white",children:p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:132",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:134",className:"mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:135",className:"flex flex-wrap items-center gap-3 mb-2",children:[p.jsxs("p",{"data-loc":"client/src/components/OutlookSection.tsx:136",className:"section-label",children:[o," Market Outlook"]}),p.jsx(us,{"data-loc":"client/src/components/OutlookSection.tsx:137",variant:"section"})]}),p.jsx("h2",{"data-loc":"client/src/components/OutlookSection.tsx:139",className:"text-3xl font-extrabold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"What to Expect This Season"}),p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:145",className:"text-slate-600 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:a??p.jsxs(p.Fragment,{children:["Texas A&M Real Estate Research Center forecasts approximately"," ",p.jsx("strong",{"data-loc":"client/src/components/OutlookSection.tsx:149",className:"text-[#1a2744]",children:"3% price growth"})," in DFW for 2026. With an estimated 150,000+ new residents moving to the Metroplex annually, underlying demand remains exceptionally strong. Declining mortgage rates and improving affordability are expected to bring more buyers back to the market as the year progresses."]})})]}),t?p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:159",className:"space-y-8",children:[p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:160",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
5185",children:[1,2,3,4].map(l=>p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:162",className:"bg-slate-100 rounded-2xl h-40 animate-pulse"},l))}),p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:165",className:"bg-slate-100 rounded-3xl h-64 animate-pulse"})]}):p.jsxs(p.Fragment,{children:[p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:170",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-5 mb-16",children:n.map(l=>{const c=l.icon;return p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:174",className:`rounded-2xl border ${l.borderColor} bg-[#f8fafc] p-5 hover:shadow-md transition-all duration-300`,children:[p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:178",className:`w-10 h-10 rounded-xl ${l.iconBg} flex items-center justify-center mb-4`,children:p.jsx(c,{"data-loc":"client/src/components/OutlookSection.tsx:179",className:`w-5 h-5 ${l.iconColor}`})}),p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:181",className:`text-xs font-bold tracking-widest uppercase mb-2 ${l.iconColor}`,style:{fontFamily:"'DM Sans', sans-serif"},children:l.label}),p.jsx("h3",{"data-loc":"client/src/components/OutlookSection.tsx:184",className:"text-[#1a2744] font-bold text-base mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:l.headline}),p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:187",className:"text-slate-600 text-sm leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:l.body})]},l.label)})}),p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:196",className:"mb-12 bg-gradient-to-r from-amber-500 to-amber-400 rounded-2xl p-8 lg:p-10 text-center",children:[p.jsx("h3",{"data-loc":"client/src/components/OutlookSection.tsx:197",className:"text-white font-extrabold text-2xl mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Ready to Sell? Get Your Free Guide"}),p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:200",className:"text-white/90 mb-6 max-w-2xl mx-auto",style:{fontFamily:"'Inter', sans-serif"},children:"Learn the proven strategies Marcus uses to help sellers in DFW achieve top dollar. Download your free guide to understand pricing, staging, and timing."}),p.jsx("a",{"data-loc":"client/src/components/OutlookSection.tsx:203",href:"https://drive.google.com/file/d/1dOv4aGFxvkvj0BOQdIw97KXn5XHLlsY4/view?usp=drivesdk",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-3 bg-white text-amber-600 font-bold rounded-xl hover:bg-white/90 transition-all duration-200 hover:shadow-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:"Download Free Sellers Guide"})]}),p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:215",className:"bg-[#1a2744] rounded-3xl p-8 lg:p-10",children:[p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:216",className:"mb-8",children:[p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:217",className:"text-[#60a5fa] text-xs font-bold tracking-widest uppercase mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:"Action Items"}),p.jsxs("h3",{"data-loc":"client/src/components/OutlookSection.tsx:220",className:"text-white font-extrabold text-2xl",style:{fontFamily:"'DM Sans', sans-serif"},children:["Smart Moves for ",o]})]}),p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:224",className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:r.map((l,c)=>p.jsx("div",{"data-loc":"client/src/components/OutlookSection.tsx:226",className:`bg-white/5 border border-white/10 rounded-2xl p-5 hover:bg-white/10 hover:border-white/20 transition-all duration-200 ${c===4?"sm:col-span-2 lg:col-span-1":""}`,children:p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:232",className:"flex items-start gap-4",children:[p.jsx("span",{"data-loc":"client/src/components/OutlookSection.tsx:233",className:"text-[#2563eb] font-extrabold text-2xl leading-none flex-shrink-0",style:{fontFamily:"'DM Sans', sans-serif"},children:l.number}),p.jsxs("div",{"data-loc":"client/src/components/OutlookSection.tsx:239",children:[p.jsx("h4",{"data-loc":"client/src/components/OutlookSection.tsx:240",className:"text-white font-bold text-sm mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:l.title}),p.jsx("p",{"data-loc":"client/src/components/OutlookSection.tsx:243",className:"text-white/60 text-xs leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:l.body})]})]})},l.number))})]})]})]})})}const Sde="https://drive.google.com/file/d/1xkiBR0RWU--zR0Casl0-RzJKlOnz3PYc/view?usp=drivesdk",Cde="https://drive.google.com/file/d/1dOv4aGFxvkvj0BOQdIw97KXn5XHLlsY4/view?usp=drivesdk",Up=[{value:"cma",label:"Comparative Market Analysis",description:"Get a detailed CMA for your property"},{value:"valuation",label:"Free Home Valuation",description:"Find out what your home is worth"},{value:"buying",label:"Buying Consultation",description:"I'm looking to buy a home in DFW"},{value:"selling",label:"Selling Consultation",description:"I'm thinking about selling my home"},{value:"general",label:"General Inquiry",description:"I have a question about the market"}];function Mde(e){const t={};return e.name.trim()||(t.name="Name is required"),e.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.email)||(t.email="Please enter a valid email"):t.email="Email is required",e.phone&&!/^[\d\s\-\(\)\+]{7,}$/.test(e.phone)&&(t.phone="Please enter a valid phone number"),e.zipCode&&!/^\d{5}$/.test(e.zipCode)&&(t.zipCode="Please enter a valid 5-digit ZIP code"),t}
518function Ode(){const[e,t]=O.useState({name:"",email:"",phone:"",zipCode:"",requestType:"valuation",message:""}),[n,r]=O.useState({}),[a,o]=O.useState(!1),[l,c]=O.useState(!1),d=O.useRef(null),f=(C,x)=>{t(w=>({...w,[C]:x})),n[C]&&r(w=>({...w,[C]:void 0}))},[y,m]=O.useState(!1),g=bt.leads.submit.useMutation(),b=async C=>{C.preventDefault();const x=Mde(e);if(Object.keys(x).length>0){r(x);return}c(!0),m(!1);try{await g.mutateAsync({name:e.name,email:e.email,phone:e.phone||void 0,zipCode:e.zipCode||void 0,requestType:e.requestType,message:e.message||void 0}),o(!0)}catch{const w=Up.find(j=>j.value===e.requestType)?.label||e.requestType,M=encodeURIComponent(`DFW Market Inquiry: ${w}`),T=encodeURIComponent(`Name: ${e.name} 519Email: ${e.email} 520Phone: ${e.phone||"N/A"} 521ZIP: ${e.zipCode||"N/A"} 522Request: ${w} 523 524${e.message||"No additional details"}`);window.location.href=`mailto:[email protected]?subject=${M}&body=${T}`,o(!0)}finally{c(!1)}};return a?p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:134",className:"bg-white/10 backdrop-blur-sm border border-white/20 rounded-2xl p-8 text-center animate-fade-up",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:135",className:"w-16 h-16 rounded-full bg-emerald-500/20 border border-emerald-500/30 flex items-center justify-center mx-auto mb-4",children:p.jsx(Nh,{"data-loc":"client/src/components/ContactSection.tsx:136",className:"w-8 h-8 text-emerald-400"})}),p.jsx("h3",{"data-loc":"client/src/components/ContactSection.tsx:138",className:"text-white font-extrabold text-xl mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:"Request Received!"}),p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:144",className:"text-white/70 text-sm mb-4 leading-relaxed max-w-md mx-auto",style:{fontFamily:"'Inter', sans-serif"},children:["Thank you, ",p.jsx("strong",{"data-loc":"client/src/components/ContactSection.tsx:145",className:"text-white",children:e.name}),"! I've received your"," ",Up.find(C=>C.value===e.requestType)?.label.toLowerCase()," request",e.zipCode?` for ZIP code ${e.zipCode}`:"",". I'll get back to you within 24 hours."]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:149",className:"flex flex-wrap items-center justify-center gap-3 mt-6",children:[p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:150",href:`tel:${ct.phoneRaw}`,className:"flex items-center gap-2 px-5 py-2.5 bg-white/10 border border-white/20 text-white text-sm font-semibold rounded-xl hover:bg-white/20 transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(cm,{"data-loc":"client/src/components/ContactSection.tsx:155",className:"w-3.5 h-3.5"}),"Call Now"]}),p.jsx("button",{"data-loc":"client/src/components/ContactSection.tsx:158",onClick:()=>{o(!1),t({name:"",email:"",phone:"",zipCode:"",requestType:"valuation",message:""})},className:"flex items-center gap-2 px-5 py-2.5 bg-[#2563eb] text-white text-sm font-semibold rounded-xl hover:bg-[#1d4ed8] transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:"Submit Another Request"})]})]}):p.jsxs("form",{"data-loc":"client/src/components/ContactSection.tsx:174",ref:d,onSubmit:b,className:"bg-white/10 backdrop-blur-sm border border-white/20 rounded-2xl p-6 sm:p-8",children:[p.jsx("h3",{"data-loc":"client/src/components/ContactSection.tsx:179",className:"text-white font-extrabold text-lg mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:"Request a Free Consultation"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:185",className:"text-white/60 text-sm mb-6",style:{fontFamily:"'Inter', sans-serif"},children:"Fill out the form below and I'll respond within 24 hours with personalized market insights."}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:189",className:"grid sm:grid-cols-2 gap-4 mb-4",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:191",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:192",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(kG,{"data-loc":"client/src/components/ContactSection.tsx:193",className:"w-3 h-3"})," Full Name ",p.jsx("span",{"data-loc":"client/src/components/ContactSection.tsx:193",className:"text-red-400",children:"*"})]}),p.jsx("input",{"data-loc":"client/src/components/ContactSection.tsx:195",type:"text",value:e.name,onChange:C=>f("name",C.target.value),placeholder:"John Smith",className:`w-full bg-white/10 border ${n.name?"border-red-400":"border-white/20"} rounded-xl px-4 py-3 text-white text-sm placeholder:text-white/30 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all`,style:{fontFamily:"'Inter', sans-serif"}}),n.name&&p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:206",className:"flex items-center gap-1 text-red-400 text-xs mt-1",children:[p.jsx(gl,{"data-loc":"client/src/components/ContactSection.tsx:207",className:"w-3 h-3"})," ",n.name]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:213",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:214",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(lc,{"data-loc":"client/src/components/ContactSection.tsx:215",className:"w-3 h-3"})," Email Address ",p.jsx("span",{"data-loc":"client/src/components/ContactSection.tsx:215",className:"text-red-400",children:"*"})]}),p.jsx("input",{"data-loc":"client/src/components/ContactSection.tsx:217",type:"email",value:e.email,onChange:C=>f("email",C.target.value),placeholder:"[email protected]",className:`w-full bg-white/10 border ${n.email?"border-red-400":"border-white/20"} rounded-xl px-4 py-3 text-white text-sm placeholder:text-white/30 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all`,style:{fontFamily:"'Inter', sans-serif"}}),n.email&&p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:228",className:"flex items-center gap-1 text-red-400 text-xs mt-1",children:[p.jsx(gl,{"data-loc":"client/src/components/ContactSection.tsx:229",className:"w-3 h-3"})," ",n.email]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:235",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:236",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(cm,{"data-loc":"client/src/components/ContactSection.tsx:237",className:"w-3 h-3"})," Phone Number"]}),p.jsx("input",{"data-loc":"client/src/components/ContactSection.tsx:239",type:"tel",value:e.phone,onChange:C=>f("phone",C.target.value),placeholder:"(555) 123-4567",className:`w-full bg-white/10 border ${n.phone?"border-red-400":"border-white/20"} rounded-xl px-4 py-3 text-white text-sm placeholder:text-white/30 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all`,style:{fontFamily:"'Inter', sans-serif"}}),n.phone&&p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:250",className:"flex items-center gap-1 text-red-400 text-xs mt-1",children:[p.jsx(gl,{"data-loc":"client/src/components/ContactSection.tsx:251",className:"w-3 h-3"})," ",n.phone]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:257",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:258",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(Rn,{"data-loc":"client/src/components/ContactSection.tsx:259",className:"w-3 h-3"})," Your ZIP Code"]}
524),p.jsx("input",{"data-loc":"client/src/components/ContactSection.tsx:261",type:"text",value:e.zipCode,onChange:C=>f("zipCode",C.target.value),placeholder:"75024",maxLength:5,className:`w-full bg-white/10 border ${n.zipCode?"border-red-400":"border-white/20"} rounded-xl px-4 py-3 text-white text-sm placeholder:text-white/30 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all`,style:{fontFamily:"'Inter', sans-serif"}}),n.zipCode&&p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:273",className:"flex items-center gap-1 text-red-400 text-xs mt-1",children:[p.jsx(gl,{"data-loc":"client/src/components/ContactSection.tsx:274",className:"w-3 h-3"})," ",n.zipCode]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:281",className:"mb-4",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:282",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(Zw,{"data-loc":"client/src/components/ContactSection.tsx:283",className:"w-3 h-3"})," What can I help you with?"]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:285",className:"relative",children:[p.jsx("select",{"data-loc":"client/src/components/ContactSection.tsx:286",value:e.requestType,onChange:C=>f("requestType",C.target.value),className:"w-full appearance-none bg-white/10 border border-white/20 rounded-xl px-4 py-3 pr-10 text-white text-sm focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all",style:{fontFamily:"'Inter', sans-serif"},children:Up.map(C=>p.jsx("option",{"data-loc":"client/src/components/ContactSection.tsx:293",value:C.value,className:"bg-[#1a2744] text-white",children:C.label},C.value))}),p.jsx(Dh,{"data-loc":"client/src/components/ContactSection.tsx:298",className:"absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-white/40 pointer-events-none"})]}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:300",className:"text-white/40 text-xs mt-1",children:Up.find(C=>C.value===e.requestType)?.description})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:306",className:"mb-6",children:[p.jsxs("label",{"data-loc":"client/src/components/ContactSection.tsx:307",className:"flex items-center gap-1.5 text-white/70 text-xs font-medium mb-1.5",children:[p.jsx(Zw,{"data-loc":"client/src/components/ContactSection.tsx:308",className:"w-3 h-3"})," Additional Details"]}),p.jsx("textarea",{"data-loc":"client/src/components/ContactSection.tsx:310",value:e.message,onChange:C=>f("message",C.target.value),placeholder:"Tell me about your situation â property address, timeline, questions about the market...",rows:3,className:"w-full bg-white/10 border border-white/20 rounded-xl px-4 py-3 text-white text-sm placeholder:text-white/30 focus:outline-none focus:ring-2 focus:ring-[#2563eb]/50 focus:border-[#2563eb] transition-all resize-none",style:{fontFamily:"'Inter', sans-serif"}})]}),p.jsx("button",{"data-loc":"client/src/components/ContactSection.tsx:321",type:"submit",disabled:l,className:"w-full flex items-center justify-center gap-2 px-6 py-3.5 bg-[#2563eb] hover:bg-[#1d4ed8] disabled:bg-[#2563eb]/50 text-white font-bold rounded-xl transition-all duration-200 hover:-translate-y-0.5 hover:shadow-lg hover:shadow-[#2563eb]/30 disabled:translate-y-0 disabled:shadow-none",style:{fontFamily:"'DM Sans', sans-serif"},children:l?p.jsxs(p.Fragment,{children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:329",className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Sending..."]}):p.jsxs(p.Fragment,{children:[p.jsx(PG,{"data-loc":"client/src/components/ContactSection.tsx:334",className:"w-4 h-4"}),"Send Request"]})}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:340",className:"text-white/30 text-xs text-center mt-3",style:{fontFamily:"'Inter', sans-serif"},children:"Your information is kept confidential and will never be shared with third parties."})]})}function Tde(){return p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:349",className:"bg-white/10 backdrop-blur-sm border border-white/20 rounded-2xl p-6",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:351",className:"flex flex-col items-center text-center mb-5",children:[p.jsx("img",{"data-loc":"client/src/components/ContactSection.tsx:353",src:ct.headshotUrl,alt:ct.fullName,className:"w-28 h-28 rounded-2xl object-cover border-3 border-[#2563eb]/40 mb-3 shadow-lg shadow-black/20"}),p.jsx("h3",{"data-loc":"client/src/components/ContactSection.tsx:366",className:"text-white font-extrabold text-lg leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:ct.fullName}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:372",className:"text-[#60a5fa] text-sm font-medium",children:ct.title}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:373",className:"flex items-center gap-1.5 mt-1",children:[p.jsx(Kw,{"data-loc":"client/src/components/ContactSection.tsx:374",className:"w-3 h-3 text-white/40"}),p.jsx("span",{"data-loc":"client/src/components/ContactSection.tsx:375",className:"text-white/50 text-xs",children:ct.brokerage})]}),ct.licenseNumber]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:386",className:"space-y-3 mb-5",children:[p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:387",href:`tel:${ct.phoneRaw}`,className:"flex items-center gap-3 text-white/80 hover:text-white transition-colors group",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:391",className:"w-9 h-9 rounded-xl bg-white/10 group-hover:bg-[#2563eb]/20 flex items-center justify-center transition-colors",children:p.jsx(cm,{"data-loc":"client/src/components/ContactSection.tsx:392",className:"w-4 h-4 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:394",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:395",className:"text-xs text-white/40",children:"Phone"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:396",className:"text-sm font-medium",children:ct.phone})]})]}),p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:399",href:`mailto:${ct.email}`,className:"flex items-center gap-3 text-white/80 hover:text-white transition-colors group",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:403",className:"w-9 h-9 rounded-xl bg-white/10 group-hover:bg-[#2563eb]/20 flex items-center justify-center transition-colors",children:p.jsx(lc,{"data-loc":"client/src/components/ContactSection.tsx:404",className:"w-4 h-4 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:406",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:407",className:"text-xs text-white/40",children:"Email"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:408",className:"text-sm font-medium",children:ct.email})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:411",className:"flex items-center gap-3 text-white/80",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:412",className:"w-9 h-9 rounded-xl bg-white/10 flex items-center justify-center",children:p.jsx(cc,{"data-loc":"client/src/components/ContactSection.tsx:413",className:"w-4 h-4 text-[#60a5fa]"})}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:415",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:416",className:"text-xs text-white/40",children:"Office"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:417",className:"text-sm font-medium",children:ct.address.full})]})]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:423",className:"border-t border-white/10 pt-4",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:424",className:"text-white/40 text-xs font-medium mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"Connect With Me"}),p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:427",className:"flex flex-wrap gap-2",children:Object.entries(ct.social).filter(([,e])=>e).map(([e,t])=>p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:431",href:t,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 px-3 py-1.5 bg-white/10 hover:bg-white/20 border border-white/10 hover:border-white/20 rounded-lg text-white/60 hover:text-white text-xs transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:[e.charAt(0).toUpperCase()+e.slice(1),p.jsx(Vw,{"data-loc":"client/src/components/ContactSection.tsx:440",className:"w-2.5 h-2.5"})]},e))})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:448",className:"border-t border-white/10 pt-4 mt-4 flex flex-col gap-2",children:[p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:449",href:ct.website,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full px-4 py-2.5 bg-[#2563eb]/20 hover:bg-[#2563eb]/30 border border-[#2563eb]/30 rounded-xl text-[#60a5fa] hover:text-white text-sm font-semibold transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Vw,{"data-loc":"client/src/components/ContactSection.tsx:456",className:"w-3.5 h-3.5"}),"MarcusCarterCB.com"]}),p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:459",href:"https://marcuscartercb.com/home-valuation",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-[#2563eb] hover:bg-[#1d4ed8] rounded-xl text-white text-sm font-bold transition-all shadow-lg shadow-[#2563eb]/30 hover:shadow-[#2563eb]/50 hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Rn,{"data-loc":"client/src/components/ContactSection.tsx:466",className:"w-4 h-4"}),"Get Your Home Value"]}),p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:469",href:"https://marcuscartercb.com/contact-me",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-white/10 hover:bg-white/20 border border-white/30 rounded-xl text-white text-sm font-bold transition-all hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(cm,{"data-loc":"client/src/components/ContactSection.tsx:476",className:"w-4 h-4"}),"Schedule a Call"]}),p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:479",href:"https://link.crmvo.com/widget/bookings/dpnc3nyeoaf1sbpfd0np",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full px-4 py-3 bg-emerald-500/20 hover:bg-emerald-500/30 border border-emerald-500/30 rounded-xl text-emerald-300 hover:text-emerald-200 text-sm font-bold transition-all hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Zw,{"data-loc":"client/src/components/ContactSection.tsx:486",className:"w-4 h-4"}),"Schedule a Consultation"]})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:493",className:"border-t border-white/10 pt-4 mt-4 flex items-center justify-between gap-4",children:[p.jsx("img",{"data-loc":"client/src/components/ContactSection.tsx:495",src:ct.brokerageLogoUrl,alt:ct.brokerage,className:"h-10 opacity-70 rounded-lg"}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:502",className:"flex flex-col items-center gap-1",children:[p.jsx("img",{"data-loc":"client/src/components/ContactSection.tsx:503",src:ct.qrCodeUrl,alt:"Digital Business Card QR Code",className:"w-20 h-20 rounded-lg border border-white/20"}),p.jsx("span",{"data-loc":"client/src/components/ContactSection.tsx:508",className:"text-white/30 text-[10px]",children:"Scan for contact"})]})]})]})}function Pde(){return p.jsxs(p.Fragment,{children:[p.jsxs("section",{"data-loc":"client/src/components/ContactSection.tsx:520",id:"contact",className:"py-20 bg-gradient-to-br from-[#1a2744] via-[#1e3160] to-[#1a2744] relative overflow-hidden",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:525",className:"absolute inset-0 opacity-5",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:526",className:"absolute top-0 left-0 w-96 h-96 rounded-full bg-[#2563eb] blur-3xl -translate-x-1/2 -translate-y-1/2"}),p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:527",className:"absolute bottom-0 right-0 w-96 h-96 rounded-full bg-[#2563eb] blur-3xl translate-x-1/2 translate-y-1/2"})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:530",className:"container relative z-10",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:532",className:"text-center mb-12",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:533",className:"text-[#60a5fa] text-xs font-bold tracking-widest uppercase mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Ready to Make Your Next Move?"}),p.jsx("h2",{"data-loc":"client/src/components/ContactSection.tsx:539",className:"text-white font-extrabold mb-4",style:{fontFamily:"'DM Sans', sans-serif",fontSize:"clamp(1.75rem, 4vw, 2.75rem)"},children:"Let's Talk About Your Home's Value"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:548",className:"text-white/70 text-lg max-w-2xl mx-auto leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:"Whether you're buying, selling, or simply curious about your home's current value, I'm here to provide personalized guidance backed by real-time market data."})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:558",className:"grid lg:grid-cols-5 ga
524p-8 max-w-5xl mx-auto",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:559",className:"lg:col-span-3",children:p.jsx(Ode,{"data-loc":"client/src/components/ContactSection.tsx:560"})}),p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:562",className:"lg:col-span-2",children:p.jsx(Tde,{"data-loc":"client/src/components/ContactSection.tsx:563"})})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:568",className:"max-w-5xl mx-auto mt-10 grid sm:grid-cols-2 gap-4",children:[p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:570",href:Sde,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col sm:flex-row items-center justify-between gap-4 bg-emerald-500/15 border border-emerald-400/30 rounded-2xl px-6 py-5 hover:bg-emerald-500/25 transition-all group",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:576",className:"flex items-center gap-4",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:577",className:"w-12 h-12 rounded-xl bg-emerald-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx(za,{"data-loc":"client/src/components/ContactSection.tsx:578",className:"w-6 h-6 text-emerald-300"})}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:580",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:581",className:"text-white font-extrabold text-base",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Homebuyer's Guide"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:584",className:"text-white/60 text-sm",style:{fontFamily:"'Inter', sans-serif"},children:"Pre-approval tips, earnest money norms, inspection timelines & closing costs."})]})]}),p.jsxs("span",{"data-loc":"client/src/components/ContactSection.tsx:589",className:"shrink-0 flex items-center gap-2 px-5 py-3 bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-bold rounded-xl transition-all group-hover:shadow-lg group-hover:shadow-emerald-500/30 group-hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(za,{"data-loc":"client/src/components/ContactSection.tsx:593",className:"w-4 h-4"}),"Download Free Guide"]})]}),p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:598",href:Cde,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col sm:flex-row items-center justify-between gap-4 bg-amber-500/15 border border-amber-400/30 rounded-2xl px-6 py-5 hover:bg-amber-500/25 transition-all group",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:604",className:"flex items-center gap-4",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:605",className:"w-12 h-12 rounded-xl bg-amber-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx(za,{"data-loc":"client/src/components/ContactSection.tsx:606",className:"w-6 h-6 text-amber-300"})}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:608",children:[p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:609",className:"text-white font-extrabold text-base",style:{fontFamily:"'DM Sans', sans-serif"},children:"Free Home Sellers Guide"}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:612",className:"text-white/60 text-sm",style:{fontFamily:"'Inter', sans-serif"},children:"Pricing strategy, staging tips & closing cost breakdown."})]})]}),p.jsxs("span",{"data-loc":"client/src/components/ContactSection.tsx:617",className:"shrink-0 flex items-center gap-2 px-5 py-3 bg-amber-500 hover:bg-amber-400 text-white text-sm font-bold rounded-xl transition-all group-hover:shadow-lg group-hover:shadow-amber-500/30 group-hover:-translate-y-0.5",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(za,{"data-loc":"client/src/components/ContactSection.tsx:621",className:"w-4 h-4"}),"Download Free Guide"]})]})]})]})]}),p.jsx("footer",{"data-loc":"client/src/components/ContactSection.tsx:630",className:"bg-[#0f1c36] py-10",children:p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:631",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:632",className:"flex flex-col lg:flex-row items-start lg:items-center justify-between gap-6 mb-8",children:[p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:634",children:[p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:635",className:"text-white font-bold text-base mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:[ct.fullName," | ",ct.title]}),p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:641",className:"text-white/40 text-xs",children:[ct.phone," · ",ct.email," · ",ct.brokerage]}),p.jsx("p",{"data-loc":"client/src/components/ContactSection.tsx:644",className:"text-white/30 text-xs mt-0.5",children:ct.address.full})]}),p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:648",className:"flex items-center gap-3 flex-wrap",children:Object.entries(ct.social).filter(([,e])=>e).map(([e,t])=>p.jsxs("a",{"data-loc":"client/src/components/ContactSection.tsx:652",href:t,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1 text-white/40 hover:text-white/80 text-xs transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:[e.charAt(0).toUpperCase()+e.slice(1),p.jsx(Vw,{"data-loc":"client/src/components/ContactSection.tsx:661",className:"w-2.5 h-2.5"})]},e))})]}),p.jsxs("div",{"data-loc":"client/src/components/ContactSection.tsx:667",className:"border-t border-white/10 pt-6",children:[p.jsx("div",{"data-loc":"client/src/components/ContactSection.tsx:669",className:"flex justify-center mb-4",children:p.jsx(us,{"data-loc":"client/src/components/ContactSection.tsx:670",variant:"footer"})}),p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:672",className:"text-white/30 text-xs text-center leading-relaxed max-w-3xl mx-auto",style:{fontFamily:"'Inter', sans-serif"},children:["Data sourced from Redfin, Zillow, HAR (Houston Association of Realtors / NTREIS), Republic Title of Texas, M&D Real Estate Group, Freddie Mac, and Fannie Mae (",ct.dataAsOf,"). All data is deemed reliable but not guaranteed. Market conditions are subject to change without notice. This
524newsletter is for informational purposes only and does not constitute legal, financial, or investment advice. Equal Housing Opportunity."]}),p.jsxs("p",{"data-loc":"client/src/components/ContactSection.tsx:683",className:"text-white/20 text-xs text-center mt-4",style:{fontFamily:"'Inter', sans-serif"},children:["© 2026 ",ct.fullName," Real Estate. All rights reserved."]})]})]})})]})}const dh={market_update:{label:"Market Update",color:"bg-blue-100 text-blue-700",icon:p.jsx(In,{"data-loc":"client/src/components/MarketBlog.tsx:9",className:"w-3 h-3"})},county_spotlight:{label:"County Spotlight",color:"bg-purple-100 text-purple-700",icon:p.jsx(Rn,{"data-loc":"client/src/components/MarketBlog.tsx:10",className:"w-3 h-3"})},buyer_tips:{label:"Buyer Tips",color:"bg-emerald-100 text-emerald-700",icon:p.jsx(Xa,{"data-loc":"client/src/components/MarketBlog.tsx:11",className:"w-3 h-3"})},seller_tips:{label:"Seller Tips",color:"bg-amber-100 text-amber-700",icon:p.jsx(jG,{"data-loc":"client/src/components/MarketBlog.tsx:12",className:"w-3 h-3"})},investment:{label:"Investment",color:"bg-rose-100 text-rose-700",icon:p.jsx(In,{"data-loc":"client/src/components/MarketBlog.tsx:13",className:"w-3 h-3"})}},Ade=[{id:0,slug:"dfw-market-overview-may-2026",title:"DFW Real Estate Market Overview â May 2026",summary:"The Dallas-Fort Worth Metroplex enters May 2026 with the 30-year fixed rate at 6.37% (FRED, May 7) and a buyer-friendly environment across most counties. Inventory is rising, days on market are lengthening, and 35% of listings are seeing price reductions.",content:`## DFW Real Estate Market Overview â May 2026 525 526The Dallas-Fort Worth Metroplex real estate market enters May 2026 with cautious optimism. The 30-year fixed mortgage rate sits at 6.37% as of May 7, 2026 (Freddie Mac PMMS), down from 6.45% in April, providing modest relief for buyers. Inventory levels continue to improve, and buyer leverage is increasing across most DFW counties. 527 528### Key Metrics at a Glance 529- **Dallas City Median Sale Price:** $465,000 (-2.0% YoY) 530- **Fort Worth City Median Sale Price:** $405,000 (-3.0% YoY) 531- **Average Days on Market:** 44â78 days depending on county 532- **30-Year Fixed Mortgage Rate:** 6.37% (May 7, 2026) 533- **Homes with Price Drops:** 35% of active listings 534 535### Market Conditions by County 536**Collin County** remains the most competitive submarket with Plano, Frisco, and Allen attracting continued corporate relocations. Median prices near $440,000 with 65 average days on market. 537 538**Dallas County** has seen a -2.8% price correction year-over-year, creating opportunities for buyers who were priced out in 2022â2023. Urban neighborhoods like Oak Cliff and East Dallas remain active. 539 540**Tarrant County** offers strong value with Fort Worth and Arlington median prices around $354,000, and the only county posting positive YoY price growth at +0.3%. 541 542**Rockwall County** leads all DFW counties with +9.2% YoY appreciation, making it the standout performer in the Metroplex. 543 544### May Outlook 545With rates forecasted to ease toward 6.0% by Q3 2026, buyer demand should increase heading into summer. Sellers who price competitively and present well will continue to see strong results. The DFW market fundamentals â job growth, population inflow, and limited land â remain supportive of long-term price appreciation. 546 547*Data sourced from Redfin, Zillow, HAR/NTREIS, and Freddie Mac PMMS. May 2026.*`,reportMonth:"2026-05",category:"market_update",createdAt:new Date("2026-05-01")},{id:0,slug:"buying-home-dfw-may-2026",title:"Buying a Home in DFW This Spring â May 2026 Guide",summary:"May 2026 offers DFW buyers more inventory, more negotiating power, and a slightly lower 30-year rate of 6.37%. Here's how to position yourself to win in today's market.",content:`## Buying a Home in DFW This Spring â May 2026 Guide 548 549Spring is traditionally the most active season for DFW real estate, and May 2026 is shaping up to be one of the best buying windows in recent years. With the 30-year rate at 6.37% (down from 7.04% in January), inventory rising, and 35% of listings seeing price reductions, buyers have real leverage. 550 551### Get Pre-Approved First 552With rates at 6.37%, your pre-approval letter is non-negotiable. Sellers won't entertain offers without it. Work with a local lender who can close quickly â a 21-day close can be a competitive advantage. 553 554### Where to Find Value in May 2026 555- **Kaufman County:** Median prices around $307,000 with strong long-term growth trajectory 556- **Ellis County:** Waxahachie and Midlothian offer suburban living at $333,000 median 557- **Tarrant County:** Fort Worth's Near Southside and Sundance Square areas offer urban walkability at lower price points 558- **Rockwall County:** Premium lake-area living with +9.2% YoY appreciation 559 560### Negotiation Tips for May 2026 561With 35% of listings seeing price drops, buyers have real leverage. Ask for: 562- Seller-paid closing costs (2â3% of purchase price) 563- Rate buy-down contributions 564- Home warranty coverage 565- Repair credits after inspection 566- Flexible closing date 567 568### The Bottom Line 569DFW remains one of the best long-term real estate markets in the country. Job growth, no state income tax, and continued corporate relocations supp
569ort demand. May 2026 offers more choices and less pressure than the past few years. 570 571*Contact Marcus Carter at Coldwell Banker for a free consultation: (469) 713-6032*`,reportMonth:"2026-05",category:"buyer_tips",createdAt:new Date("2026-05-01")},{id:0,slug:"rockwall-county-spotlight-may-2026",title:"Rockwall County Spotlight â May 2026",summary:"Rockwall County leads all DFW counties with +9.2% year-over-year price appreciation, making it the standout performer in the Metroplex. Lake Ray Hubbard communities and strong schools are driving demand.",content:`## Rockwall County Spotlight â May 2026 572 573Rockwall County is the undisputed leader in DFW price appreciation for May 2026, posting +9.2% year-over-year growth while most other counties are flat or declining. With median prices at $461,000 and strong demand from Dallas commuters, Rockwall represents a compelling opportunity for both buyers and investors. 574 575### Why Rockwall County is Leading the Market 576**Lake Ray Hubbard Access:** Waterfront and lake-view properties command premium prices and attract buyers from across the Metroplex seeking lifestyle amenities. 577 578**Strong School Districts:** Rockwall ISD consistently ranks among the top districts in Texas, driving family demand. 579 580**Dallas Proximity:** Just 25 miles from downtown Dallas via I-30, Rockwall offers suburban quality of life with urban accessibility. 581 582### Key Communities 583- **Rockwall (city):** Historic downtown with lakefront dining, homes from $350,000â$800,000 584- **Heath:** Premium lakefront living on Lake Ray Hubbard, with homes from $500,000â$1.5M+ 585- **Rowlett:** More affordable entry point at $320,000â$450,000 with strong rental demand 586- **Fate:** Fastest-growing city in the county, with new construction from $320,000â$550,000 587 588### Investment Potential 589With 78 average days on market (longer than the county average, suggesting motivated sellers) and +9.2% YoY appreciation, Rockwall County offers strong long-term value. Rental rates for 3BR homes range from $2,200â$3,200/month. 590 591*Data: Redfin, Zillow, Rockwall CAD, HAR/NTREIS. May 2026.*`,reportMonth:"2026-05",category:"county_spotlight",createdAt:new Date("2026-05-01")}];
591function jde({post:e,onClick:t}){const n=dh[e.category??"market_update"]??dh.market_update,r=new Date(e.createdAt).toLocaleDateString("en-US",{month:"long",year:"numeric"});return p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:133",className:"bg-white rounded-2xl shadow-sm border border-slate-100 hover:shadow-md hover:-translate-y-1 transition-all duration-200 cursor-pointer overflow-hidden group",onClick:t,children:[p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:137",className:"h-2 bg-gradient-to-r from-[#2563eb] to-[#1d4ed8]"}),p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:138",className:"p-6",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:139",className:"flex items-center gap-2 mb-3",children:[p.jsxs("span",{"data-loc":"client/src/components/MarketBlog.tsx:140",className:`inline-flex items-center gap-1 px-2 py-1 rounded-full text-xs font-semibold ${n.color}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[n.icon,n.label]}),p.jsxs("span",{"data-loc":"client/src/components/MarketBlog.tsx:144",className:"text-xs text-slate-400 flex items-center gap-1",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx(sc,{"data-loc":"client/src/components/MarketBlog.tsx:145",className:"w-3 h-3"}),r]})]}),p.jsx("h3",{"data-loc":"client/src/components/MarketBlog.tsx:149",className:"text-lg font-bold text-[#1a2744] mb-2 leading-snug group-hover:text-[#2563eb] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:e.title}),p.jsx("p",{"data-loc":"client/src/components/MarketBlog.tsx:152",className:"text-sm text-slate-600 leading-relaxed line-clamp-3 mb-4",style:{fontFamily:"'Inter', sans-serif"},children:e.summary}),p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:155",className:"flex items-center text-[#2563eb] text-sm font-semibold gap-1 group-hover:gap-2 transition-all",style:{fontFamily:"'DM Sans', sans-serif"},children:["Read More ",p.jsx(tC,{"data-loc":"client/src/components/MarketBlog.tsx:156",className:"w-4 h-4"})]})]})]})}function Ede({post:e,onClose:t}){const n=dh[e.category??"market_update"]??dh.market_update,r=new Date(e.createdAt).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),a=o=>o.split(` 592`).map(l=>l.startsWith("## ")?`<h2 class="text-2xl font-bold text-[#1a2744] mt-8 mb-3" style="font-family:'DM Sans',sans-serif">${l.slice(3)}</h2>`:l.startsWith("### ")?`<h3 class="text-lg font-bold text-[#1a2744] mt-6 mb-2" style="font-family:'DM Sans',sans-serif">${l.slice(4)}</h3>`:l.startsWith("- ")?`<li class="text-slate-700 mb-1 ml-4" style="font-family:'Inter',sans-serif">${l.slice(2).replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}</li>`:l.trim()===""?"<br/>":`<p class="text-slate-700 leading-relaxed mb-3" style="font-family:'Inter',sans-serif">${l.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>")}</p>`).join("");return p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:182",className:"fixed inset-0 z-50 flex items-start justify-center bg-black/60 backdrop-blur-sm p-4 overflow-y-auto",onClick:t,children:p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:183",className:"bg-white rounded-2xl shadow-2xl max-w-3xl w-full my-8",onClick:o=>o.stopPropagation(),children:[p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:184",className:"h-2 bg-gradient-to-r from-[#2563eb] to-[#1d4ed8] rounded-t-2xl"}),p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:185",className:"p-8",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:186",className:"flex items-start justify-between mb-4",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:187",className:"flex items-center gap-2",children:[p.jsxs("span",{"data-loc":"client/src/components/MarketBlog.tsx:188",className:`inline-flex items-center gap-1 px-2 py-1 rounded-full text-xs font-semibold ${n.color}`,children:[n.icon," ",n.label]}),p.jsxs("span",{"data-loc":"client/src/components/MarketBlog.tsx:191",className:"text-xs text-slate-400 flex items-center gap-1",children:[p.jsx(sc,{"data-loc":"client/src/components/MarketBlog.tsx:192",className:"w-3 h-3"})," ",r]})]}),p.jsx("button",{"data-loc":"client/src/components/MarketBlog.tsx:195",onClick:t,className:"text-slate-400 hover:text-slate-600 transition-colors",children:p.jsx(dc,{"data-loc":"client/src/components/MarketBlog.tsx:196",className:"w-5 h-5"})})]}),p.jsx("h2",{"data-loc":"client/src/components/MarketBlog.tsx:199",className:"text-3xl font-extrabold text-[#1a2744] mb-4 leading-tight",style:{fontFamily:"'DM Sans', sans-serif"},children:e.title}),p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:202",className:"prose prose-slate max-w-none",dangerouslySetInnerHTML:{__html:a(e.content)}}),p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:206",className:"mt-8 pt-6 border-t border-slate-100 flex items-center justify-between",children:[p.jsxs("p",{"data-loc":"client/src/components/MarketBlog.tsx:207",className:"text-sm text-slate-500",style:{fontFamily:"'Inter', sans-serif"},children:["Marcus Carter · Coldwell Banker · ",p.jsx("a",{"data-loc":"client/src/components/MarketBlog.tsx:208",href:"tel:4697136032",className:"text-[#2563eb]",children:"(469) 713-6032"})]}),p.jsx("button",{"data-loc":"client/src/components/MarketBlog.tsx:210",onClick:t,className:"bg-[#2563eb] text-white px-4 py-2 rounded-lg text-sm font-semibold hover:bg-[#1d4ed8] transition-colors",style:{fontFamily:"'DM Sans', sans-serif"},children:"Close"})]})]})]})})}function kde(){const[e,t]=O.useState(null),{data:n,isLoading:r}=bt.blog.getPosts.useQuery({limit:6}),a=n&&n.length>0?n:Ade;return p.jsxs("section",{"data-loc":"client/src/components/MarketBlog.tsx:232",id:"blog",className:"py-16 px-4 bg-slate-50",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:233",className:"max-w-6xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:234",className:"text-center mb-12",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:235",className:"inline-flex items-center gap-2 bg-[#2563eb]/10 text-[#2563eb] px-4 py-2 rounded-full text-sm font-semibold mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(za,{"data-loc":"client/src/components/MarketBlog.tsx:236",className:"w-4 h-4"}),"Auto-Updated Monthly"]}),p.jsx("h2",{"data-loc":"client/src/components/MarketBlog.tsx:239",className:"text-4xl font-extrabold text-[#1a2744] mb-3",style:{fontFamily:"'DM Sans', sans-serif"},children:"DFW Market Insights"}),p.jsx("p",{"data-loc":"client/src/components/MarketBlog.tsx:242",className:"text-slate-600 text-lg max-w-2xl mx-auto",style:{fontFamily:"'Inter', sans-serif"},children:"Expert analysis and neighborhood insights â automatically refreshed on the 1st of every month with the latest D
592FW real estate data."})]}),r?p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:248",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3].map(o=>p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:250",className:"bg-white rounded-2xl h-64 animate-pulse border border-slate-100"},o))}):p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:254",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map(o=>p.jsx(jde,{"data-loc":"client/src/components/MarketBlog.tsx:256",post:o,onClick:()=>t(o)},o.slug))}),p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:261",className:"mt-10 text-center",children:p.jsxs("div",{"data-loc":"client/src/components/MarketBlog.tsx:262",className:"inline-flex items-center gap-2 bg-white border border-slate-200 rounded-xl px-5 py-3 text-sm text-slate-600 shadow-sm",style:{fontFamily:"'Inter', sans-serif"},children:[p.jsx("div",{"data-loc":"client/src/components/MarketBlog.tsx:263",className:"w-2 h-2 bg-emerald-400 rounded-full animate-pulse"}),"Blog posts are automatically generated on the 1st of each month using live market data from Redfin, Zillow, and HAR/NTREIS."]})})]}),e&&p.jsx(Ede,{"data-loc":"client/src/components/MarketBlog.tsx:270",post:e,onClose:()=>t(null)})]})}function _de(e){const t=O.useRef(e);t.current=e;const n=O.useRef(null);return n.current||(n.current=function(...r){return t.current.apply(this,r)}),n.current}const Dde="PdXDjomUrMdZyuKHZjAEQd",Nde="https://forge.manus.ai",Rde=`${Nde}/v1/maps/proxy`;function Ide(){return new Promise(e=>{const t=document.createElement("script");t.src=`${Rde}/maps/api/js?key=${Dde}&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 Lde({className:e,initialCenter:t={lat:37.7749,lng:-122.4194},initialZoom:n=12,onMapReady:r}){const a=O.useRef(null),o=O.useRef(null),l=_de(async()=>{if(await Ide(),!a.current){console.error("Map container not found");return}o.current=new window.google.maps.Map(a.current,{zoom:n,center:t,mapTypeControl:!0,fullscreenControl:!0,zoomControl:!0,streetViewControl:!0,mapId:"DEMO_MAP_ID"}),r&&r(o.current)});return O.useEffect(()=>{l()},[l]),p.jsx("div",{"data-loc":"client/src/components/Map.tsx:153",ref:a,className:Ee("w-full h-[500px]",e)})}const sw={"All Counties":{center:{lat:32.8998,lng:-97.0403},zoom:10},Collin:{center:{lat:33.12,lng:-96.7},zoom:11},Dallas:{center:{lat:32.7767,lng:-96.797},zoom:11},Denton:{center:{lat:33.15,lng:-97.1},zoom:11},Tarrant:{center:{lat:32.7555,lng:-97.3308},zoom:11},Ellis:{center:{lat:32.35,lng:-96.85},zoom:11},Johnson:{center:{lat:32.37,lng:-97.36},zoom:11},Kaufman:{center:{lat:32.59,lng:-96.3},zoom:11},Parker:{center:{lat:32.78,lng:-97.75},zoom:11},Rockwall:{center:{lat:32.92,lng:-96.46},zoom:12},Hood:{center:{lat:32.44,lng:-97.77},zoom:12},Hunt:{center:{lat:33.12,lng:-96.08},zoom:11},Wise:{center:{lat:33.2,lng:-97.65},zoom:11},Grayson:{center:{lat:33.63,lng:-96.68},zoom:11},Somervell:{center:{lat:32.22,lng:-97.77},zoom:12}},zde={lat:32.8998,lng:-97.0403},Uu={"Hot Seller's Market":{bg:"bg-red-500",border:"border-red-600",label:"Hot Seller's",mapColor:"#ef4444"},"Seller's Market":{bg:"bg-orange-500",border:"border-orange-600",label:"Seller's",mapColor:"#f97316"},"Balanced Market":{bg:"bg-yellow-400",border:"border-yellow-500",label:"Balanced",mapColor:"#facc15"},"Buyer-Friendly":{bg:"bg-blue-400",border:"border-blue-500",label:"Buyer-Friendly",mapColor:"#60a5fa"},"Buyer's Market":{bg:"bg-blue-600",border:"border-blue-700",label:"Buyer's",mapColor:"#2563eb"}};function lw(e){return Uu[e]??Uu["Balanced Market"]}const Bde={75002:{lat:33.1137,lng:-96.6252},75009:{lat:33.154,lng:-96.882},75013:{lat:33.1026,lng:-96.6726},75023:{lat:33.0459,lng:-96.7502},75024:{lat:33.0736,lng:-96.8226},75025:{lat:33.0958,lng:-96.7899},75034:{lat:33.1504,lng:-96.8226},75035:{lat:33.184,lng:-96.8226},75070:{lat:33.1971,lng:-96.6726},75071:{lat:33.2304,lng:-96.6726},75074:{lat:33.0237,lng:-96.6952},75075:{lat:33.007,lng:-96.7402},75078:{lat:33.2004,lng:-96.8226},75080:{lat:32.9737,lng:-96.7302},75082:{lat:33.0037,lng:-96.6702},75093:{lat:33.0537,lng:-96.8026},75094:{lat:33.0237,lng:-96.6452},75098:{lat:33.0137,lng:-96.6152},75407:{lat:33.1804,lng:-96.5026},75409:{lat:33.3504,lng:-96.5526},75454:{lat:33.2837,lng:-96.5726},75166:{lat:33.0504,lng:-96.4526},75001:{lat:32.9537,lng:-96.8326},75006:{lat:32.9737,lng:-96.8926},75019:{lat:32.9537,lng:-96.9826},75038:{lat:32.8637,lng:-96.9826},75039:{lat:32.8737,lng:-96.9526},75040:{lat:32.9137,lng:-96.6526},75041:{lat:32.8737,lng:-96.6526},75042:{lat:32.9037,lng:-96.6826},75043:{lat:32.8437,lng:-96.6226},75044:{lat:32.9537,lng:-96.6726},75048:{lat:32.9237,lng:-96.5726},75050:{lat:32.7537,lng:-97.0126},75051:{lat:32.7337,lng:-97.0026},75052:{lat:32.7037,lng:-97.0226},75060:{lat:32.8137,lng:-96.9626},75061:{lat:32.8337,lng:-96.9426},75062:{lat:32.8537,lng:-96.9726},75063:{lat:32.9137,lng:-96.9726},75081:{lat:32.9437,lng:-96.7202},75088:{lat:32.9137,lng:-96.5526},75089:{lat:32.9337,lng:-96.5226},75104:{lat:32.5837,lng:-96.9226},75115:{lat:32.6337,lng:-96.9526},75116:{lat:32.6537,lng:-96.9326},75134:{lat:32.6137,lng:-96.8726},75137:{lat:32.6237,lng:-96.9026},75141:{lat:32.6437,lng:-96.8426},75146:{lat:32.5937,lng:-96.8926},75149:{lat:32.7937,lng:-96.6326},75150:{lat:32.8137,lng:-96.6526},75154:{lat:32.5237,lng:-96.8026},75159:{lat:32.5537,lng:-96.7526},75172:{lat:32.5337,lng:-96.7226},75180:{lat:32.7637,lng:-96.6026},75181:{lat:32.7437,lng:-96.5726},75182:{lat:32.7237,lng:-96.5426},75201:{lat:32.7837,lng:-96.7926},75202:{lat:32.7737,lng:-96.7926},75203:{lat:32.7537,lng:-96.8026},75204:{lat:32.7937,lng:-96.7826},75205:{lat:32.8237,lng:-96.7926},75206:{lat:32.8337,lng:-96.7726},75207:{lat:32.7837,lng:-96.8226},75208:{lat:32.7537,lng:-96.8326},75209:{lat:32.8437,lng:-96.8326},75210:{lat:32.7737,lng:-96.7526},75211:{lat:32.7337,lng:-96.8726},75212:{lat:32.7837,lng:-96.8526},75214:{lat:32.8237,lng:-96.7526},75215:{lat:32.7537,lng:-96.7526},75216:{lat:32.7137,lng:-96.7826},75217:{lat:32.7237,lng:-96.7226},75218:{lat:32.8537,lng:-96.7126},75219:{lat:32.8037,lng:-96.8126},75220:{lat:32.8637,lng:-96.8626},75223:{lat:32.8037,lng:-96.7626},75224:{lat:32.7237,lng:-96.8126},75225:{lat:32.8637,lng:-96.7826},75226:{lat:32.7837,lng:-96.7726},75227:{lat:32.7637,lng:-96.7026},75228:{lat:32.8037,lng:-96.6826},75229:{lat:32.8837,lng:-96.8726},75230:{lat:32.9037,lng:-96.7826},75231:{lat:32.8737,lng:-96.7526},75232:{lat:32.6837,lng:-96.8226},75233:{lat:32.7037,lng:-96.8526},75234:{lat:32.9237,lng:-96.8926},75235:{lat:32.8237,lng:-96.8426},75236:{lat:32.6937,lng:-96.9026},75237:{lat:32.6637,lng:-96.8626},75238:{lat:32.8837,lng:-96.7226},75240:{lat:32.9337,lng:-96.7826},75241:{lat:32.6737,lng:-96.7726},75243:{lat:32.9137,lng:-96.7426},75244:{lat:32.9337,lng:-96.8326},75246:{lat:32.7937,lng:-96.7726},75247:{lat:32.8137,lng:-96.8726},75248:{lat:32.9737,lng:-96.8026},75249:{lat:32.6537,lng:-96.9726},75251:{lat:32.9137,lng:-96.8026},75252:{lat:33.0037,lng:-96.8026},75253:{lat:32.7037,lng:-96.6626},75254:{lat:32.9537,lng:-96.8226},75287:{lat:33.0237,lng:-96.8326},75007:{lat:33.0037,lng:-96.9826},75010:{lat:33.0237,lng:-96.9426},75022:{lat:33.0537,lng:-97.1326},75028:{lat:33.0037,lng:-97.1026},75056:{lat:33.0737,lng:-96.9726},75057:{lat:33.0537,lng:-97.0226},75065:{lat:33.0937,lng:-97.0726},75067:{lat:33.1337,lng:-97.0826},75068:{lat:33.1037,lng:-97.0226},75077:{lat:33.1537,lng:-97.1026},76201:{lat:33.2137,lng:-97.1326},76205:{lat:33.2037,lng:-97.1026},76207:{lat:33.2337,lng:-97.1526},76208:{lat:33.2037,lng:-97.0726},76209:{lat:33.2337,lng:-97.1226},76210:{lat:33.1737,lng:-97.0926},76226:{lat:33.1237,lng:-97.1426},76227:{lat:33.2537,lng:-96.9826},76234:{lat:33.2137,lng:-97.4826},76247:{lat:33.2037,lng:-97.2526},76249:{lat:33.3037,lng:-97.2226},76258:{lat:33.3537,lng:-97.0026},76259:{lat:33.2737,lng:-97.0426},76262:{lat:33.0937,lng:-97.1726},76266:{lat:33.3037,lng:-97.0826},76001:{lat:32.6437,lng:-97.1126},76002:{lat:32.6237,lng:-97.0826},76006:{lat:32.7837,lng:-97.0526},76010:{lat:32.7237,lng:-97.0826},76011:{lat:32.7437,lng:-97.0926},76012:{lat:32.7637,lng:-97.1226},76013:{lat:32.7337,lng:-97.1526},76014:{lat:32.7037,lng:-97.0626},76015:{lat:32.6937,lng:-97.1026},76016:{lat:32.7137,lng:-97.1526},76017:{lat:32.6637,lng:-97.1326},76018:{lat:32.6737,lng:-97.0826},76020:{lat:32.9537,lng:-97.3526},76021:{lat:32.8737,lng:-97.1326},76022:{lat:32.8537,lng:-97.1526},76034:{lat:32.9137,lng:-97.1526},76036:{lat:32.5637,lng:-97.2826},76039:{lat:32.8637,lng:-97.0726},76040:{lat:32.8337,lng:-97.0226},76051:{lat:32.9337,lng:-97.0826},76052:{lat:32.9937,lng:-97.3026},76053:{lat:32.8237,lng:-97.0526},76054:{lat:32.8637,lng:-97.1026},76060:{lat:32.6337,lng:-97.0426},76063:{lat:32.6037,lng:-97.1626},76065:{lat:32.5437,lng:-97.0026},76092:{lat:32.9437,lng:-97.1426},76095:{lat:32.8937,lng:-97.1226},76101:{lat:32.7537,lng:-97.3326},76102:{lat:32.7537,lng:-97.3326},76103:{lat:32.7437,lng:-97.2826},76104:{lat:32.7237,lng:-97.3226},76105:{lat:32.7337,lng:-97.2826},76106:{lat:32.7937,lng:-97.3526},76107:{lat:32.7437,lng:-97.3726},76108:{lat:32.7537,lng:-97.4326},76109:{lat:32.7037,lng:-97.3726},76110:{lat:32.7037,lng:-97.3326},76111:{lat:32.7737,lng:-97.3026},76112:{lat:32.7537,lng:-97.2526},76114:{lat:32.7837,lng:-97.3926},76115:{lat:32.6937,lng:-97.3326},76116:{lat:32.7237,lng:-97.4026},76117:{lat:32.8037,lng:-97.2926},76118:{lat:32.8037,lng:-97.2526},76119:{lat:32.7037,lng:-97.2826},76120:{lat:32.7837,lng:-97.2226},76123:{lat:32.6437,lng:-97.3726},76126:{lat:32.6637,lng:-97.4726},76127:{lat:32.7737,lng:-97.4426},76131:{lat:32.8637,lng:-97.3526},76132:{lat:32.6937,lng:-97.4026},76133:{lat:32.6637,lng:-97.3826},76134:{lat:32.6537,lng:-97.3526},76135:{lat:32.8237,lng:-97.4326},76137:{lat:32.8837,lng:-97.2926},76140:{lat:32.6137,lng:-97.2826},76148:{lat:32.8537,lng:-97.2726},76155:{lat:32.8237,lng:-97.0526},76164:{lat:32.7937,lng:-97.3726},76177:{lat:32.9337,lng:-97.2826},76179:{lat:32.9037,lng:-97.3826},76180:{lat:32.8437,lng:-97.2226},76182:{lat:32.9037,lng:-97.2226},76244:{lat:32.9637,lng:-97.2526},76248:{lat:32.9337,lng:-97.2226},75101:{lat:32.2737,lng:-96.6726},75119:{lat:32.3237,lng:-96.8426},75125:{lat:32.4537,lng:-96.6726},75152:{lat:32.4037,lng:-96.7626},75165:{lat:32.3837,lng:-96.8626},75167:{lat:32.3037,lng:-96.9226},76041:{lat:32.2037,lng:-96.4726},76064:{lat:32.4537,lng:-97.0026},76084:{lat:32.4037,lng:-97.0726}};function qde(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(0)}K`:`$${e}`}function $de(){const e=O.useRef(null),t=O.useRef([]),[n,r]=O.useState(null),[a,o]=O.useState("All"),[l,c]=O.useState("All Counties"),[d,f]=O.useState(!1),y=O.useCallback(()=>{t.current.forEach(w=>w.map=null),t.current=[]},[]),m=O.useCallback((w,M,T)=>
592{y(),ch.forEach(E=>{const P=Bde[E.zip];if(!P||M!=="All"&&E.marketType!==M||T!=="All Counties"&&E.county!==T)return;const k=lw(E.marketType),A=document.createElement("div");A.style.cssText=` 593 width: 14px; height: 14px; 594 border-radius: 50%; 595 background: ${k.mapColor}; 596 border: 2px solid rgba(255,255,255,0.8); 597 cursor: pointer; 598 box-shadow: 0 1px 4px rgba(0,0,0,0.4); 599 transition: transform 0.15s; 600 `,A.addEventListener("mouseenter",()=>A.style.transform="scale(1.6)"),A.addEventListener("mouseleave",()=>A.style.transform="scale(1)");const D=new google.maps.marker.AdvancedMarkerElement({map:w,position:P,content:A,title:`${E.zip} â ${E.city}`});D.addListener("click",()=>{r({...E,...P}),w.panTo(P)}),t.current.push(D)})},[y]),g=O.useCallback(w=>{e.current=w,f(!0),m(w,"All","All Counties")},[m]),b=w=>{o(w),e.current&&m(e.current,w,l),r(null)},C=w=>{if(c(w),e.current){m(e.current,a,w);const M=sw[w]??sw["All Counties"];e.current.panTo(M.center),e.current.setZoom(M.zoom)}r(null)},x=["All",...Object.keys(Uu)];return p.jsx("section",{"data-loc":"client/src/components/MarketHeatmap.tsx:264",id:"heatmap",className:"py-16 bg-[#0a1628]",children:p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:265",className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:267",className:"text-center mb-10",children:[p.jsx("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:268",className:"inline-block bg-blue-500/20 text-blue-300 text-xs font-semibold tracking-widest uppercase px-3 py-1 rounded-full mb-3",children:"Interactive Map"}),p.jsx("h2",{"data-loc":"client/src/components/MarketHeatmap.tsx:271",className:"text-3xl md:text-4xl font-bold text-white mb-3",children:"DFW Market Heatmap"}),p.jsx("p",{"data-loc":"client/src/components/MarketHeatmap.tsx:274",className:"text-slate-400 max-w-2xl mx-auto text-sm",children:"Click any dot to see neighborhood details. Color indicates current market temperature across all 284 DFW ZIP codes."})]}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:280",className:"flex justify-center mb-4",children:p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:281",className:"flex items-center gap-3 bg-[#0f1f3a] border border-slate-700 rounded-xl px-4 py-2.5",children:[p.jsx("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:282",className:"text-slate-400 text-xs font-semibold uppercase tracking-wide whitespace-nowrap",children:"County"}),p.jsx("select",{"data-loc":"client/src/components/MarketHeatmap.tsx:283",value:l,onChange:w=>C(w.target.value),className:"bg-transparent text-white text-sm font-semibold focus:outline-none cursor-pointer",children:Object.keys(sw).map(w=>p.jsx("option",{"data-loc":"client/src/components/MarketHeatmap.tsx:289",value:w,className:"bg-[#0f1f3a] text-white",children:w},w))})]})}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:296",className:"flex flex-wrap gap-2 justify-center mb-6",children:x.map(w=>{const M=w==="All"?null:lw(w),T=a===w;return p.jsx("button",{"data-loc":"client/src/components/MarketHeatmap.tsx:301",onClick:()=>b(w),className:`px-3 py-1.5 rounded-full text-xs font-semibold border transition-all ${T?"ring-2 ring-white ring-offset-1 ring-offset-[#0a1628] scale-105":"opacity-70 hover:opacity-100"} ${w==="All"?"bg-slate-700 border-slate-500 text-white":`${M.bg} ${M.border} text-white`}`,children:w==="All"?"All Markets":M.label},w)})}),p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:321",className:"grid grid-cols-1 lg:grid-cols-3 gap-4",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:323",className:"lg:col-span-2 rounded-2xl overflow-hidden border border-slate-700 shadow-2xl",children:p.jsx(Lde,{"data-loc":"client/src/components/MarketHeatmap.tsx:324",initialCenter:zde,initialZoom:10,onMapReady:g,className:"w-full h-[500px]"})}),p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:333",className:"flex flex-col gap-4",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:335",className:"bg-[#0f1f3a] border border-slate-700 rounded-2xl p-5",children:[p.jsxs("h3",{"data-loc":"client/src/components/MarketHeatmap.tsx:336",className:"text-white font-semibold text-sm mb-4 flex items-center gap-2",children:[p.jsx("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:337",className:"w-2 h-2 rounded-full bg-blue-400 inline-block"}),"Market Legend"]}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:340",className:"space-y-2.5",children:Object.entries(Uu).map(([w,M])=>p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:342",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:343",className:"w-3.5 h-3.5 rounded-full flex-shrink-0 border border-white/30",style:{background:M.mapColor}}),p.jsx("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:347",className:"text-slate-300 text-xs",children:w})]},w))}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:351",className:"mt-4 pt-4 border-t border-slate-700",children:p.jsx("p",{"data-loc":"client/src/components/MarketHeatmap.tsx:352",className:"text-slate-500 text-xs",children:d?`Showing ${t.current.length} ZIP codes`:"Loading map..."})})]}),n?p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:362",className:"bg-[#0f1f3a] border border-slate-700 rounded-2xl p-5 flex-1",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:363",className:"flex items-start justify-between mb-4",children:[p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:364",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:365",className:"text-2xl font-bold text-white",children:n.zip}),p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:366",className:"text-blue-300 font-medium text-sm",children:[n.city,n.altCities.length>0&&p.jsxs("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:369",className:"text-slate-400",children:[" / ",n.altCities.join(" / ")]})]}),p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:372",className:"text-slate-500 text-xs mt-0.5",children:[n.county," County"]})]}),p.jsx("span",{"data-loc":"client/src/components/MarketHeatmap.tsx:374",className:`text-xs font-semibold px-2.5 py-1 rounded-full text-white ${lw(n.marketType).bg}`,children:n.marketType})]}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:380",className:"grid grid-cols-2 gap-3",children:[{label:"Median Price",value:qde(n.medianPrice)},{label:"Days on Market",value:`${n.daysOnMarket} days`},{label:"Price / Sq Ft",value:`$${n.pricePerSqft}`},{label:"YoY Change",value:`${n.yoyChange>0?"+":""}${n.yoyChange}%`},{label:"Compete Score",value:`${n.competeScore}/100`},{label:"Sale-to-List",value:`${n.saleToList}%`}].map(w=>p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:389",className:"bg-[#162035] rounded-xl p-3",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:390",className:"text-slate-400 text-xs mb-1",children:w.label}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:391",className:`font-bold text-sm ${w.label==="YoY Change"?n.yoyChange>=0?"text-emerald-400":"text-red-400":"text-white"}`,children:w.value})]},w.label))}),p.jsx("button",{"data-loc":"client/src/components/MarketHeatmap.tsx:405",onClick:()=>r(null),className:"mt-4 w-full text-xs text-slate-500 hover:text-slate-300 transition-colors",children:"â Clear selection"})]}):p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:413",className:"bg-[#0f1f3a] border border-slate-700 rounded-2xl p-5 flex-1 flex flex-col items-center justify-center text-center",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:414",className:"text-4xl mb-3",children:"ð"}),p.jsx("p",{"data-loc":"client/src/components/MarketHeatmap.tsx:415",className:"text-slate-400 text-sm",children:"Click any dot on the map to view neighborhood details"}),p.jsx("p",{"data-loc":"client/src/components/MarketHeatmap.tsx:416",className:"text-slate-600 text-xs mt-2",children:"284 ZIP codes across 14 DFW counties"})]})]})]}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:423",className:"grid grid-cols-2 md:grid-cols-5 ga
600p-3 mt-6",children:Object.entries(Uu).map(([w,M])=>{const T=ch.filter(j=>j.marketType===w).length;return p.jsxs("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:427",className:"bg-[#0f1f3a] border border-slate-700 rounded-xl p-3 text-center",children:[p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:428",className:"w-3 h-3 rounded-full mx-auto mb-1.5",style:{background:M.mapColor}}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:432",className:"text-white font-bold text-lg",children:T}),p.jsx("div",{"data-loc":"client/src/components/MarketHeatmap.tsx:433",className:"text-slate-400 text-xs",children:M.label})]},w)})})]})})}const ul=[{id:"1",address:"4521 Mockingbird Lane",city:"Dallas",zip:"75205",price:125e4,beds:4,baths:3,sqft:3850,daysOnMarket:12,imageUrl:"https://images.unsplash.com/photo-1570129477492-45a003537e1f?w=500&h=350&fit=crop",status:"sold",soldDate:"Apr 2026"},{id:"2",address:"7834 Preston Road",city:"Plano",zip:"75024",price:895e3,beds:3,baths:2.5,sqft:2650,daysOnMarket:8,imageUrl:"https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=500&h=350&fit=crop",status:"active"},{id:"3",address:"2156 Westlake Drive",city:"Fort Worth",zip:"76109",price:725e3,beds:3,baths:2,sqft:2200,daysOnMarket:15,imageUrl:"https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=500&h=350&fit=crop",status:"active"},{id:"4",address:"9201 Coit Road",city:"Plano",zip:"75025",price:11e5,beds:4,baths:3,sqft:3200,daysOnMarket:5,imageUrl:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=500&h=350&fit=crop",status:"sold",soldDate:"Mar 2026"},{id:"5",address:"5432 Lovers Lane",city:"Dallas",zip:"75209",price:145e4,beds:5,baths:4,sqft:4100,daysOnMarket:18,imageUrl:"https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=500&h=350&fit=crop",status:"active"}];function Fde(){const[e,t]=O.useState(0),n=()=>{t(o=>(o+1)%ul.length)},r=()=>{t(o=>(o-1+ul.length)%ul.length)},a=ul[e];return p.jsx("section",{"data-loc":"client/src/components/FeaturedListings.tsx:106",id:"listings",className:"py-20 bg-gradient-to-br from-[#f8fafc] to-[#e8f0f8]",children:p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:107",className:"container",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:109",className:"mb-12",children:[p.jsx("p",{"data-loc":"client/src/components/FeaturedListings.tsx:110",className:"section-label mb-2",children:"Recent Activity"}),p.jsx("h2",{"data-loc":"client/src/components/FeaturedListings.tsx:111",className:"text-3xl font-extrabold text-[#1a2744] mb-4",style:{fontFamily:"'DM Sans', sans-serif"},children:"Featured Listings"}),p.jsx("p",{"data-loc":"client/src/components/FeaturedListings.tsx:117",className:"text-slate-600 max-w-3xl leading-relaxed",style:{fontFamily:"'Inter', sans-serif"},children:"Explore recent sales and active listings in the DFW market. These properties showcase the diversity of opportunities across our region."})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:123",className:"relative bg-white rounded-3xl shadow-lg overflow-hidden",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:125",className:"relative h-96 overflow-hidden bg-slate-200",children:[p.jsx("img",{"data-loc":"client/src/components/FeaturedListings.tsx:126",src:a.imageUrl,alt:a.address,className:"w-full h-full object-cover transition-all duration-500"}),p.jsx("div",{"data-loc":"client/src/components/FeaturedListings.tsx:132",className:"absolute top-4 right-4",children:p.jsx("span",{"data-loc":"client/src/components/FeaturedListings.tsx:133",className:`px-4 py-2 rounded-full text-white text-sm font-bold ${a.status==="sold"?"bg-emerald-500":"bg-blue-500"}`,style:{fontFamily:"'DM Sans', sans-serif"},children:a.status==="sold"?`Sold - ${a.soldDate}`:"Active"})}),p.jsx("div",{"data-loc":"client/src/components/FeaturedListings.tsx:143",className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:147",className:"p-8",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:149",className:"mb-4",children:[p.jsx("h3",{"data-loc":"client/src/components/FeaturedListings.tsx:150",className:"text-2xl font-extrabold text-[#1a2744] mb-1",style:{fontFamily:"'DM Sans', sans-serif"},children:a.address}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:156",className:"flex items-center gap-1 text-slate-600",children:[p.jsx(cc,{"data-loc":"client/src/components/FeaturedListings.tsx:157",className:"w-4 h-4"}),p.jsxs("span",{"data-loc":"client/src/components/FeaturedListings.tsx:158",className:"text-sm",children:[a.city,", TX ",a.zip]})]})]}),p.jsx("div",{"data-loc":"client/src/components/FeaturedListings.tsx:163",className:"mb-6 pb-6 border-b border-slate-200",children:p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:164",className:"flex items-baseline gap-2",children:[p.jsxs("span",{"data-loc":"client/src/components/FeaturedListings.tsx:165",className:"text-4xl font-extrabold text-[#2563eb]",style:{fontFamily:"'DM Sans', sans-serif"},children:["$",(a.price/1e6).toFixed(2),"M"]}),p.jsxs("span",{"data-loc":"client/src/components/FeaturedListings.tsx:168",className:"text-slate-600 text-sm",children:["$",(a.price/a.sqft).toFixed(0),"/sqft"]})]})}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:173",className:"grid grid-cols-4 gap-4 mb-6",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:174",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:175",className:"flex items-center gap-2 mb-1",children:[p.jsx(Rn,{"data-loc":"client/src/components/FeaturedListings.tsx:176",className:"w-4 h-4 text-[#2563eb]"}),p.jsx("span",{"data-loc":"client/src/components/FeaturedListings.tsx:177",className:"text-xs text-slate-600 font-medium",children:"Beds"})]}),p.jsx("p",{"data-loc":"client/src/components/FeaturedListings.tsx:179",className:"text-lg font-bold text-[#1a2744]",children:a.beds})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:181",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:182",className:"flex items-center gap-2 mb-1",children:[p.jsx(Rn,{"data-loc":"client/src/components/FeaturedListings.tsx:183",className:"w-4 h-4 text-[#2563eb]"}),p.jsx("span",{"data-loc":"client/src/components/FeaturedListings.tsx:184",className:"text-xs text-slate-600 font-medium",children:"Baths"})]}),p.jsx("p",{"data-loc":"client/src/components/FeaturedListings.tsx:186",className:"text-lg font-bold text-[#1a2744]",children:a.baths})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:188",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:189",className:"flex items-center gap-2 mb-1",children:[p.jsx(Xa,{"data-loc":"client/src/components/FeaturedListings.tsx:190",className:"w-4 h-4 text-[#2563eb]"}),p.jsx("span",{"data-loc":"client/src/components/FeaturedListings.tsx:191",className:"text-xs text-slate-600 font-medium",children:"Sqft"})]}),p.jsxs("p",{"data-loc":"client/src/components/FeaturedListings.tsx:193",className:"text-lg font-bold text-[#1a2744]",children:[(a.sqft/1e3).toFixed(1),"K"]})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:195",children:[p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:196",className:"flex items-center gap-2 mb-1",children:[p.jsx(Yw,{"data-loc":"client/src/components/FeaturedListings.tsx:197",className:"w-4 h-4 text-[#2563eb]"}),p.jsx("span",{"data-loc":"client/src/components/FeaturedListings.tsx:198",className:"text-xs text-slate-600 font-medium",children:"Days"})]}),p.jsx("p",{"data-loc":"client/src/components/FeaturedListings.tsx:200",className:"text-lg font-bold text-[#1a2744]",children:a.daysOnMarket})]})]}),p.jsx("a",{"data-loc":"client/src/components/FeaturedListings.tsx:205",href:"https://marcuscartercb.com/contact-me",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-6 py-3 bg-[#2563eb] hover:bg-[#1d4ed8] text-white font-bold rounded-xl transition-all duration-200 hover:shadow-lg",style:{fontFamily:"'DM Sans', sans-serif"},children:"Inquire About This Property"})]}),p.jsxs("div",{"data-loc":"client/src/components/FeaturedListings.tsx:217",className:"absolute inset-0 flex items-center justify-between px-4 pointer-events-none",children:[p.jsx("button",{"data-loc":"client/src/components/FeaturedListings.tsx:218",onClick:r,className:"pointer-events-auto w-12 h-12 rounded-full bg-white/80 hover:bg-white flex items-center justify-center transition-all shadow-lg hover:shadow-xl","aria-label":"Previous listing",children:p.jsx(fG,{"data-loc":"client/src/components/FeaturedListings.tsx:223",className:"w-6 h-6 text-[#1a2744]"})}),p.jsx("button",{"data-loc":"client/src/components/FeaturedListings.tsx:225",onClick:n,className:"pointer-events-auto w-12 h-12 rounded-full bg-white/80 hover:bg-white flex items-center justify-center transition-all shadow-lg hover:shadow-xl","aria-label":"Next listing",children:p.jsx(tC,{"data-loc":"client/src/components/FeaturedListings.tsx:230",className:"w-6 h-6 text-[#1a2744]"})})]}),p.jsx("div",{"data-loc":"client/src/components/FeaturedListings.tsx:235",className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2",children:ul.map((o,l)=>p.jsx("button",{"data-loc":"client/src/components/FeaturedListings.tsx:237",onClick:()=>t(l),className:`w-2 h-2 rounded-full transition-all ${l===e?"bg-white w-8":"bg-white/50 hover:bg-white/70"}`,"aria-label":`Go to listing ${l+1}`},l))})]}),p.jsx("div",{"data-loc":"client/src/components/FeaturedListings.tsx:250",className:"mt-6 text-center",children:p.jsxs("p",{"data-loc":"client/src/components/FeaturedListings.tsx:251",className:"text-slate-600 text-sm",style:{fontFamily:"'Inter', sans-serif"},children:["Listing ",e+1," of ",ul.length]})})]})})}function Hde(){return p.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:24",className:"min-h-screen bg-[#f8fafc]",children:[p.jsx(oK,{"data-loc":"client/src/pages/Home.tsx:25"}),p.jsx(yK,{"data-loc":"client/src/pages/Home.tsx:26"}),p.jsx(wue,{"data-loc":"client/src/pages/Home.tsx:27"}),p.jsx(Mue,{"data-loc":"client/src/pages/Home.tsx:28"}),p.jsx(Pue,{"data-loc":"client/src/pages/Home.tsx:29"}),p.jsx(zue,{"data-loc":"client/src/pages/Home.tsx:30"}),p.jsx(Bue,{"data-loc":"client/src/pages/Home.tsx:31"}),p.jsx(lde,{"data-loc":"client/src/pages/Home.tsx:32"}),p.jsx(ude,{"data-loc":"client/src/pages/Home.tsx:33"}),p.jsx(vde,{"data-loc":"client/src/pages/Home.tsx:34"}),p.jsx($de,{"data-loc":"client/src/pages/Home.tsx:35"}),p.jsx(kde,{"data-loc":"client/src/pages/Home.tsx:36"}),p.jsx(xde,{"data-loc":"client/src/pages/Home.tsx:37"}),p.jsx(wde,{"data-loc":"client/src/pages/Home.tsx:38"}),p.jsx(Fde,{"data-loc":"client/src/pages/Home.tsx:39"}),p.jsx(Pde,{"data-loc":"client/src/pages/Home.tsx:40"})]})}const Ude=eC("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 x_({className:e,variant:t,asChild:n=!1,...r}){const a=n?LS:"span";return p.jsx(a,{"data-loc":"client/src/components/ui/badge.tsx:38","data-slot":"badge",className:Ee(Ude({variant:t}),e),...r})}function Wde({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/table.tsx:7","data-slot":"table-container",className:"relative w-full overflow-x-auto",children:p.jsx("table",{"data-loc":"client/src/components/ui/table.tsx:11","data-slot":"table",className:Ee("w-full caption-bottom text-sm",e),...t})})}function Gde({className:e,...t}){return p.jsx("thead",{"data-loc":"client/src/components/ui/table.tsx:22","data-slot":"table-header",className:Ee("[&_tr]:border-b",e),...t})}function Kde({className:e,...t}){return p.jsx("tbody",{"data-loc":"client/src/components/ui/table.tsx:32","data-slot":"table-body",className:Ee("[&_tr:last-child]:border-0",e),...t})}function Wp({className:e,...t}){return p.jsx("tr",{"data-loc":"client/src/components/ui/table.tsx:55","data-slot":"table-row",className:Ee("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function Ao({className:e,...t}){return p.jsx("th",{"data-loc":"client/src/components/ui/table.tsx:68","data-slot":"table-head",className:Ee("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function Ra({className:e,...t}){return p.jsx("td",{"data-loc":"client/src/components/ui/table.tsx:81","data-slot":"table-cell",className:Ee("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}var cw=0;function u3(){O.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??b_()),document.body.insertAdjacentElement("beforeend",e[1]??b_()),cw++,()=>{cw===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),cw--}},[])}function b_(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,912 bytes, line 600
600style.position="fixed",e.style.pointerEvents="none",e}var uw="focusScope.autoFocusOnMount",dw="focusScope.autoFocusOnUnmount",w_={bubbles:!1,cancelable:!0},Yde="FocusScope",yy=O.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[c,d]=O.useState(null),f=Rr(a),y=Rr(o),m=O.useRef(null),g=Ke(t,x=>d(x)),b=O.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;O.useEffect(()=>{if(r){let x=function(j){if(b.paused||!c)return;const E=j.target;c.contains(E)?m.current=E:_i(m.current,{select:!0})},w=function(j){if(b.paused||!c)return;const E=j.relatedTarget;E!==null&&(c.contains(E)||_i(m.current,{select:!0}))},M=function(j){if(document.activeElement===document.body)for(const P of j)P.removedNodes.length>0&&_i(c)};document.addEventListener("focusin",x),document.addEventListener("focusout",w);const T=new MutationObserver(M);return c&&T.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",w),T.disconnect()}}},[r,c,b.paused]),O.useEffect(()=>{if(c){C_.add(b);const x=document.activeElement;if(!c.contains(x)){const M=new CustomEvent(uw,w_);c.addEventListener(uw,f),c.dispatchEvent(M),M.defaultPrevented||(Vde(efe(P8(c)),{select:!0}),document.activeElement===x&&_i(c))}return()=>{c.removeEventListener(uw,f),setTimeout(()=>{const M=new CustomEvent(dw,w_);c.addEventListener(dw,y),c.dispatchEvent(M),M.defaultPrevented||_i(x??document.body,{select:!0}),c.removeEventListener(dw,y),C_.remove(b)},0)}}},[c,f,y,b]);const C=O.useCallback(x=>{if(!n&&!r||b.paused)return;const w=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,M=document.activeElement;if(w&&M){const T=x.currentTarget,[j,E]=Zde(T);j&&E?!x.shiftKey&&M===E?(x.preventDefault(),n&&_i(j,{select:!0})):x.shiftKey&&M===j&&(x.preventDefault(),n&&_i(E,{select:!0})):M===T&&x.preventDefault()}},[n,r,b.paused]);return p.jsx(De.div,{tabIndex:-1,...l,ref:g,onKeyDown:C})});yy.displayName=Yde;function Vde(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(_i(r,{select:t}),document.activeElement!==n)return}function Zde(e){const t=P8(e),n=S_(t,e),r=S_(t.reverse(),e);return[n,r]}function P8(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function S_(e,t){for(const n of e)if(!Qde(n,{upTo:t}))return n}function Qde(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 Xde(e){return e instanceof HTMLInputElement&&"select"in e}function _i(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Xde(e)&&t&&e.select()}}var C_=Jde();function Jde(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=M_(e,t),e.unshift(t)},remove(t){e=M_(e,t),e[0]?.resume()}}}function M_(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function efe(e){return e.filter(t=>t.tagName!=="A")}var tfe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dl=new WeakMap,Gp=new WeakMap,Kp={},fw=0,A8=function(e){return e&&(e.host||A8(e.parentNode))},nfe=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=A8(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},rfe=function(e,t,n,r){var a=nfe(t,Array.isArray(e)?e:[e]);Kp[n]||(Kp[n]=new WeakMap);var o=Kp[n],l=[],c=new Set,d=new Set(a),f=function(m){!m||c.has(m)||(c.add(m),f(m.parentNode))};a.forEach(f);var y=function(m){!m||d.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))y(g);else try{var b=g.getAttribute(r),C=b!==null&&b!=="false",x=(dl.get(g)||0)+1,w=(o.get(g)||0)+1;dl.set(g,x),o.set(g,w),l.push(g),x===1&&C&&Gp.set(g,!0),w===1&&g.setAttribute(n,"true"),C||g.setAttribute(r,"true")}catch(M){console.error("aria-hidden: cannot operate on ",g,M)}})};return y(t),c.clear(),fw++,function(){l.forEach(function(m){var g=dl.get(m)-1,b=o.get(m)-1;dl.set(m,g),o.set(m,b),g||(Gp.has(m)||m.removeAttribute(r),Gp.delete(m)),b||m.removeAttribute(n)}),fw--,fw||(dl=new WeakMap,dl=new WeakMap,Gp=new WeakMap,Kp={})}},d3=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=tfe(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),rfe(r,a,n,"aria-hidden")):function(){return null}},Xr=function(){return Xr=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}
vendor: 5,442 bytes, lines 600-615
600,Xr.apply(this,arguments)};function j8(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function afe(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var tm="right-scroll-bar-position",nm="width-before-scroll-bar",ife="with-scroll-bars-hidden",ofe="--removed-body-scroll-bar-size";function pw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function sfe(e,t){var n=O.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var lfe=typeof window<"u"?O.useLayoutEffect:O.useEffect,O_=new WeakMap;function cfe(e,t){var n=sfe(null,function(r){return e.forEach(function(a){return pw(a,r)})});return lfe(function(){var r=O_.get(n);if(r){var a=new Set(r),o=new Set(e),l=n.current;a.forEach(function(c){o.has(c)||pw(c,null)}),o.forEach(function(c){a.has(c)||pw(c,l)})}O_.set(n,e)},[e]),n}function ufe(e){return e}function dfe(e,t){t===void 0&&(t=ufe);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var l=t(o,r);return n.push(l),function(){n=n.filter(function(c){return c!==l})}},assignSyncMedium:function(o){for(r=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){r=!0;var l=[];if(n.length){var c=n;n=[],c.forEach(o),l=n}var d=function(){var y=l;l=[],y.forEach(o)},f=function(){return Promise.resolve().then(d)};f(),n={push:function(y){l.push(y),f()},filter:function(y){return l=l.filter(y),n}}}};return a}function ffe(e){e===void 0&&(e={});var t=dfe(null);return t.options=Xr({async:!0,ssr:!1},e),t}var E8=function(e){var t=e.sideCar,n=j8(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return O.createElement(r,Xr({},n))};E8.isSideCarExport=!0;function pfe(e,t){return e.useMedium(t),E8}var k8=ffe(),mw=function(){},gy=O.forwardRef(function(e,t){var n=O.useRef(null),r=O.useState({onScrollCapture:mw,onWheelCapture:mw,onTouchMoveCapture:mw}),a=r[0],o=r[1],l=e.forwardProps,c=e.children,d=e.className,f=e.removeScrollBar,y=e.enabled,m=e.shards,g=e.sideCar,b=e.noRelative,C=e.noIsolation,x=e.inert,w=e.allowPinchZoom,M=e.as,T=M===void 0?"div":M,j=e.gapMode,E=j8(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=g,k=cfe([n,t]),A=Xr(Xr({},E),a);return O.createElement(O.Fragment,null,y&&O.createElement(P,{sideCar:k8,removeScrollBar:f,shards:m,noRelative:b,noIsolation:C,inert:x,setCallbacks:o,allowPinchZoom:!!w,lockRef:n,gapMode:j}),l?O.cloneElement(O.Children.only(c),Xr(Xr({},A),{ref:k})):O.createElement(T,Xr({},A,{className:d,ref:k}),c))});gy.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};gy.classNames={fullWidth:nm,zeroRight:tm};var mfe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function hfe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mfe();return t&&e.setAttribute("nonce",t),e}function yfe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function gfe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vfe=function(){var e=0,t=null;return{add:function(n){e==0&&(t=hfe())&&(yfe(t,n),gfe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xfe=function(){var e=vfe();return function(t,n){O.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},_8=function(){var e=xfe(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},bfe={left:0,top:0,right:0,gap:0},hw=function(e){return parseInt(e||"",10)||0},wfe=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[hw(n),hw(r),hw(a)]},Sfe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return bfe;var t=wfe(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Cfe=_8(),Tl="data-scroll-locked",Mfe=function(e,t,n,r){var a=e.left,o=e.top,l=e.right,c=e.gap;return n===void 0&&(n="margin"),` 601 .`.concat(ife,` { 602 overflow: hidden `).concat(r,`; 603 padding-right: `).concat(c,"px ").concat(r,`; 604 } 605 body[`).concat(Tl,`] { 606 overflow: hidden `).concat(r,`; 607 overscroll-behavior: contain; 608 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 609 padding-left: `.concat(a,`px; 610 padding-top: `).concat(o,`px; 611 padding-right: `).concat(l,`px; 612 margin-left:0; 613 margin-top:0; 614 margin-right: `).concat(c,"px ").concat(r,`; 615 `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";
615")].filter(Boolean).join(""),` 616 } 617 618 .`).concat(tm,` { 619 right: `).concat(c,"px ").concat(r,`; 620 } 621 622 .`).concat(nm,` { 623 margin-right: `).concat(c,"px ").concat(r,`; 624 } 625 626 .`).concat(tm," .").concat(tm,` { 627 right: 0 `).concat(r,`; 628 } 629 630 .`).concat(nm," .").concat(nm,` { 631 margin-right: 0 `).concat(r,`; 632 } 633 634 body[`).concat(Tl,`] { 635 `).concat(ofe,": ").concat(c,`px; 636 } 637`)},T_=function(){var e=parseInt(document.body.getAttribute(Tl)||"0",10);return isFinite(e)?e:0},Ofe=function(){O.useEffect(function(){return document.body.setAttribute(Tl,(T_()+1).toString()),function(){var e=T_()-1;e<=0?document.body.removeAttribute(Tl):document.body.setAttribute(Tl,e.toString())}},[])},Tfe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;Ofe();var o=O.useMemo(function(){return Sfe(a)},[a]);return O.createElement(Cfe,{styles:Mfe(o,!t,a,n?"":"!important")})},bS=!1;if(typeof window<"u")try{var Yp=Object.defineProperty({},"passive",{get:function(){return bS=!0,!0}});window.addEventListener("test",Yp,Yp),window.removeEventListener("test",Yp,Yp)}catch{bS=!1}var fl=bS?{passive:!1}:!1,Pfe=function(e){return e.tagName==="TEXTAREA"},D8=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Pfe(e)&&n[t]==="visible")},Afe=function(e){return D8(e,"overflowY")},jfe=function(e){return D8(e,"overflowX")},P_=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=N8(e,r);if(a){var o=R8(e,r),l=o[1],c=o[2];if(l>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Efe=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},kfe=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},N8=function(e,t){return e==="v"?Afe(t):jfe(t)},R8=function(e,t){return e==="v"?Efe(t):kfe(t)},_fe=function(e,t){return e==="h"&&t==="rtl"?-1:1},Dfe=function(e,t,n,r,a){var o=_fe(e,window.getComputedStyle(t).direction),l=o*r,c=n.target,d=t.contains(c),f=!1,y=l>0,m=0,g=0;do{if(!c)break;var b=R8(e,c),C=b[0],x=b[1],w=b[2],M=x-w-o*C;(C||M)&&N8(e,c)&&(m+=M,g+=C);var T=c.parentNode;c=T&&T.nodeType===Node.DOCUMENT_FRAGMENT_NODE?T.host:T}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(y&&Math.abs(m)<1||!y&&Math.abs(g)<1)&&(f=!0),f},Vp=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},A_=function(e){return[e.deltaX,e.deltaY]},j_=function(e){return e&&"current"in e?e.current:e},Nfe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Rfe=function(e){return` 638 .block-interactivity-`.concat(e,` {pointer-events: none;} 639 .allow-interactivity-`).concat(e,` {pointer-events: all;} 640`)},Ife=0,pl=[];function Lfe(e){var t=O.useRef([]),n=O.useRef([0,0]),r=O.useRef(),a=O.useState(Ife++)[0],o=O.useState(_8)[0],l=O.useRef(e);O.useEffect(function(){l.current=e},[e]),O.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var x=afe([e.lockRef.current],(e.shards||[]).map(j_),!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=O.useCallback(function(x,w){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var M=Vp(x),T=n.current,j="deltaX"in x?x.deltaX:T[0]-M[0],E="deltaY"in x?x.deltaY:T[1]-M[1],P,k=x.target,A=Math.abs(j)>Math.abs(E)?"h":"v";if("touches"in x&&A==="h"&&k.type==="range")return!1;var D=P_(A,k);if(!D)return!0;if(D?P=A:(P=A==="v"?"h":"v",D=P_(A,k)),!D)return!1;if(!r.current&&"changedTouches"in x&&(j||E)&&(r.current=P),!P)return!0;var I=r.current||P;return Dfe(I,w,x,I==="h"?j:E)},[]),d=O.useCallback(function(x){var w=x;if(!(!pl.length||pl[pl.length-1]!==o)){var M="deltaY"in w?A_(w):Vp(w),T=t.current.filter(function(P){return P.name===w.type&&(P.target===w.target||w.target===P.shadowParent)&&Nfe(P.delta,M)})[0];if(T&&T.should){w.cancelable&&w.preventDefault();return}
vendor: 4,235 bytes, line 640
640if(!T){var j=(l.current.shards||[]).map(j_).filter(Boolean).filter(function(P){return P.contains(w.target)}),E=j.length>0?c(w,j[0]):!l.current.noIsolation;E&&w.cancelable&&w.preventDefault()}}},[]),f=O.useCallback(function(x,w,M,T){var j={name:x,delta:w,target:M,should:T,shadowParent:zfe(M)};t.current.push(j),setTimeout(function(){t.current=t.current.filter(function(E){return E!==j})},1)},[]),y=O.useCallback(function(x){n.current=Vp(x),r.current=void 0},[]),m=O.useCallback(function(x){f(x.type,A_(x),x.target,c(x,e.lockRef.current))},[]),g=O.useCallback(function(x){f(x.type,Vp(x),x.target,c(x,e.lockRef.current))},[]);O.useEffect(function(){return pl.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",d,fl),document.addEventListener("touchmove",d,fl),document.addEventListener("touchstart",y,fl),function(){pl=pl.filter(function(x){return x!==o}),document.removeEventListener("wheel",d,fl),document.removeEventListener("touchmove",d,fl),document.removeEventListener("touchstart",y,fl)}},[]);var b=e.removeScrollBar,C=e.inert;return O.createElement(O.Fragment,null,C?O.createElement(o,{styles:Rfe(a)}):null,b?O.createElement(Tfe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function zfe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Bfe=pfe(k8,Lfe);var vy=O.forwardRef(function(e,t){return O.createElement(gy,Xr({},e,{ref:t,sideCar:Bfe}))});vy.classNames=gy.classNames;var qfe=[" ","Enter","ArrowUp","ArrowDown"],$fe=[" ","Enter"],Jo="Select",[xy,by,Ffe]=my(Jo),[Cc]=ua(Jo,[Ffe,ac]),wy=ac(),[Hfe,to]=Cc(Jo),[Ufe,Wfe]=Cc(Jo),I8=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:a,onOpenChange:o,value:l,defaultValue:c,onValueChange:d,dir:f,name:y,autoComplete:m,disabled:g,required:b,form:C}=e,x=wy(t),[w,M]=O.useState(null),[T,j]=O.useState(null),[E,P]=O.useState(!1),k=py(f),[A,D]=Go({prop:r,defaultProp:a??!1,onChange:o,caller:Jo}),[I,F]=Go({prop:l,defaultProp:c,onChange:d,caller:Jo}),L=O.useRef(null),q=w?C||!!w.closest("form"):!0,[U,G]=O.useState(new Set),K=Array.from(U).map(N=>N.props.value).join(";");return p.jsx(GS,{...x,children:p.jsxs(Hfe,{required:b,scope:t,trigger:w,onTriggerChange:M,valueNode:T,onValueNodeChange:j,valueNodeHasChildren:E,onValueNodeHasChildrenChange:P,contentId:na(),value:I,onValueChange:F,open:A,onOpenChange:D,dir:k,triggerPointerDownPosRef:L,disabled:g,children:[p.jsx(xy.Provider,{scope:t,children:p.jsx(Ufe,{scope:e.__scopeSelect,onNativeOptionAdd:O.useCallback(N=>{G(H=>new Set(H).add(N))},[]),onNativeOptionRemove:O.useCallback(N=>{G(H=>{const $=new Set(H);return $.delete(N),$})},[]),children:n})}),q?p.jsxs(aI,{"aria-hidden":!0,required:b,tabIndex:-1,name:y,autoComplete:m,value:I,onChange:N=>F(N.target.value),disabled:g,form:C,children:[I===void 0?p.jsx("option",{value:""}):null,Array.from(U)]},K):null]})})};I8.displayName=Jo;var L8="SelectTrigger",z8=O.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...a}=e,o=wy(n),l=to(L8,n),c=l.disabled||r,d=Ke(t,l.onTriggerChange),f=by(n),y=O.useRef("touch"),[m,g,b]=oI(x=>{const w=f().filter(j=>!j.disabled),M=w.find(j=>j.value===l.value),T=sI(w,x,M);T!==void 0&&l.onValueChange(T.value)}),C=x=>{c||(l.onOpenChange(!0),b()),x&&(l.triggerPointerDownPosRef.current={x:Math.round(x.pageX),y:Math.round(x.pageY)})};return p.jsx(KS,{asChild:!0,...o,children:p.jsx(De.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":iI(l.value)?"":void 0,...a,ref:d,onClick:xe(a.onClick,x=>{x.currentTarget.focus(),y.current!=="mouse"&&C(x)}),onPointerDown:xe(a.onPointerDown,x=>{y.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:xe(a.onKeyDown,x=>{const w=m.current!=="";!(x.ctrlKey||x.altKey||x.metaKey)&&x.key.length===1&&g(x.key),!(w&&x.key===" ")&&qfe.includes(x.key)&&(C(),x.preventDefault())})})})});z8.displayName=L8;var B8="SelectValue",q8=O.forwardRef((e,t)=>
vendor: 10,499 bytes, line 640
640{const{__scopeSelect:n,className:r,style:a,children:o,placeholder:l="",...c}=e,d=to(B8,n),{onValueNodeHasChildrenChange:f}=d,y=o!==void 0,m=Ke(t,d.onValueNodeChange);return Wt(()=>{f(y)},[f,y]),p.jsx(De.span,{...c,ref:m,style:{pointerEvents:"none"},children:iI(d.value)?p.jsx(p.Fragment,{children:l}):o})});q8.displayName=B8;var Gfe="SelectIcon",$8=O.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...a}=e;return p.jsx(De.span,{"aria-hidden":!0,...a,ref:t,children:r||"â¼"})});$8.displayName=Gfe;var Kfe="SelectPortal",F8=e=>p.jsx(Wd,{asChild:!0,...e});F8.displayName=Kfe;var es="SelectContent",H8=O.forwardRef((e,t)=>{const n=to(es,e.__scopeSelect),[r,a]=O.useState();if(Wt(()=>{a(new DocumentFragment)},[]),!n.open){const o=r;return o?Fd.createPortal(p.jsx(U8,{scope:e.__scopeSelect,children:p.jsx(xy.Slot,{scope:e.__scopeSelect,children:p.jsx("div",{children:e.children})})}),o):null}return p.jsx(W8,{...e,ref:t})});H8.displayName=es;var jr=10,[U8,no]=Cc(es),Yfe="SelectContentImpl",Vfe=Uo("SelectContent.RemoveScroll"),W8=O.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:o,onPointerDownOutside:l,side:c,sideOffset:d,align:f,alignOffset:y,arrowPadding:m,collisionBoundary:g,collisionPadding:b,sticky:C,hideWhenDetached:x,avoidCollisions:w,...M}=e,T=to(es,n),[j,E]=O.useState(null),[P,k]=O.useState(null),A=Ke(t,ie=>E(ie)),[D,I]=O.useState(null),[F,L]=O.useState(null),q=by(n),[U,G]=O.useState(!1),K=O.useRef(!1);O.useEffect(()=>{if(j)return d3(j)},[j]),u3();const N=O.useCallback(ie=>{const[he,...ue]=q().map(ae=>ae.ref.current),[ye]=ue.slice(-1),ge=document.activeElement;for(const ae of ie)if(ae===ge||(ae?.scrollIntoView({block:"nearest"}),ae===he&&P&&(P.scrollTop=0),ae===ye&&P&&(P.scrollTop=P.scrollHeight),ae?.focus(),document.activeElement!==ge))return},[q,P]),H=O.useCallback(()=>N([D,j]),[N,D,j]);O.useEffect(()=>{U&&H()},[U,H]);const{onOpenChange:$,triggerPointerDownPosRef:V}=T;O.useEffect(()=>{if(j){let ie={x:0,y:0};const he=ye=>{ie={x:Math.abs(Math.round(ye.pageX)-(V.current?.x??0)),y:Math.abs(Math.round(ye.pageY)-(V.current?.y??0))}},ue=ye=>{ie.x<=10&&ie.y<=10?ye.preventDefault():j.contains(ye.target)||$(!1),document.removeEventListener("pointermove",he),V.current=null};return V.current!==null&&(document.addEventListener("pointermove",he),document.addEventListener("pointerup",ue,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",he),document.removeEventListener("pointerup",ue,{capture:!0})}}},[j,$,V]),O.useEffect(()=>{const ie=()=>$(!1);return window.addEventListener("blur",ie),window.addEventListener("resize",ie),()=>{window.removeEventListener("blur",ie),window.removeEventListener("resize",ie)}},[$]);const[oe,z]=oI(ie=>{const he=q().filter(ge=>!ge.disabled),ue=he.find(ge=>ge.ref.current===document.activeElement),ye=sI(he,ie,ue);ye&&setTimeout(()=>ye.ref.current.focus())}),Y=O.useCallback((ie,he,ue)=>{const ye=!K.current&&!ue;(T.value!==void 0&&T.value===he||ye)&&(I(ie),ye&&(K.current=!0))},[T.value]),Z=O.useCallback(()=>j?.focus(),[j]),J=O.useCallback((ie,he,ue)=>{const ye=!K.current&&!ue;(T.value!==void 0&&T.value===he||ye)&&L(ie)},[T.value]),ce=r==="popper"?wS:G8,pe=ce===wS?{side:c,sideOffset:d,align:f,alignOffset:y,arrowPadding:m,collisionBoundary:g,collisionPadding:b,sticky:C,hideWhenDetached:x,avoidCollisions:w}:{};return p.jsx(U8,{scope:n,content:j,viewport:P,onViewportChange:k,itemRefCallback:Y,selectedItem:D,onItemLeave:Z,itemTextRefCallback:J,focusSelectedItem:H,selectedItemText:F,position:r,isPositioned:U,searchRef:oe,children:p.jsx(vy,{as:Vfe,allowPinchZoom:!0,children:p.jsx(yy,{asChild:!0,trapped:T.open,onMountAutoFocus:ie=>{ie.preventDefault()},onUnmountAutoFocus:xe(a,ie=>{T.trigger?.focus({preventScroll:!0}),ie.preventDefault()}),children:p.jsx(Hd,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:ie=>ie.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:p.jsx(ce,{role:"listbox",id:T.contentId,"data-state":T.open?"open":"closed",dir:T.dir,onContextMenu:ie=>ie.preventDefault(),...M,...pe,onPlaced:()=>G(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...M.style},onKeyDown:xe(M.onKeyDown,ie=>{const he=ie.ctrlKey||ie.altKey||ie.metaKey;if(ie.key==="Tab"&&ie.preventDefault(),!he&&ie.key.length===1&&z(ie.key),["ArrowUp","ArrowDown","Home","End"].includes(ie.key)){let ye=q().filter(ge=>!ge.disabled).map(ge=>ge.ref.current);if(["ArrowUp","End"].includes(ie.key)&&(ye=ye.slice().reverse()),["ArrowUp","ArrowDown"].includes(ie.key)){const ge=ie.target,ae=ye.indexOf(ge);ye=ye.slice(ae+1)}setTimeout(()=>N(ye)),ie.preventDefault()}})})})})})})});W8.displayName=Yfe;var Zfe="SelectItemAlignedPosition",G8=O.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...a}=e,o=to(es,n),l=no(es,n),[c,d]=O.useState(null),[f,y]=O.useState(null),m=Ke(t,A=>y(A)),g=by(n),b=O.useRef(!1),C=O.useRef(!0),{viewport:x,selectedItem:w,selectedItemText:M,focusSelectedItem:T}=l,j=O.useCallback(()=>{if(o.trigger&&o.valueNode&&c&&f&&x&&w&&M){const A=o.trigger.getBoundingClientRect(),D=f.getBoundingClientRect(),I=o.valueNode.getBoundingClientRect(),F=M.getBoundingClientRect();if(o.dir!=="rtl"){const ge=F.left-D.left,ae=I.left-ge,ze=A.left-ae,Te=A.width+ze,nt=Math.max(Te,D.width),Je=window.innerWidth-jr,mt=uh(ae,[jr,Math.max(jr,Je-nt)]);c.style.minWidth=Te+"px",c.style.left=mt+"px"}else{const ge=D.right-F.right,ae=window.innerWidth-I.right-ge,ze=window.innerWidth-A.right-ae,Te=A.width+ze,nt=Math.max(Te,D.width),Je=window.innerWidth-jr,mt=uh(ae,[jr,Math.max(jr,Je-nt)]);c.style.minWidth=Te+"px",c.style.right=mt+"px"}const L=g(),q=window.innerHeight-jr*2,U=x.scrollHeight,G=window.getComputedStyle(f),K=parseInt(G.borderTopWidth,10),N=parseInt(G.paddingTop,10),H=parseInt(G.borderBottomWidth,10),$=parseInt(G.paddingBottom,10),V=K+N+U+$+H,oe=Math.min(w.offsetHeight*5,V),z=window.getComputedStyle(x),Y=parseInt(z.paddingTop,10),Z=parseInt(z.paddingBottom,10),J=A.top+A.height/2-jr,ce=q-J,pe=w.offsetHeight/2,ie=w.offsetTop+pe,he=K+N+ie,ue=V-he;if(he<=J){const ge=L.length>0&&w===L[L.length-1].ref.current;c.style.bottom="0px";const ae=f.clientHeight-x.offsetTop-x.offsetHeight,ze=Math.max(ce,pe+(ge?Z:0)+ae+H),Te=he+ze;c.style.height=Te+"px"}else{const ge=L.length>0&&w===L[0].ref.current;c.style.top="0px";const ze=Math.max(J,K+x.offsetTop+(ge?Y:0)+pe)+ue;c.style.height=ze+"px",x.scrollTop=he-J+x.offsetTop}c.style.margin=`${jr}px 0`,c.style.minHeight=oe+"px",c.style.maxHeight=q+"px",r?.(),requestAnimationFrame(()=>b.current=!0)}},[g,o.trigger,o.valueNode,c,f,x,w,M,o.dir,r]);Wt(()=>j(),[j]);const[E,P]=O.useState();Wt(()=>{f&&P(window.getComputedStyle(f).zIndex)},[f]);const k=O.useCallback(A=>{A&&C.current===!0&&(j(),T?.(),C.current=!1)},[j,T]);return p.jsx(Xfe,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:b,onScrollButtonChange:k,children:p.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:p.jsx(De.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});G8.displayName=Zfe;var Qfe="SelectPopperPosition",wS=O.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:a=jr,...o}=e,l=wy(n);return p.jsx(YS,{...l,...o,ref:t,align:r,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)"}})});wS.displayName=Qfe;var[Xfe,f3]=Cc(es,{}),SS="SelectViewport",K8=O.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...a}=e,o=no(SS,n),l=f3(SS,n),c=Ke(t,o.onViewportChange),d=O.useRef(0);return p.jsxs(p.Fragment,{children:[p.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:r}),p.jsx(xy.Slot,{scope:n,children:p.jsx(De.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:xe(a.onScroll,f=>{const y=f.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=l;if(g?.current&&m){const b=Math.abs(d.current-y.scrollTop);if(b>0){const C=window.innerHeight-jr*2,x=parseFloat(m.style.minHeight),w=parseFloat(m.style.height),M=Math.max(x,w);if(M<C){const T=M+b,j=Math.min(C,T),E=T-j;m.style.height=j+"px",m.style.bottom==="0px"&&(y.scrollTop=E>0?E:0,m.style.justifyContent="flex-end")}}}d.current=y.scrollTop})})})]})});K8.displayName=SS;var Y8="SelectGroup",[Jfe,epe]=Cc(Y8),tpe=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=na();return p.jsx(Jfe,{scope:n,id:a,children:p.jsx(De.div,{role:"group","aria-labelledby":a,...r,ref:t})})});tpe.displayName=Y8;var V8="SelectLabel",npe=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=epe(V8,n);return p.jsx(De.div,{id:a.id,...r,ref:t})});npe.displayName=V8;var fh="SelectItem",[rpe,Z8]=Cc(fh),Q8=O.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:a=!1,textValue:o,...l}=e,c=to(fh,n),d=no(fh,n),f=c.value===r,[y,m]=O.useState(o??""),[g,b]=O.useState(!1),C=Ke(t,T=>d.itemRefCallback?.(T,r,a)),x=na(),w=O.useRef("touch"),M=()=>{a||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")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 p.jsx(rpe,{scope:n,value:r,disabled:a,textId:x,isSelected:f,onItemTextChange:O.useCallback(T=>{m(j=>j||(T?.textContent??"").trim())},[]),children:p.jsx(xy.ItemSlot,{scope:n,value:r,disabled:a,textValue:y,children:p.jsx(De.div,{role:"option","aria-labelledby":x,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...l,ref:C,onFocus:xe(l.onFocus,()=>b(!0)),onBlur:xe(l.onBlur,()=>b(!1)),onClick:xe(l.onClick,()=>{w.current!=="mouse"&&M()}),onPointerUp:xe(l.onPointerUp,()=>{w.current==="mouse"&&M()}),onPointerDown:xe(l.onPointerDown,T=>{w.current=T.pointerType}),onPointerMove:xe(l.onPointerMove,T=>{w.current=T.pointerType,a?d.onItemLeave?.():w.current==="mouse"&&T.currentTarget.focu
vendor: 6,569 bytes, line 640
640s({preventScroll:!0})}),onPointerLeave:xe(l.onPointerLeave,T=>{T.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:xe(l.onKeyDown,T=>{d.searchRef?.current!==""&&T.key===" "||($fe.includes(T.key)&&M(),T.key===" "&&T.preventDefault())})})})})});Q8.displayName=fh;var Ru="SelectItemText",X8=O.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:a,...o}=e,l=to(Ru,n),c=no(Ru,n),d=Z8(Ru,n),f=Wfe(Ru,n),[y,m]=O.useState(null),g=Ke(t,M=>m(M),d.onItemTextChange,M=>c.itemTextRefCallback?.(M,d.value,d.disabled)),b=y?.textContent,C=O.useMemo(()=>p.jsx("option",{value:d.value,disabled:d.disabled,children:b},d.value),[d.disabled,d.value,b]),{onNativeOptionAdd:x,onNativeOptionRemove:w}=f;return Wt(()=>(x(C),()=>w(C)),[x,w,C]),p.jsxs(p.Fragment,{children:[p.jsx(De.span,{id:d.textId,...o,ref:g}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Fd.createPortal(o.children,l.valueNode):null]})});X8.displayName=Ru;var J8="SelectItemIndicator",eI=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Z8(J8,n).isSelected?p.jsx(De.span,{"aria-hidden":!0,...r,ref:t}):null});eI.displayName=J8;var CS="SelectScrollUpButton",tI=O.forwardRef((e,t)=>{const n=no(CS,e.__scopeSelect),r=f3(CS,e.__scopeSelect),[a,o]=O.useState(!1),l=Ke(t,r.onScrollButtonChange);return Wt(()=>{if(n.viewport&&n.isPositioned){let c=function(){const f=d.scrollTop>0;o(f)};const d=n.viewport;return c(),d.addEventListener("scroll",c),()=>d.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?p.jsx(rI,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=n;c&&d&&(c.scrollTop=c.scrollTop-d.offsetHeight)}}):null});tI.displayName=CS;var MS="SelectScrollDownButton",nI=O.forwardRef((e,t)=>{const n=no(MS,e.__scopeSelect),r=f3(MS,e.__scopeSelect),[a,o]=O.useState(!1),l=Ke(t,r.onScrollButtonChange);return Wt(()=>{if(n.viewport&&n.isPositioned){let c=function(){const f=d.scrollHeight-d.clientHeight,y=Math.ceil(d.scrollTop)<f;o(y)};const d=n.viewport;return c(),d.addEventListener("scroll",c),()=>d.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?p.jsx(rI,{...e,ref:l,onAutoScroll:()=>{const{viewport:c,selectedItem:d}=n;c&&d&&(c.scrollTop=c.scrollTop+d.offsetHeight)}}):null});nI.displayName=MS;var rI=O.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...a}=e,o=no("SelectScrollButton",n),l=O.useRef(null),c=by(n),d=O.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return O.useEffect(()=>()=>d(),[d]),Wt(()=>{c().find(y=>y.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),p.jsx(De.div,{"aria-hidden":!0,...a,ref:t,style:{flexShrink:0,...a.style},onPointerDown:xe(a.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(r,50))}),onPointerMove:xe(a.onPointerMove,()=>{o.onItemLeave?.(),l.current===null&&(l.current=window.setInterval(r,50))}),onPointerLeave:xe(a.onPointerLeave,()=>{d()})})}),ape="SelectSeparator",ipe=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return p.jsx(De.div,{"aria-hidden":!0,...r,ref:t})});ipe.displayName=ape;var OS="SelectArrow",ope=O.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,a=wy(n),o=to(OS,n),l=no(OS,n);return o.open&&l.position==="popper"?p.jsx(VS,{...a,...r,ref:t}):null});ope.displayName=OS;var spe="SelectBubbleInput",aI=O.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const a=O.useRef(null),o=Ke(r,a),l=f8(t);return O.useEffect(()=>{const c=a.current;if(!c)return;const d=window.HTMLSelectElement.prototype,y=Object.getOwnPropertyDescriptor(d,"value").set;if(l!==t&&y){const m=new Event("change",{bubbles:!0});y.call(c,t),c.dispatchEvent(m)}},[l,t]),p.jsx(De.select,{...n,style:{...pD,...n.style},ref:o,defaultValue:t})});aI.displayName=spe;function iI(e){return e===""||e===void 0}function oI(e){const t=Rr(e),n=O.useRef(""),r=O.useRef(0),a=O.useCallback(l=>{const c=n.current+l;t(c),(function d(f){n.current=f,window.clearTimeout(r.current),f!==""&&(r.current=window.setTimeout(()=>d(""),1e3))})(c)},[t]),o=O.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return O.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,o]}function sI(e,t,n){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=lpe(e,Math.max(o,0));a.length===1&&(l=l.filter(f=>f!==n));const d=l.find(f=>f.textValue.toLowerCase().startsWith(a.toLowerCase()));return d!==n?d:void 0}function lpe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var cpe=I8,upe=z8,dpe=q8,fpe=$8,ppe=F8,mpe=H8,hpe=K8,ype=Q8,gpe=X8,vpe=eI,xpe=tI,bpe=nI;function wpe({...e}){return p.jsx(cpe,{"data-loc":"client/src/components/ui/select.tsx:10","data-slot":"select",...e})}function Spe({...e}){return p.jsx(dpe,{"data-loc":"client/src/components/ui/select.tsx:22","data-slot":"select-value",...e})}function Cpe({className:e,size:t="default",children:n,...r}){return p.jsxs(upe,{"data-loc":"client/src/components/ui/select.tsx:34","data-slot":"select-trigger","data-size":t,className:Ee("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),...r,children:[n,p.jsx(fpe,{"data-loc":"client/src/components/ui/select.tsx:44",asChild:!0,children:p.jsx(Dh,{"data-loc":"client/src/components/ui/select.tsx:45",className:"size-4 opacity-50"})})]})}function Mpe({className:e,children:t,position:n="popper",align:r="center",...a}){return p.jsx(ppe,{"data-loc":"client/src/components/ui/select.tsx:59",children:p.jsxs(mpe,{"data-loc":"client/src/components/ui/select.tsx:60","data-slot":"select-content",className:Ee("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
640de-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",n==="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:n,align:r,...a,children:[p.jsx(Ope,{"data-loc":"client/src/components/ui/select.tsx:72"}),p.jsx(hpe,{"data-loc":"client/src/components/ui/select.tsx:73",className:Ee("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),p.jsx(Tpe,{"data-loc":"client/src/components/ui/select.tsx:82"})]})})}function Zp({className:e,children:t,...n}){return p.jsxs(ype,{"data-loc":"client/src/components/ui/select.tsx:107","data-slot":"select-item",className:Ee("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),...n,children:[p.jsx("span",{"data-loc":"client/src/components/ui/select.tsx:115",className:"absolute right-2 flex size-3.5 items-center justify-center",children:p.jsx(vpe,{"data-loc":"client/src/components/ui/select.tsx:116",children:p.jsx(ID,{"data-loc":"client/src/components/ui/select.tsx:117",className:"size-4"})})}),p.jsx(gpe,{"data-loc":"client/src/components/ui/select.tsx:120",children:t})]})}function Ope({className:e,...t}){return p.jsx(xpe,{"data-loc":"client/src/components/ui/select.tsx:143","data-slot":"select-scroll-up-button",className:Ee("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(pG,{"data-loc":"client/src/components/ui/select.tsx:151",className:"size-4"})})}function Tpe({className:e,...t}){return p.jsx(bpe,{"data-loc":"client/src/components/ui/select.tsx:161","data-slot":"select-scroll-down-button",className:Ee("flex cursor-default items-center justify-center py-1",e),...t,children:p.jsx(Dh,{"data-loc":"client/src/components/ui/select.tsx:169",className:"size-4"})})}const lI=6048e5,Ppe=864e5,E_=Symbol.for("constructDateFrom");function Ki(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&E_ in e?e[E_](t):e instanceof Date?new e.constructor(t):new Date(t)}function qr(e,t){return Ki(t||e,e)}let Ape={};function Sy(){return Ape}function Rd(e,t){const n=Sy(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=qr(e,t?.in),o=a.getDay(),l=(o<r?7:0)+o-r;return a.setDate(a.getDate()-l),a.setHours(0,0,0,0),a}function ph(e,t){return Rd(e,{...t,weekStartsOn:1})}function cI(e,t){const n=qr(e,t?.in),r=n.getFullYear(),a=Ki(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=ph(a),l=Ki(n,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);const c=ph(l);return n.getTime()>=o.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function k_(e){const t=qr(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function jpe(e,...t){const n=Ki.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function __(e,t){const n=qr(e,t?.in);return n.setHours(0,0,0,0),n}function Epe(e,t,n){const[r,a]=jpe(n?.in,e,t),o=__(r),l=__(a),c=+o-k_(o),d=+l-k_(l);return Math.round((c-d)/Ppe)}function kpe(e,t){const n=cI(e,t),r=Ki(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ph(r)}function _pe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Dpe(e){return!(!_pe(e)&&typeof e!="number"||isNaN(+qr(e)))}function Npe(e,t){const n=qr(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Rpe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ipe=(e,t,n)=>{let r;const a=Rpe[e];
vendor: 12,574 bytes, line 640
640return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function yw(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Lpe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},zpe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Bpe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qpe={date:yw({formats:Lpe,defaultWidth:"full"}),time:yw({formats:zpe,defaultWidth:"full"}),dateTime:yw({formats:Bpe,defaultWidth:"full"})},$pe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Fpe=(e,t,n,r)=>$pe[e];function Eu(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let a;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,c=n?.width?String(n.width):l;a=e.formattingValues[c]||e.formattingValues[l]}else{const l=e.defaultWidth,c=n?.width?String(n.width):e.defaultWidth;a=e.values[c]||e.values[l]}const o=e.argumentCallback?e.argumentCallback(t):t;return a[o]}}const Hpe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Upe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Wpe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gpe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Kpe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ype={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Vpe=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Zpe={ordinalNumber:Vpe,era:Eu({values:Hpe,defaultWidth:"wide"}),quarter:Eu({values:Upe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Eu({values:Wpe,defaultWidth:"wide"}),day:Eu({values:Gpe,defaultWidth:"wide"}),dayPeriod:Eu({values:Kpe,defaultWidth:"wide",formattingValues:Ype,defaultFormattingWidth:"wide"})};function ku(e){return(t,n={})=>{const r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;const l=o[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?Xpe(c,m=>m.test(l)):Qpe(c,m=>m.test(l));let f;f=e.valueCallback?e.valueCallback(d):d,f=n.valueCallback?n.valueCallback(f):f;const y=t.slice(l.length);return{value:f,rest:y}}}function Qpe(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Xpe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Jpe(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const a=r[0],o=t.match(e.parsePattern);if(!o)return null;let l=e.valueCallback?e.valueCallback(o[0]):o[0];l=n.valueCallback?n.valueCallback(l):l;const c=t.slice(a.length);return{value:l,rest:c}}}const eme=/^(\d+)(th|st|nd|rd)?/i,tme=/\d+/i,nme={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},rme={any:[/^b/i,/^(a|c)/i]},ame={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ime={any:[/1/i,/2/i,/3/i,/4/i]},ome={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},sme={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},lme={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},cme={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ume={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},dme={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fme={ordinalNumber:Jpe({matchPattern:eme,parsePattern:tme,valueCallback:e=>parseInt(e,10)}),era:ku({matchPatterns:nme,defaultMatchWidth:"wide",parsePatterns:rme,defaultParseWidth:"any"}),quarter:ku({matchPatterns:ame,defaultMatchWidth:"wide",parsePatterns:ime,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ku({matchPatterns:ome,defaultMatchWidth:"wide",parsePatterns:sme,defaultParseWidth:"any"}),day:ku({matchPatterns:lme,defaultMatchWidth:"wide",parsePatterns:cme,defaultParseWidth:"any"}),dayPeriod:ku({matchPatterns:ume,defaultMatchWidth:"any",parsePatterns:dme,defaultParseWidth:"any"})},pme={code:"en-US",formatDistance:Ipe,formatLong:qpe,formatRelative:Fpe,localize:Zpe,match:fme,options:{weekStartsOn:0,firstWeekContainsDate:1}};function mme(e,t){const n=qr(e,t?.in);return Epe(n,Npe(n))+1}function hme(e,t){const n=qr(e,t?.in),r=+ph(n)-+kpe(n);return Math.round(r/lI)+1}function uI(e,t){const n=qr(e,t?.in),r=n.getFullYear(),a=Sy(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,l=Ki(t?.in||e,0);l.setFullYear(r+1,0,o),l.setHours(0,0,0,0);const c=Rd(l,t),d=Ki(t?.in||e,0);d.setFullYear(r,0,o),d.setHours(0,0,0,0);const f=Rd(d,t);return+n>=+c?r+1:+n>=+f?r:r-1}function yme(e,t){const n=Sy(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,a=uI(e,t),o=Ki(t?.in||e,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),Rd(o,t)}function gme(e,t){const n=qr(e,t?.in),r=+Rd(n,t)-+yme(n,t);return Math.round(r/lI)+1}function it(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const ji={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return it(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):it(n+1,2)},d(e,t){return it(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return it(e.getHours()%12||12,t.length)},H(e,t){return it(e.getHours(),t.length)},m(e,t){return it(e.getMinutes(),t.length)},s(e,t){return it(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),a=Math.trunc(r*Math.pow(10,n-3));return it(a,t.length)}},ml={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},D_={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return ji.y(e,t)},Y:function(e,t,n,r){const a=uI(e,r),o=a>0?a:1-a;if(t==="YY"){const l=o%100;return it(l,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):it(o,t.length)},R:function(e,t){const n=cI(e);return it(n,t.length)},u:function(e,t){const n=e.getFullYear();return it(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return it(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return it(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return ji.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return it(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const a=gme(e,r);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):it(a,t.length)},I:function(e,t,n){const r=hme(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):it(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ji.d(e,t)},D:function(e,t,n){const r=mme(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):it(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return it(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const a=e.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return it(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return it(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let a;switch(r===12?a=ml.noon:r===0?a=ml.midnight:a=r/12>
vendor: 4,318 bytes, line 640
640=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let a;switch(r>=17?a=ml.evening:r>=12?a=ml.afternoon:r>=4?a=ml.morning:a=ml.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ji.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ji.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):it(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):it(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ji.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ji.s(e,t)},S:function(e,t){return ji.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return R_(r);case"XXXX":case"XX":return Do(r);case"XXXXX":case"XXX":default:return Do(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return R_(r);case"xxxx":case"xx":return Do(r);case"xxxxx":case"xxx":default:return Do(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+N_(r,":");case"OOOO":default:return"GMT"+Do(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+N_(r,":");case"zzzz":default:return"GMT"+Do(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return it(r,t.length)},T:function(e,t,n){return it(+e,t.length)}};function N_(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),o=r%60;return o===0?n+String(a):n+String(a)+t+it(o,2)}function R_(e,t){return e%60===0?(e>0?"-":"+")+it(Math.abs(e)/60,2):Do(e,t)}function Do(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),a=it(Math.trunc(r/60),2),o=it(r%60,2);return n+a+t+o}const I_=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},dI=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},vme=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],a=n[2];if(!a)return I_(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",I_(r,t)).replace("{{time}}",dI(a,t))},xme={p:dI,P:vme},bme=/^D+$/,wme=/^Y+$/,Sme=["D","DD","YY","YYYY"];function Cme(e){return bme.test(e)}function Mme(e){return wme.test(e)}function Ome(e,t,n){const r=Tme(e,t,n);if(console.warn(r),Sme.includes(e))throw new RangeError(r)}function Tme(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Pme=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ame=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jme=/^'([^]*?)'?$/,Eme=/''/g,kme=/[a-zA-Z]/;function _me(e,t,n){const r=Sy(),a=r.locale??pme,o=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,l=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,c=qr(e,n?.in);if(!Dpe(c))throw new RangeError("Invalid time value");let d=t.match(Ame).map(y=>{const m=y[0];if(m==="p"||m==="P"){const g=xme[m];return g(y,a.formatLong)}return y}).join("").match(Pme).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const m=y[0];if(m==="'")return{isToken:!1,value:Dme(y)};if(D_[m])return{isToken:!0,value:y};
640if(m.match(kme))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:y}});a.localize.preprocessor&&(d=a.localize.preprocessor(c,d));const f={firstWeekContainsDate:o,weekStartsOn:l,locale:a};return d.map(y=>{if(!y.isToken)return y.value;const m=y.value;(Mme(m)||Cme(m))&&Ome(m,t,String(e));const g=D_[m[0]];return g(c,m,a.localize,f)}).join("")}function Dme(e){const t=e.match(jme);return t?t[1].replace(Eme,"'"):e}const Nme={new:"bg-blue-100 text-blue-800",contacted:"bg-yellow-100 text-yellow-800",qualified:"bg-green-100 text-green-800",archived:"bg-gray-100 text-gray-800"},Rme={new:p.jsx(gl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:34",className:"w-4 h-4"}),contacted:p.jsx(lc,{"data-loc":"client/src/pages/LeadsDashboard.tsx:35",className:"w-4 h-4"}),qualified:p.jsx(Nh,{"data-loc":"client/src/pages/LeadsDashboard.tsx:36",className:"w-4 h-4"}),archived:null};function Ime(){const[e,t]=O.useState(),[n,r]=O.useState(0),a=20,{data:o=[],isLoading:l}=bt.leads.getAll.useQuery({status:e,limit:a,offset:n*a}),{data:c={new:0,contacted:0,qualified:0,archived:0}}=bt.leads.getCounts.useQuery(),d=bt.leads.updateStatus.useMutation({onSuccess:()=>{bt.useUtils().leads.getAll.invalidate(),bt.useUtils().leads.getCounts.invalidate()}}),f=(m,g)=>{d.mutate({id:m,status:g})},y=c.new+c.contacted+c.qualified+c.archived;return p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:72",className:"space-y-6",children:[p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:74",children:[p.jsx("h1",{"data-loc":"client/src/pages/LeadsDashboard.tsx:75",className:"text-3xl font-bold tracking-tight",children:"Lead Management"}),p.jsx("p",{"data-loc":"client/src/pages/LeadsDashboard.tsx:76",className:"text-muted-foreground mt-2",children:"View and manage all Neighborhood Report leads and form submissions"})]}),p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:82",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4",children:[p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:83",children:[p.jsx(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:84",className:"pb-3",children:p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:85",className:"text-sm font-medium",children:"Total Leads"})}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:87",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:88",className:"text-2xl font-bold",children:y}),p.jsx("p",{"data-loc":"client/src/pages/LeadsDashboard.tsx:89",className:"text-xs text-muted-foreground mt-1",children:"All time"})]})]}),p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:93",className:e==="new"?"ring-2 ring-blue-500":"",children:[p.jsx(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:94",className:"pb-3",children:p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:95",className:"text-sm font-medium",children:"New"})}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:97",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:98",className:"text-2xl font-bold text-blue-600",children:c.new}),p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:99",variant:"ghost",size:"sm",className:"mt-2 h-8 text-xs",onClick:()=>{t(e==="new"?void 0:"new"),r(0)},children:e==="new"?"Show All":"Filter"})]})]}),p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:113",className:e==="contacted"?"ring-2 ring-yellow-500":"",children:[p.jsx(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:114",className:"pb-3",children:p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:115",className:"text-sm font-medium",children:"Contacted"})}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:117",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:118",className:"text-2xl font-bold text-yellow-600",children:c.contacted}),p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:119",variant:"ghost",size:"sm",className:"mt-2 h-8 text-xs",onClick:()=>{t(e==="contacted"?void 0:"contacted"),r(0)},children:e==="contacted"?"Show All":"Filter"})]})]}),p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:133",className:e==="qualified"?"ring-2 ring-green-500":"",children:[p.jsx(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:134",className:"pb-3",children:p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:135",className:"text-sm font-medium",children:"Qualified"})}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:137",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:138",className:"text-2xl font-bold text-green-600",children:c.qualified}),p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:139",variant:"ghost",size:"sm",className:"mt-2 h-8 text-xs",onClick:()=>{t(e==="qualified"?void 0:"qualified"),r(0)},children:e==="qualified"?"Show All":"Filter"})]})]}),p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:153",className:e==="archived"?"ring-2 ring-gray-500":"",children:[p.jsx(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:154",className:"pb-3",children:p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:155",className:"text-sm font-medium",children:"Archived"})}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:157",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:158",className:"text-2xl font-bold text-gray-600",children:c.archived}),p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:159",variant:"ghost",size:"sm",className:"mt-2 h-8 text-xs",onClick:()=>{t(e==="archived"?void 0:"archived"),r(0)},children:e==="archived"?"Show All":"Filter"})]})]})]}),p.jsxs(jo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:175",children:[p.jsxs(rl,{"data-loc":"client/src/pages/LeadsDashboard.tsx:176",children:[p.jsx(al,{"data-loc":"client/src/pages/LeadsDashboard.tsx:177",children:"Leads"}),p.jsx(nG,{"data-loc":"client/src/pages/LeadsDashboard.tsx:178",children:e?`Showing ${e} leads`:"All leads"})]}),p.jsxs(Eo,{"data-loc":"client/src/pages/LeadsDashboard.tsx:182",children:[p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:183",className:"overflow-x-auto",children:p.jsxs(Wde,{"data-loc":"client/src/pages/LeadsDashboard.tsx:184",children:[p.jsx(Gde,{"data-loc":"client/src/pages/LeadsDashboard.tsx:185",children:p.jsxs(Wp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:186",children:[p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:187",children:"Name"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:188",children:"Email"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:189",children:"Location"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:190",children:"Source"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:191",children:"Status"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:192",children:"Date"}),p.jsx(Ao,{"data-loc":"client/src/pages/LeadsDashboard.tsx:193",className:"text-right",children:"Actions"})]})}),p.jsx(Kde,{"data-loc":"client/src/pages/LeadsDashboard.tsx:196",children:l?p.jsx(Wp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:198",children:p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:199",colSpan:7,className:"text-center py-8 text-muted-foreground",children:"Loading leads..."})}):o.length===0?p.jsx(Wp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:204",children:p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:205",colSpan:7,className:"text-center py-8 text-muted-foreground",children:"No leads found"})}):o.map(m=>p.jsxs(Wp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:211",children:[p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:212",className:"font-medium",children:m.name}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:213",children:p.jsxs("a",{"data-loc":"client/src/pages/LeadsDashboard.tsx:214",href:`mailto:${m.email}`,className:"text-blue-600 hover:underline flex items-center gap-2",children:[p.jsx(lc,{"data-loc":"client/src/pages/LeadsDashboard.tsx:218",className:"w-4 h-4"}),m.email]})}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:222",children:p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:223",className:"flex items-center gap-2 text-sm",children:[p.jsx(cc,{"data-loc":"client/src/pages/LeadsDashboard.tsx:224",className:"w-4 h-4 text-muted-foreground"}),p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:225",children:[m.zipCode&&p.jsx("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:226",children:m.zipCode}),m.city&&p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:228",className:"text-xs text-muted-foreground",children:[m.city,m.county&&`, ${m.county}`]})]})]})}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:236",children:p.jsx(x_,{"data-loc":"client/src/pages/LeadsDashboard.tsx:237",variant:"outline",className:"text-xs",children:m.source==="neighborhood_report"?"Neighborhood Report":m.source.replace(/_/g," ").replace(/\b\w/g,g=>g.toUpperCase())})}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:245",children:p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:246",className:"flex items-center gap-2",children:[Rme[m.status],p.jsx(x_,{"data-loc":"client/src/pages/LeadsDashboard.tsx:248",className:Nme[m.status],children:m.status})]})}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:253",className:"text-sm text-muted-foreground",children:p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:254",className:"flex items-center gap-2",children:[p.jsx(sc,{"data-loc":"client/src/pages/LeadsDashboard.tsx:255",className:"w-4 h-4"}),_me(new Date(m.createdAt),"MMM d, yyyy")]})}),p.jsx(Ra,{"data-loc":"client/src/pages/LeadsDashboard.tsx:259",className:"text-right",children:p.jsxs(wpe,{"data-loc":"client/src/pages/LeadsDashboard.tsx:260",value:m.status,onValueChange:g=>f(m.id,g),children:[p.jsx(Cpe,{"data-loc":"client/src/pages/LeadsDashboard.tsx:266",className:"w-32 h-8 text-xs",children:p.jsx(Spe,{"data-loc":"client/src/pages/LeadsDashboard.tsx:267"})}),p.jsxs(Mpe,{"data-loc":"client/src/pages/LeadsDashboard.tsx:269",children:[p.jsx(Zp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:270",value:"new",children:"New"}),p.jsx(Zp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:271",value:"contacted",children:"Contacted"}),p.jsx(Zp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:272",value:"qual
640ified",children:"Qualified"}),p.jsx(Zp,{"data-loc":"client/src/pages/LeadsDashboard.tsx:273",value:"archived",children:"Archived"})]})]})})]},m.id))})]})}),o.length>0&&p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:286",className:"flex items-center justify-between mt-6 pt-6 border-t",children:[p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:287",className:"text-sm text-muted-foreground",children:["Showing ",n*a+1," to ",Math.min((n+1)*a,y)," of"," ",y," leads"]}),p.jsxs("div",{"data-loc":"client/src/pages/LeadsDashboard.tsx:291",className:"flex gap-2",children:[p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:292",variant:"outline",size:"sm",onClick:()=>r(Math.max(0,n-1)),disabled:n===0,children:"Previous"}),p.jsx(Ia,{"data-loc":"client/src/pages/LeadsDashboard.tsx:300",variant:"outline",size:"sm",onClick:()=>r(n+1),disabled:o.length<a,children:"Next"})]})]})]})]})]})}const p3=()=>{const e="https://manus.im",t="ZAUURb2A6nc5C2piQ3pAuJ",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",n),a.searchParams.set("state",r),a.searchParams.set("type","signIn"),a.toString()};function fI(e){const{redirectOnUnauthenticated:t=!1,redirectPath:n=p3()}={},r=bt.useUtils(),a=bt.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),o=bt.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),l=O.useCallback(async()=>{try{await o.mutateAsync()}catch(d){if(d instanceof Pl&&d.data?.code==="UNAUTHORIZED")return;throw d}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[o,r]),c=O.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 O.useEffect(()=>{t&&(a.isLoading||o.isPending||c.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[t,n,o.isPending,a.isLoading,c.user]),{...c,refresh:()=>a.refetch(),logout:l}}function Lme(){return $D.useSyncExternalStore(zme,()=>!0,()=>!1)}function zme(){return()=>{}}var m3="Avatar",[Bme]=ua(m3),[qme,pI]=Bme(m3),mI=O.forwardRef((e,t)=>{const{__scopeAvatar:n,...r}=e,[a,o]=O.useState("idle");return p.jsx(qme,{scope:n,imageLoadingStatus:a,onImageLoadingStatusChange:o,children:p.jsx(De.span,{...r,ref:t})})});mI.displayName=m3;var hI="AvatarImage",$me=O.forwardRef((e,t)=>{const{__scopeAvatar:n,src:r,onLoadingStatusChange:a=()=>{},...o}=e,l=pI(hI,n),c=Fme(r,o),d=Rr(f=>{a(f),l.onImageLoadingStatusChange(f)});return Wt(()=>{c!=="idle"&&d(c)},[c,d]),c==="loaded"?p.jsx(De.img,{...o,ref:t,src:r}):null});$me.displayName=hI;var yI="AvatarFallback",gI=O.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:r,...a}=e,o=pI(yI,n),[l,c]=O.useState(r===void 0);return O.useEffect(()=>{if(r!==void 0){const d=window.setTimeout(()=>c(!0),r);return()=>window.clearTimeout(d)}},[r]),l&&o.imageLoadingStatus!=="loaded"?p.jsx(De.span,{...a,ref:t}):null});gI.displayName=yI;function L_(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Fme(e,{referrerPolicy:t,crossOrigin:n}){const r=Lme(),a=O.useRef(null),o=r?(a.current||(a.current=new window.Image),a.current):null,[l,c]=O.useState(()=>L_(o,e));return Wt(()=>{c(L_(o,e))},[o,e]),Wt(()=>{const d=m=>()=>{c(m)};if(!o)return;const f=d("loaded"),y=d("error");return o.addEventListener("load",f),o.addEventListener("error",y),t&&(o.referrerPolicy=t),typeof n=="string"&&(o.crossOrigin=n),()=>{o.removeEventListener("load",f),o.removeEventListener("error",y)}},[o,n,t]),l}var Hme=mI,Ume=gI;function Wme({className:e,...t}){return p.jsx(Hme,{"data-loc":"client/src/components/ui/avatar.tsx:11","data-slot":"avatar",className:Ee("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function Gme({className:e,...t}){return p.jsx(Ume,{"data-loc":"client/src/components/ui/avatar.tsx:40","data-slot":"avatar-fallback",className:Ee("bg-muted flex size-full items-center justify-center rounded-full",e),...t})}var gw="rovingFocusGroup.onEntryFocus",Kme={bubbles:!1,cancelable:!0},tf="RovingFocusGroup",[TS,vI,Yme]=my(tf),[Vme,xI]=ua(tf,[Yme]),[Zme,Qme]=Vme(tf),bI=O.forwardRef((e,t)=>
vendor: 4,372 bytes, line 640
640p.jsx(TS.Provider,{scope:e.__scopeRovingFocusGroup,children:p.jsx(TS.Slot,{scope:e.__scopeRovingFocusGroup,children:p.jsx(Xme,{...e,ref:t})})}));bI.displayName=tf;var Xme=O.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:f,preventScrollOnEntryFocus:y=!1,...m}=e,g=O.useRef(null),b=Ke(t,g),C=py(o),[x,w]=Go({prop:l,defaultProp:c??null,onChange:d,caller:tf}),[M,T]=O.useState(!1),j=Rr(f),E=vI(n),P=O.useRef(!1),[k,A]=O.useState(0);return O.useEffect(()=>{const D=g.current;if(D)return D.addEventListener(gw,j),()=>D.removeEventListener(gw,j)},[j]),p.jsx(Zme,{scope:n,orientation:r,dir:C,loop:a,currentTabStopId:x,onItemFocus:O.useCallback(D=>w(D),[w]),onItemShiftTab:O.useCallback(()=>T(!0),[]),onFocusableItemAdd:O.useCallback(()=>A(D=>D+1),[]),onFocusableItemRemove:O.useCallback(()=>A(D=>D-1),[]),children:p.jsx(De.div,{tabIndex:M||k===0?-1:0,"data-orientation":r,...m,ref:b,style:{outline:"none",...e.style},onMouseDown:xe(e.onMouseDown,()=>{P.current=!0}),onFocus:xe(e.onFocus,D=>{const I=!P.current;if(D.target===D.currentTarget&&I&&!M){const F=new CustomEvent(gw,Kme);if(D.currentTarget.dispatchEvent(F),!F.defaultPrevented){const L=E().filter(N=>N.focusable),q=L.find(N=>N.active),U=L.find(N=>N.id===x),K=[q,U,...L].filter(Boolean).map(N=>N.ref.current);CI(K,y)}}P.current=!1}),onBlur:xe(e.onBlur,()=>T(!1))})})}),wI="RovingFocusGroupItem",SI=O.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,children:l,...c}=e,d=na(),f=o||d,y=Qme(wI,n),m=y.currentTabStopId===f,g=vI(n),{onFocusableItemAdd:b,onFocusableItemRemove:C,currentTabStopId:x}=y;return O.useEffect(()=>{if(r)return b(),()=>C()},[r,b,C]),p.jsx(TS.ItemSlot,{scope:n,id:f,focusable:r,active:a,children:p.jsx(De.span,{tabIndex:m?0:-1,"data-orientation":y.orientation,...c,ref:t,onMouseDown:xe(e.onMouseDown,w=>{r?y.onItemFocus(f):w.preventDefault()}),onFocus:xe(e.onFocus,()=>y.onItemFocus(f)),onKeyDown:xe(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){y.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const M=the(w,y.orientation,y.dir);if(M!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let j=g().filter(E=>E.focusable).map(E=>E.ref.current);if(M==="last")j.reverse();else if(M==="prev"||M==="next"){M==="prev"&&j.reverse();const E=j.indexOf(w.currentTarget);j=y.loop?nhe(j,E+1):j.slice(E+1)}setTimeout(()=>CI(j))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:x!=null}):l})})});SI.displayName=wI;var Jme={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ehe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function the(e,t,n){const r=ehe(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Jme[r]}function CI(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function nhe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var rhe=bI,ahe=SI,PS=["Enter"," "],ihe=["ArrowDown","PageUp","Home"],MI=["ArrowUp","PageDown","End"],ohe=[...ihe,...MI],she={ltr:[...PS,"ArrowRight"],rtl:[...PS,"ArrowLeft"]},lhe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nf="Menu",[Id,che,uhe]=my(nf),[ds,OI]=ua(nf,[uhe,ac,xI]),Cy=ac(),TI=xI(),[dhe,fs]=ds(nf),[fhe,rf]=ds(nf),PI=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:o,modal:l=!0}=e,c=Cy(t),[d,f]=O.useState(null),y=O.useRef(!1),m=Rr(o),g=py(a);return O.useEffect(()=>{const b=()=>{y.current=!0,document.addEventListener("pointerdown",C,{capture:!0,once:!0}),document.addEventListener("pointermove",C,{capture:!0,once:!0})},C=()=>y.current=!1;return document.addEventListener("keydown",b,{capture:!0}),()=>{document.removeEventListener("keydown",b,{capture:!0}),document.removeEventListener("pointerdown",C,{capture:!0}),document.removeEventListener("pointermove",C,{capture:!0})}},[]),p.jsx(GS,{...c,children:p.jsx(dhe,{scope:t,open:n,onOpenChange:m,content:d,onContentChange:f,children:p.jsx(fhe,{scope:t,onClose:O.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:y,dir:g,modal:l,children:r})})})};PI.displayName=nf;var phe="MenuAnchor",h3=O.forwardRef((e,t)=>
vendor: 13,532 bytes, line 640
640{const{__scopeMenu:n,...r}=e,a=Cy(n);return p.jsx(KS,{...a,...r,ref:t})});h3.displayName=phe;var y3="MenuPortal",[mhe,AI]=ds(y3,{forceMount:void 0}),jI=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:a}=e,o=fs(y3,t);return p.jsx(mhe,{scope:t,forceMount:n,children:p.jsx(fa,{present:n||o.open,children:p.jsx(Wd,{asChild:!0,container:a,children:r})})})};jI.displayName=y3;var vr="MenuContent",[hhe,g3]=ds(vr),EI=O.forwardRef((e,t)=>{const n=AI(vr,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,o=fs(vr,e.__scopeMenu),l=rf(vr,e.__scopeMenu);return p.jsx(Id.Provider,{scope:e.__scopeMenu,children:p.jsx(fa,{present:r||o.open,children:p.jsx(Id.Slot,{scope:e.__scopeMenu,children:l.modal?p.jsx(yhe,{...a,ref:t}):p.jsx(ghe,{...a,ref:t})})})})}),yhe=O.forwardRef((e,t)=>{const n=fs(vr,e.__scopeMenu),r=O.useRef(null),a=Ke(t,r);return O.useEffect(()=>{const o=r.current;if(o)return d3(o)},[]),p.jsx(v3,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:xe(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ghe=O.forwardRef((e,t)=>{const n=fs(vr,e.__scopeMenu);return p.jsx(v3,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),vhe=Uo("MenuContent.ScrollLock"),v3=O.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:f,onPointerDownOutside:y,onFocusOutside:m,onInteractOutside:g,onDismiss:b,disableOutsideScroll:C,...x}=e,w=fs(vr,n),M=rf(vr,n),T=Cy(n),j=TI(n),E=che(n),[P,k]=O.useState(null),A=O.useRef(null),D=Ke(t,A,w.onContentChange),I=O.useRef(0),F=O.useRef(""),L=O.useRef(0),q=O.useRef(null),U=O.useRef("right"),G=O.useRef(0),K=C?vy:O.Fragment,N=C?{as:vhe,allowPinchZoom:!0}:void 0,H=V=>{const oe=F.current+V,z=E().filter(ie=>!ie.disabled),Y=document.activeElement,Z=z.find(ie=>ie.ref.current===Y)?.textValue,J=z.map(ie=>ie.textValue),ce=Ehe(J,oe,Z),pe=z.find(ie=>ie.textValue===ce)?.ref.current;(function ie(he){F.current=he,window.clearTimeout(I.current),he!==""&&(I.current=window.setTimeout(()=>ie(""),1e3))})(oe),pe&&setTimeout(()=>pe.focus())};O.useEffect(()=>()=>window.clearTimeout(I.current),[]),u3();const $=O.useCallback(V=>U.current===q.current?.side&&_he(V,q.current?.area),[]);return p.jsx(hhe,{scope:n,searchRef:F,onItemEnter:O.useCallback(V=>{$(V)&&V.preventDefault()},[$]),onItemLeave:O.useCallback(V=>{$(V)||(A.current?.focus(),k(null))},[$]),onTriggerLeave:O.useCallback(V=>{$(V)&&V.preventDefault()},[$]),pointerGraceTimerRef:L,onPointerGraceIntentChange:O.useCallback(V=>{q.current=V},[]),children:p.jsx(K,{...N,children:p.jsx(yy,{asChild:!0,trapped:a,onMountAutoFocus:xe(o,V=>{V.preventDefault(),A.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:p.jsx(Hd,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:f,onPointerDownOutside:y,onFocusOutside:m,onInteractOutside:g,onDismiss:b,children:p.jsx(rhe,{asChild:!0,...j,dir:M.dir,orientation:"vertical",loop:r,currentTabStopId:P,onCurrentTabStopIdChange:k,onEntryFocus:xe(d,V=>{M.isUsingKeyboardRef.current||V.preventDefault()}),preventScrollOnEntryFocus:!0,children:p.jsx(YS,{role:"menu","aria-orientation":"vertical","data-state":GI(w.open),"data-radix-menu-content":"",dir:M.dir,...T,...x,ref:D,style:{outline:"none",...x.style},onKeyDown:xe(x.onKeyDown,V=>{const z=V.target.closest("[data-radix-menu-content]")===V.currentTarget,Y=V.ctrlKey||V.altKey||V.metaKey,Z=V.key.length===1;z&&(V.key==="Tab"&&V.preventDefault(),!Y&&Z&&H(V.key));const J=A.current;if(V.target!==J||!ohe.includes(V.key))return;V.preventDefault();const pe=E().filter(ie=>!ie.disabled).map(ie=>ie.ref.current);MI.includes(V.key)&&pe.reverse(),Ahe(pe)}),onBlur:xe(e.onBlur,V=>{V.currentTarget.contains(V.target)||(window.clearTimeout(I.current),F.current="")}),onPointerMove:xe(e.onPointerMove,Ld(V=>{const oe=V.target,z=G.current!==V.clientX;if(V.currentTarget.contains(oe)&&z){const Y=V.clientX>G.current?"right":"left";U.current=Y,G.current=V.clientX}}))})})})})})})});EI.displayName=vr;var xhe="MenuGroup",x3=O.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return p.jsx(De.div,{role:"group",...r,ref:t})});x3.displayName=xhe;var bhe="MenuLabel",kI=O.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return p.jsx(De.div,{...r,ref:t})});kI.displayName=bhe;var mh="MenuItem",z_="menu.itemSelect",My=O.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...a}=e,o=O.useRef(null),l=rf(mh,e.__scopeMenu),c=g3(mh,e.__scopeMenu),d=Ke(t,o),f=O.useRef(!1),y=()=>{const m=o.current;if(!n&&m){const g=new CustomEvent(z_,{bubbles:!0,cancelable:!0});m.addEventListener(z_,b=>r?.(b),{once:!0}),F4(m,g),g.defaultPrevented?f.current=!1:l.onClose()}};return p.jsx(_I,{...a,ref:d,disabled:n,onClick:xe(e.onClick,y),onPointerDown:m=>{e.onPointerDown?.(m),f.current=!0},onPointerUp:xe(e.onPointerUp,m=>{f.current||m.currentTarget?.click()}),onKeyDown:xe(e.onKeyDown,m=>{const g=c.searchRef.current!=="";n||g&&m.key===" "||PS.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});My.displayName=mh;var _I=O.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:a,...o}=e,l=g3(mh,n),c=TI(n),d=O.useRef(null),f=Ke(t,d),[y,m]=O.useState(!1),[g,b]=O.useState("");return O.useEffect(()=>{const C=d.current;C&&b((C.textContent??"").trim())},[o.children]),p.jsx(Id.ItemSlot,{scope:n,disabled:r,textValue:a??g,children:p.jsx(ahe,{asChild:!0,...c,focusable:!r,children:p.jsx(De.div,{role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:f,onPointerMove:xe(e.onPointerMove,Ld(C=>{r?l.onItemLeave(C):(l.onItemEnter(C),C.defaultPrevented||C.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:xe(e.onPointerLeave,Ld(C=>l.onItemLeave(C))),onFocus:xe(e.onFocus,()=>m(!0)),onBlur:xe(e.onBlur,()=>m(!1))})})})}),whe="MenuCheckboxItem",DI=O.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...a}=e;return p.jsx(zI,{scope:e.__scopeMenu,checked:n,children:p.jsx(My,{role:"menuitemcheckbox","aria-checked":hh(n)?"mixed":n,...a,ref:t,"data-state":w3(n),onSelect:xe(a.onSelect,()=>r?.(hh(n)?!0:!n),{checkForDefaultPrevented:!1})})})});DI.displayName=whe;var NI="MenuRadioGroup",[She,Che]=ds(NI,{value:void 0,onValueChange:()=>{}}),RI=O.forwardRef((e,t)=>{const{value:n,onValueChange:r,...a}=e,o=Rr(r);return p.jsx(She,{scope:e.__scopeMenu,value:n,onValueChange:o,children:p.jsx(x3,{...a,ref:t})})});RI.displayName=NI;var II="MenuRadioItem",LI=O.forwardRef((e,t)=>{const{value:n,...r}=e,a=Che(II,e.__scopeMenu),o=n===a.value;return p.jsx(zI,{scope:e.__scopeMenu,checked:o,children:p.jsx(My,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":w3(o),onSelect:xe(r.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});LI.displayName=II;var b3="MenuItemIndicator",[zI,Mhe]=ds(b3,{checked:!1}),BI=O.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...a}=e,o=Mhe(b3,n);return p.jsx(fa,{present:r||hh(o.checked)||o.checked===!0,children:p.jsx(De.span,{...a,ref:t,"data-state":w3(o.checked)})})});BI.displayName=b3;var Ohe="MenuSeparator",qI=O.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return p.jsx(De.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});qI.displayName=Ohe;var The="MenuArrow",$I=O.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,a=Cy(n);return p.jsx(VS,{...a,...r,ref:t})});$I.displayName=The;var Phe="MenuSub",[Mge,FI]=ds(Phe),Iu="MenuSubTrigger",HI=O.forwardRef((e,t)=>{const n=fs(Iu,e.__scopeMenu),r=rf(Iu,e.__scopeMenu),a=FI(Iu,e.__scopeMenu),o=g3(Iu,e.__scopeMenu),l=O.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=o,f={__scopeMenu:e.__scopeMenu},y=O.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return O.useEffect(()=>y,[y]),O.useEffect(()=>{const m=c.current;return()=>{window.clearTimeout(m),d(null)}},[c,d]),p.jsx(h3,{asChild:!0,...f,children:p.jsx(_I,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":a.contentId,"data-state":GI(n.open),...e,ref:Th(t,a.onTriggerChange),onClick:m=>{e.onClick?.(m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:xe(e.onPointerMove,Ld(m=>{o.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(o.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),y()},100))})),onPointerLeave:xe(e.onPointerLeave,Ld(m=>{y();const g=n.content?.getBoundingClientRect();if(g){const b=n.content?.dataset.side,C=b==="right",x=C?-5:5,w=g[C?"left":"right"],M=g[C?"right":"left"];o.onPointerGraceIntentChange({area:[{x:m.clientX+x,y:m.clientY},{x:w,y:g.top},{x:M,y:g.top},{x:M,y:g.bottom},{x:w,y:g.bottom}],side:b}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(m),m.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:xe(e.onKeyDown,m=>{const g=o.searchRef.current!=="";e.disabled||g&&m.key===" "||she[r.dir].includes(m.key)&&(n.onOpenChange(!0),n.content?.focus(),m.preventDefault())})})})});HI.displayName=Iu;var UI="MenuSubContent",WI=O.forwardRef((e,t)=>{const n=AI(vr,e.__scopeMenu),{forceMount:r=n.forceMount,...a}=e,o=fs(vr,e.__scopeMenu),l=rf(vr,e.__scopeMenu),c=FI(UI,e.__scopeMenu),d=O.useRef(null),f=Ke(t,d);return p.jsx(Id.Provider,{scope:e.__scopeMenu,children:p.jsx(fa,{present:r||o.open,children:p.jsx(Id.Slot,{scope:e.__scopeMenu,children:p.jsx(v3,{id:c.contentId,"aria-labelledby":c.triggerId,...a,ref:f,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:y=>{l.isUsingKeyboardRef.current&&d.current?.focus(),y.preventDefault()},onCloseAutoFocus:y=>y.preventDefault(),onFocusOutside:xe(e.onFocusOutside,y=>{y.target!==c.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:xe(e.onEscapeKeyDown,y=>{l.onClose(),y.preventDefault()}),onKeyDown:xe(e.onKeyDown,y=>{const m=y.currentTarget.contains(y.target),g=lhe[l.dir].includes(y.key);m&&g&&(o.onOpenChange(!1),c.trigger?.focus(),y.preventDefault())})})})})})});WI.displayName=UI;function GI(e){return e?"open":"closed"}function hh(e){return e==="indeterminate"}function w3(e){return hh(e)?"indeterminate":e?"checked":"unchecked"}function Ahe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function jhe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ehe(e,t,n){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let l=jhe(e,Math.max(o,0));a.length===1&&(l=l.filter(f=>f!==n));const d=l.find(f=>f.toLowerCase().startsWith(a.toLowerCase()));return d!==n?d:void 0}function khe(e,t){const{x:n,y:r}=e;let a=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const c=t[o],d=t[l],f=c.x,y=c.y,m=d.x,g=d.y;y>r!=g>r&&n<(m-f)*(r-y)/(g-y)+f&&(a=!a)}return a}function _he(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return khe(n,t)}function Ld(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Dhe=PI,Nhe=h3,Rhe=jI,Ihe=EI,Lhe=x3,zhe=kI,Bhe=My,qhe=DI,$he=RI,Fhe=LI,Hhe=BI,Uhe=qI,Whe=$I,Ghe=HI,Khe=WI,Oy="DropdownMenu",[Yhe]=ua(Oy,[OI]),wn=OI(),[Vhe,KI]=Yhe(Oy),YI=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:a,defaultOpen:o,onOpenChange:l,modal:c=!0}=e,d=wn(t),f=O.useRef(null),[y,m]=Go({prop:a,defaultProp:o??!1,onChange:l,caller:Oy});return p.jsx(Vhe,{scope:t,triggerId:na(),triggerRef:f,contentId:na(),open:y,onOpenChange:m,onOpenToggle:O.useCallback(()=>m(g=>!g),[m]),modal:c,children:p.jsx(Dhe,{...d,open:y,onOpenChange:m,dir:r,modal:c,children:n})})};YI.displayName=Oy;var VI="DropdownMenuTrigger",ZI=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...a}=e,o=KI(VI,n),l=wn(n);return p.jsx(Nhe,{asChild:!0,...l,children:p.jsx(De.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...a,ref:Th(t,o.triggerRef),onPointerDown:xe(e.onPointerDown,c=>{!r&&c.button===0&&c.ctrlKey===!1&&(o.onOpenToggle(),o.open||c.preventDefault())}),onKeyDown:xe(e.onKeyDown,c=>{r||(["Enter"," "].includes(c.key)&&o.onOpenToggle(),c.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});ZI.displayName=VI;var Zhe="DropdownMenuPortal",QI=e=>{const{__scopeDropdownMenu:t,...n}=e,r=wn(t);return p.jsx(Rhe,{...r,...n})};QI.displayName=Zhe;var XI="DropdownMenuContent",JI=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=KI(XI,n),o=wn(n),l=O.useRef(!1);return p.jsx(Ihe,{id:a.contentId,"aria-labelledby":a.triggerId,...o,...r,ref:t,onCloseAutoFocus:xe(e.onCloseAutoFocus,c=>{l.current||a.triggerRef.current?.focus(),l.current=!1,c.preventDefault()}),onInteractOutside:xe(e.onInteractOutside,c=>{const d=c.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0,y=d.button===2||f;(!a.modal||y)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});JI.displayName=XI;var Qhe="DropdownMenuGroup",Xhe=O.forwardRef((e,t)=>
640{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Lhe,{...a,...r,ref:t})});Xhe.displayName=Qhe;var Jhe="DropdownMenuLabel",eye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(zhe,{...a,...r,ref:t})});eye.displayName=Jhe;var tye="DropdownMenuItem",eL=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Bhe,{...a,...r,ref:t})});eL.displayName=tye;var nye="DropdownMenuCheckboxItem",rye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(qhe,{...a,...r,ref:t})});rye.displayName=nye;var aye="DropdownMenuRadioGroup",iye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx($he,{...a,...r,ref:t})});iye.displayName=aye;var oye="DropdownMenuRadioItem",sye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Fhe,{...a,...r,ref:t})});sye.displayName=oye;var lye="DropdownMenuItemIndicator",cye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Hhe,{...a,...r,ref:t})});cye.displayName=lye;var uye="DropdownMenuSeparator",dye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Uhe,{...a,...r,ref:t})});dye.displayName=uye;var fye="DropdownMenuArrow",pye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Whe,{...a,...r,ref:t})});pye.displayName=fye;var mye="DropdownMenuSubTrigger",hye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Ghe,{...a,...r,ref:t})});hye.displayName=mye;var yye="DropdownMenuSubContent",gye=O.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,a=wn(n);return p.jsx(Khe,{...a,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});
vendor: 9,739 bytes, lines 640-644
640gye.displayName=yye;var vye=YI,xye=ZI,bye=QI,wye=JI,Sye=eL;function Cye({...e}){return p.jsx(vye,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:10","data-slot":"dropdown-menu",...e})}function Mye({...e}){return p.jsx(xye,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:25","data-slot":"dropdown-menu-trigger",...e})}function Oye({className:e,sideOffset:t=4,...n}){return p.jsx(bye,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:38",children:p.jsx(wye,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:39","data-slot":"dropdown-menu-content",sideOffset:t,className:Ee("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...n})})}function Tye({className:e,inset:t,variant:n="default",...r}){return p.jsx(Sye,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:70","data-slot":"dropdown-menu-item","data-inset":t,"data-variant":n,className:Ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}var Ty="Dialog",[tL]=ua(Ty),[Pye,$r]=tL(Ty),nL=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:l=!0}=e,c=O.useRef(null),d=O.useRef(null),[f,y]=Go({prop:r,defaultProp:a??!1,onChange:o,caller:Ty});return p.jsx(Pye,{scope:t,triggerRef:c,contentRef:d,contentId:na(),titleId:na(),descriptionId:na(),open:f,onOpenChange:y,onOpenToggle:O.useCallback(()=>y(m=>!m),[y]),modal:l,children:n})};nL.displayName=Ty;var rL="DialogTrigger",Aye=O.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=$r(rL,n),o=Ke(t,a.triggerRef);return p.jsx(De.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":M3(a.open),...r,ref:o,onClick:xe(e.onClick,a.onOpenToggle)})});Aye.displayName=rL;var S3="DialogPortal",[jye,aL]=tL(S3,{forceMount:void 0}),iL=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=$r(S3,t);return p.jsx(jye,{scope:t,forceMount:n,children:O.Children.map(r,l=>p.jsx(fa,{present:n||o.open,children:p.jsx(Wd,{asChild:!0,container:a,children:l})}))})};iL.displayName=S3;var yh="DialogOverlay",oL=O.forwardRef((e,t)=>{const n=aL(yh,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=$r(yh,e.__scopeDialog);return o.modal?p.jsx(fa,{present:r||o.open,children:p.jsx(kye,{...a,ref:t})}):null});oL.displayName=yh;var Eye=Uo("DialogOverlay.RemoveScroll"),kye=O.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=$r(yh,n);return p.jsx(vy,{as:Eye,allowPinchZoom:!0,shards:[a.contentRef],children:p.jsx(De.div,{"data-state":M3(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ts="DialogContent",sL=O.forwardRef((e,t)=>{const n=aL(ts,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=$r(ts,e.__scopeDialog);return p.jsx(fa,{present:r||o.open,children:o.modal?p.jsx(_ye,{...a,ref:t}):p.jsx(Dye,{...a,ref:t})})});sL.displayName=ts;var _ye=O.forwardRef((e,t)=>{const n=$r(ts,e.__scopeDialog),r=O.useRef(null),a=Ke(t,n.contentRef,r);return O.useEffect(()=>{const o=r.current;if(o)return d3(o)},[]),p.jsx(lL,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,o=>{o.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&o.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,o=>o.preventDefault())})}),Dye=O.forwardRef((e,t)=>{const n=$r(ts,e.__scopeDialog),r=O.useRef(!1),a=O.useRef(!1);return p.jsx(lL,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{e.onCloseAutoFocus?.(o),o.defaultPrevented||(r.current||n.triggerRef.current?.focus(),o.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:o=>{e.onInteractOutside?.(o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const l=o.target;n.triggerRef.current?.contains(l)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}})}),lL=O.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,...l}=e,c=$r(ts,n),d=O.useRef(null),f=Ke(t,d);return u3(),p.jsxs(p.Fragment,{children:[p.jsx(yy,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:p.jsx(Hd,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":M3(c.open),...l,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),p.jsxs(p.Fragment,{children:[p.jsx(Nye,{titleId:c.titleId}),p.jsx(Iye,{contentRef:d,descriptionId:c.descriptionId})]})]})}),C3="DialogTitle",cL=O.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=$r(C3,n);return p.jsx(De.h2,{id:a.titleId,...r,ref:t})});cL.displayName=C3;var uL="DialogDescription",dL=O.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=$r(uL,n);return p.jsx(De.p,{id:a.descriptionId,...r,ref:t})});dL.displayName=uL;var fL="DialogClose",pL=O.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=$r(fL,n);return p.jsx(De.button,{type:"button",...r,ref:t,onClick:xe(e.onClick,()=>a.onOpenChange(!1))})});pL.displayName=fL;function M3(e){return e?"open":"closed"}var mL="DialogTitleWarning",[Oge,hL]=oH(mL,{contentName:ts,titleName:C3,docsSlug:"dialog"}),Nye=({titleId:e})=>{const t=hL(mL),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 641 642If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 643 644For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return O.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Rye="DialogDescriptionWarning",Iye=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${hL(Rye).contentName}}.`;return O.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Lye=nL,zye=iL,Bye=oL,qye=sL,$ye=cL,Fye=dL,Hye=pL;O.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}});function Uye({...e}){return p.jsx(Lye,{"data-loc":"client/src/components/ui/sheet.tsx:10","data-slot":"sheet",...e})}function Wye({...e}){return p.jsx(zye,{"data-loc":"client/src/components/ui/sheet.tsx:28","data-slot":"sheet-portal",...e})}function Gye({className:e,...t}){return p.jsx(Bye,{"data-loc":"client/src/components/ui/sheet.tsx:36","data-slot":"sheet-overlay",className:Ee("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function Kye({className:e,children:t,side:n="right",...r}){return p.jsxs(Wye,{"data-loc":"client/src/components/ui/sheet.tsx:56",children:[p.jsx(Gye,{"data-loc":"client/src/components/ui/sheet.tsx:57"}),p.jsxs(qye,{"data-loc":"client/src/components/ui/sheet.tsx:58","data-slot":"sheet-content",className:Ee("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,p.jsxs(Hye,{"data-loc":"client/src/components/ui/sheet.tsx:75",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[p.jsx(dc,{"data-loc":"client/src/components/ui/sheet.tsx:76",className:"size-4"}),p.jsx("span",{"data-loc":"client/src/components/ui/sheet.tsx:77",className:"sr-only",children:"Close"})]})]})]})}function Yye({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/sheet.tsx:86","data-slot":"sheet-header",className:Ee("flex flex-col gap-1.5 p-4",e),...t})}function Vye({className:e,...t}){return p.jsx($ye,{"data-loc":"client/src/components/ui/sheet.tsx:109","data-slot":"sheet-title",className:Ee("text-foreground font-semibold",e),...t})}function Zye({className:e,...t}){return p.jsx(Fye,{"data-loc":"client/src/components/ui/sheet.tsx:122","data-slot":"sheet-
644description",className:Ee("text-muted-foreground text-sm",e),...t})}function Gn({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/skeleton.tsx:5","data-slot":"skeleton",className:Ee("bg-accent animate-pulse rounded-md",e),...t})}const vw=768;function yL(){const[e,t]=O.useState(void 0);return O.useEffect(()=>{const n=window.matchMedia(`(max-width: ${vw-1}px)`),r=()=>{t(window.innerWidth<vw)};return n.addEventListener("change",r),t(window.innerWidth<vw),()=>n.removeEventListener("change",r)},[]),!!e}const Qye="sidebar_state",Xye=3600*24*7,Jye="16rem",ege="18rem",tge="3rem",nge="b",gL=O.createContext(null);function Py(){const e=O.useContext(gL);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function rge({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:a,children:o,...l}){const c=yL(),[d,f]=O.useState(!1),[y,m]=O.useState(e),g=t??y,b=O.useCallback(M=>{const T=typeof M=="function"?M(g):M;n?n(T):m(T),document.cookie=`${Qye}=${T}; path=/; max-age=${Xye}`},[n,g]),C=O.useCallback(()=>c?f(M=>!M):b(M=>!M),[c,b,f]);O.useEffect(()=>{const M=T=>{T.key===nge&&(T.metaKey||T.ctrlKey)&&(T.preventDefault(),C())};return window.addEventListener("keydown",M),()=>window.removeEventListener("keydown",M)},[C]);const x=g?"expanded":"collapsed",w=O.useMemo(()=>({state:x,open:g,setOpen:b,isMobile:c,openMobile:d,setOpenMobile:f,toggleSidebar:C}),[x,g,b,c,d,f,C]);return p.jsx(gL.Provider,{"data-loc":"client/src/components/ui/sidebar.tsx:129",value:w,children:p.jsx(JS,{"data-loc":"client/src/components/ui/sidebar.tsx:130",delayDuration:0,children:p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:131","data-slot":"sidebar-wrapper",style:{"--sidebar-width":Jye,"--sidebar-width-icon":tge,...a},className:Ee("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",r),...l,children:o})})})}function age({side:e="left",variant:t="sidebar",collapsible:n="offcanvas",disableTransition:r=!1,className:a,children:o,...l}){const{isMobile:c,state:d,openMobile:f,setOpenMobile:y}=Py();return n==="none"?p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:171","data-slot":"sidebar",className:Ee("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",a),...l,children:o}):c?p.jsx(Uye,{"data-loc":"client/src/components/ui/sidebar.tsx:186",open:f,onOpenChange:y,...l,children:p.jsxs(Kye,{"data-loc":"client/src/components/ui/sidebar.tsx:187","data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":ege},side:e,children:[p.jsxs(Yye,{"data-loc":"client/src/components/ui/sidebar.tsx:199",className:"sr-only",children:[p.jsx(Vye,{"data-loc":"client/src/components/ui/sidebar.tsx:200",children:"Sidebar"}),p.jsx(Zye,{"data-loc":"client/src/components/ui/sidebar.tsx:201",children:"Displays the mobile sidebar."})]}),p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:203",className:"flex h-full w-full flex-col",children:o})]})}):p.jsxs("div",{"data-loc":"client/src/components/ui/sidebar.tsx:210",className:"group peer text-sidebar-foreground hidden md:block","data-state":d,"data-collapsible":d==="collapsed"?n:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:219","data-slot":"sidebar-gap",className:Ee("relative w-(--sidebar-width) bg-transparent",r?"transition-none":"transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:233","data-slot":"sidebar-container",className:Ee("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) md:flex",r?"transition-none":"transition-[left,right,width] duration-200 ease-linear",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",a),...l,children:p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:251","data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:o})})]})}function ige({className:e,onClick:t,...n}){const{toggleSidebar:r}=Py();return p.jsxs(Ia,{"data-loc":"client/src/components/ui/sidebar.tsx:271","data-sidebar":"trigger","data-slot":"sidebar-tr
644igger",variant:"ghost",size:"icon",className:Ee("size-7",e),onClick:a=>{t?.(a),r()},...n,children:[p.jsx(BD,{"data-loc":"client/src/components/ui/sidebar.tsx:283"}),p.jsx("span",{"data-loc":"client/src/components/ui/sidebar.tsx:284",className:"sr-only",children:"Toggle Sidebar"})]})}function oge({className:e,...t}){return p.jsx("main",{"data-loc":"client/src/components/ui/sidebar.tsx:316","data-slot":"sidebar-inset",className:Ee("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function sge({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:344","data-slot":"sidebar-header","data-sidebar":"header",className:Ee("flex flex-col gap-2 p-2",e),...t})}function lge({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:355","data-slot":"sidebar-footer","data-sidebar":"footer",className:Ee("flex flex-col gap-2 p-2",e),...t})}function cge({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:380","data-slot":"sidebar-content","data-sidebar":"content",className:Ee("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function uge({className:e,...t}){return p.jsx("ul",{"data-loc":"client/src/components/ui/sidebar.tsx:463","data-slot":"sidebar-menu","data-sidebar":"menu",className:Ee("flex w-full min-w-0 flex-col gap-1",e),...t})}function dge({className:e,...t}){return p.jsx("li",{"data-loc":"client/src/components/ui/sidebar.tsx:474","data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:Ee("group/menu-item relative",e),...t})}const fge=eC("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function pge({asChild:e=!1,isActive:t=!1,variant:n="default",size:r="default",tooltip:a,className:o,...l}){const c=e?LS:"button",{isMobile:d,state:f}=Py(),y=p.jsx(c,{"data-loc":"client/src/components/ui/sidebar.tsx:522","data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":r,"data-active":t,className:Ee(fge({variant:n,size:r}),o),...l});return a?(typeof a=="string"&&(a={children:a}),p.jsxs(XW,{"data-loc":"client/src/components/ui/sidebar.tsx:543",children:[p.jsx(JW,{"data-loc":"client/src/components/ui/sidebar.tsx:544",asChild:!0,children:y}),p.jsx(eG,{"data-loc":"client/src/components/ui/sidebar.tsx:545",side:"right",align:"center",hidden:f!=="collapsed"||d,...a})]})):y}function mge(){return p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:5",className:"flex min-h-screen bg-background",children:[p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:7",className:"w-[280px] border-r border-border bg-background p-4 space-y-6",children:[p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:9",className:"flex items-center gap-3 px-2",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:10",className:"h-8 w-8 rounded-md"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:11",className:"h-4 w-24"})]}),p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:15",className:"space-y-2 px-2",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:16",className:"h-10 w-full rounded-lg"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:17",className:"h-10 w-full rounded-lg"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:18",className:"h-10 w-full rounded-lg"})]}),p.jsx("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:22",className:"absolute bottom-4 left-4 right-4",children:p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:23",className:"flex items-center gap-3 px-1",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:24",className:"h-9 w-9 rounded-full"}),p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:25",className:"flex-1 space-y-2",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:26",className:"h-3 w-20"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:27",className:"h-2 w-32"})]})]})})]}),p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:34",className:"flex-1 p-4 space-y-4",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:36",className:"h-12 w-48 rounded-lg"}),p.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:37",className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:[p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:38",className:"h-32 rounded-xl"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:39",className:"h-32 rounded-xl"}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:40",className:"h-32 rounded-xl"})]}),p.jsx(Gn,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:42",className:"h-64 roun
644ded-xl"})]})]})}const B_=[{icon:vG,label:"Page 1",path:"/"},{icon:qD,label:"Page 2",path:"/some-path"}],q_="sidebar-width",hge=280,yge=200,gge=480;function vge({children:e}){const[t,n]=O.useState(()=>{const o=localStorage.getItem(q_);return o?parseInt(o,10):hge}),{loading:r,user:a}=fI();return O.useEffect(()=>{localStorage.setItem(q_,t.toString())},[t]),r?p.jsx(mge,{"data-loc":"client/src/components/DashboardLayout.tsx:56"}):a?p.jsx(rge,{"data-loc":"client/src/components/DashboardLayout.tsx:86",style:{"--sidebar-width":`${t}px`},children:p.jsx(xge,{"data-loc":"client/src/components/DashboardLayout.tsx:93",setSidebarWidth:n,children:e})}):p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:61",className:"flex items-center justify-center min-h-screen",children:p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:62",className:"flex flex-col items-center gap-8 p-8 max-w-md w-full",children:[p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:63",className:"flex flex-col items-center gap-6",children:[p.jsx("h1",{"data-loc":"client/src/components/DashboardLayout.tsx:64",className:"text-2xl font-semibold tracking-tight text-center",children:"Sign in to continue"}),p.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:67",className:"text-sm text-muted-foreground text-center max-w-sm",children:"Access to this dashboard requires authentication. Continue to launch the login flow."})]}),p.jsx(Ia,{"data-loc":"client/src/components/DashboardLayout.tsx:71",onClick:()=>{window.location.href=p3()},size:"lg",className:"w-full shadow-lg hover:shadow-xl transition-all",children:"Sign in"})]})})}function xge({children:e,setSidebarWidth:t}){const{user:n,logout:r}=fI(),[a,o]=VD(),{state:l,toggleSidebar:c}=Py(),d=l==="collapsed",[f,y]=O.useState(!1),m=O.useRef(null),g=B_.find(C=>C.path===a),b=yL();return O.useEffect(()=>{d&&y(!1)},[d]),O.useEffect(()=>{const C=w=>{if(!f)return;const M=m.current?.getBoundingClientRect().left??0,T=w.clientX-M;T>=yge&&T<=gge&&t(T)},x=()=>{y(!1)};return f&&(document.addEventListener("mousemove",C),document.addEventListener("mouseup",x),document.body.style.cursor="col-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",x),document.body.style.cursor="",document.body.style.userSelect=""}},[f,t]),p.jsxs(p.Fragment,{children:[p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:156",className:"relative",ref:m,children:[p.jsxs(age,{"data-loc":"client/src/components/DashboardLayout.tsx:157",collapsible:"icon",className:"border-r-0",disableTransition:f,children:[p.jsx(sge,{"data-loc":"client/src/components/DashboardLayout.tsx:162",className:"h-16 justify-center",children:p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:163",className:"flex items-center gap-3 px-2 transition-all w-full",children:[p.jsx("button",{"data-loc":"client/src/components/DashboardLayout.tsx:164",onClick:c,className:"h-8 w-8 flex items-center justify-center hover:bg-accent rounded-lg transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring shrink-0","aria-label":"Toggle navigation",children:p.jsx(BD,{"data-loc":"client/src/components/DashboardLayout.tsx:169",className:"h-4 w-4 text-muted-foreground"})}),d?null:p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:172",className:"flex items-center gap-2 min-w-0",children:p.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:173",className:"font-semibold tracking-tight truncate",children:"Navigation"})})]})}),p.jsx(cge,{"data-loc":"client/src/components/DashboardLayout.tsx:181",className:"gap-0",children:p.jsx(uge,{"data-loc":"client/src/components/DashboardLayout.tsx:182",className:"px-2 py-1",children:B_.map(C=>{const x=a===C.path;return p.jsx(dge,{"data-loc":"client/src/components/DashboardLayout.tsx:186",children:p.jsxs(pge,{"data-loc":"client/src/components/DashboardLayout.tsx:187",isActive:x,onClick:()=>o(C.path),tooltip:C.label,className:"h-10 transition-all font-normal",children:[p.jsx(C.icon,{"data-loc":"client/src/components/DashboardLayout.t
644sx:193",className:`h-4 w-4 ${x?"text-primary":""}`}),p.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:196",children:C.label})]})},C.path)})})}),p.jsx(lge,{"data-loc":"client/src/components/DashboardLayout.tsx:204",className:"p-3",children:p.jsxs(Cye,{"data-loc":"client/src/components/DashboardLayout.tsx:205",children:[p.jsx(Mye,{"data-loc":"client/src/components/DashboardLayout.tsx:206",asChild:!0,children:p.jsxs("button",{"data-loc":"client/src/components/DashboardLayout.tsx:207",className:"flex items-center gap-3 rounded-lg px-1 py-1 hover:bg-accent/50 transition-colors w-full text-left group-data-[collapsible=icon]:justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[p.jsx(Wme,{"data-loc":"client/src/components/DashboardLayout.tsx:208",className:"h-9 w-9 border shrink-0",children:p.jsx(Gme,{"data-loc":"client/src/components/DashboardLayout.tsx:209",className:"text-xs font-medium",children:n?.name?.charAt(0).toUpperCase()})}),p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:213",className:"flex-1 min-w-0 group-data-[collapsible=icon]:hidden",children:[p.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:214",className:"text-sm font-medium truncate leading-none",children:n?.name||"-"}),p.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:217",className:"text-xs text-muted-foreground truncate mt-1.5",children:n?.email||"-"})]})]})}),p.jsx(Oye,{"data-loc":"client/src/components/DashboardLayout.tsx:223",align:"end",className:"w-48",children:p.jsxs(Tye,{"data-loc":"client/src/components/DashboardLayout.tsx:224",onClick:r,className:"cursor-pointer text-destructive focus:text-destructive",children:[p.jsx(bG,{"data-loc":"client/src/components/DashboardLayout.tsx:228",className:"mr-2 h-4 w-4"}),p.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:229",children:"Sign out"})]})})]})})]}),p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:235",className:`absolute top-0 right-0 w-1 h-full cursor-col-resize hover:bg-primary/20 transition-colors ${d?"hidden":""}`,onMouseDown:()=>{d||y(!0)},style:{zIndex:50}})]}),p.jsxs(oge,{"data-loc":"client/src/components/DashboardLayout.tsx:245",children:[b&&p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:247",className:"flex border-b h-14 items-center justify-between bg-background/95 px-2 backdrop-blur supports-[backdrop-filter]:backdrop-blur sticky top-0 z-40",children:p.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:248",className:"flex items-center gap-2",children:[p.jsx(ige,{"data-loc":"client/src/components/DashboardLayout.tsx:249",className:"h-9 w-9 rounded-lg bg-background"}),p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:250",className:"flex items-center gap-3",children:p.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:251",className:"flex flex-col gap-1",children:p.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:252",className:"tracking-tight text-foreground",children:g?.label??"Menu"})})})]})}),p.jsx("main",{"data-loc":"client/src/components/DashboardLayout.tsx:260",className:"flex-1 p-4",children:e})]})]})}function bge(){return p.jsxs(nK,{"data-loc":"client/src/App.tsx:14",children:[p.jsx(jp,{"data-loc":"client/src/App.tsx:15",path:"/",component:Hde}),p.jsx(jp,{"data-loc":"client/src/App.tsx:16",path:"/admin/leads",component:()=>p.jsx(vge,{"data-loc":"client/src/App.tsx:17",children:p.jsx(Ime,{"data-loc":"client/src/App.tsx:18"})})}),p.jsx(jp,{"data-loc":"client/src/App.tsx:21",path:"/404",component:SP}),p.jsx(jp,{"data-loc":"client/src/App.tsx:23",component:SP})]})}function wge(){return p.jsx(rK,{"data-loc":"client/src/App.tsx:35",children:p.jsx(iK,{"data-loc":"client/src/App.tsx:36",defaultTheme:"light",children:p.jsxs(JS,{"data-loc":"client/src/App.tsx:40",children:[p.jsx(iH,{"data-loc":"client/src/App.tsx:41"}),p.jsx(bge,{"data-loc":"client/src/App.tsx:42"})]})})})}const gh=new iq,vL=e=>{!(e instanceof Pl)||typeof window>"u"||!(e.message===F$)||(window.location.href=p3())};gh.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;vL(t),console.error("[API Query Error]",t)}});gh.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;vL(t),console.error("[API Mutation Error]",t)}});const Sge=bt.createClient({links:[h$({url:"/api/trpc",transformer:Qa,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});Y$.createRoot(document.getElementById("root")).render(p.jsx(bt.Provider,{"data-loc":"client/src/main.tsx:56",client:Sge,queryClient:gh,children:p.jsx(sq,{"data-loc":"client/src/main.tsx:57",client:gh,children:p.jsx(wge,{"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.