PageSourceSearch

https://fmaia.github.io/assets/index-BGC4A4k2.js

js fmaia.github.io collected 2026-10-03 09:12:13 UTC 334,250 bytes, 143 lines download raw bytes

vendor: 6,019 bytes, lines 1-9
1var kc=e=>{throw TypeError(e)};var ml=(e,t,n)=>t.has(e)||kc("Cannot "+n);var b=(e,t,n)=>(ml(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?kc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),B=(e,t,n,r)=>(ml(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Pe=(e,t,n)=>(ml(e,t,"access private method"),n);var yi=(e,t,n,r)=>({set _(o){B(e,t,o,n)},get _(){return b(e,t,r)}});function Mg(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Nf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rf={exports:{}},Ds={},Mf={exports:{}},G={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var li=Symbol.for("react.element"),Og=Symbol.for("react.portal"),Ag=Symbol.for("react.fragment"),jg=Symbol.for("react.strict_mode"),_g=Symbol.for("react.profiler"),Lg=Symbol.for("react.provider"),Dg=Symbol.for("react.context"),Ig=Symbol.for("react.forward_ref"),Fg=Symbol.for("react.suspense"),zg=Symbol.for("react.memo"),$g=Symbol.for("react.lazy"),Pc=Symbol.iterator;function Ug(e){return e===null||typeof e!="object"?null:(e=Pc&&e[Pc]||e["@@iterator"],typeof e=="function"?e:null)}var Of={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Af=Object.assign,jf={};function oo(e,t,n){this.props=e,this.context=t,this.refs=jf,this.updater=n||Of}oo.prototype.isReactComponent={};oo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};oo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _f(){}_f.prototype=oo.prototype;function iu(e,t,n){this.props=e,this.context=t,this.refs=jf,this.updater=n||Of}var su=iu.prototype=new _f;su.constructor=iu;Af(su,oo.prototype);su.isPureReactComponent=!0;var bc=Array.isArray,Lf=Object.prototype.hasOwnProperty,lu={current:null},Df={key:!0,ref:!0,__self:!0,__source:!0};function If(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Lf.call(t,r)&&!Df.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:li,type:e,key:i,ref:s,props:o,_owner:lu.current}}function Bg(e,t){return{$$typeof:li,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function au(e){return typeof e=="object"&&e!==null&&e.$$typeof===li}function Vg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Tc=/\/+/g;function gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Vg(""+e.key):t.toString(36)}function Ui(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case li:case Og:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+gl(s,0):r,bc(o)?(n="",e!=null&&(n=e.replace(Tc,"$&/")+"/"),Ui(o,t,n,"",function(u){return u})):o!=null&&(au(o)&&(o=Bg(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Tc,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",bc(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+gl(i,l);s+=Ui(i,t,n,a,o)}else if(a=Ug(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+gl(i,l++),s+=Ui(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function wi(e,t,n){if(e==null)return e;var r=[],o=0;return Ui(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Hg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Le={current:null},Bi={transition:null},Wg={ReactCurrentDispatcher:Le,ReactCurrentBatchConfig:Bi,ReactCurrentOwner:lu};function Ff(){throw Error("act(...) is not supported in production builds of React.")}G.Children={map:wi,forEach:function(e,t,n){wi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return wi(e,function(){t++}),t},toArray:function(e){return wi(e,function(t){return t})||[]},only:function(e){if(!au(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};
vendor: 5,329 bytes, lines 9-25
9G.Component=oo;G.Fragment=Ag;G.Profiler=_g;G.PureComponent=iu;G.StrictMode=jg;G.Suspense=Fg;G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wg;G.act=Ff;G.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Af({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=lu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Lf.call(t,a)&&!Df.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:li,type:e.type,key:o,ref:i,props:r,_owner:s}};G.createContext=function(e){return e={$$typeof:Dg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Lg,_context:e},e.Consumer=e};G.createElement=If;G.createFactory=function(e){var t=If.bind(null,e);return t.type=e,t};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:Ig,render:e}};G.isValidElement=au;G.lazy=function(e){return{$$typeof:$g,_payload:{_status:-1,_result:e},_init:Hg}};G.memo=function(e,t){return{$$typeof:zg,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=Bi.transition;Bi.transition={};try{e()}finally{Bi.transition=t}};G.unstable_act=Ff;G.useCallback=function(e,t){return Le.current.useCallback(e,t)};G.useContext=function(e){return Le.current.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e){return Le.current.useDeferredValue(e)};G.useEffect=function(e,t){return Le.current.useEffect(e,t)};G.useId=function(){return Le.current.useId()};G.useImperativeHandle=function(e,t,n){return Le.current.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return Le.current.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return Le.current.useLayoutEffect(e,t)};G.useMemo=function(e,t){return Le.current.useMemo(e,t)};G.useReducer=function(e,t,n){return Le.current.useReducer(e,t,n)};G.useRef=function(e){return Le.current.useRef(e)};G.useState=function(e){return Le.current.useState(e)};G.useSyncExternalStore=function(e,t,n){return Le.current.useSyncExternalStore(e,t,n)};G.useTransition=function(){return Le.current.useTransition()};G.version="18.3.1";Mf.exports=G;var x=Mf.exports;const O=Nf(x),zf=Mg({__proto__:null,default:O},[x]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Qg=x,Kg=Symbol.for("react.element"),Gg=Symbol.for("react.fragment"),Yg=Object.prototype.hasOwnProperty,qg=Qg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xg={key:!0,ref:!0,__self:!0,__source:!0};function $f(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Yg.call(t,r)&&!Xg.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Kg,type:e,key:i,ref:s,props:o,_owner:qg.current}}Ds.Fragment=Gg;Ds.jsx=$f;Ds.jsxs=$f;Rf.exports=Ds;var y=Rf.exports,Uf={exports:{}},Je={},Bf={exports:{}},Vf={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(T,N){var L=T.length;T.push(N);e:for(;0<L;){var H=L-1>>>1,F=T[H];if(0<o(F,N))T[H]=N,T[L]=F,L=H;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var N=T[0],L=T.pop();if(L!==N){T[0]=L;e:for(var H=0,F=T.length,K=F>>>1;H<K;){var q=2*(H+1)-1,he=T[q],ke=q+1,Z=T[ke];if(0>o(he,L))ke<F&&0>o(Z,he)?(T[H]=Z,T[ke]=L,H=ke):(T[H]=he,T[q]=L,H=q);else if(ke<F&&0>o(Z,L))T[H]=Z,T[ke]=L,H=ke;else break e}}return N}function o(T,N){var L=T.sortIndex-N.sortIndex;return L!==0?L:T.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,h=3,d=!1,S=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(T){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=T)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function C(T){if(v=!1,g(T),!S)if(n(a)!==null)S=!0,$(E);else{var N=n(u);N!==null&&V(C,N.startTime-T)}}function E(T,N){S=!1,v&&(v=!1,m(R),R=-1),d=!0;var L=h;try{for(g(N),f=n(a);f!==null&&(!(f.expirationTime>N)||T&&!z());){var H=f.callback;if(typeof H=="function"){f.callback=null,h=f.priorityLevel;var F=H(f.expirationTime<=N);N=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(a)&&r(a),g(N)}else r(a);f=n(a)}if(f!==null)var K=!0;else{var q=n(u);
vendor: 8,937 bytes, lines 25-34
25q!==null&&V(C,q.startTime-N),K=!1}return K}finally{f=null,h=L,d=!1}}var k=!1,P=null,R=-1,j=5,A=-1;function z(){return!(e.unstable_now()-A<j)}function I(){if(P!==null){var T=e.unstable_now();A=T;var N=!0;try{N=P(!0,T)}finally{N?Q():(k=!1,P=null)}}else k=!1}var Q;if(typeof p=="function")Q=function(){p(I)};else if(typeof MessageChannel<"u"){var _=new MessageChannel,Y=_.port2;_.port1.onmessage=I,Q=function(){Y.postMessage(null)}}else Q=function(){w(I,0)};function $(T){P=T,k||(k=!0,Q())}function V(T,N){R=w(function(){T(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){S||d||(S=!0,$(E))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(T){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var L=h;h=N;try{return T()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,N){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var L=h;h=T;try{return N()}finally{h=L}},e.unstable_scheduleCallback=function(T,N,L){var H=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?H+L:H):L=H,T){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=L+F,T={id:c++,callback:N,priorityLevel:T,startTime:L,expirationTime:F,sortIndex:-1},L>H?(T.sortIndex=L,t(u,T),n(a)===null&&T===n(u)&&(v?(m(R),R=-1):v=!0,V(C,L-H))):(T.sortIndex=F,t(a,T),S||d||(S=!0,$(E))),T},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(T){var N=h;return function(){var L=h;h=N;try{return T.apply(this,arguments)}finally{h=L}}}})(Vf);Bf.exports=Vf;var Jg=Bf.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Zg=x,Xe=Jg;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Hf=new Set,Fo={};function ur(e,t){Yr(e,t),Yr(e+"Capture",t)}function Yr(e,t){for(Fo[e]=t,e=0;e<t.length;e++)Hf.add(t[e])}var Gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ql=Object.prototype.hasOwnProperty,ev=/^[: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]*$/,Nc={},Rc={};function tv(e){return ql.call(Rc,e)?!0:ql.call(Nc,e)?!1:ev.test(e)?Rc[e]=!0:(Nc[e]=!0,!1)}function nv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rv(e,t,n,r){if(t===null||typeof t>"u"||nv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 De(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ee[e]=new De(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ee[t]=new De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ee[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ee[e]=new De(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){Ee[e]=new De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ee[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ee[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ee[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ee[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var uu=/[\-:]([a-z])/g;function cu(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(uu,cu);Ee[t]=new De(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(uu,cu);Ee[t]=new De(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(uu,cu);Ee[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ee[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});Ee.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ee[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function du(e,t,n,r){var o=Ee.hasOwnProperty(t)?Ee[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(rv(t,n,o,r)&&(n=null),r||o===null?tv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var en=Zg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xi=Symbol.for("react.element"),xr=Symbol.for("react.portal"),Sr=Symbol.for("react.fragment"),fu=Symbol.for("react.strict_mode"),Xl=Symbol.for("react.profiler"),Wf=Symbol.for("react.provider"),Qf=Symbol.for("react.context"),pu=Symbol.for("react.forward_ref"),Jl=Symbol.for("react.suspense"),Zl=Symbol.for("react.suspense_list"),hu=Symbol.for("react.memo"),fn=Symbol.for("react.lazy"),Kf=Symbol.for("react.offscreen"),Mc=Symbol.iterator;function po(e){return e===null||typeof e!="object"?null:(e=Mc&&e[Mc]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,vl;function ko(e){if(vl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);vl=t&&t[1]||""}return`
34`+vl+e}var yl=!1;function wl(e,t){if(!e||yl)return"";yl=!0;var n=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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 6,732 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
37`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{yl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ko(e):""}function ov(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=wl(e.type,!1),e;case 11:return e=wl(e.type.render,!1),e;case 1:return e=wl(e.type,!0),e;default:return""}}function ea(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 Sr:return"Fragment";case xr:return"Portal";case Xl:return"Profiler";case fu:return"StrictMode";case Jl:return"Suspense";case Zl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qf:return(e.displayName||"Context")+".Consumer";case Wf:return(e._context.displayName||"Context")+".Provider";case pu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hu:return t=e.displayName||null,t!==null?t:ea(e.type)||"Memo";case fn:t=e._payload,e=e._init;try{return ea(e(t))}catch{}}return null}function iv(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 ea(t);case 8:return t===fu?"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 An(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sv(e){var t=Gf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Si(e){e._valueTracker||(e._valueTracker=sv(e))}function Yf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function os(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 ta(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Oc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=An(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function qf(e,t){t=t.checked,t!=null&&du(e,"checked",t,!1)}function na(e,t){qf(e,t);var n=An(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ra(e,t.type,n):t.hasOwnProperty("defaultValue")&&ra(e,t.type,An(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ac(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ra(e,t,n){(t!=="number"||os(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Po=Array.isArray;function Ar(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+An(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function oa(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function jc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(Po(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:An(n)}}function Xf(e,t){var n=An(t.value),r=An(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function _c(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Jf(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 ia(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Jf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ci,Zf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ci=Ci||document.createElement("div"),Ci.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ci.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zo(e,t){if(t){var n=e.firstChild;
vendor: 2,447 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var No={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},lv=["Webkit","ms","Moz","O"];Object.keys(No).forEach(function(e){lv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),No[t]=No[e]})});function ep(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||No.hasOwnProperty(e)&&No[e]?(""+t).trim():t+"px"}function tp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ep(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var av=ce({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 sa(e,t){if(t){if(av[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function la(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 aa=null;function mu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ua=null,jr=null,_r=null;function Lc(e){if(e=ci(e)){if(typeof ua!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Us(t),ua(e.stateNode,e.type,t))}}function np(e){jr?_r?_r.push(e):_r=[e]:jr=e}function rp(){if(jr){var e=jr,t=_r;if(_r=jr=null,Lc(e),t)for(e=0;e<t.length;e++)Lc(t[e])}}function op(e,t){return e(t)}function ip(){}var xl=!1;
vendor: 5,499 bytes, line 37
37function sp(e,t,n){if(xl)return e(t,n);xl=!0;try{return op(e,t,n)}finally{xl=!1,(jr!==null||_r!==null)&&(ip(),rp())}}function $o(e,t){var n=e.stateNode;if(n===null)return null;var r=Us(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var ca=!1;if(Gt)try{var ho={};Object.defineProperty(ho,"passive",{get:function(){ca=!0}}),window.addEventListener("test",ho,ho),window.removeEventListener("test",ho,ho)}catch{ca=!1}function uv(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ro=!1,is=null,ss=!1,da=null,cv={onError:function(e){Ro=!0,is=e}};function dv(e,t,n,r,o,i,s,l,a){Ro=!1,is=null,uv.apply(cv,arguments)}function fv(e,t,n,r,o,i,s,l,a){if(dv.apply(this,arguments),Ro){if(Ro){var u=is;Ro=!1,is=null}else throw Error(M(198));ss||(ss=!0,da=u)}}function cr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function lp(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 Dc(e){if(cr(e)!==e)throw Error(M(188))}function pv(e){var t=e.alternate;if(!t){if(t=cr(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Dc(o),e;if(i===r)return Dc(o),t;i=i.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function ap(e){return e=pv(e),e!==null?up(e):null}function up(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=up(e);if(t!==null)return t;e=e.sibling}return null}var cp=Xe.unstable_scheduleCallback,Ic=Xe.unstable_cancelCallback,hv=Xe.unstable_shouldYield,mv=Xe.unstable_requestPaint,pe=Xe.unstable_now,gv=Xe.unstable_getCurrentPriorityLevel,gu=Xe.unstable_ImmediatePriority,dp=Xe.unstable_UserBlockingPriority,ls=Xe.unstable_NormalPriority,vv=Xe.unstable_LowPriority,fp=Xe.unstable_IdlePriority,Is=null,Lt=null;function yv(e){if(Lt&&typeof Lt.onCommitFiberRoot=="function")try{Lt.onCommitFiberRoot(Is,e,void 0,(e.current.flags&128)===128)}catch{}}var St=Math.clz32?Math.clz32:Sv,wv=Math.log,xv=Math.LN2;function Sv(e){return e>>>=0,e===0?32:31-(wv(e)/xv|0)|0}var Ei=64,ki=4194304;function bo(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 n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=bo(l):(i&=s,i!==0&&(r=bo(i)))}else s=n&~o,s!==0?r=bo(s):i!==0&&(r=bo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-St(t),o=1<<n,r|=e[n],t&=~o;return r}function Cv(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 Ev(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-St(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Cv(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function fa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pp(){var e=Ei;return Ei<<=1,!(Ei&4194240)&&(Ei=64),e}function Sl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ai(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-St(t),e[t]=n}function kv(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-St(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function vu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-St(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ee=0;function hp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 13,900 bytes, line 37
37var mp,yu,gp,vp,yp,pa=!1,Pi=[],kn=null,Pn=null,bn=null,Uo=new Map,Bo=new Map,hn=[],Pv="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 Fc(e,t){switch(e){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":bn=null;break;case"pointerover":case"pointerout":Uo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bo.delete(t.pointerId)}}function mo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=ci(t),t!==null&&yu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function bv(e,t,n,r,o){switch(t){case"focusin":return kn=mo(kn,e,t,n,r,o),!0;case"dragenter":return Pn=mo(Pn,e,t,n,r,o),!0;case"mouseover":return bn=mo(bn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Uo.set(i,mo(Uo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Bo.set(i,mo(Bo.get(i)||null,e,t,n,r,o)),!0}return!1}function wp(e){var t=Qn(e.target);if(t!==null){var n=cr(t);if(n!==null){if(t=n.tag,t===13){if(t=lp(n),t!==null){e.blockedOn=t,yp(e.priority,function(){gp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ha(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);aa=r,n.target.dispatchEvent(r),aa=null}else return t=ci(n),t!==null&&yu(t),e.blockedOn=n,!1;t.shift()}return!0}function zc(e,t,n){Vi(e)&&n.delete(t)}function Tv(){pa=!1,kn!==null&&Vi(kn)&&(kn=null),Pn!==null&&Vi(Pn)&&(Pn=null),bn!==null&&Vi(bn)&&(bn=null),Uo.forEach(zc),Bo.forEach(zc)}function go(e,t){e.blockedOn===t&&(e.blockedOn=null,pa||(pa=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,Tv)))}function Vo(e){function t(o){return go(o,e)}if(0<Pi.length){go(Pi[0],e);for(var n=1;n<Pi.length;n++){var r=Pi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(kn!==null&&go(kn,e),Pn!==null&&go(Pn,e),bn!==null&&go(bn,e),Uo.forEach(t),Bo.forEach(t),n=0;n<hn.length;n++)r=hn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<hn.length&&(n=hn[0],n.blockedOn===null);)wp(n),n.blockedOn===null&&hn.shift()}var Lr=en.ReactCurrentBatchConfig,us=!0;function Nv(e,t,n,r){var o=ee,i=Lr.transition;Lr.transition=null;try{ee=1,wu(e,t,n,r)}finally{ee=o,Lr.transition=i}}function Rv(e,t,n,r){var o=ee,i=Lr.transition;Lr.transition=null;try{ee=4,wu(e,t,n,r)}finally{ee=o,Lr.transition=i}}function wu(e,t,n,r){if(us){var o=ha(e,t,n,r);if(o===null)Ol(e,t,r,cs,n),Fc(e,r);else if(bv(o,e,t,n,r))r.stopPropagation();else if(Fc(e,r),t&4&&-1<Pv.indexOf(e)){for(;o!==null;){var i=ci(o);if(i!==null&&mp(i),i=ha(e,t,n,r),i===null&&Ol(e,t,r,cs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ol(e,t,r,null,n)}}var cs=null;function ha(e,t,n,r){if(cs=null,e=mu(r),e=Qn(e),e!==null)if(t=cr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=lp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return cs=e,null}function xp(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(gv()){case gu:return 1;case dp:return 4;case ls:case vv:return 16;case fp:return 536870912;default:return 16}default:return 16}}var Sn=null,xu=null,Hi=null;function Sp(){if(Hi)return Hi;var e,t=xu,n=t.length,r,o="value"in Sn?Sn.value:Sn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Hi=o.slice(e,1<r?1-r:void 0)}function Wi(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 bi(){return!0}function $c(){return!1}function Ze(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?bi:$c,this.isPropagationStopped=$c,this}return ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=bi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=bi)},persist:function(){},isPersistent:bi}),t}var io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Su=Ze(io),ui=ce({},io,{view:0,detail:0}),Mv=Ze(ui),Cl,El,vo,Fs=ce({},ui,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cu,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!==vo&&(vo&&e.type==="mousemove"?(Cl=e.screenX-vo.screenX,El=e.screenY-vo.screenY):El=Cl=0,vo=e),Cl)},movementY:function(e){return"movementY"in e?e.movementY:El}}),Uc=Ze(Fs),Ov=ce({},Fs,{dataTransfer:0}),Av=Ze(Ov),jv=ce({},ui,{relatedTarget:0}),kl=Ze(jv),_v=ce({},io,{animationName:0,elapsedTime:0,pseudoElement:0}),Lv=Ze(_v),Dv=ce({},io,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Iv=Ze(Dv),Fv=ce({},io,{data:0}),Bc=Ze(Fv),zv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$v={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"},Uv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Uv[e])?!!t[e]:!1}function Cu(){return Bv}var Vv=ce({},ui,{key:function(e){if(e.key){var t=zv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$v[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cu,charCode:function(e){return e.type==="keypress"?Wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hv=Ze(Vv),Wv=ce({},Fs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Vc=Ze(Wv),Qv=ce({},ui,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cu}),Kv=Ze(Qv),Gv=ce({},io,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yv=Ze(Gv),qv=ce({},Fs,{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}),Xv=Ze(qv),Jv=[9,13,27,32],Eu=Gt&&"CompositionEvent"in window,Mo=null;Gt&&"documentMode"in document&&(Mo=document.documentMode);var Zv=Gt&&"TextEvent"in window&&!Mo,Cp=Gt&&(!Eu||Mo&&8<Mo&&11>=Mo),Hc=" ",Wc=!1;function Ep(e,t){switch(e){case"keyup":return Jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cr=!1;function ey(e,t){switch(e){case"compositionend":return kp(t);case"keypress":return t.which!==32?null:(Wc=!0,Hc);case"textInput":return e=t.data,e===Hc&&Wc?null:e;default:return null}}function ty(e,t){if(Cr)return e==="compositionend"||!Eu&&Ep(e,t)?(e=Sp(),Hi=xu=Sn=null,Cr=!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 Cp&&t.locale!=="ko"?null:t.data;default:return null}}var ny={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 Qc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ny[e.type]:t==="textarea"}function Pp(e,t,n,r){np(r),t=ds(t,"onChange"),0<t.length&&(n=new Su("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Oo=null,Ho=null;function ry(e){Dp(e,0)}function zs(e){var t=Pr(e);if(Yf(t))return e}function oy(e,t){if(e==="change")return t}var bp=!1;if(Gt){var Pl;if(Gt){var bl="oninput"in document;if(!bl){var Kc=document.createElement("div");Kc.setAttribute("oninput","return;"),bl=typeof Kc.oninput=="function"}Pl=bl}else Pl=!1;bp=Pl&&(!document.documentMode||9<document.documentMode)}function Gc(){Oo&&(Oo.detachEvent("onpropertychange",Tp),Ho=Oo=null)}function Tp(e){if(e.propertyName==="value"&&zs(Ho)){var t=[];Pp(t,Ho,e,mu(e)),sp(ry,t)}}function iy(e,t,n){e==="focusin"?(Gc(),Oo=t,Ho=n,Oo.attachEvent("onpropertychange",Tp)):e==="focusout"&&Gc()}function sy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zs(Ho)}function ly(e,t){if(e==="click")return zs(t)}function ay(e,t){if(e==="input"||e==="change")return zs(t)}function uy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Et=typeof Object.is=="function"?Object.is:uy;function Wo(e,t){if(Et(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ql.call(t,o)||!Et(e[o],t[o]))return!1}return!0}function Yc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qc(e,t){var n=Yc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Yc(n)}}function Np(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Np(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rp(){for(var e=window,t=os();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=os(e.document)}return t}function ku(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 cy(e){var t=Rp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Np(n.ownerDocument.documentElement,n)){if(r!==null&&ku(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=qc(n,i);var s=qc(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dy=Gt&&"documentMode"in document&&11>=document.documentMode,Er=null,ma=null,Ao=null,ga=!1;function Xc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ga||Er==null||Er!==os(r)||(r=Er,"selectionStart"in r&&ku(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Ao&&Wo(Ao,r)||(Ao=r,r=ds(ma,"onSelect"),0<r.length&&(t=new Su("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Er)))}function Ti(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionend:Ti("Transition","TransitionEnd")},Tl={},Mp={};Gt&&(Mp=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);function $s(e){if(Tl[e])return Tl[e];if(!kr[e])return e;var t=kr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Mp)return Tl[e]=t[n];return e}var Op=$s("animationend"),Ap=$s("animationiteration"),jp=$s("animationstart"),_p=$s("transitionend"),Lp=new Map,Jc="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 Fn(e,t){Lp.set(e,t),ur(t,[e])}for(var Nl=0;Nl<Jc.length;Nl++){var Rl=Jc[Nl],fy=Rl.toLowerCase(),py=Rl[0].toUpperCase()+Rl.slice(1);Fn(fy,"on"+py)}Fn(Op,"onAnimationEnd");Fn(Ap,"onAnimationIteration");Fn(jp,"onAnimationStart");Fn("dblclick","onDoubleClick");Fn("focusin","onFocus");Fn("focusout","onBlur");Fn(_p,"onTransitionEnd");Yr("onMouseEnter",["mouseout","mouseover"]);Yr("onMouseLeave",["mouseout","mouseover"]);Yr("onPointerEnter",["pointerout","pointerover"]);Yr("onPointerLeave",["pointerout","pointerover"]);ur("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ur("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ur("onBeforeInput",["compositionend","keypress","textInput","paste"]);ur("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ur("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ur("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var To="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(" "),hy=new Set("cancel close invalid load scroll toggle".split(" ").concat(To));function Zc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fv(r,t,void 0,e),e.currentTarget=null}function Dp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;Zc(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;Zc(o,l,u),i=a}}}if(ss)throw e=da,ss=!1,da=null,e}function oe(e,t){var n=t[Sa];n===void 0&&(n=t[Sa]=new Set);var r=e+"__bubble";n.has(r)||(Ip(t,e,2,!1),n.add(r))}function Ml(e,t,n){var r=0;t&&(r|=4),Ip(n,e,r,t)}var Ni="_reactListening"+Math.random().toString(36).slice(2);function Qo(e){if(!e[Ni]){e[Ni]=!0,Hf.forEach(function(n){n!=="selectionchange"&&(hy.has(n)||Ml(n,!1,e),Ml(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ni]||(t[Ni]=!0,Ml("selectionchange",!1,t))}}function Ip(e,t,n,r){switch(xp(t)){case 1:var o=Nv;break;case 4:o=Rv;break;default:o=wu}n=o.bind(null,t,n,e),o=void 0,!ca||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ol(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;
vendor: 11,376 bytes, lines 37-38
37if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Qn(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}sp(function(){var u=i,c=mu(n),f=[];e:{var h=Lp.get(e);if(h!==void 0){var d=Su,S=e;switch(e){case"keypress":if(Wi(n)===0)break e;case"keydown":case"keyup":d=Hv;break;case"focusin":S="focus",d=kl;break;case"focusout":S="blur",d=kl;break;case"beforeblur":case"afterblur":d=kl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Uc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=Kv;break;case Op:case Ap:case jp:d=Lv;break;case _p:d=Yv;break;case"scroll":d=Mv;break;case"wheel":d=Xv;break;case"copy":case"cut":case"paste":d=Iv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Vc}var v=(t&4)!==0,w=!v&&e==="scroll",m=v?h!==null?h+"Capture":null:h;v=[];for(var p=u,g;p!==null;){g=p;var C=g.stateNode;if(g.tag===5&&C!==null&&(g=C,m!==null&&(C=$o(p,m),C!=null&&v.push(Ko(p,C,g)))),w)break;p=p.return}0<v.length&&(h=new d(h,S,null,n,c),f.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",h&&n!==aa&&(S=n.relatedTarget||n.fromElement)&&(Qn(S)||S[Yt]))break e;if((d||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,d?(S=n.relatedTarget||n.toElement,d=u,S=S?Qn(S):null,S!==null&&(w=cr(S),S!==w||S.tag!==5&&S.tag!==6)&&(S=null)):(d=null,S=u),d!==S)){if(v=Uc,C="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=Vc,C="onPointerLeave",m="onPointerEnter",p="pointer"),w=d==null?h:Pr(d),g=S==null?h:Pr(S),h=new v(C,p+"leave",d,n,c),h.target=w,h.relatedTarget=g,C=null,Qn(c)===u&&(v=new v(m,p+"enter",S,n,c),v.target=g,v.relatedTarget=w,C=v),w=C,d&&S)t:{for(v=d,m=S,p=0,g=v;g;g=vr(g))p++;for(g=0,C=m;C;C=vr(C))g++;for(;0<p-g;)v=vr(v),p--;for(;0<g-p;)m=vr(m),g--;for(;p--;){if(v===m||m!==null&&v===m.alternate)break t;v=vr(v),m=vr(m)}v=null}else v=null;d!==null&&ed(f,h,d,v,!1),S!==null&&w!==null&&ed(f,w,S,v,!0)}}e:{if(h=u?Pr(u):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var E=oy;else if(Qc(h))if(bp)E=ay;else{E=sy;var k=iy}else(d=h.nodeName)&&d.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(E=ly);if(E&&(E=E(e,u))){Pp(f,E,n,c);break e}k&&k(e,h,u),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&ra(h,"number",h.value)}switch(k=u?Pr(u):window,e){case"focusin":(Qc(k)||k.contentEditable==="true")&&(Er=k,ma=u,Ao=null);break;case"focusout":Ao=ma=Er=null;break;case"mousedown":ga=!0;break;case"contextmenu":case"mouseup":case"dragend":ga=!1,Xc(f,n,c);break;case"selectionchange":if(dy)break;case"keydown":case"keyup":Xc(f,n,c)}var P;if(Eu)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else Cr?Ep(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(Cp&&n.locale!=="ko"&&(Cr||R!=="onCompositionStart"?R==="onCompositionEnd"&&Cr&&(P=Sp()):(Sn=c,xu="value"in Sn?Sn.value:Sn.textContent,Cr=!0)),k=ds(u,R),0<k.length&&(R=new Bc(R,e,null,n,c),f.push({event:R,listeners:k}),P?R.data=P:(P=kp(n),P!==null&&(R.data=P)))),(P=Zv?ey(e,n):ty(e,n))&&(u=ds(u,"onBeforeInput"),0<u.length&&(c=new Bc("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=P))}Dp(f,t)})}function Ko(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ds(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=$o(e,n),i!=null&&r.unshift(Ko(e,i,o)),i=$o(e,t),i!=null&&r.push(Ko(e,i,o))),e=e.return}return r}function vr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ed(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=$o(n,i),a!=null&&s.unshift(Ko(n,a,l))):o||(a=$o(n,i),a!=null&&s.push(Ko(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var my=/\r\n?/g,gy=/\u0000|\uFFFD/g;function td(e){return(typeof e=="string"?e:""+e).replace(my,`
38`).replace(gy,"")}function Ri(e,t,n){if(t=td(t),td(e)!==t&&n)throw Error(M(425))}function fs(){}var va=null,ya=null;function wa(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 xa=typeof setTimeout=="function"?setTimeout:void 0,vy=typeof clearTimeout=="function"?clearTimeout:void 0,nd=typeof Promise=="function"?Promise:void 0,yy=typeof queueMicrotask=="function"?queueMicrotask:typeof nd<"u"?function(e){return nd.resolve(null).then(e).catch(wy)}:xa;function wy(e){setTimeout(function(){throw e})}function Al(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Vo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Vo(t)}function Tn(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 rd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var so=Math.random().toString(36).slice(2),jt="__reactFiber$"+so,Go="__reactProps$"+so,Yt="__reactContainer$"+so,Sa="__reactEvents$"+so,xy="__reactListeners$"+so,Sy="__reactHandles$"+so;function Qn(e){var t=e[jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yt]||n[jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rd(e);e!==null;){if(n=e[jt])return n;e=rd(e)}return t}e=n,n=e.parentNode}return null}function ci(e){return e=e[jt]||e[Yt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Pr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Us(e){return e[Go]||null}var Ca=[],br=-1;function zn(e){return{current:e}}function ie(e){0>br||(e.current=Ca[br],Ca[br]=null,br--)}function ne(e,t){br++,Ca[br]=e.current,e.current=t}var jn={},Me=zn(jn),Ue=zn(!1),rr=jn;function qr(e,t){var n=e.type.contextTypes;if(!n)return jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Be(e){return e=e.childContextTypes,e!=null}function ps(){ie(Ue),ie(Me)}function od(e,t,n){if(Me.current!==jn)throw Error(M(168));ne(Me,t),ne(Ue,n)}function Fp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,iv(e)||"Unknown",o));return ce({},n,r)}function hs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jn,rr=Me.current,ne(Me,e),ne(Ue,Ue.current),!0}function id(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Fp(e,t,rr),r.__reactInternalMemoizedMergedChildContext=e,ie(Ue),ie(Me),ne(Me,e)):ie(Ue),ne(Ue,n)}var Vt=null,Bs=!1,jl=!1;function zp(e){Vt===null?Vt=[e]:Vt.push(e)}function Cy(e){Bs=!0,zp(e)}function $n(){if(!jl&&Vt!==null){jl=!0;var e=0,t=ee;try{var n=Vt;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Vt=null,Bs=!1}catch(o){throw Vt!==null&&(Vt=Vt.slice(e+1)),cp(gu,$n),o}finally{ee=t,jl=!1}}return null}var Tr=[],Nr=0,ms=null,gs=0,nt=[],rt=0,or=null,Wt=1,Qt="";function Hn(e,t){Tr[Nr++]=gs,Tr[Nr++]=ms,ms=e,gs=t}function $p(e,t,n){nt[rt++]=Wt,nt[rt++]=Qt,nt[rt++]=or,or=e;var r=Wt;e=Qt;var o=32-St(r)-1;r&=~(1<<o),n+=1;var i=32-St(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Wt=1<<32-St(t)+o|n<<o|r,Qt=i+e}else Wt=1<<i|n<<o|r,Qt=e}function Pu(e){e.return!==null&&(Hn(e,1),$p(e,1,0))}function bu(e){for(;e===ms;)ms=Tr[--Nr],Tr[Nr]=null,gs=Tr[--Nr],Tr[Nr]=null;for(;e===or;)or=nt[--rt],nt[rt]=null,Qt=nt[--rt],nt[rt]=null,Wt=nt[--rt],nt[rt]=null}var Ye=null,Ge=null,le=!1,xt=null;function Up(e,t){var n=ot(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function sd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ye=e,Ge=Tn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ye=e,Ge=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=or!==null?{id:Wt,overflow:Qt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ot(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ye=e,Ge=null,!0):!1;default:return!1}}function Ea(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ka(e){if(le){var t=Ge;if(t){var n=t;if(!sd(e,t)){if(Ea(e))throw Error(M(418));t=Tn(n.nextSibling);var r=Ye;t&&sd(e,t)?Up(r,n):(e.flags=e.flags&-4097|2,le=!1,Ye=e)}}else{if(Ea(e))throw Error(M(418));e.flags=e.flags&-4097|2,le=!1,Ye=e}}}function ld(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ye=e}function Mi(e){if(e!==Ye)return!1;if(!le)return ld(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wa(e.type,e.memoizedProps)),t&&(t=Ge)){if(Ea(e))throw Bp(),Error(M(418));for(;t;)Up(e,t),t=Tn(t.nextSibling)}if(ld(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ge=Tn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ge=null}}else Ge=Ye?Tn(e.stateNode.nextSibling):null;return!0}function Bp(){for(var e=Ge;e;)e=Tn(e.nextSibling)}function Xr(){Ge=Ye=null,le=!1}function Tu(e){xt===null?xt=[e]:xt.push(e)}var Ey=en.ReactCurrentBatchConfig;function yo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function Oi(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ad(e){var t=e._init;return t(e._payload)}function Vp(e){function t(m,p){if(e){var g=m.deletions;g===null?(m.deletions=[p],m.flags|=16):g.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;
vendor: 4,887 bytes, line 38
38)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=On(m,p),m.index=0,m.sibling=null,m}function i(m,p,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<p?(m.flags|=2,p):g):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,p,g,C){return p===null||p.tag!==6?(p=$l(g,m.mode,C),p.return=m,p):(p=o(p,g),p.return=m,p)}function a(m,p,g,C){var E=g.type;return E===Sr?c(m,p,g.props.children,C,g.key):p!==null&&(p.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===fn&&ad(E)===p.type)?(C=o(p,g.props),C.ref=yo(m,p,g),C.return=m,C):(C=Ji(g.type,g.key,g.props,null,m.mode,C),C.ref=yo(m,p,g),C.return=m,C)}function u(m,p,g,C){return p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation?(p=Ul(g,m.mode,C),p.return=m,p):(p=o(p,g.children||[]),p.return=m,p)}function c(m,p,g,C,E){return p===null||p.tag!==7?(p=nr(g,m.mode,C,E),p.return=m,p):(p=o(p,g),p.return=m,p)}function f(m,p,g){if(typeof p=="string"&&p!==""||typeof p=="number")return p=$l(""+p,m.mode,g),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case xi:return g=Ji(p.type,p.key,p.props,null,m.mode,g),g.ref=yo(m,null,p),g.return=m,g;case xr:return p=Ul(p,m.mode,g),p.return=m,p;case fn:var C=p._init;return f(m,C(p._payload),g)}if(Po(p)||po(p))return p=nr(p,m.mode,g,null),p.return=m,p;Oi(m,p)}return null}function h(m,p,g,C){var E=p!==null?p.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return E!==null?null:l(m,p,""+g,C);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case xi:return g.key===E?a(m,p,g,C):null;case xr:return g.key===E?u(m,p,g,C):null;case fn:return E=g._init,h(m,p,E(g._payload),C)}if(Po(g)||po(g))return E!==null?null:c(m,p,g,C,null);Oi(m,g)}return null}function d(m,p,g,C,E){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(g)||null,l(p,m,""+C,E);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case xi:return m=m.get(C.key===null?g:C.key)||null,a(p,m,C,E);case xr:return m=m.get(C.key===null?g:C.key)||null,u(p,m,C,E);case fn:var k=C._init;return d(m,p,g,k(C._payload),E)}if(Po(C)||po(C))return m=m.get(g)||null,c(p,m,C,E,null);Oi(p,C)}return null}function S(m,p,g,C){for(var E=null,k=null,P=p,R=p=0,j=null;P!==null&&R<g.length;R++){P.index>R?(j=P,P=null):j=P.sibling;var A=h(m,P,g[R],C);if(A===null){P===null&&(P=j);break}e&&P&&A.alternate===null&&t(m,P),p=i(A,p,R),k===null?E=A:k.sibling=A,k=A,P=j}if(R===g.length)return n(m,P),le&&Hn(m,R),E;if(P===null){for(;R<g.length;R++)P=f(m,g[R],C),P!==null&&(p=i(P,p,R),k===null?E=P:k.sibling=P,k=P);return le&&Hn(m,R),E}for(P=r(m,P);R<g.length;R++)j=d(P,m,R,g[R],C),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?R:j.key),p=i(j,p,R),k===null?E=j:k.sibling=j,k=j);return e&&P.forEach(function(z){return t(m,z)}),le&&Hn(m,R),E}function v(m,p,g,C){var E=po(g);if(typeof E!="function")throw Error(M(150));if(g=E.call(g),g==null)throw Error(M(151));for(var k=E=null,P=p,R=p=0,j=null,A=g.next();P!==null&&!A.done;R++,A=g.next()){P.index>R?(j=P,P=null):j=P.sibling;var z=h(m,P,A.value,C);if(z===null){P===null&&(P=j);break}e&&P&&z.alternate===null&&t(m,P),p=i(z,p,R),k===null?E=z:k.sibling=z,k=z,P=j}if(A.done)return n(m,P),le&&Hn(m,R),E;if(P===null){for(;!A.done;R++,A=g.next())A=f(m,A.value,C),A!==null&&(p=i(A,p,R),k===null?E=A:k.sibling=A,k=A);return le&&Hn(m,R),E}for(P=r(m,P);!A.done;R++,A=g.next())A=d(P,m,R,A.value,C),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?R:A.key),p=i(A,p,R),k===null?E=A:k.sibling=A,k=A);return e&&P.forEach(function(I){return t(m,I)}),le&&Hn(m,R),E}function w(m,p,g,C){if(typeof g=="object"&&g!==null&&g.type===Sr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case xi:e:{for(var E=g.key,k=p;k!==null;){if(k.key===E){if(E=g.type,E===Sr){if(k.tag===7){n(m,k.sibling),p=o(k,g.props.children),p.return=m,m=p;break e}}else if(k.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===fn&&ad(E)===k.type){n(m,k.sibling),p=o(k,g.props),p.ref=yo(m,k,g),p.return=m,m=p;break e}n(m,k);break}else t(m,k);k=k.sibling}g.type===Sr?(p=nr(g.props.children,m.mode,C,g.key),p.return=m,m=p):(C=Ji(g.type,g.key,g.props,null,m.mode,C),C.ref=yo(m,p,g),C.return=m,m=C)}return s(m);case xr:e:{for(k=g.key;p!==null;){if(p.key===k)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=o(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=Ul(g,m.mode,C),p.return=m,m=p}return s(m);case fn:return k=g._init,w(m,p,k(g._payload),C)}if(Po(g))return S(m,p,g,C);if(po(g))return v(m,p,g,C);Oi(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,g),p.return=m,m=p):(n(m,p),p=$l(g,m.mode,C),p.return=m,m=p),s(m)):n(m,p)}return w}
vendor: 4,068 bytes, line 38
38var Jr=Vp(!0),Hp=Vp(!1),vs=zn(null),ys=null,Rr=null,Nu=null;function Ru(){Nu=Rr=ys=null}function Mu(e){var t=vs.current;ie(vs),e._currentValue=t}function Pa(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Dr(e,t){ys=e,Nu=Rr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&($e=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(Nu!==e)if(e={context:e,memoizedValue:t,next:null},Rr===null){if(ys===null)throw Error(M(308));Rr=e,ys.dependencies={lanes:0,firstContext:e}}else Rr=Rr.next=e;return t}var Kn=null;function Ou(e){Kn===null?Kn=[e]:Kn.push(e)}function Wp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ou(t)):(n.next=o.next,o.next=n),t.interleaved=n,qt(e,r)}function qt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pn=!1;function Au(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qp(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 Kt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Nn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,qt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ou(r)):(t.next=o.next,o.next=t),r.interleaved=t,qt(e,n)}function Qi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vu(e,n)}}function ud(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ws(e,t,n,r){var o=e.updateQueue;pn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,c=u=a=null,l=i;do{var h=l.lane,d=l.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:d,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var S=e,v=l;switch(h=t,d=n,v.tag){case 1:if(S=v.payload,typeof S=="function"){f=S.call(d,f,h);break e}f=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=v.payload,h=typeof S=="function"?S.call(d,f,h):S,h==null)break e;f=ce({},f,h);break e;case 2:pn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else d={eventTime:d,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=d,a=f):c=c.next=d,s|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(c===null&&(a=f),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);sr|=s,e.lanes=s,e.memoizedState=f}}function cd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(M(191,o));o.call(r)}}}var di={},Dt=zn(di),Yo=zn(di),qo=zn(di);function Gn(e){if(e===di)throw Error(M(174));return e}
vendor: 1,186 bytes, line 38
38function ju(e,t){switch(ne(qo,t),ne(Yo,e),ne(Dt,di),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ia(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ia(t,e)}ie(Dt),ne(Dt,t)}function Zr(){ie(Dt),ie(Yo),ie(qo)}function Kp(e){Gn(qo.current);var t=Gn(Dt.current),n=ia(t,e.type);t!==n&&(ne(Yo,e),ne(Dt,n))}function _u(e){Yo.current===e&&(ie(Dt),ie(Yo))}var ae=zn(0);function xs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var _l=[];function Lu(){for(var e=0;e<_l.length;e++)_l[e]._workInProgressVersionPrimary=null;_l.length=0}var Ki=en.ReactCurrentDispatcher,Ll=en.ReactCurrentBatchConfig,ir=0,ue=null,ge=null,we=null,Ss=!1,jo=!1,Xo=0,ky=0;function be(){throw Error(M(321))}function Du(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;
vendor: 4,204 bytes, line 38
38n++)if(!Et(e[n],t[n]))return!1;return!0}function Iu(e,t,n,r,o,i){if(ir=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=e===null||e.memoizedState===null?Ny:Ry,e=n(r,o),jo){i=0;do{if(jo=!1,Xo=0,25<=i)throw Error(M(301));i+=1,we=ge=null,t.updateQueue=null,Ki.current=My,e=n(r,o)}while(jo)}if(Ki.current=Cs,t=ge!==null&&ge.next!==null,ir=0,we=ge=ue=null,Ss=!1,t)throw Error(M(300));return e}function Fu(){var e=Xo!==0;return Xo=0,e}function Rt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return we===null?ue.memoizedState=we=e:we=we.next=e,we}function lt(){if(ge===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=ge.next;var t=we===null?ue.memoizedState:we.next;if(t!==null)we=t,ge=e;else{if(e===null)throw Error(M(310));ge=e,e={memoizedState:ge.memoizedState,baseState:ge.baseState,baseQueue:ge.baseQueue,queue:ge.queue,next:null},we===null?ue.memoizedState=we=e:we=we.next=e}return we}function Jo(e,t){return typeof t=="function"?t(e):t}function Dl(e){var t=lt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=ge,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((ir&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,s=r):a=a.next=f,ue.lanes|=c,sr|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,Et(r,t.memoizedState)||($e=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ue.lanes|=i,sr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Il(e){var t=lt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Et(i,t.memoizedState)||($e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Gp(){}function Yp(e,t){var n=ue,r=lt(),o=t(),i=!Et(r.memoizedState,o);if(i&&(r.memoizedState=o,$e=!0),r=r.queue,zu(Jp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||we!==null&&we.memoizedState.tag&1){if(n.flags|=2048,Zo(9,Xp.bind(null,n,r,o,t),void 0,null),xe===null)throw Error(M(349));ir&30||qp(n,t,o)}return o}function qp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xp(e,t,n,r){t.value=n,t.getSnapshot=r,Zp(t)&&eh(e)}function Jp(e,t,n){return n(function(){Zp(t)&&eh(e)})}function Zp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Et(e,n)}catch{return!0}}function eh(e){var t=qt(e,1);t!==null&&Ct(t,e,1,-1)}function dd(e){var t=Rt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:e},t.queue=e,e=e.dispatch=Ty.bind(null,ue,e),[t.memoizedState,e]}function Zo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function th(){return lt().memoizedState}function Gi(e,t,n,r){var o=Rt();ue.flags|=e,o.memoizedState=Zo(1|t,n,void 0,r===void 0?null:r)}function Vs(e,t,n,r){var o=lt();r=r===void 0?null:r;var i=void 0;if(ge!==null){var s=ge.memoizedState;if(i=s.destroy,r!==null&&Du(r,s.deps)){o.memoizedState=Zo(t,n,i,r);return}}ue.flags|=e,o.memoizedState=Zo(1|t,n,i,r)}function fd(e,t){return Gi(8390656,8,e,t)}function zu(e,t){return Vs(2048,8,e,t)}function nh(e,t){return Vs(4,2,e,t)}function rh(e,t){return Vs(4,4,e,t)}function oh(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}}
vendor: 10,014 bytes, lines 38-40
38function ih(e,t,n){return n=n!=null?n.concat([e]):null,Vs(4,4,oh.bind(null,t,e),n)}function $u(){}function sh(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Du(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lh(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Du(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ah(e,t,n){return ir&21?(Et(n,t)||(n=pp(),ue.lanes|=n,sr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,$e=!0),e.memoizedState=n)}function Py(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=Ll.transition;Ll.transition={};try{e(!1),t()}finally{ee=n,Ll.transition=r}}function uh(){return lt().memoizedState}function by(e,t,n){var r=Mn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ch(e))dh(t,n);else if(n=Wp(e,t,n,r),n!==null){var o=_e();Ct(n,e,r,o),fh(n,t,r)}}function Ty(e,t,n){var r=Mn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ch(e))dh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,Et(l,s)){var a=t.interleaved;a===null?(o.next=o,Ou(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Wp(e,t,o,r),n!==null&&(o=_e(),Ct(n,e,r,o),fh(n,t,r))}}function ch(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function dh(e,t){jo=Ss=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vu(e,n)}}var Cs={readContext:st,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},Ny={readContext:st,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:fd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Gi(4194308,4,oh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gi(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=by.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:dd,useDebugValue:$u,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=dd(!1),t=e[0];return e=Py.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Rt();if(le){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),xe===null)throw Error(M(349));ir&30||qp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,fd(Jp.bind(null,r,i,e),[e]),r.flags|=2048,Zo(9,Xp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Rt(),t=xe.identifierPrefix;if(le){var n=Qt,r=Wt;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ky++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ry={readContext:st,useCallback:sh,useContext:st,useEffect:zu,useImperativeHandle:ih,useInsertionEffect:nh,useLayoutEffect:rh,useMemo:lh,useReducer:Dl,useRef:th,useState:function(){return Dl(Jo)},useDebugValue:$u,useDeferredValue:function(e){var t=lt();return ah(t,ge.memoizedState,e)},useTransition:function(){var e=Dl(Jo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Gp,useSyncExternalStore:Yp,useId:uh,unstable_isNewReconciler:!1},My={readContext:st,useCallback:sh,useContext:st,useEffect:zu,useImperativeHandle:ih,useInsertionEffect:nh,useLayoutEffect:rh,useMemo:lh,useReducer:Il,useRef:th,useState:function(){return Il(Jo)},useDebugValue:$u,useDeferredValue:function(e){var t=lt();return ge===null?t.memoizedState=e:ah(t,ge.memoizedState,e)},useTransition:function(){var e=Il(Jo)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Gp,useSyncExternalStore:Yp,useId:uh,unstable_isNewReconciler:!1};function mt(e,t){if(e&&e.defaultProps){t=ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ba(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Hs={isMounted:function(e){return(e=e._reactInternals)?cr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),o=Mn(e),i=Kt(r,o);i.payload=t,n!=null&&(i.callback=n),t=Nn(e,i,o),t!==null&&(Ct(t,e,o,r),Qi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),o=Mn(e),i=Kt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Nn(e,i,o),t!==null&&(Ct(t,e,o,r),Qi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=Mn(e),o=Kt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Nn(e,o,r),t!==null&&(Ct(t,e,r,n),Qi(t,e,r))}};function pd(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Wo(n,r)||!Wo(o,i):!0}function ph(e,t,n){var r=!1,o=jn,i=t.contextType;return typeof i=="object"&&i!==null?i=st(i):(o=Be(t)?rr:Me.current,r=t.contextTypes,i=(r=r!=null)?qr(e,o):jn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Hs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function hd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Hs.enqueueReplaceState(t,t.state,null)}function Ta(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Au(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=st(i):(i=Be(t)?rr:Me.current,o.context=qr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ba(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Hs.enqueueReplaceState(o,o.state,null),ws(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function eo(e,t){try{var n="",r=t;do n+=ov(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Fl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Na(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Oy=typeof WeakMap=="function"?WeakMap:Map;function hh(e,t,n){n=Kt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ks||(ks=!0,Fa=r),Na(e,t)},n}function mh(e,t,n){n=Kt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Na(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Na(e,t),typeof r!="function"&&(Rn===null?Rn=new Set([this]):Rn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function md(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Oy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Wy.bind(null,e,t,n),t.then(e,e))}function gd(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 vd(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Kt(-1,1),t.tag=2,Nn(n,t,1))),n.lanes|=1),e)}var Ay=en.ReactCurrentOwner,$e=!1;function Ae(e,t,n,r){t.child=e===null?Hp(t,null,n,r):Jr(t,e.child,n,r)}function yd(e,t,n,r,o){n=n.render;var i=t.ref;return Dr(t,o),r=Iu(e,t,n,r,i,o),n=Fu(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Xt(e,t,o)):(le&&n&&Pu(t),t.flags|=1,Ae(e,t,r,o),t.child)}function wd(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Gu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,gh(e,t,i,r,o)):(e=Ji(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Wo,n(s,r)&&e.ref===t.ref)return Xt(e,t,o)}return t.flags|=1,e=On(i,r),e.ref=t.ref,e.return=t,t.child=e}function gh(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Wo(i,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&($e=!0);else return t.lanes=e.lanes,Xt(e,t,o)}return Ra(e,t,n,r,o)}function vh(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ne(Or,Qe),Qe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ne(Or,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ne(Or,Qe),Qe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ne(Or,Qe),Qe|=r;return Ae(e,t,o,n),t.child}function yh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,335 bytes, line 40
40function Ra(e,t,n,r,o){var i=Be(n)?rr:Me.current;return i=qr(t,i),Dr(t,o),n=Iu(e,t,n,r,i,o),r=Fu(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Xt(e,t,o)):(le&&r&&Pu(t),t.flags|=1,Ae(e,t,n,o),t.child)}function xd(e,t,n,r,o){if(Be(n)){var i=!0;hs(t)}else i=!1;if(Dr(t,o),t.stateNode===null)Yi(e,t),ph(t,n,r),Ta(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=st(u):(u=Be(n)?rr:Me.current,u=qr(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&hd(t,s,r,u),pn=!1;var h=t.memoizedState;s.state=h,ws(t,r,s,o),a=t.memoizedState,l!==r||h!==a||Ue.current||pn?(typeof c=="function"&&(ba(t,n,c,r),a=t.memoizedState),(l=pn||pd(t,n,l,r,h,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Qp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:mt(t.type,l),s.props=u,f=t.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=st(a):(a=Be(n)?rr:Me.current,a=qr(t,a));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||h!==a)&&hd(t,s,r,a),pn=!1,h=t.memoizedState,s.state=h,ws(t,r,s,o);var S=t.memoizedState;l!==f||h!==S||Ue.current||pn?(typeof d=="function"&&(ba(t,n,d,r),S=t.memoizedState),(u=pn||pd(t,n,u,r,h,S,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,S,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,S,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),s.props=r,s.state=S,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ma(e,t,n,r,i,o)}function Ma(e,t,n,r,o,i){yh(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&id(t,n,!1),Xt(e,t,i);r=t.stateNode,Ay.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Jr(t,e.child,null,i),t.child=Jr(t,null,l,i)):Ae(e,t,l,i),t.memoizedState=r.state,o&&id(t,n,!0),t.child}function wh(e){var t=e.stateNode;t.pendingContext?od(e,t.pendingContext,t.pendingContext!==t.context):t.context&&od(e,t.context,!1),ju(e,t.containerInfo)}function Sd(e,t,n,r,o){return Xr(),Tu(o),t.flags|=256,Ae(e,t,n,r),t.child}var Oa={dehydrated:null,treeContext:null,retryLane:0};function Aa(e){return{baseLanes:e,cachePool:null,transitions:null}}function xh(e,t,n){var r=t.pendingProps,o=ae.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ne(ae,o&1),e===null)return ka(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Ks(s,r,0,null),e=nr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Aa(n),t.memoizedState=Oa,e):Uu(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return jy(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=On(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=On(l,i):(i=nr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Aa(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Oa,r}return i=e.child,e=i.sibling,r=On(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Uu(e,t){return t=Ks({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ai(e,t,n,r){return r!==null&&Tu(r),Jr(t,e.child,null,n),e=Uu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jy(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Fl(Error(M(422))),Ai(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ks({mode:"visible",children:r.children},o,0,null),i=nr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Jr(t,e.child,null,s),t.child.memoizedState=Aa(s),t.memoizedState=Oa,i);if(!(t.mode&1))return Ai(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(M(419)),r=Fl(i,r,void 0),Ai(e,t,s,r)}if(l=(s&e.childLanes)!==0,$e||l){if(r=xe,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,qt(e,o),Ct(r,e,o,-1))}
vendor: 7,294 bytes, line 40
40return Ku(),r=Fl(Error(M(421))),Ai(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Qy.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ge=Tn(o.nextSibling),Ye=t,le=!0,xt=null,e!==null&&(nt[rt++]=Wt,nt[rt++]=Qt,nt[rt++]=or,Wt=e.id,Qt=e.overflow,or=t),t=Uu(t,r.children),t.flags|=4096,t)}function Cd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pa(e.return,t,n)}function zl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Sh(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ae(e,t,r.children,n),r=ae.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cd(e,n,t);else if(e.tag===19)Cd(e,n,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}r&=1}if(ne(ae,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&xs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),zl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&xs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}zl(t,!0,n,null,i);break;case"together":zl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Yi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),sr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=On(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=On(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _y(e,t,n){switch(t.tag){case 3:wh(t),Xr();break;case 5:Kp(t);break;case 1:Be(t.type)&&hs(t);break;case 4:ju(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ne(vs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ne(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?xh(e,t,n):(ne(ae,ae.current&1),e=Xt(e,t,n),e!==null?e.sibling:null);ne(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Sh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ne(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,vh(e,t,n)}return Xt(e,t,n)}var Ch,ja,Eh,kh;Ch=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ja=function(){};Eh=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Gn(Dt.current);var i=null;switch(n){case"input":o=ta(e,o),r=ta(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=oa(e,o),r=oa(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fs)}sa(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Fo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Fo.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&oe("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};kh=function(e,t,n,r){n!==r&&(t.flags|=4)};function wo(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Te(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ly(e,t,n){var r=t.pendingProps;switch(bu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Te(t),null;case 1:return Be(t.type)&&ps(),Te(t),null;case 3:return r=t.stateNode,Zr(),ie(Ue),ie(Me),Lu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,xt!==null&&(Ua(xt),xt=null))),ja(e,t),Te(t),null;case 5:_u(t);var o=Gn(qo.current);if(n=t.type,e!==null&&t.stateNode!=null)Eh(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Te(t),null}if(e=Gn(Dt.current),Mi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[jt]=t,r[Go]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(o=0;o<To.length;o++)oe(To[o],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":Oc(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":jc(r,i),oe("invalid",r)}sa(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Ri(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Ri(r.textContent,l,e),o=["children",""+l]):Fo.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":Si(r),Ac(r,i,!0);break;case"textarea":Si(r),_c(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=fs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Jf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[jt]=t,e[Go]=r,Ch(e,t,!1,!1),t.stateNode=e;e:{switch(s=la(n,r),n){case"dialog":oe("cancel",e),oe("close",e),o=r;break;case"iframe":case"object":case"embed":oe("load",e),o=r;break;case"video":case"audio":for(o=0;o<To.length;o++)oe(To[o],e);o=r;break;case"source":oe("error",e),o=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),o=r;break;case"details":oe("toggle",e),o=r;break;case"input":Oc(e,r),o=ta(e,r),oe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ce({},r,{value:void 0}),oe("invalid",e);break;case"textarea":jc(e,r),o=oa(e,r),oe("invalid",e);break;default:o=r}sa(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?tp(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Zf(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&zo(e,a):typeof a=="number"&&zo(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Fo.hasOwnProperty(i)?a!=null&&i==="onScroll"&&oe("scroll",e):a!=null&&du(e,i,a,s))}switch(n){case"input":Si(e),Ac(e,r,!1);break;case"textarea":Si(e),_c(e);break;case"option":r.value!=null&&e.setAttribute("value",""+An(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ar(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ar(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=fs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Te(t),null;case 6:if(e&&t.stateNode!=null)kh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Gn(qo.current),Gn(Dt.current),Mi(t)){if(r=t.stateNode,n=t.memoizedProps,r[jt]=t,(i=r.nodeValue!==n)&&(e=Ye,e!==null))switch(e.tag){case 3:Ri(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ri(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[jt]=t,t.stateNode=r}return Te(t),null;case 13:if(ie(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&Ge!==null&&t.mode&1&&!(t.flags&128))Bp(),Xr(),t.flags|=98560,i=!1;else if(i=Mi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(M(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(M(317));i[jt]=t}else Xr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Te(t),i=!1}else xt!==null&&(Ua(xt),xt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ae.current&1?ye===0&&(ye=3):Ku())),t.updateQueue!==null&&(t.flags|=4),Te(t),null);case 4:return Zr(),ja(e,t),e===null&&Qo(t.stateNode.containerInfo),Te(t),null;case 10:return Mu(t.type._context),Te(t),null;case 17:return Be(t.type)&&ps(),Te(t),null;case 19:if(ie(ae),i=t.memoizedState,i===null)return Te(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)wo(i,!1);else{if(ye!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=xs(e),s!==null){for(t.flags|=128,wo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ne(ae,ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&pe()>to&&(t.flags|=128,r=!0,wo(i,!1),t.lanes=4194304)}else{if(!r)if(e=xs(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!le)return Te(t),null}else 2*pe()-i.renderingStartTime>to&&n!==1073741824&&(t.flags|=128,r=!0,wo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pe(),t.sibling=null,n=ae.current,ne(ae,r?n&1|2:n&1),t):(Te(t),null);case 22:case 23:return Qu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Te(t),t.subtreeFlags&6&&(t.flags|=8192)):Te(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Dy(e,t){switch(bu(t),t.tag){case 1:return Be(t.type)&&ps(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,875 bytes, line 40
40case 3:return Zr(),ie(Ue),ie(Me),Lu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _u(t),null;case 13:if(ie(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Xr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ae),null;case 4:return Zr(),null;case 10:return Mu(t.type._context),null;case 22:case 23:return Qu(),null;case 24:return null;default:return null}}var ji=!1,Re=!1,Iy=typeof WeakSet=="function"?WeakSet:Set,D=null;function Mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function _a(e,t,n){try{n()}catch(r){fe(e,t,r)}}var Ed=!1;function Fy(e,t){if(va=us,e=Rp(),ku(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,h=null;t:for(;;){for(var d;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(d=f.firstChild)!==null;)h=f,f=d;for(;;){if(f===e)break t;if(h===n&&++u===o&&(l=s),h===i&&++c===r&&(a=s),(d=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=d}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ya={focusedElem:e,selectionRange:n},us=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var v=S.memoizedProps,w=S.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:mt(t.type,v),w);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(C){fe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return S=Ed,Ed=!1,S}function _o(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&_a(t,n,i)}o=o.next}while(o!==r)}}function Ws(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function La(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ph(e){var t=e.alternate;t!==null&&(e.alternate=null,Ph(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jt],delete t[Go],delete t[Sa],delete t[xy],delete t[Sy])),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 bh(e){return e.tag===5||e.tag===3||e.tag===4}function kd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bh(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 Da(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fs));else if(r!==4&&(e=e.child,e!==null))for(Da(e,t,n),e=e.sibling;e!==null;)Da(e,t,n),e=e.sibling}function Ia(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ia(e,t,n),e=e.sibling;e!==null;)Ia(e,t,n),e=e.sibling}var Se=null,wt=!1;function an(e,t,n){for(n=n.child;n!==null;)Th(e,t,n),n=n.sibling}function Th(e,t,n){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(Is,n)}catch{}switch(n.tag){case 5:Re||Mr(n,t);case 6:var r=Se,o=wt;Se=null,an(e,t,n),Se=r,wt=o,Se!==null&&(wt?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(wt?(e=Se,n=n.stateNode,e.nodeType===8?Al(e.parentNode,n):e.nodeType===1&&Al(e,n),Vo(e)):Al(Se,n.stateNode));break;case 4:r=Se,o=wt,Se=n.stateNode.containerInfo,wt=!0,an(e,t,n),Se=r,wt=o;break;case 0:case 11:case 14:case 15:if(!Re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&_a(n,t,s),o=o.next}while(o!==r)}an(e,t,n);break;case 1:if(!Re&&(Mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){fe(n,t,l)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,an(e,t,n),Re=r):an(e,t,n);break;default:an(e,t,n)}}function Pd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Iy),t.forEach(function(r){var o=Ky.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Se=l.stateNode,wt=!1;break e;case 3:Se=l.stateNode.containerInfo,wt=!0;break e;case 4:Se=l.stateNode.containerInfo,wt=!0;break e}l=l.return}if(Se===null)throw Error(M(160));Th(i,s,o),Se=null,wt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){fe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Nh(t,e),t=t.sibling}function Nh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dt(t,e),Nt(e),r&4){try{_o(3,e,e.return),Ws(3,e)}catch(v){fe(e,e.return,v)}try{_o(5,e,e.return)}catch(v){fe(e,e.return,v)}}break;case 1:dt(t,e),Nt(e),r&512&&n!==null&&Mr(n,n.return);break;case 5:if(dt(t,e),Nt(e),r&512&&n!==null&&Mr(n,n.return),e.flags&32){var o=e.stateNode;try{zo(o,"")}catch(v){fe(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&qf(o,i),la(l,s);var u=la(l,i);for(s=0;s<a.length;s+=2){var c=a[s],f=a[s+1];c==="style"?tp(o,f):c==="dangerouslySetInnerHTML"?Zf(o,f):c==="children"?zo(o,f):du(o,c,f,u)}switch(l){case"input":na(o,i);break;case"textarea":Xf(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var d=i.value;d!=null?Ar(o,!!i.multiple,d,!1):h!==!!i.multiple&&(i.defaultValue!=null?Ar(o,!!i.multiple,i.defaultValue,!0):Ar(o,!!i.multiple,i.multiple?[]:"",!1))}o[Go]=i}catch(v){fe(e,e.return,v)}}break;case 6:if(dt(t,e),Nt(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){fe(e,e.return,v)}}break;case 3:if(dt(t,e),Nt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vo(t.containerInfo)}catch(v){fe(e,e.return,v)}break;case 4:dt(t,e),Nt(e);break;case 13:dt(t,e),Nt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Hu=pe())),r&4&&Pd(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Re=(u=Re)||c,dt(t,e),Re=u):dt(t,e),Nt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(D=e,c=e.child;c!==null;){for(f=D=c;D!==null;){switch(h=D,d=h.child,h.tag){case 0:case 11:case 14:case 15:_o(4,h,h.return);break;case 1:Mr(h,h.return);var S=h.stateNode;if(typeof S.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(v){fe(r,n,v)}}break;case 5:Mr(h,h.return);break;case 22:if(h.memoizedState!==null){Td(f);continue}}d!==null?(d.return=h,D=d):Td(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=ep("display",s))}catch(v){fe(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){fe(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:dt(t,e),Nt(e),r&4&&Pd(e);break;case 21:break;default:dt(t,e),Nt(e)}}function Nt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(bh(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(zo(o,""),r.flags&=-33);var i=kd(e);Ia(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=kd(e);Da(e,l,s);break;default:throw Error(M(161))}}catch(a){fe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function zy(e,t,n){D=e,Rh(e)}function Rh(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||ji;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Re;l=ji;var u=Re;if(ji=s,(Re=a)&&!u)for(D=o;D!==null;)s=D,a=s.child,s.tag===22&&s.memoizedState!==null?Nd(o):a!==null?(a.return=s,D=a):Nd(o);for(;i!==null;)D=i,Rh(i),i=i.sibling;D=o,ji=l,Re=u}bd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,D=i):bd(e)}}function bd(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Re||Ws(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Re)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:mt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&cd(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}cd(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Vo(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Re||t.flags&512&&La(t)}catch(h){fe(t,t.return,h)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function Td(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function Nd(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ws(4,t)}catch(a){fe(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){fe(t,o,a)}}var i=t.return;try{La(t)}catch(a){fe(t,i,a)}break;case 5:var s=t.return;try{La(t)}catch(a){fe(t,s,a)}}}catch(a){fe(t,t.return,a)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var $y=Math.ceil,Es=en.ReactCurrentDispatcher,Bu=en.ReactCurrentOwner,it=en.ReactCurrentBatchConfig,X=0,xe=null,me=null,Ce=0,Qe=0,Or=zn(0),ye=0,ei=null,sr=0,Qs=0,Vu=0,Lo=null,ze=null,Hu=0,to=1/0,Bt=null,ks=!1,Fa=null,Rn=null,_i=!1,Cn=null,Ps=0,Do=0,za=null,qi=-1,Xi=0;function _e(){return X&6?pe():qi!==-1?qi:qi=pe()}function Mn(e){return e.mode&1?X&2&&Ce!==0?Ce&-Ce:Ey.transition!==null?(Xi===0&&(Xi=pp()),Xi):(e=ee,e!==0||(e=window.event,e=e===void 0?16:xp(e.type)),e):1}function Ct(e,t,n,r){if(50<Do)throw Do=0,za=null,Error(M(185));ai(e,n,r),(!(X&2)||e!==xe)&&(e===xe&&(!(X&2)&&(Qs|=n),ye===4&&mn(e,Ce)),Ve(e,r),n===1&&X===0&&!(t.mode&1)&&(to=pe()+500,Bs&&$n()))}function Ve(e,t){var n=e.callbackNode;Ev(e,t);var r=as(e,e===xe?Ce:0);if(r===0)n!==null&&Ic(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ic(n),t===1)e.tag===0?Cy(Rd.bind(null,e)):zp(Rd.bind(null,e)),yy(function(){!(X&6)&&$n()}),n=null;else{switch(hp(r)){case 1:n=gu;break;case 4:n=dp;break;case 16:n=ls;break;case 536870912:n=fp;break;default:n=ls}n=Ih(n,Mh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Mh(e,t){if(qi=-1,Xi=0,X&6)throw Error(M(327));var n=e.callbackNode;if(Ir()&&e.callbackNode!==n)return null;var r=as(e,e===xe?Ce:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=bs(e,r);else{t=r;var o=X;X|=2;var i=Ah();(xe!==e||Ce!==t)&&(Bt=null,to=pe()+500,tr(e,t));do try{Vy();break}catch(l){Oh(e,l)}while(!0);Ru(),Es.current=i,X=o,me!==null?t=0:(xe=null,Ce=0,t=ye)}if(t!==0){if(t===2&&(o=fa(e),o!==0&&(r=o,t=$a(e,o))),t===1)throw n=ei,tr(e,0),mn(e,r),Ve(e,pe()),n;if(t===6)mn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Uy(o)&&(t=bs(e,r),t===2&&(i=fa(e),i!==0&&(r=i,t=$a(e,i))),t===1))throw n=ei,tr(e,0),mn(e,r),Ve(e,pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Wn(e,ze,Bt);break;case 3:if(mn(e,r),(r&130023424)===r&&(t=Hu+500-pe(),10<t)){if(as(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=xa(Wn.bind(null,e,ze,Bt),t);break}Wn(e,ze,Bt);break;case 4:if(mn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-St(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$y(r/1960))-r,10<r){e.timeoutHandle=xa(Wn.bind(null,e,ze,Bt),r);break}Wn(e,ze,Bt);break;case 5:Wn(e,ze,Bt);break;default:throw Error(M(329))}}}return Ve(e,pe()),e.callbackNode===n?Mh.bind(null,e):null}function $a(e,t){var n=Lo;return e.current.memoizedState.isDehydrated&&(tr(e,t).flags|=256),e=bs(e,t),e!==2&&(t=ze,ze=n,t!==null&&Ua(t)),e}function Ua(e){ze===null?ze=e:ze.push.apply(ze,e)}function Uy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Et(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function mn(e,t){for(t&=~Vu,t&=~Qs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-St(t),r=1<<n;e[n]=-1,t&=~r}}function Rd(e){if(X&6)throw Error(M(327));Ir();var t=as(e,0);if(!(t&1))return Ve(e,pe()),null;var n=bs(e,t);if(e.tag!==0&&n===2){var r=fa(e);r!==0&&(t=r,n=$a(e,r))}if(n===1)throw n=ei,tr(e,0),mn(e,t),Ve(e,pe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wn(e,ze,Bt),Ve(e,pe()),null}function Wu(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(to=pe()+500,Bs&&$n())}}function lr(e){Cn!==null&&Cn.tag===0&&!(X&6)&&Ir();var t=X;X|=1;var n=it.transition,r=ee;try{if(it.transition=null,ee=1,e)return e()}finally{ee=r,it.transition=n,X=t,!(X&6)&&$n()}}function Qu(){Qe=Or.current,ie(Or)}function tr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,vy(n)),me!==null)for(n=me.return;n!==null;){var r=n;switch(bu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ps();break;case 3:Zr(),ie(Ue),ie(Me),Lu();break;case 5:_u(r);break;case 4:Zr();break;case 13:ie(ae);break;case 19:ie(ae);break;case 10:Mu(r.type._context);break;case 22:case 23:Qu()}n=n.return}if(xe=e,me=e=On(e.current,null),Ce=Qe=t,ye=0,ei=null,Vu=Qs=sr=0,ze=Lo=null,Kn!==null){for(t=0;t<Kn.length;t++)if(n=Kn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Kn=null}return e}function Oh(e,t){do{var n=me;try{if(Ru(),Ki.current=Cs,Ss){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ss=!1}if(ir=0,we=ge=ue=null,jo=!1,Xo=0,Bu.current=null,n===null||n.return===null){ye=1,ei=t,me=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Ce,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var d=gd(s);if(d!==null){d.flags&=-257,vd(d,s,l,i,t),d.mode&1&&md(i,u,t),t=d,a=u;var S=t.updateQueue;if(S===null){var v=new Set;v.add(a),t.updateQueue=v}else S.add(a);break e}else{if(!(t&1)){md(i,u,t),Ku();break e}a=Error(M(426))}}else if(le&&l.mode&1){var w=gd(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),vd(w,s,l,i,t),Tu(eo(a,l));break e}}i=a=eo(a,l),ye!==4&&(ye=2),Lo===null?Lo=[i]:Lo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=hh(i,a,t);ud(i,m);break e;case 1:l=a;var p=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Rn===null||!Rn.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=mh(i,l,t);ud(i,C);break e}}i=i.return}while(i!==null)}_h(n)}catch(E){t=E,me===n&&n!==null&&(me=n=n.return);continue}break}while(!0)}function Ah(){var e=Es.current;return Es.current=Cs,e===null?Cs:e}function Ku(){(ye===0||ye===3||ye===2)&&(ye=4),xe===null||!(sr&268435455)&&!(Qs&268435455)||mn(xe,Ce)}function bs(e,t){var n=X;X|=2;var r=Ah();(xe!==e||Ce!==t)&&(Bt=null,tr(e,t));do try{By();break}catch(o){Oh(e,o)}while(!0);if(Ru(),X=n,Es.current=r,me!==null)throw Error(M(261));return xe=null,Ce=0,ye}function By(){for(;me!==null;)jh(me)}function Vy(){for(;me!==null&&!hv();)jh(me)}function jh(e){var t=Dh(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?_h(e):me=t,Bu.current=null}function _h(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Dy(n,t),n!==null){n.flags&=32767,me=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ye=6,me=null;return}}else if(n=Ly(n,t,Qe),n!==null){me=n;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);ye===0&&(ye=5)}function Wn(e,t,n){var r=ee,o=it.transition;try{it.transition=null,ee=1,Hy(e,t,n,r)}finally{it.transition=o,ee=r}return null}function Hy(e,t,n,r){do Ir();while(Cn!==null);if(X&6)throw Error(M(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(kv(e,i),e===xe&&(me=xe=null,Ce=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_i||(_i=!0,Ih(ls,function(){return Ir(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=it.transition,it.transition=null;var s=ee;ee=1;var l=X;X|=4,Bu.current=null,Fy(e,n),Nh(n,e),cy(ya),us=!!va,ya=va=null,e.current=n,zy(n),mv(),X=l,ee=s,it.transition=i}else e.current=n;if(_i&&(_i=!1,Cn=e,Ps=o),i=e.pendingLanes,i===0&&(Rn=null),yv(n.stateNode),Ve(e,pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ks)throw ks=!1,e=Fa,Fa=null,e;return Ps&1&&e.tag!==0&&Ir(),i=e.pendingLanes,i&1?e===za?Do++:(Do=0,za=e):Do=0,$n(),null}function Ir(){if(Cn!==null){var e=hp(Ps),t=it.transition,n=ee;try{if(it.transition=null,ee=16>e?16:e,Cn===null)var r=!1;else{if(e=Cn,Cn=null,Ps=0,X&6)throw Error(M(331));var o=X;for(X|=4,D=e.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(D=u;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:_o(8,c,i)}var f=c.child;if(f!==null)f.return=c,D=f;else for(;D!==null;){c=D;var h=c.sibling,d=c.return;if(Ph(c),c===u){D=null;break}if(h!==null){h.return=d,D=h;break}D=d}}}var S=i.alternate;if(S!==null){var v=S.child;if(v!==null){S.child=null;do{var w=v.sibling;v.sibling=null,v=w}while(v!==null)}}D=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,D=s;else e:for(;D!==null;){if(i=D,i.flags&2048)switch(i.tag){case 0:case 11:case 15:_o(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,D=m;break e}D=i.return}}var p=e.current;for(D=p;D!==null;){s=D;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,D=g;else e:for(s=p;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ws(9,l)}}catch(E){fe(l,l.return,E)}if(l===s){D=null;break e}var C=l.sibling;if(C!==null){C.return=l.return,D=C;break e}D=l.return}}if(X=o,$n(),Lt&&typeof Lt.onPostCommitFiberRoot=="function")try{Lt.onPostCommitFiberRoot(Is,e)}catch{}r=!0}return r}finally{ee=n,it.transition=t}}return!1}function Md(e,t,n){t=eo(n,t),t=hh(e,t,1),e=Nn(e,t,1),t=_e(),e!==null&&(ai(e,1,t),Ve(e,t))}function fe(e,t,n){if(e.tag===3)Md(e,e,n);else for(;t!==null;){if(t.tag===3){Md(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Rn===null||!Rn.has(r))){e=eo(n,e),e=mh(t,e,1),t=Nn(t,e,1),e=_e(),t!==null&&(ai(t,1,e),Ve(t,e));break}}t=t.return}}function Wy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,xe===e&&(Ce&n)===n&&(ye===4||ye===3&&(Ce&130023424)===Ce&&500>pe()-Hu?tr(e,0):Vu|=n),Ve(e,t)}function Lh(e,t){t===0&&(e.mode&1?(t=ki,ki<<=1,!(ki&130023424)&&(ki=4194304)):t=1);var n=_e();e=qt(e,t),e!==null&&(ai(e,t,n),Ve(e,n))}function Qy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lh(e,n)}function Ky(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Lh(e,n)}var Dh;Dh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ue.current)$e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $e=!1,_y(e,t,n);$e=!!(e.flags&131072)}else $e=!1,le&&t.flags&1048576&&$p(t,gs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Yi(e,t),e=t.pendingProps;var o=qr(t,Me.current);Dr(t,n),o=Iu(null,t,r,e,o,n);var i=Fu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Be(r)?(i=!0,hs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Au(t),o.updater=Hs,t.stateNode=o,o._reactInternals=t,Ta(t,r,e,n),t=Ma(null,t,r,!0,i,n)):(t.tag=0,le&&i&&Pu(t),Ae(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Yi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Yy(r),e=mt(r,e),o){case 0:t=Ra(null,t,r,e,n);break e;case 1:t=xd(null,t,r,e,n);break e;case 11:t=yd(null,t,r,e,n);break e;case 14:t=wd(null,t,r,mt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Ra(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),xd(e,t,r,o,n);case 3:e:{if(wh(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Qp(e,t),ws(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=eo(Error(M(423)),t),t=Sd(e,t,r,n,o);break e}else if(r!==o){o=eo(Error(M(424)),t),t=Sd(e,t,r,n,o);break e}else for(Ge=Tn(t.stateNode.containerInfo.firstChild),Ye=t,le=!0,xt=null,n=Hp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Xr(),r===o){t=Xt(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return Kp(t),e===null&&ka(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,wa(r,o)?s=null:i!==null&&wa(r,i)&&
vendor: 7,325 bytes, line 40
40(t.flags|=32),yh(e,t),Ae(e,t,s,n),t.child;case 6:return e===null&&ka(t),null;case 13:return xh(e,t,n);case 4:return ju(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Jr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),yd(e,t,r,o,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ne(vs,r._currentValue),r._currentValue=s,i!==null)if(Et(i.value,s)){if(i.children===o.children&&!Ue.current){t=Xt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Kt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Pa(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Pa(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ae(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Dr(t,n),o=st(o),r=r(o),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),wd(e,t,r,o,n);case 15:return gh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Yi(e,t),t.tag=1,Be(r)?(e=!0,hs(t)):e=!1,Dr(t,n),ph(t,r,o),Ta(t,r,o,n),Ma(null,t,r,!0,e,n);case 19:return Sh(e,t,n);case 22:return vh(e,t,n)}throw Error(M(156,t.tag))};function Ih(e,t){return cp(e,t)}function Gy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ot(e,t,n,r){return new Gy(e,t,n,r)}function Gu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yy(e){if(typeof e=="function")return Gu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pu)return 11;if(e===hu)return 14}return 2}function On(e,t){var n=e.alternate;return n===null?(n=ot(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ji(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Gu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Sr:return nr(n.children,o,i,t);case fu:s=8,o|=8;break;case Xl:return e=ot(12,n,t,o|2),e.elementType=Xl,e.lanes=i,e;case Jl:return e=ot(13,n,t,o),e.elementType=Jl,e.lanes=i,e;case Zl:return e=ot(19,n,t,o),e.elementType=Zl,e.lanes=i,e;case Kf:return Ks(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wf:s=10;break e;case Qf:s=9;break e;case pu:s=11;break e;case hu:s=14;break e;case fn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=ot(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function nr(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function Ks(e,t,n,r){return e=ot(22,e,r,t),e.elementType=Kf,e.lanes=n,e.stateNode={isHidden:!1},e}function $l(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function Ul(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qy(e,t,n,r,o){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=Sl(0),this.expirationTimes=Sl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Sl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Yu(e,t,n,r,o,i,s,l,a){return e=new qy(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ot(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Au(i),e}function Xy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Fh(e){if(!e)return jn;e=e._reactInternals;e:{if(cr(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Be(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(Be(n))return Fp(e,n,t)}return t}function zh(e,t,n,r,o,i,s,l,a){return e=Yu(n,r,!0,e,o,i,s,l,a),e.context=Fh(null),n=e.current,r=_e(),o=Mn(n),i=Kt(r,o),i.callback=t??null,Nn(n,i,o),e.current.lanes=o,ai(e,o,r),Ve(e,r),e}function Gs(e,t,n,r){var o=t.current,i=_e(),s=Mn(o);return n=Fh(n),t.context===null?t.context=n:t.pendingContext=n,t=Kt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Nn(o,t,s),e!==null&&(Ct(e,o,s,i),Qi(e,o,s)),s}function Ts(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Od(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function qu(e,t){Od(e,t),(e=e.alternate)&&Od(e,t)}function Jy(){return null}var $h=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}Ys.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Gs(e,t,null,null)};Ys.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lr(function(){Gs(null,e,null,null)}),t[Yt]=null}};function Ys(e){this._internalRoot=e}Ys.prototype.unstable_scheduleHydration=function(e){if(e){var t=vp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hn.length&&t!==0&&t<hn[n].priority;n++);hn.splice(n,0,e),n===0&&wp(e)}};function Ju(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ad(){}function Zy(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ts(s);i.call(u)}}var s=zh(t,r,e,0,null,!1,!1,"",Ad);return e._reactRootContainer=s,e[Yt]=s.current,Qo(e.nodeType===8?e.parentNode:e),lr(),s}for(;
vendor: 5,148 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Ts(a);l.call(u)}}var a=Yu(e,0,!1,null,null,!1,!1,"",Ad);return e._reactRootContainer=a,e[Yt]=a.current,Qo(e.nodeType===8?e.parentNode:e),lr(function(){Gs(t,a,n,r)}),a}function Xs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=Ts(s);l.call(a)}}Gs(t,s,e,o)}else s=Zy(n,t,e,o,r);return Ts(s)}mp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bo(t.pendingLanes);n!==0&&(vu(t,n|1),Ve(t,pe()),!(X&6)&&(to=pe()+500,$n()))}break;case 13:lr(function(){var r=qt(e,1);if(r!==null){var o=_e();Ct(r,e,1,o)}}),qu(e,1)}};yu=function(e){if(e.tag===13){var t=qt(e,134217728);if(t!==null){var n=_e();Ct(t,e,134217728,n)}qu(e,134217728)}};gp=function(e){if(e.tag===13){var t=Mn(e),n=qt(e,t);if(n!==null){var r=_e();Ct(n,e,t,r)}qu(e,t)}};vp=function(){return ee};yp=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};ua=function(e,t,n){switch(t){case"input":if(na(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Us(r);if(!o)throw Error(M(90));Yf(r),na(r,o)}}}break;case"textarea":Xf(e,n);break;case"select":t=n.value,t!=null&&Ar(e,!!n.multiple,t,!1)}};op=Wu;ip=lr;var e0={usingClientEntryPoint:!1,Events:[ci,Pr,Us,np,rp,Wu]},xo={findFiberByHostInstance:Qn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},t0={bundleType:xo.bundleType,version:xo.version,rendererPackageName:xo.rendererPackageName,rendererConfig:xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:en.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ap(e),e===null?null:e.stateNode},findFiberByHostInstance:xo.findFiberByHostInstance||Jy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Li=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Li.isDisabled&&Li.supportsFiber)try{Is=Li.inject(t0),Lt=Li}catch{}}Je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=e0;Je.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ju(t))throw Error(M(200));return Xy(e,t,null,n)};Je.createRoot=function(e,t){if(!Ju(e))throw Error(M(299));var n=!1,r="",o=$h;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Yu(e,1,!1,null,null,n,!1,r,o),e[Yt]=t.current,Qo(e.nodeType===8?e.parentNode:e),new Xu(t)};Je.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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=ap(t),e=e===null?null:e.stateNode,e};Je.flushSync=function(e){return lr(e)};Je.hydrate=function(e,t,n){if(!qs(t))throw Error(M(200));return Xs(null,e,t,!0,n)};Je.hydrateRoot=function(e,t,n){if(!Ju(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=$h;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=zh(t,null,e,1,n??null,o,!1,i,s),e[Yt]=t.current,Qo(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Ys(t)};Je.render=function(e,t,n){if(!qs(t))throw Error(M(200));return Xs(null,e,t,!1,n)};Je.unmountComponentAtNode=function(e){if(!qs(e))throw Error(M(40));return e._reactRootContainer?(lr(function(){Xs(null,null,e,!1,function(){e._reactRootContainer=null,e[Yt]=null})}),!0):!1};Je.unstable_batchedUpdates=Wu;Je.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!qs(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Xs(e,t,n,!1,r)};Je.version="18.3.1-next-f1338f8080-20240426";function Uh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uh)}catch(e){console.error(e)}}Uh(),Uf.exports=Je;var fi=Uf.exports;const Bh=Nf(fi);var Vh,jd=fi;Vh=jd.createRoot,jd.hydrateRoot;const n0=1,r0=1e6;let Bl=0;function o0(){return Bl=(Bl+1)%Number.MAX_SAFE_INTEGER,Bl.toString()}const Vl=new Map,_d=e=>{if(Vl.has(e))return;const t=setTimeout(()=>{Vl.delete(e),Io({type:"REMOVE_TOAST",toastId:e})},r0);Vl.set(e,t)},i0=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,n0)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?_d(n):e.toasts.forEach(r=>{_d(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Zi=[];let es={toasts:[]};function Io(e){es=i0(es,e),Zi.forEach(t=>{t(es)})}function s0({...e}){const t=o0(),n=o=>Io({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Io({type:"DISMISS_TOAST",toastId:t});return Io({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function l0(){const[e,t]=x.useState(es);return x.useEffect(()=>(Zi.push(t),()=>{const n=Zi.indexOf(t);n>-1&&Zi.splice(n,1)}),[e]),{...e,toast:s0,dismiss:n=>Io({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Ld(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Hh(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Ld(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Ld(e[o],null)}}}}function kt(...e){return x.useCallback(Hh(...e),e)}function Js(e,t=[]){let n=[];function r(i,s){const l=x.createContext(s),a=n.length;n=[...n,s];const u=f=>{var m;const{scope:h,children:d,...S}=f,v=((m=h==null?void 0:h[e])==null?void 0:m[a])||l,w=x.useMemo(()=>S,Object.values(S));return y.jsx(v.Provider,{value:w,children:d})};u.displayName=i+"Provider";function c(f,h){var v;const d=((v=h==null?void 0:h[e])==null?void 0:v[a])||l,S=x.useContext(d);if(S)return S;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,a0(o,...t)]}function a0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Ns(e){const t=c0(e),n=x.forwardRef((r,o)=>{const{children:i,...s}=r,l=x.Children.toArray(i),a=l.find(f0);if(a){const u=a.props.children,c=l.map(f=>f===a?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:f);return y.jsx(t,{...s,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return y.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var u0=Ns("Slot");function c0(e){const t=x.forwardRef((n,r)=>{const{children:o,...i}=n;if(x.isValidElement(o)){const s=h0(o),l=p0(i,o.props);return o.type!==x.Fragment&&(l.ref=r?Hh(r,s):s),x.cloneElement(o,l)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Wh=Symbol("radix.slottable");function d0(e){const t=({children:n})=>y.jsx(y.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Wh,t}function f0(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Wh}function p0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{const a=i(...l);return o(...l),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function h0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function m0(e){const t=e+"CollectionProvider",[n,r]=Js(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:w,children:m}=v,p=O.useRef(null),g=O.useRef(new Map).current;return y.jsx(o,{scope:w,itemMap:g,collectionRef:p,children:m})};s.displayName=t;const l=e+"CollectionSlot",a=Ns(l),u=O.forwardRef((v,w)=>{const{scope:m,children:p}=v,g=i(l,m),C=kt(w,g.collectionRef);return y.jsx(a,{ref:C,children:p})});u.displayName=l;const c=e+"CollectionItemSlot",f="data-radix-collection-item",h=Ns(c),d=O.forwardRef((v,w)=>{const{scope:m,children:p,...g}=v,C=O.useRef(null),E=kt(w,C),k=i(c,m);return O.useEffect(()=>(k.itemMap.set(C,{ref:C,...g}),()=>void k.itemMap.delete(C))),y.jsx(h,{[f]:"",ref:E,children:p})});d.displayName=c;function S(v){const w=i(e+"CollectionConsumer",v);return O.useCallback(()=>{const p=w.collectionRef.current;
vendor: 5,735 bytes, line 40
40if(!p)return[];const g=Array.from(p.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((k,P)=>g.indexOf(k.ref.current)-g.indexOf(P.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:d},S,r]}var g0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],We=g0.reduce((e,t)=>{const n=Ns(`Primitive.${t}`),r=x.forwardRef((o,i)=>{const{asChild:s,...l}=o,a=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(a,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Qh(e,t){e&&fi.flushSync(()=>e.dispatchEvent(t))}function _n(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function v0(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var y0="DismissableLayer",Ba="dismissableLayer.update",w0="dismissableLayer.pointerDownOutside",x0="dismissableLayer.focusOutside",Dd,Kh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Zu=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...a}=e,u=x.useContext(Kh),[c,f]=x.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=x.useState({}),S=kt(t,P=>f(P)),v=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),p=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,C=p>=m,E=C0(P=>{const R=P.target,j=[...u.branches].some(A=>A.contains(R));!C||j||(o==null||o(P),s==null||s(P),P.defaultPrevented||l==null||l())},h),k=E0(P=>{const R=P.target;[...u.branches].some(A=>A.contains(R))||(i==null||i(P),s==null||s(P),P.defaultPrevented||l==null||l())},h);return v0(P=>{p===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&l&&(P.preventDefault(),l()))},h),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Dd=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Id(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Dd)}},[c,h,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Id())},[c,u]),x.useEffect(()=>{const P=()=>d({});return document.addEventListener(Ba,P),()=>document.removeEventListener(Ba,P)},[]),y.jsx(We.div,{...a,ref:S,style:{pointerEvents:g?C?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,k.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,E.onPointerDownCapture)})});Zu.displayName=y0;var S0="DismissableLayerBranch",Gh=x.forwardRef((e,t)=>{const n=x.useContext(Kh),r=x.useRef(null),o=kt(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),y.jsx(We.div,{...e,ref:o})});Gh.displayName=S0;function C0(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let a=function(){Yh(w0,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function E0(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=x.useRef(!1);return x.useEffect(()=>{const o=i=>{i.target&&!r.current&&Yh(x0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Id(){const e=new CustomEvent(Ba);document.dispatchEvent(e)}function Yh(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Qh(o,i):o.dispatchEvent(i)}var k0=Zu,P0=Gh,Ln=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},b0="Portal",qh=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=x.useState(!1);Ln(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?Bh.createPortal(y.jsx(We.div,{...r,ref:t}),s):null});qh.displayName=b0;function T0(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var ec=e=>{const{present:t,children:n}=e,r=N0(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=kt(r.ref,R0(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:i}):null};ec.displayName="Presence";function N0(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),i=x.useRef("none"),s=e?"mounted":"unmounted",[l,a]=T0(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Di(r.current);i.current=l==="mounted"?u:"none"},[l]),Ln(()=>{const u=r.current,c=o.current;if(c!==e){const h=i.current,d=Di(u);e?a("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(c&&h!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Ln(()=>
40{if(t){let u;const c=t.ownerDocument.defaultView??window,f=d=>{const v=Di(r.current).includes(d.animationName);if(d.target===t&&v&&(a("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=d=>{d.target===t&&(i.current=Di(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Di(e){return(e==null?void 0:e.animationName)||"none"}function R0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var M0=zf[" useInsertionEffect ".trim().toString()]||Ln;function O0({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=A0({defaultProp:t,onChange:n}),l=e!==void 0,a=l?e:o;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const f=c.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=l},[l,r])}const u=x.useCallback(c=>{var f;if(l){const h=j0(c)?c(e):c;h!==e&&((f=s.current)==null||f.call(s,h))}else i(c)},[l,e,i,s]);return[a,u]}function A0({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),i=x.useRef(t);return M0(()=>{i.current=t},[t]),x.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function j0(e){return typeof e=="function"}var _0=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),L0="VisuallyHidden",Zs=x.forwardRef((e,t)=>y.jsx(We.span,{...e,ref:t,style:{..._0,...e.style}}));Zs.displayName=L0;var D0=Zs,tc="ToastProvider",[nc,I0,F0]=m0("Toast"),[Xh,M2]=Js("Toast",[F0]),[z0,el]=Xh(tc),Jh=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,a]=x.useState(null),[u,c]=x.useState(0),f=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${tc}\`. Expected non-empty \`string\`.`),y.jsx(nc.Provider,{scope:t,children:y.jsx(z0,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:x.useCallback(()=>c(d=>d+1),[]),onToastRemove:x.useCallback(()=>c(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:s})})};Jh.displayName=tc;var Zh="ToastViewport",$0=["F8"],Va="toast.viewportPause",Ha="toast.viewportResume",em=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=$0,label:o="Notifications ({hotkey})",...i}=e,s=el(Zh,n),l=I0(n),a=x.useRef(null),u=x.useRef(null),c=x.useRef(null),f=x.useRef(null),h=kt(t,f,s.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=s.toastCount>0;x.useEffect(()=>{const w=m=>{var g;r.length!==0&&r.every(C=>m[C]||m.code===C)&&((g=f.current)==null||g.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=a.current,m=f.current;if(S&&w&&m){const p=()=>{if(!s.isClosePausedRef.current){const k=new CustomEvent(Va);m.dispatchEvent(k),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const k=new CustomEvent(Ha);m.dispatchEvent(k),s.isClosePausedRef.current=!1}},C=k=>{!w.contains(k.relatedTarget)&&g()},E=()=>{w.contains(document.activeElement)||g()};return w.addEventListener("focusin",p),w.addEventListener("focusout",C),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",E),window.addEventListener("blur",p),window.addEventListener("focus",g),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",p),window.removeEventListener("focus",g)}}},[S,s.isClosePausedRef]);
40const v=x.useCallback(({tabbingDirection:w})=>{const p=l().map(g=>{const C=g.ref.current,E=[C,...Z0(C)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?p.reverse():p).flat()},[l]);return x.useEffect(()=>{const w=f.current;if(w){const m=p=>{var E,k,P;const g=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!g){const R=document.activeElement,j=p.shiftKey;if(p.target===w&&j){(E=u.current)==null||E.focus();return}const I=v({tabbingDirection:j?"backwards":"forwards"}),Q=I.findIndex(_=>_===R);Hl(I.slice(Q+1))?p.preventDefault():j?(k=u.current)==null||k.focus():(P=c.current)==null||P.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[l,v]),y.jsxs(P0,{ref:a,role:"region","aria-label":o.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&y.jsx(Wa,{ref:u,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"forwards"});Hl(w)}}),y.jsx(nc.Slot,{scope:n,children:y.jsx(We.ol,{tabIndex:-1,...i,ref:h})}),S&&y.jsx(Wa,{ref:c,onFocusFromOutsideViewport:()=>{const w=v({tabbingDirection:"backwards"});Hl(w)}})]})});em.displayName=Zh;var tm="ToastFocusProxy",Wa=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=el(tm,n);return y.jsx(Zs,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});Wa.displayName=tm;var pi="Toast",U0="toast.swipeStart",B0="toast.swipeMove",V0="toast.swipeCancel",H0="toast.swipeEnd",nm=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l,a]=O0({prop:r,defaultProp:o??!0,onChange:i,caller:pi});return y.jsx(ec,{present:n||l,children:y.jsx(K0,{open:l,...s,ref:t,onClose:()=>a(!1),onPause:_n(e.onPause),onResume:_n(e.onResume),onSwipeStart:ve(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ve(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ve(e.onSwipeEnd,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),a(!1)})})})});nm.displayName=pi;var[W0,Q0]=Xh(pi,{onClose(){}}),K0=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:d,...S}=e,v=el(pi,n),[w,m]=x.useState(null),p=kt(t,_=>m(_)),g=x.useRef(null),C=x.useRef(null),E=o||v.duration,k=x.useRef(0),P=x.useRef(E),R=x.useRef(0),{onToastAdd:j,onToastRemove:A}=v,z=_n(()=>{var Y;(w==null?void 0:w.contains(document.activeElement))&&((Y=v.viewport)==null||Y.focus()),s()}),I=x.useCallback(_=>{!_||_===1/0||(window.clearTimeout(R.current),k.current=new Date().getTime(),R.current=window.setTimeout(z,_))},[z]);x.useEffect(()=>{const _=v.viewport;if(_){const Y=()=>{I(P.current),u==null||u()},$=()=>{const V=new Date().getTime()-k.current;P.current=P.current-V,window.clearTimeout(R.current),a==null||a()};return _.addEventListener(Va,$),_.addEventListener(Ha,Y),()=>{_.removeEventListener(Va,$),_.removeEventListener(Ha,Y)}}},[v.viewport,E,a,u,I]),x.useEffect(()=>{i&&!v.isClosePausedRef.current&&I(E)},[i,E,v.isClosePausedRef,I]),x.useEffect(()=>(j(),()=>A()),[j,A]);const Q=x.useMemo(()=>w?um(w):null,[w]);return v.viewport?y.jsxs(y.Fragment,{children:[Q&&y.jsx(G0,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Q}),y.jsx(W0,{scope:n,onClose:z,children:fi.createPortal(y.jsx(nc.ItemSlot,{scope:n,children:y.jsx(k0,{asChild:!0,onEscapeKeyDown:ve(l,()=>
40{v.isFocusedToastEscapeKeyDownRef.current||z(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:y.jsx(We.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...S,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,_=>{_.key==="Escape"&&(l==null||l(_.nativeEvent),_.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,z()))}),onPointerDown:ve(e.onPointerDown,_=>{_.button===0&&(g.current={x:_.clientX,y:_.clientY})}),onPointerMove:ve(e.onPointerMove,_=>{if(!g.current)return;const Y=_.clientX-g.current.x,$=_.clientY-g.current.y,V=!!C.current,T=["left","right"].includes(v.swipeDirection),N=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,L=T?N(0,Y):0,H=T?0:N(0,$),F=_.pointerType==="touch"?10:2,K={x:L,y:H},q={originalEvent:_,delta:K};V?(C.current=K,Ii(B0,f,q,{discrete:!1})):Fd(K,v.swipeDirection,F)?(C.current=K,Ii(U0,c,q,{discrete:!1}),_.target.setPointerCapture(_.pointerId)):(Math.abs(Y)>F||Math.abs($)>F)&&(g.current=null)}),onPointerUp:ve(e.onPointerUp,_=>{const Y=C.current,$=_.target;if($.hasPointerCapture(_.pointerId)&&$.releasePointerCapture(_.pointerId),C.current=null,g.current=null,Y){const V=_.currentTarget,T={originalEvent:_,delta:Y};Fd(Y,v.swipeDirection,v.swipeThreshold)?Ii(H0,d,T,{discrete:!0}):Ii(V0,h,T,{discrete:!0}),V.addEventListener("click",N=>N.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),G0=e=>{const{__scopeToast:t,children:n,...r}=e,o=el(pi,t),[i,s]=x.useState(!1),[l,a]=x.useState(!1);return X0(()=>s(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:y.jsx(qh,{asChild:!0,children:y.jsx(Zs,{...r,children:i&&y.jsxs(y.Fragment,{children:[o.label," ",n]})})})},Y0="ToastTitle",rm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(We.div,{...r,ref:t})});rm.displayName=Y0;var q0="ToastDescription",om=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(We.div,{...r,ref:t})});om.displayName=q0;var im="ToastAction",sm=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?y.jsx(am,{altText:n,asChild:!0,children:y.jsx(rc,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${im}\`. Expected non-empty \`string\`.`),null)});sm.displayName=im;var lm="ToastClose",rc=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Q0(lm,n);return y.jsx(am,{asChild:!0,children:y.jsx(We.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,o.onClose)})})});rc.displayName=lm;var am=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return y.jsx(We.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function um(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),J0(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...um(r))}}),t}function Ii(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Qh(o,i):o.dispatchEvent(i)}var Fd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function X0(e=()=>{}){const t=_n(e);Ln(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function J0(e){return e.nodeType===e.ELEMENT_NODE}function Z0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Hl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var e1=Jh,cm=em,dm=nm,fm=rm,pm=om,hm=sm,mm=rc;function gm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=gm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function vm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=gm(e))&&(r&&(r+=" "),r+=t);return r}const zd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,$d=vm,oc=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return $d(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],f=i==null?void 0:i[u];if(c===null)return null;const h=zd(c)||zd(f);return o[u][h]}),l=n&&Object.entries(n).reduce((u,c)=>{let[f,h]=c;return h===void 0||(u[f]=h),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:h,...d}=c;return Object.entries(d).every(S=>{let[v,w]=S;return Array.isArray(w)?w.includes({...i,...l}[v]):{...i,...l}[v]===w})?[...u,f,h]:u},[]);return $d(e,s,a,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const t1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ym=(...e)=>
vendor: 4,902 bytes, lines 45-105
45e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var n1={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"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const r1=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},a)=>x.createElement("svg",{ref:a,...n1,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ym("lucide",o),...l},[...s.map(([u,c])=>x.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const Tt=(e,t)=>{const n=x.forwardRef(({className:r,...o},i)=>x.createElement(r1,{ref:i,iconNode:t,className:ym(`lucide-${t1(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Ud=Tt("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const Wl=Tt("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"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const o1=Tt("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const i1=Tt("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const So=Tt("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"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const s1=Tt("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const l1=Tt("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const a1=Tt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const u1=Tt("University",[["circle",{cx:"12",cy:"10",r:"1",key:"1gnqs8"}],["path",{d:"M22 20V8h-4l-6-4-6 4H2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2",ke
vendor: 6,788 bytes, lines 105-115
105y:"1qj5sn"}],["path",{d:"M6 17v.01",key:"roodi6"}],["path",{d:"M6 13v.01",key:"67c122"}],["path",{d:"M18 17v.01",key:"12ktxm"}],["path",{d:"M18 13v.01",key:"tn1rt1"}],["path",{d:"M14 22v-5a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5",key:"11g7fi"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Bd=Tt("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const c1=Tt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ic="-",d1=e=>{const t=p1(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(ic);return l[0]===""&&l.length!==1&&l.shift(),wm(l,t)||f1(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},wm=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?wm(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(ic);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Vd=/^\[(.+)\]$/,f1=e=>{if(Vd.test(e)){const t=Vd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},p1=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return m1(Object.entries(e.classGroups),n).forEach(([i,s])=>{Qa(s,r,i,t)}),r},Qa=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Hd(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(h1(o)){Qa(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Qa(s,Hd(t,i),n,r)})})},Hd=(e,t)=>{let n=e;return t.split(ic).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},h1=e=>e.isThemeGetter,m1=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,g1=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},xm="!",v1=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const a=[];let u=0,c=0,f;for(let w=0;w<l.length;w++){let m=l[w];if(u===0){if(m===o&&(r||l.slice(w,w+i)===t)){a.push(l.slice(c,w)),c=w+i;continue}if(m==="/"){f=w;continue}}m==="["?u++:m==="]"&&u--}const h=a.length===0?l:l.substring(c),d=h.startsWith(xm),S=d?h.substring(1):h,v=f&&f>c?f-c:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:S,maybePostfixModifierPosition:v}};return n?l=>n({className:l,parseClassName:s}):s},y1=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},w1=e=>({cache:g1(e.cacheSize),parseClassName:v1(e),...d1(e)}),x1=/\s+/,S1=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(x1);let l="";for(let a=s.length-1;a>=0;a-=1){const u=s[a],{modifiers:c,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:d}=n(u);let S=!!d,v=r(S?h.substring(0,d):h);if(!v){if(!S){l=u+(l.length>0?" "+l:l);continue}if(v=r(h),!v){l=u+(l.length>0?" "+l:l);continue}S=!1}const w=y1(c).join(":"),m=f?w+xm:w,p=m+v;if(i.includes(p))continue;i.push(p);const g=o(v,S);for(let C=0;C<g.length;++C){const E=g[C];i.push(m+E)}l=u+(l.length>0?" "+l:l)}return l};function C1(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Sm(t))&&(r&&(r+=" "),r+=n);return r}const Sm=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Sm(e[r]))&&(n&&(n+=" "),n+=t);return n};function E1(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((c,f)=>f(c),e());return n=w1(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const c=S1(a,n);return o(a,c),c}return function(){return i(C1.apply(null,arguments))}}const re=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Cm=/^\[(?:([a-z-]+):)?(.+)\]$/i,k1=/^\d+\/\d+$/,P1=new Set(["px","full","screen"]),b1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T1=/\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$/,N1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,R1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$t=e=>Fr(e)||P1.has(e)||k1.test(e),un=e=>lo(e,"length",F1),Fr=e=>!!e&&!Number.isNaN(Number(e)),Ql=e=>lo(e,"number",Fr),Co=e=>!!e&&Number.isInteger(Number(e)),O1=e=>e.endsWith("%")&&Fr(e.slice(0,-1)),W=e=>Cm.test(e),cn=e=>b1.test(e),A1=new Set(["length","size","percentage"]),j1=e=>lo(e,A1,Em),_1=e=>lo(e,"position",Em),L1=new Set(["image","url"]),D1=e=>lo(e,L1,$1),I1=e=>lo(e,"",z1),Eo=()=>!0,lo=(e,t,n)=>{const r=Cm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},F1=e=>T1.test(e)&&!N1.test(e),Em=()=>!1,z1=e=>R1.test(e),$1=e=>M1.test(e),U1=()=>{const e=re("colors"),t=re("spacing"),n=re("blur"),r=re("brightness"),o=re("borderColor"),i=re("borderRadius"),s=re("borderSpacing"),l=re("borderWidth"),a=re("contrast"),u=re("grayscale"),c=re("hueRotate"),f=re("invert"),h=re("gap"),d=re("gradientColorStops"),S=re("gradientColorStopPositions"),v=re("inset"),w=re("margin"),m=re("opacity"),p=re("padding"),g=re("saturate"),C=re("scale"),E=re("sepia"),k=re("skew"),P=re("space"),R=re("translate"),j=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",W,t],I=()=>[W,t],Q=()=>["",$t,un],_=()=>["auto",Fr,W],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],T=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",W],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[Fr,W];return{cacheSize:500,separator:":",theme:{colors:[Eo],spacing:[$t,un],blur:["none","",cn,W],brightness:H(),borderColor:[e],borderRadius:["n
115one","","full",cn,W],borderSpacing:I(),borderWidth:Q(),contrast:H(),grayscale:N(),hueRotate:H(),invert:N(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[O1,un],inset:z(),margin:z(),opacity:H(),padding:I(),saturate:H(),scale:H(),sepia:N(),skew:H(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[cn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:[...Y(),W]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Co,W]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",Co,W]}],"grid-cols":[{"grid-cols":[Eo]}],"col-start-end":[{col:["auto",{span:["full",Co,W]},W]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[Eo]}],"row-start-end":[{row:["auto",{span:[Co,W]},W]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...T()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...T(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...T(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[cn]},cn]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",cn,un]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ql]}],"font-family":[{font:[Eo]}],"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",W]}],"line-clamp":[{"line-clamp":["none",Fr,Ql]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$t,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$t,un]}],"underline-offset":[{"underline-offset":["auto",$t,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],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",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),_1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",j1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
vendor: 5,172 bytes, line 115
115],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[$t,W]}],"outline-w":[{outline:[$t,un]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[$t,un]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",cn,I1]}],"shadow-color":[{shadow:[Eo]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",cn,W]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[g]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Co,W]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],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",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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: 2,901 bytes, line 115
115],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",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$t,un,Ql]}],stroke:[{stroke:[e,"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"]}}},B1=E1(U1);function Ie(...e){return B1(vm(e))}const V1=e1,km=x.forwardRef(({className:e,...t},n)=>y.jsx(cm,{ref:n,className:Ie("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]",e),...t}));
115km.displayName=cm.displayName;const H1=oc("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"}}),Pm=x.forwardRef(({className:e,variant:t,...n},r)=>y.jsx(dm,{ref:r,className:Ie(H1({variant:t}),e),...n}));Pm.displayName=dm.displayName;const W1=x.forwardRef(({className:e,...t},n)=>y.jsx(hm,{ref:n,className:Ie("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));W1.displayName=hm.displayName;const bm=x.forwardRef(({className:e,...t},n)=>y.jsx(mm,{ref:n,className:Ie("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:y.jsx(c1,{className:"h-4 w-4"})}));bm.displayName=mm.displayName;const Tm=x.forwardRef(({className:e,...t},n)=>y.jsx(fm,{ref:n,className:Ie("text-sm font-semibold",e),...t}));Tm.displayName=fm.displayName;const Nm=x.forwardRef(({className:e,...t},n)=>y.jsx(pm,{ref:n,className:Ie("text-sm opacity-90",e),...t}));Nm.displayName=pm.displayName;function Q1(){const{toasts:e}=l0();return y.jsxs(V1,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return y.jsxs(Pm,{...i,children:[y.jsxs("div",{className:"grid gap-1",children:[n&&y.jsx(Tm,{children:n}),r&&y.jsx(Nm,{children:r})]}),o,y.jsx(bm,{})]},t)}),y.jsx(km,{})]})}var Wd=["light","dark"],K1="(prefers-color-scheme: dark)",G1=x.createContext(void 0),Y1={setTheme:e=>{},themes:[]},q1=()=>{var e;return(e=x.useContext(G1))!=null?e:Y1};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:l,nonce:a})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?Wd.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(S,v=!1,w=!0)=>{let m=s?s[S]:S,p=v?S+"|| ''":`'${m}'`,g="";return o&&w&&!v&&Wd.includes(S)&&(g+=`d.style.colorScheme = '${S}';`),n==="class"?v||m?g+=`c.add(${p})`:g+="null":m&&(g+=`d[s](n,${p})`),g},d=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${K1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${u?"":"else{"+h(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${f}}catch(t){}}();`;return x.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:d}})});var X1=e=>{switch(e){case"success":return ew;case"info":return nw;case"warning":return tw;case"error":return rw;default:return null}},J1=Array(12).fill(0),Z1=({visible:e,className:t})=>O.createElement("div",{className:["sonner-loading-wrapper",t].filter(
115Boolean).join(" "),"data-visible":e},O.createElement("div",{className:"sonner-spinner"},J1.map((n,r)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),ew=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),tw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),nw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),rw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),ow=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),iw=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ka=1,sw=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ka++,i=this.toasts.find(l=>l.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
115this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async a=>{if(i=["resolve",a],O.isValidElement(a))o=!1,this.create({id:n,type:"default",message:a});else if(aw(a)&&!a.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${a.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${a.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(a):t.success,c=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async a=>{if(i=["reject",a],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(a):t.error,c=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var a;o&&(this.dismiss(n),n=void 0),(a=t.finally)==null||a.call(t)}),l=()=>new Promise((a,u)=>s.then(()=>i[0]==="reject"?u(i[1]):a(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Ka++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Fe=new sw,lw=(e,t)=>{let n=(t==null?void 0:t.id)||Ka++;return Fe.addToast({title:e,...t,id:n}),n},aw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",uw=lw,cw=()=>Fe.toasts,dw=()=>Fe.getActiveToasts();Object.assign(uw,{success:Fe.success,info:Fe.info,warning:Fe.warning,error:Fe.error,custom:Fe.custom,message:Fe.message,promise:Fe.promise,dismiss:Fe.dismiss,loading:Fe.loading},{getHistory:cw,getToasts:dw});function fw(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}fw(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
115left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
115:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
115--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
116`);function Fi(e){return e.label!==void 0}var pw=3,hw="32px",mw="16px",Qd=4e3,gw=356,vw=14,yw=20,ww=200;function ft(...e){return e.filter(Boolean).join(" ")}function xw(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Sw=e=>{var t,n,r,o,i,s,l,a,u,c,f;let{invert:h,toast:d,unstyled:S,interacting:v,setHeights:w,visibleToasts:m,heights:p,index:g,toasts:C,expanded:E,removeToast:k,defaultRichColors:P,closeButton:R,style:j,cancelButtonStyle:A,actionButtonStyle:z,className:I="",descriptionClassName:Q="",duration:_,position:Y,gap:$,loadingIcon:V,expandByDefault:T,classNames:N,icons:L,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:F}=e,[K,q]=O.useState(null),[he,ke]=O.useState(null),[Z,dr]=O.useState(!1),[tn,Un]=O.useState(!1),[nn,fr]=O.useState(!1),[rn,mi]=O.useState(!1),[dl,gi]=O.useState(!1),[fl,co]=O.useState(0),[pr,yc]=O.useState(0),fo=O.useRef(d.duration||_||Qd),wc=O.useRef(null),Bn=O.useRef(null),Sg=g===0,Cg=g+1<=m,et=d.type,hr=d.dismissible!==!1,Eg=d.className||"",kg=d.descriptionClassName||"",vi=O.useMemo(()=>p.findIndex(U=>U.toastId===d.id)||0,[p,d.id]),Pg=O.useMemo(()=>{var U;return(U=d.closeButton)!=null?U:R},[d.closeButton,R]),xc=O.useMemo(()=>d.duration||_||Qd,[d.duration,_]),pl=O.useRef(0),mr=O.useRef(0),Sc=O.useRef(0),gr=O.useRef(null),[bg,Tg]=Y.split("-"),Cc=O.useMemo(()=>p.reduce((U,te,se)=>se>=vi?U:U+te.height,0),[p,vi]),Ec=iw(),Ng=d.invert||h,hl=et==="loading";mr.current=O.useMemo(()=>vi*$+Cc,[vi,Cc]),O.useEffect(()=>{fo.current=xc},[xc]),O.useEffect(()=>{dr(!0)},[]),O.useEffect(()=>{let U=Bn.current;if(U){let te=U.getBoundingClientRect().height;return yc(te),w(se=>[{toastId:d.id,height:te,position:d.position},...se]),()=>w(se=>se.filter(at=>at.toastId!==d.id))}},[w,d.id]),O.useLayoutEffect(()=>{if(!Z)return;let U=Bn.current,te=U.style.height;U.style.height="auto";let se=U.getBoundingClientRect().height;U.style.height=te,yc(se),w(at=>at.find(ut=>ut.toastId===d.id)?at.map(ut=>
116ut.toastId===d.id?{...ut,height:se}:ut):[{toastId:d.id,height:se,position:d.position},...at])},[Z,d.title,d.description,w,d.id]);let on=O.useCallback(()=>{Un(!0),co(mr.current),w(U=>U.filter(te=>te.toastId!==d.id)),setTimeout(()=>{k(d)},ww)},[d,k,w,mr]);O.useEffect(()=>{if(d.promise&&et==="loading"||d.duration===1/0||d.type==="loading")return;let U;return E||v||F&&Ec?(()=>{if(Sc.current<pl.current){let te=new Date().getTime()-pl.current;fo.current=fo.current-te}Sc.current=new Date().getTime()})():fo.current!==1/0&&(pl.current=new Date().getTime(),U=setTimeout(()=>{var te;(te=d.onAutoClose)==null||te.call(d,d),on()},fo.current)),()=>clearTimeout(U)},[E,v,d,et,F,Ec,on]),O.useEffect(()=>{d.delete&&on()},[on,d.delete]);function Rg(){var U,te,se;return L!=null&&L.loading?O.createElement("div",{className:ft(N==null?void 0:N.loader,(U=d==null?void 0:d.classNames)==null?void 0:U.loader,"sonner-loader"),"data-visible":et==="loading"},L.loading):V?O.createElement("div",{className:ft(N==null?void 0:N.loader,(te=d==null?void 0:d.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":et==="loading"},V):O.createElement(Z1,{className:ft(N==null?void 0:N.loader,(se=d==null?void 0:d.classNames)==null?void 0:se.loader),visible:et==="loading"})}return O.createElement("li",{tabIndex:0,ref:Bn,className:ft(I,Eg,N==null?void 0:N.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[et],(n=d==null?void 0:d.classNames)==null?void 0:n[et]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:P,"data-styled":!(d.jsx||d.unstyled||S),"data-mounted":Z,"data-promise":!!d.promise,"data-swiped":dl,"data-removed":tn,"data-visible":Cg,"data-y-position":bg,"data-x-position":Tg,"data-index":g,"data-front":Sg,"data-swiping":nn,"data-dismissible":hr,"data-type":et,"data-invert":Ng,"data-swipe-out":rn,"data-swipe-direction":he,"data-expanded":!!(E||T&&Z),style:{"--index":g,"--toasts-before":g,"--z-index":C.length-g,"--offset":`${tn?fl:mr.current}px`,"--initial-height":T?"auto":`${pr}px`,...j,...d.style},onDragEnd:()=>{fr(!1),q(null),gr.current=null},onPointerDown:U=>{hl||!hr||(wc.current=new Date,co(mr.current),U.target.setPointerCapture(U.pointerId),U.target.tagName!=="BUTTON"&&(fr(!0),gr.current={x:U.clientX,y:U.clientY}))},onPointerUp:()=>{var U,te,se,at;if(rn||!hr)return;gr.current=null;let ut=Number(((U=Bn.current)==null?void 0:U.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),sn=Number(((te=Bn.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Vn=new Date().getTime()-((se=wc.current)==null?void 0:se.getTime()),ct=K==="x"?ut:sn,ln=Math.abs(ct)/Vn;if(Math.abs(ct)>=yw||ln>.11){co(mr.current),(at=d.onDismiss)==null||at.call(d,d),ke(K==="x"?ut>0?"right":"left":sn>0?"down":"up"),on(),mi(!0),gi(!1);return}fr(!1),q(null)},onPointerMove:U=>{var te,se,at,ut;if(!gr.current||!hr||((te=window.getSelection())==null?void 0:te.toString().length)>0)return;let sn=U.clientY-gr.current.y,Vn=U.clientX-gr.current.x,ct=(se=e.swipeDirections)!=null?se:xw(Y);!K&&(Math.abs(Vn)>1||Math.abs(sn)>1)&&q(Math.abs(Vn)>Math.abs(sn)?"x":"y");let ln={x:0,y:0};K==="y"?(ct.includes("top")||ct.includes("bottom"))&&(ct.includes("top")&&sn<0||ct.includes("bottom")&&sn>0)&&(ln.y=sn):K==="x"&&(ct.includes("left")||ct.includes("right"))&&(ct.includes("left")&&Vn<0||ct.includes("right")&&Vn>0)&&(ln.x=Vn),(Math.abs(ln.x)>0||Math.abs(ln.y)>0)&&gi(!0),(at=Bn.current)==null||at.style.setProperty("--swipe-amount-x",`${ln.x}px`),(ut=Bn.current)==null||ut.style.setProperty("--swipe-amount-y",`${ln.y}px`)}},Pg&&!d.jsx?O.createElement("button",{"aria-label":H,"data-disabled":hl,"data-close-button":!0,onClick:hl||!hr?()=>{}:()=>{var U;on(),(U=d.onDismiss)==null||U.call(d,d)},className:ft(N==null?void 0:N.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},(i=L==null?void 0:L.close)!=null?i:ow):null,d.jsx||x.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:O.createElement(O.Fragment,null,et||d.icon||d.promise?O.createElement("div",{"data-icon":"",className:ft(N==null?void 0:N.icon,(s=d==null?void 0:d.classNames)==null?void 0:s.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||Rg():null,d.type!=="loading"?d.icon||(L==null?void 0:L[et])||X1(et):null):null,O.createElement("div",{"data-content":"",className:ft(N==null?void 0:N.content,(l=d==null?void 0:d.classNames)==null?void 0:l.content)},O.createElement("div",{"data-title":"",className:ft(N==null?void 0:N.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},typeof d.title=="function"?d.title():d.title),d.description?O.createElement("div",{"data-description":"",className:ft(Q,kg,N==null?void 0:N.description,(u=d==null?void 0:d.classNames)==null?void 0:u.description)},typeof d.description=="function"?d.description():d.description):null),x.isValidElement(d.cancel)?d.cancel:d.cancel&&Fi(d.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||A,onClick:U=>{var te,se;Fi(d.cancel)&&hr&&((se=(te=d.cancel).onClick)==null||se.call(te,U),on())},className:ft(N==null?void 0:N.cancelButton,(c=d==null?void 0:d.classNames)==null?void 0:c.cancelButton)},d.cancel.label):null,x.isValidElement(d.action)?d.action:d.action&&Fi(d.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||z,onClick:U=>{var te,se;
vendor: 5,437 bytes, line 116
116Fi(d.action)&&((se=(te=d.action).onClick)==null||se.call(te,U),!U.defaultPrevented&&on())},className:ft(N==null?void 0:N.actionButton,(f=d==null?void 0:d.classNames)==null?void 0:f.actionButton)},d.action.label):null))};function Kd(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Cw(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",l=i?mw:hw;function a(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?a(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=l:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):a(l)}),n}var Ew=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:l,offset:a,mobileOffset:u,theme:c="light",richColors:f,duration:h,style:d,visibleToasts:S=pw,toastOptions:v,dir:w=Kd(),gap:m=vw,loadingIcon:p,icons:g,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:E}=e,[k,P]=O.useState([]),R=O.useMemo(()=>Array.from(new Set([r].concat(k.filter(F=>F.position).map(F=>F.position)))),[k,r]),[j,A]=O.useState([]),[z,I]=O.useState(!1),[Q,_]=O.useState(!1),[Y,$]=O.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=O.useRef(null),T=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=O.useRef(null),L=O.useRef(!1),H=O.useCallback(F=>{P(K=>{var q;return(q=K.find(he=>he.id===F.id))!=null&&q.delete||Fe.dismiss(F.id),K.filter(({id:he})=>he!==F.id)})},[]);return O.useEffect(()=>Fe.subscribe(F=>{if(F.dismiss){P(K=>K.map(q=>q.id===F.id?{...q,delete:!0}:q));return}setTimeout(()=>{Bh.flushSync(()=>{P(K=>{let q=K.findIndex(he=>he.id===F.id);return q!==-1?[...K.slice(0,q),{...K[q],...F},...K.slice(q+1)]:[F,...K]})})})}),[]),O.useEffect(()=>{if(c!=="system"){$(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let F=window.matchMedia("(prefers-color-scheme: dark)");try{F.addEventListener("change",({matches:K})=>{$(K?"dark":"light")})}catch{F.addListener(({matches:q})=>{try{$(q?"dark":"light")}catch(he){console.error(he)}})}},[c]),O.useEffect(()=>{k.length<=1&&I(!1)},[k]),O.useEffect(()=>{let F=K=>{var q,he;o.every(ke=>K[ke]||K.code===ke)&&(I(!0),(q=V.current)==null||q.focus()),K.code==="Escape"&&(document.activeElement===V.current||(he=V.current)!=null&&he.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[o]),O.useEffect(()=>{if(V.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,L.current=!1)}},[V.current]),O.createElement("section",{ref:t,"aria-label":`${C} ${T}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((F,K)=>{var q;let[he,ke]=F.split("-");return k.length?O.createElement("ol",{key:F,dir:w==="auto"?Kd():w,tabIndex:-1,ref:V,className:l,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":he,"data-lifted":z&&k.length>1&&!i,"data-x-position":ke,style:{"--front-toast-height":`${((q=j[0])==null?void 0:q.height)||0}px`,"--width":`${gw}px`,"--gap":`${m}px`,...d,...Cw(a,u)},onBlur:Z=>{L.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(L.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||L.current||(L.current=!0,N.current=Z.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{Q||I(!1)},onDragEnd:()=>I(!1),onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||_(!0)},onPointerUp:()=>_(!1)},k.filter(Z=>!Z.position&&K===0||Z.position===F).map((Z,dr)=>{var tn,Un;return O.createElement(Sw,{key:Z.id,icons:g,index:dr,toast:Z,defaultRichColors:f,duration:(tn=v==null?void 0:v.duration)!=null?tn:h,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:S,closeButton:(Un=v==null?void 0:v.closeButton)!=null?Un:s,interacting:Q,position:F,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:H,toasts:k.filter(nn=>nn.position==Z.position),heights:j.filter(nn=>nn.position==Z.position),setHeights:A,expandByDefault:i,gap:m,loadingIcon:p,expanded:z,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const kw=({...e})=>{const{theme:t="system"}=q1();return y.jsx(Ew,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Pw=["top","right","bottom","left"],Dn=Math.min,Ke=Math.max,Rs=Math.round,zi=Math.floor,It=e=>({x:e,y:e}
vendor: 9,886 bytes, line 116
116),bw={left:"right",right:"left",bottom:"top",top:"bottom"},Tw={start:"end",end:"start"};function Ga(e,t,n){return Ke(e,Dn(t,n))}function Jt(e,t){return typeof e=="function"?e(t):e}function Zt(e){return e.split("-")[0]}function ao(e){return e.split("-")[1]}function sc(e){return e==="x"?"y":"x"}function lc(e){return e==="y"?"height":"width"}const Nw=new Set(["top","bottom"]);function _t(e){return Nw.has(Zt(e))?"y":"x"}function ac(e){return sc(_t(e))}function Rw(e,t,n){n===void 0&&(n=!1);const r=ao(e),o=ac(e),i=lc(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ms(s)),[s,Ms(s)]}function Mw(e){const t=Ms(e);return[Ya(e),t,Ya(t)]}function Ya(e){return e.replace(/start|end/g,t=>Tw[t])}const Gd=["left","right"],Yd=["right","left"],Ow=["top","bottom"],Aw=["bottom","top"];function jw(e,t,n){switch(e){case"top":case"bottom":return n?t?Yd:Gd:t?Gd:Yd;case"left":case"right":return t?Ow:Aw;default:return[]}}function _w(e,t,n,r){const o=ao(e);let i=jw(Zt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ya)))),i}function Ms(e){return e.replace(/left|right|bottom|top/g,t=>bw[t])}function Lw(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rm(e){return typeof e!="number"?Lw(e):{top:e,right:e,bottom:e,left:e}}function Os(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function qd(e,t,n){let{reference:r,floating:o}=e;const i=_t(t),s=ac(t),l=lc(s),a=Zt(t),u=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[l]/2-o[l]/2;let d;switch(a){case"top":d={x:c,y:r.y-o.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(ao(t)){case"start":d[s]-=h*(n&&u?-1:1);break;case"end":d[s]+=h*(n&&u?-1:1);break}return d}const Dw=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=qd(u,r,a),h=r,d={},S=0;for(let v=0;v<l.length;v++){const{name:w,fn:m}=l[v],{x:p,y:g,data:C,reset:E}=await m({x:c,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:d,rects:u,platform:s,elements:{reference:e,floating:t}});c=p??c,f=g??f,d={...d,[w]:{...d[w],...C}},E&&S<=50&&(S++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:c,y:f}=qd(u,h,a)),v=-1)}return{x:c,y:f,placement:h,strategy:o,middlewareData:d}};async function ti(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Jt(t,e),S=Rm(d),w=l[h?f==="floating"?"reference":"floating":f],m=Os(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),p=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),C=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},E=Os(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:g,strategy:a}):p);return{top:(m.top-E.top+S.top)/C.y,bottom:(E.bottom-m.bottom+S.bottom)/C.y,left:(m.left-E.left+S.left)/C.x,right:(E.right-m.right+S.right)/C.x}}const Iw=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=Jt(e,t)||{};if(u==null)return{};const f=Rm(c),h={x:n,y:r},d=ac(o),S=lc(d),v=await s.getDimensions(u),w=d==="y",m=w?"top":"left",p=w?"bottom":"right",g=w?"clientHeight":"clientWidth",C=i.reference[S]+i.reference[d]-h[d]-i.floating[S],E=h[d]-i.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=k?k[g]:0;(!P||!await(s.isElement==null?void 0:s.isElement(k)))&&(P=l.floating[g]||i.floating[S]);const R=C/2-E/2,j=P/2-v[S]/2-1,A=Dn(f[m],j),z=Dn(f[p],j),I=A,Q=P-v[S]-z,_=P/2-v[S]/2+R,Y=Ga(I,_,Q),$=!a.arrow&&ao(o)!=null&&_!==Y&&i.reference[S]/2-(_<I?A:z)-v[S]/2<0,V=$?_<I?_-I:_-Q:0;return{[d]:h[d]+V,data:{[d]:Y,centerOffset:_-Y-V,...$&&{alignmentOffset:V}},reset:$}}}),Fw=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:v=!0,...w}=Jt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=Zt(o),p=_t(l),g=Zt(l)===l,C=await(a.isRTL==null?void 0:a.isRTL(u.floating)),E=h||(g||!v?[Ms(l)]:Mw(l)),k=S!=="none";!h&&k&&E.push(..._w(l,v,S,C));const P=[l,...E],R=await ti(t,w),j=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&j.push(R[m]),f){const _=Rw(o,s,C);j.push(R[_[0]],R[_[1]])}if(A=[...A,{placement:o,overflows:j}],!j.every(_=>_<=0)){var z,I;const _=(((z=i.flip)==null?void 0:z.index)||0)+1,Y=P[_];if(Y&&(!(f==="alignment"?p!==_t(Y):!1)||A.every(T=>T.overflows[0]>0&&_t(T.placement)===p)))return{data:{index:_,overflows:A},reset:{placement:Y}};let $=(I=A.filter(V=>V.overflows[0]<=0).sort((V,T)=>V.overflows[1]-T.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(d){case"bestFit":{var Q;const V=(Q=A.filter(T=>{if(k){const N=_t(T.placement);return N===p||N==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(N=>N>0).reduce((N,L)=>N+L,0)]).sort((T,N)=>T[1]-N[1])[0])==null?void 0:Q[0];V&&($=V);break}case"initialPlacement":$=l;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function Xd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Jd(e){return Pw.some(t=>e[t]>=0)}const zw=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Jt(e,t);switch(r){case"referenceHidden":{const i=await ti(t,{...o,elementContext:"reference"}),s=Xd(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Jd(s)}}}case"escaped":{const i=await ti(t,{...o,altBoundary:!0}),s=Xd(i,n.floating);return{data:{escapedOffsets:s,escaped:Jd(s)}}}default:return{}}}}},Mm=new Set(["left","top"]);async function $w(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Zt(n),l=ao(n),a=_t(n)==="y",u=Mm.has(s)?-1:1,c=i&&a?-1:1,f=Jt(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof S=="number"&&(d=l==="end"?S*-1:S),a?{x:d*c,y:h*u}:{x:h*u,y:d*c}}const Uw=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await $w(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},Bw=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:m,y:p}=w;return{x:m,y:p}}},...a}=Jt(e,t),u={x:n,y:r},c=await ti(t,a),f=_t(Zt(o)),h=sc(f);let d=u[h],S=u[f];if(i){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",p=d+c[w],g=d-c[m];d=Ga(p,d,g)}if(s){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",p=S+c[w],g=S-c[m];S=Ga(p,S,g)}const v=l.fn({...t,[h]:d,[f]:S});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:i,[f]:s}}}}}},Vw=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Jt(e,t),c={x:n,y:r},f=_t(o),h=sc(f);let d=c[h],S=c[f];const v=Jt(l,t),w=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){const g=h==="y"?"height":"width",C=i.reference[h]-i.floating[g]+w.mainAxis,E=i.reference[h]+i.reference[g]-w.mainAxis;d<C?d=C:d>E&&(d=E)}if(u){var m,p;const g=h==="y"?"width":"height",C=Mm.has(Zt(o)),E=i.reference[f]-i.floating[g]+(C&&((m=s.offset)==null?void 0:m[f])||0)+(C?0:w.crossAxis),k=i.reference[f]+i.reference[g]+(C?0:((p=s.offset)==null?void 0:p[f])||0)-(C?w.crossAxis:0);S<E?S=E:S>k&&(S=k)}return{[h]:d,[f]:S}}}},Hw=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Jt(e,t),c=await ti(t,u),f=Zt(o),h=ao(o),d=_t(o)==="y",{width:S,height:v}=i.floating;let w,m;f==="top"||f==="bottom"?(w=f,m=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(m=f,w=h==="end"?"top":"bottom");const p=v-c.top-c.bottom,g=S-c.left-c.right,C=Dn(v-c[w],p),E=Dn(S-c[m],g),k=!t.middlewareData.shift;let P=C,R=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=p),k&&!h){const A=Ke(c.left,0),z=Ke(c.right,0),I=Ke(c.top,0),Q=Ke(c.bottom,0);d?R=S-2*(A!==0||z!==0?A+z:Ke(c.left,c.right)):P=v-2*(I!==0||Q!==0?I+Q:Ke(c.top,c.bottom))}await a({...t,availableWidth:R,availableHeight:P});const j=await s.getDimensions(l.floating);return S!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}};function tl(){return typeof window<"u"}function uo(e){return Om(e)?(e.nodeName||"").toLowerCase():"#document"}function qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zt(e){var t;return(t=(Om(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}
vendor: 4,581 bytes, line 116
116function Om(e){return tl()?e instanceof Node||e instanceof qe(e).Node:!1}function Pt(e){return tl()?e instanceof Element||e instanceof qe(e).Element:!1}function Ft(e){return tl()?e instanceof HTMLElement||e instanceof qe(e).HTMLElement:!1}function Zd(e){return!tl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qe(e).ShadowRoot}const Ww=new Set(["inline","contents"]);function hi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ww.has(o)}const Qw=new Set(["table","td","th"]);function Kw(e){return Qw.has(uo(e))}const Gw=[":popover-open",":modal"];function nl(e){return Gw.some(t=>{try{return e.matches(t)}catch{return!1}})}const Yw=["transform","translate","scale","rotate","perspective"],qw=["transform","translate","scale","rotate","perspective","filter"],Xw=["paint","layout","strict","content"];function uc(e){const t=cc(),n=Pt(e)?bt(e):e;return Yw.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||qw.some(r=>(n.willChange||"").includes(r))||Xw.some(r=>(n.contain||"").includes(r))}function Jw(e){let t=In(e);for(;Ft(t)&&!no(t);){if(uc(t))return t;if(nl(t))return null;t=In(t)}return null}function cc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Zw=new Set(["html","body","#document"]);function no(e){return Zw.has(uo(e))}function bt(e){return qe(e).getComputedStyle(e)}function rl(e){return Pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function In(e){if(uo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zd(e)&&e.host||zt(e);return Zd(t)?t.host:t}function Am(e){const t=In(e);return no(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ft(t)&&hi(t)?t:Am(t)}function ni(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Am(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=qe(o);if(i){const l=qa(s);return t.concat(s,s.visualViewport||[],hi(o)?o:[],l&&n?ni(l):[])}return t.concat(o,ni(o,[],n))}function qa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jm(e){const t=bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ft(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=Rs(n)!==i||Rs(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function dc(e){return Pt(e)?e:e.contextElement}function zr(e){const t=dc(e);if(!Ft(t))return It(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=jm(t);let s=(i?Rs(n.width):n.width)/r,l=(i?Rs(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const ex=It(0);function _m(e){const t=qe(e);return!cc()||!t.visualViewport?ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qe(e)?!1:t}function ar(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=dc(e);let s=It(1);t&&(r?Pt(r)&&(s=zr(r)):s=zr(e));const l=tx(i,n,r)?_m(i):It(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,c=o.width/s.x,f=o.height/s.y;if(i){const h=qe(i),d=r&&Pt(r)?qe(r):r;let S=h,v=qa(S);for(;v&&r&&d!==S;){const w=zr(v),m=v.getBoundingClientRect(),p=bt(v),g=m.left+(v.clientLeft+parseFloat(p.paddingLeft))*w.x,C=m.top+(v.clientTop+parseFloat(p.paddingTop))*w.y;a*=w.x,u*=w.y,c*=w.x,f*=w.y,a+=g,u+=C,S=qe(v),v=qa(S)}}return Os({width:c,height:f,x:a,y:u})}function fc(e,t){const n=rl(e).scrollLeft;return t?t.left+n:ar(zt(e)).left+n}function Lm(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:fc(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function nx(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=zt(r),l=t?nl(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=It(1);const c=It(0),f=Ft(r);if((f||!f&&!i)&&((uo(r)!=="body"||hi(s))&&(a=rl(r)),Ft(r))){const d=ar(r);u=zr(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=s&&!f&&!i?Lm(s,a,!0):It(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+c.x+h.x,y:n.y*u.y-a.scrollTop*u.y+c.y+h.y}}function rx(e){return Array.from(e.getClientRects())}function ox(e){const t=zt(e),n=rl(e),r=e.ownerDocument.body,o=Ke(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ke(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+fc(e);const l=-n.scrollTop;return bt(r).direction==="rtl"&&(s+=Ke(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}
vendor: 10,451 bytes, line 116
116function ix(e,t){const n=qe(e),r=zt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=cc();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}const sx=new Set(["absolute","fixed"]);function lx(e,t){const n=ar(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ft(e)?zr(e):It(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function ef(e,t,n){let r;if(t==="viewport")r=ix(e,n);else if(t==="document")r=ox(zt(e));else if(Pt(t))r=lx(t,n);else{const o=_m(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Os(r)}function Dm(e,t){const n=In(e);return n===t||!Pt(n)||no(n)?!1:bt(n).position==="fixed"||Dm(n,t)}function ax(e,t){const n=t.get(e);if(n)return n;let r=ni(e,[],!1).filter(l=>Pt(l)&&uo(l)!=="body"),o=null;const i=bt(e).position==="fixed";let s=i?In(e):e;for(;Pt(s)&&!no(s);){const l=bt(s),a=uc(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&sx.has(o.position)||hi(s)&&!a&&Dm(e,s))?r=r.filter(c=>c!==s):o=l,s=In(s)}return t.set(e,r),r}function ux(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?nl(t)?[]:ax(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,c)=>{const f=ef(t,c,o);return u.top=Ke(f.top,u.top),u.right=Dn(f.right,u.right),u.bottom=Dn(f.bottom,u.bottom),u.left=Ke(f.left,u.left),u},ef(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function cx(e){const{width:t,height:n}=jm(e);return{width:t,height:n}}function dx(e,t,n){const r=Ft(t),o=zt(t),i=n==="fixed",s=ar(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=It(0);function u(){a.x=fc(o)}if(r||!r&&!i)if((uo(t)!=="body"||hi(o))&&(l=rl(t)),r){const d=ar(t,!0,i,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?Lm(o,l):It(0),f=s.left+l.scrollLeft-a.x-c.x,h=s.top+l.scrollTop-a.y-c.y;return{x:f,y:h,width:s.width,height:s.height}}function Kl(e){return bt(e).position==="static"}function tf(e,t){if(!Ft(e)||bt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return zt(e)===n&&(n=n.ownerDocument.body),n}function Im(e,t){const n=qe(e);if(nl(e))return n;if(!Ft(e)){let o=In(e);for(;o&&!no(o);){if(Pt(o)&&!Kl(o))return o;o=In(o)}return n}let r=tf(e,t);for(;r&&Kw(r)&&Kl(r);)r=tf(r,t);return r&&no(r)&&Kl(r)&&!uc(r)?n:r||Jw(e)||n}const fx=async function(e){const t=this.getOffsetParent||Im,n=this.getDimensions,r=await n(e.floating);return{reference:dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function px(e){return bt(e).direction==="rtl"}const hx={convertOffsetParentRelativeRectToViewportRelativeRect:nx,getDocumentElement:zt,getClippingRect:ux,getOffsetParent:Im,getElementRects:fx,getClientRects:rx,getDimensions:cx,getScale:zr,isElement:Pt,isRTL:px};function Fm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mx(e,t){let n=null,r;const o=zt(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=e.getBoundingClientRect(),{left:c,top:f,width:h,height:d}=u;if(l||t(),!h||!d)return;const S=zi(f),v=zi(o.clientWidth-(c+h)),w=zi(o.clientHeight-(f+d)),m=zi(c),g={rootMargin:-S+"px "+-v+"px "+-w+"px "+-m+"px",threshold:Ke(0,Dn(1,a))||1};let C=!0;function E(k){const P=k[0].intersectionRatio;if(P!==a){if(!C)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!Fm(u,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(E,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,g)}n.observe(e)}return s(!0),i}function gx(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=dc(e),c=o||i?[...u?ni(u):[],...ni(t)]:[];c.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const f=u&&l?mx(u,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(m=>{let[p]=m;p&&p.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var g;(g=d)==null||g.observe(t)})),n()}),u&&!a&&d.observe(u),d.observe(t));let S,v=a?ar(e):null;a&&w();function w(){const m=ar(e);v&&!Fm(v,m)&&n(),v=m,S=requestAnimationFrame(w)}return n(),()=>{var m;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(m=d)==null||m.disconnect(),d=null,a&&cancelAnimationFrame(S)}}const vx=Uw,yx=Bw,wx=Fw,xx=Hw,Sx=zw,nf=Iw,Cx=Vw,Ex=(e,t,n)=>{const r=new Map,o={platform:hx,...n},i={...o.platform,_c:r};return Dw(e,t,{...o,platform:i})};var kx=typeof document<"u",Px=function(){},ts=kx?x.useLayoutEffect:Px;function As(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!As(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!As(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function zm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rf(e,t){const n=zm(e);return Math.round(t*n)/n}function Gl(e){const t=x.useRef(e);return ts(()=>{t.current=e}),t}function bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[c,f]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,d]=x.useState(r);As(h,r)||d(r);const[S,v]=x.useState(null),[w,m]=x.useState(null),p=x.useCallback(T=>{T!==k.current&&(k.current=T,v(T))},[]),g=x.useCallback(T=>{T!==P.current&&(P.current=T,m(T))},[]),C=i||S,E=s||w,k=x.useRef(null),P=x.useRef(null),R=x.useRef(c),j=a!=null,A=Gl(a),z=Gl(o),I=Gl(u),Q=x.useCallback(()=>{if(!k.current||!P.current)return;const T={placement:t,strategy:n,middleware:h};z.current&&(T.platform=z.current),Ex(k.current,P.current,T).then(N=>{const L={...N,isPositioned:I.current!==!1};_.current&&!As(R.current,L)&&(R.current=L,fi.flushSync(()=>{f(L)}))})},[h,t,n,z,I]);ts(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[u]);const _=x.useRef(!1);ts(()=>(_.current=!0,()=>{_.current=!1}),[]),ts(()=>{if(C&&(k.current=C),E&&(P.current=E),C&&E){if(A.current)return A.current(C,E,Q);Q()}},[C,E,Q,A,j]);const Y=x.useMemo(()=>({reference:k,floating:P,setReference:p,setFloating:g}),[p,g]),$=x.useMemo(()=>({reference:C,floating:E}),[C,E]),V=x.useMemo(()=>{const T={position:n,left:0,top:0};if(!$.floating)return T;const N=rf($.floating,c.x),L=rf($.floating,c.y);return l?{...T,transform:"translate("+N+"px, "+L+"px)",...zm($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:N,top:L}},[n,l,$.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:Q,refs:Y,elements:$,floatingStyles:V}),[c,Q,Y,$,V])}const Tx=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?nf({element:r.current,padding:o}).fn(n):{}:r?nf({element:r,padding:o}).fn(n):{}}}},Nx=(e,t)=>({...vx(e),options:[e,t]}),Rx=(e,t)=>({...yx(e),options:[e,t]}),Mx=(e,t)=>({...Cx(e),options:[e,t]}),Ox=(e,t)=>({...wx(e),options:[e,t]}),Ax=(e,t)=>({...xx(e),options:[e,t]}),jx=(e,t)=>({...Sx(e),options:[e,t]}),_x=(e,t)=>({...Tx(e),options:[e,t]});var Lx="Arrow",$m=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return y.jsx(We.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});$m.displayName=Lx;var Dx=$m;function Ix(e){const[t,n]=x.useState(void 0);return Ln(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Um="Popper",[Bm,Vm]=Js(Um),[O2,Hm]=Bm(Um),Wm="PopperAnchor",Qm=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Hm(Wm,n),s=x.useRef(null),l=kt(t,s);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:y.jsx(We.div,{...o,ref:l})});Qm.displayName=Wm;var pc="PopperContent",[Fx,zx]=Bm(pc),Km=x.forwardRef((e,t)=>{var Z,dr,tn,Un,nn,fr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:S,...v}=e,w=Hm(pc,n),[m,p]=x.useState(null),g=kt(t,rn=>p(rn)),[C,E]=x.useState(null),k=Ix(C),P=(k==null?void 0:k.width)??0,R=(k==null?void 0:k.height)??0,j=r+(i!=="center"?"-"+i:""),A=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},z=Array.isArray(u)?u:[u],I=z.length>0,Q={padding:A,boundary:z.filter(Ux),altBoundary:I},{refs:_,floatingStyles:Y,placement:$,isPositioned:V,middlewareData:T}=bx({strategy:"fixed",placement:j,whileElementsMounted:(...rn)=>gx(...rn,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[Nx({mainAxis:o+R,alignmentAxis:s}),a&&Rx({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Mx():void 0,...Q}),a&&Ox({...Q}),Ax({...Q,apply:({elements:rn,rects:mi,availableWidth:dl,availableHeight:gi})=>{const{width:fl,height:co}=mi.reference,pr=rn.floating.style;pr.setProperty("--radix-popper-available-width",`${dl}px`),pr.setProperty("--radix-popper-available-height",`${gi}px`),pr.setProperty("--radix-popper-anchor-width",`${fl}px`),pr.setProperty("--radix-popper-anchor-height",`${co}px`)}}),C&&_x({element:C,padding:l}),Bx({arrowWidth:P,arrowHeight:R}),h&&jx({strategy:"referenceHidden",...Q})]}),[N,L]=qm($),H=_n(S);Ln(()=>{V&&(H==null||H())},[V,H]);const F=(Z=T.arrow)==null?void 0:Z.x,K=(dr=T.arrow)==null?void 0:dr.y,q=((tn=T.arrow)==null?void 0:tn.centerOffset)!==0,[he,ke]=x.use
vendor: 4,260 bytes, line 116
116State();return Ln(()=>{m&&ke(window.getComputedStyle(m).zIndex)},[m]),y.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:V?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(Un=T.transformOrigin)==null?void 0:Un.x,(nn=T.transformOrigin)==null?void 0:nn.y].join(" "),...((fr=T.hide)==null?void 0:fr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(Fx,{scope:n,placedSide:N,onArrowChange:E,arrowX:F,arrowY:K,shouldHideArrow:q,children:y.jsx(We.div,{"data-side":N,"data-align":L,...v,ref:g,style:{...v.style,animation:V?void 0:"none"}})})})});Km.displayName=pc;var Gm="PopperArrow",$x={top:"bottom",right:"left",bottom:"top",left:"right"},Ym=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=zx(Gm,r),s=$x[i.placedSide];return y.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:y.jsx(Dx,{...o,ref:n,style:{...o.style,display:"block"}})})});Ym.displayName=Gm;function Ux(e){return e!==null}var Bx=e=>({name:"transformOrigin",options:e,fn(t){var w,m,p;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,c]=qm(n),f={start:"0%",center:"50%",end:"100%"}[c],h=(((m=o.arrow)==null?void 0:m.x)??0)+l/2,d=(((p=o.arrow)==null?void 0:p.y)??0)+a/2;let S="",v="";return u==="bottom"?(S=s?f:`${h}px`,v=`${-a}px`):u==="top"?(S=s?f:`${h}px`,v=`${r.floating.height+a}px`):u==="right"?(S=`${-a}px`,v=s?f:`${d}px`):u==="left"&&(S=`${r.floating.width+a}px`,v=s?f:`${d}px`),{data:{x:S,y:v}}}});function qm(e){const[t,n="center"]=e.split("-");return[t,n]}var Vx=Qm,Hx=Km,Wx=Ym,[ol,A2]=Js("Tooltip",[Vm]),hc=Vm(),Xm="TooltipProvider",Qx=700,of="tooltip.open",[Kx,Jm]=ol(Xm),Zm=e=>{const{__scopeTooltip:t,delayDuration:n=Qx,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=x.useRef(!0),l=x.useRef(!1),a=x.useRef(0);return x.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),y.jsx(Kx,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(a.current),s.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:i})};Zm.displayName=Xm;var eg="Tooltip",[j2,il]=ol(eg),Xa="TooltipTrigger",Gx=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=il(Xa,n),i=Jm(Xa,n),s=hc(n),l=x.useRef(null),a=kt(t,l,o.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),f=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),y.jsx(Vx,{asChild:!0,...s,children:y.jsx(We.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:ve(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ve(e.onBlur,o.onClose),onClick:ve(e.onClick,o.onClose)})})});Gx.displayName=Xa;var Yx="TooltipPortal",[_2,qx]=ol(Yx,{forceMount:void 0}),ro="TooltipContent",tg=x.forwardRef((e,t)=>{const n=qx(ro,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=il(ro,e.__scopeTooltip);return y.jsx(ec,{present:r||s.open,children:s.disableHoverableContent?y.jsx(ng,{side:o,...i,ref:t}):y.jsx(Xx,{side:o,...i,ref:t})})}),Xx=x.forwardRef((e,t)=>{const n=il(ro,e.__scopeTooltip),r=Jm(ro,e.__scopeTooltip),o=x.useRef(null),i=kt(t,o),[s,l]=x.useState(null),{trigger:a,onClose:u}=n,c=o.current,{onPointerInTransitChange:f}=r,h=x.useCallback(()=>
vendor: 3,732 bytes, line 116
116{l(null),f(!1)},[f]),d=x.useCallback((S,v)=>{const w=S.currentTarget,m={x:S.clientX,y:S.clientY},p=nS(m,w.getBoundingClientRect()),g=rS(m,p),C=oS(v.getBoundingClientRect()),E=sS([...g,...C]);l(E),f(!0)},[f]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(a&&c){const S=w=>d(w,c),v=w=>d(w,a);return a.addEventListener("pointerleave",S),c.addEventListener("pointerleave",v),()=>{a.removeEventListener("pointerleave",S),c.removeEventListener("pointerleave",v)}}},[a,c,d,h]),x.useEffect(()=>{if(s){const S=v=>{const w=v.target,m={x:v.clientX,y:v.clientY},p=(a==null?void 0:a.contains(w))||(c==null?void 0:c.contains(w)),g=!iS(m,s);p?h():g&&(h(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[a,c,s,u,h]),y.jsx(ng,{...e,ref:i})}),[Jx,Zx]=ol(eg,{isInside:!1}),eS=d0("TooltipContent"),ng=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=il(ro,n),u=hc(n),{onClose:c}=a;return x.useEffect(()=>(document.addEventListener(of,c),()=>document.removeEventListener(of,c)),[c]),x.useEffect(()=>{if(a.trigger){const f=h=>{const d=h.target;d!=null&&d.contains(a.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,c]),y.jsx(Zu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:y.jsxs(Hx,{"data-state":a.stateAttribute,...u,...l,ref:t,style:{...l.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:[y.jsx(eS,{children:r}),y.jsx(Jx,{scope:n,isInside:!0,children:y.jsx(D0,{id:a.contentId,role:"tooltip",children:o||r})})]})})});tg.displayName=ro;var rg="TooltipArrow",tS=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=hc(n);return Zx(rg,n).isInside?null:y.jsx(Wx,{...o,...r,ref:t})});tS.displayName=rg;function nS(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function rS(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function oS(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function iS(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i],a=t[s],u=l.x,c=l.y,f=a.x,h=a.y;c>r!=h>r&&n<(f-u)*(r-c)/(h-c)+u&&(o=!o)}return o}function sS(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),lS(t)}function lS(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var aS=Zm,og=tg;
vendor: 8,876 bytes, line 116
116const uS=aS,cS=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>y.jsx(og,{ref:r,sideOffset:t,className:Ie("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",e),...n}));cS.displayName=og.displayName;var sl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ll=typeof window>"u"||"Deno"in globalThis;function gt(){}function dS(e,t){return typeof e=="function"?e(t):e}function fS(e){return typeof e=="number"&&e>=0&&e!==1/0}function pS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ja(e,t){return typeof e=="function"?e(t):e}function hS(e,t){return typeof e=="function"?e(t):e}function sf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==mc(s,t.options))return!1}else if(!oi(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function lf(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(ri(t.options.mutationKey)!==ri(i))return!1}else if(!oi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function mc(e,t){return((t==null?void 0:t.queryKeyHashFn)||ri)(e)}function ri(e){return JSON.stringify(e,(t,n)=>Za(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>oi(e[n],t[n])):!1}function ig(e,t){if(e===t)return e;const n=af(e)&&af(t);if(n||Za(e)&&Za(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{},a=new Set(r);let u=0;for(let c=0;c<s;c++){const f=n?c:i[c];(!n&&a.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,u++):(l[f]=ig(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return o===s&&u===o?e:l}return t}function af(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Za(e){if(!uf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!uf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function uf(e){return Object.prototype.toString.call(e)==="[object Object]"}function mS(e){return new Promise(t=>{setTimeout(t,e)})}function gS(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ig(e,t):t}function vS(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function yS(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var gc=Symbol();function sg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===gc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Yn,gn,Ur,xf,wS=(xf=class extends sl{constructor(){super();J(this,Yn);J(this,gn);J(this,Ur);B(this,Ur,t=>{if(!ll&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){b(this,gn)||this.setEventListener(b(this,Ur))}onUnsubscribe(){var t;this.hasListeners()||((t=b(this,gn))==null||t.call(this),B(this,gn,void 0))}setEventListener(t){var n;B(this,Ur,t),(n=b(this,gn))==null||n.call(this),B(this,gn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){b(this,Yn)!==t&&(B(this,Yn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof b(this,Yn)=="boolean"?b(this,Yn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yn=new WeakMap,gn=new WeakMap,Ur=new WeakMap,xf),lg=new wS,Br,vn,Vr,Sf,xS=(Sf=class extends sl{constructor(){super();J(this,Br,!0);J(this,vn);J(this,Vr);B(this,Vr,t=>{if(!ll&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){b(this,vn)||this.setEventListener(b(this,Vr))}onUnsubscribe(){var t;this.hasListeners()||((t=b(this,vn))==null||t.call(this),B(this,vn,void 0))}setEventListener(t){var n;B(this,Vr,t),(n=b(this,vn))==null||n.call(this),B(this,vn,t(this.setOnline.bind(this)))}setOnline(t){b(this,Br)!==t&&(B(this,Br,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return b(this,Br)}},Br=new WeakMap,vn=new WeakMap,Vr=new WeakMap,Sf),js=new xS;function SS(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function CS(e){return Math.min(1e3*2**e,3e4)}function ag(e){return(e??"online")==="online"?js.isOnline():!0}var ug=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Yl(e){return e instanceof ug}function cg(e){let t=!1,n=0,r=!1,o;const i=SS(),s=v=>{var w;r||(h(new ug(v)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>lg.isFocused()&&(e.networkMode==="always"||js.isOnline())&&e.canRun(),c=()=>ag(e.networkMode)&&e.canRun(),f=v=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,v),o==null||o(),i.resolve(v))},h=v=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,v),o==null||o(),i.reject(v))},d=()=>new Promise(v=>{var w;o=m=>{(r||u())&&v(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),S=()=>{if(r)return;let v;const w=n===0?e.initialPromise:void 0;try{v=w??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(f).catch(m=>{var k;if(r)return;const p=e.retry??(ll?0:3),g=e.retryDelay??CS,C=typeof g=="function"?g(n,m):g,E=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,m);if(t||!E){h(m);return}n++,(k=e.onFail)==null||k.call(e,n,m),mS(C).then(()=>u()?void 0:d()).then(()=>{t?h(m):S()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:a,canStart:c,start:()=>(c()?S():d().then(S),i)}}var ES=e=>setTimeout(e,0);function kS(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=ES;const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||s()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var je=kS(),qn,Cf,dg=(Cf=class{constructor(){J(this,qn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),fS(this.gcTime)&&B(this,qn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ll?1/0:5*60*1e3))}clearGcTimeout(){b(this,qn)&&(clearTimeout(b(this,qn)),B(this,qn,void 0))}},qn=new WeakMap,Cf),Hr,Xn,tt,Jn,Ne,ii,Zn,vt,Ut,Ef,PS=(Ef=class extends dg{constructor(t){super();J(this,vt);J(this,Hr);J(this,Xn);J(this,tt);J(this,Jn);J(this,Ne);J(this,ii);J(this,Zn);B(this,Zn,!1),B(this,ii,t.defaultOptions),this.setOptions(t.options),this.observers=[],B(this,Jn,t.client),B(this,tt,b(this,Jn).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,B(this,Hr,TS(this.options)),this.state=t.state??b(this,Hr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=b(this,Ne))==null?void 0:t.promise}setOptions(t){this.options={...b(this,ii),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,tt).remove(this)}setData(t,n){const r=gS(this.state.data,t,this.options);return Pe(this,vt,Ut).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Pe(this,vt,Ut).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=b(this,Ne))==null?void 0:r.promise;return(o=b(this,Ne))==null||o.cancel(t),n?n.then(gt).catch(gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(b(this,Hr))}isActive(){return this.observers.some(t=>hS(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===gc||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 116
116Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ja(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!pS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=b(this,Ne))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=b(this,Ne))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),b(this,tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(b(this,Ne)&&(b(this,Zn)?b(this,Ne).cancel({revert:!0}):b(this,Ne).cancelRetry()),this.scheduleGc()),b(this,tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,vt,Ut).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 116
116fetch(t,n){var u,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(b(this,Ne))return b(this,Ne).continueRetry(),b(this,Ne).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(d=>d.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(B(this,Zn,!0),r.signal)})},i=()=>{const h=sg(this.options,n),S=(()=>{const v={client:b(this,Jn),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return B(this,Zn,!1),this.options.persister?this.options.persister(h,S,this):h(S)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:b(this,Jn),state:this.state,fetchFn:i};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(l,this),B(this,Xn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=l.fetchOptions)==null?void 0:c.meta))&&Pe(this,vt,Ut).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const a=h=>{var d,S,v,w;Yl(h)&&h.silent||Pe(this,vt,Ut).call(this,{type:"error",error:h}),Yl(h)||((S=(d=b(this,tt).config).onError)==null||S.call(d,h,this),(w=(v=b(this,tt).config).onSettled)==null||w.call(v,this.state.data,h,this)),this.scheduleGc()};return B(this,Ne,cg({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var d,S,v,w;if(h===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(m){a(m);return}(S=(d=b(this,tt).config).onSuccess)==null||S.call(d,h,this),(w=(v=b(this,tt).config).onSettled)==null||w.call(v,h,this.state.error,this),this.scheduleGc()},onError:a,onFail:(h,d)=>{Pe(this,vt,Ut).call(this,{type:"failed",failureCount:h,error:d})},onPause:()=>{Pe(this,vt,Ut).call(this,{type:"pause"})},onContinue:()=>{Pe(this,vt,Ut).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),b(this,Ne).start()}},Hr=new WeakMap,Xn=new WeakMap,tt=new WeakMap,Jn=new WeakMap,Ne=new WeakMap,ii=new WeakMap,Zn=new WeakMap,vt=new WeakSet,Ut=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...bS(r.data,this.options),fetchMeta:t.meta??null};case"success":return B(this,Xn,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Yl(o)&&o.revert&&b(this,Xn)?{...b(this,Xn),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),b(this,tt).notify({query:this,type:"updated",action:t})})},Ef);function bS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ag(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function TS(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Mt,kf,NS=(kf=class extends sl{constructor(t={}){super();J(this,Mt);this.config=t,B(this,Mt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??mc(o,n);let s=this.get(i);return s||(s=new PS({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){b(this,Mt).has(t.queryHash)||(b(this,Mt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=b(this,Mt).get(t.queryHash);n&&(t.destroy(),n===t&&b(this,Mt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return b(this,Mt).get(t)}getAll(){return[...b(this,Mt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>sf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>sf(t,r)):n}notify(t){je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){je.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){je.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Mt=new WeakMap,kf),Ot,Oe,er,At,dn,Pf,RS=(Pf=class extends dg{constructor(t){super();J(this,At);J(this,Ot);J(this,Oe);J(this,er);this.mutationId=t.mutationId,B(this,Oe,t.mutationCache),B(this,Ot,[]),this.state=t.state||MS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){b(this,Ot).includes(t)||(b(this,Ot).push(t),this.clearGcTimeout(),b(this,Oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){B(this,Ot,b(this,Ot).filter(n=>n!==t)),this.scheduleGc(),b(this,Oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){b(this,Ot).length||(this.state.status==="pending"?this.scheduleGc():b(this,Oe).remove(this))}continue(){var t;return((t=b(this,er))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,l,a,u,c,f,h,d,S,v,w,m,p,g,C,E,k,P,R;const n=()=>{Pe(this,At,dn).call(this,{type:"continue"})};B(this,er,cg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,A)=>{Pe(this,At,dn).call(this,{type:"failed",failureCount:j,error:A})},onPause:()=>{Pe(this,At,dn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,Oe).canRun(this)}));const r=this.state.status==="pending",o=!b(this,er).canStart();try{if(r)n();else{Pe(this,At,dn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=b(this,Oe).config).onMutate)==null?void 0:s.call(i,t,this));const A=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));A!==this.state.context&&Pe(this,At,dn).call(this,{type:"pending",context:A,variables:t,isPaused:o})}const j=await b(this,er).start();return await((c=(u=b(this,Oe).config).onSuccess)==null?void 0:c.call(u,j,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,j,t,this.state.context)),await((S=(d=b(this,Oe).config).onSettled)==null?void 0:S.call(d,j,null,this.state.variables,this.state.context,this)),await((w=(v=this.options).onSettled)==null?void 0:w.call(v,j,null,t,this.state.context)),Pe(this,At,dn).call(this,{type:"success",data:j}),j}catch(j){try{throw await((p=(m=b(this,Oe).config).onError)==null?void 0:p.call(m,j,t,this.state.context,this)),await((C=(g=this.options).onError)==null?void 0:C.call(g,j,t,this.state.context)),await((k=(E=b(this,Oe).config).onSettled)==null?void 0:k.call(E,void 0,j,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,void 0,j,t,this.state.context)),j}finally{Pe(this,At,dn).call(this,{type:"error",error:j})}}finally{b(this,Oe).runNext(this)}}},Ot=new WeakMap,Oe=new WeakMap,er=new WeakMap,At=new WeakSet,dn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),je.batch(()=>{b(this,Ot).forEach(r=>{r.onMutationUpdate(t)}),b(this,Oe).notify({mutation:this,type:"updated",action:t})})},Pf);function MS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ht,yt,si,bf,OS=(bf=class extends sl{constructor(t={}){super();
116J(this,Ht);J(this,yt);J(this,si);this.config=t,B(this,Ht,new Set),B(this,yt,new Map),B(this,si,0)}build(t,n,r){const o=new RS({mutationCache:this,mutationId:++yi(this,si)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){b(this,Ht).add(t);const n=$i(t);if(typeof n=="string"){const r=b(this,yt).get(n);r?r.push(t):b(this,yt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(b(this,Ht).delete(t)){const n=$i(t);if(typeof n=="string"){const r=b(this,yt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&b(this,yt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=$i(t);if(typeof n=="string"){const r=b(this,yt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=$i(t);if(typeof n=="string"){const o=(r=b(this,yt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){je.batch(()=>{b(this,Ht).forEach(t=>{this.notify({type:"removed",mutation:t})}),b(this,Ht).clear(),b(this,yt).clear()})}getAll(){return Array.from(b(this,Ht))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>lf(n,r))}findAll(t={}){return this.getAll().filter(n=>lf(t,n))}notify(t){je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return je.batch(()=>Promise.all(t.map(n=>n.continue().catch(gt))))}},Ht=new WeakMap,yt=new WeakMap,si=new WeakMap,bf);function $i(e){var t;return(t=e.options.scope)==null?void 0:t.id}function cf(e){return{onFetch:(t,n)=>{var c,f,h,d,S;const r=t.options,o=(h=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,i=((d=t.state.data)==null?void 0:d.pages)||[],s=((S=t.state.data)==null?void 0:S.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let v=!1;const w=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},m=sg(t.options,t.fetchOptions),p=async(g,C,E)=>{if(v)return Promise.reject();if(C==null&&g.pages.length)return Promise.resolve(g);const P=(()=>{const z={client:t.client,queryKey:t.queryKey,pageParam:C,direction:E?"backward":"forward",meta:t.options.meta};return w(z),z})(),R=await m(P),{maxPages:j}=t.options,A=E?yS:vS;return{pages:A(g.pages,R,j),pageParams:A(g.pageParams,C,j)}};if(o&&i.length){const g=o==="backward",C=g?AS:df,E={pages:i,pageParams:s},k=C(r,E);l=await p(E,k,g)}else{const g=e??i.length;do{const C=a===0?s[0]??r.initialPageParam:df(r,l);if(a>0&&C==null)break;l=await p(l,C),a++}while(a<g)}return l};t.options.persister?t.fetchFn=()=>{var v,w;return(w=(v=t.options).persister)==null?void 0:w.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function df(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function AS(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var de,yn,wn,Wr,Qr,xn,Kr,Gr,Tf,jS=(Tf=class{constructor(e={}){J(this,de);J(this,yn);J(this,wn);J(this,Wr);J(this,Qr);J(this,xn);J(this,Kr);J(this,Gr);B(this,de,e.queryCache||new NS),B(this,yn,e.mutationCache||new OS),B(this,wn,e.defaultOptions||{}),B(this,Wr,new Map),B(this,Qr,new Map),B(this,xn,0)}mount(){yi(this,xn)._++,b(this,xn)===1&&(B(this,Kr,lg.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(this,de).onFocus())})),B(this,Gr,js.subscribe(async e=>{e&&(await this.resumePausedMutations(),b(this,de).onOnline())})))}unmount(){var e,t;yi(this,xn)._--,b(this,xn)===0&&((e=b(this,Kr))==null||e.call(this),B(this,Kr,void 0),(t=b(this,Gr))==null||t.call(this),B(this,Gr,void 0))}isFetching(e){return b(this,de).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return b(this,yn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=b(this,de).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=b(this,de).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ja(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return b(this,de).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=b(this,de).get(r.queryHash),i=o==null?void 0:o.state.data,s=dS(t,i);if(s!==void 0)return b(this,de).build(this,r).setData(s,{...n,manual:!0})}
116setQueriesData(e,t,n){return je.batch(()=>b(this,de).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=b(this,de).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=b(this,de);je.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=b(this,de);return je.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=je.batch(()=>b(this,de).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(gt).catch(gt)}invalidateQueries(e,t={}){return je.batch(()=>(b(this,de).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=je.batch(()=>b(this,de).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(gt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=b(this,de).build(this,t);return n.isStaleByTime(Ja(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gt).catch(gt)}fetchInfiniteQuery(e){return e.behavior=cf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gt).catch(gt)}ensureInfiniteQueryData(e){return e.behavior=cf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return js.isOnline()?b(this,yn).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,de)}getMutationCache(){return b(this,yn)}getDefaultOptions(){return b(this,wn)}setDefaultOptions(e){B(this,wn,e)}setQueryDefaults(e,t){b(this,Wr).set(ri(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...b(this,Wr).values()],n={};return t.forEach(r=>{oi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){b(this,Qr).set(ri(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...b(this,Qr).values()],n={};return t.forEach(r=>{oi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...b(this,wn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=mc(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===gc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...b(this,wn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){b(this,de).clear(),b(this,yn).clear()}},de=new WeakMap,yn=new WeakMap,wn=new WeakMap,Wr=new WeakMap,Qr=new WeakMap,xn=new WeakMap,Kr=new WeakMap,Gr=new WeakMap,Tf),_S=x.createContext(void 0),LS=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(_S.Provider,{value:e,children:t}));/**
117 * @remix-run/router v1.23.0
118 *
119 * Copyright (c) Remix Software Inc.
120 *
121 * This source code is licensed under the MIT license found in the
122 * LICENSE.md file in the root directory of this source tree.
123 *
124 * @license MIT
125 */function _s(){return _s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_s.apply(this,arguments)}var En;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(En||(En={}));const ff="popstate";function DS(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return eu("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:pg(o)}return FS(t,n,null,e)}function He(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function fg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function IS(){return Math.random().toString(36).substr(2,8)}function pf(e,t){return{usr:e.state,key:e.key,idx:t}}function eu(e,t,n,r){return n===void 0&&(n=null),_s({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?al(t):t,{state:n,key:t&&t.key||r||IS()})}function pg(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function al(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function FS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=En.Pop,a=null,u=c();u==null&&(u=0,s.replaceState(_s({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){l=En.Pop;let w=c(),m=w==null?null:w-u;u=w,a&&a({action:l,location:v.location,delta:m})}function h(w,m){l=En.Push;let p=eu(v.location,w,m);u=c()+1;let g=pf(p,u),C=v.createHref(p);try{s.pushState(g,"",C)}
vendor: 3,324 bytes, line 125
125catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(C)}i&&a&&a({action:l,location:v.location,delta:1})}function d(w,m){l=En.Replace;let p=eu(v.location,w,m);u=c();let g=pf(p,u),C=v.createHref(p);s.replaceState(g,"",C),i&&a&&a({action:l,location:v.location,delta:0})}function S(w){let m=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:pg(w);return p=p.replace(/ $/,"%20"),He(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let v={get action(){return l},get location(){return e(o,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(ff,f),a=w,()=>{o.removeEventListener(ff,f),a=null}},createHref(w){return t(o,w)},createURL:S,encodeLocation(w){let m=S(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:d,go(w){return s.go(w)}};return v}var hf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(hf||(hf={}));function zS(e,t,n){return n===void 0&&(n="/"),$S(e,t,n,!1)}function $S(e,t,n,r){let o=typeof t=="string"?al(t):t,i=gg(o.pathname||"/",n);if(i==null)return null;let s=hg(e);US(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=JS(i);l=qS(s[a],u,r)}return l}function hg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(He(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=$r([r,a.relativePath]),c=n.concat(a);i.children&&i.children.length>0&&(He(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),hg(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:GS(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of mg(i.path))o(i,s,a)}),t}function mg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=mg(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function US(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:YS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const BS=/^:[\w-]+$/,VS=3,HS=2,WS=1,QS=10,KS=-2,mf=e=>e==="*";function GS(e,t){let n=e.split("/"),r=n.length;return n.some(mf)&&(r+=KS),t&&(r+=HS),n.filter(o=>!mf(o)).reduce((o,i)=>o+(BS.test(i)?VS:i===""?WS:QS),r)}function YS(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function qS(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",f=gf({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},c),h=a.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=gf({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!f)return null;
vendor: 4,131 bytes, lines 125-134
125Object.assign(o,f.params),s.push({params:o,pathname:$r([i,f.pathname]),pathnameBase:ZS($r([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=$r([i,f.pathnameBase]))}return s}function gf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=XS(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:h,isOptional:d}=c;if(h==="*"){let v=l[f]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const S=l[f];return d&&!S?u[h]=void 0:u[h]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function XS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),fg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function JS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function gg(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const $r=e=>e.join("/").replace(/\/\/+/g,"/"),ZS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function e2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const vg=["post","put","patch","delete"];new Set(vg);const t2=["get",...vg];new Set(t2);/**
126 * React Router v6.30.1
127 *
128 * Copyright (c) Remix Software Inc.
129 *
130 * This source code is licensed under the MIT license found in the
131 * LICENSE.md file in the root directory of this source tree.
132 *
133 * @license MIT
134 */function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ls.apply(this,arguments)}const n2=x.createContext(null),r2=x.createContext(null),yg=x.createContext(null),ul=x.createContext(null),cl=x.createContext({outlet:null,matches:[],isDataRoute:!1}),wg=x.createContext(null);function vc(){return x.useContext(ul)!=null}function xg(){return vc()||He(!1),x.useContext(ul).location}function o2(e,t){return i2(e,t)}function i2(e,t,n,r){vc()||He(!1);let{navigator:o}=x.useContext(yg),{matches:i}=x.useContext(cl),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=xg(),c;if(t){var f;let w=typeof t=="string"?al(t):t;a==="/"||(f=w.pathname)!=null&&f.startsWith(a)||He(!1),c=w}else c=u;let h=c.pathname||"/",d=h;if(a!=="/"){let w=a.replace(/^\//,"").split("/");d="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let S=zS(e,{pathname:d}),v=c2(S&&S.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:$r([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:$r([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&v?x.createElement(ul.Provider,{value:{location:Ls({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:En.Pop}},v):v}function s2(){let e=h2(),t=e2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application 
134Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const l2=x.createElement(s2,null);class a2 extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(cl.Provider,{value:this.props.routeContext},x.createElement(wg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function u2(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(n2);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(cl.Provider,{value:t},r)}function c2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let c=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);c>=0||He(!1),s=s.slice(0,Math.min(s.length,c+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let f=s[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:h,errors:d}=n,S=f.route.loader&&h[f.route.id]===void 0&&(!d||d[f.route.id]===void 0);if(f.route.lazy||S){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,f,h)=>{let d,S=!1,v=null,w=null;n&&(d=l&&f.route.id?l[f.route.id]:void 0,v=f.route.errorElement||l2,a&&(u<0&&h===0?(S=!0,w=null):u===h&&(S=!0,w=f.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,h+1)),p=()=>{let g;return d?g=v:S?g=w:f.route.Component?g=x.createElement(f.route.Component,null):f.route.element?g=f.route.element:g=c,x.createElement(u2,{match:f,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:g})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?x.createElement(a2,{location:n.location,revalidation:n.revalidation,component:v,error:d,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var tu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(tu||{});function d2(e){let t=x.useContext(r2);return t||He(!1),t}function f2(e){let t=x.useContext(cl);return t||He(!1),t}function p2(e){let t=f2(),n=t.matches[t.matches.length-1];return n.route.id||He(!1),n.route.id}function h2(){var e;let t=x.useContext(wg),n=d2(tu.UseRouteError),r=p2(tu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function m2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function nu(e){He(!1)}function g2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=En.Pop,navigator:i,static:s=!1,future:l}=e;vc()&&He(!1);let a=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:a,navigator:i,static:s,future:Ls({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=al(r));let{pathname:c="/",search:f="",hash:h="",state:d=null,key:S="default"}=r,v=x.useMemo(()=>{let w=gg(c,a);return w==null?null:{location:{pathname:w,search:f,hash:h,state:d,key:S},navigationType:o}},[a,c,f,h,d,S,o]);return v==null?null:x.createElement(yg.Provider,{value:u},x.createElement(ul.Provider,{children:n,value:v}))}function v2(e){let{children:t,location:n}=e;return o2(ru(t),n)}new Promise(()=>{});function ru(e,t){t===void 0&&(t=[]);let n=[];
134return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,ru(r.props.children,i));return}r.type!==nu&&He(!1),!r.props.index||!r.props.children||He(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ru(r.props.children,i)),n.push(s)}),n}/**
135 * React Router DOM v6.30.1
136 *
137 * Copyright (c) Remix Software Inc.
138 *
139 * This source code is licensed under the MIT license found in the
140 * LICENSE.md file in the root directory of this source tree.
141 *
142 * @license MIT
143 */const y2="6";try{window.__reactRouterVersion=y2}catch{}const w2="startTransition",vf=zf[w2];function x2(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=DS({window:o,v5Compat:!0}));let s=i.current,[l,a]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=x.useCallback(f=>{u&&vf?vf(()=>a(f)):a(f)},[a,u]);return x.useLayoutEffect(()=>s.listen(c),[s,c]),x.useEffect(()=>m2(r),[r]),x.createElement(g2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}var yf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(yf||(yf={}));var wf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wf||(wf={}));const yr=x.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:Ie("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));yr.displayName="Card";const ns=x.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:Ie("flex flex-col space-y-1.5 p-6",e),...t}));ns.displayName="CardHeader";const rs=x.forwardRef(({className:e,...t},n)=>y.jsx("h3",{ref:n,className:Ie("text-2xl font-semibold leading-none tracking-tight",e),...t}));rs.displayName="CardTitle";const ou=x.forwardRef(({className:e,...t},n)=>y.jsx("p",{ref:n,className:Ie("text-sm text-muted-foreground",e),...t}));ou.displayName="CardDescription";const wr=x.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:Ie("p-6 pt-0",e),...t}));wr.displayName="CardContent";const S2=x.forwardRef(({className:e,...t},n)=>y.jsx("div",{ref:n,className:Ie("flex items-center p-6 pt-0",e),...t}));S2.displayName="CardFooter";const C2=oc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ht=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?u0:"button";return y.jsx(s,{className:Ie(C2({variant:t,size:n,className:e})),ref:i,...o})});ht.displayName="Button";const E2=oc("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function pt({className:e,variant:t,...n}){return y.jsx("div",{className:Ie(E2({variant:t}),e),...n})}const k2="/assets/francisco-photo-hbNtb-D3.jpg",P2=()=>{const e=[{title:"D'Artagnan: A Trusted NoSQL Database on Untrusted Clouds",authors:"Pontes, R; Maia, F; Vilaca, R; Machado, N.",venue:"SRDS 2019",doi:"10.1109/srds47363.2019.00017"},{title:"DATAFLASKS: epidemic store for massive scale systems",authors:"Maia, F; Matos, M; Vilaca, R; Pereira, J; Oliveira, R; Riviere, E.",venue:"SRDS 2014",doi:"10.1109/srds.2014.34"},{title:"SafeFS: a modular architecture for secure user-space file systems",authors:"Pontes, R; Burihabwa, D; Maia, F; Paulo, J; Schiavoni, V; Felber, P; Mercier, H; Oliveira, R.",venue:"SYSTOR 2017",doi:"10.1145/3078468.3078480",award:"Best Student Paper Award"},{title:"Minha: Large-Scale Distributed Systems Testing Made Practical",authors:"Machado, N; Maia, F; Neves, F; Coelho, F; Pereira, J.",venue:"OPODIS 2019",doi:"10.4230/lipics.opodis.2019.11"},{title:"Worldwide Consensus",authors:"Maia, F; Matos, M; Pereira, J; Oliveira, R.",venue:"DAIS 2011",doi:"10.1007/978-3-642-21387-8_21",award:"Best Paper Award"}],t=[{name:"Tiago Ribeiro de Sá Cruz",year:"Ongoing",level:"PhD",thesis:"Towards Unlocking Legacy Data: Inferring Structure and Meaning from Heterogeneous Data for AI Workflows",status:"Ongoing",cosupervisors:"Mariana Malta",institution:"Universidade do Porto"},{name:"Guilherme Duarte Silva Matos",year:"Ongoing",level:"MSc",thesis:"NeaHermaia — The Spirit of Internet 1.0 for the 21st Century and Beyond",status:"Ongoing",cosupervisors:"",institution:"Universidade do Porto"},{name:"Luís Miguel Lima Tavares",year:"Ongoing",level:"MSc",thesis:"Hardware-in-the-Loop Toolchain for Low-Level Programming and Operating Systems Education using ESP32",status:"Ongoing",cosupervisors:"Bruno Lima",institution:"Universidade do Porto"},{name:"Pedro Gonçalo Mendes Alves de Oliveira",year:"Ongoing",thesis:"Byzantine-Resilient Epidemic Data Management for Blockchain Systems",status:"Ongoing",level:"MSc",cosupervisors:"",institution:"Universidade do Porto"},{name:"Guilherme Roque Ferreira Leite Caetano Martins",year:"Ongoing",thesis:"Proactive Autonomic Management for Epidemic Data Stores and Its Implications for AI Production Storage Systems",status:"Ongoing",level:"MSc",cosupervisors:"",institution:"Universidade do Porto"},{name:"Diogo Costa Pinto",year:"Ongoing",thesis:"Human-Centred Cybersecurity: Understanding User Vulnerability to Ransomware Attacks",status:"Ongoing",level:"MSc",cosupervisors:"Jorge Melegati",institution:"Universidade do Porto"},{name:"Tiago da Silva Azevedo",year:"Ongoing",thesis:"A Language Runtime Inside Programmable Memory",status:"Ongoing",level:"MSc",cosupervisors:"Valerio Schiavoni",institution:"Universidade do Porto"},{name:"Tiago da Silva Azevedo",year:"2026",level:"MSc",thesis:"Design and Implementation of a Real-Time Digital Twin Platform for Monitoring and Managing EV Charging Infrastru
143cture",status:"Alumni",cosupervisors:"",institution:"Universidade do Porto"},{name:"Tomás Figueiredo Marques Palma",year:"2026",thesis:"Efficient data replication for large-scale systems",status:"Alumni",level:"MSc",cosupervisors:"",institution:"Universidade do Porto"},{name:"Diogo Filipe Pereira Santos",year:"2026",thesis:"PADME: Probabilistic Data Management for Efficient ML/AI",status:"Alumni",level:"MSc",cosupervisors:"Carlos Baquero",institution:"Universidade do Porto"},{name:"Alexandre Henrique Silva dos Santos",year:"2026",thesis:"Modular Blockchain Data Storage and Management System",status:"Alumni",cosupervisors:"",level:"MSc",institution:"Universidade do Porto"},{name:"Alexandre Ferreira",year:"2023",thesis:"Fault-tolerant and Large-scale Storage for POSIX-compliant Applications",status:"Alumni",level:"MSc",cosupervisors:"João Paulo",institution:"Universidade do Minho"},{name:"João Lopes",year:"2021",thesis:"Implementation of practical and secure methods for storage of cryptographic keys in applications",status:"Alumni",level:"MSc",cosupervisors:"Rui Oliveira, Ana Alonso",institution:"Universidade do Minho"},{name:"Daniel Fernandes",year:"2021",thesis:"LSFS: Sistema de ficheiros tolerante a faltas para armazenamento em larga escala",status:"Alumni",level:"MSc",cosupervisors:"Rui Oliveira, João Paulo",institution:"Universidade do Minho"},{name:"Diogo Couto",year:"2018",thesis:"Aplicacações Web com requisitos de armazenamento e processamento privados",status:"Alumni",level:"MSc",cosupervisors:"José Pereira",institution:"Universidade do Minho"},{name:"Hugo Gonçalves",year:"2018",thesis:"SafePolyglot: Sistema Poliglota de Gestão Privada de Dados",status:"Alumni",level:"MSc",cosupervisors:"José Pereira",institution:"Universidade do Minho"},{name:"José Enes",year:"2017",thesis:"Coerência probabilística em sistemas chave-valor escaláveis",status:"Alumni",level:"MSc",cosupervisors:"Miguel Matos, Rui Oliveira",institution:"Universidade do Minho"},{name:"João Rodrigues",year:"2017",thesis:"Automatic Adaptation to Heterogeneity in Large Scale Distributed Storage Systems",status:"Alumni",level:"MSc",cosupervisors:"José Pereira",institution:"Universidade do Minho"}],n=[{title:"RESCUEWARE: Cibersegurança e Recuperação de Dados Inteligente e Auto-Configurável para a Resiliência contra Ransomware",period:"2026-Present",role:"Researcher",type:"PT2030",website:"https://www.inesctec.pt/pt/projetos/rescueware",description:"TBD"},{title:"BCD.S+M: Modular Blockchain Data Storage and Management System with AI",period:"2024-Present",role:"Researcher",type:"PT2030",website:"https://invisiblelab-dev.github.io/invisible-storage-project-website/",description:"The BCD.S+M project aims to address this gap by exploring new approaches to manage large volumes of data efficiently and securely, adapting dynamically to the data’s own characteristics and requirements. It seeks to rethink data storage management by targeting the core bottlenecks currently limiting system performance and scalability in data-centric applications."},{title:"STAYAWAY COVID",period:"2020-2021",role:"Technical Lead",description:"COVID-19 contact tracing application for Portugal",website:"https://www.sns.gov.pt/apps/stayaway-covid/"},{title:"SafeCloud",period:"2016-2019",role:"Lead Researcher",type:"H2020",description:"H2020 project on secure and resilient cloud architecture",website:"https://safecloud-project.unine.ch"},{title:"CloudDBAppliance",period:"2019",role:"Researcher",type:"H2020",description:"Database appliance for cloud environments",website:"https://dbr-haslab.github.io/projects/cloudb"},{title:"Stratus",description:"A Layered Approach to Data Management in the Cloud.",type:"FCT",reference:"FCOMP-01-0124-FEDER-015020",period:"2010-2013",website:"https://stratus.lsd.di.uminho.pt/",role:"Researcher"},{title:"DC2MS",description:"Dependable Cloud Computing Management System",type:"HP Labs Innovation Research Award",website:"https://gsd.di.uminho.pt/projects/projects/DC2MS/base_view.html",period:"2008-2010",role:"Researcher"}],r=[{name:"Computer Lab",ects:6,level:"2nd year, BSc in Computer Science",instances:[{year:"2026/2027",institution:"FEUP",role:"Course Coordinator"},{year:"2025/2026",institution:"FEUP",role:"Course Coordinator"},{year:"2024/2025",institution:"FEUP",role:"Course Coordinator"}]},{name:"Operating Systems",ects:6,level:"2nd year, BSc in Computer Science",instances:[{year:"2026/2027",institution:"FEUP",role:"Course Coordinator"},{year:"2025/2026",institution:"FEUP",role:"Course Coordinator"},{year:"2024/2025",institution:"FEUP",role:"Course Coordinator"}]},{name:"Operating Systems",ects:5,level:"2nd year, BSc in Computer Science",instances:[{year:"2022/2023",institution:"U. Minho",role:"Lab Classes"},{year:"2021/2022",institution:"U. Minho",role:"Lab Classes"},{year:"2020/2021",institution:"U. Minho",role:"Lab Classes"}]},{name:"Large-Scale Distributed Systems",ects:6,level:"1st year, MSc in Computer Science",instances:[{year:"2026/2027",institution:"FEUP",role:"Course Coordinator"}]},{name:"Large-Scale Distributed Systems",ects:6,level:"1st year, MSc in Computer Science",instances:[{year:"2025/2026",institution:"FEUP",role:"Teaching"}]},{name:"Distributed Systems",ects:5,level:"3rd year, BSc in Computer Science",instances:[{year:"2024/2025",institution:"U. Minho",role:"Lab Classes"},{year:"2012/2013",institution:"U. Minho",role:"Lab Classes"}]}
143,{name:"Cloud Computing Applications and Services",ects:5,level:"1st year MSc / 4th year Integrated MSc",instances:[{year:"2024/2025",institution:"U. Minho",role:"Lab Classes"},{year:"2023/2024",institution:"U. Minho",role:"Lab Classes"},{year:"2022/2023",institution:"U. Minho",role:"Lab Classes"},{year:"2021/2022",institution:"U. Minho",role:"Lab Classes"}]},{name:"Algorithms and Data Structures",ects:6,level:"1st year, BSc in Applied Data Science",instances:[{year:"2023/2024",institution:"U. Católica",role:"Course Coordinator"}]},{name:"Object-Oriented Programming",ects:5,level:"2nd year, BSc in Computer Science",instances:[{year:"2023/2024",institution:"U. Minho",role:"Lab Classes"}]},{name:"Networks and Communication Protocols",ects:6,level:"1st year, MSc in Electronics and Computer Engineering",instances:[{year:"2022/2023",institution:"U. Lusíada",role:"Course Coordinator"},{year:"2021/2022",institution:"U. Lusíada",role:"Course Coordinator"}]},{name:"Algorithms and Programming",ects:6,level:"1st year, Multiple BSc programs",instances:[{year:"2022/2023",institution:"U. Lusíada",role:"Course Coordinator"}]},{name:"Programming Structures and Algorithm Analysis",ects:6,level:"3rd year, BSc in Electronics and Computer Engineering",instances:[{year:"2021/2022",institution:"U. Lusíada",role:"Course Coordinator"}]},{name:"System Deployment and Benchmarking",ects:5,level:"1st year MSc / 4th year Integrated MSc",instances:[{year:"2017/2018",institution:"U. Minho",role:"Lab Classes"}]},{name:"Distributed Systems Paradigms",ects:5,level:"3rd year, Integrated MSc",instances:[{year:"2016/2017",institution:"U. Minho",role:"Lab Classes"}]},{name:"Informatics Lab I",ects:5,level:"1st year, Integrated MSc",instances:[{year:"2016/2017",institution:"U. Minho",role:"Lab Classes"}]},{name:"Informatics Lab III",ects:5,level:"2nd year, Integrated MSc",instances:[{year:"2016/2017",institution:"U. Minho",role:"Lab Classes"}]},{name:"Algorithms and Programming",ects:0,level:"Qualifica-IT Program",instances:[{year:"2015/2016",institution:"U. Minho",role:"Co-organizer & Teaching"}]}];return y.jsxs("div",{className:"min-h-screen bg-background",children:[y.jsx("section",{className:"border-b bg-card py-12",children:y.jsx("div",{className:"container mx-auto px-4",children:y.jsxs("div",{className:"flex flex-col items-center gap-6 md:flex-row md:items-center",children:[y.jsx("div",{className:"shrink-0",children:y.jsx("img",{src:k2,alt:"Francisco Almeida Maia",className:"h-32 w-32 rounded-full object-cover shadow-lg ring-2 ring-border"})}),y.jsxs("div",{className:"flex-1 text-center md:text-left",children:[y.jsx("h1",{className:"mb-2 text-3xl font-bold tracking-tight text-foreground md:text-4xl",children:"Francisco Almeida Maia"}),y.jsx("p",{className:"mb-1 text-lg font-medium text-primary",children:"Assistant Professor"}),y.jsx("p",{className:"mb-3 text-muted-foreground",children:"Department of Informatics Engineering, Faculty of Engineering, University of Porto"}),y.jsxs("div",{className:"flex flex-wrap gap-2 justify-center md:justify-start",children:[y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://sigarra.up.pt/feup/pt/func_geral.formview?p_codigo=722898",target:"_blank",rel:"noopener noreferrer",children:[y.jsx(u1,{className:"h-3.5 w-3.5"}),"FEUP"]})}),y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://www.inesctec.pt/en/people/francisco-almeida-maia",target:"_blank",rel:"noopener noreferrer",children:[y.jsx(o1,{className:"h-3.5 w-3.5"}),"INESC TEC"]})}),y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://dblp.org/pid/95/8626.html",target:"_blank",rel:"noopener noreferrer",children:[y.jsx(Wl,{className:"h-3.5 w-3.5"}),"DBLP"]})}),y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://www.linkedin.com/in/falmeidamaia/",target:"_blank",rel:"noopener noreferrer",children:[y.jsx(l1,{className:"h-3.5 w-3.5"}),"LinkedIn"]})})]})]})]})})}),y.jsx("section",{className:"container mx-auto px-4 py-12",children:y.jsxs(yr,{className:"shadow-sm",children:[y.jsx(ns,{className:"pb-3",children:y.jsx(rs,{className:"text-xl",children:"About"})}),y.jsxs(wr,{className:"prose prose-sm prose-slate max-w-none",children:[y.jsx("p",{className:"text-foreground
143/80 leading-relaxed text-sm",children:"Francisco Maia is an Assistant Professor at the University of Porto and holds a Ph.D. in Computer Science from the MAP-i program, a joint doctoral initiative of the Universities of Minho, Aveiro, and Porto. His research focuses on large-scale data storage and management, including distributed protocols, fault-tolerant systems, and data security in shared cloud environments. He is a senior researcher at INESC TEC and is a founder of InvisibleLab, where he has worked on technology transfer and R&D activities between 2022 and 2024. Beyond academia, he has contributed to impactful projects such as the STAYAWAY COVID mobile applications and has co-authored one of the first computer-implemented invention (software patent) granted to INESC TEC in the United States. He also dedicates part of his time to social initiatives as vice-president of the board of AMU, an NGO recognized for its work supporting vulnerable families in Portugal."}),y.jsxs("div",{className:"mt-4 flex flex-wrap gap-1.5",children:[y.jsx(pt,{variant:"secondary",className:"text-xs",children:"Distributed Systems"}),y.jsx(pt,{variant:"secondary",className:"text-xs",children:"Cloud Computing"}),y.jsx(pt,{variant:"secondary",className:"text-xs",children:"Data Management"}),y.jsx(pt,{variant:"secondary",className:"text-xs",children:"System Security"}),y.jsx(pt,{variant:"secondary",className:"text-xs",children:"Large-Scale Systems"})]})]})]})}),y.jsx("section",{className:"bg-secondary/30 py-12",children:y.jsxs("div",{className:"container mx-auto px-4",children:[y.jsxs("div",{className:"mb-8",children:[y.jsxs("h2",{className:"mb-1 text-2xl font-bold flex items-center gap-2",children:[y.jsx(i1,{className:"h-6 w-6 text-primary"}),"Ongoing activities"]}),y.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Highlighted initiatives, events, and projects I am working on."})]}),y.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[y.jsxs("div",{className:"md:row-span-2 bg-card border border-border rounded-lg p-8 hover:shadow-lg transition-shadow",children:[y.jsx(Wl,{className:"h-12 w-12 text-primary mb-4"}),y.jsx("h3",{className:"text-xl font-bold mb-3",children:"Reading Group"}),y.jsx("p",{className:"text-sm text-foreground/80 mb-4 leading-relaxed",children:"Join our ongoing informal readings group where we discuss latest research papers and trends in distributed systems and related areas. We meet regularly to explore cutting-edge research and share insights."}),y.jsx(ht,{variant:"default",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://cbaquero.github.io/web/InformalReadings",target:"_blank",rel:"noopener noreferrer",children:["Learn More",y.jsx(So,{className:"h-4 w-4"})]})})]}),y.jsxs("div",{className:"bg-card border border-border rounded-lg p-6 hover:shadow-md transition-shadow",children:[y.jsx(Bd,{className:"h-8 w-8 text-primary mb-3"}),y.jsx("h3",{className:"text-base font-semibold mb-2",children:"Open to Collaborations"}),y.jsx("p",{className:"text-sm text-foreground/80 mb-3",children:"Always interested in research collaborations, joint projects, and discussing new ideas."}),y.jsx(ht,{variant:"default",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"mailto:franciscomaia at fe.up.pt",children:[y.jsx(a1,{className:"h-3.5 w-3.5"}),"Get in Touch"]})})]}),y.jsxs("div",{className:"bg-card border border-border rounded-lg p-6 hover:shadow-md transition-shadow",children:[y.jsx(Ud,{className:"h-8 w-8 text-primary mb-3"}),y.jsx("h3",{className:"text-base font-semibold mb-2",children:"Challenges I'm working on"}),y.jsx("p",{className:"text-sm text-foreground/80 mb-3",children:"I am interested in how data management systems will tackle the challenges of large-scale storage and management of data, as well as how to ensure privacy in increasingly shared environments."}),y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:y.jsxs("a",{href:"https://invisiblelab-dev.github.io/invisible-storage-project-website/",target:"_blank",rel:"noopener noreferrer",children:["BCDS+M Project",y.jsx(So,{className:"h-3.5 w-3.5"})]})})]})]})]})}),y.jsx("section",{className:"bg-secondary/30 py-12",children:y.jsxs("div",{className:"container mx-auto px-4",children:[y.jsxs("div",{className:"mb-6",children:[y.jsxs("h2",{className:"mb-1 text-2xl font-bold flex items-center gap-2",children:[y.jsx(Wl,{className:"h-6 w-6 text-primary"}),"Selected Publications"]}),y.jsx("p",{className:"text-sm text-muted-foreground",children:"Key contributions in distributed systems and cloud computing"})]}),y.jsx("div",{className:"grid gap-3 md:grid-cols-2",children:e.map((o,i)=>y.jsxs(yr,{className:"shadow-sm hover:shadow-md transition-shadow",children:[y.jsxs(ns,{className:"pb-2",children:[y.jsxs("div",{className:"flex items-start justify-between gap-2",children:[y.jsx(rs,{className:"text-sm font-semibold leading-tight",children:o.title}),o.award&&y.jsx(pt,{variant:"default",className:"shrink-0 gap-1 text-xs py-0",children:y.jsx(Ud,{className:"h-3 w-3"})})]}),y.jsx(ou,{className:"text-xs line-clamp-1",children:o.authors})]}),y.jsx(wr,{className:"pt-2",children:y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsx("span",{className:"text-xs font-medium text-primary",children:o.venue}),y.jsx(ht,{variant:"link",size:"sm",asChild:!0,className:"gap-1 h-auto p-0 text-xs",children:y.jsxs("a",{href:`https://doi.org/${o.doi}`,target:"_blank",rel:"noopener noreferrer",children:["DOI",y.jsx(So,{className:"h-3 w-3"})]})})]})})]},i))}),y.jsx("div",{className:"mt-6 text-center",children:y.jsx(ht,{variant:"outline",size:"sm",asChild:!0,children:y.jsxs("a",{href:"https://dblp.org/pid/95/8626.html",target:"_blank",rel:"noopener noreferrer",className:"gap-2",children:["View All Publications",y.jsx(So,{className:"h-3.5 w-3.5"})]})})})]})}),y.jsxs("section",{className:"container mx-auto px-4 py-12",children:[y.jsxs("div",{className:"mb-6",children:[y.jsx("h2",{className:"mb-1 text-2xl font-bold",children:"Research Projects"}),y.jsx("p",{className:"text-sm text-muted-foreground",children:"Key research and development initiatives"})]}),y.jsx("div",{className:"grid gap-3 md:grid-cols-3",children:n.map((o,i)=>y.jsxs(yr,{className:"shadow-sm hover:shadow-md transition-shadow",children:[y.jsxs(ns,{className:"pb-2",children:[y.jsx(rs,{className:"text-base",children:o.title}),y.jsx(ou,{className:"text-xs",children:o.period})]}),y.jsxs(wr,{children:[y.jsx("p",{className:"mb-2 text-xs text-muted-foreground line-clamp-2",children:o.description}),y.jsxs("div",{className:"flex items-center justify-between",children:[y.jsxs("div",{children:[y.jsx(pt,{variant:"outline",className:"text-xs",children:o.role}),y.jsx(pt,{variant:"outline",className:"text-xs",children:o.type})]}),y.jsx(ht,{variant:"link",size:"sm",asChild:!0,className:"gap-1 h-auto p-0 text-xs",children:y.jsxs("a",{href:o.website,target:"_blank",rel:"noopener noreferrer",children:["more",y.jsx(So,{className:"h-3 w-3"})]})})]})]})]},i))})]}),y.jsxs("section",{className:"container mx-auto px-4 py-12",children:[y.jsxs("div",{className:"mb-6",children:[y.jsxs("h2",{className:"mb-1 text-2xl font-bold flex items-center gap-2",children:[y.jsx(Bd,{className:"h-6 w-6 text-primary"}),"Advising"]}),y.jsx("p",{className:"text-sm text-muted-foreground",children:"Current students and Alumni"})]}),y.jsx("div",{className:"grid gap-2 md:grid-cols-3",children:t.map((o,i)=>y.jsx(yr,{className:"shadow-sm hover:shadow-md transition-shadow",children:y.jsxs(wr,{className:"py-3 px-4",children:[y.jsxs("div",{className:"flex items-start justify-between gap-2 mb-1",children:[y.jsx("h3",{className:"text-sm font-semibold",children:o.name}),y.jsxs("div",{className:"flex gap-1 shrink-0",children:[y.jsx(pt,{variant:"outline",className:"text-xs",children:o.level}),y.jsx(pt,{variant:o.status==="Ongoing"?"default":"secondary",className:"text-xs",children:o.status})]})]}),y.jsxs("p",{className:"text-xs text-muted-foreground italic line-clamp-2 mb-1",children:['"',o.thesis,'"']}),o.cosupervisors&&y.jsxs("p",{className:"text-xs text-muted-foreground mb-1",children:["Co-advisors: ",o.cosupervisors]}),y.jsx("p",{className:"text-xs text-muted-foreground mb-0.5",children:o.institution}),y.jsx("p",{className:"text-xs text-muted-foreground",children:o.year})]})},i))})]}),y.jsx("section",{className:"bg-secondary/30 py-12",children:y.jsxs("div",{className:"container mx-auto px-4",children:[y.jsxs("div",{className:"mb-6",children:[y.jsxs("h2",{className:"mb-1 text-2xl font-bold flex items-center gap-2",children:[y.jsx(s1,{className:"h-6 w-6 text-primary"}),"Teaching Activities"]}),y.jsx("p",{className:"text-sm text-muted-foreground",children:"Courses taught and coordinated in different Universities"})]}),y.jsx("div",{className:"grid gap-3 md:grid-cols-2 lg:grid-cols-3",children:r.map((o,i)=>y.jsx(yr,{className:"shadow-sm hover:shadow-md transition-shadow",children:y.jsxs(wr,{className:"pt-4 pb-3 px-4",children:[y.jsx("h4",{className:"text-sm font-semibold text-foreground mb-1 line-clamp-2",children:o.name}),y.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:o.level}),y.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 text-xs text-muted-foreground",children:[y.jsxs("span",{className:"font-medium text-primary",children:["(",o.instances.map(s=>s.year.split("/").map(l=>l.slice(-2)).join("/")).join(", "),")"]}),y.jsx("span",{children:"•"}),y.jsx("span",{children:o.instances[0].institution}),o.ects>0&&y.jsxs(y.Fragment,{children:[y.jsx("span",{children:"•"}),y.jsxs("span",{children:[o.ects," ECTS"]})]}),y.jsx("span",{children:"•"}),y.jsx(pt,{variant:"outline",className:"text-xs h-auto py-0 px-1.5",children:o.instances[0].role})]})]})},i))})]})}),y.jsx("footer",{className:"border-t bg-card py-6",children:y.jsx("div",{className:"container mx-auto px-4 text-center text-xs text-muted-foreground",children:y.jsx("p",{children:"© 2025 Francisco Almeida Maia."})})})]})},b2=()=>{const e=xg();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),y.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:y.jsxs("div",{className:"text-center",children:[y.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),y.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),y.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},T2=new jS,N2=()=>y.jsx(LS,{client:T2,children:y.jsxs(uS,{children:[y.jsx(Q1,{}),y.jsx(kw,{}),y.jsx(x2,{children:y.jsxs(v2,{children:[y.jsx(nu,{path:"/",element:y.jsx(P2,{})}),y.jsx(nu,{path:"*",element:y.jsx(b2,{})})]})})]})});Vh(document.getElementById("root")).render(y.jsx(N2,{}));

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.