PageSourceSearch

https://probabli.ai/assets/index-DY6I441a.js

js probabli.ai collected 2026-10-05 12:31:15 UTC 387,252 bytes, 53 lines download raw bytes

vendor: 6,834 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-Xim8QfQB.js","assets/useSEO-Dpipbavk.js","assets/badge-Bum7IuVy.js","assets/card-D8VNntlu.js","assets/AppHeader-Bonhljm0.js","assets/SettingsPanel-DtShW_-1.js","assets/user-CkCFhRXY.js","assets/settings-CcuEOQUZ.js","assets/index-CQTHxEk6.js","assets/building-2-BzPuAdH8.js","assets/SiteFooter-QvRfh4dJ.js","assets/StockLogo-C9IIlLNb.js","assets/arrow-right-DGxaD8Hl.js","assets/flame-Km6HU55n.js","assets/arrow-up-right-CzHxRT5d.js","assets/AdSlot-DHzzlB_y.js","assets/PageGuide-C-tseYOa.js","assets/chevron-up-Bu9UxQmC.js","assets/ProbabliPromoPanel-BZFIdHpI.js","assets/chart-no-axes-column-C2I41fdK.js","assets/activity-JR0CiaYE.js","assets/square-pen-CpF0pK3b.js","assets/ReplitReferralBanner-DufQnlts.js","assets/star-BFMOAkG3.js","assets/refresh-cw-BbOSQnbJ.js","assets/StockDashboard-hRQRS3xV.js","assets/useMutation-BiL09j1s.js","assets/tabs-D_3IwN1x.js","assets/textarea-CI92tdPl.js","assets/select-DVHowpTp.js","assets/index-BdQq_4o_.js","assets/index-BPl-qxzw.js","assets/TickerTape-m1ExXtl9.js","assets/technicals-DR9QQsSZ.js","assets/generateCategoricalChart-BZHQ8vUp.js","assets/Area-DhtTNtx9.js","assets/Line-C0PD4MMh.js","assets/CartesianGrid-BN_bMwzd.js","assets/brain-BqYvlkP2.js","assets/lock-Lv24wia1.js","assets/index-BMzKQOpX.js","assets/copy-DrmsAW1h.js","assets/users-zhzk76kS.js","assets/triangle-alert-ChtqiebJ.js","assets/LineChart-CxhTnVv-.js","assets/stockLandingPages-adBTLWS_.js","assets/dollar-sign-C7u8unUV.js","assets/arrow-left-KRZN61vW.js","assets/share-2-DG4ah3CR.js","assets/target-DX6fJoRB.js","assets/BarChart-CmfMzPKl.js","assets/plus-COSY8GCc.js","assets/award-DP8Ic0sa.js","assets/thumbs-up-B2YdRzAE.js","assets/square-BUQCC-59.js","assets/send-_FOqZrIi.js","assets/BondsPage-0-Sd_-9N.js","assets/ToolPageSEOSection-vv9ijBYg.js","assets/toolPageSeoContent-BZqw69qG.js","assets/bondCatalog-DF54zci7.js","assets/rotate-cw-DRjdZ3hb.js","assets/BondDetailPage-DDoYpMzL.js","assets/shield-alert-BtoXe8Nl.js","assets/TreasuryBondDetailPage-BkSVXQ7u.js","assets/CongressTrades-8ePfNJ8W.js","assets/arrow-up-down-7fzTwFpy.js","assets/SocialPulse-B7sc-8kB.js","assets/InstitutionalHoldings-DnUimBsZ.js","assets/switch-CcPS9lzj.js","assets/database-CYd8cWNI.js","assets/StreamOverlay-DOhAsgVy.js","assets/chart-line-Cx5oHpye.js","assets/AreaChart-PEP4jCdi.js","assets/image-C09br3W0.js","assets/message-circle-BpvdDTmz.js","assets/mail-C--zCX8M.js","assets/PortfolioBuilder-Uj6-uIQF.js","assets/holdingsStorage-C5edC-iA.js","assets/pencil-DTVvB1oC.js","assets/trash-2-MZ0Q4Sel.js","assets/circle-check-DBxUUFbV.js","assets/EarningsCalendar-CbnxV1Rv.js","assets/skeleton-xHBXWl9R.js","assets/EarningsPage-S_Pchrxm.js","assets/Contact-DzwEUKRW.js","assets/label-3Fo1JYec.js","assets/PrivacyPolicy-BhBWqpNP.js","assets/TermsOfService-BMQhmhGg.js","assets/About-D0wk97pd.js","assets/UserProfile-CyyplHiT.js","assets/ProfileSettings-Dw5urt1D.js","assets/Messages-D4n0rYQ2.js","assets/Feed-j4byoRLb.js","assets/useArticleAudio-Bs_jsN3r.js","assets/GlobePanel-CrCffAYo.js","assets/OnlineNowPanel-BPjMP-2_.js","assets/popover-Q8GI-6G3.js","assets/pen-line-BDp7__pq.js","assets/Resources-W84ULcwC.js","assets/MacroDashboard-BOopGSls.js","assets/DividendsPage-CTiT5But.js","assets/InsiderPage-B9PQfBSU.js","assets/SearchPage-ChOILClO.js","assets/ArticlePage-CFuGJbo1.js","assets/ArticlesPage-CGxNtJxw.js","assets/AIChat-CY0sO12R.js","assets/SectorHub-CsdGZee_.js","assets/not-found-BvlFcz91.js","assets/shopping-cart-K6zC4RnU.js","assets/StocksIndex-CiZvsgwe.js","assets/Methodology-BPr9OGVf.js","assets/ForecastAccuracy-B2phJylr.js","assets/StockLandingPage-Cdi3DqwM.js"])))=>i.map(i=>d[i]);
2function z0(n,r){for(var s=0;s<r.length;s++){const a=r[s];if(typeof a!="string"&&!Array.isArray(a)){for(const l in a)if(l!=="default"&&!(l in n)){const c=Object.getOwnPropertyDescriptor(a,l);c&&Object.defineProperty(n,l,c.get?c:{enumerable:!0,get:()=>a[l]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))a(l);new MutationObserver(l=>{for(const c of l)if(c.type==="childList")for(const h of c.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&a(h)}).observe(document,{childList:!0,subtree:!0});function s(l){const c={};return l.integrity&&(c.integrity=l.integrity),l.referrerPolicy&&(c.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?c.credentials="include":l.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(l){if(l.ep)return;l.ep=!0;const c=s(l);fetch(l.href,c)}})();var w2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ih(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Bl={exports:{}},jo={},Hl={exports:{}},Ee={};var bp;function F0(){if(bp)return Ee;bp=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),w=Symbol.iterator;function S(_){return _===null||typeof _!="object"?null:(_=w&&_[w]||_["@@iterator"],typeof _=="function"?_:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,b={};function k(_,R,Q){this.props=_,this.context=R,this.refs=b,this.updater=Q||P}k.prototype.isReactComponent={},k.prototype.setState=function(_,R){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,R,"setState")},k.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function j(){}j.prototype=k.prototype;function M(_,R,Q){this.props=_,this.context=R,this.refs=b,this.updater=Q||P}var I=M.prototype=new j;I.constructor=M,C(I,k.prototype),I.isPureReactComponent=!0;var L=Array.isArray,F=Object.prototype.hasOwnProperty,U={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function Z(_,R,Q){var X,K={},ne=null,ae=null;if(R!=null)for(X in R.ref!==void 0&&(ae=R.ref),R.key!==void 0&&(ne=""+R.key),R)F.call(R,X)&&!$.hasOwnProperty(X)&&(K[X]=R[X]);var he=arguments.length-2;if(he===1)K.children=Q;else if(1<he){for(var xe=Array(he),$e=0;$e<he;$e++)xe[$e]=arguments[$e+2];K.children=xe}if(_&&_.defaultProps)for(X in he=_.defaultProps,he)K[X]===void 0&&(K[X]=he[X]);
vendor: 10,632 bytes, line 2
2return{$$typeof:n,type:_,key:ne,ref:ae,props:K,_owner:U.current}}function ie(_,R){return{$$typeof:n,type:_.type,key:R,ref:_.ref,props:_.props,_owner:_._owner}}function le(_){return typeof _=="object"&&_!==null&&_.$$typeof===n}function ge(_){var R={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(Q){return R[Q]})}var oe=/\/+/g;function ve(_,R){return typeof _=="object"&&_!==null&&_.key!=null?ge(""+_.key):R.toString(36)}function Y(_,R,Q,X,K){var ne=typeof _;(ne==="undefined"||ne==="boolean")&&(_=null);var ae=!1;if(_===null)ae=!0;else switch(ne){case"string":case"number":ae=!0;break;case"object":switch(_.$$typeof){case n:case r:ae=!0}}if(ae)return ae=_,K=K(ae),_=X===""?"."+ve(ae,0):X,L(K)?(Q="",_!=null&&(Q=_.replace(oe,"$&/")+"/"),Y(K,R,Q,"",function($e){return $e})):K!=null&&(le(K)&&(K=ie(K,Q+(!K.key||ae&&ae.key===K.key?"":(""+K.key).replace(oe,"$&/")+"/")+_)),R.push(K)),1;if(ae=0,X=X===""?".":X+":",L(_))for(var he=0;he<_.length;he++){ne=_[he];var xe=X+ve(ne,he);ae+=Y(ne,R,Q,xe,K)}else if(xe=S(_),typeof xe=="function")for(_=xe.call(_),he=0;!(ne=_.next()).done;)ne=ne.value,xe=X+ve(ne,he++),ae+=Y(ne,R,Q,xe,K);else if(ne==="object")throw R=String(_),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.");return ae}function ye(_,R,Q){if(_==null)return _;var X=[],K=0;return Y(_,X,"","",function(ne){return R.call(Q,ne,K++)}),X}function ce(_){if(_._status===-1){var R=_._result;R=R(),R.then(function(Q){(_._status===0||_._status===-1)&&(_._status=1,_._result=Q)},function(Q){(_._status===0||_._status===-1)&&(_._status=2,_._result=Q)}),_._status===-1&&(_._status=0,_._result=R)}if(_._status===1)return _._result.default;throw _._result}var ue={current:null},z={transition:null},q={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:z,ReactCurrentOwner:U};function G(){throw Error("act(...) is not supported in production builds of React.")}return Ee.Children={map:ye,forEach:function(_,R,Q){ye(_,function(){R.apply(this,arguments)},Q)},count:function(_){var R=0;return ye(_,function(){R++}),R},toArray:function(_){return ye(_,function(R){return R})||[]},only:function(_){if(!le(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},Ee.Component=k,Ee.Fragment=s,Ee.Profiler=l,Ee.PureComponent=M,Ee.StrictMode=a,Ee.Suspense=g,Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,Ee.act=G,Ee.cloneElement=function(_,R,Q){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var X=C({},_.props),K=_.key,ne=_.ref,ae=_._owner;if(R!=null){if(R.ref!==void 0&&(ne=R.ref,ae=U.current),R.key!==void 0&&(K=""+R.key),_.type&&_.type.defaultProps)var he=_.type.defaultProps;for(xe in R)F.call(R,xe)&&!$.hasOwnProperty(xe)&&(X[xe]=R[xe]===void 0&&he!==void 0?he[xe]:R[xe])}var xe=arguments.length-2;if(xe===1)X.children=Q;else if(1<xe){he=Array(xe);for(var $e=0;$e<xe;$e++)he[$e]=arguments[$e+2];X.children=he}return{$$typeof:n,type:_.type,key:K,ref:ne,props:X,_owner:ae}},Ee.createContext=function(_){return _={$$typeof:h,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},_.Provider={$$typeof:c,_context:_},_.Consumer=_},Ee.createElement=Z,Ee.createFactory=function(_){var R=Z.bind(null,_);return R.type=_,R},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(_){return{$$typeof:p,render:_}},Ee.isValidElement=le,Ee.lazy=function(_){return{$$typeof:x,_payload:{_status:-1,_result:_},_init:ce}},Ee.memo=function(_,R){return{$$typeof:v,type:_,compare:R===void 0?null:R}},Ee.startTransition=function(_){var R=z.transition;z.transition={};try{_()}finally{z.transition=R}},Ee.unstable_act=G,Ee.useCallback=function(_,R){return ue.current.useCallback(_,R)},Ee.useContext=function(_){return ue.current.useContext(_)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(_){return ue.current.useDeferredValue(_)},Ee.useEffect=function(_,R){return ue.current.useEffect(_,R)},Ee.useId=function(){return ue.current.useId()},Ee.useImperativeHandle=function(_,R,Q){return ue.current.useImperativeHandle(_,R,Q)},Ee.useInsertionEffect=function(_,R){return ue.current.useInsertionEffect(_,R)},Ee.useLayoutEffect=function(_,R){return ue.current.useLayoutEffect(_,R)},Ee.useMemo=function(_,R){return ue.current.useMemo(_,R)},Ee.useReducer=function(_,R,Q){return ue.current.useReducer(_,R,Q)},Ee.useRef=function(_){return ue.current.useRef(_)},Ee.useState=function(_){return ue.current.useState(_)},Ee.useSyncExternalStore=function(_,R,Q){return ue.current.useSyncExternalStore(_,R,Q)},Ee.useTransition=function(){return ue.current.useTransition()},Ee.version="18.3.1",Ee}var Sp;function ji(){return Sp||(Sp=1,Hl.exports=F0()),Hl.exports}var Ep;function $0(){if(Ep)return jo;Ep=1;var n=ji(),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function h(p,g,v){var x,w={},S=null,P=null;v!==void 0&&(S=""+v),g.key!==void 0&&(S=""+g.key),g.ref!==void 0&&(P=g.ref);for(x in g)a.call(g,x)&&!c.hasOwnProperty(x)&&(w[x]=g[x]);if(p&&p.defaultProps)for(x in g=p.defaultProps,g)w[x]===void 0&&(w[x]=g[x]);return{$$typeof:r,type:p,key:S,ref:P,props:w,_owner:l.current}}return jo.Fragment=s,jo.jsx=h,jo.jsxs=h,jo}var kp;function U0(){return kp||(kp=1,Bl.exports=$0()),Bl.exports}var f=U0(),li={},Wl={exports:{}},lt={},Ql={exports:{}},Kl={};var Cp;function V0(){return Cp||(Cp=1,(function(n){function r(z,q){var G=z.length;z.push(q);e:for(;0<G;){var _=G-1>>>1,R=z[_];if(0<l(R,q))z[_]=q,z[G]=R,G=_;else break e}}function s(z){return z.length===0?null:z[0]}function a(z){if(z.length===0)return null;var q=z[0],G=z.pop();if(G!==q){z[0]=G;e:for(var _=0,R=z.length,Q=R>>>1;_<Q;){var X=2*(_+1)-1,K=z[X],ne=X+1,ae=z[ne];if(0>l(K,G))ne<R&&0>l(ae,K)?(z[_]=ae,z[ne]=G,_=ne):(z[_]=K,z[X]=G,_=X);else if(ne<R&&0>l(ae,G))z[_]=ae,z[ne]=G,_=ne;else break e}}return q}function l(z,q){var G=z.sortIndex-q.sortIndex;return G!==0?G:z.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var h=Date,p=h.now();n.unstable_now=function(){return h.now()-p}}var g=[],v=[],x=1,w=null,S=3,P=!1,C=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(z){for(var q=s(v);q!==null;){if(q.callback===null)a(v);else if(q.startTime<=z)a(v),q.sortIndex=q.expirationTime,r(g,q);else break;q=s(v)}}function L(z){if(b=!1,I(z),!C)if(s(g)!==null)C=!0,ce(F);else{var q=s(v);q!==null&&ue(L,q.startTime-z)}}function F(z,q){C=!1,b&&(b=!1,j(Z),Z=-1),P=!0;var G=S;try{for(I(q),w=s(g);w!==null&&(!(w.expirationTime>q)||z&&!ge());){var _=w.callback;if(typeof _=="function"){w.callback=null,S=w.priorityLevel;var R=_(w.expirationTime<=q);q=n.unstable_now(),typeof R=="function"?w.callback=R:w===s(g)&&a(g),I(q)}else a(g);w=s(g)}if(w!==null)var Q=!0;else{var X=s(v);X!==null&&ue(L,X.startTime-q),Q=!1}return Q}finally{w=null,S=G,P=!1}}var U=!1,$=null,Z=-1,ie=5,le=-1;function ge(){return!(n.unstable_now()-le<ie)}function oe(){if($!==null){var z=n.unstable_now();le=z;var q=!0;try{q=$(!0,z)}finally{q?ve():(U=!1,$=null)}}else U=!1}var ve;if(typeof M=="function")ve=function(){M(oe)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,ye=Y.port2;Y.port1.onmessage=oe,ve=function(){ye.postMessage(null)}}else ve=function(){k(oe,0)};function ce(z){$=z,U||(U=!0,ve())}function ue(z,q){Z=k(function(){z(n.unstable_now())},q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(z){z.callback=null},n.unstable_continueExecution=function(){C||P||(C=!0,ce(F))},n.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<z?Math.floor(1e3/z):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_getFirstCallbackNode=function(){return s(g)},n.unstable_next=function(z){switch(S){case 1:case 2:case 3:var q=3;break;default:q=S}var G=S;S=q;try{return z()}finally{S=G}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(z,q){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var G=S;S=z;try{return q()}finally{S=G}},n.unstable_scheduleCallback=function(z,q,G){var _=n.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?_+G:_):G=_,z){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=G+R,z={id:x++,callback:q,priorityLevel:z,startTime:G,expirationTime:R,sortIndex:-1},G>_?(z.sortIndex=G,r(v,z),s(g)===null&&z===s(v)&&(b?(j(Z),Z=-1):b=!0,ue(L,G-_))):(z.sortIndex=R,r(g,z),C||P||(C=!0,ce(F))),z},n.unstable_shouldYield=ge,n.unstable_wrapCallback=function(z){var q=S;return function(){var G=S;S=q;try{return z.apply(this,arguments)}finally{S=G}}}})(Kl)),Kl}var Pp;function B0(){return Pp||(Pp=1,Ql.exports=V0()),Ql.exports}var Np;function H0(){if(Np)return lt;Np=1;var n=ji(),r=B0();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,l={};function c(e,t){h(e,t),h(e+"Capture",t)}function h(e,t){for(l[e]=t,e=0;e<t.length;e++)a.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,v=/^[: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]*$/,x={},w={};function S(e){return g.call(w,e)?!0:g.call(x,e)?!1:v.test(e)?w[e]=!0:(x[e]=!0,!1)}
vendor: 47,496 bytes, lines 2-7
2function P(e,t,o,i){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function C(e,t,o,i){if(t===null||typeof t>"u"||P(e,t,o,i))return!0;if(i)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function b(e,t,o,i,u,d,y){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=y}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){k[e]=new b(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];k[t]=new b(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){k[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){k[e]=new b(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){k[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){k[e]=new b(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){k[e]=new b(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){k[e]=new b(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){k[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function M(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(j,M);k[t]=new b(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(j,M);k[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(j,M);k[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){k[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)}),k.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){k[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)});function I(e,t,o,i){var u=k.hasOwnProperty(t)?k[t]:null;(u!==null?u.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(C(t,o,u,i)&&(o=null),i||u===null?S(t)&&(o===null?e.removeAttribute(t):e.setAttribute(t,""+o)):u.mustUseProperty?e[u.propertyName]=o===null?u.type===3?!1:"":o:(t=u.attributeName,i=u.attributeNamespace,o===null?e.removeAttribute(t):(u=u.type,o=u===3||u===4&&o===!0?"":""+o,i?e.setAttributeNS(i,t,o):e.setAttribute(t,o))))}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,F=Symbol.for("react.element"),U=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),ge=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),ue=Symbol.for("react.offscreen"),z=Symbol.iterator;function q(e){return e===null||typeof e!="object"?null:(e=z&&e[z]||e["@@iterator"],typeof e=="function"?e:null)}var G=Object.assign,_;function R(e){if(_===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);_=t&&t[1]||""}return`
3`+_+e}var Q=!1;function X(e,t){if(!e||Q)return"";Q=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(D){var i=D}Reflect.construct(e,[],t)}else{try{t.call()}catch(D){i=D}e.call(t.prototype)}else{try{throw Error()}catch(D){i=D}e()}}catch(D){if(D&&i&&typeof D.stack=="string"){for(var u=D.stack.split(`
4`),d=i.stack.split(`
5`),y=u.length-1,E=d.length-1;1<=y&&0<=E&&u[y]!==d[E];)E--;for(;1<=y&&0<=E;y--,E--)if(u[y]!==d[E]){if(y!==1||E!==1)do if(y--,E--,0>E||u[y]!==d[E]){var N=`
6`+u[y].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),N}while(1<=y&&0<=E);break}}}finally{Q=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?R(e):""}function K(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return e=X(e.type,!1),e;case 11:return e=X(e.type.render,!1),e;case 1:return e=X(e.type,!0),e;default:return""}}function ne(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $:return"Fragment";case U:return"Portal";case ie:return"Profiler";case Z:return"StrictMode";case ve:return"Suspense";case Y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ge:return(e.displayName||"Context")+".Consumer";case le:return(e._context.displayName||"Context")+".Provider";case oe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ye:return t=e.displayName||null,t!==null?t:ne(e.type)||"Memo";case ce:t=e._payload,e=e._init;try{return ne(e(t))}catch{}}return null}function ae(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ne(t);case 8:return t===Z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function he(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $e(e){var t=xe(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,d=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){i=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(y){i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function er(e){e._valueTracker||(e._valueTracker=$e(e))}function Jo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),i="";return e&&(i=xe(e)?e.checked?"true":"false":e.value),e=i,e!==o?(t.setValue(e),!0):!1}function Kt(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Yi(e,t){var o=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function Nc(e,t){var o=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;o=he(t.value!=null?t.value:o),e._wrapperState={initialChecked:i,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rc(e,t){t=t.checked,t!=null&&I(e,"checked",t,!1)}function Xi(e,t){Rc(e,t);var o=he(t.value),i=t.type;if(o!=null)i==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zi(e,t.type,o):t.hasOwnProperty("defaultValue")&&Zi(e,t.type,he(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tc(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function Zi(e,t,o){(t!=="number"||Kt(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Wr=Array.isArray;function tr(e,t,o,i){if(e=e.options,t){t={};for(var u=0;u<o.length;u++)t["$"+o[u]]=!0;for(o=0;o<e.length;o++)u=t.hasOwnProperty("$"+e[o].value),e[o].selected!==u&&(e[o].selected=u),u&&i&&(e[o].defaultSelected=!0)}else{for(o=""+he(o),t=null,u=0;u<e.length;u++){if(e[u].value===o){e[u].selected=!0,i&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Ji(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _c(e,t){var o=t.value;if(o==null){if(o=t.children,t=t.defaultValue,o!=null){if(t!=null)throw Error(s(92));if(Wr(o)){if(1<o.length)throw Error(s(93));o=o[0]}t=o}t==null&&(t=""),o=t}e._wrapperState={initialValue:he(o)}}function jc(e,t){var o=he(t.value),i=he(t.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),t.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),i!=null&&(e.defaultValue=""+i)}function Oc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ac(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ea(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ac(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var es,Mc=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,o,i,u){MSApp.execUnsafeLocalFunction(function(){return e(t,o,i,u)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(es=es||document.createElement("div"),es.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=es.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qr(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Kr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vv=["Webkit","ms","Moz","O"];Object.keys(Kr).forEach(function(e){Vv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Kr[t]=Kr[e]})});function Dc(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Kr.hasOwnProperty(e)&&Kr[e]?(""+t).trim():t+"px"}function Ic(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var i=o.indexOf("--")===0,u=Dc(o,t[o],i);o==="float"&&(o="cssFloat"),i?e.setProperty(o,u):e[o]=u}}var Bv=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ta(e,t){if(t){if(Bv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function na(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ra=null;function oa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sa=null,nr=null,rr=null;function Lc(e){if(e=go(e)){if(typeof sa!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Es(t),sa(e.stateNode,e.type,t))}}function zc(e){nr?rr?rr.push(e):rr=[e]:nr=e}function Fc(){if(nr){var e=nr,t=rr;if(rr=nr=null,Lc(e),t)for(e=0;e<t.length;e++)Lc(t[e])}}function $c(e,t){return e(t)}function Uc(){}var ia=!1;function Vc(e,t,o){if(ia)return e(t,o);ia=!0;try{return $c(e,t,o)}finally{ia=!1,(nr!==null||rr!==null)&&(Uc(),Fc())}}function Gr(e,t){var o=e.stateNode;if(o===null)return null;var i=Es(o);if(i===null)return null;o=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(s(231,t,typeof o));return o}var aa=!1;if(p)try{var qr={};Object.defineProperty(qr,"passive",{get:function(){aa=!0}}),window.addEventListener("test",qr,qr),window.removeEventListener("test",qr,qr)}catch{aa=!1}function Hv(e,t,o,i,u,d,y,E,N){var D=Array.prototype.slice.call(arguments,3);try{t.apply(o,D)}catch(B){this.onError(B)}}var Yr=!1,ts=null,ns=!1,la=null,Wv={onError:function(e){Yr=!0,ts=e}};function Qv(e,t,o,i,u,d,y,E,N){Yr=!1,ts=null,Hv.apply(Wv,arguments)}function Kv(e,t,o,i,u,d,y,E,N){if(Qv.apply(this,arguments),Yr){if(Yr){var D=ts;Yr=!1,ts=null}else throw Error(s(198));ns||(ns=!0,la=D)}}function An(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function Bc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Hc(e){if(An(e)!==e)throw Error(s(188))}function Gv(e){var t=e.alternate;if(!t){if(t=An(e),t===null)throw Error(s(188));return t!==e?null:e}for(var o=e,i=t;;){var u=o.return;if(u===null)break;var d=u.alternate;if(d===null){if(i=u.return,i!==null){o=i;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===o)return Hc(u),e;if(d===i)return Hc(u),t;d=d.sibling}throw Error(s(188))}if(o.return!==i.return)o=u,i=d;else{for(var y=!1,E=u.child;E;){if(E===o){y=!0,o=u,i=d;break}if(E===i){y=!0,i=u,o=d;break}E=E.sibling}if(!y){for(E=d.child;E;){if(E===o){y=!0,o=d,i=u;break}if(E===i){y=!0,i=d,o=u;break}E=E.sibling}if(!y)throw Error(s(189))}}if(o.alternate!==i)throw Error(s(190))}if(o.tag!==3)throw Error(s(188));return o.stateNode.current===o?e:t}function Wc(e){return e=Gv(e),e!==null?Qc(e):null}function Qc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Qc(e);if(t!==null)return t;e=e.sibling}return null}var Kc=r.unstable_scheduleCallback,Gc=r.unstable_cancelCallback,qv=r.unstable_shouldYield,Yv=r.unstable_requestPaint,ze=r.unstable_now,Xv=r.unstable_getCurrentPriorityLevel,ua=r.unstable_ImmediatePriority,qc=r.unstable_UserBlockingPriority,rs=r.unstable_NormalPriority,Zv=r.unstable_LowPriority,Yc=r.unstable_IdlePriority,os=null,It=null;function Jv(e){if(It&&typeof It.onCommitFiberRoot=="function")try{It.onCommitFiberRoot(os,e,void 0,(e.current.flags&128)===128)}catch{}}var Ct=Math.clz32?Math.clz32:ny,ey=Math.log,ty=Math.LN2;function ny(e){return e>>>=0,e===0?32:31-(ey(e)/ty|0)|0}var ss=64,is=4194304;function Xr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function as(e,t){var o=e.pendingLanes;if(o===0)return 0;var i=0,u=e.suspendedLanes,d=e.pingedLanes,y=o&268435455;if(y!==0){var E=y&~u;E!==0?i=Xr(E):(d&=y,d!==0&&(i=Xr(d)))}else y=o&~u,y!==0?i=Xr(y):d!==0&&(i=Xr(d));if(i===0)return 0;if(t!==0&&t!==i&&(t&u)===0&&(u=i&-i,d=t&-t,u>=d||u===16&&(d&4194240)!==0))return t;if((i&4)!==0&&(i|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)o=31-Ct(t),u=1<<o,i|=e[o],t&=~u;return i}function ry(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function oy(e,t){for(var o=e.suspendedLanes,i=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes;0<d;){var y=31-Ct(d),E=1<<y,N=u[y];N===-1?((E&o)===0||(E&i)!==0)&&(u[y]=ry(E,t)):N<=t&&(e.expiredLanes|=E),d&=~E}}function ca(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Xc(){var e=ss;return ss<<=1,(ss&4194240)===0&&(ss=64),e}function da(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function Zr(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ct(t),e[t]=o}function sy(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var i=e.eventTimes;for(e=e.expirationTimes;0<o;){var u=31-Ct(o),d=1<<u;t[u]=0,i[u]=-1,e[u]=-1,o&=~d}}function fa(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var i=31-Ct(o),u=1<<i;u&t|e[i]&t&&(e[i]|=t),o&=~u}}var Ne=0;function Zc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Jc,pa,ed,td,nd,ha=!1,ls=[],sn=null,an=null,ln=null,Jr=new Map,eo=new Map,un=[],iy="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 submit".split(" ");function rd(e,t){switch(e){case"focusin":case"focusout":sn=null;break;case"dragenter":case"dragleave":an=null;break;case"mouseover":case"mouseout":ln=null;break;case"pointerover":case"pointerout":Jr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":eo.delete(t.pointerId)}}function to(e,t,o,i,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:o,eventSystemFlags:i,nativeEvent:d,targetContainers:[u]},t!==null&&(t=go(t),t!==null&&pa(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function ay(e,t,o,i,u){switch(t){case"focusin":return sn=to(sn,e,t,o,i,u),!0;case"dragenter":return an=to(an,e,t,o,i,u),!0;case"mouseover":return ln=to(ln,e,t,o,i,u),!0;case"pointerover":var d=u.pointerId;return Jr.set(d,to(Jr.get(d)||null,e,t,o,i,u)),!0;case"gotpointercapture":return d=u.pointerId,eo.set(d,to(eo.get(d)||null,e,t,o,i,u)),!0}return!1}function od(e){var t=Mn(e.target);if(t!==null){var o=An(t);if(o!==null){if(t=o.tag,t===13){if(t=Bc(o),t!==null){e.blockedOn=t,nd(e.priority,function(){ed(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function us(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=ga(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var i=new o.constructor(o.type,o);ra=i,o.target.dispatchEvent(i),ra=null}else return t=go(o),t!==null&&pa(t),e.blockedOn=o,!1;t.shift()}return!0}function sd(e,t,o){us(e)&&o.delete(t)}function ly(){ha=!1,sn!==null&&us(sn)&&(sn=null),an!==null&&us(an)&&(an=null),ln!==null&&us(ln)&&(ln=null),Jr.forEach(sd),eo.forEach(sd)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,ha||(ha=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,ly)))}function ro(e){function t(u){return no(u,e)}if(0<ls.length){no(ls[0],e);for(var o=1;o<ls.length;o++){var i=ls[o];i.blockedOn===e&&(i.blockedOn=null)}}for(sn!==null&&no(sn,e),an!==null&&no(an,e),ln!==null&&no(ln,e),Jr.forEach(t),eo.forEach(t),o=0;o<un.length;o++)i=un[o],i.blockedOn===e&&(i.blockedOn=null);for(;0<un.length&&(o=un[0],o.blockedOn===null);)od(o),o.blockedOn===null&&un.shift()}var or=L.ReactCurrentBatchConfig,cs=!0;function uy(e,t,o,i){var u=Ne,d=or.transition;or.transition=null;try{Ne=1,ma(e,t,o,i)}finally{Ne=u,or.transition=d}}function cy(e,t,o,i){var u=Ne,d=or.transition;or.transition=null;try{Ne=4,ma(e,t,o,i)}finally{Ne=u,or.transition=d}}function ma(e,t,o,i){if(cs){var u=ga(e,t,o,i);if(u===null)Aa(e,t,i,ds,o),rd(e,i);else if(ay(u,e,t,o,i))i.stopPropagation();else if(rd(e,i),t&4&&-1<iy.indexOf(e)){for(;u!==null;){var d=go(u);if(d!==null&&Jc(d),d=ga(e,t,o,i),d===null&&Aa(e,t,i,ds,o),d===u)break;u=d}u!==null&&i.stopPropagation()}else Aa(e,t,i,null,o)}}var ds=null;function ga(e,t,o,i){if(ds=null,e=oa(i),e=Mn(e),e!==null)if(t=An(e),t===null)e=null;else if(o=t.tag,o===13){if(e=Bc(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ds=e,null}function id(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xv()){case ua:return 1;case qc:return 4;case rs:case Zv:return 16;case Yc:return 536870912;default:return 16}default:return 16}}var cn=null,va=null,fs=null;function ad(){if(fs)return fs;var e,t=va,o=t.length,i,u="value"in cn?cn.value:cn.textContent,d=u.length;for(e=0;e<o&&t[e]===u[e];e++);var y=o-e;for(i=1;i<=y&&t[o-i]===u[d-i];i++);return fs=u.slice(e,1<i?1-i:void 0)}function ps(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hs(){return!0}function ld(){return!1}function ct(e){function t(o,i,u,d,y){this._reactName=o,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var E in e)e.hasOwnProperty(E)&&(o=e[E],this[E]=o?o(d):d[E]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?hs:ld,this.isPropagationStopped=ld,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}var sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ya=ct(sr),oo=G({},sr,{view:0,detail:0}),dy=ct(oo),xa,wa,so,ms=G({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sa,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==so&&(so&&e.type==="mousemove"?(xa=e.screenX-so.screenX,wa=e.screenY-so.screenY):wa=xa=0,so=e),xa)},movementY:function(e){return"movementY"in e?e.movementY:wa}}),ud=ct(ms),fy=G({},ms,{dataTransfer:0}),py=ct(fy),hy=G({},oo,{relatedTarget:0}),ba=ct(hy),my=G({},sr,{animationName:0,elapsedTime:0,pseudoElement:0}),gy=ct(my),vy=G({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yy=ct(vy),xy=G({},sr,{data:0}),cd=ct(xy),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},by={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"},Sy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ey(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sy[e])?!!t[e]:!1}function Sa(){return Ey}var ky=G({},oo,{key:function(e){if(e.key){var t=wy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ps(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?by[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sa,charCode:function(e){return e.type==="keypress"?ps(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ps(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Cy=ct(ky),Py=G({},ms,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dd=ct(Py),Ny=G({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sa}),Ry=ct(Ny),Ty=G({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),_y=ct(Ty),jy=G({},ms,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Oy=ct(jy),Ay=[9,13,27,32],Ea=p&&"CompositionEvent"in window,io=null;p&&"documentMode"in document&&(io=document.documentMode);var My=p&&"TextEvent"in window&&!io,fd=p&&(!Ea||io&&8<io&&11>=io),pd=" ",hd=!1;function md(e,t){switch(e){case"keyup":return Ay.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ir=!1;function Dy(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(hd=!0,pd);case"textInput":return e=t.data,e===pd&&hd?null:e;default:return null}}function Iy(e,t){if(ir)return e==="compositionend"||!Ea&&md(e,t)?(e=ad(),fs=va=cn=null,ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return fd&&t.locale!=="ko"?null:t.data;default:return null}}var Ly={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 vd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ly[e.type]:t==="textarea"}function yd(e,t,o,i){zc(i),t=ws(t,"onChange"),0<t.length&&(o=new ya("onChange","change",null,o,i),e.push({event:o,listeners:t}))}var ao=null,lo=null;function zy(e){Id(e,0)}function gs(e){var t=dr(e);if(Jo(t))return e}function Fy(e,t){if(e==="change")return t}var xd=!1;if(p){var ka;if(p){var Ca="oninput"in document;if(!Ca){var wd=document.createElement("div");wd.setAttribute("oninput","return;"),Ca=typeof wd.oninput=="function"}ka=Ca}else ka=!1;xd=ka&&(!document.documentMode||9<document.documentMode)}function bd(){ao&&(ao.detachEvent("onpropertychange",Sd),lo=ao=null)}function Sd(e){if(e.propertyName==="value"&&gs(lo)){var t=[];yd(t,lo,e,oa(e)),Vc(zy,t)}}function $y(e,t,o){e==="focusin"?(bd(),ao=t,lo=o,ao.attachEvent("onpropertychange",Sd)):e==="focusout"&&bd()}function Uy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(lo)}function Vy(e,t){if(e==="click")return gs(t)}function By(e,t){if(e==="input"||e==="change")return gs(t)}function Hy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Pt=typeof Object.is=="function"?Object.is:Hy;function uo(e,t){if(Pt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(i=0;i<o.length;i++){var u=o[i];if(!g.call(t,u)||!Pt(e[u],t[u]))return!1}return!0}function Ed(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function kd(e,t){var o=Ed(e);e=0;for(var i;o;){if(o.nodeType===3){if(i=e+o.textContent.length,e<=t&&i>=t)return{node:o,offset:t-e};e=i}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Ed(o)}}function Cd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pd(){for(var e=window,t=Kt();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Pa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Wy(e){var t=Pd(),o=e.focusedElem,i=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&Cd(o.ownerDocument.documentElement,o)){if(i!==null&&Pa(o)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,d=Math.min(i.start,u);i=i.end===void 0?d:Math.min(i.end,u),!e.extend&&d>i&&(u=i,i=d,d=u),u=kd(o,d);var y=kd(o,i);u&&y&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),d>i?(e.addRange(t),e.extend(y.node,y.offset)):(t.setEnd(y.node,y.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<t.length;o++)e=t[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Qy=p&&"documentMode"in document&&11>=document.documentMode,ar=null,Na=null,co=null,Ra=!1;function Nd(e,t,o){var i=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Ra||ar==null||ar!==Kt(i)||(i=ar,"selectionStart"in i&&Pa(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),co&&uo(co,i)||(co=i,i=ws(Na,"onSelect"),0<i.length&&(t=new ya("onSelect","select",null,t,o),e.push({event:t,listeners:i}),t.target=ar)))}function vs(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}var lr={animationend:vs("Animation","AnimationEnd"),animationiteration:vs("Animation","AnimationIteration"),animationstart:vs("Animation","AnimationStart"),transitionend:vs("Transition","TransitionEnd")},Ta={},Rd={};p&&(Rd=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function ys(e){if(Ta[e])return Ta[e];if(!lr[e])return e;var t=lr[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in Rd)return Ta[e]=t[o];return e}var Td=ys("animationend"),_d=ys("animationiteration"),jd=ys("animationstart"),Od=ys("transitionend"),Ad=new Map,Md="abort auxClick 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(" ");function dn(e,t){Ad.set(e,t),c(t,[e])}for(var _a=0;_a<Md.length;_a++){var ja=Md[_a],Ky=ja.toLowerCase(),Gy=ja[0].toUpperCase()+ja.slice(1);dn(Ky,"on"+Gy)}dn(Td,"onAnimationEnd"),dn(_d,"onAnimationIteration"),dn(jd,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(Od,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fo="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(" "),qy=new Set("cancel close invalid load scroll toggle".split(" ").concat(fo));function Dd(e,t,o){var i=e.type||"unknown-event";e.currentTarget=o,Kv(i,t,void 0,e),e.currentTarget=null}function Id(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var i=e[o],u=i.event;i=i.listeners;e:{var d=void 0;if(t)for(var y=i.length-1;0<=y;y--){var E=i[y],N=E.instance,D=E.currentTarget;if(E=E.listener,N!==d&&u.isPropagationStopped())break e;Dd(u,E,D),d=N}else for(y=0;y<i.length;y++){if(E=i[y],N=E.instance,D=E.currentTarget,E=E.listener,N!==d&&u.isPropagationStopped())break e;Dd(u,E,D),d=N}}}if(ns)throw e=la,ns=!1,la=null,e}function _e(e,t){var o=t[Fa];o===void 0&&(o=t[Fa]=new Set);var i=e+"__bubble";o.has(i)||(Ld(t,e,2,!1),o.add(i))}function Oa(e,t,o){var i=0;t&&(i|=4),Ld(o,e,i,t)}var xs="_reactListening"+Math.random().toString(36).slice(2);function po(e){if(!e[xs]){e[xs]=!0,a.forEach(function(o){o!=="selectionchange"&&(qy.has(o)||Oa(o,!1,e),Oa(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xs]||(t[xs]=!0,Oa("selectionchange",!1,t))}}function Ld(e,t,o,i){switch(id(t)){case 1:var u=uy;break;case 4:u=cy;break;default:u=ma}o=u.bind(null,t,o,e),u=void 0,!aa||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),i?u!==void 0?e.addEventListener(t,o,{capture:!0,passive:u}):e.addEventListener(t,o,!0):u!==void 0?e.addEventListener(t,o,{passive:u}):e.addEventListener(t,o,!1)}function Aa(e,t,o,i,u){var d=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var E=i.stateNode.containerInfo;if(E===u||E.nodeType===8&&E.parentNode===u)break;if(y===4)for(y=i.return;y!==null;){var N=y.tag;if((N===3||N===4)&&(N=y.stateNode.containerInfo,N===u||N.nodeType===8&&N.parentNode===u))return;y=y.return}for(;E!==null;){if(y=Mn(E),y===null)return;if(N=y.tag,N===5||N===6){i=d=y;continue e}E=E.parentNode}}i=i.return}Vc(function(){var D=d,B=oa(o),H=[];e:{var V=Ad.get(e);if(V!==void 0){var J=ya,te=e;switch(e){case"keypress":if(ps(o)===0)break e;case"keydown":case"keyup":J=Cy;break;case"focusin":te="focus",J=ba;break;case"focusout":te="blur",J=ba;break;case"beforeblur":case"afterblur":J=ba;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=ud;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=py;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=Ry;break;case Td:case _d:case jd:J=gy;break;case Od:J=_y;break;case"scroll":J=dy;break;case"wheel":J=Oy;break;case"copy":case"cut":case"paste":J=yy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=dd}var re=(t&4)!==0,Fe=!re&&e==="scroll",O=re?V!==null?V+"Capture":null:V;re=[];for(var T=D,A;T!==null;){A=T;var W=A.stateNode;if(A.tag===5&&W!==null&&(A=W,O!==null&&(W=Gr(T,O),W!=null&&re.push(ho(T,W,A)))),Fe)break;T=T.return}0<re.length&&(V=new J(V,te,null,o,B),H.push({event:V,listeners:re}))}}if((t&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",V&&o!==ra&&(te=o.relatedTarget||o.fromElement)&&(Mn(te)||te[Gt]))break e;if((J||V)&&(V=B.window===B?B:(V=B.ownerDocument)?V.defaultView||V.parentWindow:window,J?(te=o.relatedTarget||o.toElement,J=D,te=te?Mn(te):null,te!==null&&(Fe=An(te),te!==Fe||te.tag!==5&&te.tag!==6)&&(te=null)):(J=null,te=D),J!==te)){if(re=ud,W="onMouseLeave",O="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(re=dd,W="onPointerLeave",O="onPointerEnter",T="pointer"),Fe=J==null?V:dr(J),A=te==null?V:dr(te),V=new re(W,T+"leave",J,o,B),V.target=Fe,V.relatedTarget=A,W=null,Mn(B)===D&&(re=new re(O,T+"enter",te,o,B),re.target=A,re.relatedTarget=Fe,W=re),Fe=W,J&&te)t:{for(re=J,O=te,T=0,A=re;A;A=ur(A))T++;for(A=0,W=O;W;W=ur(W))A++;for(;0<T-A;)re=ur(re),T--;for(;0<A-T;)O=ur(O),A--;for(;T--;){if(re===O||O!==null&&re===O.alternate)break t;re=ur(re),O=ur(O)}re=null}else re=null;J!==null&&zd(H,V,J,re,!1),te!==null&&Fe!==null&&zd(H,Fe,te,re,!0)}}e:{if(V=D?dr(D):window,J=V.nodeName&&V.nodeName.toLowerCase(),J==="select"||J==="input"&&V.type==="file")var se=Fy;else if(vd(V))if(xd)se=By;else{se=Uy;var de=$y}else(J=V.nodeName)&&J.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(se=Vy);if(se&&(se=se(e,D))){yd(H,se,o,B);break e}de&&de(e,V,D),e==="focusout"&&(de=V._wrapperState)&&de.controlled&&V.type==="number"&&Zi(V,"number",V.value)}switch(de=D?dr(D):window,e){case"focusin":(vd(de)||de.contentEditable==="true")&&(ar=de,Na=D,co=null);break;case"focusout":co=Na=ar=null;break;case"mousedown":Ra=!0;break;case"contextmenu":case"mouseup":case"dragend":Ra=!1,Nd(H,o,B);break;case"selectionchange":if(Qy)break;case"keydown":case"keyup":Nd(H,o,B)}var fe;if(Ea)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else ir?md(e,o)&&(pe="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(pe="onCompositionStart");pe&&(fd&&o.locale!=="ko"&&(ir||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&ir&&(fe=ad()):(cn=B,va="value"in cn?cn.value:cn.textContent,ir=!0)),de=ws(D,pe),0<de.length&&(pe=new cd(pe,e,null,o,B),H.push({event:pe,listeners:de}),fe?pe.data=fe:(fe=gd(o),fe!==null&&(pe.data=fe)))),(fe=My?Dy(e,o):Iy(e,o))&&(D=ws(D,"onBeforeInput"),0<D.length&&(B=new cd("onBeforeInput","beforeinput",null,o,B),H.push({event:B,listeners:D}),B.data=fe))}Id(H,t)})}function ho(e,t,o){return{instance:e,listener:t,currentTarget:o}}function ws(e,t){for(var o=t+"Capture",i=[];e!==null;){var u=e,d=u.stateNode;u.tag===5&&d!==null&&(u=d,d=Gr(e,o),d!=null&&i.unshift(ho(e,d,u)),d=Gr(e,t),d!=null&&i.push(ho(e,d,u))),e=e.return}return i}function ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zd(e,t,o,i,u){for(var d=t._reactName,y=[];o!==null&&o!==i;){var E=o,N=E.alternate,D=E.stateNode;if(N!==null&&N===i)break;E.tag===5&&D!==null&&(E=D,u?(N=Gr(o,d),N!=null&&y.unshift(ho(o,N,E))):u||(N=Gr(o,d),N!=null&&y.push(ho(o,N,E)))),o=o.return}y.length!==0&&e.push({event:t,listeners:y})}var Yy=/\r\n?/g,Xy=/\u0000|\uFFFD/g;function Fd(e){return(typeof e=="string"?e:""+e).replace(Yy,`
7`).replace(Xy,"")}function bs(e,t,o){if(t=Fd(t),Fd(e)!==t&&o)throw Error(s(425))}function Ss(){}var Ma=null,Da=null;function Ia(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var La=typeof setTimeout=="function"?setTimeout:void 0,Zy=typeof clearTimeout=="function"?clearTimeout:void 0,$d=typeof Promise=="function"?Promise:void 0,Jy=typeof queueMicrotask=="function"?queueMicrotask:typeof $d<"u"?function(e){return $d.resolve(null).then(e).catch(e0)}:La;function e0(e){setTimeout(function(){throw e})}function za(e,t){var o=t,i=0;do{var u=o.nextSibling;if(e.removeChild(o),u&&u.nodeType===8)if(o=u.data,o==="/$"){if(i===0){e.removeChild(u),ro(t);return}i--}else o!=="$"&&o!=="$?"&&o!=="$!"||i++;o=u}while(o);ro(t)}function fn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ud(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(t===0)return e;t--}else o==="/$"&&t++}e=e.previousSibling}return null}var cr=Math.random().toString(36).slice(2),Lt="__reactFiber$"+cr,mo="__reactProps$"+cr,Gt="__reactContainer$"+cr,Fa="__reactEvents$"+cr,t0="__reactListeners$"+cr,n0="__reactHandles$"+cr;function Mn(e){var t=e[Lt];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Gt]||o[Lt]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=Ud(e);e!==null;){if(o=e[Lt])return o;e=Ud(e)}return t}e=o,o=e.parentNode}return null}function go(e){return e=e[Lt]||e[Gt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function dr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Es(e){return e[mo]||null}var $a=[],fr=-1;function pn(e){return{current:e}}function je(e){0>fr||(e.current=$a[fr],$a[fr]=null,fr--)}function Te(e,t){fr++,$a[fr]=e.current,e.current=t}var hn={},Ye=pn(hn),rt=pn(!1),Dn=hn;function pr(e,t){var o=e.type.contextTypes;if(!o)return hn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var u={},d;for(d in o)u[d]=t[d];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function ot(e){return e=e.childContextTypes,e!=null}function ks(){je(rt),je(Ye)}function Vd(e,t,o){if(Ye.current!==hn)throw Error(s(168));Te(Ye,t),Te(rt,o)}function Bd(e,t,o){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return o;i=i.getChildContext();for(var u in i)if(!(u in t))throw Error(s(108,ae(e)||"Unknown",u));return G({},o,i)}function Cs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hn,Dn=Ye.current,Te(Ye,e),Te(rt,rt.current),!0}function Hd(e,t,o){var i=e.stateNode;if(!i)throw Error(s(169));o?(e=Bd(e,t,Dn),i.__reactInternalMemoizedMergedChildContext=e,je(rt),je(Ye),Te(Ye,e)):je(rt),Te(rt,o)}var qt=null,Ps=!1,Ua=!1;function Wd(e){qt===null?qt=[e]:qt.push(e)}function r0(e){Ps=!0,Wd(e)}function mn(){if(!Ua&&qt!==null){Ua=!0;var e=0,t=Ne;try{var o=qt;for(Ne=1;e<o.length;e++){var i=o[e];do i=i(!0);while(i!==null)}qt=null,Ps=!1}catch(u){throw qt!==null&&(qt=qt.slice(e+1)),Kc(ua,mn),u}finally{Ne=t,Ua=!1}}return null}var hr=[],mr=0,Ns=null,Rs=0,gt=[],vt=0,In=null,Yt=1,Xt="";function Ln(e,t){hr[mr++]=Rs,hr[mr++]=Ns,Ns=e,Rs=t}function Qd(e,t,o){gt[vt++]=Yt,gt[vt++]=Xt,gt[vt++]=In,In=e;var i=Yt;e=Xt;var u=32-Ct(i)-1;i&=~(1<<u),o+=1;var d=32-Ct(t)+u;if(30<d){var y=u-u%5;d=(i&(1<<y)-1).toString(32),i>>=y,u-=y,Yt=1<<32-Ct(t)+u|o<<u|i,Xt=d+e}else Yt=1<<d|o<<u|i,Xt=e}function Va(e){e.return!==null&&(Ln(e,1),Qd(e,1,0))}function Ba(e){for(;e===Ns;)Ns=hr[--mr],hr[mr]=null,Rs=hr[--mr],hr[mr]=null;for(;e===In;)In=gt[--vt],gt[vt]=null,Xt=gt[--vt],gt[vt]=null,Yt=gt[--vt],gt[vt]=null}var dt=null,ft=null,Ae=!1,Nt=null;function Kd(e,t){var o=bt(5,null,null,0);o.elementType="DELETED",o.stateNode=t,o.return=e,t=e.deletions,t===null?(e.deletions=[o],e.flags|=16):t.push(o)}function Gd(e,t){switch(e.tag){case 5:var o=e.type;
vendor: 4,429 bytes, line 7
7return t=t.nodeType!==1||o.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,dt=e,ft=fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,dt=e,ft=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(o=In!==null?{id:Yt,overflow:Xt}:null,e.memoizedState={dehydrated:t,treeContext:o,retryLane:1073741824},o=bt(18,null,null,0),o.stateNode=t,o.return=e,e.child=o,dt=e,ft=null,!0):!1;default:return!1}}function Ha(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Wa(e){if(Ae){var t=ft;if(t){var o=t;if(!Gd(e,t)){if(Ha(e))throw Error(s(418));t=fn(o.nextSibling);var i=dt;t&&Gd(e,t)?Kd(i,o):(e.flags=e.flags&-4097|2,Ae=!1,dt=e)}}else{if(Ha(e))throw Error(s(418));e.flags=e.flags&-4097|2,Ae=!1,dt=e}}}function qd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;dt=e}function Ts(e){if(e!==dt)return!1;if(!Ae)return qd(e),Ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ia(e.type,e.memoizedProps)),t&&(t=ft)){if(Ha(e))throw Yd(),Error(s(418));for(;t;)Kd(e,t),t=fn(t.nextSibling)}if(qd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(t===0){ft=fn(e.nextSibling);break e}t--}else o!=="$"&&o!=="$!"&&o!=="$?"||t++}e=e.nextSibling}ft=null}}else ft=dt?fn(e.stateNode.nextSibling):null;return!0}function Yd(){for(var e=ft;e;)e=fn(e.nextSibling)}function gr(){ft=dt=null,Ae=!1}function Qa(e){Nt===null?Nt=[e]:Nt.push(e)}var o0=L.ReactCurrentBatchConfig;function vo(e,t,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(s(309));var i=o.stateNode}if(!i)throw Error(s(147,e));var u=i,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(y){var E=u.refs;y===null?delete E[d]:E[d]=y},t._stringRef=d,t)}if(typeof e!="string")throw Error(s(284));if(!o._owner)throw Error(s(290,e))}return e}function _s(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xd(e){var t=e._init;return t(e._payload)}function Zd(e){function t(O,T){if(e){var A=O.deletions;A===null?(O.deletions=[T],O.flags|=16):A.push(T)}}function o(O,T){if(!e)return null;for(;T!==null;)t(O,T),T=T.sibling;return null}function i(O,T){for(O=new Map;T!==null;)T.key!==null?O.set(T.key,T):O.set(T.index,T),T=T.sibling;return O}function u(O,T){return O=En(O,T),O.index=0,O.sibling=null,O}function d(O,T,A){return O.index=A,e?(A=O.alternate,A!==null?(A=A.index,A<T?(O.flags|=2,T):A):(O.flags|=2,T)):(O.flags|=1048576,T)}function y(O){return e&&O.alternate===null&&(O.flags|=2),O}function E(O,T,A,W){return T===null||T.tag!==6?(T=Ll(A,O.mode,W),T.return=O,T):(T=u(T,A),T.return=O,T)}function N(O,T,A,W){var se=A.type;return se===$?B(O,T,A.props.children,W,A.key):T!==null&&(T.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===ce&&Xd(se)===T.type)?(W=u(T,A.props),W.ref=vo(O,T,A),W.return=O,W):(W=ei(A.type,A.key,A.props,null,O.mode,W),W.ref=vo(O,T,A),W.return=O,W)}function D(O,T,A,W){return T===null||T.tag!==4||T.stateNode.containerInfo!==A.containerInfo||T.stateNode.implementation!==A.implementation?(T=zl(A,O.mode,W),T.return=O,T):(T=u(T,A.children||[]),T.return=O,T)}function B(O,T,A,W,se){return T===null||T.tag!==7?(T=Wn(A,O.mode,W,se),T.return=O,T):(T=u(T,A),T.return=O,T)}function H(O,T,A){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Ll(""+T,O.mode,A),T.return=O,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case F:return A=ei(T.type,T.key,T.props,null,O.mode,A),A.ref=vo(O,null,T),A.return=O,A;case U:return T=zl(T,O.mode,A),T.return=O,T;case ce:var W=T._init;return H(O,W(T._payload),A)}if(Wr(T)||q(T))return T=Wn(T,O.mode,A,null),T.return=O,T;_s(O,T)}return null}function V(O,T,A,W){var se=T!==null?T.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return se!==null?null:E(O,T,""+A,W);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case F:return A.key===se?N(O,T,A,W):null;case U:return A.key===se?D(O,T,A,W):null;case ce:return se=A._init,V(O,T,se(A._payload),W)}if(Wr(A)||q(A))return se!==null?null:B(O,T,A,W,null);_s(O,A)}return null}function J(O,T,A,W,se){if(typeof W=="string"&&W!==""||typeof W=="number")return O=O.get(A)||null,E(T,O,""+W,se);
vendor: 20,582 bytes, lines 7-9
7if(typeof W=="object"&&W!==null){switch(W.$$typeof){case F:return O=O.get(W.key===null?A:W.key)||null,N(T,O,W,se);case U:return O=O.get(W.key===null?A:W.key)||null,D(T,O,W,se);case ce:var de=W._init;return J(O,T,A,de(W._payload),se)}if(Wr(W)||q(W))return O=O.get(A)||null,B(T,O,W,se,null);_s(T,W)}return null}function te(O,T,A,W){for(var se=null,de=null,fe=T,pe=T=0,Qe=null;fe!==null&&pe<A.length;pe++){fe.index>pe?(Qe=fe,fe=null):Qe=fe.sibling;var Pe=V(O,fe,A[pe],W);if(Pe===null){fe===null&&(fe=Qe);break}e&&fe&&Pe.alternate===null&&t(O,fe),T=d(Pe,T,pe),de===null?se=Pe:de.sibling=Pe,de=Pe,fe=Qe}if(pe===A.length)return o(O,fe),Ae&&Ln(O,pe),se;if(fe===null){for(;pe<A.length;pe++)fe=H(O,A[pe],W),fe!==null&&(T=d(fe,T,pe),de===null?se=fe:de.sibling=fe,de=fe);return Ae&&Ln(O,pe),se}for(fe=i(O,fe);pe<A.length;pe++)Qe=J(fe,O,pe,A[pe],W),Qe!==null&&(e&&Qe.alternate!==null&&fe.delete(Qe.key===null?pe:Qe.key),T=d(Qe,T,pe),de===null?se=Qe:de.sibling=Qe,de=Qe);return e&&fe.forEach(function(kn){return t(O,kn)}),Ae&&Ln(O,pe),se}function re(O,T,A,W){var se=q(A);if(typeof se!="function")throw Error(s(150));if(A=se.call(A),A==null)throw Error(s(151));for(var de=se=null,fe=T,pe=T=0,Qe=null,Pe=A.next();fe!==null&&!Pe.done;pe++,Pe=A.next()){fe.index>pe?(Qe=fe,fe=null):Qe=fe.sibling;var kn=V(O,fe,Pe.value,W);if(kn===null){fe===null&&(fe=Qe);break}e&&fe&&kn.alternate===null&&t(O,fe),T=d(kn,T,pe),de===null?se=kn:de.sibling=kn,de=kn,fe=Qe}if(Pe.done)return o(O,fe),Ae&&Ln(O,pe),se;if(fe===null){for(;!Pe.done;pe++,Pe=A.next())Pe=H(O,Pe.value,W),Pe!==null&&(T=d(Pe,T,pe),de===null?se=Pe:de.sibling=Pe,de=Pe);return Ae&&Ln(O,pe),se}for(fe=i(O,fe);!Pe.done;pe++,Pe=A.next())Pe=J(fe,O,pe,Pe.value,W),Pe!==null&&(e&&Pe.alternate!==null&&fe.delete(Pe.key===null?pe:Pe.key),T=d(Pe,T,pe),de===null?se=Pe:de.sibling=Pe,de=Pe);return e&&fe.forEach(function(L0){return t(O,L0)}),Ae&&Ln(O,pe),se}function Fe(O,T,A,W){if(typeof A=="object"&&A!==null&&A.type===$&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case F:e:{for(var se=A.key,de=T;de!==null;){if(de.key===se){if(se=A.type,se===$){if(de.tag===7){o(O,de.sibling),T=u(de,A.props.children),T.return=O,O=T;break e}}else if(de.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===ce&&Xd(se)===de.type){o(O,de.sibling),T=u(de,A.props),T.ref=vo(O,de,A),T.return=O,O=T;break e}o(O,de);break}else t(O,de);de=de.sibling}A.type===$?(T=Wn(A.props.children,O.mode,W,A.key),T.return=O,O=T):(W=ei(A.type,A.key,A.props,null,O.mode,W),W.ref=vo(O,T,A),W.return=O,O=W)}return y(O);case U:e:{for(de=A.key;T!==null;){if(T.key===de)if(T.tag===4&&T.stateNode.containerInfo===A.containerInfo&&T.stateNode.implementation===A.implementation){o(O,T.sibling),T=u(T,A.children||[]),T.return=O,O=T;break e}else{o(O,T);break}else t(O,T);T=T.sibling}T=zl(A,O.mode,W),T.return=O,O=T}return y(O);case ce:return de=A._init,Fe(O,T,de(A._payload),W)}if(Wr(A))return te(O,T,A,W);if(q(A))return re(O,T,A,W);_s(O,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,T!==null&&T.tag===6?(o(O,T.sibling),T=u(T,A),T.return=O,O=T):(o(O,T),T=Ll(A,O.mode,W),T.return=O,O=T),y(O)):o(O,T)}return Fe}var vr=Zd(!0),Jd=Zd(!1),js=pn(null),Os=null,yr=null,Ka=null;function Ga(){Ka=yr=Os=null}function qa(e){var t=js.current;je(js),e._currentValue=t}function Ya(e,t,o){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===o)break;e=e.return}}function xr(e,t){Os=e,Ka=yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(st=!0),e.firstContext=null)}function yt(e){var t=e._currentValue;if(Ka!==e)if(e={context:e,memoizedValue:t,next:null},yr===null){if(Os===null)throw Error(s(308));yr=e,Os.dependencies={lanes:0,firstContext:e}}else yr=yr.next=e;return t}var zn=null;function Xa(e){zn===null?zn=[e]:zn.push(e)}function ef(e,t,o,i){var u=t.interleaved;return u===null?(o.next=o,Xa(t)):(o.next=u.next,u.next=o),t.interleaved=o,Zt(e,i)}function Zt(e,t){e.lanes|=t;var o=e.alternate;for(o!==null&&(o.lanes|=t),o=e,e=e.return;e!==null;)e.childLanes|=t,o=e.alternate,o!==null&&(o.childLanes|=t),o=e,e=e.return;return o.tag===3?o.stateNode:null}var gn=!1;function Za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function tf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vn(e,t,o){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ce&2)!==0){var u=i.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),i.pending=t,Zt(e,o)}return u=i.interleaved,u===null?(t.next=t,Xa(i)):(t.next=u.next,u.next=t),i.interleaved=t,Zt(e,o)}function As(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,o|=i,t.lanes=o,fa(e,o)}}function nf(e,t){var o=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,o===i)){var u=null,d=null;if(o=o.firstBaseUpdate,o!==null){do{var y={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};d===null?u=d=y:d=d.next=y,o=o.next}while(o!==null);d===null?u=d=t:d=d.next=t}else u=d=t;o={baseState:i.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:i.shared,effects:i.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function Ms(e,t,o,i){var u=e.updateQueue;gn=!1;var d=u.firstBaseUpdate,y=u.lastBaseUpdate,E=u.shared.pending;if(E!==null){u.shared.pending=null;var N=E,D=N.next;N.next=null,y===null?d=D:y.next=D,y=N;var B=e.alternate;B!==null&&(B=B.updateQueue,E=B.lastBaseUpdate,E!==y&&(E===null?B.firstBaseUpdate=D:E.next=D,B.lastBaseUpdate=N))}if(d!==null){var H=u.baseState;y=0,B=D=N=null,E=d;do{var V=E.lane,J=E.eventTime;if((i&V)===V){B!==null&&(B=B.next={eventTime:J,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var te=e,re=E;switch(V=t,J=o,re.tag){case 1:if(te=re.payload,typeof te=="function"){H=te.call(J,H,V);break e}H=te;break e;case 3:te.flags=te.flags&-65537|128;case 0:if(te=re.payload,V=typeof te=="function"?te.call(J,H,V):te,V==null)break e;H=G({},H,V);break e;case 2:gn=!0}}E.callback!==null&&E.lane!==0&&(e.flags|=64,V=u.effects,V===null?u.effects=[E]:V.push(E))}else J={eventTime:J,lane:V,tag:E.tag,payload:E.payload,callback:E.callback,next:null},B===null?(D=B=J,N=H):B=B.next=J,y|=V;if(E=E.next,E===null){if(E=u.shared.pending,E===null)break;V=E,E=V.next,V.next=null,u.lastBaseUpdate=V,u.shared.pending=null}}while(!0);if(B===null&&(N=H),u.baseState=N,u.firstBaseUpdate=D,u.lastBaseUpdate=B,t=u.shared.interleaved,t!==null){u=t;do y|=u.lane,u=u.next;while(u!==t)}else d===null&&(u.shared.lanes=0);Un|=y,e.lanes=y,e.memoizedState=H}}function rf(e,t,o){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],u=i.callback;if(u!==null){if(i.callback=null,i=o,typeof u!="function")throw Error(s(191,u));u.call(i)}}}var yo={},zt=pn(yo),xo=pn(yo),wo=pn(yo);function Fn(e){if(e===yo)throw Error(s(174));return e}function Ja(e,t){switch(Te(wo,t),Te(xo,e),Te(zt,yo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ea(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ea(t,e)}je(zt),Te(zt,t)}function wr(){je(zt),je(xo),je(wo)}function of(e){Fn(wo.current);var t=Fn(zt.current),o=ea(t,e.type);t!==o&&(Te(xo,e),Te(zt,o))}function el(e){xo.current===e&&(je(zt),je(xo))}var De=pn(0);function Ds(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var tl=[];function nl(){for(var e=0;e<tl.length;e++)tl[e]._workInProgressVersionPrimary=null;tl.length=0}var Is=L.ReactCurrentDispatcher,rl=L.ReactCurrentBatchConfig,$n=0,Ie=null,Ve=null,He=null,Ls=!1,bo=!1,So=0,s0=0;function Xe(){throw Error(s(321))}function ol(e,t){if(t===null)return!1;for(var o=0;o<t.length&&o<e.length;o++)if(!Pt(e[o],t[o]))return!1;return!0}function sl(e,t,o,i,u,d){if($n=d,Ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Is.current=e===null||e.memoizedState===null?u0:c0,e=o(i,u),bo){d=0;do{if(bo=!1,So=0,25<=d)throw Error(s(301));d+=1,He=Ve=null,t.updateQueue=null,Is.current=d0,e=o(i,u)}while(bo)}if(Is.current=$s,t=Ve!==null&&Ve.next!==null,$n=0,He=Ve=Ie=null,Ls=!1,t)throw Error(s(300));return e}function il(){var e=So!==0;return So=0,e}function Ft(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return He===null?Ie.memoizedState=He=e:He=He.next=e,He}function xt(){if(Ve===null){var e=Ie.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=He===null?Ie.memoizedState:He.next;if(t!==null)He=t,Ve=e;else{if(e===null)throw Error(s(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},He===null?Ie.memoizedState=He=e:He=He.next=e}return He}function Eo(e,t){return typeof t=="function"?t(e):t}function al(e){var t=xt(),o=t.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;var i=Ve,u=i.baseQueue,d=o.pending;if(d!==null){if(u!==null){var y=u.next;u.next=d.next,d.next=y}i.baseQueue=u=d,o.pending=null}if(u!==null){d=u.next,i=i.baseState;var E=y=null,N=null,D=d;do{var B=D.lane;if(($n&B)===B)N!==null&&(N=N.next={lane:0,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),i=D.hasEagerState?D.eagerState:e(i,D.action);else{var H={lane:B,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null};N===null?(E=N=H,y=i):N=N.next=H,Ie.lanes|=B,Un|=B}D=D.next}while(D!==null&&D!==d);N===null?y=i:N.next=E,Pt(i,t.memoizedState)||(st=!0),t.memoizedState=i,t.baseState=y,t.baseQueue=N,o.lastRenderedState=i}if(e=o.interleaved,e!==null){u=e;do d=u.lane,Ie.lanes|=d,Un|=d,u=u.next;while(u!==e)}else u===null&&(o.lanes=0);return[t.memoizedState,o.dispatch]}function ll(e){var t=xt(),o=t.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=e;var i=o.dispatch,u=o.pending,d=t.memoizedState;if(u!==null){o.pending=null;var y=u=u.next;do d=e(d,y.action),y=y.next;while(y!==u);Pt(d,t.memoizedState)||(st=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),o.lastRenderedState=d}return[d,i]}function sf(){}function af(e,t){var o=Ie,i=xt(),u=t(),d=!Pt(i.memoizedState,u);if(d&&(i.memoizedState=u,st=!0),i=i.queue,ul(cf.bind(null,o,i,e),[e]),i.getSnapshot!==t||d||He!==null&&He.memoizedState.tag&1){if(o.flags|=2048,ko(9,uf.bind(null,o,i,u,t),void 0,null),We===null)throw Error(s(349));($n&30)!==0||lf(o,t,u)}return u}function lf(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=Ie.updateQueue,t===null?(t={lastEffect:null,stores:null},Ie.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function uf(e,t,o,i){t.value=o,t.getSnapshot=i,df(t)&&ff(e)}function cf(e,t,o){return o(function(){df(t)&&ff(e)})}function df(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Pt(e,o)}catch{return!0}}function ff(e){var t=Zt(e,1);t!==null&&jt(t,e,1,-1)}function pf(e){var t=Ft();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:e},t.queue=e,e=e.dispatch=l0.bind(null,Ie,e),[t.memoizedState,e]}function ko(e,t,o,i){return e={tag:e,create:t,destroy:o,deps:i,next:null},t=Ie.updateQueue,t===null?(t={lastEffect:null,stores:null},Ie.updateQueue=t,t.lastEffect=e.next=e):(o=t.lastEffect,o===null?t.lastEffect=e.next=e:(i=o.next,o.next=e,e.next=i,t.lastEffect=e)),e}function hf(){return xt().memoizedState}function zs(e,t,o,i){var u=Ft();Ie.flags|=e,u.memoizedState=ko(1|t,o,void 0,i===void 0?null:i)}function Fs(e,t,o,i){var u=xt();i=i===void 0?null:i;var d=void 0;if(Ve!==null){var y=Ve.memoizedState;if(d=y.destroy,i!==null&&ol(i,y.deps)){u.memoizedState=ko(t,o,d,i);return}}Ie.flags|=e,u.memoizedState=ko(1|t,o,d,i)}function mf(e,t){return zs(8390656,8,e,t)}function ul(e,t){return Fs(2048,8,e,t)}function gf(e,t){return Fs(4,2,e,t)}function vf(e,t){return Fs(4,4,e,t)}function yf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function xf(e,t,o){return o=o!=null?o.concat([e]):null,Fs(4,4,yf.bind(null,t,e),o)}function cl(){}function wf(e,t){var o=xt();t=t===void 0?null:t;var i=o.memoizedState;return i!==null&&t!==null&&ol(t,i[1])?i[0]:(o.memoizedState=[e,t],e)}function bf(e,t){var o=xt();t=t===void 0?null:t;var i=o.memoizedState;return i!==null&&t!==null&&ol(t,i[1])?i[0]:(e=e(),o.memoizedState=[e,t],e)}function Sf(e,t,o){return($n&21)===0?(e.baseState&&(e.baseState=!1,st=!0),e.memoizedState=o):(Pt(o,t)||(o=Xc(),Ie.lanes|=o,Un|=o,e.baseState=!0),t)}function i0(e,t){var o=Ne;Ne=o!==0&&4>o?o:4,e(!0);var i=rl.transition;rl.transition={};try{e(!1),t()}finally{Ne=o,rl.transition=i}}function Ef(){return xt().memoizedState}function a0(e,t,o){var i=bn(e);if(o={lane:i,action:o,hasEagerState:!1,eagerState:null,next:null},kf(e))Cf(t,o);else if(o=ef(e,t,o,i),o!==null){var u=tt();jt(o,e,i,u),Pf(o,t,i)}}function l0(e,t,o){var i=bn(e),u={lane:i,action:o,hasEagerState:!1,eagerState:null,next:null};if(kf(e))Cf(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,E=d(y,o);if(u.hasEagerState=!0,u.eagerState=E,Pt(E,y)){var N=t.interleaved;N===null?(u.next=u,Xa(t)):(u.next=N.next,N.next=u),t.interleaved=u;return}}catch{}o=ef(e,t,u,i),o!==null&&(u=tt(),jt(o,e,i,u),Pf(o,t,i))}}function kf(e){var t=e.alternate;return e===Ie||t!==null&&t===Ie}function Cf(e,t){bo=Ls=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function Pf(e,t,o){if((o&4194240)!==0){var i=t.lanes;i&=e.pendingLanes,o|=i,t.lanes=o,fa(e,o)}}var $s={readContext:yt,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useInsertionEffect:Xe,useLayoutEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useMutableSource:Xe,useSyncExternalStore:Xe,useId:Xe,unstable_isNewReconciler:!1},u0={readContext:yt,useCallback:function(e,t){return Ft().memoizedState=[e,t===void 0?null:t],e},useContext:yt,useEffect:mf,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,zs(4194308,4,yf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return zs(4,2,e,t)},useMemo:function(e,t){var o=Ft();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var i=Ft();return t=o!==void 0?o(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=a0.bind(null,Ie,e),[i.memoizedState,e]},useRef:function(e){var t=Ft();return e={current:e},t.memoizedState=e},useState:pf,useDebugValue:cl,useDeferredValue:function(e){return Ft().memoizedState=e},useTransition:function(){var e=pf(!1),t=e[0];return e=i0.bind(null,e[1]),Ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var i=Ie,u=Ft();if(Ae){if(o===void 0)throw Error(s(407));o=o()}else{if(o=t(),We===null)throw Error(s(349));($n&30)!==0||lf(i,t,o)}u.memoizedState=o;var d={value:o,getSnapshot:t};return u.queue=d,mf(cf.bind(null,i,d,e),[e]),i.flags|=2048,ko(9,uf.bind(null,i,d,o,t),void 0,null),o},useId:function(){var e=Ft(),t=We.identifierPrefix;if(Ae){var o=Xt,i=Yt;o=(i&~(1<<32-Ct(i)-1)).toString(32)+o,t=":"+t+"R"+o,o=So++,0<o&&(t+="H"+o.toString(32)),t+=":"}else o=s0++,t=":"+t+"r"+o.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},c0={readContext:yt,useCallback:wf,useContext:yt,useEffect:ul,useImperativeHandle:xf,useInsertionEffect:gf,useLayoutEffect:vf,useMemo:bf,useReducer:al,useRef:hf,useState:function(){return al(Eo)},useDebugValue:cl,useDeferredValue:function(e){var t=xt();return Sf(t,Ve.memoizedState,e)},useTransition:function(){var e=al(Eo)[0],t=xt().memoizedState;return[e,t]},useMutableSource:sf,useSyncExternalStore:af,useId:Ef,unstable_isNewReconciler:!1},d0={readContext:yt,useCallback:wf,useContext:yt,useEffect:ul,useImperativeHandle:xf,useInsertionEffect:gf,useLayoutEffect:vf,useMemo:bf,useReducer:ll,useRef:hf,useState:function(){return ll(Eo)},useDebugValue:cl,useDeferredValue:function(e){var t=xt();return Ve===null?t.memoizedState=e:Sf(t,Ve.memoizedState,e)},useTransition:function(){var e=ll(Eo)[0],t=xt().memoizedState;return[e,t]},useMutableSource:sf,useSyncExternalStore:af,useId:Ef,unstable_isNewReconciler:!1};function Rt(e,t){if(e&&e.defaultProps){t=G({},t),e=e.defaultProps;for(var o in e)t[o]===void 0&&(t[o]=e[o]);return t}return t}function dl(e,t,o,i){t=e.memoizedState,o=o(i,t),o=o==null?t:G({},t,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var Us={isMounted:function(e){return(e=e._reactInternals)?An(e)===e:!1},enqueueSetState:function(e,t,o){e=e._reactInternals;var i=tt(),u=bn(e),d=Jt(i,u);d.payload=t,o!=null&&(d.callback=o),t=vn(e,d,u),t!==null&&(jt(t,e,u,i),As(t,e,u))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var i=tt(),u=bn(e),d=Jt(i,u);d.tag=1,d.payload=t,o!=null&&(d.callback=o),t=vn(e,d,u),t!==null&&(jt(t,e,u,i),As(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=tt(),i=bn(e),u=Jt(o,i);u.tag=2,t!=null&&(u.callback=t),t=vn(e,u,i),t!==null&&(jt(t,e,i,o),As(t,e,i))}};function Nf(e,t,o,i,u,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,d,y):t.prototype&&t.prototype.isPureReactComponent?!uo(o,i)||!uo(u,d):!0}function Rf(e,t,o){var i=!1,u=hn,d=t.contextType;return typeof d=="object"&&d!==null?d=yt(d):(u=ot(t)?Dn:Ye.current,i=t.contextTypes,d=(i=i!=null)?pr(e,u):hn),t=new t(o,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Us,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=u,e.__reactInternalMemoizedMaskedChildContext=d),t}function Tf(e,t,o,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(o,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(o,i),t.state!==e&&Us.enqueueReplaceState(t,t.state,null)}function fl(e,t,o,i){var u=e.stateNode;u.props=o,u.state=e.memoizedState,u.refs={},Za(e);var d=t.contextType;typeof d=="object"&&d!==null?u.context=yt(d):(d=ot(t)?Dn:Ye.current,u.context=pr(e,d)),u.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(dl(e,t,d,o),u.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(t=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),t!==u.state&&Us.enqueueReplaceState(u,u.state,null),Ms(e,o,u,i),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308)}function br(e,t){try{var o="",i=t;do o+=K(i),i=i.return;while(i);var u=o}catch(d){u=`
8Error generating stack: `+d.message+`
9`+d.stack}return{value:e,source:t,stack:u,digest:null}}function pl(e,t,o){return{value:e,source:null,stack:o??null,digest:t??null}}function hl(e,t){try{console.error(t.value)}catch(o){setTimeout(function(){throw o})}}var f0=typeof WeakMap=="function"?WeakMap:Map;function _f(e,t,o){o=Jt(-1,o),o.tag=3,o.payload={element:null};var i=t.value;return o.callback=function(){Gs||(Gs=!0,Tl=i),hl(e,t)},o}function jf(e,t,o){o=Jt(-1,o),o.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var u=t.value;o.payload=function(){return i(u)},o.callback=function(){hl(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(o.callback=function(){hl(e,t),typeof i!="function"&&(xn===null?xn=new Set([this]):xn.add(this));var y=t.stack;this.componentDidCatch(t.value,{componentStack:y!==null?y:""})}),o}function Of(e,t,o){var i=e.pingCache;if(i===null){i=e.pingCache=new f0;var u=new Set;i.set(t,u)}else u=i.get(t),u===void 0&&(u=new Set,i.set(t,u));
vendor: 9,738 bytes, line 9
9u.has(o)||(u.add(o),e=P0.bind(null,e,t,o),t.then(e,e))}function Af(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Mf(e,t,o,i,u){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(t=Jt(-1,1),t.tag=2,vn(o,t,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=u,e)}var p0=L.ReactCurrentOwner,st=!1;function et(e,t,o,i){t.child=e===null?Jd(t,null,o,i):vr(t,e.child,o,i)}function Df(e,t,o,i,u){o=o.render;var d=t.ref;return xr(t,u),i=sl(e,t,o,i,d,u),o=il(),e!==null&&!st?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,en(e,t,u)):(Ae&&o&&Va(t),t.flags|=1,et(e,t,i,u),t.child)}function If(e,t,o,i,u){if(e===null){var d=o.type;return typeof d=="function"&&!Il(d)&&d.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(t.tag=15,t.type=d,Lf(e,t,d,i,u)):(e=ei(o.type,null,i,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&u)===0){var y=d.memoizedProps;if(o=o.compare,o=o!==null?o:uo,o(y,i)&&e.ref===t.ref)return en(e,t,u)}return t.flags|=1,e=En(d,i),e.ref=t.ref,e.return=t,t.child=e}function Lf(e,t,o,i,u){if(e!==null){var d=e.memoizedProps;if(uo(d,i)&&e.ref===t.ref)if(st=!1,t.pendingProps=i=d,(e.lanes&u)!==0)(e.flags&131072)!==0&&(st=!0);else return t.lanes=e.lanes,en(e,t,u)}return ml(e,t,o,i,u)}function zf(e,t,o){var i=t.pendingProps,u=i.children,d=e!==null?e.memoizedState:null;if(i.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Te(Er,pt),pt|=o;else{if((o&1073741824)===0)return e=d!==null?d.baseLanes|o:o,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Te(Er,pt),pt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=d!==null?d.baseLanes:o,Te(Er,pt),pt|=i}else d!==null?(i=d.baseLanes|o,t.memoizedState=null):i=o,Te(Er,pt),pt|=i;return et(e,t,u,o),t.child}function Ff(e,t){var o=t.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(t.flags|=512,t.flags|=2097152)}function ml(e,t,o,i,u){var d=ot(o)?Dn:Ye.current;return d=pr(t,d),xr(t,u),o=sl(e,t,o,i,d,u),i=il(),e!==null&&!st?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~u,en(e,t,u)):(Ae&&i&&Va(t),t.flags|=1,et(e,t,o,u),t.child)}function $f(e,t,o,i,u){if(ot(o)){var d=!0;Cs(t)}else d=!1;if(xr(t,u),t.stateNode===null)Bs(e,t),Rf(t,o,i),fl(t,o,i,u),i=!0;else if(e===null){var y=t.stateNode,E=t.memoizedProps;y.props=E;var N=y.context,D=o.contextType;typeof D=="object"&&D!==null?D=yt(D):(D=ot(o)?Dn:Ye.current,D=pr(t,D));var B=o.getDerivedStateFromProps,H=typeof B=="function"||typeof y.getSnapshotBeforeUpdate=="function";H||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(E!==i||N!==D)&&Tf(t,y,i,D),gn=!1;var V=t.memoizedState;y.state=V,Ms(t,i,y,u),N=t.memoizedState,E!==i||V!==N||rt.current||gn?(typeof B=="function"&&(dl(t,o,B,i),N=t.memoizedState),(E=gn||Nf(t,o,E,i,V,N,D))?(H||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(t.flags|=4194308)):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=N),y.props=i,y.state=N,y.context=D,i=E):(typeof y.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{y=t.stateNode,tf(e,t),E=t.memoizedProps,D=t.type===t.elementType?E:Rt(t.type,E),y.props=D,H=t.pendingProps,V=y.context,N=o.contextType,typeof N=="object"&&N!==null?N=yt(N):(N=ot(o)?Dn:Ye.current,N=pr(t,N));var J=o.getDerivedStateFromProps;(B=typeof J=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(E!==H||V!==N)&&Tf(t,y,i,N),gn=!1,V=t.memoizedState,y.state=V,Ms(t,i,y,u);var te=t.memoizedState;E!==H||V!==te||rt.current||gn?(typeof J=="function"&&(dl(t,o,J,i),te=t.memoizedState),(D=gn||Nf(t,o,D,i,V,te,N)||!1)?(B||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(i,te,N),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(i,te,N)),typeof y.componentDidUpdate=="function"&&(t.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof y.componentDidUpdate!="function"||E===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=te),y.props=i,y.state=te,y.context=N,i=D):(typeof y.componentDidUpdate!="function"||E===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||E===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),i=!1)}return gl(e,t,o,i,d,u)}function gl(e,t,o,i,u,d){Ff(e,t);var y=(t.flags&128)!==0;if(!i&&!y)return u&&Hd(t,o,!1),en(e,t,d);i=t.stateNode,p0.current=t;var E=y&&typeof o.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&y?(t.child=vr(t,e.child,null,d),t.child=vr(t,null,E,d)):et(e,t,E,d),t.memoizedState=i.state,u&&Hd(t,o,!0),t.child}function Uf(e){var t=e.stateNode;t.pendingContext?Vd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vd(e,t.context,!1),Ja(e,t.containerInfo)}function Vf(e,t,o,i,u){return gr(),Qa(u),t.flags|=256,et(e,t,o,i),t.child}var vl={dehydrated:null,treeContext:null,retryLane:0};function yl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Bf(e,t,o){var i=t.pendingProps,u=De.current,d=!1,y=(t.flags&128)!==0,E;if((E=y)||(E=e!==null&&e.memoizedState===null?!1:(u&2)!==0),E?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(u|=1),Te(De,u&1),e===null)return Wa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(y=i.children,e=i.fallback,d?(i=t.mode,d=t.child,y={mode:"hidden",children:y},(i&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=y):d=ti(y,i,0,null),e=Wn(e,i,o,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=yl(o),t.memoizedState=vl,e):xl(t,y));if(u=e.memoizedState,u!==null&&(E=u.dehydrated,E!==null))return h0(e,t,y,i,E,u,o);if(d){d=i.fallback,y=t.mode,u=e.child,E=u.sibling;var N={mode:"hidden",children:i.children};return(y&1)===0&&t.child!==u?(i=t.child,i.childLanes=0,i.pendingProps=N,t.deletions=null):(i=En(u,N),i.subtreeFlags=u.subtreeFlags&14680064),E!==null?d=En(E,d):(d=Wn(d,y,o,null),d.flags|=2),d.return=t,i.return=t,i.sibling=d,t.child=i,i=d,d=t.child,y=e.child.memoizedState,y=y===null?yl(o):{baseLanes:y.baseLanes|o,cachePool:null,transitions:y.transitions},d.memoizedState=y,d.childLanes=e.childLanes&~o,t.memoizedState=vl,i}return d=e.child,e=d.sibling,i=En(d,{mode:"visible",children:i.children}),(t.mode&1)===0&&(i.lanes=o),i.return=t,i.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=i,t.memoizedState=null,i}function xl(e,t){return t=ti({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vs(e,t,o,i){return i!==null&&Qa(i),vr(t,e.child,null,o),e=xl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function h0(e,t,o,i,u,d,y){if(o)return t.flags&256?(t.flags&=-257,i=pl(Error(s(422))),Vs(e,t,y,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=i.fallback,u=t.mode,i=ti({mode:"visible",children:i.children},u,0,null),d=Wn(d,u,y,null),d.flags|=2,i.return=t,d.return=t,i.sibling=d,t.child=i,(t.mode&1)!==0&&vr(t,e.child,null,y),t.child.memoizedState=yl(y),t.memoizedState=vl,d);if((t.mode&1)===0)return Vs(e,t,y,null);if(u.data==="$!"){if(i=u.nextSibling&&u.nextSibling.dataset,i)var E=i.dgst;return i=E,d=Error(s(419)),i=pl(d,i,void 0),Vs(e,t,y,i)}if(E=(y&e.childLanes)!==0,st||E){if(i=We,i!==null){switch(y&-y){case 4:u=2;break;case 16:u=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:u=32;break;case 536870912:u=268435456;break;default:u=0}u=(u&(i.suspendedLanes|y))!==0?0:u,u!==0&&u!==d.retryLane&&(d.retryLane=u,Zt(e,u),jt(i,e,u,-1))}return Dl(),i=pl(Error(s(421))),Vs(e,t,y,i)}return u.data==="$?"?(t.flags|=128,t.child=e.child,t=N0.bind(null,e),u._reactRetry=t,null):(e=d.treeContext,ft=fn(u.nextSibling),dt=t,Ae=!0,Nt=null,e!==null&&(gt[vt++]=Yt,gt[vt++]=Xt,gt[vt++]=In,Yt=e.id,Xt=e.overflow,In=t),t=xl(t,i.children),t.flags|=4096,t)}function Hf(e,t,o){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Ya(e.return,t,o)}function wl(e,t,o,i,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:o,tailMode:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=o,d.tailMode=u)}function Wf(e,t,o){var i=t.pendingProps,u=i.revealOrder,d=i.tail;if(et(e,t,i.children,o),i=De.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hf(e,o,t);else if(e.tag===19)Hf(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(Te(De,i),(t.mode&1)===0)t.memoizedState=null;else switch(u){case"forwards":for(o=t.child,u=null;o!==null;)e=o.alternate,e!==null&&Ds(e)===null&&(u=o),o=o.sibling;
vendor: 4,955 bytes, line 9
9o=u,o===null?(u=t.child,t.child=null):(u=o.sibling,o.sibling=null),wl(t,!1,u,o,d);break;case"backwards":for(o=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Ds(e)===null){t.child=u;break}e=u.sibling,u.sibling=o,o=u,u=e}wl(t,!0,o,null,d);break;case"together":wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Bs(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function en(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,(o&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,o=En(e,e.pendingProps),t.child=o,o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=En(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function m0(e,t,o){switch(t.tag){case 3:Uf(t),gr();break;case 5:of(t);break;case 1:ot(t.type)&&Cs(t);break;case 4:Ja(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,u=t.memoizedProps.value;Te(js,i._currentValue),i._currentValue=u;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Te(De,De.current&1),t.flags|=128,null):(o&t.child.childLanes)!==0?Bf(e,t,o):(Te(De,De.current&1),e=en(e,t,o),e!==null?e.sibling:null);Te(De,De.current&1);break;case 19:if(i=(o&t.childLanes)!==0,(e.flags&128)!==0){if(i)return Wf(e,t,o);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),Te(De,De.current),i)break;return null;case 22:case 23:return t.lanes=0,zf(e,t,o)}return en(e,t,o)}var Qf,bl,Kf,Gf;Qf=function(e,t){for(var o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},bl=function(){},Kf=function(e,t,o,i){var u=e.memoizedProps;if(u!==i){e=t.stateNode,Fn(zt.current);var d=null;switch(o){case"input":u=Yi(e,u),i=Yi(e,i),d=[];break;case"select":u=G({},u,{value:void 0}),i=G({},i,{value:void 0}),d=[];break;case"textarea":u=Ji(e,u),i=Ji(e,i),d=[];break;default:typeof u.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=Ss)}ta(o,i);var y;o=null;for(D in u)if(!i.hasOwnProperty(D)&&u.hasOwnProperty(D)&&u[D]!=null)if(D==="style"){var E=u[D];for(y in E)E.hasOwnProperty(y)&&(o||(o={}),o[y]="")}else D!=="dangerouslySetInnerHTML"&&D!=="children"&&D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&D!=="autoFocus"&&(l.hasOwnProperty(D)?d||(d=[]):(d=d||[]).push(D,null));for(D in i){var N=i[D];if(E=u?.[D],i.hasOwnProperty(D)&&N!==E&&(N!=null||E!=null))if(D==="style")if(E){for(y in E)!E.hasOwnProperty(y)||N&&N.hasOwnProperty(y)||(o||(o={}),o[y]="");for(y in N)N.hasOwnProperty(y)&&E[y]!==N[y]&&(o||(o={}),o[y]=N[y])}else o||(d||(d=[]),d.push(D,o)),o=N;else D==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,E=E?E.__html:void 0,N!=null&&E!==N&&(d=d||[]).push(D,N)):D==="children"?typeof N!="string"&&typeof N!="number"||(d=d||[]).push(D,""+N):D!=="suppressContentEditableWarning"&&D!=="suppressHydrationWarning"&&(l.hasOwnProperty(D)?(N!=null&&D==="onScroll"&&_e("scroll",e),d||E===N||(d=[])):(d=d||[]).push(D,N))}o&&(d=d||[]).push("style",o);var D=d;(t.updateQueue=D)&&(t.flags|=4)}},Gf=function(e,t,o,i){o!==i&&(t.flags|=4)};function Co(e,t){if(!Ae)switch(e.tailMode){case"hidden":t=e.tail;for(var o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,i=0;if(t)for(var u=e.child;u!==null;)o|=u.lanes|u.childLanes,i|=u.subtreeFlags&14680064,i|=u.flags&14680064,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)o|=u.lanes|u.childLanes,i|=u.subtreeFlags,i|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=i,e.childLanes=o,t}function g0(e,t,o){var i=t.pendingProps;switch(Ba(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return ot(t.type)&&ks(),Ze(t),null;case 3:return i=t.stateNode,wr(),je(rt),je(Ye),nl(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ts(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Nt!==null&&(Ol(Nt),Nt=null))),bl(e,t),Ze(t),null;case 5:el(t);var u=Fn(wo.current);if(o=t.type,e!==null&&t.stateNode!=null)Kf(e,t,o,i,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Ze(t),null}if(e=Fn(zt.current),Ts(t)){i=t.stateNode,o=t.type;var d=t.memoizedProps;switch(i[Lt]=t,i[mo]=d,e=(t.mode&1)!==0,o){case"dialog":_e("cancel",i),_e("close",i);break;case"iframe":case"object":case"embed":_e("load",i);break;case"video":case"audio":for(u=0;
vendor: 6,890 bytes, line 9
9u<fo.length;u++)_e(fo[u],i);break;case"source":_e("error",i);break;case"img":case"image":case"link":_e("error",i),_e("load",i);break;case"details":_e("toggle",i);break;case"input":Nc(i,d),_e("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!d.multiple},_e("invalid",i);break;case"textarea":_c(i,d),_e("invalid",i)}ta(o,d),u=null;for(var y in d)if(d.hasOwnProperty(y)){var E=d[y];y==="children"?typeof E=="string"?i.textContent!==E&&(d.suppressHydrationWarning!==!0&&bs(i.textContent,E,e),u=["children",E]):typeof E=="number"&&i.textContent!==""+E&&(d.suppressHydrationWarning!==!0&&bs(i.textContent,E,e),u=["children",""+E]):l.hasOwnProperty(y)&&E!=null&&y==="onScroll"&&_e("scroll",i)}switch(o){case"input":er(i),Tc(i,d,!0);break;case"textarea":er(i),Oc(i);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(i.onclick=Ss)}i=u,t.updateQueue=i,i!==null&&(t.flags|=4)}else{y=u.nodeType===9?u:u.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ac(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=y.createElement(o,{is:i.is}):(e=y.createElement(o),o==="select"&&(y=e,i.multiple?y.multiple=!0:i.size&&(y.size=i.size))):e=y.createElementNS(e,o),e[Lt]=t,e[mo]=i,Qf(e,t,!1,!1),t.stateNode=e;e:{switch(y=na(o,i),o){case"dialog":_e("cancel",e),_e("close",e),u=i;break;case"iframe":case"object":case"embed":_e("load",e),u=i;break;case"video":case"audio":for(u=0;u<fo.length;u++)_e(fo[u],e);u=i;break;case"source":_e("error",e),u=i;break;case"img":case"image":case"link":_e("error",e),_e("load",e),u=i;break;case"details":_e("toggle",e),u=i;break;case"input":Nc(e,i),u=Yi(e,i),_e("invalid",e);break;case"option":u=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},u=G({},i,{value:void 0}),_e("invalid",e);break;case"textarea":_c(e,i),u=Ji(e,i),_e("invalid",e);break;default:u=i}ta(o,u),E=u;for(d in E)if(E.hasOwnProperty(d)){var N=E[d];d==="style"?Ic(e,N):d==="dangerouslySetInnerHTML"?(N=N?N.__html:void 0,N!=null&&Mc(e,N)):d==="children"?typeof N=="string"?(o!=="textarea"||N!=="")&&Qr(e,N):typeof N=="number"&&Qr(e,""+N):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(l.hasOwnProperty(d)?N!=null&&d==="onScroll"&&_e("scroll",e):N!=null&&I(e,d,N,y))}switch(o){case"input":er(e),Tc(e,i,!1);break;case"textarea":er(e),Oc(e);break;case"option":i.value!=null&&e.setAttribute("value",""+he(i.value));break;case"select":e.multiple=!!i.multiple,d=i.value,d!=null?tr(e,!!i.multiple,d,!1):i.defaultValue!=null&&tr(e,!!i.multiple,i.defaultValue,!0);break;default:typeof u.onClick=="function"&&(e.onclick=Ss)}switch(o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ze(t),null;case 6:if(e&&t.stateNode!=null)Gf(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(o=Fn(wo.current),Fn(zt.current),Ts(t)){if(i=t.stateNode,o=t.memoizedProps,i[Lt]=t,(d=i.nodeValue!==o)&&(e=dt,e!==null))switch(e.tag){case 3:bs(i.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bs(i.nodeValue,o,(e.mode&1)!==0)}d&&(t.flags|=4)}else i=(o.nodeType===9?o:o.ownerDocument).createTextNode(i),i[Lt]=t,t.stateNode=i}return Ze(t),null;case 13:if(je(De),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ae&&ft!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Yd(),gr(),t.flags|=98560,d=!1;else if(d=Ts(t),i!==null&&i.dehydrated!==null){if(e===null){if(!d)throw Error(s(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[Lt]=t}else gr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),d=!1}else Nt!==null&&(Ol(Nt),Nt=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=o,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(De.current&1)!==0?Be===0&&(Be=3):Dl())),t.updateQueue!==null&&(t.flags|=4),Ze(t),null);case 4:return wr(),bl(e,t),e===null&&po(t.stateNode.containerInfo),Ze(t),null;case 10:return qa(t.type._context),Ze(t),null;case 17:return ot(t.type)&&ks(),Ze(t),null;case 19:if(je(De),d=t.memoizedState,d===null)return Ze(t),null;if(i=(t.flags&128)!==0,y=d.rendering,y===null)if(i)Co(d,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(y=Ds(e),y!==null){for(t.flags|=128,Co(d,!1),i=y.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=o,o=t.child;o!==null;)d=o,e=i,d.flags&=14680066,y=d.alternate,y===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=y.childLanes,d.lanes=y.lanes,d.child=y.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=y.memoizedProps,d.memoizedState=y.memoizedState,d.updateQueue=y.updateQueue,d.type=y.type,e=y.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Te(De,De.current&1|2),t.child}e=e.sibling}d.tail!==null&&ze()>kr&&(t.flags|=128,i=!0,Co(d,!1),t.lanes=4194304)}else{if(!i)if(e=Ds(y),e!==null){if(t.flags|=128,i=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),Co(d,!0),d.tail===null&&d.tailMode==="hidden"&&!y.alternate&&!Ae)return Ze(t),null}else 2*ze()-d.renderingStartTime>kr&&o!==1073741824&&(t.flags|=128,i=!0,Co(d,!1),t.lanes=4194304);d.isBackwards?(y.sibling=t.child,t.child=y):(o=d.last,o!==null?o.sibling=y:t.child=y,d.last=y)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=ze(),t.sibling=null,o=De.current,Te(De,i?o&1|2:o&1),t):(Ze(t),null);case 22:case 23:return Ml(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&(t.mode&1)!==0?(pt&1073741824)!==0&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function v0(e,t){switch(Ba(t),t.tag){case 1:return ot(t.type)&&ks(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wr(),je(rt),je(Ye),nl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return el(t),null;case 13:if(je(De),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(De),null;case 4:return wr(),null;case 10:return qa(t.type._context),null;case 22:case 23:return Ml(),null;case 24:return null;default:return null}}var Hs=!1,Je=!1,y0=typeof WeakSet=="function"?WeakSet:Set,ee=null;function Sr(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(i){Le(e,t,i)}else o.current=null}function Sl(e,t,o){try{o()}catch(i){Le(e,t,i)}}var qf=!1;
vendor: 5,863 bytes, line 9
9function x0(e,t){if(Ma=cs,e=Pd(),Pa(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var i=o.getSelection&&o.getSelection();if(i&&i.rangeCount!==0){o=i.anchorNode;var u=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{o.nodeType,d.nodeType}catch{o=null;break e}var y=0,E=-1,N=-1,D=0,B=0,H=e,V=null;t:for(;;){for(var J;H!==o||u!==0&&H.nodeType!==3||(E=y+u),H!==d||i!==0&&H.nodeType!==3||(N=y+i),H.nodeType===3&&(y+=H.nodeValue.length),(J=H.firstChild)!==null;)V=H,H=J;for(;;){if(H===e)break t;if(V===o&&++D===u&&(E=y),V===d&&++B===i&&(N=y),(J=H.nextSibling)!==null)break;H=V,V=H.parentNode}H=J}o=E===-1||N===-1?null:{start:E,end:N}}else o=null}o=o||{start:0,end:0}}else o=null;for(Da={focusedElem:e,selectionRange:o},cs=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var te=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(te!==null){var re=te.memoizedProps,Fe=te.memoizedState,O=t.stateNode,T=O.getSnapshotBeforeUpdate(t.elementType===t.type?re:Rt(t.type,re),Fe);O.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(W){Le(t,t.return,W)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return te=qf,qf=!1,te}function Po(e,t,o){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var u=i=i.next;do{if((u.tag&e)===e){var d=u.destroy;u.destroy=void 0,d!==void 0&&Sl(t,o,d)}u=u.next}while(u!==i)}}function Ws(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var i=o.create;o.destroy=i()}o=o.next}while(o!==t)}}function El(e){var t=e.ref;if(t!==null){var o=e.stateNode;e.tag,e=o,typeof t=="function"?t(e):t.current=e}}function Yf(e){var t=e.alternate;t!==null&&(e.alternate=null,Yf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lt],delete t[mo],delete t[Fa],delete t[t0],delete t[n0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xf(e){return e.tag===5||e.tag===3||e.tag===4}function Zf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function kl(e,t,o){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Ss));else if(i!==4&&(e=e.child,e!==null))for(kl(e,t,o),e=e.sibling;e!==null;)kl(e,t,o),e=e.sibling}function Cl(e,t,o){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Cl(e,t,o),e=e.sibling;e!==null;)Cl(e,t,o),e=e.sibling}var Ke=null,Tt=!1;function yn(e,t,o){for(o=o.child;o!==null;)Jf(e,t,o),o=o.sibling}function Jf(e,t,o){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(os,o)}catch{}switch(o.tag){case 5:Je||Sr(o,t);case 6:var i=Ke,u=Tt;Ke=null,yn(e,t,o),Ke=i,Tt=u,Ke!==null&&(Tt?(e=Ke,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):Ke.removeChild(o.stateNode));break;case 18:Ke!==null&&(Tt?(e=Ke,o=o.stateNode,e.nodeType===8?za(e.parentNode,o):e.nodeType===1&&za(e,o),ro(e)):za(Ke,o.stateNode));break;case 4:i=Ke,u=Tt,Ke=o.stateNode.containerInfo,Tt=!0,yn(e,t,o),Ke=i,Tt=u;break;case 0:case 11:case 14:case 15:if(!Je&&(i=o.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){u=i=i.next;do{var d=u,y=d.destroy;d=d.tag,y!==void 0&&((d&2)!==0||(d&4)!==0)&&Sl(o,t,y),u=u.next}while(u!==i)}yn(e,t,o);break;case 1:if(!Je&&(Sr(o,t),i=o.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=o.memoizedProps,i.state=o.memoizedState,i.componentWillUnmount()}catch(E){Le(o,t,E)}yn(e,t,o);break;case 21:yn(e,t,o);break;case 22:o.mode&1?(Je=(i=Je)||o.memoizedState!==null,yn(e,t,o),Je=i):yn(e,t,o);break;default:yn(e,t,o)}}function ep(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new y0),t.forEach(function(i){var u=R0.bind(null,e,i);o.has(i)||(o.add(i),i.then(u,u))})}}function _t(e,t){var o=t.deletions;if(o!==null)for(var i=0;i<o.length;i++){var u=o[i];try{var d=e,y=t,E=y;e:for(;E!==null;){switch(E.tag){case 5:Ke=E.stateNode,Tt=!1;break e;case 3:Ke=E.stateNode.containerInfo,Tt=!0;break e;case 4:Ke=E.stateNode.containerInfo,Tt=!0;break e}E=E.return}if(Ke===null)throw Error(s(160));Jf(d,y,u),Ke=null,Tt=!1;var N=u.alternate;N!==null&&(N.return=null),u.return=null}catch(D){Le(u,t,D)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)tp(t,e),t=t.sibling}function tp(e,t){var o=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_t(t,e),$t(e),i&4){try{Po(3,e,e.return),Ws(3,e)}catch(re){Le(e,e.return,re)}try{Po(5,e,e.return)}catch(re){Le(e,e.return,re)}}break;case 1:_t(t,e),$t(e),i&512&&o!==null&&Sr(o,o.return);break;case 5:if(_t(t,e),$t(e),i&512&&o!==null&&Sr(o,o.return),e.flags&32){var u=e.stateNode;try{Qr(u,"")}catch(re){Le(e,e.return,re)}}if(i&4&&(u=e.stateNode,u!=null)){var d=e.memoizedProps,y=o!==null?o.memoizedProps:d,E=e.type,N=e.updateQueue;if(e.updateQueue=null,N!==null)try{E==="input"&&d.type==="radio"&&d.name!=null&&Rc(u,d),na(E,y);var D=na(E,d);for(y=0;y<N.length;y+=2){var B=N[y],H=N[y+1];B==="style"?Ic(u,H):B==="dangerouslySetInnerHTML"?Mc(u,H):B==="children"?Qr
vendor: 15,218 bytes, line 9
9(u,H):I(u,B,H,D)}switch(E){case"input":Xi(u,d);break;case"textarea":jc(u,d);break;case"select":var V=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!d.multiple;var J=d.value;J!=null?tr(u,!!d.multiple,J,!1):V!==!!d.multiple&&(d.defaultValue!=null?tr(u,!!d.multiple,d.defaultValue,!0):tr(u,!!d.multiple,d.multiple?[]:"",!1))}u[mo]=d}catch(re){Le(e,e.return,re)}}break;case 6:if(_t(t,e),$t(e),i&4){if(e.stateNode===null)throw Error(s(162));u=e.stateNode,d=e.memoizedProps;try{u.nodeValue=d}catch(re){Le(e,e.return,re)}}break;case 3:if(_t(t,e),$t(e),i&4&&o!==null&&o.memoizedState.isDehydrated)try{ro(t.containerInfo)}catch(re){Le(e,e.return,re)}break;case 4:_t(t,e),$t(e);break;case 13:_t(t,e),$t(e),u=e.child,u.flags&8192&&(d=u.memoizedState!==null,u.stateNode.isHidden=d,!d||u.alternate!==null&&u.alternate.memoizedState!==null||(Rl=ze())),i&4&&ep(e);break;case 22:if(B=o!==null&&o.memoizedState!==null,e.mode&1?(Je=(D=Je)||B,_t(t,e),Je=D):_t(t,e),$t(e),i&8192){if(D=e.memoizedState!==null,(e.stateNode.isHidden=D)&&!B&&(e.mode&1)!==0)for(ee=e,B=e.child;B!==null;){for(H=ee=B;ee!==null;){switch(V=ee,J=V.child,V.tag){case 0:case 11:case 14:case 15:Po(4,V,V.return);break;case 1:Sr(V,V.return);var te=V.stateNode;if(typeof te.componentWillUnmount=="function"){i=V,o=V.return;try{t=i,te.props=t.memoizedProps,te.state=t.memoizedState,te.componentWillUnmount()}catch(re){Le(i,o,re)}}break;case 5:Sr(V,V.return);break;case 22:if(V.memoizedState!==null){op(H);continue}}J!==null?(J.return=V,ee=J):op(H)}B=B.sibling}e:for(B=null,H=e;;){if(H.tag===5){if(B===null){B=H;try{u=H.stateNode,D?(d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(E=H.stateNode,N=H.memoizedProps.style,y=N!=null&&N.hasOwnProperty("display")?N.display:null,E.style.display=Dc("display",y))}catch(re){Le(e,e.return,re)}}}else if(H.tag===6){if(B===null)try{H.stateNode.nodeValue=D?"":H.memoizedProps}catch(re){Le(e,e.return,re)}}else if((H.tag!==22&&H.tag!==23||H.memoizedState===null||H===e)&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===e)break e;for(;H.sibling===null;){if(H.return===null||H.return===e)break e;B===H&&(B=null),H=H.return}B===H&&(B=null),H.sibling.return=H.return,H=H.sibling}}break;case 19:_t(t,e),$t(e),i&4&&ep(e);break;case 21:break;default:_t(t,e),$t(e)}}function $t(e){var t=e.flags;if(t&2){try{e:{for(var o=e.return;o!==null;){if(Xf(o)){var i=o;break e}o=o.return}throw Error(s(160))}switch(i.tag){case 5:var u=i.stateNode;i.flags&32&&(Qr(u,""),i.flags&=-33);var d=Zf(e);Cl(e,d,u);break;case 3:case 4:var y=i.stateNode.containerInfo,E=Zf(e);kl(e,E,y);break;default:throw Error(s(161))}}catch(N){Le(e,e.return,N)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function w0(e,t,o){ee=e,np(e)}function np(e,t,o){for(var i=(e.mode&1)!==0;ee!==null;){var u=ee,d=u.child;if(u.tag===22&&i){var y=u.memoizedState!==null||Hs;if(!y){var E=u.alternate,N=E!==null&&E.memoizedState!==null||Je;E=Hs;var D=Je;if(Hs=y,(Je=N)&&!D)for(ee=u;ee!==null;)y=ee,N=y.child,y.tag===22&&y.memoizedState!==null?sp(u):N!==null?(N.return=y,ee=N):sp(u);for(;d!==null;)ee=d,np(d),d=d.sibling;ee=u,Hs=E,Je=D}rp(e)}else(u.subtreeFlags&8772)!==0&&d!==null?(d.return=u,ee=d):rp(e)}}function rp(e){for(;ee!==null;){var t=ee;if((t.flags&8772)!==0){var o=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Je||Ws(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!Je)if(o===null)i.componentDidMount();else{var u=t.elementType===t.type?o.memoizedProps:Rt(t.type,o.memoizedProps);i.componentDidUpdate(u,o.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&rf(t,d,i);break;case 3:var y=t.updateQueue;if(y!==null){if(o=null,t.child!==null)switch(t.child.tag){case 5:o=t.child.stateNode;break;case 1:o=t.child.stateNode}rf(t,y,o)}break;case 5:var E=t.stateNode;if(o===null&&t.flags&4){o=E;var N=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":N.autoFocus&&o.focus();break;case"img":N.src&&(o.src=N.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var D=t.alternate;if(D!==null){var B=D.memoizedState;if(B!==null){var H=B.dehydrated;H!==null&&ro(H)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}Je||t.flags&512&&El(t)}catch(V){Le(t,t.return,V)}}if(t===e){ee=null;break}if(o=t.sibling,o!==null){o.return=t.return,ee=o;break}ee=t.return}}function op(e){for(;ee!==null;){var t=ee;if(t===e){ee=null;break}var o=t.sibling;if(o!==null){o.return=t.return,ee=o;break}ee=t.return}}function sp(e){for(;ee!==null;){var t=ee;try{switch(t.tag){case 0:case 11:case 15:var o=t.return;try{Ws(4,t)}catch(N){Le(t,o,N)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var u=t.return;try{i.componentDidMount()}catch(N){Le(t,u,N)}}var d=t.return;try{El(t)}catch(N){Le(t,d,N)}break;case 5:var y=t.return;try{El(t)}catch(N){Le(t,y,N)}}}catch(N){Le(t,t.return,N)}if(t===e){ee=null;break}var E=t.sibling;if(E!==null){E.return=t.return,ee=E;break}ee=t.return}}var b0=Math.ceil,Qs=L.ReactCurrentDispatcher,Pl=L.ReactCurrentOwner,wt=L.ReactCurrentBatchConfig,Ce=0,We=null,Ue=null,Ge=0,pt=0,Er=pn(0),Be=0,No=null,Un=0,Ks=0,Nl=0,Ro=null,it=null,Rl=0,kr=1/0,tn=null,Gs=!1,Tl=null,xn=null,qs=!1,wn=null,Ys=0,To=0,_l=null,Xs=-1,Zs=0;function tt(){return(Ce&6)!==0?ze():Xs!==-1?Xs:Xs=ze()}function bn(e){return(e.mode&1)===0?1:(Ce&2)!==0&&Ge!==0?Ge&-Ge:o0.transition!==null?(Zs===0&&(Zs=Xc()),Zs):(e=Ne,e!==0||(e=window.event,e=e===void 0?16:id(e.type)),e)}function jt(e,t,o,i){if(50<To)throw To=0,_l=null,Error(s(185));Zr(e,o,i),((Ce&2)===0||e!==We)&&(e===We&&((Ce&2)===0&&(Ks|=o),Be===4&&Sn(e,Ge)),at(e,i),o===1&&Ce===0&&(t.mode&1)===0&&(kr=ze()+500,Ps&&mn()))}function at(e,t){var o=e.callbackNode;oy(e,t);var i=as(e,e===We?Ge:0);if(i===0)o!==null&&Gc(o),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(o!=null&&Gc(o),t===1)e.tag===0?r0(ap.bind(null,e)):Wd(ap.bind(null,e)),Jy(function(){(Ce&6)===0&&mn()}),o=null;else{switch(Zc(i)){case 1:o=ua;break;case 4:o=qc;break;case 16:o=rs;break;case 536870912:o=Yc;break;default:o=rs}o=mp(o,ip.bind(null,e))}e.callbackPriority=t,e.callbackNode=o}}function ip(e,t){if(Xs=-1,Zs=0,(Ce&6)!==0)throw Error(s(327));var o=e.callbackNode;if(Cr()&&e.callbackNode!==o)return null;var i=as(e,e===We?Ge:0);if(i===0)return null;if((i&30)!==0||(i&e.expiredLanes)!==0||t)t=Js(e,i);else{t=i;var u=Ce;Ce|=2;var d=up();(We!==e||Ge!==t)&&(tn=null,kr=ze()+500,Bn(e,t));do try{k0();break}catch(E){lp(e,E)}while(!0);Ga(),Qs.current=d,Ce=u,Ue!==null?t=0:(We=null,Ge=0,t=Be)}if(t!==0){if(t===2&&(u=ca(e),u!==0&&(i=u,t=jl(e,u))),t===1)throw o=No,Bn(e,0),Sn(e,i),at(e,ze()),o;if(t===6)Sn(e,i);else{if(u=e.current.alternate,(i&30)===0&&!S0(u)&&(t=Js(e,i),t===2&&(d=ca(e),d!==0&&(i=d,t=jl(e,d))),t===1))throw o=No,Bn(e,0),Sn(e,i),at(e,ze()),o;switch(e.finishedWork=u,e.finishedLanes=i,t){case 0:case 1:throw Error(s(345));case 2:Hn(e,it,tn);break;case 3:if(Sn(e,i),(i&130023424)===i&&(t=Rl+500-ze(),10<t)){if(as(e,0)!==0)break;if(u=e.suspendedLanes,(u&i)!==i){tt(),e.pingedLanes|=e.suspendedLanes&u;break}e.timeoutHandle=La(Hn.bind(null,e,it,tn),t);break}Hn(e,it,tn);break;case 4:if(Sn(e,i),(i&4194240)===i)break;for(t=e.eventTimes,u=-1;0<i;){var y=31-Ct(i);d=1<<y,y=t[y],y>u&&(u=y),i&=~d}if(i=u,i=ze()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*b0(i/1960))-i,10<i){e.timeoutHandle=La(Hn.bind(null,e,it,tn),i);break}Hn(e,it,tn);break;case 5:Hn(e,it,tn);break;default:throw Error(s(329))}}}return at(e,ze()),e.callbackNode===o?ip.bind(null,e):null}function jl(e,t){var o=Ro;return e.current.memoizedState.isDehydrated&&(Bn(e,t).flags|=256),e=Js(e,t),e!==2&&(t=it,it=o,t!==null&&Ol(t)),e}function Ol(e){it===null?it=e:it.push.apply(it,e)}function S0(e){for(var t=e;;){if(t.flags&16384){var o=t.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var i=0;i<o.length;i++){var u=o[i],d=u.getSnapshot;u=u.value;try{if(!Pt(d(),u))return!1}catch{return!1}}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sn(e,t){for(t&=~Nl,t&=~Ks,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var o=31-Ct(t),i=1<<o;e[o]=-1,t&=~i}}function ap(e){if((Ce&6)!==0)throw Error(s(327));Cr();var t=as(e,0);if((t&1)===0)return at(e,ze()),null;var o=Js(e,t);if(e.tag!==0&&o===2){var i=ca(e);i!==0&&(t=i,o=jl(e,i))}if(o===1)throw o=No,Bn(e,0),Sn(e,t),at(e,ze()),o;if(o===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hn(e,it,tn),at(e,ze()),null}function Al(e,t){var o=Ce;Ce|=1;try{return e(t)}finally{Ce=o,Ce===0&&(kr=ze()+500,Ps&&mn())}}function Vn(e){wn!==null&&wn.tag===0&&(Ce&6)===0&&Cr();var t=Ce;Ce|=1;var o=wt.transition,i=Ne;try{if(wt.transition=null,Ne=1,e)return e()}finally{Ne=i,wt.transition=o,Ce=t,(Ce&6)===0&&mn()}}function Ml(){pt=Er.current,je(Er)}function Bn(e,t){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,Zy(o)),Ue!==null)for(o=Ue.return;o!==null;){var i=o;switch(Ba(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&ks();break;case 3:wr(),je(rt),je(Ye),nl();break;case 5:el(i);break;case 4:wr();break;case 13:je(De);break;case 19:je(De);break;case 10:qa(i.type._context);break;case 22:case 23:Ml()}o=o.return}if(We=e,Ue=e=En(e.current,null),Ge=pt=t,Be=0,No=null,Nl=Ks=Un=0,it=Ro=null,zn!==null){for(t=0;t<zn.length;t++)if(o=zn[t],i=o.interleaved,i!==null){o.interleaved=null;var u=i.next,d=o.pending;if(d!==null){var y=d.next;d.next=u,i.next=y}o.pending=i}zn=null}return e}function lp(e,t){do{var o=Ue;try{if(Ga(),Is.current=$s,Ls){for(var i=Ie.memoizedState;i!==null;){var u=i.queue;u!==null&&(u.pending=null),i=i.next}Ls=!1}if($n=0,He=Ve=Ie=null,bo=!1,So=0,Pl.current=null,o===null||o.return===null){Be=1,No=t,Ue=null;break}e:{var d=e,y=o.return,E=o,N=t;if(t=Ge,E.flags|=32768,N!==null&&typeof N=="object"&&typeof N.then=="function"){var D=N,B=E,H=B.tag;if((B.mode&1)===0&&(H===0||H===11||H===15)){var V=B.alternate;V?(B.updateQueue=V.updateQueue,B.memoizedState=V.memoizedState,B.lanes=V.lanes):(B.updateQueue=null,B.memoizedState=null)}var J=Af(y);if(J!==null){J.flags&=-257,Mf(J,y,E,d,t),J.mode&1&&Of(d,D,t),t=J,N=D;var te=t.updateQueue;if(te===null){var re=new Set;re.add(N),t.updateQueue=re}else te.add(N);break e}else{if((t&1)===0){Of(d,D,t),Dl();break e}N=Error(s(426))}}else if(Ae&&E.mode&1){var Fe=Af(y);if(Fe!==null){(Fe.flags&65536)===0&&(Fe.flags|=256),Mf(Fe,y,E,d,t),Qa(br(N,E));break e}}d=N=br(N,E),Be!==4&&(Be=2),Ro===null?Ro=[d]:Ro.push(d),d=y;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var O=_f(d,N,t);nf(d,O);break e;case 1:E=N;var T=d.type,A=d.stateNode;if((d.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(xn===null||!xn.has(A)))){d.flags|=65536,t&=-t,d.lanes|=t;var W=jf(d,E,t);nf(d,W);break e}}d=d.return}while(d!==null)}dp(o)}catch(se){t=se,Ue===o&&o!==null&&(Ue=o=o.return);continue}break}while(!0)}function up(){var e=Qs.current;return Qs.current=$s,e===null?$s:e}function Dl(){(Be===0||Be===3||Be===2)&&(Be=4),We===null||(Un&268435455)===0&&(Ks&268435455)===0||Sn(We,Ge)}function Js(e,t){var o=Ce;Ce|=2;var i=up();(We!==e||Ge!==t)&&(tn=null,Bn(e,t));do try{E0();break}catch(u){lp(e,u)}while(!0);if(Ga(),Ce=o,Qs.current=i,Ue!==null)throw Error(s(261));return We=null,Ge=0,Be}function E0(){for(;Ue!==null;)cp(Ue)}function k0(){for(;Ue!==null&&!qv();)cp(Ue)}function cp(e){var t=hp(e.alternate,e,pt);e.memoizedProps=e.pendingProps,t===null?dp(e):Ue=t,Pl.current=null}function dp(e){var t=e;do{var o=t.alternate;if(e=t.return,(t.flags&32768)===0){if(o=g0(o,t,pt),o!==null){Ue=o;return}}else{if(o=v0(o,t),o!==null){o.flags&=32767,Ue=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Be=6,Ue=null;return}}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);Be===0&&(Be=5)}function Hn(e,t,o){var i=Ne,u=wt.transition;try{wt.transition=null,Ne=1,C0(e,t,o,i)}finally{wt.transition=u,Ne=i}return null}function C0(e,t,o,i){do Cr();while(wn!==null);if((Ce&6)!==0)throw Error(s(327));o=e.finishedWork;var u=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var d=o.lanes|o.childLanes;if(sy(e,d),e===We&&(Ue=We=null,Ge=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||qs||(qs=!0,mp(rs,function(){return Cr(),null})),d=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||d){d=wt.transition,wt.transition=null;var y=Ne;Ne=1;var E=Ce;Ce|=4,Pl.current=null,x0(e,o),tp(o,e),Wy(Da),cs=!!Ma,Da=Ma=null,e.current=o,w0(o),Yv(),Ce=E,Ne=y,wt.transition=d}else e.current=o;if(qs&&(qs=!1,wn=e,Ys=u),d=e.pendingLanes,d===0&&(xn=null),Jv(o.stateNode),at(e,ze()),t!==null)for(i=e.onRecoverableError,o=0;o<t.length;o++)u=t[o],i(u.value,{componentStack:u.stack,digest:u.digest});if(Gs)throw Gs=!1,e=Tl,Tl=null,e;return(Ys&1)!==0&&e.tag!==0&&Cr(),d=e.pendingLanes,(d&1)!==0?e===_l?To++:(To=0,_l=e):To=0,mn(),null}function Cr(){if(wn!==null){var e=Zc(Ys),t=wt.transition,o=Ne;try{if(wt.transition=null,Ne=16>e?16:e,wn===null)var i=!1;else{if(e=wn,wn=null,Ys=0,(Ce&6)!==0)throw Error(s(331));var u=Ce;for(Ce|=4,ee=e.current;ee!==null;){var d=ee,y=d.child;if((ee.flags&16)!==0){var E=d.deletions;if(E!==null){for(var N=0;N<E.length;N++){var D=E[N];for(ee=D;ee!==null;){var B=ee;switch(B.tag){case 0:case 11:case 15:Po(8,B,d)}var H=B.child;if(H!==null)H.return=B,ee=H;else for(;ee!==null;){B=ee;var V=B.sibling,J=B.return;if(Yf(B),B===D){ee=null;break}if(V!==null){V.return=J,ee=V;break}ee=J}}}var te=d.alternate;if(te!==null){var re=te.child;if(re!==null){te.child=null;do{var Fe=re.sibling;re.sibling=null,re=Fe}while(re!==null)}}ee=d}}if((d.subtreeFlags&2064)!==0&&y!==null)y.return=d,ee=y;else e:for(;ee!==null;){if(d=ee,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Po(9,d,d.return)}var O=d.sibling;if(O!==null){O.return=d.return,ee=O;break e}ee=d.return}}var T=e.current;for(ee=T;ee!==null;){y=ee;var A=y.child;if((y.subtreeFlags&2064)!==0&&A!==null)A.return=y,ee=A;else e:for(y=T;ee!==null;){if(E=ee,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:Ws(9,E)}}catch(se){Le(E,E.return,se)}if(E===y){ee=null;break e}var W=E.sibling;if(W!==null){W.return=E.return,ee=W;break e}ee=E.return}}if(Ce=u,mn(),It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(os,e)}catch{}i=!0}return i}finally{Ne=o,wt.transition=t}}return!1}function fp(e,t,o){t=br(o,t),t=_f(e,t,1),e=vn(e,t,1),t=tt(),e!==null&&(Zr(e,1,t),at(e,t))}function Le(e,t,o){if(e.tag===3)fp(e,e,o);else for(;t!==null;){if(t.tag===3){fp(t,e,o);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(xn===null||!xn.has(i))){e=br(o,e),e=jf(t,e,1),t=vn(t,e,1),e=tt(),t!==null&&(Zr(t,1,e),at(t,e));break}}t=t.return}}function P0(e,t,o){var i=e.pingCache;i!==null&&i.delete(t),t=tt(),e.pingedLanes|=e.suspendedLanes&o,We===e&&(Ge&o)===o&&(Be===4||Be===3&&(Ge&130023424)===Ge&&500>ze()-Rl?Bn(e,0):Nl|=o),at(e,t)}
vendor: 4,477 bytes, line 9
9function pp(e,t){t===0&&((e.mode&1)===0?t=1:(t=is,is<<=1,(is&130023424)===0&&(is=4194304)));var o=tt();e=Zt(e,t),e!==null&&(Zr(e,t,o),at(e,o))}function N0(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),pp(e,o)}function R0(e,t){var o=0;switch(e.tag){case 13:var i=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(s(314))}i!==null&&i.delete(t),pp(e,o)}var hp;hp=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)st=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return st=!1,m0(e,t,o);st=(e.flags&131072)!==0}else st=!1,Ae&&(t.flags&1048576)!==0&&Qd(t,Rs,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Bs(e,t),e=t.pendingProps;var u=pr(t,Ye.current);xr(t,o),u=sl(null,t,i,e,u,o);var d=il();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ot(i)?(d=!0,Cs(t)):d=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,Za(t),u.updater=Us,t.stateNode=u,u._reactInternals=t,fl(t,i,e,o),t=gl(null,t,i,!0,d,o)):(t.tag=0,Ae&&d&&Va(t),et(null,t,u,o),t=t.child),t;case 16:i=t.elementType;e:{switch(Bs(e,t),e=t.pendingProps,u=i._init,i=u(i._payload),t.type=i,u=t.tag=_0(i),e=Rt(i,e),u){case 0:t=ml(null,t,i,e,o);break e;case 1:t=$f(null,t,i,e,o);break e;case 11:t=Df(null,t,i,e,o);break e;case 14:t=If(null,t,i,Rt(i.type,e),o);break e}throw Error(s(306,i,""))}return t;case 0:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:Rt(i,u),ml(e,t,i,u,o);case 1:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:Rt(i,u),$f(e,t,i,u,o);case 3:e:{if(Uf(t),e===null)throw Error(s(387));i=t.pendingProps,d=t.memoizedState,u=d.element,tf(e,t),Ms(t,i,null,o);var y=t.memoizedState;if(i=y.element,d.isDehydrated)if(d={element:i,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){u=br(Error(s(423)),t),t=Vf(e,t,i,o,u);break e}else if(i!==u){u=br(Error(s(424)),t),t=Vf(e,t,i,o,u);break e}else for(ft=fn(t.stateNode.containerInfo.firstChild),dt=t,Ae=!0,Nt=null,o=Jd(t,null,i,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(gr(),i===u){t=en(e,t,o);break e}et(e,t,i,o)}t=t.child}return t;case 5:return of(t),e===null&&Wa(t),i=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,y=u.children,Ia(i,u)?y=null:d!==null&&Ia(i,d)&&(t.flags|=32),Ff(e,t),et(e,t,y,o),t.child;case 6:return e===null&&Wa(t),null;case 13:return Bf(e,t,o);case 4:return Ja(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=vr(t,null,i,o):et(e,t,i,o),t.child;case 11:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:Rt(i,u),Df(e,t,i,u,o);case 7:return et(e,t,t.pendingProps,o),t.child;case 8:return et(e,t,t.pendingProps.children,o),t.child;case 12:return et(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(i=t.type._context,u=t.pendingProps,d=t.memoizedProps,y=u.value,Te(js,i._currentValue),i._currentValue=y,d!==null)if(Pt(d.value,y)){if(d.children===u.children&&!rt.current){t=en(e,t,o);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var E=d.dependencies;if(E!==null){y=d.child;for(var N=E.firstContext;N!==null;){if(N.context===i){if(d.tag===1){N=Jt(-1,o&-o),N.tag=2;var D=d.updateQueue;if(D!==null){D=D.shared;var B=D.pending;B===null?N.next=N:(N.next=B.next,B.next=N),D.pending=N}}d.lanes|=o,N=d.alternate,N!==null&&(N.lanes|=o),Ya(d.return,o,t),E.lanes|=o;break}N=N.next}}else if(d.tag===10)y=d.type===t.type?null:d.child;else if(d.tag===18){if(y=d.return,y===null)throw Error(s(341));y.lanes|=o,E=y.alternate,E!==null&&(E.lanes|=o),Ya(y,o,t),y=d.sibling}else y=d.child;if(y!==null)y.return=d;else for(y=d;y!==null;){if(y===t){y=null;break}if(d=y.sibling,d!==null){d.return=y.return,y=d;break}y=y.return}d=y}et(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,i=t.pendingProps.children,xr(t,o),u=yt(u),i=i(u),t.flags|=1,et(e,t,i,o),t.child;case 14:return i=t.type,u=Rt(i,t.pendingProps),u=Rt(i.type,u),If(e,t,i,u,o);case 15:return Lf(e,t,t.type,t.pendingProps,o);case 17:return i=t.type,u=t.pendingProps,u=t.elementType===i?u:Rt(i,u),Bs(e,t),t.tag=1,ot(i)?(e=!0,Cs(t)):e=!1,xr(t,o),Rf(t,i,u),fl(t,i,u,o),gl(null,t,i,!0,e,o);case 19:return Wf(e,t,o);case 22:return zf(e,t,o)}throw Error(s(156,t.tag))};function mp(e,t){return Kc(e,t)}function T0(e,t,o,i){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 7,509 bytes, line 9
9ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,o,i){return new T0(e,t,o,i)}function Il(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _0(e){if(typeof e=="function")return Il(e)?1:0;if(e!=null){if(e=e.$$typeof,e===oe)return 11;if(e===ye)return 14}return 2}function En(e,t){var o=e.alternate;return o===null?(o=bt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function ei(e,t,o,i,u,d){var y=2;if(i=e,typeof e=="function")Il(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case $:return Wn(o.children,u,d,t);case Z:y=8,u|=8;break;case ie:return e=bt(12,o,t,u|2),e.elementType=ie,e.lanes=d,e;case ve:return e=bt(13,o,t,u),e.elementType=ve,e.lanes=d,e;case Y:return e=bt(19,o,t,u),e.elementType=Y,e.lanes=d,e;case ue:return ti(o,u,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case le:y=10;break e;case ge:y=9;break e;case oe:y=11;break e;case ye:y=14;break e;case ce:y=16,i=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=bt(y,o,t,u),t.elementType=e,t.type=i,t.lanes=d,t}function Wn(e,t,o,i){return e=bt(7,e,i,t),e.lanes=o,e}function ti(e,t,o,i){return e=bt(22,e,i,t),e.elementType=ue,e.lanes=o,e.stateNode={isHidden:!1},e}function Ll(e,t,o){return e=bt(6,e,null,t),e.lanes=o,e}function zl(e,t,o){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function j0(e,t,o,i,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=da(0),this.expirationTimes=da(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=da(0),this.identifierPrefix=i,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function Fl(e,t,o,i,u,d,y,E,N){return e=new j0(e,t,o,E,N),t===1?(t=1,d===!0&&(t|=8)):t=0,d=bt(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:i,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Za(d),e}function O0(e,t,o){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:i==null?null:""+i,children:e,containerInfo:t,implementation:o}}function gp(e){if(!e)return hn;e=e._reactInternals;e:{if(An(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ot(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var o=e.type;if(ot(o))return Bd(e,o,t)}return t}function vp(e,t,o,i,u,d,y,E,N){return e=Fl(o,i,!0,e,u,d,y,E,N),e.context=gp(null),o=e.current,i=tt(),u=bn(o),d=Jt(i,u),d.callback=t??null,vn(o,d,u),e.current.lanes=u,Zr(e,u,i),at(e,i),e}function ni(e,t,o,i){var u=t.current,d=tt(),y=bn(u);return o=gp(o),t.context===null?t.context=o:t.pendingContext=o,t=Jt(d,y),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=vn(u,t,y),e!==null&&(jt(e,u,y,d),As(e,u,y)),y}function ri(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function yp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function $l(e,t){yp(e,t),(e=e.alternate)&&yp(e,t)}function A0(){return null}var xp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ul(e){this._internalRoot=e}oi.prototype.render=Ul.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));ni(e,t,null,null)},oi.prototype.unmount=Ul.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vn(function(){ni(null,e,null,null)}),t[Gt]=null}};function oi(e){this._internalRoot=e}oi.prototype.unstable_scheduleHydration=function(e){if(e){var t=td();e={blockedOn:null,target:e,priority:t};for(var o=0;o<un.length&&t!==0&&t<un[o].priority;o++);un.splice(o,0,e),o===0&&od(e)}};function Vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function si(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function wp(){}function M0(e,t,o,i,u){if(u){if(typeof i=="function"){var d=i;i=function(){var D=ri(y);d.call(D)}}var y=vp(t,i,e,0,null,!1,!1,"",wp);return e._reactRootContainer=y,e[Gt]=y.current,po(e.nodeType===8?e.parentNode:e),Vn(),y}for(;u=e.lastChild;)e.removeChild(u);if(typeof i=="function"){var E=i;i=function(){var D=ri(N);E.call(D)}}var N=Fl(e,0,!1,null,null,!1,!1,"",wp);return e._reactRootContainer=N,e[Gt]=N.current,po(e.nodeType===8?e.parentNode:e),Vn(function(){ni(t,N,o,i)}),N}function ii(e,t,o,i,u){var d=o._reactRootContainer;if(d){var y=d;if(typeof u=="function"){var E=u;u=function(){var N=ri(y);E.call(N)}}ni(t,y,e,u)}else y=M0(o,t,e,u,i);return ri(y)}Jc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var o=Xr(t.pendingLanes);o!==0&&(fa(t,o|1),at(t,ze()),(Ce&6)===0&&(kr=ze()+500,mn()))}break;case 13:Vn(function(){var i=Zt(e,1);if(i!==null){var u=tt();jt(i,e,1,u)}}),$l(e,1)}},pa=function(e){if(e.tag===13){var t=Zt(e,134217728);if(t!==null){var o=tt();jt(t,e,134217728,o)}$l(e,134217728)}},ed=function(e){if(e.tag===13){var t=bn(e),o=Zt(e,t);if(o!==null){var i=tt();jt(o,e,t,i)}$l(e,t)}},td=function(){return Ne},nd=function(e,t){var o=Ne;try{return Ne=e,t()}finally{Ne=o}},sa=function(e,t,o){switch(t){case"input":if(Xi(e,o),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<o.length;t++){var i=o[t];if(i!==e&&i.form===e.form){var u=Es(i);if(!u)throw Error(s(90));Jo(i),Xi(i,u)}}}break;case"textarea":jc(e,o);break;case"select":t=o.value,t!=null&&tr(e,!!o.multiple,t,!1)}},$c=Al,Uc=Vn;var D0={usingClientEntryPoint:!1,Events:[go,dr,Es,zc,Fc,Al]},_o={findFiberByHostInstance:Mn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},I0={bundleType:_o.bundleType,version:_o.version,rendererPackageName:_o.rendererPackageName,rendererConfig:_o.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Wc(e),e===null?null:e.stateNode},findFiberByHostInstance:_o.findFiberByHostInstance||A0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ai.isDisabled&&ai.supportsFiber)try{os=ai.inject(I0),It=ai}catch{}}return lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D0,lt.createPortal=function(e,t){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vl(t))throw Error(s(200));return O0(e,t,null,o)},lt.createRoot=function(e,t){if(!Vl(e))throw Error(s(299));var o=!1,i="",u=xp;return t!=null&&(t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=Fl(e,1,!1,null,null,o,!1,i,u),e[Gt]=t.current,po(e.nodeType===8?e.parentNode:e),new Ul(t)},lt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=Wc(t),e=e===null?null:e.stateNode,e},lt.flushSync=function(e){return Vn(e)},lt.hydrate=function(e,t,o){if(!si(t))throw Error(s(200));return ii(null,e,t,!0,o)},lt.hydrateRoot=function(e,t,o){if(!Vl(e))throw Error(s(405));var i=o!=null&&o.hydratedSources||null,u=!1,d="",y=xp;if(o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(d=o.identifierPrefix),o.onRecoverableError!==void 0&&(y=o.onRecoverableError)),t=vp(t,null,e,1,o??null,u,!1,d,y),e[Gt]=t.current,po(e),i)for(e=0;e<i.length;e++)o=i[e],u=o._getVersion,u=u(o._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[o,u]:t.mutableSourceEagerHydrationData.push(o,u);return new oi(t)},lt.render=function(e,t,o){if(!si(t))throw Error(s(200));return ii(null,e,t,!1,o)},lt.unmountComponentAtNode=function(e){if(!si(e))throw Error(s(40));return e._reactRootContainer?(Vn(function(){ii(null,null,e,!1,function(){e._reactRootContainer=null,e[Gt]=null})}),!0):!1},lt.unstable_batchedUpdates=Al,lt.unstable_renderSubtreeIntoContainer=function(e,t,o,i){if(!si(o))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return ii(e,t,o,!1,i)},lt.version="18.3.1-next-f1338f8080-20240426",lt}var Rp;function Lh(){if(Rp)return Wl.exports;Rp=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Wl.exports=H0(),Wl.exports}var Tp;function W0(){if(Tp)return li;Tp=1;var n=Lh();return li.createRoot=n.createRoot,li.hydrateRoot=n.hydrateRoot,li}var Q0=W0();const K0="modulepreload",G0=function(n){return"/"+n},_p={},ke=function(r,s,a){let l=Promise.resolve();if(s&&s.length>0){let g=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),p=h?.nonce||h?.getAttribute("nonce");l=g(s.map(v=>{if(v=G0(v),v in _p)return;_p[v]=!0;const x=v.endsWith(".css"),w=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${w}`))return;const S=document.createElement("link");if(S.rel=x?"stylesheet":K0,x||(S.as="script"),S.crossOrigin="",S.href=v,p&&S.setAttribute("nonce",p),document.head.appendChild(S),x)return new Promise((P,C)=>{S.addEventListener("load",P),S.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${v}`)))})}))}function c(h){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=h,window.dispatchEvent(p),!p.defaultPrevented)throw h}return l.then(h=>{for(const p of h||[])p.status==="rejected"&&c(p.reason);return r().catch(c)})};var m=ji();const Et=Ih(m),zh=z0({__proto__:null,default:Et},[m]);function q0(n,r){if(n instanceof RegExp)return{keys:!1,pattern:n};var s,a,l,c,h=[],p="",g=n.split("/");for(g[0]||g.shift();l=g.shift();)s=l[0],s==="*"?(h.push(s),p+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):s===":"?(a=l.indexOf("?",1),c=l.indexOf(".",1),h.push(l.substring(1,~a?a:~c?c:l.length)),p+=~a&&!~c?"(?:/([^/]+?))?":"/([^/]+?)",~c&&(p+=(~a?"?":"")+"\\"+l.substring(c))):p+="/"+l;return{keys:h,pattern:new RegExp("^"+p+(r?"(?=$|/)":"/?$"),"i")}}var Gl={exports:{}},ql={};var jp;function Y0(){if(jp)return ql;jp=1;var n=ji();function r(w,S){return w===S&&(w!==0||1/w===1/S)||w!==w&&S!==S}var s=typeof Object.is=="function"?Object.is:r,a=n.useState,l=n.useEffect,c=n.useLayoutEffect,h=n.useDebugValue;function p(w,S){var P=S(),C=a({inst:{value:P,getSnapshot:S}}),b=C[0].inst,k=C[1];return c(function(){b.value=P,b.getSnapshot=S,g(b)&&k({inst:b})},[w,P,S]),l(function(){return g(b)&&k({inst:b}),w(function(){g(b)&&k({inst:b})})},[w]),h(P),P}function g(w){var S=w.getSnapshot;w=w.value;try{var P=S();return!s(w,P)}catch{return!0}}function v(w,S){return S()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?v:p;return ql.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:x,ql}var Op;function X0(){return Op||(Op=1,Gl.exports=Y0()),Gl.exports}var Z0=X0();const J0=zh.useInsertionEffect,ex=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fh=ex?m.useLayoutEffect:m.useEffect,tx=J0||Fh,Vu=n=>{const r=m.useRef([n,(...s)=>r[0](...s)]).current;return tx(()=>{r[0]=n}),r[1]}
9,nx="popstate",Bu="pushState",Hu="replaceState",rx="hashchange",Ap=[nx,Bu,Hu,rx],ox=n=>{for(const r of Ap)addEventListener(r,n);return()=>{for(const r of Ap)removeEventListener(r,n)}},$h=(n,r)=>Z0.useSyncExternalStore(ox,n,r),sx=()=>location.search,ix=({ssrSearch:n=""}={})=>$h(sx,()=>n),Mp=()=>location.pathname,ax=({ssrPath:n}={})=>$h(Mp,n?()=>n:Mp),lx=(n,{replace:r=!1,state:s=null}={})=>history[r?Hu:Bu](s,"",n),ux=(n={})=>[ax(n),lx],Dp=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Dp]>"u"){for(const n of[Bu,Hu]){const r=history[n];history[n]=function(){const s=r.apply(this,arguments),a=new Event(n);return a.arguments=arguments,dispatchEvent(a),s}}Object.defineProperty(window,Dp,{value:!0})}const cx=(n,r)=>r.toLowerCase().indexOf(n.toLowerCase())?"~"+r:r.slice(n.length)||"/",Uh=(n="")=>n==="/"?"":n,dx=(n,r)=>n[0]==="~"?n.slice(1):Uh(r)+n,fx=(n="",r)=>cx(yu(Uh(n)),yu(r)),px=n=>n[0]==="?"?n.slice(1):n,yu=n=>{try{return decodeURI(n)}catch{return n}},hx=n=>yu(px(n)),Vh={hook:ux,searchHook:ix,parser:q0,base:"",ssrPath:void 0,ssrSearch:void 0,hrefs:n=>n},Bh=m.createContext(Vh),Fr=()=>m.useContext(Bh),Hh={},Wh=m.createContext(Hh),mx=()=>m.useContext(Wh),Oi=n=>{const[r,s]=n.hook(n);return[fx(n.base,r),Vu((a,l)=>s(dx(a,n.base),l))]},Wt=()=>Oi(Fr()),b2=()=>{const n=Fr();return hx(n.searchHook(n))},Qh=(n,r,s,a)=>{const{pattern:l,keys:c}=r instanceof RegExp?{keys:!1,pattern:r}:n(r||"*",a),h=l.exec(s)||[],[p,...g]=h;return p!==void 0?[!0,(()=>{const v=c!==!1?Object.fromEntries(c.map((w,S)=>[w,g[S]])):h.groups;let x={...g};return v&&Object.assign(x,v),x})(),...a?[p]:[]]:[!1,null]},gx=({children:n,...r})=>{const s=Fr(),a=r.hook?Vh:s;let l=a;const[c,h]=r.ssrPath?.split("?")??[];h&&(r.ssrSearch=h,r.ssrPath=c),r.hrefs=r.hrefs??r.hook?.hrefs;let p=m.useRef({}),g=p.current,v=g;for(let x in a){const w=x==="base"?a[x]+(r[x]||""):r[x]||a[x];g===v&&w!==v[x]&&(p.current=v={...v}),v[x]=w,w!==a[x]&&(l=v)}return m.createElement(Bh.Provider,{value:l,children:n})},Ip=({children:n,component:r},s)=>r?m.createElement(r,{params:s}):typeof n=="function"?n(s):n,vx=n=>{let r=m.useRef(Hh),s=r.current;for(const a in n)n[a]!==s[a]&&(s=n);return Object.keys(n).length===0&&(s=n),r.current=s},Se=({path:n,nest:r,match:s,...a})=>{const l=Fr(),[c]=Oi(l),[h,p,g]=s??Qh(l.parser,n,c,r),v=vx({...mx(),...p});if(!h)return null;const x=g?m.createElement(gx,{base:g},Ip(a,v)):Ip(a,v);return m.createElement(Wh.Provider,{value:v,children:x})},Ho=m.forwardRef((n,r)=>{const s=Fr(),[a,l]=Oi(s),{to:c="",href:h=c,onClick:p,asChild:g,children:v,className:x,replace:w,state:S,...P}=n,C=Vu(k=>{k.ctrlKey||k.metaKey||k.altKey||k.shiftKey||k.button!==0||(p?.(k),k.defaultPrevented||(k.preventDefault(),l(h,n)))}),b=s.hrefs(h[0]==="~"?h.slice(1):s.base+h,s);return g&&m.isValidElement(v)?m.cloneElement(v,{onClick:C,href:b}):m.createElement("a",{...P,onClick:C,href:b,className:x?.call?x(a===h):x,children:v,ref:r})}),Kh=n=>Array.isArray(n)?n.flatMap(r=>Kh(r&&r.type===m.Fragment?r.props.children:r)):[n],yx=({children:n,location:r})=>{const s=Fr(),[a]=Oi(s);for(const l of Kh(n)){let c=0;if(m.isValidElement(l)&&(c=Qh(s.parser,l.props.path,r||a,l.props.nest))[0])return m.cloneElement(l,{match:c})}return null},xx=n=>{const{to:r,href:s=r}=n,[,a]=Wt(),l=Vu(()=>a(r||s,n));return Fh(()=>{l()},[]),null};var Wo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Gn=typeof window>"u"||"Deno"in globalThis;function St(){}function wx(n,r){return typeof n=="function"?n(r):n}function xu(n){return typeof n=="number"&&n>=0&&n!==1/0}function Gh(n,r){return Math.max(n+(r||0)-Date.now(),0)}function Ar(n,r){return typeof n=="function"?n(r):n}function Ot(n,r){return typeof n=="function"?n(r):n}function Lp(n,r){const{type:s="all",exact:a,fetchStatus:l,predicate:c,queryKey:h,stale:p}=n;if(h){if(a){if(r.queryHash!==Wu(h,r.options))return!1}else if(!Fo(r.queryKey,h))return!1}if(s!=="all"){const g=r.isActive();if(s==="active"&&!g||s==="inactive"&&g)return!1}return!(typeof p=="boolean"&&r.isStale()!==p||l&&l!==r.state.fetchStatus||c&&!c(r))}function zp(n,r){const{exact:s,status:a,predicate:l,mutationKey:c}=n;if(c){if(!r.options.mutationKey)return!1;if(s){if(zo(r.options.mutationKey)!==zo(c))return!1}else if(!Fo(r.options.mutationKey,c))return!1}return!(a&&r.state.status!==a||l&&!l(r))}function Wu(n,r){return(r?.queryKeyHashFn||zo)(n)}function zo(n){return JSON.stringify(n,(r,s)=>bu(s)?Object.keys(s).sort().reduce((a,l)=>(a[l]=s[l],a),{}):s)}function Fo(n,r){return n===r?!0:typeof n!=typeof r?!1:n&&r&&typeof n=="object"&&typeof r=="object"?!Object.keys(r).some(s=>!Fo(n[s],r[s])):!1}function qh(n,r){if(n===r)return n;const s=Fp(n)&&Fp(r);if(s||bu(n)&&bu(r)){const a=s?n:Object.keys(n),l=a.length,c=s?r:Object.keys(r),h=c.length,p=s?[]:{};let g=0;for(let v=0;v<h;v++){const x=s?v:c[v];(!s&&a.includes(x)||s)&&n[x]===void 0&&r[x]===void 0?(p[x]=void 0,g++):(p[x]=qh(n[x],r[x]),p[x]===n[x]&&n[x]!==void 0&&g++)}return l===h&&g===l?n:p}return r}function wu(n,r){if(!r||Object.keys(n).length!==Object.keys(r).length)return!1;for(const s in n)if(n[s]!==r[s])return!1;return!0}function Fp(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function bu(n){if(!$p(n))return!1;const r=n.constructor;if(r===void 0)return!0;const s=r.prototype;return!(!$p(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function $p(n){return Object.prototype.toString.call(n)==="[object Object]"}function bx(n){return new Promise(r=>{setTimeout(r,n)})}function Su(n,r,s){return typeof s.structuralSharing=="function"?s.structuralSharing(n,r):s.structuralSharing!==!1?qh(n,r):r}function Sx(n,r,s=0){const a=[...n,r];return s&&a.length>s?a.slice(1):a}function Ex(n,r,s=0){const a=[r,...n];return s&&a.length>s?a.slice(0,-1):a}var Qu=Symbol();function Yh(n,r){return!n.queryFn&&r?.initialPromise?()=>r.initialPromise:!n.queryFn||n.queryFn===Qu?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}var kx=class extends Wo{#e;#t;#r;constructor(){super(),this.#r=n=>{if(!Gn&&window.addEventListener){const r=()=>n();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(n){this.#r=n,this.#t?.(),this.#t=n(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(n){this.#e!==n&&(this.#e=n,this.onFocus())}onFocus(){const n=this.isFocused();
vendor: 22,130 bytes, line 9
9this.listeners.forEach(r=>{r(n)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Ku=new kx,Cx=class extends Wo{#e=!0;#t;#r;constructor(){super(),this.#r=n=>{if(!Gn&&window.addEventListener){const r=()=>n(!0),s=()=>n(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(n){this.#r=n,this.#t?.(),this.#t=n(this.setOnline.bind(this))}setOnline(n){this.#e!==n&&(this.#e=n,this.listeners.forEach(s=>{s(n)}))}isOnline(){return this.#e}},Ci=new Cx;function Eu(){let n,r;const s=new Promise((l,c)=>{n=l,r=c});s.status="pending",s.catch(()=>{});function a(l){Object.assign(s,l),delete s.resolve,delete s.reject}return s.resolve=l=>{a({status:"fulfilled",value:l}),n(l)},s.reject=l=>{a({status:"rejected",reason:l}),r(l)},s}function Px(n){return Math.min(1e3*2**n,3e4)}function Xh(n){return(n??"online")==="online"?Ci.isOnline():!0}var Zh=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function Yl(n){return n instanceof Zh}function Jh(n){let r=!1,s=0,a=!1,l;const c=Eu(),h=b=>{a||(S(new Zh(b)),n.abort?.())},p=()=>{r=!0},g=()=>{r=!1},v=()=>Ku.isFocused()&&(n.networkMode==="always"||Ci.isOnline())&&n.canRun(),x=()=>Xh(n.networkMode)&&n.canRun(),w=b=>{a||(a=!0,n.onSuccess?.(b),l?.(),c.resolve(b))},S=b=>{a||(a=!0,n.onError?.(b),l?.(),c.reject(b))},P=()=>new Promise(b=>{l=k=>{(a||v())&&b(k)},n.onPause?.()}).then(()=>{l=void 0,a||n.onContinue?.()}),C=()=>{if(a)return;let b;const k=s===0?n.initialPromise:void 0;try{b=k??n.fn()}catch(j){b=Promise.reject(j)}Promise.resolve(b).then(w).catch(j=>{if(a)return;const M=n.retry??(Gn?0:3),I=n.retryDelay??Px,L=typeof I=="function"?I(s,j):I,F=M===!0||typeof M=="number"&&s<M||typeof M=="function"&&M(s,j);if(r||!F){S(j);return}s++,n.onFail?.(s,j),bx(L).then(()=>v()?void 0:P()).then(()=>{r?S(j):C()})})};return{promise:c,cancel:h,continue:()=>(l?.(),c),cancelRetry:p,continueRetry:g,canStart:x,start:()=>(x()?C():P().then(C),c)}}function Nx(){let n=[],r=0,s=p=>{p()},a=p=>{p()},l=p=>setTimeout(p,0);const c=p=>{r?n.push(p):l(()=>{s(p)})},h=()=>{const p=n;n=[],p.length&&l(()=>{a(()=>{p.forEach(g=>{s(g)})})})};return{batch:p=>{let g;r++;try{g=p()}finally{r--,r||h()}return g},batchCalls:p=>(...g)=>{c(()=>{p(...g)})},schedule:c,setNotifyFunction:p=>{s=p},setBatchNotifyFunction:p=>{a=p},setScheduler:p=>{l=p}}}var qe=Nx(),em=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xu(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(Gn?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},Rx=class extends em{#e;#t;#r;#n;#i;#s;constructor(n){super(),this.#s=!1,this.#i=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#r=n.cache,this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#e=Tx(this.options),this.state=n.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(n){this.options={...this.#i,...n},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(n,r){const s=Su(this.state.data,n,this.options);return this.#o({data:s,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),s}setState(n,r){this.#o({type:"setState",state:n,setStateOptions:r})}cancel(n){const r=this.#n?.promise;return this.#n?.cancel(n),r?r.then(St).catch(St):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(n=>Ot(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(n=0){return this.state.isInvalidated||this.state.data===void 0||!Gh(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(r=>r!==n),this.observers.length||(this.#n&&(this.#s?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}fetch(n,r){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(n&&this.setOptions(n),!this.options.queryFn){const p=this.observers.find(g=>g.options.queryFn);p&&this.setOptions(p.options)}const s=new AbortController,a=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(this.#s=!0,s.signal)})},l=()=>{const p=Yh(this.options,r),g={queryKey:this.queryKey,meta:this.meta};return a(g),this.#s=!1,this.options.persister?this.options.persister(p,g,this):p(g)},c={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};a(c),this.options.behavior?.onFetch(c,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#o({type:"fetch",meta:c.fetchOptions?.meta});const h=p=>{Yl(p)&&p.silent||this.#o({type:"error",error:p}),Yl(p)||(this.#r.config.onError?.(p,this),this.#r.config.onSettled?.(this.state.data,p,this)),this.scheduleGc()};return this.#n=Jh({initialPromise:r?.initialPromise,fn:c.fetchFn,abort:s.abort.bind(s),onSuccess:p=>{if(p===void 0){h(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(g){h(g);return}this.#r.config.onSuccess?.(p,this),this.#r.config.onSettled?.(p,this.state.error,this),this.scheduleGc()},onError:h,onFail:(p,g)=>{this.#o({type:"failed",failureCount:p,error:g})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}),this.#n.start()}#o(n){const r=s=>{switch(n.type){case"failed":return{...s,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...tm(s.data,this.options),fetchMeta:n.meta??null};case"success":return{...s,data:n.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:n.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=n.error;return Yl(a)&&a.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...s,error:a,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...n.state}}};this.state=r(this.state),qe.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:n})})}};function tm(n,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Xh(r.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function Tx(n){const r=typeof n.initialData=="function"?n.initialData():n.initialData,s=r!==void 0,a=s?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var _x=class extends Wo{constructor(n={}){super(),this.config=n,this.#e=new Map}#e;build(n,r,s){const a=r.queryKey,l=r.queryHash??Wu(a,r);let c=this.get(l);return c||(c=new Rx({cache:this,queryKey:a,queryHash:l,options:n.defaultQueryOptions(r),state:s,defaultOptions:n.getQueryDefaults(a)}),this.add(c)),c}add(n){this.#e.has(n.queryHash)||(this.#e.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const r=this.#e.get(n.queryHash);r&&(n.destroy(),r===n&&this.#e.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){qe.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#e.get(n)}getAll(){return[...this.#e.values()]}find(n){const r={exact:!0,...n};return this.getAll().find(s=>Lp(r,s))}findAll(n={}){const r=this.getAll();return Object.keys(n).length>0?r.filter(s=>Lp(n,s)):r}notify(n){qe.batch(()=>{this.listeners.forEach(r=>{r(n)})})}onFocus(){qe.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){qe.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},jx=class extends em{#e;#t;#r;constructor(n){super(),this.mutationId=n.mutationId,this.#t=n.mutationCache,this.#e=[],this.state=n.state||Ox(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#e.includes(n)||(this.#e.push(n),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#e=this.#e.filter(r=>r!==n),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(n){this.#r=Jh({fn:()=>this.options.mutationFn?this.options.mutationFn(n):Promise.reject(new Error("No mutationFn found")),onFail:(a,l)=>{this.#n({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#n({type:"pause"})},onContinue:()=>{this.#n({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const r=this.state.status==="pending",s=!this.#r.canStart();try{if(!r){this.#n({type:"pending",variables:n,isPaused:s}),await this.#t.config.onMutate?.(n,this);const l=await this.options.onMutate?.(n);l!==this.state.context&&this.#n({type:"pending",context:l,variables:n,isPaused:s})}const a=await this.#r.start();return await this.#t.config.onSuccess?.(a,n,this.state.context,this),await this.options.onSuccess?.(a,n,this.state.context),await this.#t.config.onSettled?.(a,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(a,null,n,this.state.context),this.#n({type:"success",data:a}),a}catch(a){try{throw await this.#t.config.onError?.(a,n,this.state.context,this),await this.options.onError?.(a,n,this.state.context),await this.#t.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,a,n,this.state.context),a}finally{this.#n({type:"error",error:a})}}finally{this.#t.runNext(this)}}#n(n){const r=s=>{switch(n.type){case"failed":return{...s,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...s,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:n.error,failureCount:s.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=r(this.state),qe.batch(()=>{this.#e.forEach(s=>{s.onMutationUpdate(n)}),this.#t.notify({mutation:this,type:"updated",action:n})})}};function Ox(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ax=class extends Wo{constructor(n={}){super(),this.config=n,this.#e=new Map,this.#t=Date.now()}#e;#t;build(n,r,s){const a=new jx({mutationCache:this,mutationId:++this.#t,options:n.defaultMutationOptions(r),state:s});return this.add(a),a}add(n){const r=ui(n),s=this.#e.get(r)??[];s.push(n),this.#e.set(r,s),this.notify({type:"added",mutation:n})}remove(n){const r=ui(n);if(this.#e.has(r)){const s=this.#e.get(r)?.filter(a=>a!==n);s&&(s.length===0?this.#e.delete(r):this.#e.set(r,s))}this.notify({type:"removed",mutation:n})}canRun(n){const r=this.#e.get(ui(n))?.find(s=>s.state.status==="pending");return!r||r===n}runNext(n){return this.#e.get(ui(n))?.find(s=>s!==n&&s.state.isPaused)?.continue()??Promise.resolve()}clear(){qe.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}getAll(){return[...this.#e.values()].flat()}find(n){const r={exact:!0,...n};return this.getAll().find(s=>zp(r,s))}findAll(n={}){return this.getAll().filter(r=>zp(n,r))}notify(n){qe.batch(()=>{this.listeners.forEach(r=>{r(n)})})}resumePausedMutations(){const n=this.getAll().filter(r=>r.state.isPaused);return qe.batch(()=>Promise.all(n.map(r=>r.continue().catch(St))))}};function ui(n){return n.options.scope?.id??String(n.mutationId)}function Up(n){return{onFetch:(r,s)=>{const a=r.options,l=r.fetchOptions?.meta?.fetchMore?.direction,c=r.state.data?.pages||[],h=r.state.data?.pageParams||[];let p={pages:[],pageParams:[]},g=0;const v=async()=>{let x=!1;const w=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(r.signal.aborted?x=!0:r.signal.addEventListener("abort",()=>{x=!0}),r.signal)})},S=Yh(r.options,r.fetchOptions),P=async(C,b,k)=>{if(x)return Promise.reject();if(b==null&&C.pages.length)return Promise.resolve(C);const j={queryKey:r.queryKey,pageParam:b,direction:k?"backward":"forward",meta:r.options.meta};w(j);const M=await S(j),{maxPages:I}=r.options,L=k?Ex:Sx;return{pages:L(C.pages,M,I),pageParams:L(C.pageParams,b,I)}};if(l&&c.length){const C=l==="backward",b=C?Mx:Vp,k={pages:c,pageParams:h},j=b(a,k);p=await P(k,j,C)}else{const C=n??c.length;do{const b=g===0?h[0]??a.initialPageParam:Vp(a,p);if(g>0&&b==null)break;p=await P(p,b),g++}while(g<C)}return p};r.options.persister?r.fetchFn=()=>r.options.persister?.(v,{queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s):r.fetchFn=v}}}function Vp(n,{pages:r,pageParams:s}){const a=r.length-1;return r.length>0?n.getNextPageParam(r[a],r,s[a],s):void 0}function Mx(n,{pages:r,pageParams:s}){return r.length>0?n.getPreviousPageParam?.(r[0],r,s[0],s):void 0}var Dx=class{#e;#t;#r;#n;#i;#s;#o;#a;constructor(n={}){this.#e=n.queryCache||new _x,this.#t=n.mutationCache||new Ax,this.#r=n.defaultOptions||{},this.#n=new Map,this.#i=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#o=Ku.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#a=Ci.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#o?.(),this.#o=void 0,this.#a?.(),this.#a=void 0)}isFetching(n){return this.#e.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#t.findAll({...n,status:"pending"}).length}getQueryData(n){const r=this.defaultQueryOptions({queryKey:n});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(n){const r=this.getQueryData(n.queryKey);if(r===void 0)return this.fetchQuery(n);{const s=this.defaultQueryOptions(n),a=this.#e.build(this,s);return n.revalidateIfStale&&a.isStaleByTime(Ar(s.staleTime,a))&&this.prefetchQuery(s),Promise.resolve(r)}}getQueriesData(n){return this.#e.findAll(n).map(({queryKey:r,state:s})=>{const a=s.data;return[r,a]})}setQueryData(n,r,s){const a=this.defaultQueryOptions({queryKey:n}),c=this.#e.get(a.queryHash)?.state.data,h=wx(r,c);if(h!==void 0)return this.#e.build(this,a).setData(h,{...s,manual:!0})}setQueriesData(n,r,s){return qe.batch(()=>this.#e.findAll(n).map(({queryKey:a})=>[a,this.setQueryData(a,r,s)]))}getQueryState(n){const r=this.defaultQueryOptions({queryKey:n});return this.#e.get(r.queryHash)?.state}removeQueries(n){const r=this.#e;qe.batch(()=>{r.findAll(n).forEach(s=>{r.remove(s)})})}resetQueries(n,r){const s=this.#e,a={type:"active",...n};return qe.batch(()=>(s.findAll(n).forEach(l=>{l.reset()}),this.refetchQueries(a,r)))}cancelQueries(n={},r={}){const s={revert:!0,...r},a=qe.batch(()=>this.#e.findAll(n).map(l=>l.cancel(s)));return Promise.all(a).then(St).catch(St)}invalidateQueries(n={},r={}){return qe.batch(()=>{if(this.#e.findAll(n).forEach(a=>{a.invalidate()}),n.refetchType==="none")return Promise.resolve();const s={...n,type:n.refetchType??n.type??"active"};return this.refetchQueries(s,r)})}refetchQueries(n={},r){const s={...r,cancelRefetch:r?.cancelRefetch??!0},a=qe.batch(()=>this.#e.findAll(n).filter(l=>!l.isDisabled()).map(l=>{let c=l.fetch(void 0,s);return s.throwOnError||(c=c.catch(St)),l.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(St)}fetchQuery(n){const r=this.defaultQueryOptions(n);r.retry===void 0&&(r.retry=!1);const s=this.#e.build(this,r);return s.isStaleByTime(Ar(r.staleTime,s))?s.fetch(r):Promise.resolve(s.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(St).catch(St)}fetchInfiniteQuery(n){return n.behavior=Up(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(St).catch(St)}ensureInfiniteQueryData(n){return n.behavior=Up(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return Ci.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(n){this.#r=n}setQueryDefaults(n,r){this.#n.set(zo(n),{queryKey:n,defaultOptions:r})}getQueryDefaults(n){const r=[...this.#n.values()];let s={};return r.forEach(a=>{Fo(n,a.queryKey)&&(s={...s,...a.defaultOptions})}),s}setMutationDefaults(n,r){this.#i.set(zo(n),{mutationKey:n,defaultOptions:r})}getMutationDefaults(n){const r=[...this.#i.values()];let s={};return r.forEach(a=>{Fo(n,a.mutationKey)&&(s={...s,...a.defaultOptions})}),s}defaultQueryOptions(n){if(n._defaulted)return n;const r={...this.#r.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return r.queryHash||(r.queryHash=Wu(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.enabled!==!0&&r.queryFn===Qu&&(r.enabled=!1),r}defaultMutationOptions(n){return n?._defaulted?n:{...this.#r.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ix=class extends Wo{constructor(n,r){super(),this.options=r,this.#e=n,this.#a=null,this.#o=Eu(),this.options.experimental_prefetchInRender||this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}#e;#t=void 0;#r=void 0;#n=void 0;#i;#s;#o;#a;#m;#f;#p;#u;#c;#l;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Bp(this.#t,this.options)?this.#d():this.updateResult(),this.#x())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ku(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ku(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#w(),this.#b(),this.#t.removeObserver(this)}setOptions(n,r){const s=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ot(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#t.setOptions(this.options),s._defaulted&&!wu(this.options,s)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const l=this.hasListeners();l&&Hp(this.#t,a,this.options,s)&&this.#d(),this.updateResult(r),l&&(this.#t!==a||Ot(this.options.enabled,this.#t)!==Ot(s.enabled,this.#t)||Ar(this.options.staleTime,this.#t)!==Ar(s.staleTime,this.#t))&&this.#g();const c=this.#v();l&&(this.#t!==a||Ot(this.options.enabled,this.#t)!==Ot(s.enabled,this.#t)||c!==this.#l)&&this.#y(c)}getOptimisticResult(n){const r=this.#e.getQueryCache().build(this.#e,n),s=this.createResult(r,n);return zx(this,s)&&(this.#n=s,this.#s=this.options,this.#i=this.#t.state),s}getCurrentResult(){return this.#n}trackResult(n,r){const s={};return Object.keys(n).forEach(a=>{Object.defineProperty(s,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),r?.(a),n[a])})}),s}trackProp(n){this.#h.add(n)}getCurrentQuery(){return this.#t}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const r=this.#e.defaultQueryOptions(n),s=this.#e.getQueryCache().build(this.#e,r);return s.fetch().then(()=>this.createResult(s,r))}fetch(n){return this.#d({...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#d(n){this.#S();let r=this.#t.fetch(this.options,n);return n?.throwOnError||(r=r.catch(St)),r}#g(){this.#w();const n=Ar(this.options.staleTime,this.#t);if(Gn||this.#n.isStale||!xu(n))return;const s=Gh(this.#n.dataUpdatedAt,n)+1;this.#u=setTimeout(()=>{this.#n.isStale||this.updateResult()},s)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(n){this.#b(),this.#l=n,!(Gn||Ot(this.options.enabled,this.#t)===!1||!xu(this.#l)||this.#l===0)&&(this.#c=setInterval(()=>
9{(this.options.refetchIntervalInBackground||Ku.isFocused())&&this.#d()},this.#l))}#x(){this.#g(),this.#y(this.#v())}#w(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#b(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}createResult(n,r){const s=this.#t,a=this.options,l=this.#n,c=this.#i,h=this.#s,g=n!==s?n.state:this.#r,{state:v}=n;let x={...v},w=!1,S;if(r._optimisticResults){const $=this.hasListeners(),Z=!$&&Bp(n,r),ie=$&&Hp(n,s,r,a);(Z||ie)&&(x={...x,...tm(v.data,n.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:P,errorUpdatedAt:C,status:b}=x;if(r.select&&x.data!==void 0)if(l&&x.data===c?.data&&r.select===this.#m)S=this.#f;else try{this.#m=r.select,S=r.select(x.data),S=Su(l?.data,S,r),this.#f=S,this.#a=null}catch($){this.#a=$}else S=x.data;if(r.placeholderData!==void 0&&S===void 0&&b==="pending"){let $;if(l?.isPlaceholderData&&r.placeholderData===h?.placeholderData)$=l.data;else if($=typeof r.placeholderData=="function"?r.placeholderData(this.#p?.state.data,this.#p):r.placeholderData,r.select&&$!==void 0)try{$=r.select($),this.#a=null}catch(Z){this.#a=Z}$!==void 0&&(b="success",S=Su(l?.data,$,r),w=!0)}this.#a&&(P=this.#a,S=this.#f,C=Date.now(),b="error");const k=x.fetchStatus==="fetching",j=b==="pending",M=b==="error",I=j&&k,L=S!==void 0,U={status:b,fetchStatus:x.fetchStatus,isPending:j,isSuccess:b==="success",isError:M,isInitialLoading:I,isLoading:I,data:S,dataUpdatedAt:x.dataUpdatedAt,error:P,errorUpdatedAt:C,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>g.dataUpdateCount||x.errorUpdateCount>g.errorUpdateCount,isFetching:k,isRefetching:k&&!j,isLoadingError:M&&!L,isPaused:x.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:M&&L,isStale:Gu(n,r),refetch:this.refetch,promise:this.#o};if(this.options.experimental_prefetchInRender){const $=le=>{U.status==="error"?le.reject(U.error):U.data!==void 0&&le.resolve(U.data)},Z=()=>{const le=this.#o=U.promise=Eu();$(le)},ie=this.#o;switch(ie.status){case"pending":n.queryHash===s.queryHash&&$(ie);break;case"fulfilled":(U.status==="error"||U.data!==ie.value)&&Z();break;case"rejected":(U.status!=="error"||U.error!==ie.reason)&&Z();break}}return U}updateResult(n){const r=this.#n,s=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#s=this.options,this.#i.data!==void 0&&(this.#p=this.#t),wu(s,r))return;this.#n=s;const a={},l=()=>{if(!r)return!0;const{notifyOnChangeProps:c}=this.options,h=typeof c=="function"?c():c;if(h==="all"||!h&&!this.#h.size)return!0;const p=new Set(h??this.#h);return this.options.throwOnError&&p.add("error"),Object.keys(this.#n).some(g=>{const v=g;return this.#n[v]!==r[v]&&p.has(v)})};n?.listeners!==!1&&l()&&(a.listeners=!0),this.#E({...a,...n})}#S(){const n=this.#e.getQueryCache().build(this.#e,this.options);if(n===this.#t)return;const r=this.#t;this.#t=n,this.#r=n.state,this.hasListeners()&&(r?.removeObserver(this),n.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#x()}#E(n){qe.batch(()=>{n.listeners&&this.listeners.forEach(r=>{r(this.#n)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function Lx(n,r){return Ot(r.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&r.retryOnMount===!1)}function Bp(n,r){return Lx(n,r)||n.state.data!==void 0&&ku(n,r,r.refetchOnMount)}function ku(n,r,s){if(Ot(r.enabled,n)!==!1){const a=typeof s=="function"?s(n):s;return a==="always"||a!==!1&&Gu(n,r)}return!1}function Hp(n,r,s,a){return(n!==r||Ot(a.enabled,n)===!1)&&(!s.suspense||n.state.status!=="error")&&Gu(n,s)}function Gu(n,r){return Ot(r.enabled,n)!==!1&&n.isStaleByTime(Ar(r.staleTime,n))}function zx(n,r){return!wu(n.getCurrentResult(),r)}var nm=m.createContext(void 0),Fx=n=>{const r=m.useContext(nm);if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},$x=({client:n,children:r})=>(m.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),f.jsx(nm.Provider,{value:n,children:r})),rm=m.createContext(!1),Ux=()=>m.useContext(rm);rm.Provider;function Vx(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var Bx=m.createContext(Vx()),Hx=()=>m.useContext(Bx);function Wx(n,r){return typeof n=="function"?n(...r):!!n}function Wp(){}var Qx=(n,r)=>{(n.suspense||n.throwOnError||n.experimental_prefetchInRender)&&(r.isReset()||(n.retryOnMount=!1))},Kx=n=>{m.useEffect(()=>{n.clearReset()},[n])},Gx=({result:n,errorResetBoundary:r,throwOnError:s,query:a})=>n.isError&&!r.isReset()&&!n.isFetching&&a&&Wx(s,[n.error,a]),qx=n=>{n.suspense&&(n.staleTime===void 0&&(n.staleTime=1e3),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3)))},Yx=(n,r)=>n.isLoading&&n.isFetching&&!r,Xx=(n,r)=>n?.suspense&&r.isPending,Qp=(n,r,s)=>r.fetchOptimistic(n).catch(()=>{s.clearReset()});function Zx(n,r,s){const a=Fx(),l=Ux(),c=Hx(),h=a.defaultQueryOptions(n);a.getDefaultOptions().queries?._experimental_beforeQuery?.(h),h._optimisticResults=l?"isRestoring":"optimistic",qx(h),Qx(h,c),Kx(c);const p=!a.getQueryCache().get(h.queryHash),[g]=m.useState(()=>new r(a,h)),v=g.getOptimisticResult(h);if(m.useSyncExternalStore(m.useCallback(x=>{const w=l?Wp:g.subscribe(qe.batchCalls(x));return g.updateResult(),w},[g,l]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),m.useEffect(()=>{g.setOptions(h,{listeners:!1})},[h,g]),Xx(h,v))throw Qp(h,g,c);if(Gx({result:v,errorResetBoundary:c,throwOnError:h.throwOnError,query:a.getQueryCache().get(h.queryHash)}))throw v.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(h,v),h.experimental_prefetchInRender&&!Gn&&Yx(v,l)&&(p?Qp(h,g,c):a.getQueryCache().get(h.queryHash)?.promise)?.catch(Wp).finally(()=>{g.updateResult()}),h.notifyOnChangeProps?v:g.trackResult(v)}function Kp(n,r){return Zx(n,Ix)}async function Cu(n){if(!n.ok){const r=await n.text()||n.statusText;throw new Error(`${n.status}: ${r}`)}}let Or=null;async function Do(){return Or||(Or=(await(await fetch("/api/auth/csrf-token",{credentials:"include"})).json()).csrfToken,Or)}function Xl(){Or=null}async function Zl(n,r,s){const a={};if(s&&(a["Content-Type"]="application/json"),n!=="GET"&&n!=="HEAD"){const c=await Do();a["x-csrf-token"]=c}const l=await fetch(r,{method:n,headers:a,body:s?JSON.stringify(s):void 0,credentials:"include"});if(l.status===403){Or=null;const c=await Do();a["x-csrf-token"]=c;const h=await fetch(r,{method:n,headers:a,body:s?JSON.stringify(s):void 0,credentials:"include"});return await Cu(h),h}return await Cu(l),l}const Jx=({on401:n})=>async({queryKey:r})=>{const s=await fetch(r.join("/"),{credentials:"include"});return await Cu(s),await s.json()},ew=new Dx({defaultOptions:{queries:{queryFn:Jx({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),tw=1,nw=1e6;let Jl=0;function rw(){return Jl=(Jl+1)%Number.MAX_SAFE_INTEGER,Jl.toString()}const eu=new Map,Gp=n=>{if(eu.has(n))return;const r=setTimeout(()=>{eu.delete(n),Io({type:"REMOVE_TOAST",toastId:n})},nw);eu.set(n,r)},ow=(n,r)=>{switch(r.type){case"ADD_TOAST":return{...n,toasts:[r.toast,...n.toasts].slice(0,tw
9)};case"UPDATE_TOAST":return{...n,toasts:n.toasts.map(s=>s.id===r.toast.id?{...s,...r.toast}:s)};case"DISMISS_TOAST":{const{toastId:s}=r;return s?Gp(s):n.toasts.forEach(a=>{Gp(a.id)}),{...n,toasts:n.toasts.map(a=>a.id===s||s===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return r.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(s=>s.id!==r.toastId)}}},yi=[];let xi={toasts:[]};function Io(n){xi=ow(xi,n),yi.forEach(r=>{r(xi)})}function sw({...n}){const r=rw(),s=l=>Io({type:"UPDATE_TOAST",toast:{...l,id:r}}),a=()=>Io({type:"DISMISS_TOAST",toastId:r});return Io({type:"ADD_TOAST",toast:{...n,id:r,open:!0,onOpenChange:l=>{l||a()}}}),{id:r,dismiss:a,update:s}}function iw(){const[n,r]=m.useState(xi);return m.useEffect(()=>(yi.push(r),()=>{const s=yi.indexOf(r);s>-1&&yi.splice(s,1)}),[n]),{...n,toast:sw,dismiss:s=>Io({type:"DISMISS_TOAST",toastId:s})}}var Ai=Lh();const aw=Ih(Ai);function Me(n,r,{checkForDefaultPrevented:s=!0}={}){return function(l){if(n?.(l),s===!1||!l.defaultPrevented)return r?.(l)}}function qp(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function qn(...n){return r=>{let s=!1;const a=n.map(l=>{const c=qp(l,r);return!s&&typeof c=="function"&&(s=!0),c});if(s)return()=>{for(let l=0;l<a.length;l++){const c=a[l];typeof c=="function"?c():qp(n[l],null)}}}}function nt(...n){return m.useCallback(qn(...n),n)}function lw(n,r){const s=m.createContext(r),a=c=>{const{children:h,...p}=c,g=m.useMemo(()=>p,Object.values(p));return f.jsx(s.Provider,{value:g,children:h})};a.displayName=n+"Provider";function l(c){const h=m.useContext(s);if(h)return h;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[a,l]}function Qo(n,r=[]){let s=[];function a(c,h){const p=m.createContext(h),g=s.length;s=[...s,h];const v=w=>{const{scope:S,children:P,...C}=w,b=S?.[n]?.[g]||p,k=m.useMemo(()=>C,Object.values(C));return f.jsx(b.Provider,{value:k,children:P})};v.displayName=c+"Provider";function x(w,S){const P=S?.[n]?.[g]||p,C=m.useContext(P);if(C)return C;if(h!==void 0)return h;throw new Error(`\`${w}\` must be used within \`${c}\``)}return[v,x]}const l=()=>{const c=s.map(h=>m.createContext(h));return function(p){const g=p?.[n]||c;return m.useMemo(()=>({[`__scope${n}`]:{...p,[n]:g}}),[p,g])}};return l.scopeName=n,[a,uw(l,...r)]}function uw(...n){const r=n[0];if(n.length===1)return r;const s=()=>{const a=n.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(c){const h=a.reduce((p,{useScope:g,scopeName:v})=>{const w=g(c)[`__scope${v}`];return{...p,...w}},{});return m.useMemo(()=>({[`__scope${r.scopeName}`]:h}),[h])}};return s.scopeName=r.scopeName,s}function $o(n){const r=cw(n),s=m.forwardRef((a,l)=>{const{children:c,...h}=a,p=m.Children.toArray(c),g=p.find(fw);if(g){const v=g.props.children,x=p.map(w=>w===g?m.Children.count(v)>1?m.Children.only(null):m.isValidElement(v)?v.props.children:null:w);return f.jsx(r,{...h,ref:l,children:m.isValidElement(v)?m.cloneElement(v,void 0,x):null})}return f.jsx(r,{...h,ref:l,children:c})});return s.displayName=`${n}.Slot`,s}var qu=$o("Slot");function cw(n){const r=m.forwardRef((s,a)=>{const{children:l,...c}=s;if(m.isValidElement(l)){const h=hw(l),p=pw(c,l.props);return l.type!==m.Fragment&&(p.ref=a?qn(a,h):h),m.cloneElement(l,p)}return m.Children.count(l)>1?m.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var om=Symbol("radix.slottable");function dw(n){const r=({children:s})=>f.jsx(f.Fragment,{children:s});return r.displayName=`${n}.Slottable`,r.__radixId=om,r}function fw(n){return m.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===om}function pw(n,r){const s={...r};for(const a in r){const l=n[a],c=r[a];/^on[A-Z]/.test(a)?l&&c?s[a]=(...p)=>{c(...p),l(...p)}:l&&(s[a]=l):a==="style"?s[a]={...l,...c}:a==="className"&&(s[a]=[l,c].filter(Boolean).join(" "))}return{...n,...s}}function hw(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function mw(n){const r=n+"CollectionProvider",[s,a]=Qo(r),[l,c]=s(r,{collectionRef:{current:null},itemMap:new Map}),h=b=>{const{scope:k,children:j}=b,M=Et.useRef(null),I=Et.useRef(new Map).current;return f.jsx(l,{scope:k,itemMap:I,collectionRef:M,children:j})};h.displayName=r;const p=n+"CollectionSlot",g=$o(p),v=Et.forwardRef((b,k)=>{const{scope:j,children:M}=b,I=c(p,j),L=nt(k,I.collectionRef);return f.jsx(g,{ref:L,children:M})});v.displayName=p;const x=n+"CollectionItemSlot",w="data-radix-collection-item",S=$o(x),P=Et.forwardRef((b,k)=>{const{scope:j,children:M,...I}
vendor: 5,736 bytes, line 9
9=b,L=Et.useRef(null),F=nt(k,L),U=c(x,j);return Et.useEffect(()=>(U.itemMap.set(L,{ref:L,...I}),()=>{U.itemMap.delete(L)})),f.jsx(S,{[w]:"",ref:F,children:M})});P.displayName=x;function C(b){const k=c(n+"CollectionConsumer",b);return Et.useCallback(()=>{const M=k.collectionRef.current;if(!M)return[];const I=Array.from(M.querySelectorAll(`[${w}]`));return Array.from(k.itemMap.values()).sort((U,$)=>I.indexOf(U.ref.current)-I.indexOf($.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:h,Slot:v,ItemSlot:P},C,a]}var gw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Re=gw.reduce((n,r)=>{const s=$o(`Primitive.${r}`),a=m.forwardRef((l,c)=>{const{asChild:h,...p}=l,g=h?s:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(g,{...p,ref:c})});return a.displayName=`Primitive.${r}`,{...n,[r]:a}},{});function sm(n,r){n&&Ai.flushSync(()=>n.dispatchEvent(r))}function kt(n){const r=m.useRef(n);return m.useEffect(()=>{r.current=n}),m.useMemo(()=>(...s)=>r.current?.(...s),[])}function vw(n,r=globalThis?.document){const s=kt(n);m.useEffect(()=>{const a=l=>{l.key==="Escape"&&s(l)};return r.addEventListener("keydown",a,{capture:!0}),()=>r.removeEventListener("keydown",a,{capture:!0})},[s,r])}var yw="DismissableLayer",Pu="dismissableLayer.update",xw="dismissableLayer.pointerDownOutside",ww="dismissableLayer.focusOutside",Yp,im=m.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Mi=m.forwardRef((n,r)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:h,onDismiss:p,...g}=n,v=m.useContext(im),[x,w]=m.useState(null),S=x?.ownerDocument??globalThis?.document,[,P]=m.useState({}),C=nt(r,$=>w($)),b=Array.from(v.layers),[k]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),j=b.indexOf(k),M=x?b.indexOf(x):-1,I=v.layersWithOutsidePointerEventsDisabled.size>0,L=M>=j,F=Sw($=>{const Z=$.target,ie=[...v.branches].some(le=>le.contains(Z));!L||ie||(l?.($),h?.($),$.defaultPrevented||p?.())},S),U=Ew($=>{const Z=$.target;[...v.branches].some(le=>le.contains(Z))||(c?.($),h?.($),$.defaultPrevented||p?.())},S);return vw($=>{M===v.layers.size-1&&(a?.($),!$.defaultPrevented&&p&&($.preventDefault(),p()))},S),m.useEffect(()=>{if(x)return s&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(Yp=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(x)),v.layers.add(x),Xp(),()=>{s&&v.layersWithOutsidePointerEventsDisabled.size===1&&(S.body.style.pointerEvents=Yp)}},[x,S,s,v]),m.useEffect(()=>()=>{x&&(v.layers.delete(x),v.layersWithOutsidePointerEventsDisabled.delete(x),Xp())},[x,v]),m.useEffect(()=>{const $=()=>P({});return document.addEventListener(Pu,$),()=>document.removeEventListener(Pu,$)},[]),f.jsx(Re.div,{...g,ref:C,style:{pointerEvents:I?L?"auto":"none":void 0,...n.style},onFocusCapture:Me(n.onFocusCapture,U.onFocusCapture),onBlurCapture:Me(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Me(n.onPointerDownCapture,F.onPointerDownCapture)})});Mi.displayName=yw;var bw="DismissableLayerBranch",am=m.forwardRef((n,r)=>{const s=m.useContext(im),a=m.useRef(null),l=nt(r,a);return m.useEffect(()=>{const c=a.current;if(c)return s.branches.add(c),()=>{s.branches.delete(c)}},[s.branches]),f.jsx(Re.div,{...n,ref:l})});am.displayName=bw;function Sw(n,r=globalThis?.document){const s=kt(n),a=m.useRef(!1),l=m.useRef(()=>{});return m.useEffect(()=>{const c=p=>{if(p.target&&!a.current){let g=function(){lm(xw,s,v,{discrete:!0})};const v={originalEvent:p};p.pointerType==="touch"?(r.removeEventListener("click",l.current),l.current=g,r.addEventListener("click",l.current,{once:!0})):g()}else r.removeEventListener("click",l.current);a.current=!1},h=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(h),r.removeEventListener("pointerdown",c),r.removeEventListener("click",l.current)}},[r,s]),{onPointerDownCapture:()=>a.current=!0}}function Ew(n,r=globalThis?.document){const s=kt(n),a=m.useRef(!1);return m.useEffect(()=>{const l=c=>{c.target&&!a.current&&lm(ww,s,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",l),()=>r.removeEventListener("focusin",l)},[r,s]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function Xp(){const n=new CustomEvent(Pu);document.dispatchEvent(n)}function lm(n,r,s,{discrete:a}){const l=s.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:s});r&&l.addEventListener(n,r,{once:!0}),a?sm(l,c):l.dispatchEvent(c)}var kw=Mi,Cw=am,Rn=globalThis?.document?m.useLayoutEffect:()=>{},Pw="Portal",Yu=m.forwardRef((n,r)=>{const{container:s,...a}=n,[l,c]=m.useState(!1);Rn(()=>c(!0),[]);const h=s||l&&globalThis?.document?.body;return h?aw.createPortal(f.jsx(Re.div,{...a,ref:r}),h):null});Yu.displayName=Pw;function Nw(n,r){return m.useReducer((s,a)=>r[s][a]??s,n)}var $r=n=>{const{present:r,children:s}=n,a=Rw(r),l=typeof s=="function"?s({present:a.isPresent}):m.Children.only(s),c=nt(a.ref,Tw(l));return typeof s=="function"||a.isPresent?m.cloneElement(l,{ref:c}):null};$r.displayName="Presence";function Rw(n){const[r,s]=m.useState(),a=m.useRef({}),l=m.useRef(n),c=m.useRef("none"),h=n?"mounted":"unmounted",[p,g]=Nw(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.useEffect(()=>{const v=ci(a.current);c.current=p==="mounted"?v:"none"},[p]),Rn(()=>{const v=a.current,x=l.current;if(x!==n){const S=c.current,P=ci(v);n?g("MOUNT"):P==="none"||v?.display==="none"?g("UNMOUNT"):g(x&&S!==P?"ANIMATION_OUT":"UNMOUNT"),l.current=n}},[n,g]),Rn(()=>
9{if(r){let v;const x=r.ownerDocument.defaultView??window,w=P=>{const b=ci(a.current).includes(P.animationName);if(P.target===r&&b&&(g("ANIMATION_END"),!l.current)){const k=r.style.animationFillMode;r.style.animationFillMode="forwards",v=x.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=k)})}},S=P=>{P.target===r&&(c.current=ci(a.current))};return r.addEventListener("animationstart",S),r.addEventListener("animationcancel",w),r.addEventListener("animationend",w),()=>{x.clearTimeout(v),r.removeEventListener("animationstart",S),r.removeEventListener("animationcancel",w),r.removeEventListener("animationend",w)}}else g("ANIMATION_END")},[r,g]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:m.useCallback(v=>{v&&(a.current=getComputedStyle(v)),s(v)},[])}}function ci(n){return n?.animationName||"none"}function Tw(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function Xu({prop:n,defaultProp:r,onChange:s=()=>{}}){const[a,l]=_w({defaultProp:r,onChange:s}),c=n!==void 0,h=c?n:a,p=kt(s),g=m.useCallback(v=>{if(c){const w=typeof v=="function"?v(n):v;w!==n&&p(w)}else l(v)},[c,n,l,p]);return[h,g]}function _w({defaultProp:n,onChange:r}){const s=m.useState(n),[a]=s,l=m.useRef(a),c=kt(r);return m.useEffect(()=>{l.current!==a&&(c(a),l.current=a)},[a,l,c]),s}var jw="VisuallyHidden",Ko=m.forwardRef((n,r)=>f.jsx(Re.span,{...n,ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...n.style}}));Ko.displayName=jw;var Ow=Ko,Zu="ToastProvider",[Ju,Aw,Mw]=mw("Toast"),[um]=Qo("Toast",[Mw]),[Dw,Di]=um(Zu),cm=n=>{const{__scopeToast:r,label:s="Notification",duration:a=5e3,swipeDirection:l="right",swipeThreshold:c=50,children:h}=n,[p,g]=m.useState(null),[v,x]=m.useState(0),w=m.useRef(!1),S=m.useRef(!1);return s.trim()||console.error(`Invalid prop \`label\` supplied to \`${Zu}\`. Expected non-empty \`string\`.`),f.jsx(Ju.Provider,{scope:r,children:f.jsx(Dw,{scope:r,label:s,duration:a,swipeDirection:l,swipeThreshold:c,toastCount:v,viewport:p,onViewportChange:g,onToastAdd:m.useCallback(()=>x(P=>P+1),[]),onToastRemove:m.useCallback(()=>x(P=>P-1),[]),isFocusedToastEscapeKeyDownRef:w,isClosePausedRef:S,children:h})})};cm.displayName=Zu;var dm="ToastViewport",Iw=["F8"],Nu="toast.viewportPause",Ru="toast.viewportResume",fm=m.forwardRef((n,r)=>{const{__scopeToast:s,hotkey:a=Iw,label:l="Notifications ({hotkey})",...c}=n,h=Di(dm,s),p=Aw(s),g=m.useRef(null),v=m.useRef(null),x=m.useRef(null),w=m.useRef(null),S=nt(r,w,h.onViewportChange),P=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=h.toastCount>0;m.useEffect(()=>{const k=j=>{a.length!==0&&a.every(I=>j[I]||j.code===I)&&w.current?.focus()};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[a]),m.useEffect(()=>{const k=g.current,j=w.current;if(C&&k&&j){const M=()=>{if(!h.isClosePausedRef.current){const U=new CustomEvent(Nu);j.dispatchEvent(U),h.isClosePausedRef.current=!0}},I=()=>{if(h.isClosePausedRef.current){const U=new CustomEvent(Ru);j.dispatchEvent(U),h.isClosePausedRef.current=!1}},L=U=>{!k.contains(U.relatedTarget)&&I()},F=()=>{k.contains(document.activeElement)||I()};return k.addEventListener("focusin",M),k.addEventListener("focusout",L),k.addEventListener("pointermove",M),k.addEventListener("pointerleave",F),window.addEventListener("blur",M),window.addEventListener("focus",I),()=>{k.removeEventListener("focusin",M),k.removeEventListener("focusout",L),k.removeEventListener("pointermove",M),k.removeEventListener("pointerleave",F),window.removeEventListener("blur",M),window.removeEventListener("focus",I)}}},[C,h.isClosePausedRef]);const b=m.useCallback(({tabbingDirection:k})=>{const M=p().map(I=>{const L=I.ref.current,F=[L,...qw(L)];return k==="forwards"?F:F.reverse()});return(k==="forwards"?M.reverse():M).flat()},[p]);return m.useEffect(()=>{const k=w.current;if(k){const j=M=>{const I=M.altKey||M.ctrlKey||M.metaKey;if(M.key==="Tab"&&!I){const F=document.activeElement,U=M.shiftKey;if(M.target===k&&U){v.current?.focus();return}const ie=b({tabbingDirection:U?"backwards":"forwards"}),le=ie.findIndex(ge=>ge===F);tu(ie.slice(le+1))?M.preventDefault():U?v.current?.focus():x.current?.focus()}};return k.addEventListener("keydown",j),()=>k.removeEventListener("keydown",j)}},[p,b]),f.jsxs(Cw,{ref:g,role:"region","aria-label":l.replace("{hotkey}",P),tabIndex:-1,style:{pointerEvents:C?void 0:"none"},children:[C&&f.jsx(Tu,{ref:v,onFocusFromOutsideViewport:()=>{const k=b({tabbingDirection:"forwards"});tu(k)}}),f.jsx(Ju.Slot,{scope:s,children:f.jsx(Re.ol,{tabIndex:-1,...c,ref:S})}),C&&f.jsx(Tu,{ref:x,onFocusFromOutsideViewport:()=>{const k=b({tabbingDirection:"backwards"});tu(k)}})]})});fm.displayName=dm;var pm="ToastFocusProxy",Tu=m.forwardRef((n,r)=>{const{__scopeToast:s,onFocusFromOutsideViewport:a,...l}=n,c=Di(pm,s);return f.jsx(Ko,{"aria-hidden":!0,tabIndex:0,...l,ref:r,style:{position:"fixed"},onFocus:h=>{const p=h.relatedTarget;!c.viewport?.contains(p)&&a()}})});Tu.displayName=pm;var Ii="Toast",Lw="toast.swipeStart",zw="toast.swipeMove",Fw="toast.swipeCancel",$w="toast.swipeEnd",hm=m.forwardRef((n,r)=>{const{forceMount:s,open:a,defaultOpen:l,onOpenChange:c,...h}=n,[p=!0,g]=Xu({prop:a,defaultProp:l,onChange:c});return f.jsx($r,{present:s||p,children:f.jsx(Bw,{open:p,...h,ref:r,onClose:()=>g(!1),onPause:kt(n.onPause),onResume:kt(n.onResume),onSwipeStart:Me(n.onSwipeStart,v=>{v.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Me(n.onSwipeMove,v=>{const{x,y:w}=v.detail.delta;v.currentTarget.setAttribute("data-swipe","move"),v.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),v.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${w}px`)}
9),onSwipeCancel:Me(n.onSwipeCancel,v=>{v.currentTarget.setAttribute("data-swipe","cancel"),v.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),v.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),v.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),v.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Me(n.onSwipeEnd,v=>{const{x,y:w}=v.detail.delta;v.currentTarget.setAttribute("data-swipe","end"),v.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),v.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),v.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),v.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${w}px`),g(!1)})})})});hm.displayName=Ii;var[Uw,Vw]=um(Ii,{onClose(){}}),Bw=m.forwardRef((n,r)=>{const{__scopeToast:s,type:a="foreground",duration:l,open:c,onClose:h,onEscapeKeyDown:p,onPause:g,onResume:v,onSwipeStart:x,onSwipeMove:w,onSwipeCancel:S,onSwipeEnd:P,...C}=n,b=Di(Ii,s),[k,j]=m.useState(null),M=nt(r,Y=>j(Y)),I=m.useRef(null),L=m.useRef(null),F=l||b.duration,U=m.useRef(0),$=m.useRef(F),Z=m.useRef(0),{onToastAdd:ie,onToastRemove:le}=b,ge=kt(()=>{k?.contains(document.activeElement)&&b.viewport?.focus(),h()}),oe=m.useCallback(Y=>{!Y||Y===1/0||(window.clearTimeout(Z.current),U.current=new Date().getTime(),Z.current=window.setTimeout(ge,Y))},[ge]);m.useEffect(()=>{const Y=b.viewport;if(Y){const ye=()=>{oe($.current),v?.()},ce=()=>{const ue=new Date().getTime()-U.current;$.current=$.current-ue,window.clearTimeout(Z.current),g?.()};return Y.addEventListener(Nu,ce),Y.addEventListener(Ru,ye),()=>{Y.removeEventListener(Nu,ce),Y.removeEventListener(Ru,ye)}}},[b.viewport,F,g,v,oe]),m.useEffect(()=>{c&&!b.isClosePausedRef.current&&oe(F)},[c,F,b.isClosePausedRef,oe]),m.useEffect(()=>(ie(),()=>le()),[ie,le]);const ve=m.useMemo(()=>k?bm(k):null,[k]);return b.viewport?f.jsxs(f.Fragment,{children:[ve&&f.jsx(Hw,{__scopeToast:s,role:"status","aria-live":a==="foreground"?"assertive":"polite","aria-atomic":!0,children:ve}),f.jsx(Uw,{scope:s,onClose:ge,children:Ai.createPortal(f.jsx(Ju.ItemSlot,{scope:s,children:f.jsx(kw,{asChild:!0,onEscapeKeyDown:Me(p,()=>{b.isFocusedToastEscapeKeyDownRef.current||ge(),b.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(Re.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":b.swipeDirection,...C,ref:M,style:{userSelect:"none",touchAction:"none",...n.style},onKeyDown:Me(n.onKeyDown,Y=>{Y.key==="Escape"&&(p?.(Y.nativeEvent),Y.nativeEvent.defaultPrevented||(b.is
9FocusedToastEscapeKeyDownRef.current=!0,ge()))}),onPointerDown:Me(n.onPointerDown,Y=>{Y.button===0&&(I.current={x:Y.clientX,y:Y.clientY})}),onPointerMove:Me(n.onPointerMove,Y=>{if(!I.current)return;const ye=Y.clientX-I.current.x,ce=Y.clientY-I.current.y,ue=!!L.current,z=["left","right"].includes(b.swipeDirection),q=["left","up"].includes(b.swipeDirection)?Math.min:Math.max,G=z?q(0,ye):0,_=z?0:q(0,ce),R=Y.pointerType==="touch"?10:2,Q={x:G,y:_},X={originalEvent:Y,delta:Q};ue?(L.current=Q,di(zw,w,X,{discrete:!1})):Zp(Q,b.swipeDirection,R)?(L.current=Q,di(Lw,x,X,{discrete:!1}),Y.target.setPointerCapture(Y.pointerId)):(Math.abs(ye)>R||Math.abs(ce)>R)&&(I.current=null)}),onPointerUp:Me(n.onPointerUp,Y=>{const ye=L.current,ce=Y.target;if(ce.hasPointerCapture(Y.pointerId)&&ce.releasePointerCapture(Y.pointerId),L.current=null,I.current=null,ye){const ue=Y.currentTarget,z={originalEvent:Y,delta:ye};Zp(ye,b.swipeDirection,b.swipeThreshold)?di($w,P,z,{discrete:!0}):di(Fw,S,z,{discrete:!0}),ue.addEventListener("click",q=>q.preventDefault(),{once:!0})}})})})}),b.viewport)})]}):null}),Hw=n=>{const{__scopeToast:r,children:s,...a}=n,l=Di(Ii,r),[c,h]=m.useState(!1),[p,g]=m.useState(!1);return Kw(()=>h(!0)),m.useEffect(()=>{const v=window.setTimeout(()=>g(!0),1e3);return()=>window.clearTimeout(v)},[]),p?null:f.jsx(Yu,{asChild:!0,children:f.jsx(Ko,{...a,children:c&&f.jsxs(f.Fragment,{children:[l.label," ",s]})})})},Ww="ToastTitle",mm=m.forwardRef((n,r)=>{const{__scopeToast:s,...a}=n;return f.jsx(Re.div,{...a,ref:r})});mm.displayName=Ww;var Qw="ToastDescription",gm=m.forwardRef((n,r)=>{const{__scopeToast:s,...a}=n;return f.jsx(Re.div,{...a,ref:r})});gm.displayName=Qw;var vm="ToastAction",ym=m.forwardRef((n,r)=>{const{altText:s,...a}=n;return s.trim()?f.jsx(wm,{altText:s,asChild:!0,children:f.jsx(ec,{...a,ref:r})}):(console.error(`Invalid prop \`altText\` supplied to \`${vm}\`. Expected non-empty \`string\`.`),null)});ym.displayName=vm;var xm="ToastClose",ec=m.forwardRef((n,r)=>{const{__scopeToast:s,...a}=n,l=Vw(xm,s);return f.jsx(wm,{asChild:!0,children:f.jsx(Re.button,{type:"button",...a,ref:r,onClick:Me(n.onClick,l.onClose)})})});ec.displayName=xm;var wm=m.forwardRef((n,r)=>{const{__scopeToast:s,altText:a,...l}=n;return f.jsx(Re.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...l,ref:r})});function bm(n){const r=[];return Array.from(n.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&r.push(a.textContent),Gw(a)){const l=a.ariaHidden||a.hidden||a.style.display==="none",c=a.dataset.radixToastAnnounceExclude==="";if(!l)if(c){const h=a.dataset.radixToastAnnounceAlt;h&&r.push(h)}else r.push(...bm(a))}}),r}function di(n,r,s,{discrete:a}){const l=s.originalEvent.currentTarget,c=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:s});r&&l.addEventListener(n,r,{once:!0}),a?sm(l,c):l.dispatchEvent(c)}var Zp=(n,r,s=0)=>{const a=Math.abs(n.x),l=Math.abs(n.y),c=a>l;return r==="left"||r==="right"?c&&a>s:!c&&l>s};function Kw(n=()=>{}){const r=kt(n);Rn(()=>{let s=0,a=0;return s=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(r)),()=>{window.cancelAnimationFrame(s),window.cancelAnimationFrame(a)}},[r])}function Gw(n){return n.nodeType===n.ELEMENT_NODE}function qw(n){const r=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)r.push(s.currentNode);return r}function tu(n){const r=document.activeElement;return n.some(s=>s===r?!0:(s.focus(),document.activeElement!==r))}var Yw=cm,Sm=fm,Em=hm,km=mm,Cm=gm,Pm=ym,Nm=ec;function Rm(n){var r,s,a="";if(typeof n=="string"||typeof n=="number")a+=n;else if(typeof n=="object")if(Array.isArray(n)){var l=n.length;for(r=0;r<l;r++)n[r]&&(s=Rm(n[r]))&&(a&&(a+=" "),a+=s)}else for(s in n)n[s]&&(a&&(a+=" "),a+=s);return a}function Tm(){for(var n,r,s=0,a="",l=arguments.length;s<l;s++)(n=arguments[s])&&(r=Rm(n))&&(a&&(a+=" "),a+=r);return a}const Jp=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,eh=Tm,Li=(n,r)=>s=>{var a;if(r?.variants==null)return eh(n,s?.class,s?.className);const{variants:l,defaultVariants:c}=r,h=Object.keys(l).map(v=>{const x=s?.[v],w=c?.[v];if(x===null)return null;const S=Jp(x)||Jp(w);return l[v][S]}),p=s&&Object.entries(s).reduce((v,x)=>{let[w,S]=x;return S===void 0||(v[w]=S),v},{}),g=r==null||(a=r.compoundVariants)===null||a===void 0?void 0:a.reduce((v,x)=>{let{class:w,className:S,...P}=x;return Object.entries(P).every(C=>{let[b,k]=C;return Array.isArray(k)?k.includes({...c,...p}[b]):{...c,...p}[b]===k})?[...v,w,S]:v},[]);return eh(n,h,g,s?.class,s?.className)};const Xw=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_m=(...n)=>n.filter((r,s,a)=>!!r&&a.indexOf(r)===s).join(" ");var Zw={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"};const Jw=m.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:l="",children:c,iconNode:h,...p},g)=>m.createElement("svg",{ref:g,...Zw,width:r,height:r,stroke:n,strokeWidth:a?Number(s)*24/Number(r):s,className:_m("lucide",l),...p},[...h.map(([v,x])=>
9m.createElement(v,x)),...Array.isArray(c)?c:[c]]));const me=(n,r)=>{const s=m.forwardRef(({className:a,...l},c)=>m.createElement(Jw,{ref:c,iconNode:r,className:_m(`lucide-${Xw(n)}`,a),...l}));return s.displayName=`${n}`,s};const e1=me("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const t1=me("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]);const n1=me("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"}]]);const r1=me("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);const jm=me("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);const tc=me("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"}]]);const o1=me("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"}]]);const Om=me("ChartPie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]);const s1=me("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const i1=me("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const Am=me("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const a1=me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const l1=me("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);const u1=me("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"}]]);const c1=me("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const d1=me("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const f1=me("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"}]]);const p1=me("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const h1=me("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const _u=me("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);const m1=me("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const th=me("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
9y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);const Mm=me("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"}]]);const g1=me("Microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]]);const Dm=me("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const nc=me("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);const Im=me("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);const v1=me("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);const Lm=me("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);const zm=me("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const ju=me("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);const rc=me("Rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);const Go=me("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const y1=me("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);const Fm=me("SkipBack",[["polygon",{points:"19 20 9 12 19 4 19 20",key:"o2sva"}],["line",{x1:"5",x2:"5",y1:"19",y2:"5",key:"1ocqjk"}]]);const $m=me("SkipForward",[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]]);const Um=me("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const x1=me("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"}]]);const zi=me("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"}]]);const w1=me("UserCheck",[["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"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);const nh=me("UserPlus",[["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"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);const Vm=me("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);const Bm=me("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);const Jn=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 6,441 bytes, line 9
9],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const Hm=me("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),oc="-",b1=n=>{const r=E1(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:a}=n;return{getClassGroupId:h=>{const p=h.split(oc);return p[0]===""&&p.length!==1&&p.shift(),Wm(p,r)||S1(h)},getConflictingClassGroupIds:(h,p)=>{const g=s[h]||[];return p&&a[h]?[...g,...a[h]]:g}}},Wm=(n,r)=>{if(n.length===0)return r.classGroupId;const s=n[0],a=r.nextPart.get(s),l=a?Wm(n.slice(1),a):void 0;if(l)return l;if(r.validators.length===0)return;const c=n.join(oc);return r.validators.find(({validator:h})=>h(c))?.classGroupId},rh=/^\[(.+)\]$/,S1=n=>{if(rh.test(n)){const r=rh.exec(n)[1],s=r?.substring(0,r.indexOf(":"));if(s)return"arbitrary.."+s}},E1=n=>{const{theme:r,prefix:s}=n,a={nextPart:new Map,validators:[]};return C1(Object.entries(n.classGroups),s).forEach(([c,h])=>{Ou(h,a,c,r)}),a},Ou=(n,r,s,a)=>{n.forEach(l=>{if(typeof l=="string"){const c=l===""?r:oh(r,l);c.classGroupId=s;return}if(typeof l=="function"){if(k1(l)){Ou(l(a),r,s,a);return}r.validators.push({validator:l,classGroupId:s});return}Object.entries(l).forEach(([c,h])=>{Ou(h,oh(r,c),s,a)})})},oh=(n,r)=>{let s=n;return r.split(oc).forEach(a=>{s.nextPart.has(a)||s.nextPart.set(a,{nextPart:new Map,validators:[]}),s=s.nextPart.get(a)}),s},k1=n=>n.isThemeGetter,C1=(n,r)=>r?n.map(([s,a])=>{const l=a.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([h,p])=>[r+h,p])):c);return[s,l]}):n,P1=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,s=new Map,a=new Map;const l=(c,h)=>{s.set(c,h),r++,r>n&&(r=0,a=s,s=new Map)};return{get(c){let h=s.get(c);if(h!==void 0)return h;if((h=a.get(c))!==void 0)return l(c,h),h},set(c,h){s.has(c)?s.set(c,h):l(c,h)}}},Qm="!",N1=n=>{const{separator:r,experimentalParseClassName:s}=n,a=r.length===1,l=r[0],c=r.length,h=p=>{const g=[];let v=0,x=0,w;for(let k=0;k<p.length;k++){let j=p[k];if(v===0){if(j===l&&(a||p.slice(k,k+c)===r)){g.push(p.slice(x,k)),x=k+c;continue}if(j==="/"){w=k;continue}}j==="["?v++:j==="]"&&v--}const S=g.length===0?p:p.substring(x),P=S.startsWith(Qm),C=P?S.substring(1):S,b=w&&w>x?w-x:void 0;return{modifiers:g,hasImportantModifier:P,baseClassName:C,maybePostfixModifierPosition:b}};return s?p=>s({className:p,parseClassName:h}):h},R1=n=>{if(n.length<=1)return n;const r=[];let s=[];return n.forEach(a=>{a[0]==="["?(r.push(...s.sort(),a),s=[]):s.push(a)}),r.push(...s.sort()),r},T1=n=>({cache:P1(n.cacheSize),parseClassName:N1(n),...b1(n)}),_1=/\s+/,j1=(n,r)=>{const{parseClassName:s,getClassGroupId:a,getConflictingClassGroupIds:l}=r,c=[],h=n.trim().split(_1);let p="";for(let g=h.length-1;g>=0;g-=1){const v=h[g],{modifiers:x,hasImportantModifier:w,baseClassName:S,maybePostfixModifierPosition:P}=s(v);let C=!!P,b=a(C?S.substring(0,P):S);if(!b){if(!C){p=v+(p.length>0?" "+p:p);continue}if(b=a(S),!b){p=v+(p.length>0?" "+p:p);continue}C=!1}const k=R1(x).join(":"),j=w?k+Qm:k,M=j+b;if(c.includes(M))continue;c.push(M);const I=l(b,C);for(let L=0;L<I.length;++L){const F=I[L];c.push(j+F)}p=v+(p.length>0?" "+p:p)}return p};function O1(){let n=0,r,s,a="";for(;n<arguments.length;)(r=arguments[n++])&&(s=Km(r))&&(a&&(a+=" "),a+=s);return a}const Km=n=>{if(typeof n=="string")return n;let r,s="";for(let a=0;a<n.length;a++)n[a]&&(r=Km(n[a]))&&(s&&(s+=" "),s+=r);return s};function A1(n,...r){let s,a,l,c=h;function h(g){const v=r.reduce((x,w)=>w(x),n());return s=T1(v),a=s.cache.get,l=s.cache.set,c=p,p(g)}function p(g){const v=a(g);if(v)return v;const x=j1(g,s);return l(g,x),x}return function(){return c(O1.apply(null,arguments))}}const Oe=n=>{const r=s=>s[n]||[];return r.isThemeGetter=!0,r},Gm=/^\[(?:([a-z-]+):)?(.+)\]$/i,M1=/^\d+\/\d+$/,D1=new Set(["px","full","screen"]),I1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,L1=/\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$/,z1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,F1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nn=n=>Mr(n)||D1.has(n)||M1.test(n),Cn=n=>Ur(n,"length",G1),Mr=n=>!!n&&!Number.isNaN(Number(n)),nu=n=>Ur(n,"number",Mr),Oo=n=>!!n&&Number.isInteger(Number(n)),U1=n=>n.endsWith("%")&&Mr(n.slice(0,-1)),be=n=>Gm.test(n),Pn=n=>I1.test(n),V1=new Set(["length","size","percentage"]),B1=n=>Ur(n,V1,qm),H1=n=>Ur(n,"position",qm),W1=new Set(["image","url"]),Q1=n=>Ur(n,W1,Y1),K1=n=>Ur(n,"",q1),Ao=()=>!0,Ur=(n,r,s)=>{const a=Gm.exec(n);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):s(a[2]):!1},G1=n=>L1.test(n)&&!z1.test(n),qm=()=>!1,q1=n=>F1.test(n),Y1=n=>$1.test(n),X1=()=>{const n=Oe("colors"),r=Oe("spacing"),s=Oe("blur"),a=Oe("brightness"),l=Oe("borderColor"),c=Oe("borderRadius"),h=Oe("borderSpacing"),p=Oe("borderWidth"),g=Oe("contrast"),v=Oe("grayscale"),x=Oe("hueRotate"),w=Oe("invert"),S=Oe("gap"),P=Oe("gradientColorStops"),C=Oe("gradientColorStopPositions"),b=Oe("inset"),k=Oe("margin"),j=Oe("opacity"),M=Oe("padding"),I=Oe("saturate"),L=Oe("scale"),F=Oe("sepia"),U=Oe("skew"),$=Oe("space"),Z=Oe("translate"),ie=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],ge=()=>["auto",be,r],oe=()=>[be,r],ve=()=>["",nn,Cn],Y=()=>["auto",Mr,be],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ce=()=>["solid","dashed","dotted","double","none"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",be],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[Mr,be];return{cacheSize:500,separator:":",theme:{colors:[Ao],spacing:[nn,Cn],blur:["none","",Pn,be],brightness:_(),borderColor:[n],borderRadius:["none","","full",Pn,be],borderSpacing:oe(),borderWidth:ve(),contrast:_(),grayscale:q(),hueRotate:_(),invert:q(),gap:oe(),gradientColorStops:[n],gradientColorStopPositions:[U1,Cn],inset:ge(),margin:ge(),opacity:_(),padding:oe(),saturate:_(),scale:_(),sepia:q(),skew:_(),space:oe(),translate:oe()},classGroups:{aspect:[{aspect:["auto","square","video",be]}
vendor: 11,214 bytes, line 9
9],container:["container"],columns:[{columns:[Pn]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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"],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:[...ye(),be]}],overflow:[{overflow:le()}],"overflow-x":[{"overflow-x":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Oo,be]}],basis:[{basis:ge()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",be]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",Oo,be]}],"grid-cols":[{"grid-cols":[Ao]}],"col-start-end":[{col:["auto",{span:["full",Oo,be]},be]}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":[Ao]}],"row-start-end":[{row:["auto",{span:[Oo,be]},be]}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",be]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",be]}],gap:[{gap:[S]}],"gap-x":[{"gap-x":[S]}],"gap-y":[{"gap-y":[S]}],"justify-content":[{justify:["normal",...z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...z(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],pe:[{pe:[M]}],pt:[{pt:[M]}],pr:[{pr:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],mt:[{mt:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",be,r]}],"min-w":[{"min-w":[be,r,"min","max","fit"]}],"max-w":[{"max-w":[be,r,"none","full","min","max","fit","prose",{screen:[Pn]},Pn]}],h:[{h:[be,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[be,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[be,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[be,r,"auto","min","max","fit"]}],"font-size":[{text:["base",Pn,Cn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",nu]}],"font-family":[{font:[Ao]}],"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:["tighter","tight","normal","wide","wider","widest",be]}],"line-clamp":[{"line-clamp":["none",Mr,nu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",nn,be]}],"list-image":[{"list-image":["none",be]}],"list-style-type":[{list:["none","disc","decimal",be]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[j]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",nn,Cn]}],"underline-offset":[{"underline-offset":["auto",nn,be]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:oe()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[j]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),H1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",B1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q1]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[p]}],"border-w-x":[{"border-x":[p]}],"border-w-y":[{"border-y":[p]}],"border-w-s":[{"border-s":[p]}],"border-w-e":[{"border-e":[p]}],"border-w-t":[{"border-t":[p]}],"border-w-r":[{"border-r":[p]}],"border-w-b":[{"border-b":[p]}],"border-w-l":[{"border-l":[p]}],"border-opacity":[{"border-opacity":[j]}],"border-style":[{border:[...ce(),"hidden"]}],"divide-x":[{"divide-x":[p]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[p]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[j]}],"divide-style":[{divide:ce()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...ce()]}],"outline-offset":[{"outline-offset":[nn,be]}],"outline-w":[{outline:[nn,Cn]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[j]}],"ring-offset-w":[{"ring-offset":[nn,Cn]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Pn,K1]}],"shadow-color":[{shadow:[Ao]}],opacity:[{opacity:[j]}],"mix-blend":[{"mix-blend":[...ue(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ue()}],filter:[{filter:["","none"]}],blur:[{blur:[s]}],brightness:[{brightness:[a]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",Pn,be]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[w]}],saturate:[{saturate:[I]}],sepia:[{sepia:[F]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[s]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[j]}],"backdrop-saturate":[{"backdrop-saturate":[I]}],"backdrop-sepia":[{"backdrop-sepia":[F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[h]}],"border-spacing-x":[{"border-spacing-x":[h]}],"border-spacing-y":[{"border-spacing-y":[h]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",be]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",be]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",be]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[Oo,be]}],"translate-x":[{"translate-x":[Z]}],"translate-y":[{"translate-y":[Z]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",be]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",be]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":oe()}],"scroll-mx":[{"scroll-mx":oe()}],"scroll-my":[{"scroll-my":oe()}],"scroll-ms":[{"scroll-ms":oe()}],"scroll-me":[{"scroll-me":oe()}],"scroll-mt":[{"scroll-mt":oe()}],"scroll-mr":[{"scroll-mr":oe()}],"scroll-mb":[{"scroll-mb":oe()}],"scroll-ml":[{"scroll-ml":oe()}],"scroll-p":[{"scroll-p":oe()}],"scroll-px":[{"scroll-px":oe()}],"scroll-py":[{"scroll-py":oe()}],"scroll-ps":[{"scroll-ps":oe()}],"scroll-pe":[{"scroll-pe":oe()}],"scroll-pt":[{"scroll-pt":oe()}],"scroll-pr":[{"scroll-pr":oe()}],"scroll-pb":[{"scroll-pb":oe()}],"scroll-pl":[{"scroll-pl":oe()}],"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"]}
vendor: 4,647 bytes, line 9
9],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",be]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[nn,Cn,nu]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}},Z1=A1(X1);function we(...n){return Z1(Tm(n))}const J1=Yw,Ym=m.forwardRef(({className:n,...r},s)=>f.jsx(Sm,{ref:s,className:we("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n),...r}));Ym.displayName=Sm.displayName;const eb=Li("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Xm=m.forwardRef(({className:n,variant:r,...s},a)=>f.jsx(Em,{ref:a,className:we(eb({variant:r}),n),...s}));Xm.displayName=Em.displayName;const tb=m.forwardRef(({className:n,...r},s)=>f.jsx(Pm,{ref:s,className:we("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",n),...r}));tb.displayName=Pm.displayName;const Zm=m.forwardRef(({className:n,...r},s)=>f.jsx(Nm,{ref:s,className:we("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,150 bytes, line 9
9/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...r,children:f.jsx(Jn,{className:"h-4 w-4"})}));Zm.displayName=Nm.displayName;const Jm=m.forwardRef(({className:n,...r},s)=>f.jsx(km,{ref:s,className:we("text-sm font-semibold",n),...r}));Jm.displayName=km.displayName;const eg=m.forwardRef(({className:n,...r},s)=>f.jsx(Cm,{ref:s,className:we("text-sm opacity-90",n),...r}));eg.displayName=Cm.displayName;function nb(){const{toasts:n}=iw();return f.jsxs(J1,{children:[n.map(function({id:r,title:s,description:a,action:l,...c}){return f.jsxs(Xm,{...c,children:[f.jsxs("div",{className:"grid gap-1",children:[s&&f.jsx(Jm,{children:s}),a&&f.jsx(eg,{children:a})]}),l,f.jsx(Zm,{})]},r)}),f.jsx(Ym,{})]})}var rb=zh[" useId ".trim().toString()]||(()=>{}),ob=0;function Vt(n){const[r,s]=m.useState(rb());return Rn(()=>{s(a=>a??String(ob++))},[n]),r?`radix-${r}`:""}const sb=["top","right","bottom","left"],Tn=Math.min,ht=Math.max,Pi=Math.round,fi=Math.floor,Bt=n=>({x:n,y:n}),ib={left:"right",right:"left",bottom:"top",top:"bottom"},ab={start:"end",end:"start"};function Au(n,r,s){return ht(n,Tn(r,s))}function rn(n,r){return typeof n=="function"?n(r):n}function on(n){return n.split("-")[0]}function Vr(n){return n.split("-")[1]}function sc(n){return n==="x"?"y":"x"}function ic(n){return n==="y"?"height":"width"}function _n(n){return["top","bottom"].includes(on(n))?"y":"x"}function ac(n){return sc(_n(n))}function lb(n,r,s){s===void 0&&(s=!1);const a=Vr(n),l=ac(n),c=ic(l);let h=l==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[c]>r.floating[c]&&(h=Ni(h)),[h,Ni(h)]}function ub(n){const r=Ni(n);return[Mu(n),r,Mu(r)]}function Mu(n){return n.replace(/start|end/g,r=>ab[r])}function cb(n,r,s){const a=["left","right"],l=["right","left"],c=["top","bottom"],h=["bottom","top"];switch(n){case"top":case"bottom":return s?r?l:a:r?a:l;case"left":case"right":return r?c:h;default:return[]}}function db(n,r,s,a){const l=Vr(n);let c=cb(on(n),s==="start",a);return l&&(c=c.map(h=>h+"-"+l),r&&(c=c.concat(c.map(Mu)))),c}function Ni(n){return n.replace(/left|right|bottom|top/g,r=>ib[r])}function fb(n){return{top:0,right:0,bottom:0,left:0,...n}}function tg(n){return typeof n!="number"?fb(n):{top:n,right:n,bottom:n,left:n}}function Ri(n){const{x:r,y:s,width:a,height:l}=n;return{width:a,height:l,top:s,left:r,right:r+a,bottom:s+l,x:r,y:s}}function sh(n,r,s){let{reference:a,floating:l}=n;const c=_n(r),h=ac(r),p=ic(h),g=on(r),v=c==="y",x=a.x+a.width/2-l.width/2,w=a.y+a.height/2-l.height/2,S=a[p]/2-l[p]/2;let P;switch(g){case"top":P={x,y:a.y-l.height};break;case"bottom":P={x,y:a.y+a.height};break;case"right":P={x:a.x+a.width,y:w};break;case"left":P={x:a.x-l.width,y:w};break;default:P={x:a.x,y:a.y}}switch(Vr(r)){case"start":P[h]-=S*(s&&v?-1:1);break;case"end":P[h]+=S*(s&&v?-1:1);break}return P}const pb=async(n,r,s)=>{const{placement:a="bottom",strategy:l="absolute",middleware:c=[],platform:h}=s,p=c.filter(Boolean),g=await(h.isRTL==null?void 0:h.isRTL(r));let v=await h.getElementRects({reference:n,floating:r,strategy:l}),{x,y:w}=sh(v,a,g),S=a,P={},C=0;for(let b=0;b<p.length;b++){const{name:k,fn:j}=p[b],{x:M,y:I,data:L,reset:F}=await j({x,y:w,initialPlacement:a,placement:S,strategy:l,middlewareData:P,rects:v,platform:h,elements:{reference:n,floating:r}});x=M??x,w=I??w,P={...P,[k]:{...P[k],...L}},F&&C<=50&&(C++,typeof F=="object"&&(F.placement&&(S=F.placement),F.rects&&(v=F.rects===!0?await h.getElementRects({reference:n,floating:r,strategy:l}):F.rects),{x,y:w}=sh(v,S,g)),b=-1)}return{x,y:w,placement:S,strategy:l,middlewareData:P}};async function Uo(n,r){var s;r===void 0&&(r={});const{x:a,y:l,platform:c,rects:h,elements:p,strategy:g}=n,{boundary:v="clippingAncestors",rootBoundary:x="viewport",elementContext:w="floating",altBoundary:S=!1,padding:P=0}=rn(r,n),C=tg(P),k=p[S?w==="floating"?"reference":"floating":w],j=Ri(await c.getClippingRect
vendor: 6,357 bytes, line 9
9({element:(s=await(c.isElement==null?void 0:c.isElement(k)))==null||s?k:k.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:v,rootBoundary:x,strategy:g})),M=w==="floating"?{x:a,y:l,width:h.floating.width,height:h.floating.height}:h.reference,I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),L=await(c.isElement==null?void 0:c.isElement(I))?await(c.getScale==null?void 0:c.getScale(I))||{x:1,y:1}:{x:1,y:1},F=Ri(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:M,offsetParent:I,strategy:g}):M);return{top:(j.top-F.top+C.top)/L.y,bottom:(F.bottom-j.bottom+C.bottom)/L.y,left:(j.left-F.left+C.left)/L.x,right:(F.right-j.right+C.right)/L.x}}const hb=n=>({name:"arrow",options:n,async fn(r){const{x:s,y:a,placement:l,rects:c,platform:h,elements:p,middlewareData:g}=r,{element:v,padding:x=0}=rn(n,r)||{};if(v==null)return{};const w=tg(x),S={x:s,y:a},P=ac(l),C=ic(P),b=await h.getDimensions(v),k=P==="y",j=k?"top":"left",M=k?"bottom":"right",I=k?"clientHeight":"clientWidth",L=c.reference[C]+c.reference[P]-S[P]-c.floating[C],F=S[P]-c.reference[P],U=await(h.getOffsetParent==null?void 0:h.getOffsetParent(v));let $=U?U[I]:0;(!$||!await(h.isElement==null?void 0:h.isElement(U)))&&($=p.floating[I]||c.floating[C]);const Z=L/2-F/2,ie=$/2-b[C]/2-1,le=Tn(w[j],ie),ge=Tn(w[M],ie),oe=le,ve=$-b[C]-ge,Y=$/2-b[C]/2+Z,ye=Au(oe,Y,ve),ce=!g.arrow&&Vr(l)!=null&&Y!==ye&&c.reference[C]/2-(Y<oe?le:ge)-b[C]/2<0,ue=ce?Y<oe?Y-oe:Y-ve:0;return{[P]:S[P]+ue,data:{[P]:ye,centerOffset:Y-ye-ue,...ce&&{alignmentOffset:ue}},reset:ce}}}),mb=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(r){var s,a;const{placement:l,middlewareData:c,rects:h,initialPlacement:p,platform:g,elements:v}=r,{mainAxis:x=!0,crossAxis:w=!0,fallbackPlacements:S,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:b=!0,...k}=rn(n,r);if((s=c.arrow)!=null&&s.alignmentOffset)return{};const j=on(l),M=_n(p),I=on(p)===p,L=await(g.isRTL==null?void 0:g.isRTL(v.floating)),F=S||(I||!b?[Ni(p)]:ub(p)),U=C!=="none";!S&&U&&F.push(...db(p,b,C,L));const $=[p,...F],Z=await Uo(r,k),ie=[];let le=((a=c.flip)==null?void 0:a.overflows)||[];if(x&&ie.push(Z[j]),w){const Y=lb(l,h,L);ie.push(Z[Y[0]],Z[Y[1]])}if(le=[...le,{placement:l,overflows:ie}],!ie.every(Y=>Y<=0)){var ge,oe;const Y=(((ge=c.flip)==null?void 0:ge.index)||0)+1,ye=$[Y];if(ye)return{data:{index:Y,overflows:le},reset:{placement:ye}};let ce=(oe=le.filter(ue=>ue.overflows[0]<=0).sort((ue,z)=>ue.overflows[1]-z.overflows[1])[0])==null?void 0:oe.placement;if(!ce)switch(P){case"bestFit":{var ve;const ue=(ve=le.filter(z=>{if(U){const q=_n(z.placement);return q===M||q==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(q=>q>0).reduce((q,G)=>q+G,0)]).sort((z,q)=>z[1]-q[1])[0])==null?void 0:ve[0];ue&&(ce=ue);break}case"initialPlacement":ce=p;break}if(l!==ce)return{reset:{placement:ce}}}return{}}}};function ih(n,r){return{top:n.top-r.height,right:n.right-r.width,bottom:n.bottom-r.height,left:n.left-r.width}}function ah(n){return sb.some(r=>n[r]>=0)}const gb=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(r){const{rects:s}=r,{strategy:a="referenceHidden",...l}=rn(n,r);switch(a){case"referenceHidden":{const c=await Uo(r,{...l,elementContext:"reference"}),h=ih(c,s.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:ah(h)}}}case"escaped":{const c=await Uo(r,{...l,altBoundary:!0}),h=ih(c,s.floating);return{data:{escapedOffsets:h,escaped:ah(h)}}}default:return{}}}}};async function vb(n,r){const{placement:s,platform:a,elements:l}=n,c=await(a.isRTL==null?void 0:a.isRTL(l.floating)),h=on(s),p=Vr(s),g=_n(s)==="y",v=["left","top"].includes(h)?-1:1,x=c&&g?-1:1,w=rn(r,n);let{mainAxis:S,crossAxis:P,alignmentAxis:C}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:w.mainAxis||0,crossAxis:w.crossAxis||0,alignmentAxis:w.alignmentAxis};return p&&typeof C=="number"&&(P=p==="end"?C*-1:C),g?{x:P*x,y:S*v}:{x:S*v,y:P*x}}const yb=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(r){var s,a;const{x:l,y:c,placement:h,middlewareData:p}=r,g=await vb(r,n);return h===((s=p.offset)==null?void 0:s.placement)&&(a=p.arrow)!=null&&a.alignmentOffset?{}:{x:l+g.x,y:c+g.y,data:{...g,placement:h}}}}},xb=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(r){const{x:s,y:a,placement:l}=r,{mainAxis:c=!0,crossAxis:h=!1,limiter:p={fn:k=>{let{x:j,y:M}=k;return{x:j,y:M}}},...g}=rn(n,r),v={x:s,y:a},x=await Uo(r,g),w=_n(on(l)),S=sc(w);let P=v[S],C=v[w];if(c){const k=S==="y"?"top":"left",j=S==="y"?"bottom":"right",M=P+x[k],I=P-x[j];P=Au(M,P,I)}if(h){const k=w==="y"?"top":"left",j=w==="y"?"bottom":"right",M=C+x[k],I=C-x[j];C=Au(M,C,I)}const b=p.fn({...r,[S]:P,[w]:C});return{...b,data:{x:b.x-s,y:b.y-a,enabled:{[S]:c,[w]:h}}}}}},wb=function(n){return n===void 0&&(n={}),{options:n,fn(r){const{x:s,y:a,placement:l,rects:c,middlewareData:h}=r,{offset:p=0,mainAxis:g=!0,crossAxis:v=!0}=rn(n,r),x={x:s,y:a},w=_n(l),S=sc(w);let P=x[S],C=x[w];const b=rn(p,r),k=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(g){const I=S==="y"?"height":"width",L=c.reference[S]-c.floating[I]+k.mainAxis,F=c.reference[S]+c.reference[I]-k.mainAxis;P<L?P=L:P>F&&(P=F)}if(v){var j,M;const I=S==="y"?"width":"height",L=["top","left"].includes(on(l)),F=c.reference[w]-c.floating[I]+(L&&((j=h.offset)==null?void 0:j[w])||0)+(L?0:k.crossAxis),U=c.reference[w]+c.reference[I]+(L?0:((M=h.offset)==null?void 0:M[w])||0)-(L?k.crossAxis:0);C<F?C=F:C>U&&(C=U)}return{[S]:P,[w]:C}}}},bb=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(r){var s,a;const{placement:l,rects:c,platform:h,elements:p}=r,{apply:g=()=>{},...v}=rn(n,r),x=await Uo(r,v),w=on(l),S=Vr(l),P=_n(l)==="y",{width:C,height:b}=c.floating;let k,j;w==="top"||w==="bottom"?(k=w,j=S===(await(h.isRTL==null?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(j=w,k=S==="end"?"top":"bottom");const M=b-x.top-x.bottom,I=C-x.left-x.right,L=Tn(b-x[k],M),F=Tn(C-x[j],I),U=!r.middlewareData.shift;let $=L,Z=F;if((s=r.middlewareData.shift)!=null&&s.enabled.x&&(Z=I),(a=r.middlewareData.shift)!=null&&a.enabled.y&&($=M),U&&!S){const le=ht(x.left,0),ge=ht(x.right,0),oe=ht(x.top,0),ve=ht(x.bottom,0);
vendor: 9,845 bytes, line 9
9P?Z=C-2*(le!==0||ge!==0?le+ge:ht(x.left,x.right)):$=b-2*(oe!==0||ve!==0?oe+ve:ht(x.top,x.bottom))}await g({...r,availableWidth:Z,availableHeight:$});const ie=await h.getDimensions(p.floating);return C!==ie.width||b!==ie.height?{reset:{rects:!0}}:{}}}};function Fi(){return typeof window<"u"}function Br(n){return ng(n)?(n.nodeName||"").toLowerCase():"#document"}function mt(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function Qt(n){var r;return(r=(ng(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function ng(n){return Fi()?n instanceof Node||n instanceof mt(n).Node:!1}function At(n){return Fi()?n instanceof Element||n instanceof mt(n).Element:!1}function Ht(n){return Fi()?n instanceof HTMLElement||n instanceof mt(n).HTMLElement:!1}function lh(n){return!Fi()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof mt(n).ShadowRoot}function qo(n){const{overflow:r,overflowX:s,overflowY:a,display:l}=Mt(n);return/auto|scroll|overlay|hidden|clip/.test(r+a+s)&&!["inline","contents"].includes(l)}function Sb(n){return["table","td","th"].includes(Br(n))}function $i(n){return[":popover-open",":modal"].some(r=>{try{return n.matches(r)}catch{return!1}})}function lc(n){const r=uc(),s=At(n)?Mt(n):n;return["transform","translate","scale","rotate","perspective"].some(a=>s[a]?s[a]!=="none":!1)||(s.containerType?s.containerType!=="normal":!1)||!r&&(s.backdropFilter?s.backdropFilter!=="none":!1)||!r&&(s.filter?s.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(a=>(s.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(s.contain||"").includes(a))}function Eb(n){let r=jn(n);for(;Ht(r)&&!Lr(r);){if(lc(r))return r;if($i(r))return null;r=jn(r)}return null}function uc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lr(n){return["html","body","#document"].includes(Br(n))}function Mt(n){return mt(n).getComputedStyle(n)}function Ui(n){return At(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function jn(n){if(Br(n)==="html")return n;const r=n.assignedSlot||n.parentNode||lh(n)&&n.host||Qt(n);return lh(r)?r.host:r}function rg(n){const r=jn(n);return Lr(r)?n.ownerDocument?n.ownerDocument.body:n.body:Ht(r)&&qo(r)?r:rg(r)}function Vo(n,r,s){var a;r===void 0&&(r=[]),s===void 0&&(s=!0);const l=rg(n),c=l===((a=n.ownerDocument)==null?void 0:a.body),h=mt(l);if(c){const p=Du(h);return r.concat(h,h.visualViewport||[],qo(l)?l:[],p&&s?Vo(p):[])}return r.concat(l,Vo(l,[],s))}function Du(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function og(n){const r=Mt(n);let s=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const l=Ht(n),c=l?n.offsetWidth:s,h=l?n.offsetHeight:a,p=Pi(s)!==c||Pi(a)!==h;return p&&(s=c,a=h),{width:s,height:a,$:p}}function cc(n){return At(n)?n:n.contextElement}function Dr(n){const r=cc(n);if(!Ht(r))return Bt(1);const s=r.getBoundingClientRect(),{width:a,height:l,$:c}=og(r);let h=(c?Pi(s.width):s.width)/a,p=(c?Pi(s.height):s.height)/l;return(!h||!Number.isFinite(h))&&(h=1),(!p||!Number.isFinite(p))&&(p=1),{x:h,y:p}}const kb=Bt(0);function sg(n){const r=mt(n);return!uc()||!r.visualViewport?kb:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Cb(n,r,s){return r===void 0&&(r=!1),!s||r&&s!==mt(n)?!1:r}function Yn(n,r,s,a){r===void 0&&(r=!1),s===void 0&&(s=!1);const l=n.getBoundingClientRect(),c=cc(n);let h=Bt(1);r&&(a?At(a)&&(h=Dr(a)):h=Dr(n));const p=Cb(c,s,a)?sg(c):Bt(0);let g=(l.left+p.x)/h.x,v=(l.top+p.y)/h.y,x=l.width/h.x,w=l.height/h.y;if(c){const S=mt(c),P=a&&At(a)?mt(a):a;let C=S,b=Du(C);for(;b&&a&&P!==C;){const k=Dr(b),j=b.getBoundingClientRect(),M=Mt(b),I=j.left+(b.clientLeft+parseFloat(M.paddingLeft))*k.x,L=j.top+(b.clientTop+parseFloat(M.paddingTop))*k.y;g*=k.x,v*=k.y,x*=k.x,w*=k.y,g+=I,v+=L,C=mt(b),b=Du(C)}}return Ri({width:x,height:w,x:g,y:v})}function dc(n,r){const s=Ui(n).scrollLeft;return r?r.left+s:Yn(Qt(n)).left+s}function ig(n,r,s){s===void 0&&(s=!1);const a=n.getBoundingClientRect(),l=a.left+r.scrollLeft-(s?0:dc(n,a)),c=a.top+r.scrollTop;return{x:l,y:c}}function Pb(n){let{elements:r,rect:s,offsetParent:a,strategy:l}=n;const c=l==="fixed",h=Qt(a),p=r?$i(r.floating):!1;if(a===h||p&&c)return s;let g={scrollLeft:0,scrollTop:0},v=Bt(1);const x=Bt(0),w=Ht(a);if((w||!w&&!c)&&((Br(a)!=="body"||qo(h))&&(g=Ui(a)),Ht(a))){const P=Yn(a);v=Dr(a),x.x=P.x+a.clientLeft,x.y=P.y+a.clientTop}const S=h&&!w&&!c?ig(h,g,!0):Bt(0);return{width:s.width*v.x,height:s.height*v.y,x:s.x*v.x-g.scrollLeft*v.x+x.x+S.x,y:s.y*v.y-g.scrollTop*v.y+x.y+S.y}}function Nb(n){return Array.from(n.getClientRects())}function Rb(n){const r=Qt(n),s=Ui(n),a=n.ownerDocument.body,l=ht(r.scrollWidth,r.clientWidth,a.scrollWidth,a.clientWidth),c=ht(r.scrollHeight,r.clientHeight,a.scrollHeight,a.clientHeight);let h=-s.scrollLeft+dc(n);const p=-s.scrollTop;return Mt(a).direction==="rtl"&&(h+=ht(r.clientWidth,a.clientWidth)-l),{width:l,height:c,x:h,y:p}}function Tb(n,r){const s=mt(n),a=Qt(n),l=s.visualViewport;let c=a.clientWidth,h=a.clientHeight,p=0,g=0;if(l){c=l.width,h=l.height;const v=uc();(!v||v&&r==="fixed")&&(p=l.offsetLeft,g=l.offsetTop)}return{width:c,height:h,x:p,y:g}}function _b(n,r){const s=Yn(n,!0,r==="fixed"),a=s.top+n.clientTop,l=s.left+n.clientLeft,c=Ht(n)?Dr(n):Bt(1),h=n.clientWidth*c.x,p=n.clientHeight*c.y,g=l*c.x,v=a*c.y;return{width:h,height:p,x:g,y:v}}function uh(n,r,s){let a;if(r==="viewport")a=Tb(n,s);else if(r==="document")a=Rb(Qt(n));else if(At(r))a=_b(r,s);else{const l=sg(n);a={x:r.x-l.x,y:r.y-l.y,width:r.width,height:r.height}}return Ri(a)}function ag(n,r){const s=jn(n);return s===r||!At(s)||Lr(s)?!1:Mt(s).position==="fixed"||ag(s,r)}function jb(n,r){const s=r.get(n);if(s)return s;let a=Vo(n,[],!1).filter(p=>At(p)&&Br(p)!=="body"),l=null;const c=Mt(n).position==="fixed";let h=c?jn(n):n;for(;At(h)&&!Lr(h);){const p=Mt(h),g=lc(h);!g&&p.position==="fixed"&&(l=null),(c?!g&&!l:!g&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||qo(h)&&!g&&ag(n,h))?a=a.filter(x=>x!==h):l=p,h=jn(h)}return r.set(n,a),a}function Ob(n){let{element:r,boundary:s,rootBoundary:a,strategy:l}=n;const h=[...s==="clippingAncestors"?$i(r)?[]:jb(r,this._c):[].concat(s),a],p=h[0],g=h.reduce((v,x)=>{const w=uh(r,x,l);return v.top=ht(w.top,v.top),v.right=Tn(w.right,v.right),v.bottom=Tn(w.bottom,v.bottom),v.left=ht(w.left,v.left),v},uh(r,p,l));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}}function Ab(n){const{width:r,height:s}=og(n);return{width:r,height:s}}function Mb(n,r,s){const a=Ht(r),l=Qt(r),c=s==="fixed",h=Yn(n,!0,c,r);let p={scrollLeft:0,scrollTop:0};const g=Bt(0);if(a||!a&&!c)if((Br(r)!=="body"||qo(l))&&(p=Ui(r)),a){const S=Yn(r,!0,c,r);g.x=S.x+r.clientLeft,g.y=S.y+r.clientTop}else l&&(g.x=dc(l));const v=l&&!a&&!c?ig(l,p):Bt(0),x=h.left+p.scrollLeft-g.x-v.x,w=h.top+p.scrollTop-g.y-v.y;return{x,y:w,width:h.width,height:h.height}}function ru(n){return Mt(n).position==="static"}function ch(n,r){if(!Ht(n)||Mt(n).position==="fixed")return null;if(r)return r(n);let s=n.offsetParent;return Qt(n)===s&&(s=s.ownerDocument.body),s}function lg(n,r){const s=mt(n);if($i(n))return s;if(!Ht(n)){let l=jn(n);for(;l&&!Lr(l);){if(At(l)&&!ru(l))return l;l=jn(l)}return s}let a=ch(n,r);for(;a&&Sb(a)&&ru(a);)a=ch(a,r);return a&&Lr(a)&&ru(a)&&!lc(a)?s:a||Eb(n)||s}const Db=async function(n){const r=this.getOffsetParent||lg,s=this.getDimensions,a=await s(n.floating);return{reference:Mb(n.reference,await r(n.floating),n.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function Ib(n){return Mt(n).direction==="rtl"}const Lb={convertOffsetParentRelativeRectToViewportRelativeRect:Pb,getDocumentElement:Qt,getClippingRect:Ob,getOffsetParent:lg,getElementRects:Db,getClientRects:Nb,getDimensions:Ab,getScale:Dr,isElement:At,isRTL:Ib};function ug(n,r){return n.x===r.x&&n.y===r.y&&n.width===r.width&&n.height===r.height}function zb(n,r){let s=null,a;const l=Qt(n);function c(){var p;clearTimeout(a),(p=s)==null||p.disconnect(),s=null}function h(p,g){p===void 0&&(p=!1),g===void 0&&(g=1),c();const v=n.getBoundingClientRect(),{left:x,top:w,width:S,height:P}=v;if(p||r(),!S||!P)return;const C=fi(w),b=fi(l.clientWidth-(x+S)),k=fi(l.clientHeight-(w+P)),j=fi(x),I={rootMargin:-C+"px "+-b+"px "+-k+"px "+-j+"px",threshold:ht(0,Tn(1,g))||1};let L=!0;function F(U){const $=U[0].intersectionRatio;if($!==g){if(!L)return h();$?h(!1,$):a=setTimeout(()=>{h(!1,1e-7)},1e3)}$===1&&!ug(v,n.getBoundingClientRect())&&h(),L=!1}try{s=new IntersectionObserver(F,{...I,root:l.ownerDocument})}catch{s=new IntersectionObserver(F,I)}s.observe(n)}return h(!0),c}function Fb(n,r,s,a){a===void 0&&(a={});const{ancestorScroll:l=!0,ancestorResize:c=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:g=!1}=a,v=cc(n),x=l||c?[...v?Vo(v):[],...Vo(r)]:[];x.forEach(j=>{l&&j.addEventListener("scroll",s,{passive:!0}),c&&j.addEventListener("resize",s)});const w=v&&p?zb(v,s):null;let S=-1,P=null;h&&(P=new ResizeObserver(j=>{let[M]=j;M&&M.target===v&&P&&(P.unobserve(r),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var I;(I=P)==null||I.observe(r)})),s()}),v&&!g&&P.observe(v),P.observe(r));let C,b=g?Yn(n):null;g&&k();function k(){const j=Yn(n);b&&!ug(b,j)&&s(),b=j,C=requestAnimationFrame(k)}return s(),()=>{var j;x.forEach(M=>{l&&M.removeEventListener("scroll",s),c&&M.removeEventListener("resize",s)}),w?.(),(j=P)==null||j.disconnect(),P=null,g&&cancelAnimationFrame(C)}}const $b=yb,Ub=xb,Vb=mb,Bb=bb,Hb=gb,dh=hb,Wb=wb,Qb=(n,r,s)=>{const a=new Map,l={platform:Lb,...s},c={...l.platform,_c:a};return pb(n,r,{...l,platform:c})};var wi=typeof document<"u"?m.useLayoutEffect:m.useEffect;function Ti(n,r){if(n===r)return!0;
vendor: 4,929 bytes, line 9
9if(typeof n!=typeof r)return!1;if(typeof n=="function"&&n.toString()===r.toString())return!0;let s,a,l;if(n&&r&&typeof n=="object"){if(Array.isArray(n)){if(s=n.length,s!==r.length)return!1;for(a=s;a--!==0;)if(!Ti(n[a],r[a]))return!1;return!0}if(l=Object.keys(n),s=l.length,s!==Object.keys(r).length)return!1;for(a=s;a--!==0;)if(!{}.hasOwnProperty.call(r,l[a]))return!1;for(a=s;a--!==0;){const c=l[a];if(!(c==="_owner"&&n.$$typeof)&&!Ti(n[c],r[c]))return!1}return!0}return n!==n&&r!==r}function cg(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function fh(n,r){const s=cg(n);return Math.round(r*s)/s}function ou(n){const r=m.useRef(n);return wi(()=>{r.current=n}),r}function Kb(n){n===void 0&&(n={});const{placement:r="bottom",strategy:s="absolute",middleware:a=[],platform:l,elements:{reference:c,floating:h}={},transform:p=!0,whileElementsMounted:g,open:v}=n,[x,w]=m.useState({x:0,y:0,strategy:s,placement:r,middlewareData:{},isPositioned:!1}),[S,P]=m.useState(a);Ti(S,a)||P(a);const[C,b]=m.useState(null),[k,j]=m.useState(null),M=m.useCallback(z=>{z!==U.current&&(U.current=z,b(z))},[]),I=m.useCallback(z=>{z!==$.current&&($.current=z,j(z))},[]),L=c||C,F=h||k,U=m.useRef(null),$=m.useRef(null),Z=m.useRef(x),ie=g!=null,le=ou(g),ge=ou(l),oe=ou(v),ve=m.useCallback(()=>{if(!U.current||!$.current)return;const z={placement:r,strategy:s,middleware:S};ge.current&&(z.platform=ge.current),Qb(U.current,$.current,z).then(q=>{const G={...q,isPositioned:oe.current!==!1};Y.current&&!Ti(Z.current,G)&&(Z.current=G,Ai.flushSync(()=>{w(G)}))})},[S,r,s,ge,oe]);wi(()=>{v===!1&&Z.current.isPositioned&&(Z.current.isPositioned=!1,w(z=>({...z,isPositioned:!1})))},[v]);const Y=m.useRef(!1);wi(()=>(Y.current=!0,()=>{Y.current=!1}),[]),wi(()=>{if(L&&(U.current=L),F&&($.current=F),L&&F){if(le.current)return le.current(L,F,ve);ve()}},[L,F,ve,le,ie]);const ye=m.useMemo(()=>({reference:U,floating:$,setReference:M,setFloating:I}),[M,I]),ce=m.useMemo(()=>({reference:L,floating:F}),[L,F]),ue=m.useMemo(()=>{const z={position:s,left:0,top:0};if(!ce.floating)return z;const q=fh(ce.floating,x.x),G=fh(ce.floating,x.y);return p?{...z,transform:"translate("+q+"px, "+G+"px)",...cg(ce.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:q,top:G}},[s,p,ce.floating,x.x,x.y]);return m.useMemo(()=>({...x,update:ve,refs:ye,elements:ce,floatingStyles:ue}),[x,ve,ye,ce,ue])}const Gb=n=>{function r(s){return{}.hasOwnProperty.call(s,"current")}return{name:"arrow",options:n,fn(s){const{element:a,padding:l}=typeof n=="function"?n(s):n;return a&&r(a)?a.current!=null?dh({element:a.current,padding:l}).fn(s):{}:a?dh({element:a,padding:l}).fn(s):{}}}},qb=(n,r)=>({...$b(n),options:[n,r]}),Yb=(n,r)=>({...Ub(n),options:[n,r]}),Xb=(n,r)=>({...Wb(n),options:[n,r]}),Zb=(n,r)=>({...Vb(n),options:[n,r]}),Jb=(n,r)=>({...Bb(n),options:[n,r]}),eS=(n,r)=>({...Hb(n),options:[n,r]}),tS=(n,r)=>({...Gb(n),options:[n,r]});var nS="Arrow",dg=m.forwardRef((n,r)=>{const{children:s,width:a=10,height:l=5,...c}=n;return f.jsx(Re.svg,{...c,ref:r,width:a,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?s:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});dg.displayName=nS;var rS=dg;function oS(n){const[r,s]=m.useState(void 0);return Rn(()=>{if(n){s({width:n.offsetWidth,height:n.offsetHeight});const a=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const c=l[0];let h,p;if("borderBoxSize"in c){const g=c.borderBoxSize,v=Array.isArray(g)?g[0]:g;h=v.inlineSize,p=v.blockSize}else h=n.offsetWidth,p=n.offsetHeight;s({width:h,height:p})});return a.observe(n,{box:"border-box"}),()=>a.unobserve(n)}else s(void 0)},[n]),r}var fc="Popper",[fg,pg]=Qo(fc),[sS,hg]=fg(fc),mg=n=>{const{__scopePopper:r,children:s}=n,[a,l]=m.useState(null);return f.jsx(sS,{scope:r,anchor:a,onAnchorChange:l,children:s})};mg.displayName=fc;var gg="PopperAnchor",vg=m.forwardRef((n,r)=>{const{__scopePopper:s,virtualRef:a,...l}=n,c=hg(gg,s),h=m.useRef(null),p=nt(r,h);return m.useEffect(()=>{c.onAnchorChange(a?.current||h.current)}),a?null:f.jsx(Re.div,{...l,ref:p})});vg.displayName=gg;var pc="PopperContent",[iS,aS]=fg(pc),yg=m.forwardRef((n,r)=>{const{__scopePopper:s,side:a="bottom",sideOffset:l=0,align:c="center",alignOffset:h=0,arrowPadding:p=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:w="partial",hideWhenDetached:S=!1,updatePositionStrategy:P="optimized",onPlaced:C,...b}=n,k=hg(pc,s),[j,M]=m.useState(null),I=nt(r,ae=>M(ae)),[L,F]=m.useState(null),U=oS(L),$=U?.width??0,Z=U?.height??0,ie=a+(c!=="center"?"-"+c:""),le=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ge=Array.isArray(v)?v:[v],oe=ge.length>0,ve={padding:le,boundary:ge.filter(uS),altBoundary:oe},{refs:Y,floatingStyles:ye,placement:ce,isPositioned:ue,middlewareData:z}=Kb({strategy:"fixed",placement:ie,whileElementsMounted:(...ae)=>Fb(...ae,{animationFrame:P==="always"}),elements:{reference:k.anchor}
vendor: 7,561 bytes, line 9
9,middleware:[qb({mainAxis:l+Z,alignmentAxis:h}),g&&Yb({mainAxis:!0,crossAxis:!1,limiter:w==="partial"?Xb():void 0,...ve}),g&&Zb({...ve}),Jb({...ve,apply:({elements:ae,rects:he,availableWidth:xe,availableHeight:$e})=>{const{width:er,height:Jo}=he.reference,Kt=ae.floating.style;Kt.setProperty("--radix-popper-available-width",`${xe}px`),Kt.setProperty("--radix-popper-available-height",`${$e}px`),Kt.setProperty("--radix-popper-anchor-width",`${er}px`),Kt.setProperty("--radix-popper-anchor-height",`${Jo}px`)}}),L&&tS({element:L,padding:p}),cS({arrowWidth:$,arrowHeight:Z}),S&&eS({strategy:"referenceHidden",...ve})]}),[q,G]=bg(ce),_=kt(C);Rn(()=>{ue&&_?.()},[ue,_]);const R=z.arrow?.x,Q=z.arrow?.y,X=z.arrow?.centerOffset!==0,[K,ne]=m.useState();return Rn(()=>{j&&ne(window.getComputedStyle(j).zIndex)},[j]),f.jsx("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...ye,transform:ue?ye.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:f.jsx(iS,{scope:s,placedSide:q,onArrowChange:F,arrowX:R,arrowY:Q,shouldHideArrow:X,children:f.jsx(Re.div,{"data-side":q,"data-align":G,...b,ref:I,style:{...b.style,animation:ue?void 0:"none"}})})})});yg.displayName=pc;var xg="PopperArrow",lS={top:"bottom",right:"left",bottom:"top",left:"right"},wg=m.forwardRef(function(r,s){const{__scopePopper:a,...l}=r,c=aS(xg,a),h=lS[c.placedSide];return f.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[h]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:f.jsx(rS,{...l,ref:s,style:{...l.style,display:"block"}})})});wg.displayName=xg;function uS(n){return n!==null}var cS=n=>({name:"transformOrigin",options:n,fn(r){const{placement:s,rects:a,middlewareData:l}=r,h=l.arrow?.centerOffset!==0,p=h?0:n.arrowWidth,g=h?0:n.arrowHeight,[v,x]=bg(s),w={start:"0%",center:"50%",end:"100%"}[x],S=(l.arrow?.x??0)+p/2,P=(l.arrow?.y??0)+g/2;let C="",b="";return v==="bottom"?(C=h?w:`${S}px`,b=`${-g}px`):v==="top"?(C=h?w:`${S}px`,b=`${a.floating.height+g}px`):v==="right"?(C=`${-g}px`,b=h?w:`${P}px`):v==="left"&&(C=`${a.floating.width+g}px`,b=h?w:`${P}px`),{data:{x:C,y:b}}}});function bg(n){const[r,s="center"]=n.split("-");return[r,s]}var dS=mg,fS=vg,pS=yg,hS=wg,[Vi]=Qo("Tooltip",[pg]),Bi=pg(),Sg="TooltipProvider",mS=700,Iu="tooltip.open",[gS,hc]=Vi(Sg),Eg=n=>{const{__scopeTooltip:r,delayDuration:s=mS,skipDelayDuration:a=300,disableHoverableContent:l=!1,children:c}=n,h=m.useRef(!0),p=m.useRef(!1),g=m.useRef(0);return m.useEffect(()=>{const v=g.current;return()=>window.clearTimeout(v)},[]),f.jsx(gS,{scope:r,isOpenDelayedRef:h,delayDuration:s,onOpen:m.useCallback(()=>{window.clearTimeout(g.current),h.current=!1},[]),onClose:m.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>h.current=!0,a)},[a]),isPointerInTransitRef:p,onPointerInTransitChange:m.useCallback(v=>{p.current=v},[]),disableHoverableContent:l,children:c})};Eg.displayName=Sg;var Hi="Tooltip",[vS,Wi]=Vi(Hi),kg=n=>{const{__scopeTooltip:r,children:s,open:a,defaultOpen:l=!1,onOpenChange:c,disableHoverableContent:h,delayDuration:p}=n,g=hc(Hi,n.__scopeTooltip),v=Bi(r),[x,w]=m.useState(null),S=Vt(),P=m.useRef(0),C=h??g.disableHoverableContent,b=p??g.delayDuration,k=m.useRef(!1),[j=!1,M]=Xu({prop:a,defaultProp:l,onChange:$=>{$?(g.onOpen(),document.dispatchEvent(new CustomEvent(Iu))):g.onClose(),c?.($)}}),I=m.useMemo(()=>j?k.current?"delayed-open":"instant-open":"closed",[j]),L=m.useCallback(()=>{window.clearTimeout(P.current),P.current=0,k.current=!1,M(!0)},[M]),F=m.useCallback(()=>{window.clearTimeout(P.current),P.current=0,M(!1)},[M]),U=m.useCallback(()=>{window.clearTimeout(P.current),P.current=window.setTimeout(()=>{k.current=!0,M(!0),P.current=0},b)},[b,M]);return m.useEffect(()=>()=>{P.current&&(window.clearTimeout(P.current),P.current=0)},[]),f.jsx(dS,{...v,children:f.jsx(vS,{scope:r,contentId:S,open:j,stateAttribute:I,trigger:x,onTriggerChange:w,onTriggerEnter:m.useCallback(()=>{g.isOpenDelayedRef.current?U():L()},[g.isOpenDelayedRef,U,L]),onTriggerLeave:m.useCallback(()=>{C?F():(window.clearTimeout(P.current),P.current=0)},[F,C]),onOpen:L,onClose:F,disableHoverableContent:C,children:s})})};kg.displayName=Hi;var Lu="TooltipTrigger",Cg=m.forwardRef((n,r)=>{const{__scopeTooltip:s,...a}=n,l=Wi(Lu,s),c=hc(Lu,s),h=Bi(s),p=m.useRef(null),g=nt(r,p,l.onTriggerChange),v=m.useRef(!1),x=m.useRef(!1),w=m.useCallback(()=>v.current=!1,[]);return m.useEffect(()=>()=>document.removeEventListener("pointerup",w),[w]),f.jsx(fS,{asChild:!0,...h,children:f.jsx(Re.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...a,ref:g,onPointerMove:Me(n.onPointerMove,S=>{S.pointerType!=="touch"&&!x.current&&!c.isPointerInTransitRef.current&&(l.onTriggerEnter(),x.current=!0)}),onPointerLeave:Me(n.onPointerLeave,()=>{l.onTriggerLeave(),x.current=!1}),onPointerDown:Me(n.onPointerDown,()=>{l.open&&l.onClose(),v.current=!0,document.addEventListener("pointerup",w,{once:!0})}),onFocus:Me(n.onFocus,()=>{v.current||l.onOpen()}),onBlur:Me(n.onBlur,l.onClose),onClick:Me(n.onClick,l.onClose)})})});Cg.displayName=Lu;var yS="TooltipPortal",[S2,xS]=Vi(yS,{forceMount:void 0}),zr="TooltipContent",Pg=m.forwardRef((n,r)=>{const s=xS(zr,n.__scopeTooltip),{forceMount:a=s.forceMount,side:l="top",...c}=n,h=Wi(zr,n.__scopeTooltip);return f.jsx($r,{present:a||h.open,children:h.disableHoverableContent?f.jsx(Ng,{side:l,...c,ref:r}):f.jsx(wS,{side:l,...c,ref:r})})}),wS=m.forwardRef((n,r)=>{const s=Wi(zr,n.__scopeTooltip),a=hc(zr,n.__scopeTooltip),l=m.useRef(null),c=nt(r,l),[h,p]=m.useState(null),{trigger:g,onClose:v}=s,x=l.current,{onPointerInTransitChange:w}=a,S=m.useCallback(()=>{p(null),w(!1)},[w]),P=m.useCallback((C,b)=>{const k=C.currentTarget,j={x:C.clientX,y:C.clientY},M=CS(j,k.getBoundingClientRect()),I=PS(j,M),L=NS(b.getBoundingClientRect()),F=TS([...I,...L]);p(F),w(!0)},[w]);return m.useEffect(()=>()=>S(),[S]),m.useEffect(()=>{if(g&&x){const C=k=>P(k,x),b=k=>P(k,g);return g.addEventListener("pointerleave",C),x.addEventListener("pointerleave",b),()=>{g.removeEventListener("pointerleave",C),x.removeEventListener("pointerleave",b)}}},[g,x,P,S]),m.useEffect(()=>{if(h){const C=b=>{const k=b.target,j={x:b.clientX,y:b.clientY},M=g?.contains(k)||x?.contains(k),I=!RS(j,h);M?S():I&&(S(),v())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[g,x,h,v,S]),f.jsx(Ng,{...n,ref:c})}),[bS,SS]=Vi(Hi,{isInside:!1}),ES=dw("TooltipContent"),Ng=m.forwardRef((n,r)=>{const{__scopeTooltip:s,children:a,"aria-label":l,onEscapeKeyDown:c,onPointerDownOutside:h,...p}=n,g=Wi(zr,s),v=Bi(s),{onClose:x}=g;return m.useEffect(()=>(document.addEventListener(Iu,x),()=>document.removeEventListener(Iu,x)),[x]),m.useEffect(()=>{if(g.trigger){const w=S=>{S.target?.contains(g.trigger)&&x()};return window.addEventListener("scroll",w,{capture:!0}),()=>window.removeEventListener("scroll",w,{capture:!0})}},[g.trigger,x]),f.jsx(Mi,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:w=>w.preventDefault(),onDismiss:x,children:f.jsxs(pS,{"data-state":g.
9stateAttribute,...v,...p,ref:r,style:{...p.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:[f.jsx(ES,{children:a}),f.jsx(bS,{scope:s,isInside:!0,children:f.jsx(Ow,{id:g.contentId,role:"tooltip",children:l||a})})]})})});Pg.displayName=zr;var Rg="TooltipArrow",kS=m.forwardRef((n,r)=>{const{__scopeTooltip:s,...a}=n,l=Bi(s);return SS(Rg,s).isInside?null:f.jsx(hS,{...l,...a,ref:r})});kS.displayName=Rg;function CS(n,r){const s=Math.abs(r.top-n.y),a=Math.abs(r.bottom-n.y),l=Math.abs(r.right-n.x),c=Math.abs(r.left-n.x);switch(Math.min(s,a,l,c)){case c:return"left";case l:return"right";case s:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function PS(n,r,s=5){const a=[];switch(r){case"top":a.push({x:n.x-s,y:n.y+s},{x:n.x+s,y:n.y+s});break;case"bottom":a.push({x:n.x-s,y:n.y-s},{x:n.x+s,y:n.y-s});break;case"left":a.push({x:n.x+s,y:n.y-s},{x:n.x+s,y:n.y+s});break;case"right":a.push({x:n.x-s,y:n.y-s},{x:n.x-s,y:n.y+s});break}return a}function NS(n){const{top:r,right:s,bottom:a,left:l}=n;return[{x:l,y:r},{x:s,y:r},{x:s,y:a},{x:l,y:a}]}function RS(n,r){const{x:s,y:a}=n;let l=!1;for(let c=0,h=r.length-1;c<r.length;h=c++){const p=r[c].x,g=r[c].y,v=r[h].x,x=r[h].y;g>a!=x>a&&s<(v-p)*(a-g)/(x-g)+p&&(l=!l)}return l}function TS(n){const r=n.slice();return r.sort((s,a)=>s.x<a.x?-1:s.x>a.x?1:s.y<a.y?-1:s.y>a.y?1:0),_S(r)}function _S(n){if(n.length<=1)return n.slice();const r=[];for(let a=0;a<n.length;a++){const l=n[a];for(;r.length>=2;){const c=r[r.length-1],h=r[r.length-2];if((c.x-h.x)*(l.y-h.y)>=(c.y-h.y)*(l.x-h.x))r.pop();else break}r.push(l)}r.pop();const s=[];for(let a=n.length-1;a>=0;a--){const l=n[a];for(;s.length>=2;){const c=s[s.length-1],h=s[s.length-2];if((c.x-h.x)*(l.y-h.y)>=(c.y-h.y)*(l.x-h.x))s.pop();else break}s.push(l)}return s.pop(),r.length===1&&s.length===1&&r[0].x===s[0].x&&r[0].y===s[0].y?r:r.concat(s)}var jS=Eg,OS=kg,AS=Cg,Tg=Pg;const _g=jS,jg=OS,Og=AS,mc=m.forwardRef(({className:n,sideOffset:r=4,...s},a)=>f.jsx(Tg,{ref:a,sideOffset:r,className:we("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",n),...s}));mc.displayName=Tg.displayName;const su=768;function MS(){const[n,r]=m.useState(void 0);return m.useEffect(()=>{const s=window.matchMedia(`(max-width: ${su-1}px)`),a=()=>{r(window.innerWidth<su)};return s.addEventListener("change",a),r(window.innerWidth<su),()=>s.removeEventListener("change",a)},[]),!!n}const DS=Li("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground border border-destructive-border",outline:" border [border-color:var(--button-outline)]  shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Lo=m.forwardRef(({className:n,variant:r,size:s,asChild:a=!1,...l},c)=>{const h=a?qu:"button";return f.jsx(h,{className:we(DS({variant:r,size:s,className:n})),ref:c,...l})});Lo.displayName="Button";const IS=m.forwardRef(({className:n,type:r,...s},a)=>f.jsx("input",{type:r,className:we("flex h-9 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",n),ref:a,...s}));IS.displayName="Input";var LS="Separator",ph="horizontal",zS=["horizontal","vertical"],Ag=m.forwardRef((n,r)=>{const{decorative:s,orientation:a=ph,...l}=n,c=FS(a)?a:ph,p=s?{role:"none"}:{"aria-orientation":c==="vertical"?c:void 0,role:"separator"};return f.jsx(Re.div,{"data-orientation":c,...p,...l,ref:r})});Ag.displayName=LS;function FS(n){return zS.includes(n)}var Mg=Ag;const $S=m.forwardRef(({className:n,orientation:r="horizontal",decorative:s=!0,...a},l)=>f.jsx(Mg,{ref:l,decorative:s,orientation:r,className:we("shrink-0 bg-border",r==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",n),...a}
vendor: 9,305 bytes, lines 9-24
9));$S.displayName=Mg.displayName;var iu="focusScope.autoFocusOnMount",au="focusScope.autoFocusOnUnmount",hh={bubbles:!1,cancelable:!0},US="FocusScope",Dg=m.forwardRef((n,r)=>{const{loop:s=!1,trapped:a=!1,onMountAutoFocus:l,onUnmountAutoFocus:c,...h}=n,[p,g]=m.useState(null),v=kt(l),x=kt(c),w=m.useRef(null),S=nt(r,b=>g(b)),P=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(a){let b=function(I){if(P.paused||!p)return;const L=I.target;p.contains(L)?w.current=L:Nn(w.current,{select:!0})},k=function(I){if(P.paused||!p)return;const L=I.relatedTarget;L!==null&&(p.contains(L)||Nn(w.current,{select:!0}))},j=function(I){if(document.activeElement===document.body)for(const F of I)F.removedNodes.length>0&&Nn(p)};document.addEventListener("focusin",b),document.addEventListener("focusout",k);const M=new MutationObserver(j);return p&&M.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",k),M.disconnect()}}},[a,p,P.paused]),m.useEffect(()=>{if(p){gh.add(P);const b=document.activeElement;if(!p.contains(b)){const j=new CustomEvent(iu,hh);p.addEventListener(iu,v),p.dispatchEvent(j),j.defaultPrevented||(VS(KS(Ig(p)),{select:!0}),document.activeElement===b&&Nn(p))}return()=>{p.removeEventListener(iu,v),setTimeout(()=>{const j=new CustomEvent(au,hh);p.addEventListener(au,x),p.dispatchEvent(j),j.defaultPrevented||Nn(b??document.body,{select:!0}),p.removeEventListener(au,x),gh.remove(P)},0)}}},[p,v,x,P]);const C=m.useCallback(b=>{if(!s&&!a||P.paused)return;const k=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,j=document.activeElement;if(k&&j){const M=b.currentTarget,[I,L]=BS(M);I&&L?!b.shiftKey&&j===L?(b.preventDefault(),s&&Nn(I,{select:!0})):b.shiftKey&&j===I&&(b.preventDefault(),s&&Nn(L,{select:!0})):j===M&&b.preventDefault()}},[s,a,P.paused]);return f.jsx(Re.div,{tabIndex:-1,...h,ref:S,onKeyDown:C})});Dg.displayName=US;function VS(n,{select:r=!1}={}){const s=document.activeElement;for(const a of n)if(Nn(a,{select:r}),document.activeElement!==s)return}function BS(n){const r=Ig(n),s=mh(r,n),a=mh(r.reverse(),n);return[s,a]}function Ig(n){const r=[],s=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const l=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||l?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)r.push(s.currentNode);return r}function mh(n,r){for(const s of n)if(!HS(s,{upTo:r}))return s}function HS(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function WS(n){return n instanceof HTMLInputElement&&"select"in n}function Nn(n,{select:r=!1}={}){if(n&&n.focus){const s=document.activeElement;n.focus({preventScroll:!0}),n!==s&&WS(n)&&r&&n.select()}}var gh=QS();function QS(){let n=[];return{add(r){const s=n[0];r!==s&&s?.pause(),n=vh(n,r),n.unshift(r)},remove(r){n=vh(n,r),n[0]?.resume()}}}function vh(n,r){const s=[...n],a=s.indexOf(r);return a!==-1&&s.splice(a,1),s}function KS(n){return n.filter(r=>r.tagName!=="A")}var lu=0;function GS(){m.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??yh()),document.body.insertAdjacentElement("beforeend",n[1]??yh()),lu++,()=>{lu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),lu--}},[])}function yh(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var Ut=function(){return Ut=Object.assign||function(r){for(var s,a=1,l=arguments.length;a<l;a++){s=arguments[a];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(r[c]=s[c])}return r},Ut.apply(this,arguments)};function Lg(n,r){var s={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&r.indexOf(a)<0&&(s[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,a=Object.getOwnPropertySymbols(n);l<a.length;l++)r.indexOf(a[l])<0&&Object.prototype.propertyIsEnumerable.call(n,a[l])&&(s[a[l]]=n[a[l]]);return s}function qS(n,r,s){if(s||arguments.length===2)for(var a=0,l=r.length,c;a<l;a++)(c||!(a in r))&&(c||(c=Array.prototype.slice.call(r,0,a)),c[a]=r[a]);return n.concat(c||Array.prototype.slice.call(r))}var bi="right-scroll-bar-position",Si="width-before-scroll-bar",YS="with-scroll-bars-hidden",XS="--removed-body-scroll-bar-size";function uu(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function ZS(n,r){var s=m.useState(function(){return{value:n,callback:r,facade:{get current(){return s.value},set current(a){var l=s.value;l!==a&&(s.value=a,s.callback(a,l))}}}})[0];return s.callback=r,s.facade}var JS=typeof window<"u"?m.useLayoutEffect:m.useEffect,xh=new WeakMap;function eE(n,r){var s=ZS(null,function(a){return n.forEach(function(l){return uu(l,a)})});return JS(function(){var a=xh.get(s);if(a){var l=new Set(a),c=new Set(n),h=s.current;l.forEach(function(p){c.has(p)||uu(p,null)}),c.forEach(function(p){l.has(p)||uu(p,h)})}xh.set(s,n)},[n]),s}function tE(n){return n}function nE(n,r){r===void 0&&(r=tE);var s=[],a=!1,l={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:n},useMedium:function(c){var h=r(c,a);return s.push(h),function(){s=s.filter(function(p){return p!==h})}},assignSyncMedium:function(c){for(a=!0;s.length;){var h=s;s=[],h.forEach(c)}s={push:function(p){return c(p)},filter:function(){return s}}},assignMedium:function(c){a=!0;var h=[];if(s.length){var p=s;s=[],p.forEach(c),h=s}var g=function(){var x=h;h=[],x.forEach(c)},v=function(){return Promise.resolve().then(g)};v(),s={push:function(x){h.push(x),v()},filter:function(x){return h=h.filter(x),s}}}};return l}function rE(n){n===void 0&&(n={});var r=nE(null);return r.options=Ut({async:!0,ssr:!1},n),r}var zg=function(n){var r=n.sideCar,s=Lg(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=r.read();if(!a)throw new Error("Sidecar medium not found");return m.createElement(a,Ut({},s))};zg.isSideCarExport=!0;function oE(n,r){return n.useMedium(r),zg}var Fg=rE(),cu=function(){},Qi=m.forwardRef(function(n,r){var s=m.useRef(null),a=m.useState({onScrollCapture:cu,onWheelCapture:cu,onTouchMoveCapture:cu}),l=a[0],c=a[1],h=n.forwardProps,p=n.children,g=n.className,v=n.removeScrollBar,x=n.enabled,w=n.shards,S=n.sideCar,P=n.noIsolation,C=n.inert,b=n.allowPinchZoom,k=n.as,j=k===void 0?"div":k,M=n.gapMode,I=Lg(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=S,F=eE([s,r]),U=Ut(Ut({},I),l);return m.createElement(m.Fragment,null,x&&m.createElement(L,{sideCar:Fg,removeScrollBar:v,shards:w,noIsolation:P,inert:C,setCallbacks:c,allowPinchZoom:!!b,lockRef:s,gapMode:M}),h?m.cloneElement(m.Children.only(p),Ut(Ut({},U),{ref:F})):m.createElement(j,Ut({},U,{className:g,ref:F}),p))});Qi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Qi.classNames={fullWidth:Si,zeroRight:bi};var sE=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function iE(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=sE();return r&&n.setAttribute("nonce",r),n}function aE(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function lE(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var uE=function(){var n=0,r=null;return{add:function(s){n==0&&(r=iE())&&(aE(r,s),lE(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},cE=function(){var n=uE();return function(r,s){m.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&s])}},$g=function(){var n=cE(),r=function(s){var a=s.styles,l=s.dynamic;return n(a,l),null};return r},dE={left:0,top:0,right:0,gap:0},du=function(n){return parseInt(n||"",10)||0},fE=function(n){var r=window.getComputedStyle(document.body),s=r[n==="padding"?"paddingLeft":"marginLeft"],a=r[n==="padding"?"paddingTop":"marginTop"],l=r[n==="padding"?"paddingRight":"marginRight"];return[du(s),du(a),du(l)]},pE=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return dE;var r=fE(n),s=document.documentElement.clientWidth,a=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,a-s+r[2]-r[0])}},hE=$g(),Ir="data-scroll-locked",mE=function(n,r,s,a){var l=n.left,c=n.top,h=n.right,p=n.gap;return s===void 0&&(s="margin"),`
10  .`.concat(YS,` {
11   overflow: hidden `).concat(a,`;
12   padding-right: `).concat(p,"px ").concat(a,`;
13  }
14  body[`).concat(Ir,`] {
15    overflow: hidden `).concat(a,`;
16    overscroll-behavior: contain;
17    `).concat([r&&"position: relative ".concat(a,";"),s==="margin"&&`
18    padding-left: `.concat(l,`px;
19    padding-top: `).concat(c,`px;
20    padding-right: `).concat(h,`px;
21    margin-left:0;
22    margin-top:0;
23    margin-right: `).concat(p,"px ").concat(a,`;
24    `),s==="padding"&&"padding-right: ".concat(p,"px ").concat(a,";
24")].filter(Boolean).join(""),`
25  }
26  
27  .`).concat(bi,` {
28    right: `).concat(p,"px ").concat(a,`;
29  }
30  
31  .`).concat(Si,` {
32    margin-right: `).concat(p,"px ").concat(a,`;
33  }
34  
35  .`).concat(bi," .").concat(bi,` {
36    right: 0 `).concat(a,`;
37  }
38  
39  .`).concat(Si," .").concat(Si,` {
40    margin-right: 0 `).concat(a,`;
41  }
42  
43  body[`).concat(Ir,`] {
44    `).concat(XS,": ").concat(p,`px;
45  }
46`)},wh=function(){var n=parseInt(document.body.getAttribute(Ir)||"0",10);return isFinite(n)?n:0},gE=function(){m.useEffect(function(){return document.body.setAttribute(Ir,(wh()+1).toString()),function(){var n=wh()-1;n<=0?document.body.removeAttribute(Ir):document.body.setAttribute(Ir,n.toString())}},[])},vE=function(n){var r=n.noRelative,s=n.noImportant,a=n.gapMode,l=a===void 0?"margin":a;gE();var c=m.useMemo(function(){return pE(l)},[l]);return m.createElement(hE,{styles:mE(c,!r,l,s?"":"!important")})},zu=!1;if(typeof window<"u")try{var pi=Object.defineProperty({},"passive",{get:function(){return zu=!0,!0}});window.addEventListener("test",pi,pi),window.removeEventListener("test",pi,pi)}catch{zu=!1}var Pr=zu?{passive:!1}:!1,yE=function(n){return n.tagName==="TEXTAREA"},Ug=function(n,r){if(!(n instanceof Element))return!1;var s=window.getComputedStyle(n);return s[r]!=="hidden"&&!(s.overflowY===s.overflowX&&!yE(n)&&s[r]==="visible")},xE=function(n){return Ug(n,"overflowY")},wE=function(n){return Ug(n,"overflowX")},bh=function(n,r){var s=r.ownerDocument,a=r;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var l=Vg(n,a);if(l){var c=Bg(n,a),h=c[1],p=c[2];if(h>p)return!0}a=a.parentNode}while(a&&a!==s.body);return!1},bE=function(n){var r=n.scrollTop,s=n.scrollHeight,a=n.clientHeight;return[r,s,a]},SE=function(n){var r=n.scrollLeft,s=n.scrollWidth,a=n.clientWidth;return[r,s,a]},Vg=function(n,r){return n==="v"?xE(r):wE(r)},Bg=function(n,r){return n==="v"?bE(r):SE(r)},EE=function(n,r){return n==="h"&&r==="rtl"?-1:1},kE=function(n,r,s,a,l){var c=EE(n,window.getComputedStyle(r).direction),h=c*a,p=s.target,g=r.contains(p),v=!1,x=h>0,w=0,S=0;do{var P=Bg(n,p),C=P[0],b=P[1],k=P[2],j=b-k-c*C;(C||j)&&Vg(n,p)&&(w+=j,S+=C),p instanceof ShadowRoot?p=p.host:p=p.parentNode}while(!g&&p!==document.body||g&&(r.contains(p)||r===p));return(x&&Math.abs(w)<1||!x&&Math.abs(S)<1)&&(v=!0),v},hi=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},Sh=function(n){return[n.deltaX,n.deltaY]},Eh=function(n){return n&&"current"in n?n.current:n},CE=function(n,r){return n[0]===r[0]&&n[1]===r[1]},PE=function(n){return`
47  .block-interactivity-`.concat(n,` {pointer-events: none;}
48  .allow-interactivity-`).concat(n,` {pointer-events: all;}
49`)},NE=0,Nr=[];function RE(n){var r=m.useRef([]),s=m.useRef([0,0]),a=m.useRef(),l=m.useState(NE++)[0],c=m.useState($g)[0],h=m.useRef(n);m.useEffect(function(){h.current=n},[n]),m.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(l));var b=qS([n.lockRef.current],(n.shards||[]).map(Eh),!0).filter(Boolean);return b.forEach(function(k){return k.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),b.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(l))})}}},[n.inert,n.lockRef.current,n.shards]);var p=m.useCallback(function(b,k){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!h.current.allowPinchZoom;var j=hi(b),M=s.current,I="deltaX"in b?b.deltaX:M[0]-j[0],L="deltaY"in b?b.deltaY:M[1]-j[1],F,U=b.target,$=Math.abs(I)>Math.abs(L)?"h":"v";if("touches"in b&&$==="h"&&U.type==="range")return!1;var Z=bh($,U);if(!Z)return!0;if(Z?F=$:(F=$==="v"?"h":"v",Z=bh($,U)),!Z)return!1;if(!a.current&&"changedTouches"in b&&(I||L)&&(a.current=F),!F)return!0;var ie=a.current||F;return kE(ie,k,b,ie==="h"?I:L)},[]),g=m.useCallback(function(b){var k=b;if(!(!Nr.length||Nr[Nr.length-1]!==c)){var j="deltaY"in k?Sh(k):hi(k),M=r.current.filter(function(F){return F.name===k.type&&(F.target===k.target||k.target===F.shadowParent)&&CE(F.delta,j)})[0];if(M&&M.should){k.cancelable&&k.preventDefault();return}
vendor: 4,102 bytes, line 49
49if(!M){var I=(h.current.shards||[]).map(Eh).filter(Boolean).filter(function(F){return F.contains(k.target)}),L=I.length>0?p(k,I[0]):!h.current.noIsolation;L&&k.cancelable&&k.preventDefault()}}},[]),v=m.useCallback(function(b,k,j,M){var I={name:b,delta:k,target:j,should:M,shadowParent:TE(j)};r.current.push(I),setTimeout(function(){r.current=r.current.filter(function(L){return L!==I})},1)},[]),x=m.useCallback(function(b){s.current=hi(b),a.current=void 0},[]),w=m.useCallback(function(b){v(b.type,Sh(b),b.target,p(b,n.lockRef.current))},[]),S=m.useCallback(function(b){v(b.type,hi(b),b.target,p(b,n.lockRef.current))},[]);m.useEffect(function(){return Nr.push(c),n.setCallbacks({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:S}),document.addEventListener("wheel",g,Pr),document.addEventListener("touchmove",g,Pr),document.addEventListener("touchstart",x,Pr),function(){Nr=Nr.filter(function(b){return b!==c}),document.removeEventListener("wheel",g,Pr),document.removeEventListener("touchmove",g,Pr),document.removeEventListener("touchstart",x,Pr)}},[]);var P=n.removeScrollBar,C=n.inert;return m.createElement(m.Fragment,null,C?m.createElement(c,{styles:PE(l)}):null,P?m.createElement(vE,{gapMode:n.gapMode}):null)}function TE(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const _E=oE(Fg,RE);var Hg=m.forwardRef(function(n,r){return m.createElement(Qi,Ut({},n,{ref:r,sideCar:_E}))});Hg.classNames=Qi.classNames;var jE=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Rr=new WeakMap,mi=new WeakMap,gi={},fu=0,Wg=function(n){return n&&(n.host||Wg(n.parentNode))},OE=function(n,r){return r.map(function(s){if(n.contains(s))return s;var a=Wg(s);return a&&n.contains(a)?a:(console.error("aria-hidden",s,"in not contained inside",n,". Doing nothing"),null)}).filter(function(s){return!!s})},AE=function(n,r,s,a){var l=OE(r,Array.isArray(n)?n:[n]);gi[s]||(gi[s]=new WeakMap);var c=gi[s],h=[],p=new Set,g=new Set(l),v=function(w){!w||p.has(w)||(p.add(w),v(w.parentNode))};l.forEach(v);var x=function(w){!w||g.has(w)||Array.prototype.forEach.call(w.children,function(S){if(p.has(S))x(S);else try{var P=S.getAttribute(a),C=P!==null&&P!=="false",b=(Rr.get(S)||0)+1,k=(c.get(S)||0)+1;Rr.set(S,b),c.set(S,k),h.push(S),b===1&&C&&mi.set(S,!0),k===1&&S.setAttribute(s,"true"),C||S.setAttribute(a,"true")}catch(j){console.error("aria-hidden: cannot operate on ",S,j)}})};return x(r),p.clear(),fu++,function(){h.forEach(function(w){var S=Rr.get(w)-1,P=c.get(w)-1;Rr.set(w,S),c.set(w,P),S||(mi.has(w)||w.removeAttribute(a),mi.delete(w)),P||w.removeAttribute(s)}),fu--,fu||(Rr=new WeakMap,Rr=new WeakMap,mi=new WeakMap,gi={})}},ME=function(n,r,s){s===void 0&&(s="data-aria-hidden");var a=Array.from(Array.isArray(n)?n:[n]),l=jE(n);return l?(a.push.apply(a,Array.from(l.querySelectorAll("[aria-live]"))),AE(a,l,s,"aria-hidden")):function(){return null}},gc="Dialog",[Qg]=Qo(gc),[DE,Dt]=Qg(gc),Kg=n=>{const{__scopeDialog:r,children:s,open:a,defaultOpen:l,onOpenChange:c,modal:h=!0}=n,p=m.useRef(null),g=m.useRef(null),[v=!1,x]=Xu({prop:a,defaultProp:l,onChange:c});return f.jsx(DE,{scope:r,triggerRef:p,contentRef:g,contentId:Vt(),titleId:Vt(),descriptionId:Vt(),open:v,onOpenChange:x,onOpenToggle:m.useCallback(()=>x(w=>!w),[x]),modal:h,children:s})};Kg.displayName=gc;var Gg="DialogTrigger",IE=m.forwardRef((n,r)=>{const{__scopeDialog:s,...a}=n,l=Dt(Gg,s),c=nt(r,l.triggerRef);return f.jsx(Re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":xc(l.open),...a,ref:c,onClick:Me(n.onClick,l.onOpenToggle)})});IE.displayName=Gg;var vc="DialogPortal",[LE,qg]=Qg(vc,{forceMount:void 0}),Yg=n=>{const{__scopeDialog:r,forceMount:s,children:a,container:l}=n,c=Dt(vc,r);return f.jsx(LE,{scope:r,forceMount:s,children:m.Children.map(a,h=>f.jsx($r,{present:s||c.open,children:f.jsx(Yu,{asChild:!0,container:l,children:h})}))})};Yg.displayName=vc;var _i="DialogOverlay",Xg=m.forwardRef((n,r)=>{const s=qg(_i,n.__scopeDialog),{forceMount:a=s.forceMount,...l}
vendor: 5,036 bytes, lines 49-53
49=n,c=Dt(_i,n.__scopeDialog);return c.modal?f.jsx($r,{present:a||c.open,children:f.jsx(FE,{...l,ref:r})}):null});Xg.displayName=_i;var zE=$o("DialogOverlay.RemoveScroll"),FE=m.forwardRef((n,r)=>{const{__scopeDialog:s,...a}=n,l=Dt(_i,s);return f.jsx(Hg,{as:zE,allowPinchZoom:!0,shards:[l.contentRef],children:f.jsx(Re.div,{"data-state":xc(l.open),...a,ref:r,style:{pointerEvents:"auto",...a.style}})})}),Xn="DialogContent",Zg=m.forwardRef((n,r)=>{const s=qg(Xn,n.__scopeDialog),{forceMount:a=s.forceMount,...l}=n,c=Dt(Xn,n.__scopeDialog);return f.jsx($r,{present:a||c.open,children:c.modal?f.jsx($E,{...l,ref:r}):f.jsx(UE,{...l,ref:r})})});Zg.displayName=Xn;var $E=m.forwardRef((n,r)=>{const s=Dt(Xn,n.__scopeDialog),a=m.useRef(null),l=nt(r,s.contentRef,a);return m.useEffect(()=>{const c=a.current;if(c)return ME(c)},[]),f.jsx(Jg,{...n,ref:l,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(n.onCloseAutoFocus,c=>{c.preventDefault(),s.triggerRef.current?.focus()}),onPointerDownOutside:Me(n.onPointerDownOutside,c=>{const h=c.detail.originalEvent,p=h.button===0&&h.ctrlKey===!0;(h.button===2||p)&&c.preventDefault()}),onFocusOutside:Me(n.onFocusOutside,c=>c.preventDefault())})}),UE=m.forwardRef((n,r)=>{const s=Dt(Xn,n.__scopeDialog),a=m.useRef(!1),l=m.useRef(!1);return f.jsx(Jg,{...n,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{n.onCloseAutoFocus?.(c),c.defaultPrevented||(a.current||s.triggerRef.current?.focus(),c.preventDefault()),a.current=!1,l.current=!1},onInteractOutside:c=>{n.onInteractOutside?.(c),c.defaultPrevented||(a.current=!0,c.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const h=c.target;s.triggerRef.current?.contains(h)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.current&&c.preventDefault()}})}),Jg=m.forwardRef((n,r)=>{const{__scopeDialog:s,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:c,...h}=n,p=Dt(Xn,s),g=m.useRef(null),v=nt(r,g);return GS(),f.jsxs(f.Fragment,{children:[f.jsx(Dg,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:l,onUnmountAutoFocus:c,children:f.jsx(Mi,{role:"dialog",id:p.contentId,"aria-describedby":p.descriptionId,"aria-labelledby":p.titleId,"data-state":xc(p.open),...h,ref:v,onDismiss:()=>p.onOpenChange(!1)})}),f.jsxs(f.Fragment,{children:[f.jsx(VE,{titleId:p.titleId}),f.jsx(HE,{contentRef:g,descriptionId:p.descriptionId})]})]})}),yc="DialogTitle",ev=m.forwardRef((n,r)=>{const{__scopeDialog:s,...a}=n,l=Dt(yc,s);return f.jsx(Re.h2,{id:l.titleId,...a,ref:r})});ev.displayName=yc;var tv="DialogDescription",nv=m.forwardRef((n,r)=>{const{__scopeDialog:s,...a}=n,l=Dt(tv,s);return f.jsx(Re.p,{id:l.descriptionId,...a,ref:r})});nv.displayName=tv;var rv="DialogClose",ov=m.forwardRef((n,r)=>{const{__scopeDialog:s,...a}=n,l=Dt(rv,s);return f.jsx(Re.button,{type:"button",...a,ref:r,onClick:Me(n.onClick,()=>l.onOpenChange(!1))})});ov.displayName=rv;function xc(n){return n?"open":"closed"}var sv="DialogTitleWarning",[E2,iv]=lw(sv,{contentName:Xn,titleName:yc,docsSlug:"dialog"}),VE=({titleId:n})=>{const r=iv(sv),s=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
50
51If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
52
53For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return m.useEffect(()=>{n&&(document.getElementById(n)||console.error(s))},[s,n]),null},BE="DialogDescriptionWarning",HE=({contentRef:n,descriptionId:r})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${iv(BE).contentName}}.`;return m.useEffect(()=>{const l=n.current?.getAttribute("aria-describedby");r&&l&&(document.getElementById(r)||console.warn(a))},[a,n,r]),null},wc=Kg,bc=Yg,Yo=Xg,Xo=Zg,Ki=ev,Gi=nv,av=ov;const lv=wc,WE=bc,uv=m.forwardRef(({className:n,...r},s)=>f.jsx(Yo,{className:we("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...r,ref:s}));uv.displayName=Yo.displayName;const QE=Li("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Sc=m.forwardRef(({side:n="right",className:r,children:s,...a},l)=>f.jsxs(WE,{children:[f.jsx(uv,{}),f.jsxs(Xo,{ref:l,className:we(QE({side:n}),r),...a,children:[s,f.jsxs(av,{className:"absolute right-4 top-4 roun
53ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[f.jsx(Jn,{className:"h-4 w-4"}),f.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Sc.displayName=Xo.displayName;const cv=({className:n,...r})=>f.jsx("div",{className:we("flex flex-col space-y-2 text-center sm:text-left",n),...r});cv.displayName="SheetHeader";const Ec=m.forwardRef(({className:n,...r},s)=>f.jsx(Ki,{ref:s,className:we("text-lg font-semibold text-foreground",n),...r}));Ec.displayName=Ki.displayName;const dv=m.forwardRef(({className:n,...r},s)=>f.jsx(Gi,{ref:s,className:we("text-sm text-muted-foreground",n),...r}));dv.displayName=Gi.displayName;const KE="sidebar_state",GE=3600*24*7,qE="16rem",YE="18rem",XE="3rem",ZE="b",fv=m.createContext(null);function Hr(){const n=m.useContext(fv);if(!n)throw new Error("useSidebar must be used within a SidebarProvider.");return n}function JE({defaultOpen:n=!0,open:r,onOpenChange:s,className:a,style:l,children:c,...h}){const p=MS(),[g,v]=m.useState(!1),[x,w]=m.useState(n),S=r??x,P=m.useCallback(j=>{const M=typeof j=="function"?j(S):j;s?s(M):w(M),document.cookie=`${KE}=${M}; path=/; max-age=${GE}`},[s,S]),C=m.useCallback(()=>p?v(j=>!j):P(j=>!j),[p,P,v]);m.useEffect(()=>{const j=M=>{M.key===ZE&&(M.metaKey||M.ctrlKey)&&(M.preventDefault(),C())};return window.addEventListener("keydown",j),()=>window.removeEventListener("keydown",j)},[C]);const b=S?"expanded":"collapsed",k=m.useMemo(()=>({state:b,open:S,setOpen:P,isMobile:p,openMobile:g,setOpenMobile:v,toggleSidebar:C}),[b,S,P,p,g,v,C]);return f.jsx(fv.Provider,{value:k,children:f.jsx(_g,{delayDuration:0,children:f.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":qE,"--sidebar-width-icon":XE,...l},className:we("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",a),...h,children:c})})})}function ek({side:n="left",variant:r="sidebar",collapsible:s="offcanvas",className:a,children:l,...c}){const{isMobile:h,state:p,openMobile:g,setOpenMobile:v}=Hr();return s==="none"?f.jsx("div",{"data-slot":"sidebar",className:we("bg-sidebar text-sidebar-foreground flex h-full w-[var(--sidebar-width)] flex-col",a),...c,children:l}):h?f.jsx(lv,{open:g,onOpenChange:v,...c,children:f.jsxs(Sc,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-[var(--sidebar-width)] p-0 [&>button]:hidden",style:{"--sidebar-width":YE},side:n,children:[f.jsxs(cv,{className:"sr-only",children:[f.jsx(Ec,{children:"Sidebar"}),f.jsx(dv,{children:"Displays the mobile sidebar."})]}),f.jsx("div",{className:"flex h-full w-full flex-col",children:l})]})}):f.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":p,"data-collapsible":p==="collapsed"?s:"","data-variant":r,"data-side":n,"data-slot":"sidebar",children:[f.jsx("div",{"data-slot":"sidebar-gap",className:we("relative w-[var(--sidebar-width)] bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",r==="floating"||r==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+var(--spacing-4))]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)]")}),f.jsx("div",{"data-slot":"sidebar-container",className:we("fixed inset-y-0 z-10 hidden h-svh w-[var(--sidebar-width)] transition-[left,right,width] duration-200 ease-linear md:flex",n==="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)]",r==="floating"||r==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+var(--spacing-4)+2px)]":"group-data-[collapsible=icon]:w-[var(--sidebar-width-icon)] group-data-[side=left]:border-r group-data-[side=right]:border-l",a),...c,children:f.jsx("div",{"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:l})})]})}function tk({className:n,onClick:r,...s}){const{toggleSidebar:a}=Hr();return f.jsxs(Lo,{"data-sidebar":"trigger","data-slot":"sidebar-tr
53igger",variant:"ghost",size:"icon",className:we("h-7 w-7",n),onClick:l=>{r?.(l),a()},...s,children:[f.jsx(v1,{}),f.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function nk({className:n,...r}){return f.jsx("main",{"data-slot":"sidebar-inset",className:we("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",n),...r})}function rk({className:n,...r}){return f.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:we("flex flex-col gap-2 p-2",n),...r})}function ok({className:n,...r}){return f.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:we("flex flex-col gap-2 p-2",n),...r})}function sk({className:n,...r}){return f.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:we("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",n),...r})}function ik({className:n,...r}){return f.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:we("relative flex w-full min-w-0 flex-col p-2",n),...r})}function ak({className:n,asChild:r=!1,...s}){const a=r?qu:"div";return f.jsx(a,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:we("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:h-4 [&>svg]:w-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",n),...s})}function lk({className:n,...r}){return f.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:we("w-full text-sm",n),...r})}function uk({className:n,...r}){return f.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:we("flex w-full min-w-0 flex-col gap-1",n),...r})}function kh({className:n,...r}){return f.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:we("group/menu-item relative",n),...r})}const ck=Li("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]:w-8! group-data-[collapsible=icon]:h-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 dk({asChild:n=!1,isActive:r=!1,variant:s="default",size:a="default",tooltip:l,className:c,...h}){const p=n?qu:"button",{isMobile:g,state:v}=Hr(),x=f.jsx(p,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":a,"data-active":r,className:we(ck({variant:s,size:a}),c),...h});return l?(typeof l=="string"&&(l={children:l}),f.jsxs(jg,{children:[f.jsx(Og,{asChild:!0,children:x}),f.jsx(mc,{side:"right",align:"center",hidden:v!=="collapsed"||g,...l})]})):x}const pv=m.createContext({mode:"dark",setMode:()=>{},accent:"blue",setAccent:()=>{},resolvedDark:!0});function k2(){return m.useContext(pv)}function fk(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function pk({children:n}){const[r,s]=m.useState(()=>localStorage.getItem("theme-mode")??"dark"),[a,l]=m.useState(()=>localStorage.getItem("theme-accent")??"blue"),[c,h]=m.useState(fk);m.useEffect(()=>{const x=window.matchMedia("(prefers-color-scheme: dark)"),w=S=>h(S.matches);return x.addEventListener("change",w),()=>x.removeEventListener("change",w)},[]);const p=r==="dark"||r==="system"&&c;m.useEffect(()=>{const x=document.documentElement;p?x.classList.add("dark"):x.classList.remove("dark")},[p]),m.useEffect(()=>{const x=document.documentElement;["blue","purple","emerald","amber","rose"].forEach(S=>x.classList.remove(`accent-${S}`)),x.classList.add(`accent-${a}`)},[a]);const g=x=>{s(x),localStorage.setItem("theme-mode",x)},v=x=>{l(x),localStorage.setItem("theme-accent",x)};return f.jsx(pv.Provider,{value:{mode:r,setMode:g,accent:a,setAccent:v,resolvedDark:p},children:n})}const C2={blue:{label:"Blue",tw:"bg-blue-500",hex:"#3b82f6"},purple:{label:"Purple",tw:"bg-purple-500",hex:"#a855f7"},emerald:{label:"Emerald",tw:"bg-emerald-500",hex:"#10b981"},amber:{label:"Amber",tw:"bg-amber-500",hex:"#f59e0b"},rose:{label:"Rose",tw:"bg-rose-500",hex:"#f43f5e"}},P2="ca-pub-5967202216309114",hk="adsense-script",hv=m.createContext(null);function mk(n){typeof window>"u"||(window.googlefc=window.googlefc||{},window.googlefc.callbackQueue=window.googlefc.callbackQueue||[],window.googlefc.callbackQueue.push({CONSENT_API_READY:n}))}function gk({children:n}){const[r,s]=m.useState(!1),[a,l]=m.useState(!1);m.useEffect(()=>{const h=document.getElementById(hk);if(!h)return;window.adsbygoogle&&s(!0);const p=()=>s(!0),g=()=>s(!1);return h.addEventListener("load",p),h.addEventListener("error",g),()=>{h.removeEventListener("load",p),h.removeEventListener("error",g)}},[]);const c=m.useMemo(()=>({adSenseReady:r,openPreferences:()=>
53{if(l(!0),window.googlefc?.showRevocationMessage){window.googlefc.showRevocationMessage(),l(!1);return}mk(()=>{window.googlefc?.showRevocationMessage?.(),l(!1)})},closePreferences:()=>l(!1),preferencesOpen:a}),[r,a]);return f.jsx(hv.Provider,{value:c,children:n})}function N2(){const n=m.useContext(hv);if(!n)throw new Error("useAdConsent must be used inside AdConsentProvider");return n}const vk=[{id:"priceTargets",label:"Price Targets",description:"P5–P95 price distributions per time horizon",group:"overview"},{id:"marketCap",label:"Market Cap Projections",description:"Low/mid/high market cap estimates",group:"overview"},{id:"risks",label:"Risks & Opportunities",description:"Key risks and upside opportunities",group:"overview"},{id:"swot",label:"SWOT Analysis",description:"Strengths, weaknesses, opportunities, threats",group:"overview"},{id:"catalysts",label:"Major Catalysts",description:"Near and long-term price catalysts",group:"overview"},{id:"headlines",label:"Recent Headlines",description:"Sentiment-tagged news headlines",group:"overview"},{id:"filings",label:"SEC Filings",description:"10-K, 10-Q, 8-K and other EDGAR filings",group:"tabs"},{id:"analyst",label:"Analyst Consensus",description:"Wall Street ratings and price targets",group:"tabs"},{id:"earnings",label:"Earnings Calendar",description:"Next earnings date and EPS history",group:"tabs"},{id:"credit",label:"Credit Ratings",description:"S&P, Moody's, Fitch ratings",group:"tabs"},{id:"insider",label:"Insider Transactions",description:"Form 4 insider buying and selling",group:"tabs"},{id:"dividends",label:"Dividends & Debt",description:"Dividend info and debt schedule",group:"tabs"},{id:"fundamentals",label:"Fundamentals",description:"Key valuation & quality metrics with signal badges",group:"tabs"},{id:"peers",label:"Peer Comparison",description:"Side-by-side comparison with similar companies",group:"tabs"},{id:"chat",label:"Community Chat",description:"Discussion board per ticker",group:"tabs"}],Bo=new Set(vk.map(n=>n.id)),mv="widget-prefs-v1";function yk(){try{const n=localStorage.getItem(mv);if(!n)return Bo;const r=JSON.parse(n);return new Set(r)}catch{return Bo}}function Ch(n){localStorage.setItem(mv,JSON.stringify(Array.from(n)))}const gv=m.createContext({visible:Bo,isVisible:()=>!0,toggle:()=>{},reset:()=>{}});function R2(){return m.useContext(gv)}function xk({children:n}){const[r,s]=m.useState(yk),a=m.useCallback(h=>r.has(h),[r]),l=m.useCallback(h=>{s(p=>{const g=new Set(p);return g.has(h)?g.delete(h):g.add(h),Ch(g),g})},[]),c=m.useCallback(()=>{s(Bo),Ch(Bo)},[]);return f.jsx(gv.Provider,{value:{visible:r,isVisible:a,toggle:l,reset:c},children:n})}const kc=[{label:null,items:[{href:"/search",icon:Um,label:"Search"},{href:"/feed",icon:rc,label:"Feed"},{href:"/articles",icon:Im,label:"Articles"}]},{label:"Analysis",items:[{href:"/analyze",icon:Go,label:"Forecast"},{href:"/earnings",icon:zi,label:"Earnings"},{href:"/live",icon:nc,label:"Live"},{href:"/calendar",icon:tc,label:"Calendar"}]},{label:"Supporting Data",items:[{href:"/macro",icon:p1,label:"Macro"},{href:"/bonds",icon:_u,label:"Bonds"},{href:"/pulse",icon:Hm,label:"Pulse"},{href:"/congress",icon:_u,label:"Congress"},{href:"/13f",icon:jm,label:"13F"},{href:"/insider",icon:w1,label:"Insider"}]},{label:"Tools",items:[{href:"/portfolio",icon:Om,label:"Builder"},{href:"/dividends",icon:t1,label:"Dividends"},{href:"/chat",icon:r1,label:"AI Chat"},{href:"/resources",icon:n1,label:"Resources"}]},{label:"Company",items:[{href:"/about",icon:h1,label:"About"},{href:"/methodology",icon:g1,label:"Methodology"},{href:"/forecast-accuracy",icon:e1,label:"Forecast Accuracy"},{href:"/contact",icon:Mm,label:"Contact"},{href:"/privacy",icon:y1,label:"Privacy Policy"},{href:"/terms",icon:f1,label:"Terms of Service"}]}],Kn=kc.filter(n=>n.label!=="Company").flatMap(n=>n.items),Cc="page-order-v1";function wk(){try{const n=localStorage.getItem(Cc);if(!n)return Kn;const r=JSON.parse(n);if(!Array.isArray(r)||r.length===0)return Kn;const s=r.map(l=>Kn.find(c=>c.href===l)).filter(Boolean),a=Kn.filter(l=>!r.includes(l.href));return[...s,...a]}catch{return Kn}}function pu(n){localStorage.setItem(Cc,JSON.stringify(n.map(r=>r.href)))}const vv=m.createContext({pageOrder:Kn,moveUp:()=>{},moveDown:()=>{},reorder:()=>{},reset:()=>{}});function bk(){return m.useContext(vv)}function Sk({children:n}){const[r,s]=m.useState(wk),a=m.useCallback(p=>{p!==0&&s(g=>{const v=[...g];return[v[p-1],v[p]]=[v[p],v[p-1]],pu(v),v})},[]),l=m.useCallback(p=>{s(g=>{if(p>=g.length-1)return g;const v=[...g];return[v[p],v[p+1]]=[v[p+1],v[p]],pu(v),v})},[]),c=m.useCallback((p,g)=>{p!==g&&s(v=>{const x=[...v],[w]=x.splice(p,1);return x.splice(g,0,w),pu(x),x})},[]),h=m.useCallback(()=>{s(Kn),localStorage.removeItem(Cc)},[]);return f.jsx(vv.Provider,{value:{pageOrder:r,moveUp:a,moveDown:l,reorder:c,reset:h},children:n})}const Ph=["All","Lo-Fi","Electronic","Ambient","Classical","Synth","Chill","Other"],Qn=[{id:"groovesalad",name:"Groove Salad",genre:"Ambient",url:"https://ice2.somafm.com/groovesalad-128-mp3"},{id:"gsclassic",name:"Groove Salad Classic",genre:"Ambient",url:"https://ice2.somafm.com/gsclassic-128-mp3"},{id:"dronezone",name:"Drone Zone",genre:"Ambient",url:"https://ice2.somafm.com/dronezone-128-mp3"}
53,{id:"deepspace",name:"Deep Space One",genre:"Ambient",url:"https://ice2.somafm.com/deepspaceone-128-mp3"},{id:"spacestation",name:"Space Station",genre:"Ambient",url:"https://ice2.somafm.com/spacestation-128-mp3"},{id:"lush",name:"Lush",genre:"Chill",url:"https://ice2.somafm.com/lush-128-mp3"},{id:"seventies",name:"Left Coast 70s",genre:"Chill",url:"https://ice2.somafm.com/seventies-128-mp3"},{id:"thistle",name:"ThistleRadio",genre:"Chill",url:"https://ice2.somafm.com/thistle-128-mp3"},{id:"defcon",name:"DEF CON",genre:"Electronic",url:"https://ice2.somafm.com/defcon-128-mp3"},{id:"thetrip",name:"The Trip",genre:"Electronic",url:"https://ice2.somafm.com/thetrip-128-mp3"},{id:"fluid",name:"Fluid",genre:"Electronic",url:"https://ice2.somafm.com/fluid-128-mp3"},{id:"cliqhop",name:"cliqhop idm",genre:"Electronic",url:"https://ice2.somafm.com/cliqhop-128-mp3"},{id:"dubstep",name:"Dub Step Beyond",genre:"Electronic",url:"https://ice2.somafm.com/dubstep-128-mp3"},{id:"beatblender",name:"Beat Blender",genre:"Lo-Fi",url:"https://ice2.somafm.com/beatblender-128-mp3"},{id:"poptron",name:"PopTron",genre:"Lo-Fi",url:"https://ice2.somafm.com/poptron-128-mp3"},{id:"covers",name:"Covers",genre:"Lo-Fi",url:"https://ice2.somafm.com/covers-128-mp3"},{id:"vaporwaves",name:"Vaporwaves",genre:"Synth",url:"https://ice2.somafm.com/vaporwaves-128-mp3"},{id:"synphaera",name:"Synphaera",genre:"Synth",url:"https://ice2.somafm.com/synphaera-128-mp3"},{id:"n5md",name:"n5MD",genre:"Synth",url:"https://ice2.somafm.com/n5md-128-mp3"},{id:"sonicuniverse",name:"Sonic Universe",genre:"Classical",url:"https://ice2.somafm.com/sonicuniverse-128-mp3"},{id:"bagel",name:"BAGeL Radio",genre:"Classical",url:"https://ice2.somafm.com/bagel-128-mp3"},{id:"bootliquor",name:"Boot Liquor",genre:"Other",url:"https://ice2.somafm.com/bootliquor-128-mp3"},{id:"folkfwd",name:"Folk Forward",genre:"Other",url:"https://ice2.somafm.com/folkfwd-128-mp3"},{id:"missioncontrol",name:"Mission Control",genre:"Other",url:"https://ice2.somafm.com/missioncontrol-128-mp3"}],yv=m.createContext(null);function xv(){const n=m.useContext(yv);if(!n)throw new Error("useRadio must be used within RadioProvider");return n}function Ek({children:n}){const r=m.useRef(null),[s,a]=m.useState(!1),[l,c]=m.useState(()=>{try{const b=localStorage.getItem("radio-genre");if(b&&Ph.includes(b))return b}catch{}return"All"}),[h,p]=m.useState(()=>{try{const b=localStorage.getItem("radio-station");if(b&&Qn.some(k=>k.id===b))return b}catch{}return Qn[0].id}),[g,v]=m.useState(()=>{try{const b=localStorage.getItem("radio-volume");if(b)return parseFloat(b)}catch{}return .3}),x=l==="All"?Qn:Qn.filter(b=>b.genre===l),w=Qn.find(b=>b.id===h)??Qn[0],S=x.findIndex(b=>b.id===h);m.useEffect(()=>{const b=r.current;return()=>{b&&(b.pause(),b.src="")}},[]),m.useEffect(()=>{r.current&&(r.current.volume=g)}
53,[g]),m.useEffect(()=>{localStorage.setItem("radio-station",h),s&&r.current&&(r.current.src=w.url,r.current.load(),r.current.play().catch(()=>{}))},[h]),m.useEffect(()=>{localStorage.setItem("radio-volume",String(g))},[g]),m.useEffect(()=>{localStorage.setItem("radio-genre",l),x.length>0&&!x.some(b=>b.id===h)&&p(x[0].id)},[l]);const P=m.useCallback(()=>{r.current&&(s?(r.current.pause(),a(!1)):(r.current.src=w.url,r.current.volume=g,r.current.play().catch(()=>{}),a(!0)))},[s,w.url,g]),C=m.useCallback(b=>{if(x.length===0)return;const k=S<0?0:(S+b+x.length)%x.length;p(x[k].id)},[x,S]);return f.jsxs(yv.Provider,{value:{playing:s,genre:l,stationId:h,volume:g,station:w,filtered:x,genres:Ph,stations:Qn,setGenre:c,setStationId:p,setVolume:v,togglePlay:P,switchStation:C},children:[f.jsx("audio",{ref:r}),n]})}const kk="SPY,QQQ,DIA,IWM,AAPL,MSFT,NVDA,TSLA,AMZN,GOOGL,META,NFLX,AMD,COIN,GLD,TLT",wv=m.createContext(null);function Ck(){const n=m.useContext(wv);if(!n)throw new Error("useGlobalTickers must be used within GlobalTickerProvider");return n}function Pk({children:n}){const{data:r}=Kp({queryKey:["/api/finance/macro-headlines"],refetchInterval:3e5,staleTime:6e5}),{data:s}=Kp({queryKey:[`/api/finance/batch-quotes?symbols=${kk}`],refetchInterval:6e4,staleTime:6e4}),[a,l]=m.useState(null),c=r?.headlines??[],h=m.useMemo(()=>c.map(g=>({title:g.headline,source:g.source,sentiment:g.sentiment==="bullish"?"positive":g.sentiment==="bearish"?"negative":"neutral",publishedAt:g.timestamp})),[c]),p=s??[];return f.jsx(wv.Provider,{value:{macroHeadlines:c,macroTickerItems:h,stockQuotes:p,articleDrawer:a,setArticleDrawer:l},children:n})}function Nk(n){return`https://news.google.com/search?q=${encodeURIComponent(n)}&hl=en-US&gl=US&ceid=US:en`}function Rk({open:n,onClose:r,headline:s,source:a,date:l,summary:c,url:h}){if(!n)return null;const p=h&&h!=="#"?h:Nk(s),g=l?(()=>{try{const v=new Date(l),w=Math.floor((new Date().getTime()-v.getTime())/864e5);return w<0||w>90?"Recently":w===0?"Today":w===1?"Yesterday":w<7?`${w} days ago`:w<30?`${Math.floor(w/7)} weeks ago`:`${Math.floor(w/30)} months ago`}catch{return l}})():null;return f.jsxs("div",{className:"fixed inset-0 z-50 flex justify-end",role:"dialog","aria-modal":"true",children:[f.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm",onClick:r}),f.jsxs("div",{className:"relative w-full max-w-md h-full bg-background border-l border-border shadow-2xl flex flex-col overflow-hidden",children:[f.jsxs("div",{className:"flex items-start justify-between px-5 py-4 border-b border-border flex-shrink-0",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx(Im,{className:"w-4 h-4 text-primary flex-shrink-0"}),f.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Article Preview"})]}),f.jsx(Lo,{variant:"ghost",size:"sm",onClick:r,className:"p-1.5 h-auto text-muted-foreground hover:text-foreground flex-shrink-0","data-testid":"button-close-article-drawer","aria-label":"Close article",children:f.jsx(Jn,{className:"w-4 h-4"})})]}),f.jsxs("div",{className:"flex-1 overflow-y-auto px-5 py-5 space-y-4",children:[f.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[f.jsx("a",{href:`https://news.google.com/search?q=${encodeURIComponent(a)}&hl=en-US`,target:"_blank",rel:"noopener noreferrer",className:"text-xs font-semibold text-primary hover:underline","data-testid":"link-article-source",children:a}),g&&f.jsxs("span",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[f.jsx(tc,{className:"w-3 h-3"}),g]})]}),f.jsx("h2",{className:"text-base font-bold text-foreground leading-snug","data-testid":"text-article-headline",children:s}),c?f.jsxs("div",{className:"space-y-1",children:[f.jsx("div",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wide",children:"Summary"}),f.jsx("p",{className:"text-sm text-foreground/80 leading-relaxed",children:c})]}):f.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Full article available via the link below."}),f.jsxs("div",{className:"pt-2 p-4 bg-muted/30 border border-border rounded-xl text-xs text-muted-foreground leading-relaxed",children:[f.jsx("span",{className:"font-medium text-foreground",children:"Note:"})," This app generates AI-synthesized headlines based on market conditions. Click below to search for the actual source article on Google News."]})]}),f.jsxs("div",{className:"px-5 py-4 border-t border-border flex-shrink-0 space-y-2",children:[f.jsx("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"w-full","data-testid":"link-read-article",children:f.jsxs(Lo,{className:"w-full gap-2",children:[f.jsx(u1,{className:"w-4 h-4"}),"Search for Article"]})}),f.jsx(Lo,{variant:"outline",className:"w-full",onClick:r,children:"Close"})]})]})]})}function T2(n,r){return`https://news.google.com/search?q=${encodeURIComponent(r+" "+n)}&hl=en-US&gl=US&ceid=US:en`}const Tk={positive:zi,negative:x1,neutral:Dm},_k={positive:"text-emerald-400",negative:"text-red-400",neutral:"text-zinc-500"};function jk(){const{macroTickerItems:n,stockQuotes:r,articleDrawer:s,setArticleDrawer:a}=Ck(),l=n.length>0,c=r.length>0;if(!l&&!c)return null;const h=l?[...n,...n]:[],p=c?[...r,...r]:[];return f.jsxs(f.Fragment,{children:[l&&f.jsx("div",{className:"sticky top-0 z-50 border-b border-zinc-800 bg-[#0a0a0f]/95 backdrop-blur-sm overflow-hidden",style:{height:"36px"},"data-testid":"global-macro-tape",children:f.jsxs("div",{className:"flex items-center h-full",children:[f.jsx("div",{className:"flex-shrink-0 flex items-center gap-1.5 px-3 h-full border-r border-zinc-800 bg-blue-600",children:f.jsx("span",{className:"text-[10px] font-bold tracking-widest uppercase text-white",children:"MARKET"})}),f.jsx("div",{className:"flex-1 overflow-hidden relative h-full",children:f.jsx("div",{className:"ticker-scroll-track flex items-center gap-0 h-full whitespace-nowrap",style:{"--ticker-duration":`${Math.max(30,n.length*5)}s`},children:h.map((g,v)=>{const x=Tk[g.sentiment]??Dm,w=_k[g.sentiment]??"text-zinc-500";return f.jsxs("button",{onClick:()=>a({headline:g.title,source:g.source,date:g.publishedAt}),className:"inline-flex items-center gap-1.5 px-4 h-full text-left flex-shrink-0 hover:bg-white/5 transition-colors group","data-testid":`global-macro-item-${v%n.length}`,children:[f.jsx(x,{className:`w-3 h-3 flex-shrink-0 ${w}`}),f.jsx("span",{className:"text-[11px] text-zinc-200 group-hover:text-blue-400 transition-colors",children:g.title}),f.jsxs("span",{className:"text-[10px] text-zinc-500 ml-0.5",children:["— ",g.source]}),f.jsx("span",{className:"text-zinc-700 ml-2 select-none",children:"·"})]},v)})})})]})}),c&&f.jsx("div",{className:"sticky border-b border-zinc-800 bg-[#0a0a0f]/95 backdrop-blur-sm overflow-hidden z-40",style:{height:"32px",top:l?"36px":"0px"},"data-testid":"global-stock-tape",children:f.jsxs("div",{className:"flex items-center h-full",children:[f.jsx("div",{className:"flex-shrink-0 flex items-center gap-1.5 px-3 h-full border-r border-zinc-800 bg-zinc-800/80",children:f.jsx("span",{className:"text-[10px] font-bold tracking-widest uppercase text-zinc-300",children:"STOCKS"})}),f.jsx("div",{className:"flex-1 overflow-hidden relative h-full",children:f.jsx("div",{className:"ticker-scroll-track flex items-center gap-0 h-full whitespace-nowrap",style:{"--ticker-duration":`${Math.max(30,r.length*4)}s`},children:p.map((g,v)=>f.jsx(Ho,{href:`/stock/${g.symbol}`,children:f.jsxs("span",{className:"inline-flex items-center gap-1.5 px-4 h-full cursor-pointer hover:bg-white/5 transition-colors",children:[f.jsxs("span",{className:"text-[11px] font-bold text-white",children:["$",g.symbol]}),f.jsx("span",{className:"text-[11px] text-zinc-400",children:g.currentPrice.toLocaleStr
53ing(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}),f.jsxs("span",{className:`text-[10px] font-semibold ${g.changePercent>=0?"text-emerald-400":"text-red-400"}`,children:[g.changePercent>=0?"+":"",g.changePercent.toFixed(2),"%"]})]})},`${g.symbol}-${v}`))})})]})}),f.jsx(Rk,{open:!!s,onClose:()=>a(null),headline:s?.headline??"",source:s?.source??"",date:s?.date,summary:s?.summary,url:s?.url})]})}function _2(n,r){return(n?36:0)+(r?32:0)}const Nh=n=>{let r;const s=new Set,a=(v,x)=>{const w=typeof v=="function"?v(r):v;if(!Object.is(w,r)){const S=r;r=x??(typeof w!="object"||w===null)?w:Object.assign({},r,w),s.forEach(P=>P(r,S))}},l=()=>r,p={setState:a,getState:l,getInitialState:()=>g,subscribe:v=>(s.add(v),()=>s.delete(v))},g=r=n(a,l,p);return p},Ok=(n=>n?Nh(n):Nh),Ak=n=>n;function Mk(n,r=Ak){const s=Et.useSyncExternalStore(n.subscribe,Et.useCallback(()=>r(n.getState()),[n,r]),Et.useCallback(()=>r(n.getInitialState()),[n,r]));return Et.useDebugValue(s),s}const Rh=n=>{const r=Ok(n),s=a=>Mk(r,a);return Object.assign(s,r),s},Dk=(n=>n?Rh(n):Rh),bv=Dk((n,r)=>({user:null,isLoading:!0,showAuthModal:!1,openAuthModal:()=>n({showAuthModal:!0}),closeAuthModal:()=>n({showAuthModal:!1}),fetchUser:async()=>{try{const a=await(await fetch("/api/auth/me",{credentials:"include"})).json();a.user&&await Do(),n({user:a.user??null,isLoading:!1})}catch{n({user:null,isLoading:!1})}},login:async(s,a)=>{Xl();const c=await(await Zl("POST","/api/auth/login",{email:s,password:a})).json();await Do(),n({user:c.user,showAuthModal:!1})},register:async(s,a,l)=>{Xl();const h=await(await Zl("POST","/api/auth/register",{email:s,password:a,displayName:l})).json();await Do(),n({user:h.user,showAuthModal:!1})},logout:async()=>{try{await Zl("POST","/api/auth/logout")}catch{}Xl(),n({user:null})}}));function Ik(){const{showAuthModal:n,closeAuthModal:r,login:s,register:a}=bv(),[l,c]=m.useState("login"),[h,p]=m.useState(""),[g,v]=m.useState(""),[x,w]=m.useState(""),[S,P]=m.useState(""),[C,b]=m.useState(!1),[k,j]=m.useState(""),[M,I]=m.useState(!1);if(!n)return null;const L=()=>{p(""),v(""),w(""),P(""),j(""),b(!1)},F=Z=>{c(Z),L()},U=async Z=>{if(Z.preventDefault(),j(""),!h||!g){j("Please fill in all fields");return}I(!0);try{await s(h,g),L()}catch(ie){const le=ie.message?.includes(":")?ie.message.split(":").slice(1).join(":").trim():ie.message;try{const ge=JSON.parse(le);j(ge.message||"Login failed")}catch{j(le||"Login failed")}}finally{I(!1)}},$=async Z=>{if(Z.preventDefault(),j(""),!S||!h||!g||!x){j("Please fill in all fields");return}if(g.length<8){j("Password must be at least 8 characters");return}if(g!==x){j("Passwords do not match");return}I(!0);try{await a(h,g,S),L()}catch(ie){const le=ie.message?.includes(":")?ie.message.split(":").slice(1).join(":").trim():ie.message;try{const ge=JSON.parse(le);j(ge.message||"Registration failed")}catch{j(le||"Registration failed")}}finally{I(!1)}};return f.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center","data-testid":"auth-modal-overlay",children:[f.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:r}),f.jsxs("div",{className:"relative w-full max-w-md mx-4 bg-zinc-900 border border-zinc-700/50 rounded-xl shadow-2xl overflow-hidden max-h-[90vh] overflow-y-auto","data-testid":"auth-modal",children:[f.jsx("button",{onClick:r,className:"absolute top-3 right-3 text-zinc-400 hover:text-white transition-colors z-10","data-testid":"button-close-auth",children:f.jsx(Jn,{className:"w-5 h-5"})}),f.jsxs("div",{className:"px-6 pt-6 pb-4",children:[f.jsx("h2",{className:"text-xl font-bold text-white mb-1",children:l==="login"?"Welcome Back":"Create Free Account"}),f.jsx("p",{className:"text-sm text-zinc-400",children:l==="login"?"Sign in to access your watchlist, chat, and more":"100% free — join the community to discuss stocks and save your preferences"})]}),f.jsxs("div",{className:"flex border-b border-zinc-700/50",children:[f.jsxs("button",{onClick:()=>F("login"),className:`flex-1 px-4 py-3 text-sm font-medium transition-colors ${l==="login"?"text-blue-400 border-b-2 border-blue-400 bg-blue-500/5":"text-zinc-400 hover:text-zinc-200"}`,"data-testid":"tab-login",children:[f.jsx(th,{className:"w-4 h-4 inline mr-1.5"}),"Sign In"]}),f.jsxs("button",{onClick:()=>F("signup"),className:`flex-1 px-4 py-3 text-sm font-medium transition-colors ${l==="signup"?"text-blue-400 border-b-2 border-blue-400 bg-blue-500/5":"text-zinc-400 hover:text-zinc-200"}`,"data-testid":"tab-signup",children:[f.jsx(nh,{className:"w-4 h-4 inline mr-1.5"}),"Free Sign-Up"]}
53)]}),f.jsxs("form",{onSubmit:l==="login"?U:$,className:"p-6 space-y-4",children:[l==="signup"&&f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-zinc-300 mb-1.5",children:"Display Name"}),f.jsx("input",{type:"text",value:S,onChange:Z=>P(Z.target.value),placeholder:"Your name",className:"w-full bg-zinc-800/50 border border-zinc-700/50 rounded-lg px-3 py-2.5 text-sm text-white placeholder:text-zinc-500 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/20 transition-colors",maxLength:128,autoComplete:"name","data-testid":"input-display-name"})]}),f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-zinc-300 mb-1.5",children:"Email"}),f.jsx("input",{type:"email",value:h,onChange:Z=>p(Z.target.value),placeholder:"[email protected]",className:"w-full bg-zinc-800/50 border border-zinc-700/50 rounded-lg px-3 py-2.5 text-sm text-white placeholder:text-zinc-500 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/20 transition-colors",autoComplete:"email","data-testid":"input-auth-email"})]}),f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-zinc-300 mb-1.5",children:"Password"}),f.jsxs("div",{className:"relative",children:[f.jsx("input",{type:C?"text":"password",value:g,onChange:Z=>v(Z.target.value),placeholder:l==="signup"?"At least 8 characters":"Enter your password",className:"w-full bg-zinc-800/50 border border-zinc-700/50 rounded-lg px-3 py-2.5 pr-10 text-sm text-white placeholder:text-zinc-500 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/20 transition-colors",autoComplete:l==="login"?"current-password":"new-password","data-testid":"input-auth-password"}),f.jsx("button",{type:"button",onClick:()=>b(!C),className:"absolute right-3 top-1/2 -translate-y-1/2 text-zinc-400 hover:text-zinc-200 transition-colors","data-testid":"button-toggle-password","aria-label":C?"Hide password":"Show password",children:C?f.jsx(c1,{className:"w-4 h-4"}):f.jsx(d1,{className:"w-4 h-4"})})]})]}),l==="signup"&&f.jsxs("div",{children:[f.jsx("label",{className:"block text-sm font-medium text-zinc-300 mb-1.5",children:"Confirm Password"}),f.jsx("input",{type:C?"text":"password",value:x,onChange:Z=>w(Z.target.value),placeholder:"Confirm your password",className:"w-full bg-zinc-800/50 border border-zinc-700/50 rounded-lg px-3 py-2.5 text-sm text-white placeholder:text-zinc-500 focus:outline-none focus:border-blue-500/50 focus:ring-1 focus:ring-blue-500/20 transition-colors",autoComplete:"new-password","data-testid":"input-auth-confirm-password"})]}),k&&f.jsx("div",{className:"text-sm text-red-400 bg-red-500/10 border border-red-500/20 rounded-lg px-3 py-2","data-testid":"text-auth-error",children:k}),f.jsx("button",{type:"submit",disabled:M,className:"w-full bg-blue-600 hover:bg-blue-500 disabled:bg-blue-600/50 text-white font-medium py-3 rounded-lg transition-colors flex items-center justify-center gap-2 min-h-[48px]","data-testid":"button-auth-submit",children:M?f.jsx(m1,{className:"w-4 h-4 animate-spin"}):l==="login"?f.jsxs(f.Fragment,{children:[f.jsx(th,{className:"w-4 h-4"}),"Sign In"]}):f.jsxs(f.Fragment,{children:[f.jsx(nh,{className:"w-4 h-4"}),"Create Free Account"]})}),f.jsx("p",{className:"text-center text-xs text-zinc-500",children:l==="login"?f.jsxs(f.Fragment,{children:["Don't have an account?"," ",f.jsx("button",{type:"button",onClick:()=>F("signup"),className:"text-blue-400 hover:text-blue-300","data-testid":"link-switch-to-signup",children:"Sign up free"})]}):f.jsxs(f.Fragment,{children:["Already have an account?"," ",f.jsx("button",{type:"button",onClick:()=>F("login"),className:"text-blue-400 hover:text-blue-300","data-testid":"link-switch-to-login",children:"Sign in"})]})})]})]})]})}function j2(){const{playing:n,genre:r,station:s,volume:a,filtered:l,genres:c,togglePlay:h,switchStation:p,setGenre:g,setVolume:v}=xv();return f.jsxs("div",{className:"glass-card p-2.5 shrink-0 border border-zinc-500/20","data-testid":"radio-player",children:[f.jsxs("div",{className:"flex items-center gap-2 mb-2.5",children:[f.jsx(ju,{className:"w-5 h-5 text-purple-400"}),f.jsx("span",{className:"text-sm font-semibold text-zinc-300",children:"Radio"}),f.jsxs("span",{className:"text-xs text-zinc-400 ml-auto",children:["SomaFM · ",l.length," stations"]})]}),f.jsx("div",{className:"flex flex-wrap gap-1.5 mb-2.5",children:c.map(x=>f.jsx("button",{onClick:()=>g(x),className:`px-2.5 py-1 rounded text-xs font-medium transition-colors ${r===x?"bg-purple-500/30 text-purple-300 border border-purple-500/40":"bg-white/5 text-zinc-400 hover:text-zinc-300 border border-transparent"}`,"data-testid":`button-radio-genre-${x}`,children:x},x))}),f.jsxs("div",{className:"flex items-center gap-2.5 mb-3",children:[f.jsx("button",{onClick:()=>p(-1),className:"p-1.5 rounded hover:bg-white/10 text-zinc-400 hover:text-white transition-colors","data-testid":"button-radio-prev","aria-label":"Previous station",children:f.jsx(Fm,{className:"w-4 h-4"})}),f.jsx("button",{onClick:h,className:`p-2.5 rounded-full transition-colors ${n?"bg-purple-500/30 text-purple-300":"bg-white/10 text-zinc-300 hover:text-white"}`,"data-testid":"button-radio-play","aria-label":n?"Pause radio":"Play radio",children:n?f.jsx(Lm,{className:"w-5 h-5"}):f.jsx(zm,{className:"w-5 h-5"})}),f.jsx("button",{onClick:()=>p(1),className:"p-1.5 rounded hover:bg-white/10 text-zinc-400 hover:text-white transition-colors","data-testid":"button-radio-next","aria-label":"Next station",children:f.jsx($m,{className:"w-4 h-4"})}),f.jsxs("div",{className:"flex-1 min-w-0 ml-1",children:[f.jsx("div",{className:"text-base font-medium text-white truncate","data-testid":"text-radio-station",children:s.name}),f.jsx("div",{className:"text-xs text-zinc-400",children:s.genre})]})]}),f.jsxs("div",{className:"flex items-center gap-2.5",children:[f.jsx("button",{onClick:()=>v(a>0?0:.3),className:"text-zinc-400 hover:text-white transition-colors","data-testid":"button-radio-mute","aria-label":a===0?"Unmute radio":"Mute radio",children:a===0?f.jsx(Bm,{className:"w-4 h-4"}):f.jsx(Vm,{className:"w-4 h-4"})}),f.jsx("input",{type:"range",min:"0",max:"1",step:"0.05",value:a,onChange:x=>v(parseFloat(x.target.value)),className:"flex-1 h-1.5 accent-purple-400 cursor-pointer","data-testid":"input-radio-volume","aria-label":"Volume"}),f.jsxs("span",{className:"text-xs text-zinc-400 w-8 text-right",children:[Math.round(a*100),"%"]})]})]})}function Lk({hiddenOnDashboard:n=!1}){const{playing:r,station:s,volume:a,togglePlay:l,switchStation:c,setVolume:h}=xv(),[p,g]=m.useState(!0),[v,x]=m.useState(!1);return m.useEffect(()=>{r&&v&&x(!1)},[r]),n&&!r||v||!r&&!p?null:p?f.jsx("div",{className:"fixed bottom-4 right-4 z-50 w-72","data-testid":"floating-radio",children:f.jsxs("div",{className:"bg-zinc-900/95 dark:bg-zinc-900/95 border border-zinc-700/50 dark:border-zinc-700/50 rounded-xl shadow-2xl shadow-black/30 backdrop-blur-md overflow-hidden",children:[f.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/30",children:[f.jsx(ju,{className:"w-4 h-4 text-purple-400"}),f.jsx("span",{className:"text-sm font-semibold text-zinc-200",children:"Radio"}),f.jsx("span",{className:"text-xs text-zinc-500 ml-auto",children:"SomaFM"}),f.jsx("button",{onClick:()=>g(!1),className:"p-1 rounded hover:bg-white/10 text-zinc-500 hover:text-zinc-300 transition-colors","data-testid":"button-minimize-radio","aria-label":"Minimize radio player",children:f.jsx(s1,{className:"w-3.5 h-3.5"})}),f.jsx("button",{onClick:()=>{x(!0)},className:"p-1 rounded hover:bg-white/10 text-zinc-500 hover:text-zinc-300 transition-colors","data-testid":"button-close-radio","aria-label":"Close radio player",children:f.jsx(Jn,{className:"w-3.5 h-3.5"})})]}),f.jsxs("div",{className:"px-3 py-2.5",children:[f.jsxs("div",{className:"flex items-center gap-2.5 mb-2",children:[f.jsx("button",{onClick:()=>c(-1),className:"p-1 rounded hover:bg-white/10 text-zinc-400 hover:text-white transition-colors","data-testid":"button-floating-radio-prev","aria-label":"Previous station",children:f.jsx(Fm,{className:"w-3.5 h-3.5"})}),f.jsx("button",{onClick:l,className:`p-2 rounded-full transition-colors ${r?"bg-purple-500/30 text-purple-300":"bg-white/10 text-zinc-300 hover:text-white"}`,"data-testid":"button-floating-radio-play","aria-label":r?"Pause radio":"Play radio",children:r?f.jsx(Lm,{className:"w-4 h-4"}):f.jsx(zm,{className:"w-4 h-4"})}),f.jsx("button",{onClick:()=>c(1),className:"p-1 rounded hover:bg-white/10 text-zinc-400 hover:text-white transition-colors","data-testid":"button-floating-radio-next","aria-label":"Next station",children:f.jsx($m,{className:"w-3.5 h-3.5"})}),f.jsxs("div",{className:"flex-1 min-w-0 ml-1",children:[f.jsx("div",{className:"text-sm font-medium text-white truncate","data-testid":"text-floating-radio-station",children:s.name}),f.jsx("div",{className:"text-xs text-zinc-500",children:s.genre})]})]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("button",{onClick:()=>h(a>0?0:.3),className:"text-zinc-500 hover:text-white transition-colors","data-testid":"button-floating-radio-mute","aria-label":a===0?"Unmute radio":"Mute radio",children:a===0?f.jsx(Bm,{className:"w-3.5 h-3.5"}):f.jsx(Vm,{className:"w-3.5 h-3.5"})}),f.jsx("input",{type:"range",min:"0",max:"1",step:"0.05",value:a,onChange:w=>h(parseFloat(w.target.value)),className:"flex-1 h-1 accent-purple-400 cursor-pointer","data-testid":"input-floating-radio-volume"}),f.jsxs("span",{className:"text-xs text-zinc-500 w-7 text-right",children:[Math.round(a*100),"%"]})]})]})]})}):f.jsx("div",{className:"fixed bottom-4 right-4 z-50","data-testid":"floating-radio-mini",children:f.jsxs("button",{onClick:()=>g(!0),className:"flex items-center gap-2 px-3 py-2 rounded-full bg-zinc-900/95 dark:bg-zinc-900/95 bg-white/95 border border-purple-500/40 shadow-lg shadow-purple-500/10 backdrop-blur-md transition-all hover:scale-105","data-testid":"button-expand-radio",children:[f.jsx(ju,{className:"w-4 h-4 text-purple-400"}),r&&f.jsx("span",{className:"w-2 h-2 rounded-full bg-purple-400 animate-pulse"}),f.jsx("span",{className:"text-xs font-medium text-zinc-300 dark:text-zinc-300 text-zinc-700 max-w-[100px] truncate",children:s.name})]})})}const Fu=[{href:"/analyze",icon:Go,label:"Forecast"},{href:"/live",icon:nc,label:"Live"},{href:"/feed",icon:rc,label:"Feed"},{href:"/earnings",icon:zi,label:"Earnings"}],zk=new Set(Fu.map(n=>n.href)),Fk=new Set(["/privacy","/terms"]),$k=kc.map(n=>({...n,items:n.items.filter(r=>!zk.has(r.href)&&!Fk.has(r.href))})).filter(n=>n.items.length>0);function hu(n,r){return n==="/search"?r==="/"||r==="/search":r===n||r.startsWith(n+"/")}function Uk({item:n,active:r}){return f.jsx(Ho,{href:n.href,className:"flex-1",children:f.jsxs("button",{className:`relative flex flex-col items-center justify-center gap-0.5 w-full h-full transition-colors active:scale-95 ${r?"text-primary":"text-muted-foreground"}`,"data-testid":`tab-${n.label.toLowerCase().replace(/\s+/g,"-")}`,children:[r&&f.jsx("span",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full bg-primary"}),f.jsx(n.icon,{className:`w-5 h-5 ${r?"stroke-[2.5]":""}`}),f.jsx("span",{className:`text-[10px] leading-tight ${r?"font-semibold":"font-medium"}`,children:n.label})]})})}function Vk(){const[n]=Wt(),[r,s]=m.useState(!1);if(n==="/dashboard")return null;const l=!Fu.some(c=>
53hu(c.href,n));return f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-[80] sm:hidden border-t border-border bg-background/95 backdrop-blur-md safe-area-bottom","data-testid":"bottom-tab-bar",children:f.jsxs("div",{className:"flex items-stretch h-[56px]",children:[Fu.map(c=>f.jsx(Uk,{item:c,active:hu(c.href,n)},c.href)),f.jsxs("button",{onClick:()=>s(!0),className:`relative flex flex-col items-center justify-center gap-0.5 flex-1 h-full transition-colors active:scale-95 ${l?"text-primary":"text-muted-foreground"}`,"data-testid":"tab-more","aria-label":"More navigation options",children:[l&&f.jsx("span",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-8 h-0.5 rounded-full bg-primary"}),f.jsx(l1,{className:`w-5 h-5 ${l?"stroke-[2.5]":""}`}),f.jsx("span",{className:`text-[10px] leading-tight ${l?"font-semibold":"font-medium"}`,children:"More"})]})]})}),f.jsx(lv,{open:r,onOpenChange:s,children:f.jsxs(Sc,{side:"bottom",className:"z-[90] rounded-t-2xl max-h-[75vh] flex flex-col p-0",children:[f.jsx(Ec,{className:"sr-only",children:"More navigation"}),f.jsx("div",{className:"flex justify-center pt-3 pb-1 shrink-0",children:f.jsx("div",{className:"w-10 h-1 rounded-full bg-muted-foreground/30"})}),f.jsx("div",{className:"overflow-y-auto px-3 pb-8",children:$k.map(c=>f.jsxs("div",{className:"mb-4",children:[c.label&&f.jsx("p",{className:"text-[10px] uppercase tracking-widest font-semibold text-muted-foreground/60 px-2 mb-2 mt-1",children:c.label}),f.jsx("div",{className:"grid grid-cols-4 gap-1",children:c.items.map(h=>{const p=hu(h.href,n);return f.jsx(Ho,{href:h.href,children:f.jsxs("button",{onClick:()=>s(!1),className:`flex flex-col items-center justify-center gap-1 w-full py-3 rounded-xl transition-colors active:scale-95 ${p?"bg-primary/10 text-primary":"hover:bg-muted text-muted-foreground"}`,"data-testid":`more-tab-${h.label.toLowerCase().replace(/\s+/g,"-")}`,children:[f.jsx(h.icon,{className:`w-5 h-5 ${p?"stroke-[2.5]":""}`}),f.jsx("span",{className:`text-[10px] leading-tight text-center ${p?"font-semibold text-primary":"font-medium"}`,children:h.label})]})},h.href)})})]},c.label??"__top"))})]})})]})}function Bk(){const{state:n}=Hr(),r=n==="collapsed";return f.jsxs(Ho,{href:"/",className:"flex items-center gap-2.5 px-2 py-1 w-full rounded-md hover:bg-sidebar-accent transition-colors min-h-[40px]","data-testid":"sidebar-logo",children:[f.jsx("div",{className:"flex items-center justify-center w-7 h-7 rounded-lg bg-primary shrink-0",children:f.jsx("span",{className:"text-primary-foreground font-bold text-sm leading-none",children:"P"})}),!r&&f.jsxs("span",{className:"font-semibold text-sidebar-foreground text-[15px] leading-tight truncate",children:["Probabli",f.jsx("span",{className:"text-primary",children:".AI"})]})]})}function Hk({item:n}){const[r]=Wt(),{state:s}=Hr(),a=s==="collapsed",l=n.href==="/search"?r==="/search"||r==="/":r===n.href||r.startsWith(n.href+"/"),c=f.jsx(dk,{asChild:!0,isActive:l,className:a?"":"pl-6","data-testid":`sidebar-nav-${n.label.toLowerCase().replace(/\s+/g,"-")}`,children:f.jsxs(Ho,{href:n.href,children:[f.jsx(n.icon,{className:"w-4 h-4 shrink-0"}),f.jsx("span",{children:n.label})]})});return a?f.jsx(kh,{children:f.jsxs(jg,{children:[f.jsx(Og,{asChild:!0,children:c}),f.jsx(mc,{side:"right",className:"text-xs",children:n.label})]})}):f.jsx(kh,{children:c})}function Wk(){return f.jsxs(ek,{collapsible:"icon",children:[f.jsx(rk,{className:"pb-2 border-b border-sidebar-border",children:f.jsx(Bk,{})}),f.jsx(sk,{className:"py-1",children:kc.map((n,r)=>f.jsxs(ik,{className:"py-1 px-2",children:[n.label&&f.jsx(ak,{className:"text-[10px] uppercase tracking-widest font-semibold text-sidebar-foreground/40 px-2 mb-0.5",children:n.label}),f.jsx(lk,{children:f.jsx(uk,{className:"gap-0.5",children:n.items.map(s=>f.jsx(Hk,{item:s},s.href))})})]},r))}),f.jsx(ok,{className:"border-t border-sidebar-border pt-2",children:f.jsx("div",{className:"flex items-center justify-center px-2",children:f.jsx(tk,{className:"w-full h-8 text-sidebar-foreground/60 hover:text-sidebar-foreground hover:bg-sidebar-accent rounded-md transition-colors","data-testid":"sidebar-collapse-toggle"})})})]})}var Th=1,Qk=.9,Kk=.8,Gk=.17,mu=.1,gu=.999,qk=.9999,Yk=.99,Xk=/[\\\/_+.#"@\[\(\{&]/,Zk=/[\\\/_+.#"@\[\(\{&]/g,Jk=/[\s-]/,Sv=/[\s-]/g;function $u(n,r,s,a,l,c,h){if(c===r.length)return l===n.length?Th:Yk;var p=`${l},${c}`;if(h[p]!==void 0)return h[p];for(var g=a.charAt(c),v=s.indexOf(g,l),x=0,w,S,P,C;v>=0;)w=$u(n,r,s,a,v+1,c+1,h),w>x&&(v===l?w*=Th:Xk.test(n.charAt(v-1))?(w*=Kk,P=n.slice(l,v-1).match(Zk),P&&l>0&&(w*=Math.pow(gu,P.length))):Jk.test(n.charAt(v-1))?(w*=Qk,C=n.slice(l,v-1).match(Sv),C&&l>0&&(w*=Math.pow(gu,C.length))):(w*=Gk,l>0&&(w*=Math.pow(gu,v-l))),n.charAt(v)!==r.charAt(c)&&(w*=qk)),(w<mu&&s.charAt(v-1)===a.charAt(c+1)||a.charAt(c+1)===a.charAt(c)&&s.charAt(v-1)!==a.charAt(c))&&(S=$u(n,r,s,a,v+1,c+2,h),S*mu>w&&(w=S*mu)),w>x&&(x=w),v=s.indexOf(g,v+1);return h[p]=x,x}function _h(n){return n.toLowerCase().replace(Sv," ")}function eC(n,r,s){return n=s&&s.length>0?`${n+" "+s.join(" ")}`:n,$u(n,r,_h(n),_h(r),0,0,{})}var Mo='[cmdk-group=""]',vu='[cmdk-group-items=""]',tC='[cmdk-group-heading=""]',Ev='[cmdk-item=""]',jh=`${Ev}:not([aria-disabled="true"])`,Uu="cmdk-item-select",_r="data-value",nC=(n,r,s)=>eC(n,r,s),kv=m.createContext(void 0),Zo=()=>m.useContext(kv),Cv=m.createContext(void 0),Pc=()=>m.useContext(Cv),Pv=m.createContext(void 0),Nv=m.forwardRef((n,r)=>{let s=jr(()=>{var R,Q;return{search:"",value:(Q=(R=n.value)!=null?R:n.defaultValue)!=null?Q:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),a=jr(()=>new Set),l=jr(()=>new Map),c=jr(()=>new Map),h=jr(()=>new Set),p=Rv(n),{label:g,children:v,value:x,onValueChange:w,filter:S,shouldFilter:P,loop:C,disablePointerSelection:b=!1,vimBindings:k=!0,...j}=n,M=Vt(),I=Vt(),L=Vt(),F=m.useRef(null),U=pC();Zn(()=>
vendor: 11,044 bytes, line 53
53{if(x!==void 0){let R=x.trim();s.current.value=R,$.emit()}},[x]),Zn(()=>{U(6,ve)},[]);let $=m.useMemo(()=>({subscribe:R=>(h.current.add(R),()=>h.current.delete(R)),snapshot:()=>s.current,setState:(R,Q,X)=>{var K,ne,ae,he;if(!Object.is(s.current[R],Q)){if(s.current[R]=Q,R==="search")oe(),le(),U(1,ge);else if(R==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let xe=document.getElementById(L);xe?xe.focus():(K=document.getElementById(M))==null||K.focus()}if(U(7,()=>{var xe;s.current.selectedItemId=(xe=Y())==null?void 0:xe.id,$.emit()}),X||U(5,ve),((ne=p.current)==null?void 0:ne.value)!==void 0){let xe=Q??"";(he=(ae=p.current).onValueChange)==null||he.call(ae,xe);return}}$.emit()}},emit:()=>{h.current.forEach(R=>R())}}),[]),Z=m.useMemo(()=>({value:(R,Q,X)=>{var K;Q!==((K=c.current.get(R))==null?void 0:K.value)&&(c.current.set(R,{value:Q,keywords:X}),s.current.filtered.items.set(R,ie(Q,X)),U(2,()=>{le(),$.emit()}))},item:(R,Q)=>(a.current.add(R),Q&&(l.current.has(Q)?l.current.get(Q).add(R):l.current.set(Q,new Set([R]))),U(3,()=>{oe(),le(),s.current.value||ge(),$.emit()}),()=>{c.current.delete(R),a.current.delete(R),s.current.filtered.items.delete(R);let X=Y();U(4,()=>{oe(),X?.getAttribute("id")===R&&ge(),$.emit()})}),group:R=>(l.current.has(R)||l.current.set(R,new Set),()=>{c.current.delete(R),l.current.delete(R)}),filter:()=>p.current.shouldFilter,label:g||n["aria-label"],getDisablePointerSelection:()=>p.current.disablePointerSelection,listId:M,inputId:L,labelId:I,listInnerRef:F}),[]);function ie(R,Q){var X,K;let ne=(K=(X=p.current)==null?void 0:X.filter)!=null?K:nC;return R?ne(R,s.current.search,Q):0}function le(){if(!s.current.search||p.current.shouldFilter===!1)return;let R=s.current.filtered.items,Q=[];s.current.filtered.groups.forEach(K=>{let ne=l.current.get(K),ae=0;ne.forEach(he=>{let xe=R.get(he);ae=Math.max(xe,ae)}),Q.push([K,ae])});let X=F.current;ye().sort((K,ne)=>{var ae,he;let xe=K.getAttribute("id"),$e=ne.getAttribute("id");return((ae=R.get($e))!=null?ae:0)-((he=R.get(xe))!=null?he:0)}).forEach(K=>{let ne=K.closest(vu);ne?ne.appendChild(K.parentElement===ne?K:K.closest(`${vu} > *`)):X.appendChild(K.parentElement===X?K:K.closest(`${vu} > *`))}),Q.sort((K,ne)=>ne[1]-K[1]).forEach(K=>{var ne;let ae=(ne=F.current)==null?void 0:ne.querySelector(`${Mo}[${_r}="${encodeURIComponent(K[0])}"]`);ae?.parentElement.appendChild(ae)})}function ge(){let R=ye().find(X=>X.getAttribute("aria-disabled")!=="true"),Q=R?.getAttribute(_r);$.setState("value",Q||void 0)}function oe(){var R,Q,X,K;if(!s.current.search||p.current.shouldFilter===!1){s.current.filtered.count=a.current.size;return}s.current.filtered.groups=new Set;let ne=0;for(let ae of a.current){let he=(Q=(R=c.current.get(ae))==null?void 0:R.value)!=null?Q:"",xe=(K=(X=c.current.get(ae))==null?void 0:X.keywords)!=null?K:[],$e=ie(he,xe);s.current.filtered.items.set(ae,$e),$e>0&&ne++}for(let[ae,he]of l.current)for(let xe of he)if(s.current.filtered.items.get(xe)>0){s.current.filtered.groups.add(ae);break}s.current.filtered.count=ne}function ve(){var R,Q,X;let K=Y();K&&(((R=K.parentElement)==null?void 0:R.firstChild)===K&&((X=(Q=K.closest(Mo))==null?void 0:Q.querySelector(tC))==null||X.scrollIntoView({block:"nearest"})),K.scrollIntoView({block:"nearest"}))}function Y(){var R;return(R=F.current)==null?void 0:R.querySelector(`${Ev}[aria-selected="true"]`)}function ye(){var R;return Array.from(((R=F.current)==null?void 0:R.querySelectorAll(jh))||[])}function ce(R){let Q=ye()[R];Q&&$.setState("value",Q.getAttribute(_r))}function ue(R){var Q;let X=Y(),K=ye(),ne=K.findIndex(he=>he===X),ae=K[ne+R];(Q=p.current)!=null&&Q.loop&&(ae=ne+R<0?K[K.length-1]:ne+R===K.length?K[0]:K[ne+R]),ae&&$.setState("value",ae.getAttribute(_r))}function z(R){let Q=Y(),X=Q?.closest(Mo),K;for(;X&&!K;)X=R>0?dC(X,Mo):fC(X,Mo),K=X?.querySelector(jh);K?$.setState("value",K.getAttribute(_r)):ue(R)}let q=()=>ce(ye().length-1),G=R=>{R.preventDefault(),R.metaKey?q():R.altKey?z(1):ue(1)},_=R=>{R.preventDefault(),R.metaKey?ce(0):R.altKey?z(-1):ue(-1)};return m.createElement(Re.div,{ref:r,tabIndex:-1,...j,"cmdk-root":"",onKeyDown:R=>{var Q;(Q=j.onKeyDown)==null||Q.call(j,R);let X=R.nativeEvent.isComposing||R.keyCode===229;if(!(R.defaultPrevented||X))switch(R.key){case"n":case"j":{k&&R.ctrlKey&&G(R);break}case"ArrowDown":{G(R);break}case"p":case"k":{k&&R.ctrlKey&&_(R);break}case"ArrowUp":{_(R);break}case"Home":{R.preventDefault(),ce(0);break}case"End":{R.preventDefault(),q();break}case"Enter":{R.preventDefault();let K=Y();if(K){let ne=new Event(Uu);K.dispatchEvent(ne)}}}}},m.createElement("label",{"cmdk-label":"",htmlFor:Z.inputId,id:Z.labelId,style:mC},g),qi(n,R=>m.createElement(Cv.Provider,{value:$},m.createElement(kv.Provider,{value:Z},R))))}),rC=m.forwardRef((n,r)=>{var s,a;let l=Vt(),c=m.useRef(null),h=m.useContext(Pv),p=Zo(),g=Rv(n),v=(a=(s=g.current)==null?void 0:s.forceMount)!=null?a:h?.forceMount;Zn(()=>{if(!v)return p.item(l,h?.id)},[v]);let x=Tv(l,c,[n.value,n.children,c],n.keywords),w=Pc(),S=On(U=>U.value&&U.value===x.current),P=On(U=>v||p.filter()===!1?!0:U.search?U.filtered.items.get(l)>0:!0);m.useEffect(()=>{let U=c.current;if(!(!U||n.disabled))return U.addEventListener(Uu,C),()=>U.removeEventListener(Uu,C)},[P,n.onSelect,n.disabled]);function C(){var U,$;b(),($=(U=g.current).onSelect)==null||$.call(U,x.current)}function b(){w.setState("value",x.current,!0)}if(!P)return null;let{disabled:k,value:j,onSelect:M,forceMount:I,keywords:L,...F}=n;return m.createElement(Re.div,{ref:qn(c,r),...F,id:l,"cmdk-item":"",role:"option","aria-disabled":!!k,"aria-selected":!!S,"data-disabled":!!k,"data-selected":!!S,onPointerMove:k||p.getDisablePointerSelection()?void 0:b,onClick:k?void 0:C},n.children)}),oC=m.forwardRef((n,r)=>{let{heading:s,children:a,forceMount:l,...c}=n,h=Vt(),p=m.useRef(null),g=m.useRef(null),v=Vt(),x=Zo(),w=On(P=>l||x.filter()===!1?!0:P.search?P.filtered.groups.has(h):!0);Zn(()=>x.group(h),[]),Tv(h,p,[n.value,n.heading,g]);let S=m.useMemo(()=>({id:h,forceMount:l}),[l]);return m.createElement(Re.div,{ref:qn(p,r),...c,"cmdk-group":"",role:"presentation",hidden:w?void 0:!0},s&&m.createElement("div",{ref:g,"cmdk-group-heading":"","aria-hidden":!0,id:v},s),qi(n,P=>m.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":s?v:void 0},m.createElement(Pv.Provider,{value:S},P))))}),sC=m.forwardRef((n,r)=>{let{alwaysRender:s,...a}=n,l=m.useRef(null),c=On(h=>!h.search);return!s&&!c?null:m.createElement(Re.div,{ref:qn(l,r),...a,"cmdk-separator":"",role:"separator"})}),iC=m.forwardRef((n,r)=>{let{onValueChange:s,...a}=n,l=n.value!=null,c=Pc(),h=On(v=>v.search),p=On(v=>v.selectedItemId),g=Zo();return m.useEffect(()=>{n.value!=null&&c.setState("search",n.value)},[n.value]),m.createElement(Re.input,{ref:r,...a,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":g.listId,"aria-labelledby":g.labelId,"aria-activedescendant":p,id:g.inputId,type:"text",value:l?n.value:h,onChange:v=>{l||c.setState("search",v.target.value),s?.(v.target.value)}})}),aC=m.forwardRef((n,r)=>{let{children:s,label:a="Suggestions",...l}=n,c=m.useRef(null),h=m.useRef(null),p=On(v=>v.selectedItemId),g=Zo();return m.useEffect(()=>{if(h.current&&c.current){let v=h.current,x=c.current,w,S=new ResizeObserver(()=>{w=requestAnimationFrame(()=>{let P=v.offsetHeight;x.style.setProperty("--cmdk-list-height",P.toFixed(1)+"px")})});return S.observe(v),()=>{cancelAnimationFrame(w),S.unobserve(v)}}},[]),m.createElement(Re.div,{ref:qn(c,r),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":p,"aria-label":a,id:g.listId},qi(n,v=>m.createElement("div",{ref:qn(h,g.listInnerRef),"cmdk-list-sizer":""},v)))}),lC=m.forwardRef((n,r)=>{let{open:s,onOpenChange:a,overlayClassName:l,contentClassName:c,container:h,...p}=n;return m.createElement(wc,{open:s,onOpenChange:a},m.createElement(bc,{container:h},m.createElement(Yo,{"cmdk-overlay":"",className:l}),m.createElement(Xo,{"aria-label":n.label,"cmdk-dialog":"",className:c},m.createElement(Nv,{ref:r,...p}))))}),uC=m.forwardRef((n,r)=>On(s=>s.filtered.count===0)?m.createElement(Re.div,{ref:r,...n,"cmdk-empty":"",role:"presentation"}):null),cC=m.forwardRef((n,r)=>{let{progress:s,children:a,label:l="Loading...",...c}=n;return m.createElement(Re.div,{ref:r,...c,"cmdk-loading":"",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},qi(n,h=>m.createElement("div",{"aria-hidden":!0},h)))}),ut=Object.assign(Nv,{List:aC,Item:rC,Input:iC,Group:oC,Separator:sC,Dialog:lC,Empty:uC,Loading:cC});function dC(n,r){let s=n.nextElementSibling;for(;s;){if(s.matches(r))return s;s=s.nextElementSibling}}function fC(n,r){let s=n.previousElementSibling;for(;s;){if(s.matches(r))return s;s=s.previousElementSibling}}function Rv(n){let r=m.useRef(n);return Zn(()=>{r.current=n}),r}var Zn=typeof window>"u"?m.useEffect:m.useLayoutEffect;function jr(n){let r=m.useRef();return r.current===void 0&&(r.current=n()),r}function On(n){let r=Pc(),s=()=>n(r.snapshot());return m.useSyncExternalStore(r.subscribe,s,s)}function Tv(n,r,s,a=[]){let l=m.useRef(),c=Zo();return Zn(()=>{var h;let p=(()=>{var v;for(let x of s){if(typeof x=="string")return x.trim();if(typeof x=="object"&&"current"in x)return x.current?(v=x.current.textContent)==null?void 0:v.trim():l.current}})(),g=a.map(v=>v.trim());c.value(n,p,g),(h=r.current)==null||h.setAttribute(_r,p),l.current=p}),l}var pC=()=>{let[n,r]=m.useState(),s=jr(()=>new Map);return Zn(()=>{s.current.forEach(a=>a()),s.current=new Map},[n]),(a,l)=>{s.current.set(a,l),r({})}};function hC(n){let r=n.type;return typeof r=="function"?r(n.props):"render"in r?r.render(n.props):n}function qi({asChild:n,children:r},s){return n&&m.isValidElement(r)?m.cloneElement(hC(r),{ref:r.ref},s(r.props.children)):s(r)}var mC={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const gC=wc,vC=bc,_v=m.forwardRef(({className:n,...r},s)=>f.jsx(Yo,{ref:s,className:we("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",n),...r}));_v.displayName=Yo.displayName;const jv=m.forwardRef(({className:n,children:r,...s},a)=>f.jsxs(vC,{children:[f.jsx(_v,{}),f.jsxs(Xo,{ref:a,className:we("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...s,children:[r,f.jsxs(av,{className:"absolute right-4 top-4 roun
53ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[f.jsx(Jn,{className:"h-4 w-4"}),f.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));jv.displayName=Xo.displayName;const yC=({className:n,...r})=>f.jsx("div",{className:we("flex flex-col space-y-1.5 text-center sm:text-left",n),...r});yC.displayName="DialogHeader";const xC=({className:n,...r})=>f.jsx("div",{className:we("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",n),...r});xC.displayName="DialogFooter";const Ov=m.forwardRef(({className:n,...r},s)=>f.jsx(Ki,{ref:s,className:we("text-lg font-semibold leading-none tracking-tight",n),...r}));Ov.displayName=Ki.displayName;const wC=m.forwardRef(({className:n,...r},s)=>f.jsx(Gi,{ref:s,className:we("text-sm text-muted-foreground",n),...r}));wC.displayName=Gi.displayName;const Av=m.forwardRef(({className:n,...r},s)=>f.jsx(ut,{ref:s,className:we("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",n),...r}));Av.displayName=ut.displayName;const bC=({children:n,...r})=>f.jsx(gC,{...r,children:f.jsx(jv,{className:"overflow-hidden p-0 shadow-lg",children:f.jsx(Av,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:n})})}),Mv=m.forwardRef(({className:n,...r},s)=>f.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[f.jsx(Go,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),f.jsx(ut.Input,{ref:s,className:we("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...r})]}));Mv.displayName=ut.Input.displayName;const Dv=m.forwardRef(({className:n,...r},s)=>f.jsx(ut.List,{ref:s,className:we("max-h-[300px] overflow-y-auto overflow-x-hidden",n),...r}));Dv.displayName=ut.List.displayName;const Iv=m.forwardRef((n,r)=>f.jsx(ut.Empty,{ref:r,className:"py-6 text-center text-sm",...n}));Iv.displayName=ut.Empty.displayName;const Ei=m.forwardRef(({className:n,...r},s)=>f.jsx(ut.Group,{ref:s,className:we("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",n),...r}));Ei.displayName=ut.Group.displayName;const Lv=m.forwardRef(({className:n,...r},s)=>f.jsx(ut.Separator,{ref:s,className:we("-mx-1 h-px bg-border",n),...r}));Lv.displayName=ut.Separator.displayName;const ki=m.forwardRef(({className:n,...r},s)=>f.jsx(ut.Item,{ref:s,className:we("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n),...r}));ki.displayName=ut.Item.displayName;const SC=[{label:"Live Dashboard",href:"/live",icon:nc,keywords:["live","dashboard","stream"]},{label:"AI Forecast",href:"/analyze",icon:Go,keywords:["forecast","analyze","ai","search"]},{label:"Social Pulse",href:"/pulse",icon:Hm,keywords:["pulse","social","sentiment"]},{label:"Congress Trades",href:"/congress",icon:_u,keywords:["congress","trades","political"]},{label:"13F Holdings",href:"/13f",icon:jm,keywords:["13f","institutional","holdings"]},{label:"Earnings Calendar",href:"/earnings",icon:tc,keywords:["earnings","calendar"]},{label:"Portfolio Builder",href:"/portfolio",icon:Om,keywords:["portfolio","builder"]},{label:"Feed",href:"/feed",icon:rc,keywords:["feed","news"]},{label:"Feedback",href:"/contact",icon:Mm,keywords:["feedback","contact"]}],zv="probabli_recent_analyses",Fv=5;function $v(){try{const n=localStorage.getItem(zv);return n?JSON.parse(n).slice(0,Fv):[]}catch{return[]}}function EC(n,r){try{const s=$v().filter(a=>a.symbol!==n);s.unshift({symbol:n,name:r}),localStorage.setItem(zv,JSON.stringify(s.slice(0,Fv)))}catch{}}function kC(){const[n,r]=m.useState(!1),[s,a]=m.useState(""),[l,c]=m.useState([]),[h,p]=m.useState(!1),[,g]=Wt(),v=m.useRef(null);m.useEffect(()=>{function C(b){(b.metaKey||b.ctrlKey)&&b.key==="k"&&(b.preventDefault(),r(k=>!k))}return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[]),m.useEffect(()=>{n||(a(""),c([]))},[n]);const x=m.useCallback(async C=>
53{if(v.current&&v.current.abort(),!C.trim()){c([]),p(!1);return}p(!0);const b=new AbortController;v.current=b;try{const k=await fetch(`/api/finance/search-tickers?query=${encodeURIComponent(C)}`,{signal:b.signal});if(!k.ok){c([]);return}const j=await k.json();c(j.results??[])}catch(k){k?.name!=="AbortError"&&c([])}finally{p(!1)}},[]);m.useEffect(()=>{const C=setTimeout(()=>x(s),250);return()=>clearTimeout(C)},[s,x]);function w(C,b){EC(C,b),r(!1),g(`/stock/${C}`)}function S(C){r(!1),g(C)}const P=$v();return f.jsxs(bC,{open:n,onOpenChange:r,children:[f.jsx(Ko,{children:f.jsx(Ov,{children:"Search stocks and navigate"})}),f.jsx(Mv,{placeholder:"Search tickers, pages...",value:s,onValueChange:a,"data-testid":"input-command-search"}),f.jsxs(Dv,{children:[f.jsx(Iv,{children:h?"Searching...":"No results found."}),l.length>0&&f.jsx(Ei,{heading:"Stocks",children:l.map(C=>f.jsxs(ki,{value:`${C.symbol} ${C.name}`,onSelect:()=>w(C.symbol,C.name),"data-testid":`command-ticker-${C.symbol}`,children:[f.jsx(zi,{className:"w-4 h-4 text-muted-foreground"}),f.jsx("span",{className:"font-medium",children:C.symbol}),f.jsx("span",{className:"text-muted-foreground text-xs truncate",children:C.name}),C.exchange&&f.jsx("span",{className:"ml-auto text-xs text-muted-foreground",children:C.exchange})]},C.symbol))}),P.length>0&&!s&&f.jsx(Ei,{heading:"Recent",children:P.map(C=>f.jsxs(ki,{value:`recent ${C.symbol} ${C.name}`,onSelect:()=>w(C.symbol,C.name),"data-testid":`command-recent-${C.symbol}`,children:[f.jsx(a1,{className:"w-4 h-4 text-muted-foreground"}),f.jsx("span",{className:"font-medium",children:C.symbol}),f.jsx("span",{className:"text-muted-foreground text-xs truncate",children:C.name})]},C.symbol))}),(P.length>0||l.length>0)&&f.jsx(Lv,{}),f.jsx(Ei,{heading:"Pages",children:SC.map(C=>f.jsxs(ki,{value:`${C.label} ${C.keywords.join(" ")}`,onSelect:()=>S(C.href),"data-testid":`command-page-${C.label.toLowerCase().replace(/\s+/g,"-")}`,children:[f.jsx(C.icon,{className:"w-4 h-4 text-muted-foreground"}),f.jsx("span",{children:C.label})]},C.href))})]})]})}function O2(){const[n,r]=m.useState(""),[,s]=Wt();function a(l){l.preventDefault();const c=n.trim();c?(s(`/search?q=${encodeURIComponent(c)}`),r("")):s("/search")}return f.jsxs("form",{onSubmit:a,className:"hidden sm:flex items-center gap-1.5 bg-muted/60 border border-border rounded-lg px-2.5 py-1.5 hover:border-primary/40 focus-within:border-primary/60 transition-colors","data-testid":"form-header-search",children:[f.jsx(o1,{className:"w-3.5 h-3.5 text-muted-foreground shrink-0"}),f.jsx("input",{type:"text",value:n,onChange:l=>r(l.target.value),placeholder:"Ask anything...",className:"bg-transparent text-xs text-foreground placeholder:text-muted-foreground outline-none w-32 lg:w-48","data-testid":"input-header-search"}),f.jsx("button",{type:"submit",className:"text-muted-foreground hover:text-foreground transition-colors shrink-0","aria-label":"Search","data-testid":"button-header-search-submit",children:f.jsx(Go,{className:"w-3.5 h-3.5"})})]})}function CC(){return null}const Tr=[{version:"1.6.0",date:"2026-03-10",title:"Resizable Charts & Watchlist",items:["Drag-to-resize stock price chart — adjust chart height to your preference","Resizable vertical watchlist sidebar with drag handle","Watchlist sidebar toggle now shows 'Sidebar' / 'Top' label","Vertical watchlist no longer scrolls horizontally","Credit usage info banner — know when a credit is charged"]},{version:"1.5.0",date:"2026-03-09",title:"16:9 Dashboard & SEO",items:["Dashboard now fits perfectly in 16:9 viewports without scrolling","Added ads.txt and robots.txt for better SEO and ad readiness","Chart sizing optimized for both desktop and mobile"]},{version:"1.4.0",date:"2026-03-08",title:"Watchlist Reorder & UX Fixes",items:["Drag-to-reorder watchlist now uses symbol-based ordering for reliability","Fixed chart sizing on mobile and desktop — explicit height approach","Cookie consent, legal pages, and footer links on all pages"]},{version:"1.3.0",date:"2026-03-07",title:"Social Features & Feed",items:["Social feed with posts, like
53s, comments, and following","User profiles with customizable visibility","Direct messaging between users","Command palette (Ctrl+K) for quick navigation"]},{version:"1.2.0",date:"2026-03-06",title:"Portfolio Builder & Earnings",items:["Portfolio builder with allocation tracking","Earnings calendar with countdown badges","Congressional trades tracker","Institutional 13F holdings viewer"]},{version:"1.1.0",date:"2026-03-05",title:"AI Analysis & Dashboard",items:["Multi-model AI stock analysis (GPT-4o, Claude, Gemini, Grok)","Live market dashboard with real-time quotes","Social pulse sentiment tracking","Market movers, sector heatmap, and options flow"]}],Uv="probabli-last-seen-version";function PC(){try{return localStorage.getItem(Uv)}catch{return null}}function Oh(n){try{localStorage.setItem(Uv,n)}catch{}}function NC(){const[n,r]=m.useState(!1),[s,a]=m.useState(0);m.useEffect(()=>{const h=PC();if(!h){Oh(Tr[0]?.version??"");return}const p=Tr.findIndex(g=>g.version===h);if(p===-1){a(Tr.length);const g=setTimeout(()=>r(!0),2e3);return()=>clearTimeout(g)}if(p>0){a(p);const g=setTimeout(()=>r(!0),2e3);return()=>clearTimeout(g)}},[]);const l=()=>{r(!1),Oh(Tr[0]?.version??""),a(0)};if(!n)return null;const c=Tr[0]?.version??"";return f.jsxs("div",{className:"fixed inset-0 z-[200] flex items-center justify-center p-4","data-testid":"whats-new-modal",children:[f.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:l}),f.jsxs("div",{className:"relative bg-zinc-900 border border-zinc-700/50 rounded-2xl shadow-2xl w-full max-w-md max-h-[80vh] flex flex-col overflow-hidden animate-fade-in",children:[f.jsxs("div",{className:"px-5 pt-5 pb-3 border-b border-zinc-800 flex items-center justify-between shrink-0",children:[f.jsxs("div",{className:"flex items-center gap-2.5",children:[f.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center",children:f.jsx(Um,{className:"w-4 h-4 text-white"})}),f.jsxs("div",{children:[f.jsx("h2",{className:"text-base font-bold text-white","data-testid":"text-whats-new-title",children:"What's New"}),f.jsxs("p",{className:"text-[11px] text-zinc-500",children:["v",c," · ",s," update",s!==1?"s":""," since your last visit"]})]})]}),f.jsx("button",{onClick:l,className:"w-7 h-7 rounded-md flex items-center justify-center text-zinc-400 hover:text-white hover:bg-white/10 transition-colors","data-testid":"button-dismiss-whats-new",children:f.jsx(Jn,{className:"w-4 h-4"})})]}),f.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin px-5 py-3 space-y-4",children:Tr.map((h,p)=>{const g=p<s;return f.jsxs("div",{className:`relative ${p>0?"pt-4 border-t border-zinc-800/50":""}`,children:[f.jsxs("div",{className:"flex items-center gap-2 mb-1.5",children:[g&&f.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-blue-500 shrink-0"}),f.jsx("span",{className:"text-sm font-semibold text-white",children:h.title}),f.jsx("span",{className:"ml-auto text-[10px] text-zinc-500 font-mono",children:h.date})]}),f.jsxs("div",{className:"text-[11px] text-zinc-500 mb-1.5 font-mono",children:["v",h.version]}),f.jsx("ul",{className:"space-y-1",children:h.items.map((v,x)=>f.jsxs("li",{className:"flex items-start gap-1.5 text-xs text-zinc-300",children:[f.jsx(Am,{className:"w-3 h-3 text-zinc-600 mt-0.5 shrink-0"}),f.jsx("span",{children:v})]},x))})]},h.version)})}),f.jsx("div",{className:"px-5 py-3 border-t border-zinc-800 shrink-0",children:f.jsx("button",{onClick:l,className:"w-full py-2 rounded-lg bg-blue-600 hover:bg-blue-500 text-white text-sm font-semibold transition-colors","data-testid":"button-got-it-whats-new",children:"Got it"})})]})]})}function RC(){const[n]=Wt();return n==="/ads"?null:f.jsx("footer",{className:"mt-auto bg-background border-t border-border py-6 px-4 text-center text-xs leading-relaxed text-muted-foreground","data-testid":"financial-disclaimer",children:f.jsxs("div",{className:"max-w-4xl mx-auto space-y-2",children:[f.jsxs("p",{children:[f.jsx("strong",{children:"Financial Disclaimer:"})," The information provided on this platform is for educational and informational purposes only. It does not constitute professional financial advice, investment recommendations, or an offer to buy or sell any securities."]}),f.jsx("p",{children:"Past performance is not indicative of future results. Market analysis, forecasts, and sentiment indicators carry inherent risks and may not accurately predict market movements. Always consult with a qualified financial advisor before making investment decisions."}),f.jsx("p",{children:"Probabli.AI and its contributors are not liable for any financial losses or decisions made based on information from this platform. Use this information at your own risk."})]})})}const Ah=60;function TC(n){let r=n;for(;r&&r!==document.body;){const a=window.getComputedStyle(r).overflowX;if((a==="auto"||a==="scroll")&&r.scrollWidth>r.clientWidth)return!0;r=r.parentElement}return!1}function _C(n,r,s){const a=m.useRef(null),l=m.useRef(n),c=m.useRef(r);m.useEffect(()=>{l.current=n},[n]),m.useEffect(()=>{c.current=r},[r]),m.useEffect(()=>{if(!s?.attachToDocument)return;let g=0,v=0,x=!1;const w=P=>{g=P.touches[0].clientX,v=P.touches[0].clientY,x=TC(P.target)},S=P=>{if(x){x=!1;return}const C=P.changedTouches[0].clientX-g,b=P.changedTouches[0].clientY-v;Math.abs(C)>Math.abs(b)&&Math.abs(C)>Ah&&(C<0?l.current():c.current())};return document.addEventListener("touchstart",w,{passive:!0}),document.addEventListener("touchend",S,{passive:!0}),()=>{document.removeEventListener("touchstart",w),document.removeEventListener("touchend",S)}},[s?.attachToDocument]);const h=m.useCallback(g=>{const v=g.touches[0];a.current={x:v.clientX,y:v.clientY}},[]),p=m.useCallback(g=>{if(!a.current)return;const v=g.changedTouches[0].clientX-a.current.x,x=g.changedTouches[0].clientY-a.current.y;a.current=null,Math.abs(v)>
53Math.abs(x)&&Math.abs(v)>Ah&&(v<0?n():r())},[n,r]);return{onTouchStart:h,onTouchEnd:p}}function jC(){const[n,r]=Wt(),{pageOrder:s}=bk(),a=m.useRef(0),l=n.split("?")[0].split("#")[0],c=s.findIndex(v=>v.href===l),h=c!==-1,p=m.useCallback(()=>{const v=Date.now();if(v-a.current<600)return;a.current=v;const x=s.findIndex(w=>w.href===window.location.pathname);x>0&&r(s[x-1].href)},[r,s]),g=m.useCallback(()=>{const v=Date.now();if(v-a.current<600)return;a.current=v;const x=s.findIndex(w=>w.href===window.location.pathname);x!==-1&&x<s.length-1&&r(s[x+1].href)},[r,s]);return _C(g,p,{attachToDocument:h}),{goPrev:p,goNext:g,currentIdx:c,pages:s,isNavPage:h}}const OC=m.lazy(()=>ke(()=>import("./Home-Xim8QfQB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))),AC=m.lazy(()=>ke(()=>import("./StockDashboard-hRQRS3xV.js"),__vite__mapDeps([25,1,26,2,3,27,4,5,6,7,8,9,28,29,30,31,17,11,32,33,34,35,36,37,38,13,39,40,41,20,24,10,42,43,44,15,45,46,47,23,48,49,50,51,21,52,53,54,55]))),MC=m.lazy(()=>ke(()=>import("./BondsPage-0-Sd_-9N.js"),__vite__mapDeps([56,4,5,6,7,8,9,10,57,1,58,59,34,50,37,60,12]))),DC=m.lazy(()=>ke(()=>import("./BondDetailPage-DDoYpMzL.js"),__vite__mapDeps([61,4,5,6,7,8,9,10,15,1,59,47,62,34,44,36]))),IC=m.lazy(()=>ke(()=>import("./TreasuryBondDetailPage-BkSVXQ7u.js"),__vite__mapDeps([63,4,5,6,7,8,9,10,15,1,47,62]))),LC=m.lazy(()=>ke(()=>import("./CongressTrades-8ePfNJ8W.js"),__vite__mapDeps([64,1,3,2,4,5,6,7,8,9,10,65,42,43,15,16,17,57,18,19,20,21,12,22,58]))),zC=m.lazy(()=>ke(()=>import("./SocialPulse-B7sc-8kB.js"),__vite__mapDeps([66,1,40,3,2,4,5,6,7,8,9,10,15,16,17,22,12,14,13,20]))),FC=m.lazy(()=>ke(()=>import("./InstitutionalHoldings-DnUimBsZ.js"),__vite__mapDeps([67,1,3,2,29,30,8,31,6,17,68,4,5,7,9,10,15,16,57,22,20,42,69,14]))),$C=m.lazy(()=>ke(()=>import("./StreamOverlay-DOhAsgVy.js"),__vite__mapDeps([70,1,26,33,34,35,36,40,11,7,6,48,51,9,46,20,71,72,37,73,13,17,74,75,23]))),UC=m.lazy(()=>ke(()=>import("./PortfolioBuilder-Uj6-uIQF.js"),__vite__mapDeps([76,77,34,62,1,26,3,2,4,5,6,7,8,9,15,46,13,65,43,17,51,24,39,78,79,49,52,80,72,35,37]))),VC=m.lazy(()=>ke(()=>import("./EarningsCalendar-CbnxV1Rv.js"),__vite__mapDeps([81,1,2,82,4,5,6,7,8,9,10,15,57,18,19,20,21,12,22,58,48,17]))),BC=m.lazy(()=>ke(()=>import("./EarningsPage-S_Pchrxm.js"),__vite__mapDeps([83,15,3,4,5,6,7,8,9,10,57,1,58,34,50,37]))),HC=m.lazy(()=>ke(()=>import("./Contact-DzwEUKRW.js"),__vite__mapDeps([84,1,28,3,29,30,8,31,6,17,85,4,5,7,9,10,55]))),WC=m.lazy(()=>ke(()=>import("./PrivacyPolicy-BhBWqpNP.js"),__vite__mapDeps([86,1,4,5,6,7,8,9,10]))),QC=m.lazy(()=>ke(()=>import("./TermsOfService-BMQhmhGg.js"),__vite__mapDeps([87,1,4,5,6,7,8,9,10]))),KC=m.lazy(()=>ke(()=>import("./About-D0wk97pd.js"),__vite__mapDeps([88,1,40,3,4,5,6,7,8,9,10,38,42,69]))),GC=m.lazy(()=>ke(()=>import("./UserProfile-CyyplHiT.js"),__vite__mapDeps([89,26,2,3,82,31,6,4,5,7,8,9,47,75,39,42,53,55]))),qC=m.lazy(()=>ke(()=>import("./ProfileSettings-Dw5urt1D.js"),__vite__mapDeps([90,26,4,5,6,7,8,9,3,85,28,68,31,29,30,17,82,47,75,74]))),YC=m.lazy(()=>ke(()=>import("./Messages-D4n0rYQ2.js"),__vite__mapDeps([91,26,3,82,4,5,6,7,8,9,47,75,55]))),XC=m.lazy(()=>ke(()=>import("./Feed-j4byoRLb.js"),__vite__mapDeps([92,93,1,26,2,82,4,5,6,7,8,9,10,32,15,16,17,94,41,95,18,19,20,21,12,96,29,30,31,42,97,51,73,55,52,53,54,48,23,75]))),ZC=m.lazy(()=>ke(()=>import("./AdsVerification-Cr87WXjl.js"),[])),JC=m.lazy(()=>ke(()=>import("./Resources-W84ULcwC.js"),__vite__mapDeps([98,1,26,94,6,41,22,4,5,7,8,9,17,80,23]))),e2=m.lazy(()=>ke(()=>import("./MacroDashboard-BOopGSls.js"),__vite__mapDeps([99,1,4,5,6,7,8,9,10,57,15,94,41,95,18,19,20,21,12,22,82,2,58,43,34,44,36,46]))),t2=m.lazy(()=>ke(()=>import("./DividendsPage-CTiT5But.js"),__vite__mapDeps([100,1,26,3,2,85,29,30,8,31,6,17,4,5,7,9,10,15,95,94,41,18,19,20,21,12,22,57,60,27,77,34,62,58,49,51,46,48,50,37,52,43,39,72,35,97,79]))),n2=m.lazy(()=>ke(()=>import("./InsiderPage-B9PQfBSU.js"),__vite__mapDeps([101,15,18,19,20,21,12,22,3,29,30,8,31,6,17,4,5,7,9,10,57,1,58,34,50,37]))),Mh=m.lazy(()=>ke(()=>import("./SearchPage-ChOILClO.js"),__vite__mapDeps([102,26,1,10,94,6,41,95,5,7,22,82,2,71,19,23,12]))),r2=m.lazy(()=>ke(()=>import("./ArticlePage-CFuGJbo1.js"),__vite__mapDeps([103,15,26,1,4,5,6,7,8,9,10,95,94,41,18,19,20,21,12,22,2,82,29,30,31,17,96,93,47,52,53,48,54,55,78,79]))),vi=m.lazy(()=>ke(()=>import("./ArticlesPage-CGxNtJxw.js"),__vite__mapDeps([104,26,93,1,4,5,6,7,8,9,10,2,82,28,85,29,30,31,17,94,41,95,18,19,20,21,12,22,39,52,53,79,51,54]))),o2=m.lazy(()=>ke(()=>import("./not-found-BvlFcz91.js"),[])),s2=m.lazy(()=>ke(()=>import("./AIChat-CY0sO12R.js"),__vite__mapDeps([105,26,28,8,30,2,1,51,79,55,6,39]))
53),i2=m.lazy(()=>ke(()=>import("./SectorHub-CsdGZee_.js"),__vite__mapDeps([106,1,4,5,6,7,8,9,10,2,107,108,13]))),a2=m.lazy(()=>ke(()=>import("./StocksIndex-CiZvsgwe.js"),__vite__mapDeps([109,1,4,5,6,7,8,9,10,108,13]))),l2=m.lazy(()=>ke(()=>import("./Methodology-BPr9OGVf.js"),__vite__mapDeps([110,4,5,6,7,8,9,10,1]))),u2=m.lazy(()=>ke(()=>import("./ForecastAccuracy-B2phJylr.js"),__vite__mapDeps([111,4,5,6,7,8,9,10,1]))),c2=m.lazy(()=>ke(()=>import("./StockLandingPage-Cdi3DqwM.js"),__vite__mapDeps([112,4,5,6,7,8,9,10,1,45])));function d2(){const{goPrev:n,goNext:r,currentIdx:s,pages:a,isNavPage:l}=jC(),{open:c}=Hr();if(!l)return null;const h=s>0?a[s-1]:null,p=s<a.length-1?a[s+1]:null,g="fixed top-1/2 -translate-y-1/2 z-40 hidden sm:flex flex-col items-center justify-center gap-0.5 w-10 h-16 rounded-lg bg-background/80 border border-border/50 shadow-md opacity-30 hover:opacity-90 transition-all duration-200 ease-linear text-muted-foreground hover:text-foreground";return f.jsxs(f.Fragment,{children:[h&&f.jsxs("button",{onClick:n,"data-testid":"page-nav-prev","aria-label":`Go to ${h.label}`,className:`${g} left-2 ${c?"md:left-[calc(var(--sidebar-width)+0.5rem)]":"md:left-[calc(var(--sidebar-width-icon)+0.5rem)]"}`,children:[f.jsx(i1,{className:"w-4 h-4 shrink-0"}),f.jsx("span",{className:"text-[10px] leading-tight text-center w-full px-0.5 truncate",children:h.label})]}),p&&f.jsxs("button",{onClick:r,"data-testid":"page-nav-next","aria-label":`Go to ${p.label}`,className:`${g} right-2`,children:[f.jsx(Am,{className:"w-4 h-4 shrink-0"}),f.jsx("span",{className:"text-[10px] leading-tight text-center w-full px-0.5 truncate",children:p.label})]})]})}function f2(){return f.jsx(m.Suspense,{fallback:f.jsx("div",{className:"min-h-screen"}),children:f.jsxs(yx,{children:[f.jsx(Se,{path:"/",component:Mh}),f.jsx(Se,{path:"/live",component:$C}),f.jsx(Se,{path:"/analyze",component:OC}),f.jsx(Se,{path:"/stock/:symbol",component:AC}),f.jsx(Se,{path:"/bonds",component:MC}),f.jsx(Se,{path:"/bonds/treasury/:cusip",component:IC}),f.jsx(Se,{path:"/bonds/:symbol",component:DC}),f.jsx(Se,{path:"/stocks",component:a2}),f.jsx(Se,{path:"/stocks/:ticker/:topic",component:c2}),f.jsx(Se,{path:"/stocks/:sector",component:i2}),f.jsx(Se,{path:"/congress",component:LC}),f.jsx(Se,{path:"/pulse",component:zC}),f.jsx(Se,{path:"/13f",component:FC}),f.jsx(Se,{path:"/portfolio",component:UC}),f.jsx(Se,{path:"/earnings",component:BC}),f.jsx(Se,{path:"/calendar",component:VC}),f.jsx(Se,{path:"/contact",component:HC}),f.jsx(Se,{path:"/privacy",component:WC}),f.jsx(Se,{path:"/terms",component:QC}),f.jsx(Se,{path:"/about",component:KC}),f.jsx(Se,{path:"/methodology",component:l2}),f.jsx(Se,{path:"/forecast-accuracy",component:u2}),f.jsx(Se,{path:"/profile/:userId",component:GC}),f.jsx(Se,{path:"/settings",component:qC}),f.jsx(Se,{path:"/messages",component:YC}),f.jsx(Se,{path:"/articles",component:vi}),f.jsx(Se,{path:"/articles/page/:page",component:vi}),f.jsx(Se,{path:"/articles/ticker/:symbol",component:vi}),f.jsx(Se,{path:"/articles/ticker/:symbol/page/:page",component:vi}),f.jsx(Se,{path:"/articles/:slug",component:r2}),f.jsx(Se,{path:"/feed",component:XC}),f.jsx(Se,{path:"/ads",component:ZC}),f.jsx(Se,{path:"/resources",component:JC}),f.jsx(Se,{path:"/macro",component:e2}),f.jsx(Se,{path:"/dividends",component:t2}),f.jsx(Se,{path:"/insider",component:n2}),f.jsx(Se,{path:"/search",component:Mh}),f.jsx(Se,{path:"/chat",component:s2}),f.jsx(Se,{path:"/dashboard",children:()=>f.jsx(xx,{to:"/live"})}),f.jsx(Se,{component:o2})]})})}function p2(){const n=bv(r=>r.fetchUser);return m.useEffect(()=>{n()},[n]),null}function h2(){return m.useEffect(()=>{const n=()=>fetch("/api/heartbeat",{method:"POST",credentials:"include"}).catch(()=>{});n();const r=setInterval(n,3e4);return()=>clearInterval(r)},[]),null}function m2(){const[n]=Wt(),r=n==="/live"||n==="/dashboard";return f.jsx(Lk,{hiddenOnDashboard:r})}function g2(){const[n]=Wt();return n==="/live"||n==="/dashboard"||n==="/ads"?null:f.jsx(jk,{})}function v2(){const[n]=Wt();return n==="/ads"?null:f.jsxs(f.Fragment,{children:[f.jsx(Ik,{}),f.jsx(kC,{}),f.jsx(nb,{}),f.jsx(Vk,{}),f.jsx(CC,{}),f.jsx(NC,{}),f.jsx(RC,{}),f.jsx(m2,{}),f.jsx(d2,{})]})}const Dh="sidebar-open-v1";function y2(){const[n,r]=m.useState(()=>{try{const a=localStorage.getItem(Dh);return a!==null?a==="true":!0}catch{return!0}});function s(a){r(a);try{localStorage.setItem(Dh,String(a))}catch{}}return f.jsxs(JE,{open:n,onOpenChange:s,children:[f.jsx(Wk,{}),f.jsxs(nk,{children:[f.jsx(g2,{}),f.jsx(f2,{}),f.jsx(v2,{})]})]})}function x2(){return f.jsx(pk,{children:f.jsx(gk,{children:f.jsx(xk,{children:f.jsx(Sk,{children:f.jsx(Ek,{children:f.jsx($x,{client:ew,children:f.jsx(Pk,{children:f.jsxs(_g,{children:[f.jsx(p2,{}),f.jsx(h2,{}),f.jsx(y2,{})]})})})})})})})})}Q0.createRoot(document.getElementById("root")).render(f.jsx(x2,{}));export{n1 as $,Rk as A,Lo as B,o1 as C,gC as D,Mm as E,f1 as F,_C as G,h1 as H,IS as I,i1 as J,Am as K,Ho as L,Dm as M,u1 as N,nc as O,Re as P,zm as Q,p1 as R,Go as S,x1 as T,Im as U,d1 as V,Vm as W,Jn as X,Bm as Y,Hm as Z,ke as _,m1 as a,Mi as a$,th as a0,_u as a1,a1 as a2,Fx as a3,jg as a4,Og as a5,mc as a6,j2 as a7,k2 as a8,C2 as a9,vw as aA,kt as aB,Kb as aC,qb as aD,Yb as aE,Zb as aF,Jb as aG,tS as aH,eS as aI,Xb as aJ,Fb as aK,aw as aL,ME as aM,Hg as aN,N2 as aO,P2 as aP,_g as aQ,Li as aR,pg as aS,dS as aT,mw as aU,Ko as aV,fS as aW,Yu as aX,GS as aY,$o as aZ,Dg as a_,c1 as aa,v1 as ab,t1 as ac,rc as ad,Et as ae,Tm as af,qu as ag,nt as ah,Xu as ai,Me as aj,$r as ak,oS as al,nh as am,w1 as an,b2 as ao,Ik as ap,Do as aq,xC as ar,Vt as as,Ih as at,w2 as au,qn as av,zh as aw,Rn as ax,_2 as ay,Ai as az,zi as b,pS as b0,hS as b1,r1 as b2,Wo as b3,wu as b4,zo as b5,Ox as b6,qe as b7,Wp as b8,Wx as b9,ju as ba,g1 as bb,e1 as bc,sm as bd,bk as be,O2 as bf,vk as bg,Wt as c,iw as d,bv as e,Zl as f,me as g,Qo as h,we as i,f as j,y1 as k,s1 as l,Um as m,jv as n,yC as o,Ov as p,ew as q,m as r,T2 as s,mx as t,Kp as u,R2 as v,Ck as w,tc as x,Om as y,jm as z};

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.