vendor: 4,477 bytes, lines 1-9
1var Mc=e=>{throw TypeError(e)};var xl=(e,t,n)=>t.has(e)||Mc("Cannot "+n);var k=(e,t,n)=>(xl(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?Mc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),B=(e,t,n,r)=>(xl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Pe=(e,t,n)=>(xl(e,t,"access private method"),n);var xs=(e,t,n,r)=>({set _(o){B(e,t,o,n)},get _(){return k(e,t,r)}});function vv(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 s=Object.getOwnPropertyDescriptor(r,o);s&&Object.defineProperty(e,o,s.get?s:{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 s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Uf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bf={exports:{}},Fi={},Vf={exports:{}},Y={};/** 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 ls=Symbol.for("react.element"),yv=Symbol.for("react.portal"),xv=Symbol.for("react.fragment"),wv=Symbol.for("react.strict_mode"),Ev=Symbol.for("react.profiler"),Sv=Symbol.for("react.provider"),Cv=Symbol.for("react.context"),bv=Symbol.for("react.forward_ref"),Nv=Symbol.for("react.suspense"),kv=Symbol.for("react.memo"),Pv=Symbol.for("react.lazy"),Ic=Symbol.iterator;function Tv(e){return e===null||typeof e!="object"?null:(e=Ic&&e[Ic]||e["@@iterator"],typeof e=="function"?e:null)}var Wf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hf=Object.assign,Qf={};function no(e,t,n){this.props=e,this.context=t,this.refs=Qf,this.updater=n||Wf}no.prototype.isReactComponent={};no.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")};no.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Kf(){}Kf.prototype=no.prototype;function uu(e,t,n){this.props=e,this.context=t,this.refs=Qf,this.updater=n||Wf}var cu=uu.prototype=new Kf;cu.constructor=uu;Hf(cu,no.prototype);cu.isPureReactComponent=!0;var Lc=Array.isArray,Gf=Object.prototype.hasOwnProperty,du={current:null},Yf={key:!0,ref:!0,__self:!0,__source:!0};function qf(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Gf.call(t,r)&&!Yf.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:ls,type:e,key:s,ref:i,props:o,_owner:du.current}}function _v(e,t){return{$$typeof:ls,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fu(e){return typeof e=="object"&&e!==null&&e.$$typeof===ls}function Rv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Dc=/\/+/g;function wl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Rv(""+e.key):t.toString(36)}function Vs(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ls:case yv:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+wl(i,0):r,Lc(o)?(n="",e!=null&&(n=e.replace(Dc,"$&/")+"/"),Vs(o,t,n,"",function(u){return u}
vendor: 4,408 bytes, lines 9-17
9)):o!=null&&(fu(o)&&(o=_v(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Dc,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Lc(e))for(var l=0;l<e.length;l++){s=e[l];var a=r+wl(s,l);i+=Vs(s,t,n,a,o)}else if(a=Tv(e),typeof a=="function")for(e=a.call(e),l=0;!(s=e.next()).done;)s=s.value,a=r+wl(s,l++),i+=Vs(s,t,n,a,o);else if(s==="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 i}function ws(e,t,n){if(e==null)return e;var r=[],o=0;return Vs(e,r,"","",function(s){return t.call(n,s,o++)}),r}function jv(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 De={current:null},Ws={transition:null},Ov={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:Ws,ReactCurrentOwner:du};function Xf(){throw Error("act(...) is not supported in production builds of React.")}Y.Children={map:ws,forEach:function(e,t,n){ws(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ws(e,function(){t++}),t},toArray:function(e){return ws(e,function(t){return t})||[]},only:function(e){if(!fu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=no;Y.Fragment=xv;Y.Profiler=Ev;Y.PureComponent=uu;Y.StrictMode=wv;Y.Suspense=Nv;Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ov;Y.act=Xf;Y.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=Hf({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=du.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Gf.call(t,a)&&!Yf.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:ls,type:e.type,key:o,ref:s,props:r,_owner:i}};Y.createContext=function(e){return e={$$typeof:Cv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Sv,_context:e},e.Consumer=e};Y.createElement=qf;Y.createFactory=function(e){var t=qf.bind(null,e);return t.type=e,t};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:bv,render:e}};Y.isValidElement=fu;Y.lazy=function(e){return{$$typeof:Pv,_payload:{_status:-1,_result:e},_init:jv}};Y.memo=function(e,t){return{$$typeof:kv,type:e,compare:t===void 0?null:t}};Y.startTransition=function(e){var t=Ws.transition;Ws.transition={};try{e()}finally{Ws.transition=t}};Y.unstable_act=Xf;Y.useCallback=function(e,t){return De.current.useCallback(e,t)};Y.useContext=function(e){return De.current.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e){return De.current.useDeferredValue(e)};Y.useEffect=function(e,t){return De.current.useEffect(e,t)};Y.useId=function(){return De.current.useId()};Y.useImperativeHandle=function(e,t,n){return De.current.useImperativeHandle(e,t,n)};Y.useInsertionEffect=function(e,t){return De.current.useInsertionEffect(e,t)};Y.useLayoutEffect=function(e,t){return De.current.useLayoutEffect(e,t)};Y.useMemo=function(e,t){return De.current.useMemo(e,t)};Y.useReducer=function(e,t,n){return De.current.useReducer(e,t,n)};Y.useRef=function(e){return De.current.useRef(e)};Y.useState=function(e){return De.current.useState(e)};Y.useSyncExternalStore=function(e,t,n){return De.current.useSyncExternalStore(e,t,n)};Y.useTransition=function(){return De.current.useTransition()};Y.version="18.3.1";Vf.exports=Y;var x=Vf.exports;const j=Uf(x),pu=vv({__proto__:null,default:j},[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 Av=x,Mv=Symbol.for("react.element"),Iv=Symbol.for("react.fragment"),Lv=Object.prototype.hasOwnProperty,Dv=Av.__SECRET_INT
vendor: 8,821 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fv={key:!0,ref:!0,__self:!0,__source:!0};function Zf(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Lv.call(t,r)&&!Fv.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:Mv,type:e,key:s,ref:i,props:o,_owner:Dv.current}}Fi.Fragment=Iv;Fi.jsx=Zf;Fi.jsxs=Zf;Bf.exports=Fi;var f=Bf.exports,Jf={exports:{}},Je={},ep={exports:{}},tp={};/** 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(P,_){var I=P.length;P.push(_);e:for(;0<I;){var W=I-1>>>1,z=P[W];if(0<o(z,_))P[W]=_,P[I]=z,I=W;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var _=P[0],I=P.pop();if(I!==_){P[0]=I;e:for(var W=0,z=P.length,G=z>>>1;W<G;){var q=2*(W+1)-1,ve=P[q],ke=q+1,J=P[ke];if(0>o(ve,I))ke<z&&0>o(J,ve)?(P[W]=J,P[ke]=I,W=ke):(P[W]=ve,P[q]=I,W=q);else if(ke<z&&0>o(J,I))P[W]=J,P[ke]=I,W=ke;else break e}}return _}function o(P,_){var I=P.sortIndex-_.sortIndex;return I!==0?I:P.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var a=[],u=[],c=1,p=null,h=3,d=!1,E=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=P)r(u),_.sortIndex=_.expirationTime,t(a,_);else break;_=n(u)}}function S(P){if(y=!1,v(P),!E)if(n(a)!==null)E=!0,F(C);else{var _=n(u);_!==null&&V(S,_.startTime-P)}}function C(P,_){E=!1,y&&(y=!1,g(T),T=-1),d=!0;var I=h;try{for(v(_),p=n(a);p!==null&&(!(p.expirationTime>_)||P&&!$());){var W=p.callback;if(typeof W=="function"){p.callback=null,h=p.priorityLevel;var z=W(p.expirationTime<=_);_=e.unstable_now(),typeof z=="function"?p.callback=z:p===n(a)&&r(a),v(_)}else r(a);p=n(a)}if(p!==null)var G=!0;else{var q=n(u);q!==null&&V(S,q.startTime-_),G=!1}return G}finally{p=null,h=I,d=!1}}var b=!1,N=null,T=-1,A=5,O=-1;function $(){return!(e.unstable_now()-O<A)}function L(){if(N!==null){var P=e.unstable_now();O=P;var _=!0;try{_=N(!0,P)}finally{_?Q():(b=!1,N=null)}}else b=!1}var Q;if(typeof m=="function")Q=function(){m(L)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,K=M.port2;M.port1.onmessage=L,Q=function(){K.postMessage(null)}}else Q=function(){w(L,0)};function F(P){N=P,b||(b=!0,Q())}function V(P,_){T=w(function(){P(e.unstable_now())},_)}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(P){P.callback=null},e.unstable_continueExecution=function(){E||d||(E=!0,F(C))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(P){switch(h){case 1:case 2:case 3:var _=3;break;default:_=h}var I=h;h=_;try{return P()}finally{h=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,_){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var I=h;h=P;try{return _()}finally{h=I}},e.unstable_scheduleCallback=function(P,_,I){var W=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?W+I:W):I=W,P){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=I+z,P={id:c++,callback:_,priorityLevel:P,startTime:I,expirationTime:z,sortIndex:-1},I>W?(P.sortIndex=I,t(u,P),n(a)===null&&P===n(u)&&(y?(g(T),T=-1):y=!0,V(S,I-W))):(P.sortIndex=z,t(a,P),E||d||(E=!0,F(C))),P},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(P){var _=h;return function(){var I=h;h=_;try{return P.apply(this,arguments)}finally{h=I}}}})(tp);ep.exports=tp;var zv=ep.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 $v=x,Ze=zv;function R(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 np=new Set,Fo={};function ur(e,t){Kr(e,t),Kr(e+"Capture",t)}function Kr(e,t){for(Fo[e]=t,e=0;e<t.length;e++)np.add(t[e])}var Qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ea=Object.prototype.hasOwnProperty,Uv=/^[: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]*$/,Fc={},zc={};function Bv(e){return ea.call(zc,e)?!0:ea.call(Fc,e)?!1:Uv.test(e)?zc[e]=!0:(Fc[e]=!0,!1)}function Vv(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 Wv(e,t,n,r){if(t===null||typeof t>"u"||Vv(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 Fe(e,t,n,r,o,s,i){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=s,this.removeEmptyString=i}var Ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ne[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ne[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ne[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ne[e]=new Fe(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){Ne[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ne[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ne[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ne[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ne[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var hu=/[\-:]([a-z])/g;function mu(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
33-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(hu,mu);Ne[t]=new Fe(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(hu,mu);Ne[t]=new Fe(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(hu,mu);Ne[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ne[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});Ne.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ne[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function gu(e,t,n,r){var o=Ne.hasOwnProperty(t)?Ne[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Wv(t,n,o,r)&&(n=null),r||o===null?Bv(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=$v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Es=Symbol.for("react.element"),yr=Symbol.for("react.portal"),xr=Symbol.for("react.fragment"),vu=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),rp=Symbol.for("react.provider"),op=Symbol.for("react.context"),yu=Symbol.for("react.forward_ref"),na=Symbol.for("react.suspense"),ra=Symbol.for("react.suspense_list"),xu=Symbol.for("react.memo"),fn=Symbol.for("react.lazy"),sp=Symbol.for("react.offscreen"),$c=Symbol.iterator;function fo(e){return e===null||typeof e!="object"?null:(e=$c&&e[$c]||e["@@iterator"],typeof e=="function"?e:null)}var de=Object.assign,El;function So(e){if(El===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);El=t&&t[1]||""}return` 34`+El+e}var Sl=!1;function Cl(e,t){if(!e||Sl)return"";Sl=!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()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),s=r.stack.split(` 36`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var a=` 37`+o[i].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=i&&0<=l);break}}}finally{Sl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?So(e):""}function Hv(e){switch(e.tag){case 5:return So(e.type);case 16:return So("Lazy");case 13:return So("Suspense");case 19:return So("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function oa(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 xr:return"Fragment";case yr:return"Portal";case ta:return"Profiler";case vu:return"StrictMode";case na:return"Suspense";case ra:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case op:return(e.displayName||"Context")+".Consumer";case rp:return(e._context.displayName||"Context")+".Provider";case yu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xu:return t=e.displayName||null,t!==null?t:oa(e.type)||"Memo";case fn:t=e._payload,e=e._init;try{return oa(e(t))}catch{}}return null}function Qv(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 oa(t);case 8:return t===vu?"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 Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ip(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Kv(e){var t=ip(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ss(e){e._valueTracker||(e._valueTracker=Kv(e))}function lp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ip(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ii(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 sa(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Uc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mn(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}}
vendor: 4,651 bytes, line 37
37function ap(e,t){t=t.checked,t!=null&&gu(e,"checked",t,!1)}function ia(e,t){ap(e,t);var n=Mn(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")?la(e,t.type,n):t.hasOwnProperty("defaultValue")&&la(e,t.type,Mn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bc(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 la(e,t,n){(t!=="number"||ii(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Co=Array.isArray;function Rr(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=""+Mn(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 aa(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return de({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(Co(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Mn(n)}}function up(e,t){var n=Mn(t.value),r=Mn(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 Wc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function cp(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 ua(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?cp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Cs,dp=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(Cs=Cs||document.createElement("div"),Cs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var To={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},Gv=["Webkit","ms","Moz","O"];Object.keys(To).forEach(function(e){Gv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),To[t]=To[e]})});function fp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||To.hasOwnProperty(e)&&To[e]?(""+t).trim():t+"px"}function pp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=fp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Yv=de({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 ca(e,t){if(t){if(Yv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function da(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 fa=null;function wu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pa=null,jr=null,Or=null;function Hc(e){if(e=cs(e)){if(typeof pa!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Vi(t),pa(e.stateNode,e.type,t))}}function hp(e){jr?Or?Or.push(e):Or=[e]:jr=e}function mp(){if(jr){var e=jr,t=Or;if(Or=jr=null,Hc(e),t)for(e=0;e<t.length;e++)Hc(t[e])}}function gp(e,t){return e(t)}function vp(){}var bl=!1;function yp(e,t,n){if(bl)return e(t,n);bl=!0;try{return gp(e,t,n)}finally{bl=!1,(jr!==null||Or!==null)&&(vp(),mp())}}function $o(e,t){var n=e.stateNode;if(n===null)return null;var r=Vi(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(R(231,t,typeof n));return n}var ha=!1;if(Qt)try{var po={};Object.defineProperty(po,"passive",{get:function(){ha=!0}}),window.addEventListener("test",po,po),window.removeEventListener("test",po,po)}catch{ha=!1}function qv(e,t,n,r,o,s,i,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var _o=!1,li=null,ai=!1,ma=null,Xv={onError:function(e){_o=!0,li=e}};function Zv(e,t,n,r,o,s,i,l,a){_o=!1,li=null,qv.apply(Xv,arguments)}function Jv(e,t,n,r,o,s,i,l,a){if(Zv.apply(this,arguments),_o){if(_o){var u=li;_o=!1,li=null}else throw Error(R(198));ai||(ai=!0,ma=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 xp(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 Qc(e){if(cr(e)!==e)throw Error(R(188))}function ey(e){var t=e.alternate;if(!t){if(t=cr(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return Qc(o),e;if(s===r)return Qc(o),t;s=s.sibling}throw Error(R(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=s;break}if(l===r){i=!0,r=o,n=s;break}l=l.sibling}if(!i){for(l=s.child;l;){if(l===n){i=!0,n=s,r=o;break}if(l===r){i=!0,r=s,n=o;break}l=l.sibling}if(!i)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function wp(e){return e=ey(e),e!==null?Ep(e):null}function Ep(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ep(e);if(t!==null)return t;e=e.sibling}return null}var Sp=Ze.unstable_scheduleCallback,Kc=Ze.unstable_cancelCallback,ty=Ze.unstable_shouldYield,ny=Ze.unstable_requestPaint,ge=Ze.unstable_now,ry=Ze.unstable_getCurrentPriorityLevel,Eu=Ze.unstable_ImmediatePriority,Cp=Ze.unstable_UserBlockingPriority,ui=Ze.unstable_NormalPriority,oy=Ze.unstable_LowPriority,bp=Ze.unstable_IdlePriority,zi=null,At=null;function sy(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(zi,e,void 0,(e.current.flags&128)===128)}catch{}}var Et=Math.clz32?Math.clz32:ay,iy=Math.log,ly=Math.LN2;function ay(e){return e>>>=0,e===0?32:31-(iy(e)/ly|0)|0}var bs=64,Ns=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 ci(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=bo(l):(s&=i,s!==0&&(r=bo(s)))}else i=n&~o,i!==0?r=bo(i):s!==0&&(r=bo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&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-Et(t),o=1<<n,r|=e[n],t&=~o;return r}function uy(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 cy(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Et(s),l=1<<i,a=o[i];a===-1?(!(l&n)||l&r)&&(o[i]=uy(l,t)):a<=t&&(e.expiredLanes|=l),s&=~l}}function ga(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Np(){var e=bs;return bs<<=1,!(bs&4194240)&&(bs=64),e}function Nl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function as(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Et(t),e[t]=n}function dy(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-Et(n),s=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~s}}function Su(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Et(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ee=0;function kp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 12,626 bytes, line 37
37var Pp,Cu,Tp,_p,Rp,va=!1,ks=[],kn=null,Pn=null,Tn=null,Uo=new Map,Bo=new Map,hn=[],fy="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 Gc(e,t){switch(e){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":Tn=null;break;case"pointerover":case"pointerout":Uo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bo.delete(t.pointerId)}}function ho(e,t,n,r,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},t!==null&&(t=cs(t),t!==null&&Cu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function py(e,t,n,r,o){switch(t){case"focusin":return kn=ho(kn,e,t,n,r,o),!0;case"dragenter":return Pn=ho(Pn,e,t,n,r,o),!0;case"mouseover":return Tn=ho(Tn,e,t,n,r,o),!0;case"pointerover":var s=o.pointerId;return Uo.set(s,ho(Uo.get(s)||null,e,t,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,Bo.set(s,ho(Bo.get(s)||null,e,t,n,r,o)),!0}return!1}function jp(e){var t=Qn(e.target);if(t!==null){var n=cr(t);if(n!==null){if(t=n.tag,t===13){if(t=xp(n),t!==null){e.blockedOn=t,Rp(e.priority,function(){Tp(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 Hs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ya(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fa=r,n.target.dispatchEvent(r),fa=null}else return t=cs(n),t!==null&&Cu(t),e.blockedOn=n,!1;t.shift()}return!0}function Yc(e,t,n){Hs(e)&&n.delete(t)}function hy(){va=!1,kn!==null&&Hs(kn)&&(kn=null),Pn!==null&&Hs(Pn)&&(Pn=null),Tn!==null&&Hs(Tn)&&(Tn=null),Uo.forEach(Yc),Bo.forEach(Yc)}function mo(e,t){e.blockedOn===t&&(e.blockedOn=null,va||(va=!0,Ze.unstable_scheduleCallback(Ze.unstable_NormalPriority,hy)))}function Vo(e){function t(o){return mo(o,e)}if(0<ks.length){mo(ks[0],e);for(var n=1;n<ks.length;n++){var r=ks[n];r.blockedOn===e&&(r.blockedOn=null)}}for(kn!==null&&mo(kn,e),Pn!==null&&mo(Pn,e),Tn!==null&&mo(Tn,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);)jp(n),n.blockedOn===null&&hn.shift()}var Ar=en.ReactCurrentBatchConfig,di=!0;function my(e,t,n,r){var o=ee,s=Ar.transition;Ar.transition=null;try{ee=1,bu(e,t,n,r)}finally{ee=o,Ar.transition=s}}function gy(e,t,n,r){var o=ee,s=Ar.transition;Ar.transition=null;try{ee=4,bu(e,t,n,r)}finally{ee=o,Ar.transition=s}}function bu(e,t,n,r){if(di){var o=ya(e,t,n,r);if(o===null)Il(e,t,r,fi,n),Gc(e,r);else if(py(o,e,t,n,r))r.stopPropagation();else if(Gc(e,r),t&4&&-1<fy.indexOf(e)){for(;o!==null;){var s=cs(o);if(s!==null&&Pp(s),s=ya(e,t,n,r),s===null&&Il(e,t,r,fi,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Il(e,t,r,null,n)}}var fi=null;function ya(e,t,n,r){if(fi=null,e=wu(r),e=Qn(e),e!==null)if(t=cr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=xp(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 fi=e,null}function Op(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(ry()){case Eu:return 1;case Cp:return 4;case ui:case oy:return 16;case bp:return 536870912;default:return 16}default:return 16}}var En=null,Nu=null,Qs=null;function Ap(){if(Qs)return Qs;var e,t=Nu,n=t.length,r,o="value"in En?En.value:En.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[s-r];r++);return Qs=o.slice(e,1<r?1-r:void 0)}function Ks(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 Ps(){return!0}function qc(){return!1}function et(e){function t(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ps:qc,this.isPropagationStopped=qc,this}return de(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=Ps)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ps)},persist:function(){},isPersistent:Ps}),t}var ro={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ku=et(ro),us=de({},ro,{view:0,detail:0}),vy=et(us),kl,Pl,go,$i=de({},us,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pu,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!==go&&(go&&e.type==="mousemove"?(kl=e.screenX-go.screenX,Pl=e.screenY-go.screenY):Pl=kl=0,go=e),kl)},movementY:function(e){return"movementY"in e?e.movementY:Pl}}),Xc=et($i),yy=de({},$i,{dataTransfer:0}),xy=et(yy),wy=de({},us,{relatedTarget:0}),Tl=et(wy),Ey=de({},ro,{animationName:0,elapsedTime:0,pseudoElement:0}),Sy=et(Ey),Cy=de({},ro,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),by=et(Cy),Ny=de({},ro,{data:0}),Zc=et(Ny),ky={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Py={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"},Ty={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _y(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ty[e])?!!t[e]:!1}function Pu(){return _y}var Ry=de({},us,{key:function(e){if(e.key){var t=ky[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ks(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Py[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pu,charCode:function(e){return e.type==="keypress"?Ks(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ks(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jy=et(Ry),Oy=de({},$i,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jc=et(Oy),Ay=de({},us,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pu}),My=et(Ay),Iy=de({},ro,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ly=et(Iy),Dy=de({},$i,{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}),Fy=et(Dy),zy=[9,13,27,32],Tu=Qt&&"CompositionEvent"in window,Ro=null;Qt&&"documentMode"in document&&(Ro=document.documentMode);var $y=Qt&&"TextEvent"in window&&!Ro,Mp=Qt&&(!Tu||Ro&&8<Ro&&11>=Ro),ed=" ",td=!1;function Ip(e,t){switch(e){case"keyup":return zy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wr=!1;function Uy(e,t){switch(e){case"compositionend":return Lp(t);case"keypress":return t.which!==32?null:(td=!0,ed);case"textInput":return e=t.data,e===ed&&td?null:e;default:return null}}function By(e,t){if(wr)return e==="compositionend"||!Tu&&Ip(e,t)?(e=Ap(),Qs=Nu=En=null,wr=!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 Mp&&t.locale!=="ko"?null:t.data;default:return null}}var Vy={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 nd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Vy[e.type]:t==="textarea"}function Dp(e,t,n,r){hp(r),t=pi(t,"onChange"),0<t.length&&(n=new ku("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var jo=null,Wo=null;function Wy(e){Gp(e,0)}function Ui(e){var t=Cr(e);if(lp(t))return e}function Hy(e,t){if(e==="change")return t}var Fp=!1;if(Qt){var _l;if(Qt){var Rl="oninput"in document;if(!Rl){var rd=document.createElement("div");rd.setAttribute("oninput","return;"),Rl=typeof rd.oninput=="function"}_l=Rl}else _l=!1;Fp=_l&&(!document.documentMode||9<document.documentMode)}function od(){jo&&(jo.detachEvent("onpropertychange",zp),Wo=jo=null)}function zp(e){if(e.propertyName==="value"&&Ui(Wo)){var t=[];Dp(t,Wo,e,wu(e)),yp(Wy,t)}}function Qy(e,t,n){e==="focusin"?(od(),jo=t,Wo=n,jo.attachEvent("onpropertychange",zp)):e==="focusout"&&od()}function Ky(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ui(Wo)}function Gy(e,t){if(e==="click")return Ui(t)}function Yy(e,t){if(e==="input"||e==="change")return Ui(t)}function qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ct=typeof Object.is=="function"?Object.is:qy;function Ho(e,t){if(Ct(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(!ea.call(t,o)||!Ct(e[o],t[o]))return!1}return!0}function sd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function id(e,t){var n=sd(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=sd(n)}}function $p(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$p(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Up(){for(var e=window,t=ii();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ii(e.document)}return t}function _u(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 Xy(e){var t=Up(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$p(n.ownerDocument.documentElement,n)){if(r!==null&&_u(n)){if
vendor: 5,074 bytes, line 37
37(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,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=id(n,s);var i=id(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 Zy=Qt&&"documentMode"in document&&11>=document.documentMode,Er=null,xa=null,Oo=null,wa=!1;function ld(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;wa||Er==null||Er!==ii(r)||(r=Er,"selectionStart"in r&&_u(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Oo&&Ho(Oo,r)||(Oo=r,r=pi(xa,"onSelect"),0<r.length&&(t=new ku("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Er)))}function Ts(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:Ts("Animation","AnimationEnd"),animationiteration:Ts("Animation","AnimationIteration"),animationstart:Ts("Animation","AnimationStart"),transitionend:Ts("Transition","TransitionEnd")},jl={},Bp={};Qt&&(Bp=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);function Bi(e){if(jl[e])return jl[e];if(!Sr[e])return e;var t=Sr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Bp)return jl[e]=t[n];return e}var Vp=Bi("animationend"),Wp=Bi("animationiteration"),Hp=Bi("animationstart"),Qp=Bi("transitionend"),Kp=new Map,ad="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){Kp.set(e,t),ur(t,[e])}for(var Ol=0;Ol<ad.length;Ol++){var Al=ad[Ol],Jy=Al.toLowerCase(),e0=Al[0].toUpperCase()+Al.slice(1);Fn(Jy,"on"+e0)}Fn(Vp,"onAnimationEnd");Fn(Wp,"onAnimationIteration");Fn(Hp,"onAnimationStart");Fn("dblclick","onDoubleClick");Fn("focusin","onFocus");Fn("focusout","onBlur");Fn(Qp,"onTransitionEnd");Kr("onMouseEnter",["mouseout","mouseover"]);Kr("onMouseLeave",["mouseout","mouseover"]);Kr("onPointerEnter",["pointerout","pointerover"]);Kr("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 No="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(" "),t0=new Set("cancel close invalid load scroll toggle".split(" ").concat(No));function ud(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Jv(r,t,void 0,e),e.currentTarget=null}function Gp(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 s=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==s&&o.isPropagationStopped())break e;ud(o,l,u),s=a}else for(i=0;i<r.length;i++){if(l=r[i],a=l.instance,u=l.currentTarget,l=l.listener,a!==s&&o.isPropagationStopped())break e;ud(o,l,u),s=a}}}if(ai)throw e=ma,ai=!1,ma=null,e}function se(e,t){var n=t[Na];n===void 0&&(n=t[Na]=new Set);var r=e+"__bubble";n.has(r)||(Yp(t,e,2,!1),n.add(r))}function Ml(e,t,n){var r=0;t&&(r|=4),Yp(n,e,r,t)}var _s="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function Qo(e){if(!e[_s]){e[_s]=!0,np.forEach(function(n){n!=="selectionchange"&&(t0.has(n)||Ml(n,!1,e),Ml(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[_s]||(t[_s]=!0,Ml("selectionchange",!1,t))}}function Yp(e,t,n,r){switch(Op(t)){case 1:var o=my;break;case 4:o=gy;break;default:o=bu}n=o.bind(null,t,n,e),o=void 0,!ha||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 Il(e,t,n,r,o){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var a=i.tag;if((a===3||a===4)&&(a=i.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;i=i.return}for(;l!==null;){if(i=Qn(l),i===null)return;if(a=i.tag,a===5||a===6){r=s=i;continue e}l=l.parentNode}}r=r.return}yp(function(){var u=s,c=wu(n),p=[];e:{var h=Kp.get(e);if(h!==void 0){var d=ku,E=e;switch(e){case"keypress":if(Ks(n)===0)break e;case"keydown":case"keyup":d=jy;break;case"focusin":E="focus",d=Tl;break;case"focusout":E="blur",d=Tl;break;case"beforeblur":case"afterblur":d=Tl;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=Xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=xy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=My;break;case Vp:case Wp:case Hp:d=Sy;break;case Qp:d=Ly;break;case"scroll":d=vy;break;case"wheel":d=Fy;break;case"copy":case"cut":case"paste":d=by;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Jc}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=$o(m,g),S!=null&&y.push(Ko(m,S,v)))),w)break;m=m.return}0<y.length&&(h=new d(h,E,null,n,c),p.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",h&&n!==fa&&(E=n.relatedTarget||n.fromElement)&&(Qn(E)||E[Kt]))break e;if((d||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,d?(E=n.relatedTarget||n.toElement,d=u,E=E?Qn(E):null,E!==null&&(w=cr(E),E!==w||E.tag!==5&&E.tag!==6)&&(E=null)):(d=null,E=u),d!==E)){if(y=Xc,S="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Jc,S="onPointerLeave",g="onPointerEnter",m="pointer"),w=d==null?h:Cr(d),v=E==null?h:Cr(E),h=new y(S,m+"leave",d,n,c),h.target=w,h.relatedTarget=v,S=null,Qn(c)===u&&(y=new y(g,m+"enter",E,n,c),y.target=v,y.relatedTarget=w,S=y),w=S,d&&E)t:{for(y=d,g=E,m=0,v=y;v;v=vr(v))m++;for(v=0,S=g;S;S=vr(S))v++;for(;0<m-v;)y=vr(y),m--;for(;0<v-m;)g=vr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=vr(y),g=vr(g)}y=null}else y=null;d!==null&&cd(p,h,d,y,!1),E!==null&&w!==null&&cd(p,w,E,y,!0)}}e:{if(h=u?Cr(u):window,d=h.nodeName&&h.nodeName.toLowerCase(),d==="select"||d==="input"&&h.type==="file")var C=Hy;else if(nd(h))if(Fp)C=Yy;else{C=Ky;var b=Qy}else(d=h.nodeName)&&d.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=Gy);if(C&&(C=C(e,u))){Dp(p,C,n,c);break e}b&&b(e,h,u),e==="focusout"&&(b=h._wrapperState)&&b.controlled&&h.type==="number"&&la(h,"number",h.value)}switch(b=u?Cr(u):window,e){case"focusin":(nd(b)||b.contentEditable==="true")&&(Er=b,xa=u,Oo=null);break;case"focusout":Oo=xa=Er=null;break;case"mousedown":wa=!0;break;case"contextmenu":case"mouseup":case"dragend":wa=!1,ld(p,n,c);break;case"selectionchange":if(Zy)break;case"keydown":case"keyup":ld(p,n,c)}var N;if(Tu)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else wr?Ip(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Mp&&n.locale!=="ko"&&(wr||T!=="onCompositionStart"?T==="onCompositionEnd"&&wr&&(N=Ap()):(En=c,Nu="value"in En?En.value:En.textContent,wr=!0)),b=pi(u,T),0<b.length&&(T=new Zc(T,e,null,n,c),p.push({event:T,listeners:b}),N?T.data=N:(N=Lp(n),N!==null&&(T.data=N)))),(N=$y?Uy(e,n):By(e,n))&&
vendor: 5,086 bytes, lines 37-38
37(u=pi(u,"onBeforeInput"),0<u.length&&(c=new Zc("onBeforeInput","beforeinput",null,n,c),p.push({event:c,listeners:u}),c.data=N))}Gp(p,t)})}function Ko(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=$o(e,n),s!=null&&r.unshift(Ko(e,s,o)),s=$o(e,t),s!=null&&r.push(Ko(e,s,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 cd(e,t,n,r,o){for(var s=t._reactName,i=[];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,s),a!=null&&i.unshift(Ko(n,a,l))):o||(a=$o(n,s),a!=null&&i.push(Ko(n,a,l)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var n0=/\r\n?/g,r0=/\u0000|\uFFFD/g;function dd(e){return(typeof e=="string"?e:""+e).replace(n0,` 38`).replace(r0,"")}function Rs(e,t,n){if(t=dd(t),dd(e)!==t&&n)throw Error(R(425))}function hi(){}var Ea=null,Sa=null;function Ca(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 ba=typeof setTimeout=="function"?setTimeout:void 0,o0=typeof clearTimeout=="function"?clearTimeout:void 0,fd=typeof Promise=="function"?Promise:void 0,s0=typeof queueMicrotask=="function"?queueMicrotask:typeof fd<"u"?function(e){return fd.resolve(null).then(e).catch(i0)}:ba;function i0(e){setTimeout(function(){throw e})}function Ll(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 _n(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 pd(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 oo=Math.random().toString(36).slice(2),jt="__reactFiber$"+oo,Go="__reactProps$"+oo,Kt="__reactContainer$"+oo,Na="__reactEvents$"+oo,l0="__reactListeners$"+oo,a0="__reactHandles$"+oo;function Qn(e){var t=e[jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kt]||n[jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pd(e);e!==null;){if(n=e[jt])return n;e=pd(e)}return t}e=n,n=e.parentNode}return null}function cs(e){return e=e[jt]||e[Kt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Cr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Vi(e){return e[Go]||null}var ka=[],br=-1;function zn(e){return{current:e}}function ie(e){0>br||(e.current=ka[br],ka[br]=null,br--)}function re(e,t){br++,ka[br]=e.current,e.current=t}var In={},Oe=zn(In),Be=zn(!1),rr=In;function Gr(e,t){var n=e.type.contextTypes;if(!n)return In;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ve(e){return e=e.childContextTypes,e!=null}function mi(){ie(Be),ie(Oe)}function hd(e,t,n){if(Oe.current!==In)throw Error(R(168));re(Oe,t),re(Be,n)}function qp(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(R(108,Qv(e)||"Unknown",o));return de({},n,r)}function gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||In,rr=Oe.current,re(Oe,e),re(Be,Be.current),!0}function md(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=qp(e,t,rr),r.__reactInternalMemoizedMergedChildContext=e,ie(Be),ie(Oe),re(Oe,e)):ie(Be),re(Be,n)}var Ut=null,Wi=!1,Dl=!1;function Xp(e){Ut===null?Ut=[e]:Ut.push(e)}function u0(e){Wi=!0,Xp(e)}function $n(){if(!Dl&&Ut!==null){Dl=!0;var e=0,t=ee;try{var n=Ut;for(ee=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ut=null,Wi=!1}catch(o){throw Ut!==null&&(Ut=Ut.slice(e+1)),Sp(Eu,$n),o}finally{ee=t,Dl=!1}}return null}var Nr=[],kr=0,vi=null,yi=0,rt=[],ot=0,or=null,Vt=1,Wt="";function Wn(e,t){Nr[kr++]=yi,Nr[kr++]=vi,vi=e,yi=t}function Zp(e,t,n){rt[ot++]=Vt,rt[ot++]=Wt,rt[ot++]=or,or=e;var r=Vt;e=Wt;var o=32-Et(r)-1;r&=~(1<<o),n+=1;var s=32-Et(t)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Vt=1<<32-Et(t)+o|n<<o|r,Wt=s+e}else Vt=1<<s|n<<o|r,Wt=e}function Ru(e){e.return!==null&&(Wn(e,1),Zp(e,1,0))}function ju(e){for(;e===vi;)vi=Nr[--kr],Nr[kr]=null,yi=Nr[--kr],Nr[kr]=null;for(;e===or;)or=rt[--ot],rt[ot]=null,Wt=rt[--ot],rt[ot]=null,Vt=rt[--ot],rt[ot]=null}var qe=null,Ye=null,ae=!1,wt=null;function Jp(e,t){var n=st(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 gd(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 11,247 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qe=e,Ye=_n(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qe=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=or!==null?{id:Vt,overflow:Wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=st(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qe=e,Ye=null,!0):!1;default:return!1}}function Pa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ta(e){if(ae){var t=Ye;if(t){var n=t;if(!gd(e,t)){if(Pa(e))throw Error(R(418));t=_n(n.nextSibling);var r=qe;t&&gd(e,t)?Jp(r,n):(e.flags=e.flags&-4097|2,ae=!1,qe=e)}}else{if(Pa(e))throw Error(R(418));e.flags=e.flags&-4097|2,ae=!1,qe=e}}}function vd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qe=e}function js(e){if(e!==qe)return!1;if(!ae)return vd(e),ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ca(e.type,e.memoizedProps)),t&&(t=Ye)){if(Pa(e))throw eh(),Error(R(418));for(;t;)Jp(e,t),t=_n(t.nextSibling)}if(vd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=_n(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=qe?_n(e.stateNode.nextSibling):null;return!0}function eh(){for(var e=Ye;e;)e=_n(e.nextSibling)}function Yr(){Ye=qe=null,ae=!1}function Ou(e){wt===null?wt=[e]:wt.push(e)}var c0=en.ReactCurrentBatchConfig;function vo(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(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var o=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var l=o.refs;i===null?delete l[s]:l[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Os(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yd(e){var t=e._init;return t(e._payload)}function th(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function o(g,m){return g=An(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function i(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,m,v,S){return m===null||m.tag!==6?(m=Wl(v,g.mode,S),m.return=g,m):(m=o(m,v),m.return=g,m)}function a(g,m,v,S){var C=v.type;return C===xr?c(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===fn&&yd(C)===m.type)?(S=o(m,v.props),S.ref=vo(g,m,v),S.return=g,S):(S=ei(v.type,v.key,v.props,null,g.mode,S),S.ref=vo(g,m,v),S.return=g,S)}function u(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Hl(v,g.mode,S),m.return=g,m):(m=o(m,v.children||[]),m.return=g,m)}function c(g,m,v,S,C){return m===null||m.tag!==7?(m=nr(v,g.mode,S,C),m.return=g,m):(m=o(m,v),m.return=g,m)}function p(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Wl(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Es:return v=ei(m.type,m.key,m.props,null,g.mode,v),v.ref=vo(g,null,m),v.return=g,v;case yr:return m=Hl(m,g.mode,v),m.return=g,m;case fn:var S=m._init;return p(g,S(m._payload),v)}if(Co(m)||fo(m))return m=nr(m,g.mode,v,null),m.return=g,m;Os(g,m)}return null}function h(g,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:l(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Es:return v.key===C?a(g,m,v,S):null;case yr:return v.key===C?u(g,m,v,S):null;case fn:return C=v._init,h(g,m,C(v._payload),S)}if(Co(v)||fo(v))return C!==null?null:c(g,m,v,S,null);Os(g,v)}return null}function d(g,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,l(m,g,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Es:return g=g.get(S.key===null?v:S.key)||null,a(m,g,S,C);case yr:return g=g.get(S.key===null?v:S.key)||null,u(m,g,S,C);case fn:var b=S._init;return d(g,m,v,b(S._payload),C)}if(Co(S)||fo(S))return g=g.get(v)||null,c(m,g,S,C,null);Os(m,S)}return null}function E(g,m,v,S){for(var C=null,b=null,N=m,T=m=0,A=null;N!==null&&T<v.length;T++){N.index>T?(A=N,N=null):A=N.sibling;var O=h(g,N,v[T],S);if(O===null){N===null&&(N=A);break}e&&N&&O.alternate===null&&t(g,N),m=s(O,m,T),b===null?C=O:b.sibling=O,b=O,N=A}if(T===v.length)return n(g,N),ae&&Wn(g,T),C;if(N===null){for(;T<v.length;T++)N=p(g,v[T],S),N!==null&&(m=s(N,m,T),b===null?C=N:b.sibling=N,b=N);return ae&&Wn(g,T),C}for(N=r(g,N);T<v.length;T++)A=d(N,g,T,v[T],S),A!==null&&(e&&A.alternate!==null&&N.delete(A.key===null?T:A.key),m=s(A,m,T),b===null?C=A:b.sibling=A,b=A);return e&&N.forEach(function($){return t(g,$)}),ae&&Wn(g,T),C}function y(g,m,v,S){var C=fo(v);if(typeof C!="function")throw Error(R(150));if(v=C.call(v),v==null)throw Error(R(151));for(var b=C=null,N=m,T=m=0,A=null,O=v.next();N!==null&&!O.done;T++,O=v.next()){N.index>T?(A=N,N=null):A=N.sibling;var $=h(g,N,O.value,S);if($===null){N===null&&(N=A);break}e&&N&&$.alternate===null&&t(g,N),m=s($,m,T),b===null?C=$:b.sibling=$,b=$,N=A}if(O.done)return n(g,N),ae&&Wn(g,T),C;if(N===null){for(;!O.done;T++,O=v.next())O=p(g,O.value,S),O!==null&&(m=s(O,m,T),b===null?C=O:b.sibling=O,b=O);return ae&&Wn(g,T),C}for(N=r(g,N);!O.done;T++,O=v.next())O=d(N,g,T,O.value,S),O!==null&&(e&&O.alternate!==null&&N.delete(O.key===null?T:O.key),m=s(O,m,T),b===null?C=O:b.sibling=O,b=O);return e&&N.forEach(function(L){return t(g,L)}),ae&&Wn(g,T),C}function w(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===xr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Es:e:{for(var C=v.key,b=m;b!==null;){if(b.key===C){if(C=v.type,C===xr){if(b.tag===7){n(g,b.sibling),m=o(b,v.props.children),m.return=g,g=m;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===fn&&yd(C)===b.type){n(g,b.sibling),m=o(b,v.props),m.ref=vo(g,b,v),m.return=g,g=m;break e}n(g,b);break}else t(g,b);b=b.sibling}v.type===xr?(m=nr(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=ei(v.type,v.key,v.props,null,g.mode,S),S.ref=vo(g,m,v),S.return=g,g=S)}return i(g);case yr:e:{for(b=v.key;m!==null;){if(m.key===b)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Hl(v,g.mode,S),m.return=g,g=m}return i(g);case fn:return b=v._init,w(g,m,b(v._payload),S)}if(Co(v))return E(g,m,v,S);if(fo(v))return y(g,m,v,S);Os(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,v),m.return=g,g=m):(n(g,m),m=Wl(v,g.mode,S),m.return=g,g=m),i(g)):n(g,m)}return w}var qr=th(!0),nh=th(!1),xi=zn(null),wi=null,Pr=null,Au=null;function Mu(){Au=Pr=wi=null}function Iu(e){var t=xi.current;ie(xi),e._currentValue=t}function _a(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 Mr(e,t){wi=e,Au=Pr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ue=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Au!==e)if(e={context:e,memoizedValue:t,next:null},Pr===null){if(wi===null)throw Error(R(308));Pr=e,wi.dependencies={lanes:0,firstContext:e}}else Pr=Pr.next=e;return t}var Kn=null;function Lu(e){Kn===null?Kn=[e]:Kn.push(e)}function rh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Lu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Gt(e,r)}function Gt(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 Du(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oh(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 Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(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,Gt(e,n)}return o=r.interleaved,o===null?(t.next=t,Lu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Gt(e,n)}function Gs(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,Su(e,n)}}function xd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,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 Ei(e,t,n,r){var o=e.updateQueue;pn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,i===null?s=u:i.next=u,i=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==i&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(s!==null){var p=o.baseState;i=0,c=u=a=null,l=s;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 E=e,y=l;switch(h=t,d=n,y.tag){case 1:if(E=y.payload,typeof E=="function"){p=E.call(d,p,h);break e}p=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=y.payload,h=typeof E=="function"?E.call(d,p,h):E,h==null)break e;p=de({},p,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=p):c=c.next=d,i|=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=p),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);ir|=i,e.lanes=i,e.memoizedState=p}}function wd(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;
vendor: 1,677 bytes, line 38
38if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(R(191,o));o.call(r)}}}var ds={},Mt=zn(ds),Yo=zn(ds),qo=zn(ds);function Gn(e){if(e===ds)throw Error(R(174));return e}function Fu(e,t){switch(re(qo,t),re(Yo,e),re(Mt,ds),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ua(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ua(t,e)}ie(Mt),re(Mt,t)}function Xr(){ie(Mt),ie(Yo),ie(qo)}function sh(e){Gn(qo.current);var t=Gn(Mt.current),n=ua(t,e.type);t!==n&&(re(Yo,e),re(Mt,n))}function zu(e){Yo.current===e&&(ie(Mt),ie(Yo))}var ue=zn(0);function Si(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 Fl=[];function $u(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Ys=en.ReactCurrentDispatcher,zl=en.ReactCurrentBatchConfig,sr=0,ce=null,xe=null,Ee=null,Ci=!1,Ao=!1,Xo=0,d0=0;function Te(){throw Error(R(321))}function Uu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function Bu(e,t,n,r,o,s){if(sr=s,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ys.current=e===null||e.memoizedState===null?m0:g0,e=n(r,o),Ao){s=0;do{if(Ao=!1,Xo=0,25<=s)throw Error(R(301));s+=1,Ee=xe=null,t.updateQueue=null,Ys.current=v0,e=n(r,o)}while(Ao)}
vendor: 7,534 bytes, line 38
38if(Ys.current=bi,t=xe!==null&&xe.next!==null,sr=0,Ee=xe=ce=null,Ci=!1,t)throw Error(R(300));return e}function Vu(){var e=Xo!==0;return Xo=0,e}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?ce.memoizedState=Ee=e:Ee=Ee.next=e,Ee}function at(){if(xe===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var t=Ee===null?ce.memoizedState:Ee.next;if(t!==null)Ee=t,xe=e;else{if(e===null)throw Error(R(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Ee===null?ce.memoizedState=Ee=e:Ee=Ee.next=e}return Ee}function Zo(e,t){return typeof t=="function"?t(e):t}function $l(e){var t=at(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=xe,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var l=i=null,a=null,u=s;do{var c=u.lane;if((sr&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 p={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=p,i=r):a=a.next=p,ce.lanes|=c,ir|=c}u=u.next}while(u!==null&&u!==s);a===null?i=r:a.next=l,Ct(r,t.memoizedState)||(Ue=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do s=o.lane,ce.lanes|=s,ir|=s,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ul(e){var t=at(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Ct(s,t.memoizedState)||(Ue=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function ih(){}function lh(e,t){var n=ce,r=at(),o=t(),s=!Ct(r.memoizedState,o);if(s&&(r.memoizedState=o,Ue=!0),r=r.queue,Wu(ch.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Ee!==null&&Ee.memoizedState.tag&1){if(n.flags|=2048,Jo(9,uh.bind(null,n,r,o,t),void 0,null),Se===null)throw Error(R(349));sr&30||ah(n,t,o)}return o}function ah(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ce.updateQueue,t===null?(t={lastEffect:null,stores:null},ce.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function uh(e,t,n,r){t.value=n,t.getSnapshot=r,dh(t)&&fh(e)}function ch(e,t,n){return n(function(){dh(t)&&fh(e)})}function dh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function fh(e){var t=Gt(e,1);t!==null&&St(t,e,1,-1)}function Ed(e){var t=Pt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zo,lastRenderedState:e},t.queue=e,e=e.dispatch=h0.bind(null,ce,e),[t.memoizedState,e]}function Jo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ce.updateQueue,t===null?(t={lastEffect:null,stores:null},ce.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 ph(){return at().memoizedState}function qs(e,t,n,r){var o=Pt();ce.flags|=e,o.memoizedState=Jo(1|t,n,void 0,r===void 0?null:r)}function Hi(e,t,n,r){var o=at();r=r===void 0?null:r;var s=void 0;if(xe!==null){var i=xe.memoizedState;if(s=i.destroy,r!==null&&Uu(r,i.deps)){o.memoizedState=Jo(t,n,s,r);return}}ce.flags|=e,o.memoizedState=Jo(1|t,n,s,r)}function Sd(e,t){return qs(8390656,8,e,t)}function Wu(e,t){return Hi(2048,8,e,t)}function hh(e,t){return Hi(4,2,e,t)}function mh(e,t){return Hi(4,4,e,t)}function gh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function vh(e,t,n){return n=n!=null?n.concat([e]):null,Hi(4,4,gh.bind(null,t,e),n)}function Hu(){}function yh(e,t){var n=at();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xh(e,t){var n=at();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Uu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function wh(e,t,n){return sr&21?(Ct(n,t)||(n=Np(),ce.lanes|=n,ir|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=n)}function f0(e,t){var n=ee;ee=n!==0&&4>n?n:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),t()}finally{ee=n,zl.transition=r}}function Eh(){return at().memoizedState}function p0(e,t,n){var r=On(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Sh(e))Ch(t,n);else if(n=rh(e,t,n,r),n!==null){var o=Le();St(n,e,r,o),bh(n,t,r)}}function h0(e,t,n){var r=On(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sh(e))Ch(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Ct(l,i)){var a=t.interleaved;a===null?(o.next=o,Lu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=rh(e,t,o,r),n!==null&&(o=Le(),St(n,e,r,o),bh(n,t,r))}}function Sh(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Ch(e,t){Ao=Ci=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Su(e,n)}}var bi={readContext:lt,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},m0={readContext:lt,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Sd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,qs(4194308,4,gh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qs(4194308,4,e,t)},useInsertionEffect:function(e,t){return qs(4,2,e,t)},useMemo:function(e,t){var n=Pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pt();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=p0.bind(null,ce,e),[r.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:Ed,useDebugValue:Hu,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=Ed(!1),t=e[0];return e=f0.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ce,o=Pt();if(ae){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Se===null)throw Error(R(349));sr&30||ah(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Sd(ch.bind(null,r,s,e),[e]),r.flags|=2048,Jo(9,uh.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Pt(),t=Se.identifierPrefix;if(ae){var n=Wt,r=Vt;n=(r&~(1<<32-Et(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=d0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},g0={readContext:lt,useCallback:yh,useContext:lt,useEffect:Wu,useImperativeHandle:vh,useInsertionEffect:hh,useLayoutEffect:mh,useMemo:xh,useReducer:$l,useRef:ph,useState:function(){return $l
vendor: 6,378 bytes, lines 38-40
38(Zo)},useDebugValue:Hu,useDeferredValue:function(e){var t=at();return wh(t,xe.memoizedState,e)},useTransition:function(){var e=$l(Zo)[0],t=at().memoizedState;return[e,t]},useMutableSource:ih,useSyncExternalStore:lh,useId:Eh,unstable_isNewReconciler:!1},v0={readContext:lt,useCallback:yh,useContext:lt,useEffect:Wu,useImperativeHandle:vh,useInsertionEffect:hh,useLayoutEffect:mh,useMemo:xh,useReducer:Ul,useRef:ph,useState:function(){return Ul(Zo)},useDebugValue:Hu,useDeferredValue:function(e){var t=at();return xe===null?t.memoizedState=e:wh(t,xe.memoizedState,e)},useTransition:function(){var e=Ul(Zo)[0],t=at().memoizedState;return[e,t]},useMutableSource:ih,useSyncExternalStore:lh,useId:Eh,unstable_isNewReconciler:!1};function mt(e,t){if(e&&e.defaultProps){t=de({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ra(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:de({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Qi={isMounted:function(e){return(e=e._reactInternals)?cr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Le(),o=On(e),s=Ht(r,o);s.payload=t,n!=null&&(s.callback=n),t=Rn(e,s,o),t!==null&&(St(t,e,o,r),Gs(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Le(),o=On(e),s=Ht(r,o);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Rn(e,s,o),t!==null&&(St(t,e,o,r),Gs(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Le(),r=On(e),o=Ht(n,r);o.tag=2,t!=null&&(o.callback=t),t=Rn(e,o,r),t!==null&&(St(t,e,r,n),Gs(t,e,r))}};function Cd(e,t,n,r,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,i):t.prototype&&t.prototype.isPureReactComponent?!Ho(n,r)||!Ho(o,s):!0}function Nh(e,t,n){var r=!1,o=In,s=t.contextType;return typeof s=="object"&&s!==null?s=lt(s):(o=Ve(t)?rr:Oe.current,r=t.contextTypes,s=(r=r!=null)?Gr(e,o):In),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Qi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function bd(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&&Qi.enqueueReplaceState(t,t.state,null)}function ja(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Du(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=lt(s):(s=Ve(t)?rr:Oe.current,o.context=Gr(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Ra(e,t,s,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&&Qi.enqueueReplaceState(o,o.state,null),Ei(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Zr(e,t){try{var n="",r=t;do n+=Hv(r),r=r.return;while(r);var o=n}catch(s){o=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:o,digest:null}}function Bl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Oa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var y0=typeof WeakMap=="function"?WeakMap:Map;function kh(e,t,n){n=Ht(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ki||(ki=!0,Ba=r),Oa(e,t)},n}function Ph(e,t,n){n=Ht(-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(){Oa(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Oa(e,t),typeof r!="function"&&(jn===null?jn=new Set([this]):jn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Nd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new y0;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=O0.bind(null,e,t,n),t.then(e,e))}function kd(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 Pd(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=Ht(-1,1),t.tag=2,Rn(n,t,1))),n.lanes|=1),e)}var x0=en.ReactCurrentOwner,Ue=!1;function Me(e,t,n,r){t.child=e===null?nh(t,null,n,r):qr(t,e.child,n,r)}function Td(e,t,n,r,o){n=n.render;var s=t.ref;return Mr(t,o),r=Bu(e,t,n,r,s,o),n=Vu(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Yt(e,t,o)):(ae&&n&&Ru(t),t.flags|=1,Me(e,t,r,o),t.child)}function _d(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!Ju(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Th(e,t,s,r,o)):(e=ei(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:Ho,n(i,r)&&e.ref===t.ref)return Yt(e,t,o)}return t.flags|=1,e=An(s,r),e.ref=t.ref,e.return=t,t.child=e}function Th(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(Ho(s,r)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(Ue=!0);else return t.lanes=e.lanes,Yt(e,t,o)}return Aa(e,t,n,r,o)}function _h(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(_r,Ke),Ke|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(_r,Ke),Ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,re(_r,Ke),Ke|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,re(_r,Ke),Ke|=r;return Me(e,t,o,n),t.child}function Rh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 13,629 bytes, line 40
40function Aa(e,t,n,r,o){var s=Ve(n)?rr:Oe.current;return s=Gr(t,s),Mr(t,o),n=Bu(e,t,n,r,s,o),r=Vu(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Yt(e,t,o)):(ae&&r&&Ru(t),t.flags|=1,Me(e,t,n,o),t.child)}function Rd(e,t,n,r,o){if(Ve(n)){var s=!0;gi(t)}else s=!1;if(Mr(t,o),t.stateNode===null)Xs(e,t),Nh(t,n,r),ja(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var a=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=lt(u):(u=Ve(n)?rr:Oe.current,u=Gr(t,u));var c=n.getDerivedStateFromProps,p=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||a!==u)&&bd(t,i,r,u),pn=!1;var h=t.memoizedState;i.state=h,Ei(t,r,i,o),a=t.memoizedState,l!==r||h!==a||Be.current||pn?(typeof c=="function"&&(Ra(t,n,c,r),a=t.memoizedState),(l=pn||Cd(t,n,l,r,h,a,u))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),i.props=r,i.state=a,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,oh(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:mt(t.type,l),i.props=u,p=t.pendingProps,h=i.context,a=n.contextType,typeof a=="object"&&a!==null?a=lt(a):(a=Ve(n)?rr:Oe.current,a=Gr(t,a));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==p||h!==a)&&bd(t,i,r,a),pn=!1,h=t.memoizedState,i.state=h,Ei(t,r,i,o);var E=t.memoizedState;l!==p||h!==E||Be.current||pn?(typeof d=="function"&&(Ra(t,n,d,r),E=t.memoizedState),(u=pn||Cd(t,n,u,r,h,E,a)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,E,a),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,E,a)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=E),i.props=r,i.state=E,i.context=a,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ma(e,t,n,r,s,o)}function Ma(e,t,n,r,o,s){Rh(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&md(t,n,!1),Yt(e,t,s);r=t.stateNode,x0.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=qr(t,e.child,null,s),t.child=qr(t,null,l,s)):Me(e,t,l,s),t.memoizedState=r.state,o&&md(t,n,!0),t.child}function jh(e){var t=e.stateNode;t.pendingContext?hd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&hd(e,t.context,!1),Fu(e,t.containerInfo)}function jd(e,t,n,r,o){return Yr(),Ou(o),t.flags|=256,Me(e,t,n,r),t.child}var Ia={dehydrated:null,treeContext:null,retryLane:0};function La(e){return{baseLanes:e,cachePool:null,transitions:null}}function Oh(e,t,n){var r=t.pendingProps,o=ue.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),re(ue,o&1),e===null)return Ta(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):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Yi(i,r,0,null),e=nr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=La(n),t.memoizedState=Ia,e):Qu(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return w0(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=An(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=An(l,s):(s=nr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?La(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Ia,r}return s=e.child,e=s.sibling,r=An(s,{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 Qu(e,t){return t=Yi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function As(e,t,n,r){return r!==null&&Ou(r),qr(t,e.child,null,n),e=Qu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function w0(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=Bl(Error(R(422))),As(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=Yi({mode:"visible",children:r.children},o,0,null),s=nr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&qr(t,e.child,null,i),t.child.memoizedState=La(i),t.memoizedState=Ia,s);if(!(t.mode&1))return As(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(R(419)),r=Bl(s,r,void 0),As(e,t,i,r)}if(l=(i&e.childLanes)!==0,Ue||l){if(r=Se,r!==null){switch(i&-i){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|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,Gt(e,o),St(r,e,o,-1))}return Zu(),r=Bl(Error(R(421))),As(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=A0.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Ye=_n(o.nextSibling),qe=t,ae=!0,wt=null,e!==null&&(rt[ot++]=Vt,rt[ot++]=Wt,rt[ot++]=or,Vt=e.id,Wt=e.overflow,or=t),t=Qu(t,r.children),t.flags|=4096,t)}function Od(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),_a(e.return,t,n)}function Vl(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function Ah(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(Me(e,t,r.children,n),r=ue.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&&Od(e,n,t);else if(e.tag===19)Od(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(re(ue,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&&Si(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vl(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Si(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vl(t,!0,n,null,s);break;case"together":Vl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Yt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ir|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=An(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=An(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function E0(e,t,n){switch(t.tag){case 3:jh(t),Yr();break;case 5:sh(t);break;case 1:Ve(t.type)&&gi(t);break;case 4:Fu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(xi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ue,ue.current&1),t.flags|=128,null):n&t.child.childLanes?Oh(e,t,n):(re(ue,ue.current&1),e=Yt(e,t,n),e!==null?e.sibling:null);re(ue,ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ah(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ue,ue.current),r)break;return null;case 22:case 23:return t.lanes=0,_h(e,t,n)}return Yt(e,t,n)}var Mh,Da,Ih,Lh;Mh=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}};Da=function(){};Ih=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Gn(Mt.current);var s=null;switch(n){case"input":o=sa(e,o),r=sa(e,r),s=[];break;case"select":o=de({},o,{value:void 0}),r=de({},r,{value:void 0}),s=[];break;case"textarea":o=aa(e,o),r=aa(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=hi)}ca(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Fo.hasOwnProperty(u)?s||(s=[]):(s=s||[]).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(i in l)!l.hasOwnProperty(i)||a&&a.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in a)a.hasOwnProperty(i)&&l[i]!==a[i]&&(n||(n={}),n[i]=a[i])}else n||(s||(s=[]),s.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(s=s||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(s=s||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Fo.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&se("scroll",e),s||l===a||(s=[])):(s=s||[]).push(u,a))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Lh=function(e,t,n,r){n!==r&&(t.flags|=4)};function yo(e,t){if(!ae)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 _e(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 S0(e,t,n){var r=t.pendingProps;switch(ju(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return Ve(t.type)&&mi(),_e(t),null;case 3:return r=t.stateNode,Xr(),ie(Be),ie(Oe),$u(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(js(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,wt!==null&&(Ha(wt),wt=null))),Da(e,t),_e(t),null;case 5:zu(t);var o=Gn(qo.current);if(n=t.type,e!==null&&t.stateNode!=null)Ih(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return _e(t),null}if(e=Gn(Mt.current),js(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[jt]=t,r[Go]=s,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(o=0;o<No.length;o++)se(No[o],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":Uc(r,s),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},se("invalid",r);break;case"textarea":Vc(r,s),se("invalid",r)}ca(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&Rs(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&Rs(r.textContent,l,e),o=["children",""+l]):Fo.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&se("scroll",r)}switch(n){case"input":Ss(r),Bc(r,s,!0);break;case"textarea":Ss(r),Wc(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=hi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[jt]=t,e[Go]=r,Mh(e,t,!1,!1),t.stateNode=e;e:{switch(i=da(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;o<No.length;o++)se(No[o],e);o=r;break;case"source":se("error",e),o=r;break;case"img":case"image":case"link":se("error",e),se("load",e),o=r;break;case"details":se("toggle",e),o=r;break;case"input":Uc(e,r),o=sa(e,r),se("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=de({},r,{value:void 0}),se("invalid",e);break;case"textarea":Vc(e,r),o=aa(e,r),se("invalid",e);break;default:o=r}ca(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="style"?pp(e,a):s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&dp(e,a)):s==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&zo(e,a):typeof a=="number"&&zo(e,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Fo.hasOwnProperty(s)?a!=null&&s==="onScroll"&&se("scroll",e):a!=null&&gu(e,s,a,i))}switch(n){case"input":Ss(e),Bc(e,r,!1);break;case"textarea":Ss(e),Wc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Mn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Rr(e,!!r.multiple,s,!1):r.defaultValue!=null&&Rr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=hi)}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 _e(t),null;case 6:if(e&&t.stateNode!=null)Lh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=Gn(qo.current),Gn(Mt.current),js(t)){if(r=t.stateNode,n=t.memoizedProps,r[jt]=t,(s=r.nodeValue!==n)&&(e=qe,e!==null))switch(e.tag){case 3:Rs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Rs(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[jt]=t,t.stateNode=r}return _e(t),null;case 13:if(ie(ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ae&&Ye!==null&&t.mode&1&&!(t.flags&128))eh(),Yr(),t.flags|=98560,s=!1;else if(s=js(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(R(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(R(317));s[jt]=t}else Yr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),s=!1}else wt!==null&&(Ha(wt),wt=null),s=!0;if(!s)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||ue.current&1?we===0&&(we=3):Zu())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return Xr(),Da(e,t),e===null&&Qo(t.stateNode.containerInfo),_e(t),null;case 10:return Iu(t.type._context),_e(t),null;case 17:return Ve(t.type)&&mi(),_e(t),null;case 19:if(ie(ue),s=t.memoizedState,s===null)return _e(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)yo(s,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Si(e),i!==null){for(t.flags|=128,yo(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(ue,ue.current&1|2),t.child}e=e.sibling}s.tail!==null&&ge()>Jr&&(t.flags|=128,r=!0,yo(s,!1),t.lanes=4194304)}else{if(!r)if(e=Si(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yo(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!ae)return _e(t),null}else 2*ge()-s.renderingStartTime>Jr&&n!==1073741824&&(t.flags|=128,r=!0,yo(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ge(),t.sibling=null,n=ue.current,re(ue,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Xu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ke&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function C0(e,t){switch(ju(t),t.tag){case 1:return Ve(t.type)&&mi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 25,911 bytes, line 40
40case 3:return Xr(),ie(Be),ie(Oe),$u(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zu(t),null;case 13:if(ie(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Yr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ue),null;case 4:return Xr(),null;case 10:return Iu(t.type._context),null;case 22:case 23:return Xu(),null;case 24:return null;default:return null}}var Ms=!1,je=!1,b0=typeof WeakSet=="function"?WeakSet:Set,D=null;function Tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function Fa(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Ad=!1;function N0(e,t){if(Ea=di,e=Up(),_u(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,a=-1,u=0,c=0,p=e,h=null;t:for(;;){for(var d;p!==n||o!==0&&p.nodeType!==3||(l=i+o),p!==s||r!==0&&p.nodeType!==3||(a=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(d=p.firstChild)!==null;)h=p,p=d;for(;;){if(p===e)break t;if(h===n&&++u===o&&(l=i),h===s&&++c===r&&(a=i),(d=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=d}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Sa={focusedElem:e,selectionRange:n},di=!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 E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var y=E.memoizedProps,w=E.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:mt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(S){pe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return E=Ad,Ad=!1,E}function Mo(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 s=o.destroy;o.destroy=void 0,s!==void 0&&Fa(t,n,s)}o=o.next}while(o!==r)}}function Ki(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 za(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 Dh(e){var t=e.alternate;t!==null&&(e.alternate=null,Dh(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[Na],delete t[l0],delete t[a0])),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 Fh(e){return e.tag===5||e.tag===3||e.tag===4}function Md(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fh(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 $a(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=hi));else if(r!==4&&(e=e.child,e!==null))for($a(e,t,n),e=e.sibling;e!==null;)$a(e,t,n),e=e.sibling}function Ua(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(Ua(e,t,n),e=e.sibling;e!==null;)Ua(e,t,n),e=e.sibling}var Ce=null,xt=!1;function an(e,t,n){for(n=n.child;n!==null;)zh(e,t,n),n=n.sibling}function zh(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(zi,n)}catch{}switch(n.tag){case 5:je||Tr(n,t);case 6:var r=Ce,o=xt;Ce=null,an(e,t,n),Ce=r,xt=o,Ce!==null&&(xt?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(xt?(e=Ce,n=n.stateNode,e.nodeType===8?Ll(e.parentNode,n):e.nodeType===1&&Ll(e,n),Vo(e)):Ll(Ce,n.stateNode));break;case 4:r=Ce,o=xt,Ce=n.stateNode.containerInfo,xt=!0,an(e,t,n),Ce=r,xt=o;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&Fa(n,t,i),o=o.next}while(o!==r)}an(e,t,n);break;case 1:if(!je&&(Tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){pe(n,t,l)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,an(e,t,n),je=r):an(e,t,n);break;default:an(e,t,n)}}function Id(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new b0),t.forEach(function(r){var o=M0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=e,i=t,l=i;e:for(;l!==null;){switch(l.tag){case 5:Ce=l.stateNode,xt=!1;break e;case 3:Ce=l.stateNode.containerInfo,xt=!0;break e;case 4:Ce=l.stateNode.containerInfo,xt=!0;break e}l=l.return}if(Ce===null)throw Error(R(160));zh(s,i,o),Ce=null,xt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){pe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$h(t,e),t=t.sibling}function $h(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pt(t,e),kt(e),r&4){try{Mo(3,e,e.return),Ki(3,e)}catch(y){pe(e,e.return,y)}try{Mo(5,e,e.return)}catch(y){pe(e,e.return,y)}}break;case 1:pt(t,e),kt(e),r&512&&n!==null&&Tr(n,n.return);break;case 5:if(pt(t,e),kt(e),r&512&&n!==null&&Tr(n,n.return),e.flags&32){var o=e.stateNode;try{zo(o,"")}catch(y){pe(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=n!==null?n.memoizedProps:s,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&ap(o,s),da(l,i);var u=da(l,s);for(i=0;i<a.length;i+=2){var c=a[i],p=a[i+1];c==="style"?pp(o,p):c==="dangerouslySetInnerHTML"?dp(o,p):c==="children"?zo(o,p):gu(o,c,p,u)}switch(l){case"input":ia(o,s);break;case"textarea":up(o,s);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var d=s.value;d!=null?Rr(o,!!s.multiple,d,!1):h!==!!s.multiple&&(s.defaultValue!=null?Rr(o,!!s.multiple,s.defaultValue,!0):Rr(o,!!s.multiple,s.multiple?[]:"",!1))}o[Go]=s}catch(y){pe(e,e.return,y)}}break;case 6:if(pt(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(R(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(y){pe(e,e.return,y)}}break;case 3:if(pt(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vo(t.containerInfo)}catch(y){pe(e,e.return,y)}break;case 4:pt(t,e),kt(e);break;case 13:pt(t,e),kt(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(Yu=ge())),r&4&&Id(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(je=(u=je)||c,pt(t,e),je=u):pt(t,e),kt(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(p=D=c;D!==null;){switch(h=D,d=h.child,h.tag){case 0:case 11:case 14:case 15:Mo(4,h,h.return);break;case 1:Tr(h,h.return);var E=h.stateNode;if(typeof E.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,E.props=t.memoizedProps,E.state=t.memoizedState,E.componentWillUnmount()}catch(y){pe(r,n,y)}}break;case 5:Tr(h,h.return);break;case 22:if(h.memoizedState!==null){Dd(p);continue}}d!==null?(d.return=h,D=d):Dd(p)}c=c.sibling}e:for(c=null,p=e;;){if(p.tag===5){if(c===null){c=p;try{o=p.stateNode,u?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=p.stateNode,a=p.memoizedProps.style,i=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=fp("display",i))}catch(y){pe(e,e.return,y)}}}else if(p.tag===6){if(c===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(y){pe(e,e.return,y)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;c===p&&(c=null),p=p.return}c===p&&(c=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:pt(t,e),kt(e),r&4&&Id(e);break;case 21:break;default:pt(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Fh(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(zo(o,""),r.flags&=-33);var s=Md(e);Ua(e,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=Md(e);$a(e,l,i);break;default:throw Error(R(161))}}catch(a){pe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function k0(e,t,n){D=e,Uh(e)}function Uh(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Ms;if(!i){var l=o.alternate,a=l!==null&&l.memoizedState!==null||je;l=Ms;var u=je;if(Ms=i,(je=a)&&!u)for(D=o;D!==null;)i=D,a=i.child,i.tag===22&&i.memoizedState!==null?Fd(o):a!==null?(a.return=i,D=a):Fd(o);for(;s!==null;)D=s,Uh(s),s=s.sibling;D=o,Ms=l,je=u}Ld(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,D=s):Ld(e)}}function Ld(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:je||Ki(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)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 s=t.updateQueue;s!==null&&wd(t,s,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}wd(t,i,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 p=c.dehydrated;p!==null&&Vo(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}je||t.flags&512&&za(t)}catch(h){pe(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 Dd(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 Fd(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ki(4,t)}catch(a){pe(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){pe(t,o,a)}}var s=t.return;try{za(t)}catch(a){pe(t,s,a)}break;case 5:var i=t.return;try{za(t)}catch(a){pe(t,i,a)}}}catch(a){pe(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 P0=Math.ceil,Ni=en.ReactCurrentDispatcher,Ku=en.ReactCurrentOwner,it=en.ReactCurrentBatchConfig,X=0,Se=null,ye=null,be=0,Ke=0,_r=zn(0),we=0,es=null,ir=0,Gi=0,Gu=0,Io=null,$e=null,Yu=0,Jr=1/0,$t=null,ki=!1,Ba=null,jn=null,Is=!1,Sn=null,Pi=0,Lo=0,Va=null,Zs=-1,Js=0;function Le(){return X&6?ge():Zs!==-1?Zs:Zs=ge()}function On(e){return e.mode&1?X&2&&be!==0?be&-be:c0.transition!==null?(Js===0&&(Js=Np()),Js):(e=ee,e!==0||(e=window.event,e=e===void 0?16:Op(e.type)),e):1}function St(e,t,n,r){if(50<Lo)throw Lo=0,Va=null,Error(R(185));as(e,n,r),(!(X&2)||e!==Se)&&(e===Se&&(!(X&2)&&(Gi|=n),we===4&&mn(e,be)),We(e,r),n===1&&X===0&&!(t.mode&1)&&(Jr=ge()+500,Wi&&$n()))}function We(e,t){var n=e.callbackNode;cy(e,t);var r=ci(e,e===Se?be:0);if(r===0)n!==null&&Kc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Kc(n),t===1)e.tag===0?u0(zd.bind(null,e)):Xp(zd.bind(null,e)),s0(function(){!(X&6)&&$n()}),n=null;else{switch(kp(r)){case 1:n=Eu;break;case 4:n=Cp;break;case 16:n=ui;break;case 536870912:n=bp;break;default:n=ui}n=Yh(n,Bh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Bh(e,t){if(Zs=-1,Js=0,X&6)throw Error(R(327));var n=e.callbackNode;if(Ir()&&e.callbackNode!==n)return null;var r=ci(e,e===Se?be:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ti(e,r);else{t=r;var o=X;X|=2;var s=Wh();(Se!==e||be!==t)&&($t=null,Jr=ge()+500,tr(e,t));do try{R0();break}catch(l){Vh(e,l)}while(!0);Mu(),Ni.current=s,X=o,ye!==null?t=0:(Se=null,be=0,t=we)}if(t!==0){if(t===2&&(o=ga(e),o!==0&&(r=o,t=Wa(e,o))),t===1)throw n=es,tr(e,0),mn(e,r),We(e,ge()),n;if(t===6)mn(e,r);else{if(o=e.current.alternate,!(r&30)&&!T0(o)&&(t=Ti(e,r),t===2&&(s=ga(e),s!==0&&(r=s,t=Wa(e,s))),t===1))throw n=es,tr(e,0),mn(e,r),We(e,ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:Hn(e,$e,$t);break;case 3:if(mn(e,r),(r&130023424)===r&&(t=Yu+500-ge(),10<t)){if(ci(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Le(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ba(Hn.bind(null,e,$e,$t),t);break}Hn(e,$e,$t);break;case 4:if(mn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Et(r);s=1<<i,i=t[i],i>o&&(o=i),r&=~s}if(r=o,r=ge()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*P0(r/1960))-r,10<r){e.timeoutHandle=ba(Hn.bind(null,e,$e,$t),r);break}Hn(e,$e,$t);break;case 5:Hn(e,$e,$t);break;default:throw Error(R(329))}}}return We(e,ge()),e.callbackNode===n?Bh.bind(null,e):null}function Wa(e,t){var n=Io;return e.current.memoizedState.isDehydrated&&(tr(e,t).flags|=256),e=Ti(e,t),e!==2&&(t=$e,$e=n,t!==null&&Ha(t)),e}function Ha(e){$e===null?$e=e:$e.push.apply($e,e)}function T0(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],s=o.getSnapshot;o=o.value;try{if(!Ct(s(),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&=~Gu,t&=~Gi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Et(t),r=1<<n;e[n]=-1,t&=~r}}function zd(e){if(X&6)throw Error(R(327));Ir();var t=ci(e,0);if(!(t&1))return We(e,ge()),null;var n=Ti(e,t);if(e.tag!==0&&n===2){var r=ga(e);r!==0&&(t=r,n=Wa(e,r))}if(n===1)throw n=es,tr(e,0),mn(e,t),We(e,ge()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Hn(e,$e,$t),We(e,ge()),null}function qu(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(Jr=ge()+500,Wi&&$n())}}function lr(e){Sn!==null&&Sn.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 Xu(){Ke=_r.current,ie(_r)}function tr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,o0(n)),ye!==null)for(n=ye.return;n!==null;){var r=n;switch(ju(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&mi();break;case 3:Xr(),ie(Be),ie(Oe),$u();break;case 5:zu(r);break;case 4:Xr();break;case 13:ie(ue);break;case 19:ie(ue);break;case 10:Iu(r.type._context);break;case 22:case 23:Xu()}n=n.return}if(Se=e,ye=e=An(e.current,null),be=Ke=t,we=0,es=null,Gu=Gi=ir=0,$e=Io=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,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}Kn=null}return e}function Vh(e,t){do{var n=ye;try{if(Mu(),Ys.current=bi,Ci){for(var r=ce.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ci=!1}if(sr=0,Ee=xe=ce=null,Ao=!1,Xo=0,Ku.current=null,n===null||n.return===null){we=1,es=t,ye=null;break}e:{var s=e,i=n.return,l=n,a=t;if(t=be,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,p=c.tag;if(!(c.mode&1)&&(p===0||p===11||p===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=kd(i);if(d!==null){d.flags&=-257,Pd(d,i,l,s,t),d.mode&1&&Nd(s,u,t),t=d,a=u;var E=t.updateQueue;if(E===null){var y=new Set;y.add(a),t.updateQueue=y}else E.add(a);break e}else{if(!(t&1)){Nd(s,u,t),Zu();break e}a=Error(R(426))}}else if(ae&&l.mode&1){var w=kd(i);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Pd(w,i,l,s,t),Ou(Zr(a,l));break e}}s=a=Zr(a,l),we!==4&&(we=2),Io===null?Io=[s]:Io.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=kh(s,a,t);xd(s,g);break e;case 1:l=a;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(jn===null||!jn.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Ph(s,l,t);xd(s,S);break e}}s=s.return}while(s!==null)}Qh(n)}catch(C){t=C,ye===n&&n!==null&&(ye=n=n.return);continue}break}while(!0)}function Wh(){var e=Ni.current;return Ni.current=bi,e===null?bi:e}function Zu(){(we===0||we===3||we===2)&&(we=4),Se===null||!(ir&268435455)&&!(Gi&268435455)||mn(Se,be)}function Ti(e,t){var n=X;X|=2;var r=Wh();(Se!==e||be!==t)&&($t=null,tr(e,t));do try{_0();break}catch(o){Vh(e,o)}while(!0);if(Mu(),X=n,Ni.current=r,ye!==null)throw Error(R(261));return Se=null,be=0,we}function _0(){for(;ye!==null;)Hh(ye)}function R0(){for(;ye!==null&&!ty();)Hh(ye)}function Hh(e){var t=Gh(e.alternate,e,Ke);e.memoizedProps=e.pendingProps,t===null?Qh(e):ye=t,Ku.current=null}function Qh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=C0(n,t),n!==null){n.flags&=32767,ye=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,ye=null;return}}else if(n=S0(n,t,Ke),n!==null){ye=n;return}if(t=t.sibling,t!==null){ye=t;return}ye=t=e}while(t!==null);we===0&&(we=5)}function Hn(e,t,n){var r=ee,o=it.transition;try{it.transition=null,ee=1,j0(e,t,n,r)}finally{it.transition=o,ee=r}return null}function j0(e,t,n,r){do Ir();while(Sn!==null);if(X&6)throw Error(R(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(R(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(dy(e,s),e===Se&&(ye=Se=null,be=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Is||(Is=!0,Yh(ui,function(){return Ir(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=it.transition,it.transition=null;var i=ee;ee=1;var l=X;X|=4,Ku.current=null,N0(e,n),$h(n,e),Xy(Sa),di=!!Ea,Sa=Ea=null,e.current=n,k0(n),ny(),X=l,ee=i,it.transition=s}else e.current=n;if(Is&&(Is=!1,Sn=e,Pi=o),s=e.pendingLanes,s===0&&(jn=null),sy(n.stateNode),We(e,ge()),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(ki)throw ki=!1,e=Ba,Ba=null,e;return Pi&1&&e.tag!==0&&Ir(),s=e.pendingLanes,s&1?e===Va?Lo++:(Lo=0,Va=e):Lo=0,$n(),null}function Ir(){if(Sn!==null){var e=kp(Pi),t=it.transition,n=ee;try{if(it.transition=null,ee=16>e?16:e,Sn===null)var r=!1;else{if(e=Sn,Sn=null,Pi=0,X&6)throw Error(R(331));var o=X;for(X|=4,D=e.current;D!==null;){var s=D,i=s.child;if(D.flags&16){var l=s.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:Mo(8,c,s)}var p=c.child;if(p!==null)p.return=c,D=p;else for(;D!==null;){c=D;var h=c.sibling,d=c.return;if(Dh(c),c===u){D=null;break}if(h!==null){h.return=d,D=h;break}D=d}}}var E=s.alternate;if(E!==null){var y=E.child;if(y!==null){E.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}D=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,D=i;else e:for(;D!==null;){if(s=D,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Mo(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,D=g;break e}D=s.return}}var m=e.current;for(D=m;D!==null;){i=D;var v=i.child;if(i.subtreeFlags&2064&&v!==null)v.return=i,D=v;else e:for(i=m;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ki(9,l)}}catch(C){pe(l,l.return,C)}if(l===i){D=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,D=S;break e}D=l.return}}if(X=o,$n(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(zi,e)}catch{}r=!0}return r}finally{ee=n,it.transition=t}}return!1}function $d(e,t,n){t=Zr(n,t),t=kh(e,t,1),e=Rn(e,t,1),t=Le(),e!==null&&(as(e,1,t),We(e,t))}function pe(e,t,n){if(e.tag===3)$d(e,e,n);else for(;t!==null;){if(t.tag===3){$d(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(jn===null||!jn.has(r))){e=Zr(n,e),e=Ph(t,e,1),t=Rn(t,e,1),e=Le(),t!==null&&(as(t,1,e),We(t,e));break}}t=t.return}}function O0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Le(),e.pingedLanes|=e.suspendedLanes&n,Se===e&&(be&n)===n&&(we===4||we===3&&(be&130023424)===be&&500>ge()-Yu?tr(e,0):Gu|=n),We(e,t)}function Kh(e,t){t===0&&(e.mode&1?(t=Ns,Ns<<=1,!(Ns&130023424)&&(Ns=4194304)):t=1);var n=Le();e=Gt(e,t),e!==null&&(as(e,t,n),We(e,n))}function A0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kh(e,n)}function M0(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(R(314))}r!==null&&r.delete(t),Kh(e,n)}var Gh;Gh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Be.current)Ue=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ue=!1,E0(e,t,n);Ue=!!(e.flags&131072)}else Ue=!1,ae&&t.flags&1048576&&Zp(t,yi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Xs(e,t),e=t.pendingProps;var o=Gr(t,Oe.current);Mr(t,n),o=Bu(null,t,r,e,o,n);var s=Vu();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,Ve(r)?(s=!0,gi(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Du(t),o.updater=Qi,t.stateNode=o,o._reactInternals=t,ja(t,r,e,n),t=Ma(null,t,r,!0,s,n)):(t.tag=0,ae&&s&&Ru(t),Me(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Xs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=L0(r),e=mt(r,e),o){case 0:t=Aa(null,t,r,e,n);break e;case 1:t=Rd(null,t,r,e,n);break e;case 11:t=Td(null,t,r,e,n);break e;case 14:t=_d(null,t,r,mt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Aa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Rd(e,t,r,o,n);case 3:e:{if(jh(t),e===null)throw Error(R(387));r=t.pendingProps,s=t.memoizedState,o=s.element,oh(e,t),Ei(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=Zr(Error(R(423)),t),t=jd(e,t,r,n,o);break e}else if(r!==o){o=Zr(Error(R(424)),t),t=jd(e,t,r,n,o);break e}else for(Ye=_n(t.stateNode.containerInfo.firstChild),qe=t,ae=!0,wt=null,n=nh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yr(),r===o){t=Yt(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return sh(t),e===null&&Ta(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Ca(r,o)?i=null:s!==null&&Ca(r,s)&&(t.flags|=32),Rh(e,t),Me(e,t,i,n),t.child;case 6:return e===null&&Ta(t),null;case 13:return Oh(e,t,n);case 4:return Fu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=qr(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Td(e,t,r,o,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,re(xi,r._currentValue),r._currentValue=i,s!==null)if(Ct(s.value,i)){if(s.children===o.children&&!Be.current){t=Yt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=Ht(-1,n&-n),a.tag=2;var u=s.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}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),_a(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(R(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),_a(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}Me(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Mr(t,n),o=lt(o),r=r(o),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),_d(e,t,r,o,n);case 15:return Th(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Xs(e,t),t.tag=1,Ve(r)?(e=!0,gi(t)):e=!1,Mr(t,n),Nh(t,r,o),ja(t,r,o,n),Ma(null,t,r,!0,e,n);case 19:return Ah(e,t,n);case 22:return _h(e,t,n)}throw Error(R(156,t.tag))};function Yh(e,t){return Sp(e,t)}function I0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,289 bytes, line 40
40ype=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 st(e,t,n,r){return new I0(e,t,n,r)}function Ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L0(e){if(typeof e=="function")return Ju(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yu)return 11;if(e===xu)return 14}return 2}function An(e,t){var n=e.alternate;return n===null?(n=st(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 ei(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")Ju(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case xr:return nr(n.children,o,s,t);case vu:i=8,o|=8;break;case ta:return e=st(12,n,t,o|2),e.elementType=ta,e.lanes=s,e;case na:return e=st(13,n,t,o),e.elementType=na,e.lanes=s,e;case ra:return e=st(19,n,t,o),e.elementType=ra,e.lanes=s,e;case sp:return Yi(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rp:i=10;break e;case op:i=9;break e;case yu:i=11;break e;case xu:i=14;break e;case fn:i=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=st(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function nr(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Yi(e,t,n,r){return e=st(22,e,r,t),e.elementType=sp,e.lanes=n,e.stateNode={isHidden:!1},e}function Wl(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Hl(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function D0(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=Nl(0),this.expirationTimes=Nl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ec(e,t,n,r,o,s,i,l,a){return e=new D0(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=st(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Du(s),e}function F0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:yr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function qh(e){if(!e)return In;e=e._reactInternals;e:{if(cr(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ve(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Ve(n))return qp(e,n,t)}return t}function Xh(e,t,n,r,o,s,i,l,a){return e=ec(n,r,!0,e,o,s,i,l,a),e.context=qh(null),n=e.current,r=Le(),o=On(n),s=Ht(r,o),s.callback=t??null,Rn(n,s,o),e.current.lanes=o,as(e,o,r),We(e,r),e}function qi(e,t,n,r){var o=t.current,s=Le(),i=On(o);return n=qh(n),t.context===null?t.context=n:t.pendingContext=n,t=Ht(s,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Rn(o,t,i),e!==null&&(St(e,o,i,s),Gs(e,o,i)),i}function _i(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 Ud(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function tc(e,t){Ud(e,t),(e=e.alternate)&&Ud(e,t)}function z0(){return null}var Zh=typeof reportError=="function"?reportError:function(e){console.error(e)};function nc(e){this._internalRoot=e}Xi.prototype.render=nc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));qi(e,t,null,null)};Xi.prototype.unmount=nc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;lr(function(){qi(null,e,null,null)}),t[Kt]=null}};function Xi(e){this._internalRoot=e}Xi.prototype.unstable_scheduleHydration=function(e){if(e){var t=_p();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&&jp(e)}};function rc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bd(){}function $0(e,t,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var u=_i(i);s.call(u)}}var i=Xh(t,r,e,0,null,!1,!1,"",Bd);return e._reactRootContainer=i,e[Kt]=i.current,Qo(e.nodeType===8?e.parentNode:e),lr(),i}for(;
vendor: 4,705 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=_i(a);l.call(u)}}var a=ec(e,0,!1,null,null,!1,!1,"",Bd);return e._reactRootContainer=a,e[Kt]=a.current,Qo(e.nodeType===8?e.parentNode:e),lr(function(){qi(t,a,n,r)}),a}function Ji(e,t,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var l=o;o=function(){var a=_i(i);l.call(a)}}qi(t,i,e,o)}else i=$0(n,t,e,o,r);return _i(i)}Pp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bo(t.pendingLanes);n!==0&&(Su(t,n|1),We(t,ge()),!(X&6)&&(Jr=ge()+500,$n()))}break;case 13:lr(function(){var r=Gt(e,1);if(r!==null){var o=Le();St(r,e,1,o)}}),tc(e,1)}};Cu=function(e){if(e.tag===13){var t=Gt(e,134217728);if(t!==null){var n=Le();St(t,e,134217728,n)}tc(e,134217728)}};Tp=function(e){if(e.tag===13){var t=On(e),n=Gt(e,t);if(n!==null){var r=Le();St(n,e,t,r)}tc(e,t)}};_p=function(){return ee};Rp=function(e,t){var n=ee;try{return ee=e,t()}finally{ee=n}};pa=function(e,t,n){switch(t){case"input":if(ia(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=Vi(r);if(!o)throw Error(R(90));lp(r),ia(r,o)}}}break;case"textarea":up(e,n);break;case"select":t=n.value,t!=null&&Rr(e,!!n.multiple,t,!1)}};gp=qu;vp=lr;var U0={usingClientEntryPoint:!1,Events:[cs,Cr,Vi,hp,mp,qu]},xo={findFiberByHostInstance:Qn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},B0={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=wp(e),e===null?null:e.stateNode},findFiberByHostInstance:xo.findFiberByHostInstance||z0,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 Ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ls.isDisabled&&Ls.supportsFiber)try{zi=Ls.inject(B0),At=Ls}catch{}}Je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U0;Je.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!rc(t))throw Error(R(200));return F0(e,t,null,n)};Je.createRoot=function(e,t){if(!rc(e))throw Error(R(299));var n=!1,r="",o=Zh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=ec(e,1,!1,null,null,n,!1,r,o),e[Kt]=t.current,Qo(e.nodeType===8?e.parentNode:e),new nc(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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=wp(t),e=e===null?null:e.stateNode,e};Je.flushSync=function(e){return lr(e)};Je.hydrate=function(e,t,n){if(!Zi(t))throw Error(R(200));return Ji(null,e,t,!0,n)};Je.hydrateRoot=function(e,t,n){if(!rc(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Zh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Xh(t,null,e,1,n??null,o,!1,s,i),e[Kt]=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 Xi(t)};Je.render=function(e,t,n){if(!Zi(t))throw Error(R(200));return Ji(null,e,t,!1,n)};Je.unmountComponentAtNode=function(e){if(!Zi(e))throw Error(R(40));return e._reactRootContainer?(lr(function(){Ji(null,null,e,!1,function(){e._reactRootContainer=null,e[Kt]=null})}),!0):!1};Je.unstable_batchedUpdates=qu;Je.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zi(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Ji(e,t,n,!1,r)};Je.version="18.3.1-next-f1338f8080-20240426";function Jh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jh)}catch(e){console.error(e)}}Jh(),Jf.exports=Je;var fs=Jf.exports;const em=Uf(fs);var tm,Vd=fs;tm=Vd.createRoot,Vd.hydrateRoot;const V0=1,W0=1e6;
40let Ql=0;function H0(){return Ql=(Ql+1)%Number.MAX_SAFE_INTEGER,Ql.toString()}const Kl=new Map,Wd=e=>{if(Kl.has(e))return;const t=setTimeout(()=>{Kl.delete(e),Do({type:"REMOVE_TOAST",toastId:e})},W0);Kl.set(e,t)},Q0=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,V0)};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;return n?Wd(n):e.toasts.forEach(r=>{Wd(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)}}},ti=[];let ni={toasts:[]};function Do(e){ni=Q0(ni,e),ti.forEach(t=>{t(ni)})}function K0({...e}){const t=H0(),n=o=>Do({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Do({type:"DISMISS_TOAST",toastId:t});return Do({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function G0(){const[e,t]=x.useState(ni);return x.useEffect(()=>(ti.push(t),()=>{const n=ti.indexOf(t);n>-1&&ti.splice(n,1)}),[e]),{...e,toast:K0,dismiss:n=>Do({type:"DISMISS_TOAST",toastId:n})}}function ne(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 Hd(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function nm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=Hd(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():Hd(e[o],null)}}}}function ut(...e){return x.useCallback(nm(...e),e)}function so(e,t=[]){let n=[];function r(s,i){const l=x.createContext(i),a=n.length;n=[...n,i];const u=p=>{var g;const{scope:h,children:d,...E}=p,y=((g=h==null?void 0:h[e])==null?void 0:g[a])||l,w=x.useMemo(()=>E,Object.values(E));return f.jsx(y.Provider,{value:w,children:d})};u.displayName=s+"Provider";function c(p,h){var y;const d=((y=h==null?void 0:h[e])==null?void 0:y[a])||l,E=x.useContext(d);if(E)return E;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[u,c]}const o=()=>{const s=n.map(i=>x.createContext(i));return function(l){const a=(l==null?void 0:l[e])||s;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Y0(o,...t)]}function Y0(...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(s){const i=r.reduce((l,{useScope:a,scopeName:u})=>{const p=a(s)[`__scope${u}`];return{...l,...p}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Ri(e){const t=X0(e),n=x.forwardRef((r,o)=>{const{children:s,...i}=r,l=x.Children.toArray(s),a=l.find(J0);if(a){const u=a.props.children,c=l.map(p=>p===a?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:p);return f.jsx(t,{...i,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,c):null})}return f.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var q0=Ri("Slot");function X0(e){const t=x.forwardRef((n,r)=>{const{children:o,...s}=n;if(x.isValidElement(o)){const i=tx(o),l=ex(s,o.props);return o.type!==x.Fragment&&(l.ref=r?nm(r,i):i),x.cloneElement(o,l)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var rm=Symbol("radix.slottable");function Z0(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=rm,t}function J0(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===rm}function ex(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const a=s(...l);return o(...l),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function tx(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 om(e){const t=e+"CollectionProvider",[n,r]=so(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=y=>{const{scope:w,children:g}=y,m=j.useRef(null),v=j.useRef(new Map).current;return f.jsx(o,{scope:w,itemMap:v,collectionRef:m,children:g})};i.displayName=t;const l=e+"CollectionSlot",a=Ri(l),u=j.forwardRef((y,w)=>{const{scope:g,children:m}=y,v=s(l,g),S=ut(w,v.collectionRef);return f.jsx(a,{ref:S,children:m})});u.displayName=l;const c=e+"CollectionItemSlot",p="data-radix-collection-item",h=Ri(c),d=j.forwardRef((y,w)=>{const{scope:g,children:m,...v}=y,S=j.useRef(null),C=ut(w,S),b=s(c,g);return j.useEffect(()=>(b.itemMap.set(S,{ref:S,...v}),()=>void b.itemMap.delete(S))),f.jsx(h,{[p]:"",ref:C,children:m})});d.displayName=c;function E(y){const w=s(e+"CollectionConsumer",y);return j.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${p}]`));return Array.from(w.itemMap.values()).sort((b,N)=>v.indexOf(b.ref.current)-v.indexOf(N.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:i,Slot:u,ItemSlot:d},E,r]}var nx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],he=nx.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=Ri(`Primitive.${t}`),r=x.forwardRef((o,s)=>{const{asChild:i,...l}=o,a=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(a,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function sm(e,t){e&&fs.flushSync(()=>e.dispatchEvent(t))}function qt(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 rx(e,t=globalThis==null?void 0:globalThis.document){const n=qt(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 ox="DismissableLayer",Qa="dismissableLayer.update",sx="dismissableLayer.pointerDownOutside",ix="dismissableLayer.focusOutside",Qd,im=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),oc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:l,...a}=e,u=x.useContext(im),[c,p]=x.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=x.useState({}),E=ut(t,N=>p(N)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),m=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,C=ax(N=>{const T=N.target,A=[...u.branches].some(O=>O.contains(T));!S||A||(o==null||o(N),i==null||i(N),N.defaultPrevented||l==null||l())},h),b=ux(N=>{const T=N.target;[...u.branches].some(O=>O.contains(T))||(s==null||s(N),i==null||i(N),N.defaultPrevented||l==null||l())},h);return rx(N=>{m===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&l&&(N.preventDefault(),l()))},h),x.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Qd=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Kd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Qd)}},[c,h,n,u]),x.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Kd())},[c,u]),x.useEffect(()=>{const N=()=>d({});return document.addEventListener(Qa,N),()=>document.removeEventListener(Qa,N)},[]),f.jsx(he.div,{...a,ref:E,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:ne(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ne(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ne(e.onPointerDownCapture,C.onPointerDownCapture)})});oc.displayName=ox;var lx="DismissableLayerBranch",lm=x.forwardRef((e,t)=>{const n=x.useContext(im),r=x.useRef(null),o=ut(t,r);return x.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),f.jsx(he.div,{...e,ref:o})});lm.displayName=lx;function ax(e,t=globalThis==null?void 0:globalThis.document){const n=qt(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let a=function(){am(sx,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},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ux(e,t=globalThis==null?void 0:globalThis.document){const n=qt(e),r=x.useRef(!1);return x.useEffect(()=>{const o=s=>{s.target&&!r.current&&am(ix,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Kd(){const e=new CustomEvent(Qa);document.dispatchEvent(e)}function am(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?sm(o,s):o.dispatchEvent(s)}var cx=oc,dx=lm,Xt=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},fx="Portal",um=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=x.useState(!1);Xt(()=>s(!0),[]);const i=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return i?em.createPortal(f.jsx(he.div,{...r,ref:t}),i):null});um.displayName=fx;function px(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var el=e=>{const{present:t,children:n}=e,r=hx(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),s=ut(r.ref,mx(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:s}):null};el.displayName="Presence";function hx(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),s=x.useRef("none"),i=e?"mounted":"unmounted",[l,a]=px(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Ds(r.current);s.current=l==="mounted"?u:"none"},[l]),Xt(()=>{const u=r.current,c=o.current;if(c!==e){const h=s.current,d=Ds(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]),Xt(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,p=d=>{const y=Ds(r.current).includes(d.animationName);if(d.target===t&&y&&(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&&(s.current=Ds(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ds(e){return(e==null?void 0:e.animationName)||"none"}function mx(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 gx=pu[" useInsertionEffect ".trim().toString()]||Xt;function sc({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=vx({defaultProp:t,onChange:n}),l=e!==void 0,a=l?e:o;{const c=x.useRef(e!==void 0);x.useEffect(()=>{const p=c.current;p!==l&&console.warn(`${r} is changing from ${p?"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 p;if(l){const h=yx(c)?c(e):c;h!==e&&((p=i.current)==null||p.call(i,h))}else s(c)},[l,e,s,i]);return[a,u]}function vx({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),s=x.useRef(t);return gx(()=>{s.current=t},[t]),x.useEffect(()=>{var i;o.current!==n&&((i=s.current)==null||i.call(s,n),o.current=n)},[n,o]),[n,r,s]}function yx(e){return typeof e=="function"}var xx=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"}),wx="VisuallyHidden",tl=x.forwardRef((e,t)=>f.jsx(he.span,{...e,ref:t,style:{...xx,...e.style}}));tl.displayName=wx;var Ex=tl,ic="ToastProvider",[lc,Sx,Cx]=om("Toast"),[cm,BC]=so("Toast",[Cx]),[bx,nl]=cm(ic),dm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[l,a]=x.useState(null),[u,c]=x.useState(0),p=x.useRef(!1),h=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ic}\`. Expected non-empty \`string\`.`),f.jsx(lc.Provider,{scope:t,children:f.jsx(bx,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:x.useCallback(()=>c(d=>d+1),[]),onToastRemove:x.useCallback(()=>c(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:h,children:i})})};dm.displayName=ic;var fm="ToastViewport",Nx=["F8"],Ka="toast.viewportPause",Ga="toast.viewportResume",pm=x.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=Nx,label:o="Notifications ({hotkey})",...s}=e,i=nl(fm,n),l=Sx(n),a=x.useRef(null),u=x.useRef(null),c=x.useRef(null),p=x.useRef(null),h=ut(t,p,i.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=i.toastCount>0;x.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=p.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=a.current,g=p.current;if(E&&w&&g){const m=()=>{if(!i.isClosePausedRef.current){const b=new CustomEvent(Ka);g.dispatchEvent(b),i.isClosePausedRef.current=!0}},v=()=>{if(i.isClosePausedRef.current){const b=new CustomEvent(Ga);g.dispatchEvent(b),i.isClosePausedRef.current=!1}},S=b=>{!w.contains(b.relatedTarget)&&v()},C=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",S),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[E,i.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:w})=>{const m=l().map(v=>{const S=v.ref.current,C=[S,...Fx(S)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?m.reverse():m).flat()},[l]);return x.useEffect(()=>{const w=p.current;if(w){const g=m=>{var C,b,N;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const T=document.activeElement,A=m.shiftKey;if(m.target===w&&A){(C=u.current)==null||C.focus();return}const L=y({tabbingDirection:A?"backwards":"forwards"}),Q=L.findIndex(M=>M===T);Gl(L.slice(Q+1))?m.preventDefault():A?(b=u.current)==null||b.focus():(N=c.current)==null||N.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[l,y]),f.jsxs(dx,{ref:a,role:"region","aria-label":o.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&f.jsx(Ya,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Gl(w)}}),f.jsx(lc.Slot,{scope:n,children:f.jsx(he.ol,{tabIndex:-1,...s,ref:h})}),E&&f.jsx(Ya,{ref:c,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Gl(w)}})]})});pm.displayName=fm;var hm="ToastFocusProxy",Ya=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=nl(hm,n);return f.jsx(tl,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{var u;const l=i.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});Ya.displayName=hm;var ps="Toast",kx="toast.swipeStart",Px="toast.swipeMove",Tx="toast.swipeCancel",_x="toast.swipeEnd",mm=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...i}=e,[l,a]=sc({prop:r,defaultProp:o??!0,onChange:s,caller:ps});return f.jsx(el,{present:n||l,children:f.jsx(Ox,{open:l,...i,ref:t,onClose:()=>a(!1),onPause:qt(e.onPause),onResume:qt(e.onResume),onSwipeStart:ne(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ne(e.onSwipeMove,u=>{const{x:c,y:p}=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",`${p}px`)}),onSwipeCancel:ne(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:ne(e.onSwipeEnd,u=>{const{x:c,y:p}=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",`${p}px`),a(!1)})})})});mm.displayName=ps;var[Rx,jx]=cm(ps,{onClose(){}}),Ox=x.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:c,onSwipeMove:p,onSwipeCancel:h,onSwipeEnd:d,...E}=e,y=nl(ps,n),[w,g]=x.useState(null),m=ut(t,M=>g(M)),v=x.useRef(null),S=x.useRef(null),C=o||y.duration,b=x.useRef(0),N=x.useRef(C),T=x.useRef(0),{onToastAdd:A,onToastRemove:O}=y,$=qt(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=y.viewport)==null||K.focus()),i()}),L=x.useCallback(M=>{!M||M===1/0||(window.clearTimeout(T.current),b.current=new Date().getTime(),T.current=window.setTimeout($,M))},[$]);x.useEffect(()=>{const M=y.viewport;if(M){const K=()=>{L(N.current),u==null||u()},F=()=>{const V=new Date().getTime()-b.current;N.current=N.current-V,window.clearTimeout(T.current),a==null||a()};return M.addEventListener(Ka,F),M.addEventListener(Ga,K),()=>{M.removeEventListener(Ka,F),M.removeEventListener(Ga,K)}}},[y.viewport,C,a,u,L]),x.useEffect(()=>{s&&!y.isClosePausedRef.current&&L(C)},[s,C,y.isClosePausedRef,L]),x.useEffect(()=>(A(),()=>O()),[A,O]);const Q=x.useMemo(()=>w?Sm(w):null,[w]);return y.viewport?f.jsxs(f.Fragment,{children:[Q&&f.jsx(Ax,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:Q}),f.jsx(Rx,{scope:n,onClose:$,children:fs.createPortal(f.jsx(lc.ItemSlot,{scope:n,children:f.jsx(cx,{asChild:!0,onEscapeKeyDown:ne(l,()=>{y.isFocusedToastEscapeKeyDownRef.current||$(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(he.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...E,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ne(e.onKeyDown,M=>{M.key==="Escape"&&(l==null||l(M.nativeEvent),M.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ne(e.onPointerDown,M=>{M.button===0&&(v.current={x:M.clientX,y:M.clientY})}),onPointerMove:ne(e.onPointerMove,M=>{if(!v.current)return;const K=M.clientX-v.current.x,F=M.clientY-v.current.y,V=!!S.current,P=["left","right"].includes(y.swipeDirection),_=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,I=P?_(0,K):0,W=P?0:_(0,F),z=M.pointerType==="touch"?10:2,G={x:I,y:W},q={originalEvent:M,delta:G};V?(S.current=G,Fs(Px,p,q,{discrete:!1})):Gd(G,y.swipeDirection,z)?(S.current=G,Fs(kx,c,q,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(K)>z||Math.abs(F)>z)&&(v.current=null)}),onPointerUp:ne(e.onPointerUp,M=>{const K=S.current,F=M.target;if(F.hasPointerCapture(M.pointerId)&&F.releasePointerCapture(M.pointerId),S.current=null,v.current=null,K){const V=M.currentTarget,P={originalEvent:M,delta:K};Gd(K,y.swipeDirection,y.swipeThreshold)?Fs(_x,d,P,{discrete:!0}):Fs(Tx,h,P,{discrete:!0}),V.addEventListener("click",_=>_.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),Ax=e=>{const{__scopeToast:t,children:n,...r}=e,o=nl(ps,t),[s,i]=x.useState(!1),[l,a]=x.useState(!1);return Lx(()=>i(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:f.jsx(um,{asChild:!0,children:f.jsx(tl,{...r,children:s&&f.jsxs(f.Fragment,{children:[o.label," ",n]})})})},Mx="ToastTitle",gm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(he.div,{...r,ref:t})});gm.displayName=Mx;var Ix="ToastDescription",vm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(he.div,{...r,ref:t})});vm.displayName=Ix;var ym="ToastAction",xm=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?f.jsx(Em,{altText:n,asChild:!0,children:f.jsx(ac,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${ym}\`. Expected non-empty \`string\`.`),null)});xm.displayName=ym;var wm="ToastClose",ac=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=jx(wm,n);return f.jsx(Em,{asChild:!0,children:f.jsx(he.button,{type:"button",...r,ref:t,onClick:ne(e.onClick,o.onClose)})})});ac.displayName=wm;var Em=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return f.jsx(he.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Sm(e){const t=[];
vendor: 4,454 bytes, lines 40-65
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Dx(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=r.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Sm(r))}}),t}function Fs(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?sm(o,s):o.dispatchEvent(s)}var Gd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function Lx(e=()=>{}){const t=qt(e);Xt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Dx(e){return e.nodeType===e.ELEMENT_NODE}function Fx(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 Gl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var zx=dm,Cm=pm,bm=mm,Nm=gm,km=vm,Pm=xm,Tm=ac;function _m(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=_m(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Rm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=_m(e))&&(r&&(r+=" "),r+=t);return r}const Yd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qd=Rm,rl=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return qd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],p=s==null?void 0:s[u];if(c===null)return null;const h=Yd(c)||Yd(p);return o[u][h]}),l=n&&Object.entries(n).reduce((u,c)=>{let[p,h]=c;return h===void 0||(u[p]=h),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:p,className:h,...d}=c;return Object.entries(d).every(E=>{let[y,w]=E;return Array.isArray(w)?w.includes({...s,...l}[y]):{...s,...l}[y]===w})?[...u,p,h]:u},[]);return qd(e,i,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 $x=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),jm=(...e)=>e.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 Ux={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 Bx=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:i,...l},a)=>x.createElement("svg",{ref:a,...Ux,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:jm("lucide",o),...l},[...i.map(([u,c])=>x.createElement(u,c)),...Array.isArray(s)?s:[s]]));/** 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 Qe=(e,t)=>{const n=x.forwardRef(({className:r,...o},s)=>x.createElement(Bx,{ref:s,iconNode:t,className:jm(`lucide-${$x(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 Vx=Qe("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"}
65],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 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 Wx=Qe("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 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 Hx=Qe("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/** 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 Qx=Qe("Euro",[["path",{d:"M4 10h12",key:"1y6xl8"}],["path",{d:"M4 14h9",key:"1loblj"}],["path",{d:"M19 6a7.7 7.7 0 0 0-5.2-2A7.9 7.9 0 0 0 6 12c0 4.4 3.5 8 7.8 8 2 0 3.8-.8 5.2-2",key:"1j6lzo"}]]);/** 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 Xd=Qe("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 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 Zd=Qe("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 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 Kx=Qe("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** 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 Jd=Qe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 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 Om=Qe("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 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 Gx=Qe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 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 Yx=Qe("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const qx=Qe("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree.
vendor: 12,641 bytes, lines 125-130
125 */const Xx=Qe("Wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Zx=Qe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),uc="-",Jx=e=>{const t=tw(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const l=i.split(uc);return l[0]===""&&l.length!==1&&l.shift(),Am(l,t)||ew(i)},getConflictingClassGroupIds:(i,l)=>{const a=n[i]||[];return l&&r[i]?[...a,...r[i]]:a}}},Am=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Am(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(uc);return(i=t.validators.find(({validator:l})=>l(s)))==null?void 0:i.classGroupId},ef=/^\[(.+)\]$/,ew=e=>{if(ef.test(e)){const t=ef.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},tw=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return rw(Object.entries(e.classGroups),n).forEach(([s,i])=>{qa(i,r,s,t)}),r},qa=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:tf(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(nw(o)){qa(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{qa(i,tf(t,s),n,r)})})},tf=(e,t)=>{let n=e;return t.split(uc).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},nw=e=>e.isThemeGetter,rw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,l])=>[t+i,l])):s);return[n,o]}):e,ow=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},Mm="!",sw=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,i=l=>{const a=[];let u=0,c=0,p;for(let w=0;w<l.length;w++){let g=l[w];if(u===0){if(g===o&&(r||l.slice(w,w+s)===t)){a.push(l.slice(c,w)),c=w+s;continue}if(g==="/"){p=w;continue}}g==="["?u++:g==="]"&&u--}const h=a.length===0?l:l.substring(c),d=h.startsWith(Mm),E=d?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:E,maybePostfixModifierPosition:y}};return n?l=>n({className:l,parseClassName:i}):i},iw=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},lw=e=>({cache:ow(e.cacheSize),parseClassName:sw(e),...Jx(e)}),aw=/\s+/,uw=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(aw);let l="";for(let a=i.length-1;a>=0;a-=1){const u=i[a],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:d}=n(u);let E=!!d,y=r(E?h.substring(0,d):h);if(!y){if(!E){l=u+(l.length>0?" "+l:l);continue}if(y=r(h),!y){l=u+(l.length>0?" "+l:l);continue}E=!1}const w=iw(c).join(":"),g=p?w+Mm:w,m=g+y;if(s.includes(m))continue;s.push(m);const v=o(y,E);for(let S=0;S<v.length;++S){const C=v[S];s.push(g+C)}l=u+(l.length>0?" "+l:l)}return l};function cw(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Im(t))&&(r&&(r+=" "),r+=n);return r}const Im=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Im(e[r]))&&(n&&(n+=" "),n+=t);return n};function dw(e,...t){let n,r,o,s=i;function i(a){const u=t.reduce((c,p)=>p(c),e());return n=lw(u),r=n.cache.get,o=n.cache.set,s=l,l(a)}function l(a){const u=r(a);if(u)return u;const c=uw(a,n);return o(a,c),c}return function(){return s(cw.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Lm=/^\[(?:([a-z-]+):)?(.+)\]$/i,fw=/^\d+\/\d+$/,pw=new Set(["px","full","screen"]),hw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mw=/\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$/,gw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>Lr(e)||pw.has(e)||fw.test(e),un=e=>io(e,"length",kw),Lr=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>io(e,"number",Lr),wo=e=>!!e&&Number.isInteger(Number(e)),xw=e=>e.endsWith("%")&&Lr(e.slice(0,-1)),H=e=>Lm.test(e),cn=e=>hw.test(e),ww=new Set(["length","size","percentage"]),Ew=e=>io(e,ww,Dm),Sw=e=>io(e,"position",Dm),Cw=new Set(["image","url"]),bw=e=>io(e,Cw,Tw),Nw=e=>io(e,"",Pw),Eo=()=>!0,io=(e,t,n)=>{const r=Lm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},kw=e=>mw.test(e)&&!gw.test(e),Dm=()=>!1,Pw=e=>vw.test(e),Tw=e=>yw.test(e),_w=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),s=oe("borderRadius"),i=oe("borderSpacing"),l=oe("borderWidth"),a=oe("contrast"),u=oe("grayscale"),c=oe("hueRotate"),p=oe("invert"),h=oe("gap"),d=oe("gradientColorStops"),E=oe("gradientColorStopPositions"),y=oe("inset"),w=oe("margin"),g=oe("opacity"),m=oe("padding"),v=oe("saturate"),S=oe("scale"),C=oe("sepia"),b=oe("skew"),N=oe("space"),T=oe("translate"),A=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",H,t],L=()=>[H,t],Q=()=>["",Ft,un],M=()=>["auto",Lr,H],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["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"],P=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",H],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[Lr,H];return{cacheSize:500,separator:":",theme:{colors:[Eo],spacing:[Ft,un],blur:["none","",cn,H],brightness:W(),borderColor:[e],borderRadius:["none","","full",cn,H],borderSpacing:L(),borderWidth:Q(),contrast:W(),grayscale:_(),hueRotate:W(),invert:_(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[xw,un],inset:$(),margin:$(),opacity:W(),padding:L(),saturate:W(),scale:W(),sepia:_(),skew:W(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",H]}],container:["container"],columns:[{columns:[cn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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:[...K(),H]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",wo,H]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",H]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",wo,H]}],"grid-cols":[{"grid-cols":[Eo]}],"col-start-end":[{col:["auto",{span:["full",wo,H]},H]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Eo]}],"row-start-end":[{row:["auto",{span:[wo,H]},H]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",H]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",H]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[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":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",H,t]}],"min-w":[{"min-w":[H,t,"min","max","fit"]}],"max-w":[{"max-w":[H,t,"none","full","min","max","fit","prose",{screen:[cn]},cn]}],h:[{h:[H,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[H,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",Yl]}],"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",H]}],"line-clamp":[{"line-clamp":["none",Lr,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ft,H]}],"list-image":[{"list-image":["none",H]}],"list-style-type":[{list:["none","disc","decimal",H]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ft,un]}],"underline-offset":[{"underline-offset":["auto",Ft,H]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H]}],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",H]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),Sw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ew]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}
vendor: 5,172 bytes, line 130
130],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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":[g]}],"border-style":[{border:[...F(),"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":[g]}],"divide-style":[{divide:F()}],"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:["",...F()]}],"outline-offset":[{"outline-offset":[Ft,H]}],"outline-w":[{outline:[Ft,un]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Ft,un]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",cn,Nw]}],"shadow-color":[{shadow:[Eo]}],opacity:[{opacity:[g]}],"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,H]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"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":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",H]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",H]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",H]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[wo,H]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",H]}],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",H]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 130
130],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",H]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ft,un,Yl]}],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"]}}},Rw=dw(_w);function me(...e){return Rw(Rm(e))}const jw=zx,Fm=x.forwardRef(({className:e,...t},n)=>f.jsx(Cm,{ref:n,className:me("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}));Fm.displayName=Cm.displayName;const Ow=rl("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"}}),zm=x.forwardRef(({className:e,variant:t,...n},r)=>f.jsx(bm,{ref:r,className:me(Ow({variant:t}),e),...n}));zm.displayName=bm.displayName;const Aw=x.forwardRef(({className:e,...t},n)=>f.jsx(Pm,{ref:n,className:me("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}));Aw.displayName=Pm.displayName;const $m=x.forwardRef(({className:e,...t},n)=>f.jsx(Tm,{ref:n,className:me("absolute right-2 top-2 rounded-md p-1 text-foreground
130/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:f.jsx(Zx,{className:"h-4 w-4"})}));$m.displayName=Tm.displayName;const Um=x.forwardRef(({className:e,...t},n)=>f.jsx(Nm,{ref:n,className:me("text-sm font-semibold",e),...t}));Um.displayName=Nm.displayName;const Bm=x.forwardRef(({className:e,...t},n)=>f.jsx(km,{ref:n,className:me("text-sm opacity-90",e),...t}));Bm.displayName=km.displayName;function Mw(){const{toasts:e}=G0();return f.jsxs(jw,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return f.jsxs(zm,{...s,children:[f.jsxs("div",{className:"grid gap-1",children:[n&&f.jsx(Um,{children:n}),r&&f.jsx(Bm,{children:r})]}),o,f.jsx($m,{})]},t)}),f.jsx(Fm,{})]})}var nf=["light","dark"],Iw="(prefers-color-scheme: dark)",Lw=x.createContext(void 0),Dw={setTheme:e=>{},themes:[]},Fw=()=>{var e;return(e=x.useContext(Lw))!=null?e:Dw};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:i,attrs:l,nonce:a})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(E=>`'${E}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?nf.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(E,y=!1,w=!0)=>{let g=i?i[E]:E,m=y?E+"|| ''":`'${g}'`,v="";return o&&w&&!y&&nf.includes(E)&&(v+=`d.style.colorScheme = '${E}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},d=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Iw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${p}}catch(t){}}();`;return x.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:d}})});var zw=e=>{switch(e){case"success":return Bw;case"info":return Ww;case"warning":return Vw;case"error":return Hw;default:return null}},$w=Array(12).fill(0),Uw=({visible:e,className:t})=>j.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},j.createElement("div",{className:"sonner-spinner"},$w.map((n,r)=>j.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Bw=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Vw=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.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"})),Ww=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Hw=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.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"})),Qw=j.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"},j.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Kw=()=>{let[e,t]=j.useState(document.hidden);return j.useEffect(()=>{let n=()=>{t(document.hidden)};
130return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Xa=1,Gw=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:Xa++,s=this.toasts.find(l=>l.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:i,title:n}):l):this.addToast({title:n,...r,dismissible:i,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)=>
130this.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,s,i=r.then(async a=>{if(s=["resolve",a],j.isValidElement(a))o=!1,this.create({id:n,type:"default",message:a});else if(qw(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(s=["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)=>i.then(()=>s[0]==="reject"?u(s[1]):a(s[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)||Xa++;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}},ze=new Gw,Yw=(e,t)=>{let n=(t==null?void 0:t.id)||Xa++;return ze.addToast({title:e,...t,id:n}),n},qw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Xw=Yw,Zw=()=>ze.toasts,Jw=()=>ze.getActiveToasts();Object.assign(Xw,{success:ze.success,info:ze.info,warning:ze.warning,error:ze.error,custom:ze.custom,message:ze.message,promise:ze.promise,dismiss:ze.dismiss,loading:ze.loading},{getHistory:Zw,getToasts:Jw});function e1(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))}e1(`: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;
130left: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}
130: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%);
130--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%)} 131`);function zs(e){return e.label!==void 0}var t1=3,n1="32px",r1="16px",rf=4e3,o1=356,s1=14,i1=20,l1=200;function ht(...e){return e.filter(Boolean).join(" ")}function a1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var u1=e=>{var t,n,r,o,s,i,l,a,u,c,p;let{invert:h,toast:d,unstyled:E,interacting:y,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:S,expanded:C,removeToast:b,defaultRichColors:N,closeButton:T,style:A,cancelButtonStyle:O,actionButtonStyle:$,className:L="",descriptionClassName:Q="",duration:M,position:K,gap:F,loadingIcon:V,expandByDefault:P,classNames:_,icons:I,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:z}=e,[G,q]=j.useState(null),[ve,ke]=j.useState(null),[J,dr]=j.useState(!1),[tn,Un]=j.useState(!1),[nn,fr]=j.useState(!1),[rn,gs]=j.useState(!1),[ml,vs]=j.useState(!1),[gl,uo]=j.useState(0),[pr,Tc]=j.useState(0),co=j.useRef(d.duration||M||rf),_c=j.useRef(null),Bn=j.useRef(null),av=v===0,uv=v+1<=g,tt=d.type,hr=d.dismissible!==!1,cv=d.className||"",dv=d.descriptionClassName||"",ys=j.useMemo(()=>m.findIndex(U=>U.toastId===d.id)||0,[m,d.id]),fv=j.useMemo(()=>{var U;return(U=d.closeButton)!=null?U:T},[d.closeButton,T]),Rc=j.useMemo(()=>d.duration||M||rf,[d.duration,M]),vl=j.useRef(0),mr=j.useRef(0),jc=j.useRef(0),gr=j.useRef(null),[pv,hv]=K.split("-"),Oc=j.useMemo(()=>m.reduce((U,te,le)=>le>=ys?U:U+te.height,0),[m,ys]),Ac=Kw(),mv=d.invert||h,yl=tt==="loading";mr.current=j.useMemo(()=>ys*F+Oc,[ys,Oc]),j.useEffect(()=>{co.current=Rc},[Rc]),j.useEffect(()=>{dr(!0)},[]),j.useEffect(()=>{let U=Bn.current;if(U){let te=U.getBoundingClientRect().height;return Tc(te),w(le=>[{toastId:d.id,height:te,position:d.position},...le]),()=>w(le=>le.filter(ct=>ct.toastId!==d.id))}},[w,d.id]),j.useLayoutEffect(()=>{if(!J)return;let U=Bn.current,te=U.style.height;U.style.height="auto";let le=U.getBoundingClientRect().height;U.style.height=te,Tc(le),w(ct=>ct.find(dt=>dt.toastId===d.id)?ct.map(dt=>dt.toastId===d.id?{...dt,height:le}:dt):[{toastId:d.id,height:le,position:d.position},...ct])},[J,d.title,d.description,w,d.id]);let on=j.useCallback(()=>{Un(!0),uo(mr.current),w(U=>U.filter(te=>te.toastId!==d.id)),setTimeout(()=>{b(d)},l1)},[d,b,w,mr]);j.useEffect(()=>{if(d.promise&&tt==="loading"||d.duration===1/0||d.type==="loading")return;let U;return C||y||z&&Ac?(()=>{if(jc.current<vl.current){let te=new Date().getTime()-vl.current;co.current=co.current-te}
131jc.current=new Date().getTime()})():co.current!==1/0&&(vl.current=new Date().getTime(),U=setTimeout(()=>{var te;(te=d.onAutoClose)==null||te.call(d,d),on()},co.current)),()=>clearTimeout(U)},[C,y,d,tt,z,Ac,on]),j.useEffect(()=>{d.delete&&on()},[on,d.delete]);function gv(){var U,te,le;return I!=null&&I.loading?j.createElement("div",{className:ht(_==null?void 0:_.loader,(U=d==null?void 0:d.classNames)==null?void 0:U.loader,"sonner-loader"),"data-visible":tt==="loading"},I.loading):V?j.createElement("div",{className:ht(_==null?void 0:_.loader,(te=d==null?void 0:d.classNames)==null?void 0:te.loader,"sonner-loader"),"data-visible":tt==="loading"},V):j.createElement(Uw,{className:ht(_==null?void 0:_.loader,(le=d==null?void 0:d.classNames)==null?void 0:le.loader),visible:tt==="loading"})}return j.createElement("li",{tabIndex:0,ref:Bn,className:ht(L,cv,_==null?void 0:_.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,_==null?void 0:_.default,_==null?void 0:_[tt],(n=d==null?void 0:d.classNames)==null?void 0:n[tt]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:N,"data-styled":!(d.jsx||d.unstyled||E),"data-mounted":J,"data-promise":!!d.promise,"data-swiped":ml,"data-removed":tn,"data-visible":uv,"data-y-position":pv,"data-x-position":hv,"data-index":v,"data-front":av,"data-swiping":nn,"data-dismissible":hr,"data-type":tt,"data-invert":mv,"data-swipe-out":rn,"data-swipe-direction":ve,"data-expanded":!!(C||P&&J),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${tn?gl:mr.current}px`,"--initial-height":P?"auto":`${pr}px`,...A,...d.style},onDragEnd:()=>{fr(!1),q(null),gr.current=null},onPointerDown:U=>{yl||!hr||(_c.current=new Date,uo(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,le,ct;if(rn||!hr)return;gr.current=null;let dt=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()-((le=_c.current)==null?void 0:le.getTime()),ft=G==="x"?dt:sn,ln=Math.abs(ft)/Vn;if(Math.abs(ft)>=i1||ln>.11){uo(mr.current),(ct=d.onDismiss)==null||ct.call(d,d),ke(G==="x"?dt>0?"right":"left":sn>0?"down":"up"),on(),gs(!0),vs(!1);return}fr(!1),q(null)},onPointerMove:U=>{var te,le,ct,dt;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,ft=(le=e.swipeDirections)!=null?le:a1(K);!G&&(Math.abs(Vn)>1||Math.abs(sn)>1)&&q(Math.abs(Vn)>Math.abs(sn)?"x":"y");let ln={x:0,y:0};G==="y"?(ft.includes("top")||ft.includes("bottom"))&&(ft.includes("top")&&sn<0||ft.includes("bottom")&&sn>0)&&(ln.y=sn):G==="x"&&(ft.includes("left")||ft.includes("right"))&&(ft.includes("left")&&Vn<0||ft.includes("right")&&Vn>0)&&(ln.x=Vn),(Math.abs(ln.x)>0||Math.abs(ln.y)>0)&&vs(!0),(ct=Bn.current)==null||ct.style.setProperty("--swipe-amount-x",`${ln.x}px`),(dt=Bn.current)==null||dt.style.setProperty("--swipe-amount-y",`${ln.y}px`)}},fv&&!d.jsx?j.createElement("button",{"aria-label":W,"data-disabled":yl,"data-close-button":!0,onClick:yl||!hr?()=>{}:()=>{var U;on(),(U=d.onDismiss)==null||U.call(d,d)},className:ht(_==null?void 0:_.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},(s=I==null?void 0:I.close)!=null?s:Qw):null,d.jsx||x.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:j.createElement(j.Fragment,null,tt||d.icon||d.promise?j.createElement("div",{"data-icon":"",className:ht(_==null?void 0:_.icon,(i=d==null?void 0:d.classNames)==null?void 0:i.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||gv():null,d.type!=="loading"?d.icon||(I==null?void 0:I[tt])||zw(tt):null):null,j.createElement("div",{"data-content":"",className:ht(_==null?void 0:_.content,(l=d==null?void 0:d.classNames)==null?void 0:l.content)},j.createElement("div",{"data-title":"",className:ht(_==null?void 0:_.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},typeof d.title=="function"?d.title():d.title),d.description?j.createElement("div",{"data-description":"",className:ht(Q,dv,_==null?void 0:_.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&&zs(d.cancel)?j.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||O,onClick:U=>{var te,le;zs(d.cancel)&&hr&&((le=(te=d.cancel).onClick)==null||le.call(te,U),on())},className:ht(_==null?void 0:_.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&&zs(d.action)?j.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||$,onClick:U=>{var te,le;zs(d.action)&&((le=(te=d.action).onClick)==null||le.call(te,U),!U.defaultPrevented&&on())},className:ht(_==null?void 0:_.actionButton,(p=d==null?void 0:d.classNames)==null?void 0:p.actionButton)},d.action.label):null))};function of(){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 c1(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",l=s?r1:n1;function a(u){["top","right","bottom","left"].forEach(c=>{n[`${i}-${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[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):a(l)}),n}var d1=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:l,offset:a,mobileOffset:u,theme:c="light",richColors:p,duration:h,style:d,visibleToasts:E=t1,toastOptions:y,dir:w=of(),gap:g=s1,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[b,N]=j.useState([]),T=j.useMemo(()=>Array.from(new Set([r].concat(b.filter(z=>z.position).map(z=>z.position)))),[b,r]),[A,O]=j.useState([]),[$,L]=j.useState(!1),[Q,M]=j.useState(!1),[K,F]=j.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
131k":"light"),V=j.useRef(null),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=j.useRef(null),I=j.useRef(!1),W=j.useCallback(z=>{N(G=>{var q;return(q=G.find(ve=>ve.id===z.id))!=null&&q.delete||ze.dismiss(z.id),G.filter(({id:ve})=>ve!==z.id)})},[]);return j.useEffect(()=>ze.subscribe(z=>{if(z.dismiss){N(G=>G.map(q=>q.id===z.id?{...q,delete:!0}:q));return}setTimeout(()=>{em.flushSync(()=>{N(G=>{let q=G.findIndex(ve=>ve.id===z.id);return q!==-1?[...G.slice(0,q),{...G[q],...z},...G.slice(q+1)]:[z,...G]})})})}),[]),j.useEffect(()=>{if(c!=="system"){F(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?F("dark"):F("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:G})=>{F(G?"dark":"light")})}catch{z.addListener(({matches:q})=>{try{F(q?"dark":"light")}catch(ve){console.error(ve)}})}},[c]),j.useEffect(()=>{b.length<=1&&L(!1)},[b]),j.useEffect(()=>{let z=G=>{var q,ve;o.every(ke=>G[ke]||G.code===ke)&&(L(!0),(q=V.current)==null||q.focus()),G.code==="Escape"&&(document.activeElement===V.current||(ve=V.current)!=null&&ve.contains(document.activeElement))&&L(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),j.useEffect(()=>{if(V.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,I.current=!1)}},[V.current]),j.createElement("section",{ref:t,"aria-label":`${S} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((z,G)=>{var q;let[ve,ke]=z.split("-");return b.length?j.createElement("ol",{key:z,dir:w==="auto"?of():w,tabIndex:-1,ref:V,className:l,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":ve,"data-lifted":$&&b.length>1&&!s,"data-x-position":ke,style:{"--front-toast-height":`${((q=A[0])==null?void 0:q.height)||0}px`,"--width":`${o1}px`,"--gap":`${g}px`,...d,...c1(a,u)},onBlur:J=>{I.current&&!J.currentTarget.contains(J.relatedTarget)&&(I.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||I.current||(I.current=!0,_.current=J.relatedTarget)},onMouseEnter:()=>L(!0),onMouseMove:()=>L(!0),onMouseLeave:()=>{Q||L(!1)},onDragEnd:()=>L(!1),onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},b.filter(J=>!J.position&&G===0||J.position===z).map((J,dr)=>{var tn,Un;return j.createElement(u1,{key:J.id,icons:v,index:dr,toast:J,defaultRichColors:p,duration:(tn=y==null?void 0:y.duration)!=null?tn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:E,closeButton:(Un=y==null?void 0:y.closeButton)!=null?Un:i,interacting:Q,position:z,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:b.filter(nn=>nn.position==J.position),heights:A.filter(nn=>nn.position==J.position),setHeights:O,expandByDefault:s,gap:g,loadingIcon:m,expanded:$,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const f1=({...e})=>{const{theme:t="system"}=Fw();return f.jsx(d1,{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})};var p1=pu[" useId ".trim().toString()]||(()=>{}),h1=0;function Vm(e){const[t,n]=x.useState(p1());return Xt(()=>{e||n(r=>r??String(h1++))},[e]),e||(t?`radix-${t}`:"")}const m1=["top","right","bottom","left"],Ln=Math.min,Ge=Math.max,ji=Math.round,$s=Math.floor,It=e=>({x:e,y:e}
vendor: 10,346 bytes, line 131
131),g1={left:"right",right:"left",bottom:"top",top:"bottom"},v1={start:"end",end:"start"};function Za(e,t,n){return Ge(e,Ln(t,n))}function Zt(e,t){return typeof e=="function"?e(t):e}function Jt(e){return e.split("-")[0]}function lo(e){return e.split("-")[1]}function cc(e){return e==="x"?"y":"x"}function dc(e){return e==="y"?"height":"width"}const y1=new Set(["top","bottom"]);function Ot(e){return y1.has(Jt(e))?"y":"x"}function fc(e){return cc(Ot(e))}function x1(e,t,n){n===void 0&&(n=!1);const r=lo(e),o=fc(e),s=dc(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Oi(i)),[i,Oi(i)]}function w1(e){const t=Oi(e);return[Ja(e),t,Ja(t)]}function Ja(e){return e.replace(/start|end/g,t=>v1[t])}const sf=["left","right"],lf=["right","left"],E1=["top","bottom"],S1=["bottom","top"];function C1(e,t,n){switch(e){case"top":case"bottom":return n?t?lf:sf:t?sf:lf;case"left":case"right":return t?E1:S1;default:return[]}}function b1(e,t,n,r){const o=lo(e);let s=C1(Jt(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ja)))),s}function Oi(e){return e.replace(/left|right|bottom|top/g,t=>g1[t])}function N1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wm(e){return typeof e!="number"?N1(e):{top:e,right:e,bottom:e,left:e}}function Ai(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 af(e,t,n){let{reference:r,floating:o}=e;const s=Ot(t),i=fc(t),l=dc(i),a=Jt(t),u=s==="y",c=r.x+r.width/2-o.width/2,p=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:p};break;case"left":d={x:r.x-o.width,y:p};break;default:d={x:r.x,y:r.y}}switch(lo(t)){case"start":d[i]-=h*(n&&u?-1:1);break;case"end":d[i]+=h*(n&&u?-1:1);break}return d}const k1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),a=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:p}=af(u,r,a),h=r,d={},E=0;for(let y=0;y<l.length;y++){const{name:w,fn:g}=l[y],{x:m,y:v,data:S,reset:C}=await g({x:c,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:d,rects:u,platform:i,elements:{reference:e,floating:t}});c=m??c,p=v??p,d={...d,[w]:{...d[w],...S}},C&&E<=50&&(E++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:p}=af(u,h,a)),y=-1)}return{x:c,y:p,placement:h,strategy:o,middlewareData:d}};async function ts(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Zt(t,e),E=Wm(d),w=l[h?p==="floating"?"reference":"floating":p],g=Ai(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:a})),m=p==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ai(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:v,strategy:a}):m);return{top:(g.top-C.top+E.top)/S.y,bottom:(C.bottom-g.bottom+E.bottom)/S.y,left:(g.left-C.left+E.left)/S.x,right:(C.right-g.right+E.right)/S.x}}const P1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:l,middlewareData:a}=t,{element:u,padding:c=0}=Zt(e,t)||{};if(u==null)return{};const p=Wm(c),h={x:n,y:r},d=fc(o),E=dc(d),y=await i.getDimensions(u),w=d==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=s.reference[E]+s.reference[d]-h[d]-s.floating[E],C=h[d]-s.reference[d],b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let N=b?b[v]:0;(!N||!await(i.isElement==null?void 0:i.isElement(b)))&&(N=l.floating[v]||s.floating[E]);const T=S/2-C/2,A=N/2-y[E]/2-1,O=Ln(p[g],A),$=Ln(p[m],A),L=O,Q=N-y[E]-$,M=N/2-y[E]/2+T,K=Za(L,M,Q),F=!a.arrow&&lo(o)!=null&&M!==K&&s.reference[E]/2-(M<L?O:$)-y[E]/2<0,V=F?M<L?M-L:M-Q:0;return{[d]:h[d]+V,data:{[d]:K,centerOffset:M-K-V,...F&&{alignmentOffset:V}},reset:F}}}),T1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:y=!0,...w}=Zt(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=Jt(o),m=Ot(l),v=Jt(l)===l,S=await(a.isRTL==null?void 0:a.isRTL(u.floating)),C=h||(v||!y?[Oi(l)]:w1(l)),b=E!=="none";!h&&b&&C.push(...b1(l,y,E,S));const N=[l,...C],T=await ts(t,w),A=[];let O=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&A.push(T[g]),p){const M=x1(o,i,S);A.push(T[M[0]],T[M[1]])}if(O=[...O,{placement:o,overflows:A}],!A.every(M=>M<=0)){var $,L;const M=((($=s.flip)==null?void 0:$.index)||0)+1,K=N[M];if(K&&(!(p==="alignment"?m!==Ot(K):!1)||O.every(P=>P.overflows[0]>0&&Ot(P.placement)===m)))return{data:{index:M,overflows:O},reset:{placement:K}};let F=(L=O.filter(V=>V.overflows[0]<=0).sort((V,P)=>V.overflows[1]-P.overflows[1])[0])==null?void 0:L.placement;if(!F)switch(d){case"bestFit":{var Q;const V=(Q=O.filter(P=>{if(b){const _=Ot(P.placement);return _===m||_==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(_=>_>0).reduce((_,I)=>_+I,0)]).sort((P,_)=>P[1]-_[1])[0])==null?void 0:Q[0];V&&(F=V);break}case"initialPlacement":F=l;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function uf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cf(e){return m1.some(t=>e[t]>=0)}const _1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Zt(e,t);switch(r){case"referenceHidden":{const s=await ts(t,{...o,elementContext:"reference"}),i=uf(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:cf(i)}}}case"escaped":{const s=await ts(t,{...o,altBoundary:!0}),i=uf(s,n.floating);return{data:{escapedOffsets:i,escaped:cf(i)}}}default:return{}}}}},Hm=new Set(["left","top"]);async function R1(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Jt(n),l=lo(n),a=Ot(n)==="y",u=Hm.has(i)?-1:1,c=s&&a?-1:1,p=Zt(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:E}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof E=="number"&&(d=l==="end"?E*-1:E),a?{x:d*c,y:h*u}:{x:h*u,y:d*c}}const j1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:l}=t,a=await R1(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:{...a,placement:i}}}}},O1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...a}=Zt(e,t),u={x:n,y:r},c=await ts(t,a),p=Ot(Jt(o)),h=cc(p);let d=u[h],E=u[p];if(s){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=d+c[w],v=d-c[g];d=Za(m,d,v)}if(i){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=E+c[w],v=E-c[g];E=Za(m,E,v)}const y=l.fn({...t,[h]:d,[p]:E});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[p]:i}}}}}},A1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Zt(e,t),c={x:n,y:r},p=Ot(o),h=cc(p);let d=c[h],E=c[p];const y=Zt(l,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+w.mainAxis,C=s.reference[h]+s.reference[v]-w.mainAxis;d<S?d=S:d>C&&(d=C)}if(u){var g,m;const v=h==="y"?"width":"height",S=Hm.has(Jt(o)),C=s.reference[p]-s.floating[v]+(S&&((g=i.offset)==null?void 0:g[p])||0)+(S?0:w.crossAxis),b=s.reference[p]+s.reference[v]+(S?0:((m=i.offset)==null?void 0:m[p])||0)-(S?w.crossAxis:0);E<C?E=C:E>b&&(E=b)}return{[h]:d,[p]:E}}}},M1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:l}=t,{apply:a=()=>{},...u}=Zt(e,t),c=await ts(t,u),p=Jt(o),h=lo(o),d=Ot(o)==="y",{width:E,height:y}=s.floating;let w,g;p==="top"||p==="bottom"?(w=p,g=h===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,w=h==="end"?"top":"bottom");const m=y-c.top-c.bottom,v=E-c.left-c.right,S=Ln(y-c[w],m),C=Ln(E-c[g],v),b=!t.middlewareData.shift;let N=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=m),b&&!h){const O=Ge(c.left,0),$=Ge(c.right,0),L=Ge(c.top,0),Q=Ge(c.bottom,0);d?T=E-2*(O!==0||$!==0?O+$:Ge(c.left,c.right)):N=y-2*(L!==0||Q!==0?L+Q:Ge(c.top,c.bottom))}await a({...t,availableWidth:T,availableHeight:N});const A=await i.getDimensions(l.floating);return E!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function ol(){return typeof window<"u"}function ao(e){return Qm(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dt(e){var t;return(t=(Qm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Qm(e){return ol()?e instanceof Node||e instanceof Xe(e).Node:!1}function bt(e){return ol()?e instanceof Element||e instanceof Xe(e).Element:!1}function Lt(e){return ol()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function df(e){return!ol()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}const I1=new Set(["inline","contents"]);function hs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Nt(e);
vendor: 4,121 bytes, line 131
131return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!I1.has(o)}const L1=new Set(["table","td","th"]);function D1(e){return L1.has(ao(e))}const F1=[":popover-open",":modal"];function sl(e){return F1.some(t=>{try{return e.matches(t)}catch{return!1}})}const z1=["transform","translate","scale","rotate","perspective"],$1=["transform","translate","scale","rotate","perspective","filter"],U1=["paint","layout","strict","content"];function pc(e){const t=hc(),n=bt(e)?Nt(e):e;return z1.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)||$1.some(r=>(n.willChange||"").includes(r))||U1.some(r=>(n.contain||"").includes(r))}function B1(e){let t=Dn(e);for(;Lt(t)&&!eo(t);){if(pc(t))return t;if(sl(t))return null;t=Dn(t)}return null}function hc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const V1=new Set(["html","body","#document"]);function eo(e){return V1.has(ao(e))}function Nt(e){return Xe(e).getComputedStyle(e)}function il(e){return bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dn(e){if(ao(e)==="html")return e;const t=e.assignedSlot||e.parentNode||df(e)&&e.host||Dt(e);return df(t)?t.host:t}function Km(e){const t=Dn(e);return eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Lt(t)&&hs(t)?t:Km(t)}function ns(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Km(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=Xe(o);if(s){const l=eu(i);return t.concat(i,i.visualViewport||[],hs(o)?o:[],l&&n?ns(l):[])}return t.concat(o,ns(o,[],n))}function eu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Gm(e){const t=Nt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Lt(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=ji(n)!==s||ji(r)!==i;return l&&(n=s,r=i),{width:n,height:r,$:l}}function mc(e){return bt(e)?e:e.contextElement}function Dr(e){const t=mc(e);if(!Lt(t))return It(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=Gm(t);let i=(s?ji(n.width):n.width)/r,l=(s?ji(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const W1=It(0);function Ym(e){const t=Xe(e);return!hc()||!t.visualViewport?W1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function H1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Xe(e)?!1:t}function ar(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=mc(e);let i=It(1);t&&(r?bt(r)&&(i=Dr(r)):i=Dr(e));const l=H1(s,n,r)?Ym(s):It(0);let a=(o.left+l.x)/i.x,u=(o.top+l.y)/i.y,c=o.width/i.x,p=o.height/i.y;if(s){const h=Xe(s),d=r&&bt(r)?Xe(r):r;let E=h,y=eu(E);for(;y&&r&&d!==E;){const w=Dr(y),g=y.getBoundingClientRect(),m=Nt(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*w.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*w.y;a*=w.x,u*=w.y,c*=w.x,p*=w.y,a+=v,u+=S,E=Xe(y),y=eu(E)}}return Ai({width:c,height:p,x:a,y:u})}function gc(e,t){const n=il(e).scrollLeft;return t?t.left+n:ar(Dt(e)).left+n}function qm(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:gc(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Q1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=Dt(r),l=t?sl(t.floating):!1;if(r===i||l&&s)return n;let a={scrollLeft:0,scrollTop:0},u=It(1);const c=It(0),p=Lt(r);if((p||!p&&!s)&&((ao(r)!=="body"||hs(i))&&(a=il(r)),Lt(r))){const d=ar(r);u=Dr(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const h=i&&!p&&!s?qm(i,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 K1(e){return Array.from(e.getClientRects())}function G1(e){const t=Dt(e),n=il(e),r=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+gc(e);const l=-n.scrollTop;return Nt(r).direction==="rtl"&&(i+=Ge(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:l}}
vendor: 13,282 bytes, line 131
131function Y1(e,t){const n=Xe(e),r=Dt(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,l=0,a=0;if(o){s=o.width,i=o.height;const u=hc();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:i,x:l,y:a}}const q1=new Set(["absolute","fixed"]);function X1(e,t){const n=ar(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Lt(e)?Dr(e):It(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,a=o*s.x,u=r*s.y;return{width:i,height:l,x:a,y:u}}function ff(e,t,n){let r;if(t==="viewport")r=Y1(e,n);else if(t==="document")r=G1(Dt(e));else if(bt(t))r=X1(t,n);else{const o=Ym(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ai(r)}function Xm(e,t){const n=Dn(e);return n===t||!bt(n)||eo(n)?!1:Nt(n).position==="fixed"||Xm(n,t)}function Z1(e,t){const n=t.get(e);if(n)return n;let r=ns(e,[],!1).filter(l=>bt(l)&&ao(l)!=="body"),o=null;const s=Nt(e).position==="fixed";let i=s?Dn(e):e;for(;bt(i)&&!eo(i);){const l=Nt(i),a=pc(i);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&q1.has(o.position)||hs(i)&&!a&&Xm(e,i))?r=r.filter(c=>c!==i):o=l,i=Dn(i)}return t.set(e,r),r}function J1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?sl(t)?[]:Z1(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((u,c)=>{const p=ff(t,c,o);return u.top=Ge(p.top,u.top),u.right=Ln(p.right,u.right),u.bottom=Ln(p.bottom,u.bottom),u.left=Ge(p.left,u.left),u},ff(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function eE(e){const{width:t,height:n}=Gm(e);return{width:t,height:n}}function tE(e,t,n){const r=Lt(t),o=Dt(t),s=n==="fixed",i=ar(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const a=It(0);function u(){a.x=gc(o)}if(r||!r&&!s)if((ao(t)!=="body"||hs(o))&&(l=il(t)),r){const d=ar(t,!0,s,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else o&&u();s&&!r&&o&&u();const c=o&&!r&&!s?qm(o,l):It(0),p=i.left+l.scrollLeft-a.x-c.x,h=i.top+l.scrollTop-a.y-c.y;return{x:p,y:h,width:i.width,height:i.height}}function ql(e){return Nt(e).position==="static"}function pf(e,t){if(!Lt(e)||Nt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Dt(e)===n&&(n=n.ownerDocument.body),n}function Zm(e,t){const n=Xe(e);if(sl(e))return n;if(!Lt(e)){let o=Dn(e);for(;o&&!eo(o);){if(bt(o)&&!ql(o))return o;o=Dn(o)}return n}let r=pf(e,t);for(;r&&D1(r)&&ql(r);)r=pf(r,t);return r&&eo(r)&&ql(r)&&!pc(r)?n:r||B1(e)||n}const nE=async function(e){const t=this.getOffsetParent||Zm,n=this.getDimensions,r=await n(e.floating);return{reference:tE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rE(e){return Nt(e).direction==="rtl"}const oE={convertOffsetParentRelativeRectToViewportRelativeRect:Q1,getDocumentElement:Dt,getClippingRect:J1,getOffsetParent:Zm,getElementRects:nE,getClientRects:K1,getDimensions:eE,getScale:Dr,isElement:bt,isRTL:rE};function Jm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sE(e,t){let n=null,r;const o=Dt(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),s();const u=e.getBoundingClientRect(),{left:c,top:p,width:h,height:d}=u;if(l||t(),!h||!d)return;const E=$s(p),y=$s(o.clientWidth-(c+h)),w=$s(o.clientHeight-(p+d)),g=$s(c),v={rootMargin:-E+"px "+-y+"px "+-w+"px "+-g+"px",threshold:Ge(0,Ln(1,a))||1};let S=!0;function C(b){const N=b[0].intersectionRatio;if(N!==a){if(!S)return i();N?i(!1,N):r=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!Jm(u,e.getBoundingClientRect())&&i(),S=!1}try{n=new IntersectionObserver(C,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return i(!0),s}function iE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=mc(e),c=o||s?[...u?ns(u):[],...ns(t)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const p=u&&l?sE(u,n):null;let h=-1,d=null;i&&(d=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(t)})),n()}),u&&!a&&d.observe(u),d.observe(t));let E,y=a?ar(e):null;a&&w();function w(){const g=ar(e);y&&!Jm(y,g)&&n(),y=g,E=requestAnimationFrame(w)}return n(),()=>{var g;c.forEach(m=>{o&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),p==null||p(),(g=d)==null||g.disconnect(),d=null,a&&cancelAnimationFrame(E)}}const lE=j1,aE=O1,uE=T1,cE=M1,dE=_1,hf=P1,fE=A1,pE=(e,t,n)=>{const r=new Map,o={platform:oE,...n},s={...o.platform,_c:r};return k1(e,t,{...o,platform:s})};var hE=typeof document<"u",mE=function(){},ri=hE?x.useLayoutEffect:mE;function Mi(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(!Mi(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 s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Mi(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function eg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function mf(e,t){const n=eg(e);return Math.round(t*n)/n}function Xl(e){const t=x.useRef(e);return ri(()=>{t.current=e}),t}function gE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[c,p]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,d]=x.useState(r);Mi(h,r)||d(r);const[E,y]=x.useState(null),[w,g]=x.useState(null),m=x.useCallback(P=>{P!==b.current&&(b.current=P,y(P))},[]),v=x.useCallback(P=>{P!==N.current&&(N.current=P,g(P))},[]),S=s||E,C=i||w,b=x.useRef(null),N=x.useRef(null),T=x.useRef(c),A=a!=null,O=Xl(a),$=Xl(o),L=Xl(u),Q=x.useCallback(()=>{if(!b.current||!N.current)return;const P={placement:t,strategy:n,middleware:h};$.current&&(P.platform=$.current),pE(b.current,N.current,P).then(_=>{const I={..._,isPositioned:L.current!==!1};M.current&&!Mi(T.current,I)&&(T.current=I,fs.flushSync(()=>{p(I)}))})},[h,t,n,$,L]);ri(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,p(P=>({...P,isPositioned:!1})))},[u]);const M=x.useRef(!1);ri(()=>(M.current=!0,()=>{M.current=!1}),[]),ri(()=>{if(S&&(b.current=S),C&&(N.current=C),S&&C){if(O.current)return O.current(S,C,Q);Q()}},[S,C,Q,O,A]);const K=x.useMemo(()=>({reference:b,floating:N,setReference:m,setFloating:v}),[m,v]),F=x.useMemo(()=>({reference:S,floating:C}),[S,C]),V=x.useMemo(()=>{const P={position:n,left:0,top:0};if(!F.floating)return P;const _=mf(F.floating,c.x),I=mf(F.floating,c.y);return l?{...P,transform:"translate("+_+"px, "+I+"px)",...eg(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:I}},[n,l,F.floating,c.x,c.y]);return x.useMemo(()=>({...c,update:Q,refs:K,elements:F,floatingStyles:V}),[c,Q,K,F,V])}const vE=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?hf({element:r.current,padding:o}).fn(n):{}:r?hf({element:r,padding:o}).fn(n):{}}}},yE=(e,t)=>({...lE(e),options:[e,t]}),xE=(e,t)=>({...aE(e),options:[e,t]}),wE=(e,t)=>({...fE(e),options:[e,t]}),EE=(e,t)=>({...uE(e),options:[e,t]}),SE=(e,t)=>({...cE(e),options:[e,t]}),CE=(e,t)=>({...dE(e),options:[e,t]}),bE=(e,t)=>({...vE(e),options:[e,t]});var NE="Arrow",tg=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return f.jsx(he.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});tg.displayName=NE;var kE=tg;function PE(e){const[t,n]=x.useState(void 0);return Xt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,l;if("borderBoxSize"in s){const a=s.borderBoxSize,u=Array.isArray(a)?a[0]:a;i=u.inlineSize,l=u.blockSize}else i=e.offsetWidth,l=e.offsetHeight;n({width:i,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var ng="Popper",[rg,og]=so(ng),[VC,sg]=rg(ng),ig="PopperAnchor",lg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=sg(ig,n),i=x.useRef(null),l=ut(t,i);return x.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.jsx(he.div,{...o,ref:l})});lg.displayName=ig;var vc="PopperContent",[TE,_E]=rg(vc),ag=x.forwardRef((e,t)=>{var J,dr,tn,Un,nn,fr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:p="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:E,...y}=e,w=sg(vc,n),[g,m]=x.useState(null),v=ut(t,rn=>m(rn)),[S,C]=x.useState(null),b=PE(S),N=(b==null?void 0:b.width)??0,T=(b==null?void 0:b.height)??0,A=r+(s!=="center"?"-"+s:""),O=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},$=Array.isArray(u)?u:[u],L=$.length>0,Q={padding:O,boundary:$.filter(jE),altBoundary:L},{refs:M,floatingStyles:K,placement:F,isPositioned:V,middlewareData:P}=gE({strategy:"fixed",placement:A,whileElementsMounted:(...rn)=>iE(...rn,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[yE({mainAxis:o+T,alignmentAxis:i}),a&&xE({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?wE():void 0,...Q}),a&&EE({...Q}),SE({...Q,apply:({elements:rn,rects:gs,availableWidth:ml,availableHeight:vs})=>{const{width:gl,height:uo}=gs.reference,pr=rn.floating.style;pr.setProperty("--radix-popper-available-width",`${ml}px`),pr.setProperty("--radix-popper-available-height",`${vs}px`),pr.setProperty("--radix-popper-anchor-width",`${gl}px`),pr.setProperty("--radix-popper-anchor-height",`${uo}px`)}}),S&&bE({element:S,padding:l}),OE({arrowWidth:N,arrowHeight:T}),h&&CE({strategy:"referenceHidden",...Q})]}),[_,I]=dg(F),W=qt(E);Xt(()=>{V&&(W==null||W())},[V,W]);const z=(J=P.arrow)==null?void 0:J.x,G=(dr=P.arrow)==null?void 0:dr.y,q=((tn=P.arrow)==null?void 0:tn.centerOffset)!==0,[ve,ke]=x.useState();return Xt(()=>{g&&ke(window.getComputedStyle(g).zIndex)},[g]),f.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:V?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ve,"--radix-popper-transform-origin":[(Un=P.transformOrigin)==null?void 0:Un.x,(nn=P.transformOrigin)==null?void 0:nn.y].join(" "),...((fr=P.hide)==null?void 0:fr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsx(TE,{scope:n,placedSide:_,onArrowChange:C,arrowX:z,arrowY:G,shouldHideArrow:q,children:f.jsx(he.div,{"data-side":_,"data-align":I,...y,ref:v,style:{...y.style,animation:V?void 0:"none"}})})})});ag.displayName=vc;var ug="PopperArrow",RE={top:"bottom",right:"left",bottom:"top",left:"right"},cg=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=_E(ug,r),i=RE[s.placedSide];return f.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:f.jsx(kE,{...o,ref:n,style:{...o.style,display:"block"}})})});cg.displayName=ug;function jE(e){return e!==null}var OE=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:o}=t,i=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[u,c]=dg(n),p={start:"0%",center:"50%",end:"100%"}[c],h=(((g=o.arrow)==null?void 0:g.x)??0)+l/2,d=(((m=o.arrow)==null?void 0:m.y)??0)+a/2;let E="",y="";return u==="bottom"?(E=i?p:`${h}px`,y=`${-a}px`):u==="top"?(E=i?p:`${h}px`,y=`${r.floating.height+a}px`):u==="right"?(E=`${-a}px`,y=i?p:`${d}px`):u==="left"&&(E=`${r.floating.width+a}px`,y=i?p:`${d}px`),{data:{x:E,y}}}});function dg(e){const[t,n="center"]=e.split("-");return[t,n]}var AE=lg,ME=ag,IE=cg,[ll,WC]=so("Tooltip",[og]),yc=og(),fg="TooltipProvider",LE=700,gf="tooltip.open",[DE,pg]=ll(fg),hg=e=>{const{__scopeTooltip:t,delayDuration:n=LE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,i=x.useRef(!0),l=x.useRef(!1),a=x.useRef(0);return x.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),f.jsx(DE,{scope:t,isOpenDelayedRef:i,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(a.current),i.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};hg.displayName=fg;var mg="Tooltip",[HC,al]=ll(mg),tu="TooltipTrigger",FE=x.forwardRef((e,t)=>
vendor: 5,226 bytes, line 131
131{const{__scopeTooltip:n,...r}=e,o=al(tu,n),s=pg(tu,n),i=yc(n),l=x.useRef(null),a=ut(t,l,o.onTriggerChange),u=x.useRef(!1),c=x.useRef(!1),p=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),f.jsx(AE,{asChild:!0,...i,children:f.jsx(he.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:ne(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ne(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ne(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:ne(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ne(e.onBlur,o.onClose),onClick:ne(e.onClick,o.onClose)})})});FE.displayName=tu;var zE="TooltipPortal",[QC,$E]=ll(zE,{forceMount:void 0}),to="TooltipContent",gg=x.forwardRef((e,t)=>{const n=$E(to,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,i=al(to,e.__scopeTooltip);return f.jsx(el,{present:r||i.open,children:i.disableHoverableContent?f.jsx(vg,{side:o,...s,ref:t}):f.jsx(UE,{side:o,...s,ref:t})})}),UE=x.forwardRef((e,t)=>{const n=al(to,e.__scopeTooltip),r=pg(to,e.__scopeTooltip),o=x.useRef(null),s=ut(t,o),[i,l]=x.useState(null),{trigger:a,onClose:u}=n,c=o.current,{onPointerInTransitChange:p}=r,h=x.useCallback(()=>{l(null),p(!1)},[p]),d=x.useCallback((E,y)=>{const w=E.currentTarget,g={x:E.clientX,y:E.clientY},m=QE(g,w.getBoundingClientRect()),v=KE(g,m),S=GE(y.getBoundingClientRect()),C=qE([...v,...S]);l(C),p(!0)},[p]);return x.useEffect(()=>()=>h(),[h]),x.useEffect(()=>{if(a&&c){const E=w=>d(w,c),y=w=>d(w,a);return a.addEventListener("pointerleave",E),c.addEventListener("pointerleave",y),()=>{a.removeEventListener("pointerleave",E),c.removeEventListener("pointerleave",y)}}},[a,c,d,h]),x.useEffect(()=>{if(i){const E=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},m=(a==null?void 0:a.contains(w))||(c==null?void 0:c.contains(w)),v=!YE(g,i);m?h():v&&(h(),u())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[a,c,i,u,h]),f.jsx(vg,{...e,ref:s})}),[BE,VE]=ll(mg,{isInside:!1}),WE=Z0("TooltipContent"),vg=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...l}=e,a=al(to,n),u=yc(n),{onClose:c}=a;return x.useEffect(()=>(document.addEventListener(gf,c),()=>document.removeEventListener(gf,c)),[c]),x.useEffect(()=>{if(a.trigger){const p=h=>{const d=h.target;d!=null&&d.contains(a.trigger)&&c()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[a.trigger,c]),f.jsx(oc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:c,children:f.jsxs(ME,{"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:[f.jsx(WE,{children:r}),f.jsx(BE,{scope:n,isInside:!0,children:f.jsx(Ex,{id:a.contentId,role:"tooltip",children:o||r})})]})})});gg.displayName=to;var yg="TooltipArrow",HE=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=yc(n);return VE(yg,n).isInside?null:f.jsx(IE,{...o,...r,ref:t})});HE.displayName=yg;function QE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function KE(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 GE(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 YE(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const l=t[s],a=t[i],u=l.x,c=l.y,p=a.x,h=a.y;c>r!=h>r&&n<(p-u)*(r-c)/(h-c)+u&&(o=!o)}return o}function qE(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),XE(t)}function XE(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 s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.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 s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.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 ZE=hg,xg=gg;const JE=ZE,eS=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 23,782 bytes, line 131
131f.jsx(xg,{ref:r,sideOffset:t,className:me("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}));eS.displayName=xg.displayName;var ul=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(){}},cl=typeof window>"u"||"Deno"in globalThis;function gt(){}function tS(e,t){return typeof e=="function"?e(t):e}function nS(e){return typeof e=="number"&&e>=0&&e!==1/0}function rS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function nu(e,t){return typeof e=="function"?e(t):e}function oS(e,t){return typeof e=="function"?e(t):e}function vf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:i,stale:l}=e;if(i){if(r){if(t.queryHash!==xc(i,t.options))return!1}else if(!os(t.queryKey,i))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||s&&!s(t))}function yf(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(rs(t.options.mutationKey)!==rs(s))return!1}else if(!os(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function xc(e,t){return((t==null?void 0:t.queryKeyHashFn)||rs)(e)}function rs(e){return JSON.stringify(e,(t,n)=>ru(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function os(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>os(e[n],t[n])):!1}function wg(e,t){if(e===t)return e;const n=xf(e)&&xf(t);if(n||ru(e)&&ru(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),i=s.length,l=n?[]:{},a=new Set(r);let u=0;for(let c=0;c<i;c++){const p=n?c:s[c];(!n&&a.has(p)||n)&&e[p]===void 0&&t[p]===void 0?(l[p]=void 0,u++):(l[p]=wg(e[p],t[p]),l[p]===e[p]&&e[p]!==void 0&&u++)}return o===i&&u===o?e:l}return t}function xf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ru(e){if(!wf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!wf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function wf(e){return Object.prototype.toString.call(e)==="[object Object]"}function sS(e){return new Promise(t=>{setTimeout(t,e)})}function iS(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?wg(e,t):t}function lS(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function aS(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wc=Symbol();function Eg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===wc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Yn,gn,zr,Af,uS=(Af=class extends ul{constructor(){super();Z(this,Yn);Z(this,gn);Z(this,zr);B(this,zr,t=>{if(!cl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){k(this,gn)||this.setEventListener(k(this,zr))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,gn))==null||t.call(this),B(this,gn,void 0))}setEventListener(t){var n;B(this,zr,t),(n=k(this,gn))==null||n.call(this),B(this,gn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){k(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 k(this,Yn)=="boolean"?k(this,Yn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yn=new WeakMap,gn=new WeakMap,zr=new WeakMap,Af),Sg=new uS,$r,vn,Ur,Mf,cS=(Mf=class extends ul{constructor(){super();Z(this,$r,!0);Z(this,vn);Z(this,Ur);B(this,Ur,t=>{if(!cl&&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(){k(this,vn)||this.setEventListener(k(this,Ur))}onUnsubscribe(){var t;this.hasListeners()||((t=k(this,vn))==null||t.call(this),B(this,vn,void 0))}setEventListener(t){var n;B(this,Ur,t),(n=k(this,vn))==null||n.call(this),B(this,vn,t(this.setOnline.bind(this)))}setOnline(t){k(this,$r)!==t&&(B(this,$r,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return k(this,$r)}},$r=new WeakMap,vn=new WeakMap,Ur=new WeakMap,Mf),Ii=new cS;function dS(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});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 fS(e){return Math.min(1e3*2**e,3e4)}function Cg(e){return(e??"online")==="online"?Ii.isOnline():!0}var bg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Zl(e){return e instanceof bg}function Ng(e){let t=!1,n=0,r=!1,o;const s=dS(),i=y=>{var w;r||(h(new bg(y)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>Sg.isFocused()&&(e.networkMode==="always"||Ii.isOnline())&&e.canRun(),c=()=>Cg(e.networkMode)&&e.canRun(),p=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),o==null||o(),s.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),o==null||o(),s.reject(y))},d=()=>new Promise(y=>{var w;o=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),E=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(p).catch(g=>{var b;if(r)return;const m=e.retry??(cl?0:3),v=e.retryDelay??fS,S=typeof v=="function"?v(n,g):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(b=e.onFail)==null||b.call(e,n,g),sS(S).then(()=>u()?void 0:d()).then(()=>{t?h(g):E()})})};return{promise:s,cancel:i,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:a,canStart:c,start:()=>(c()?E():d().then(E),s)}}var pS=e=>setTimeout(e,0);function hS(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=pS;const s=l=>{t?e.push(l):o(()=>{n(l)})},i=()=>{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||i()}return a},batchCalls:l=>(...a)=>{s(()=>{l(...a)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Ie=hS(),qn,If,kg=(If=class{constructor(){Z(this,qn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nS(this.gcTime)&&B(this,qn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(cl?1/0:5*60*1e3))}clearGcTimeout(){k(this,qn)&&(clearTimeout(k(this,qn)),B(this,qn,void 0))}},qn=new WeakMap,If),Br,Xn,nt,Zn,Re,ss,Jn,vt,zt,Lf,mS=(Lf=class extends kg{constructor(t){super();Z(this,vt);Z(this,Br);Z(this,Xn);Z(this,nt);Z(this,Zn);Z(this,Re);Z(this,ss);Z(this,Jn);B(this,Jn,!1),B(this,ss,t.defaultOptions),this.setOptions(t.options),this.observers=[],B(this,Zn,t.client),B(this,nt,k(this,Zn).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,B(this,Br,vS(this.options)),this.state=t.state??k(this,Br),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=k(this,Re))==null?void 0:t.promise}setOptions(t){this.options={...k(this,ss),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,nt).remove(this)}setData(t,n){const r=iS(this.state.data,t,this.options);return Pe(this,vt,zt).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,zt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=k(this,Re))==null?void 0:r.promise;return(o=k(this,Re))==null||o.cancel(t),n?n.then(gt).catch(gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,Br))}isActive(){return this.observers.some(t=>oS(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>nu(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:!rS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,Re))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=k(this,Re))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),k(this,nt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(k(this,Re)&&(k(this,Jn)?k(this,Re).cancel({revert:!0}):k(this,Re).cancelRetry()),this.scheduleGc()),k(this,nt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,vt,zt).call(this,{type:"invalidate"})}fetch(t,n){var u,c,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(k(this,Re))return k(this,Re).continueRetry(),k(this,Re).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,Jn,!0),r.signal)})},s=()=>{const h=Eg(this.options,n),E=(()=>{const y={client:k(this,Zn),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return B(this,Jn,!1),this.options.persister?this.options.persister(h,E,this):h(E)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:k(this,Zn),state:this.state,fetchFn:s};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,zt).call(this,{type:"fetch",meta:(p=l.fetchOptions)==null?void 0:p.meta});const a=h=>{var d,E,y,w;Zl(h)&&h.silent||Pe(this,vt,zt).call(this,{type:"error",error:h}),Zl(h)||((E=(d=k(this,nt).config).onError)==null||E.call(d,h,this),(w=(y=k(this,nt).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return B(this,Re,Ng({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var d,E,y,w;if(h===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){a(g);return}(E=(d=k(this,nt).config).onSuccess)==null||E.call(d,h,this),(w=(y=k(this,nt).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:a,onFail:(h,d)=>{Pe(this,vt,zt).call(this,{type:"failed",failureCount:h,error:d})},onPause:()=>{Pe(this,vt,zt).call(this,{type:"pause"})},onContinue:()=>{Pe(this,vt,zt).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),k(this,Re).start()}},Br=new WeakMap,Xn=new WeakMap,nt=new WeakMap,Zn=new WeakMap,Re=new WeakMap,ss=new WeakMap,Jn=new WeakMap,vt=new WeakSet,zt=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,...gS(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 Zl(o)&&o.revert&&k(this,Xn)?{...k(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),Ie.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),k(this,nt).notify({query:this,type:"updated",action:t})})},Lf);function gS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Cg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function vS(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 Tt,Df,yS=(Df=class extends ul{constructor(t={}){super();Z(this,Tt);this.config=t,B(this,Tt,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??xc(o,n);let i=this.get(s);return i||(i=new mS({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){k(this,Tt).has(t.queryHash)||(k(this,Tt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=k(this,Tt).get(t.queryHash);n&&(t.destroy(),n===t&&k(this,Tt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ie.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return k(this,Tt).get(t)}getAll(){return[...k(this,Tt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>vf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>vf(t,r)):n}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ie.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Tt=new WeakMap,Df),_t,Ae,er,Rt,dn,Ff,xS=(Ff=class extends kg{constructor(t){super();Z(this,Rt);Z(this,_t);Z(this,Ae);Z(this,er);this.mutationId=t.mutationId,B(this,Ae,t.mutationCache),B(this,_t,[]),this.state=t.state||wS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){k(this,_t).includes(t)||(k(this,_t).push(t),this.clearGcTimeout(),k(this,Ae).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){B(this,_t,k(this,_t).filter(n=>n!==t)),this.scheduleGc(),k(this,Ae).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){k(this,_t).length||(this.state.status==="pending"?this.scheduleGc():k(this,Ae).remove(this))}continue(){var t;return((t=k(this,er))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,l,a,u,c,p,h,d,E,y,w,g,m,v,S,C,b,N,T;const n=()=>{Pe(this,Rt,dn).call(this,{type:"continue"})};B(this,er,Ng({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,O)=>{Pe(this,Rt,dn).call(this,{type:"failed",failureCount:A,error:O})},onPause:()=>{Pe(this,Rt,dn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,Ae).canRun(this)}));const r=this.state.status==="pending",o=!k(this,er).canStart();try{if(r)n();else{Pe(this,Rt,dn).call(this,{type:"pending",variables:t,isPaused:o}),await((i=(s=k(this,Ae).config).onMutate)==null?void 0:i.call(s,t,this));const O=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));O!==this.state.context&&Pe(this,Rt,dn).call(this,{type:"pending",context:O,variables:t,isPaused:o})}const A=await k(this,er).start();return await((c=(u=k(this,Ae).config).onSuccess)==null?void 0:c.call(u,A,t,this.state.context,this)),await((h=(p=this.options).onSuccess)==null?void 0:h.call(p,A,t,this.state.context)),await((E=(d=k(this,Ae).config).onSettled)==null?void 0:E.call(d,A,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,A,null,t,this.state.context)),Pe(this,Rt,dn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((m=(g=k(this,Ae).config).onError)==null?void 0:m.call(g,A,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,A,t,this.state.context)),await((b=(C=k(this,Ae).config).onSettled)==null?void 0:b.call(C,void 0,A,this.state.variables,this.state.context,this)),await((T=(N=this.options).onSettled)==null?void 0:T.call(N,void 0,A,t,this.state.context)),A}finally{Pe(this,Rt,dn).call(this,{type:"error",error:A})}}finally{k(this,Ae).runNext(this)}}},_t=new WeakMap,Ae=new WeakMap,er=new WeakMap,Rt=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),Ie.batch(()=>{k(this,_t).forEach(r=>{r.onMutationUpdate(t)}),k(this,Ae).notify({mutation:this,type:"updated",action:t})})},Ff);function wS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Bt,yt,is,zf,ES=(zf=class extends ul{constructor(t={}){super();Z(this,Bt);Z(this,yt);Z(this,is);this.config=t,B(this,Bt,new Set),B(this,yt,new Map),B(this,is,0)}build(t,n,r){const o=new xS({mutationCache:this,mutationId:++xs(this,is)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){k(this,Bt).add(t);const n=Us(t);if(typeof n=="string"){const r=k(this,yt).get(n);r?r.push(t):k(this,yt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(k(this,Bt).delete(t)){const n=Us(t);if(typeof n=="string"){const r=k(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&&k(this,yt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Us(t);if(typeof n=="string"){const r=k(this,yt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Us(t);if(typeof n=="string"){const o=(r=k(this,yt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ie.batch(()=>{k(this,Bt).forEach(t=>{this.notify({type:"removed",mutation:t})}),k(this,Bt).clear(),k(this,yt).clear()})}getAll(){return Array.from(k(this,Bt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>yf(n,r))}findAll(t={}){return this.getAll().filter(n=>yf(t,n))}notify(t){Ie.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ie.batch(()=>Promise.all(t.map(n=>n.continue().catch(gt))))}},Bt=new WeakMap,yt=new WeakMap,is=new WeakMap,zf);function Us(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ef(e){return{onFetch:(t,n)=>{var c,p,h,d,E;const r=t.options,o=(h=(p=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:p.fetchMore)==null?void 0:h.direction,s=((d=t.state.data)==null?void 0:d.pages)||[],i=((E=t.state.data)==null?void 0:E.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=Eg(t.options,t.fetchOptions),m=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const N=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return w($),$})(),T=await g(N),{maxPages:A}=t.options,O=C?aS:lS;return{pages:O(v.pages,T,A),pageParams:O(v.pageParams,S,A)}};if(o&&s.length){const v=o==="backward",S=v?SS:Sf,C={pages:s,pageParams:i},b=S(r,C);l=await m(C,b,v)}else{const v=e??s.length;do{const S=a===0?i[0]??r.initialPageParam:Sf(r,l);if(a>0&&S==null)break;l=await m(l,S),a++}while(a<v)}return l};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Sf(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 SS(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 fe,yn,xn,Vr,Wr,wn,Hr,Qr,$f,CS=($f=class{constructor(e={}){Z(this,fe);Z(this,yn);Z(this,xn);Z(this,Vr);Z(this,Wr);Z(this,wn);Z(this,Hr);Z(this,Qr);B(this,fe,e.queryCache||new yS),B(this,yn,e.mutationCache||new ES),B(this,xn,e.defaultOptions||{}),B(this,Vr,new Map),B(this,Wr,new Map),B(this,wn,0)}mount(){xs(this,wn)._++,k(this,wn)===1&&(B(this,Hr,Sg.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,fe).onFocus())})),B(this,Qr,Ii.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,fe).onOnline())})))}unmount(){var e,t;xs(this,wn)._--,k(this,wn)===0&&((e=k(this,Hr))==null||e.call(this),B(this,Hr,void 0),(t=k(this,Qr))==null||t.call(this),B(this,Qr,void 0))}isFetching(e){return k(this,fe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return k(this,yn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,fe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=k(this,fe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(nu(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return k(this,fe).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=k(this,fe).get(r.queryHash),s=o==null?void 0:o.state.data,i=tS(t,s);if(i!==void 0)return k(this,fe).build(this,r).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Ie.batch(()=>k(this,fe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=k(this,fe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=k(this,fe);Ie.batch(()=>
131{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=k(this,fe);return Ie.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ie.batch(()=>k(this,fe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(gt).catch(gt)}invalidateQueries(e,t={}){return Ie.batch(()=>(k(this,fe).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=Ie.batch(()=>k(this,fe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(gt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=k(this,fe).build(this,t);return n.isStaleByTime(nu(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=Ef(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gt).catch(gt)}ensureInfiniteQueryData(e){return e.behavior=Ef(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ii.isOnline()?k(this,yn).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,fe)}getMutationCache(){return k(this,yn)}getDefaultOptions(){return k(this,xn)}setDefaultOptions(e){B(this,xn,e)}setQueryDefaults(e,t){k(this,Vr).set(rs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...k(this,Vr).values()],n={};return t.forEach(r=>{os(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){k(this,Wr).set(rs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...k(this,Wr).values()],n={};return t.forEach(r=>{os(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...k(this,xn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xc(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===wc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...k(this,xn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){k(this,fe).clear(),k(this,yn).clear()}},fe=new WeakMap,yn=new WeakMap,xn=new WeakMap,Vr=new WeakMap,Wr=new WeakMap,wn=new WeakMap,Hr=new WeakMap,Qr=new WeakMap,$f),bS=x.createContext(void 0),NS=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),f.jsx(bS.Provider,{value:e,children:t}));/** 132 * @remix-run/router v1.23.0 133 * 134 * Copyright (c) Remix Software Inc. 135 * 136 * This source code is licensed under the MIT license found in the 137 * LICENSE.md file in the root directory of this source tree. 138 * 139 * @license MIT 140 */function Li(){return Li=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},Li.apply(this,arguments)}var Cn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Cn||(Cn={}));const Cf="popstate";function kS(e){e===void 0&&(e={});function t(r,o){let{pathname:s,search:i,hash:l}=r.location;return ou("",{pathname:s,search:i,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Tg(o)}return TS(t,n,null,e)}function He(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Pg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function PS(){return Math.random().toString(36).substr(2,8)}function bf(e,t){return{usr:e.state,key:e.key,idx:t}}function ou(e,t,n,r){return n===void 0&&(n=null),Li({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?dl(t):t,{state:n,key:t&&t.key||r||PS()})}function Tg(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 dl(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 TS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,i=o.history,l=Cn.Pop,a=null,u=c();u==null&&(u=0,i.replaceState(Li({},i.state,{idx:u}),""));function c(){return(i.state||{idx:null}).idx}function p(){l=Cn.Pop;let w=c(),g=w==null?null:w-u;u=w,a&&a({action:l,location:y.location,delta:g})}function h(w,g){l=Cn.Push;let m=ou(y.location,w,g);u=c()+1;let v=bf(m,u),S=y.createHref(m);try{i.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}s&&a&&a({action:l,location:y.location,delta:1})}function d(w,g){l=Cn.Replace;let m=ou(y.location,w,g);u=c();let v=bf(m,u),S=y.createHref(m);i.replaceState(v,"",S),s&&a&&a({action:l,location:y.location,delta:0})}function E(w){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Tg(w);return m=m.replace(/ $/,"%20"),He(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return l},get location(){return e(o,i)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Cf,p),a=w,()=>{o.removeEventListener(Cf,p),a=null}},createHref(w){return t(o,w)},createURL:E,encodeLocation(w){let g=E(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:d,go(w){return i.go(w)}};return y}var Nf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Nf||(Nf={}));
vendor: 6,418 bytes, lines 140-149
140function _S(e,t,n){return n===void 0&&(n="/"),RS(e,t,n,!1)}function RS(e,t,n,r){let o=typeof t=="string"?dl(t):t,s=jg(o.pathname||"/",n);if(s==null)return null;let i=_g(e);jS(i);let l=null;for(let a=0;l==null&&a<i.length;++a){let u=BS(s);l=$S(i[a],u,r)}return l}function _g(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(s,i,l)=>{let a={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};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=Fr([r,a.relativePath]),c=n.concat(a);s.children&&s.children.length>0&&(He(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),_g(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:FS(u,s.index),routesMeta:c})};return e.forEach((s,i)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,i);else for(let a of Rg(s.path))o(s,i,a)}),t}function Rg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let i=Rg(r.join("/")),l=[];return l.push(...i.map(a=>a===""?s:[s,a].join("/"))),o&&l.push(...i),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function jS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:zS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const OS=/^:[\w-]+$/,AS=3,MS=2,IS=1,LS=10,DS=-2,kf=e=>e==="*";function FS(e,t){let n=e.split("/"),r=n.length;return n.some(kf)&&(r+=DS),t&&(r+=MS),n.filter(o=>!kf(o)).reduce((o,s)=>o+(OS.test(s)?AS:s===""?IS:LS),r)}function zS(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 $S(e,t,n){let{routesMeta:r}=e,o={},s="/",i=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",p=Pf({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},c),h=a.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=Pf({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!p)return null;Object.assign(o,p.params),i.push({params:o,pathname:Fr([s,p.pathname]),pathnameBase:VS(Fr([s,p.pathnameBase])),route:h}),p.pathnameBase!=="/"&&(s=Fr([s,p.pathnameBase]))}return i}function Pf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=US(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,c,p)=>{let{paramName:h,isOptional:d}=c;if(h==="*"){let y=l[p]||"";i=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const E=l[p];return d&&!E?u[h]=void 0:u[h]=(E||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:i,pattern:e}}function US(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Pg(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,(i,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 BS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Pg(!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 jg(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 Fr=e=>e.join("/").replace(/\/\/+/g,"/"),VS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function WS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Og=["post","put","patch","delete"];new Set(Og);const HS=["get",...Og];new Set(HS);/** 141 * React Router v6.30.1 142 * 143 * Copyright (c) Remix Software Inc. 144 * 145 * This source code is licensed under the MIT license found in the 146 * LICENSE.md file in the root directory of this source tree. 147 * 148 * @license MIT 149 */function Di(){return Di=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},Di.apply(this,arguments)}const QS=x.createContext(null),KS=x.createContext(null),Ag=x.createContext(null),fl=x.createContext(null),pl=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Mg=x.createContext(null);function Ec(){return x.useContext(fl)!=null}function Ig(){return Ec()||He(!1),x.useContext(fl).location}function GS(e,t){return YS(e,t)}function YS(e,t,n,r){Ec()||He(!1);let{navigator:o}=x.useContext(Ag),{matches:s}=x.useContext(pl),i=s[s.length-1],l=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let u=Ig(),c;if(t){var p;let w=typeof t=="string"?dl(t):t;a==="/"||(p=w.pathname)!=null&&p.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 E=_S(e,{pathname:d}),y=eC(E&&E.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Fr([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:Fr([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?x.createElement(fl.Provider,{value:{location:Di({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Cn.Pop}},y):y}function qS(){let e=oC(),t=WS(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
149Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const XS=x.createElement(qS,null);class ZS 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(pl.Provider,{value:this.props.routeContext},x.createElement(Mg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function JS(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(QS);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(pl.Provider,{value:t},r)}function eC(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let c=i.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);c>=0||He(!1),i=i.slice(0,Math.min(i.length,c+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<i.length;c++){let p=i[c];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=c),p.route.id){let{loaderData:h,errors:d}=n,E=p.route.loader&&h[p.route.id]===void 0&&(!d||d[p.route.id]===void 0);if(p.route.lazy||E){a=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((c,p,h)=>{let d,E=!1,y=null,w=null;n&&(d=l&&p.route.id?l[p.route.id]:void 0,y=p.route.errorElement||XS,a&&(u<0&&h===0?(E=!0,w=null):u===h&&(E=!0,w=p.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),m=()=>{let v;return d?v=y:E?v=w:p.route.Component?v=x.createElement(p.route.Component,null):p.route.element?v=p.route.element:v=c,x.createElement(JS,{match:p,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?x.createElement(ZS,{location:n.location,revalidation:n.revalidation,component:y,error:d,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var su=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}(su||{});function tC(e){let t=x.useContext(KS);return t||He(!1),t}function nC(e){let t=x.useContext(pl);return t||He(!1),t}function rC(e){let t=nC(),n=t.matches[t.matches.length-1];return n.route.id||He(!1),n.route.id}function oC(){var e;let t=x.useContext(Mg),n=tC(su.UseRouteError),r=rC(su.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function sC(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function iu(e){He(!1)}function iC(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Cn.Pop,navigator:s,static:i=!1,future:l}=e;Ec()&&He(!1);let a=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:a,navigator:s,static:i,future:Di({v7_relativeSplatPath:!1},l)}),[a,l,s,i]);typeof r=="string"&&(r=dl(r));let{pathname:c="/",search:p="",hash:h="",state:d=null,key:E="default"}=r,y=x.useMemo(()=>{let w=jg(c,a);return w==null?null:{location:{pathname:w,search:p,hash:h,state:d,key:E},navigationType:o}},[a,c,p,h,d,E,o]);return y==null?null:x.createElement(Ag.Provider,{value:u},x.createElement(fl.Provider,{children:n,value:y}))}function lC(e){let{children:t,location:n}=e;return GS(lu(t),n)}new Promise(()=>{});function lu(e,t){t===void 0&&(t=[]);let n=[];
149return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let s=[...t,o];if(r.type===x.Fragment){n.push.apply(n,lu(r.props.children,s));return}r.type!==iu&&He(!1),!r.props.index||!r.props.children||He(!1);let i={id:r.props.id||s.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&&(i.children=lu(r.props.children,s)),n.push(i)}),n}/** 150 * React Router DOM v6.30.1 151 * 152 * Copyright (c) Remix Software Inc. 153 * 154 * This source code is licensed under the MIT license found in the 155 * LICENSE.md file in the root directory of this source tree. 156 * 157 * @license MIT 158 */const aC="6";try{window.__reactRouterVersion=aC}catch{}const uC="startTransition",Tf=pu[uC];function cC(e){let{basename:t,children:n,future:r,window:o}=e,s=x.useRef();s.current==null&&(s.current=kS({window:o,v5Compat:!0}));let i=s.current,[l,a]=x.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},c=x.useCallback(p=>{u&&Tf?Tf(()=>a(p)):a(p)},[a,u]);return x.useLayoutEffect(()=>i.listen(c),[i,c]),x.useEffect(()=>sC(r),[r]),x.createElement(iC,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:i,future:r})}var _f;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_f||(_f={}));var Rf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rf||(Rf={}));const dC=rl("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"}}),oi=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?q0:"button";return f.jsx(i,{className:me(dC({variant:t,size:n,className:e})),ref:s,...o})});oi.displayName="Button";const ko=x.forwardRef(({className:e,type:t,...n},r)=>f.jsx("input",{type:t,className:me("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ko.displayName="Input";var fC="Label",Lg=x.forwardRef((e,t)=>f.jsx(he.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Lg.displayName=fC;var Dg=Lg;const pC=rl("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Po=x.forwardRef(({className:e,...t},n)=>f.jsx(Dg,{ref:n,className:me(pC(),e),...t}));Po.displayName=Dg.displayName;var hC=x.createContext(void 0);function Fg(e){const t=x.useContext(hC);return e||t||"ltr"}var Jl="rovingFocusGroup.onEntryFocus",mC={bubbles:!1,cancelable:!0},ms="RovingFocusGroup",[au,zg,gC]=om(ms),[vC,$g]=so(ms,[gC]),[yC,xC]=vC(ms),Ug=x.forwardRef((e,t)=>
vendor: 1,748 bytes, line 158
158f.jsx(au.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsx(au.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsx(wC,{...e,ref:t})})}));Ug.displayName=ms;var wC=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:a,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...p}=e,h=x.useRef(null),d=ut(t,h),E=Fg(s),[y,w]=sc({prop:i,defaultProp:l??null,onChange:a,caller:ms}),[g,m]=x.useState(!1),v=qt(u),S=zg(n),C=x.useRef(!1),[b,N]=x.useState(0);return x.useEffect(()=>{const T=h.current;if(T)return T.addEventListener(Jl,v),()=>T.removeEventListener(Jl,v)},[v]),f.jsx(yC,{scope:n,orientation:r,dir:E,loop:o,currentTabStopId:y,onItemFocus:x.useCallback(T=>w(T),[w]),onItemShiftTab:x.useCallback(()=>m(!0),[]),onFocusableItemAdd:x.useCallback(()=>N(T=>T+1),[]),onFocusableItemRemove:x.useCallback(()=>N(T=>T-1),[]),children:f.jsx(he.div,{tabIndex:g||b===0?-1:0,"data-orientation":r,...p,ref:d,style:{outline:"none",...e.style},onMouseDown:ne(e.onMouseDown,()=>{C.current=!0}),onFocus:ne(e.onFocus,T=>{const A=!C.current;if(T.target===T.currentTarget&&A&&!g){const O=new CustomEvent(Jl,mC);if(T.currentTarget.dispatchEvent(O),!O.defaultPrevented){const $=S().filter(F=>F.focusable),L=$.find(F=>F.active),Q=$.find(F=>F.id===y),K=[L,Q,...$].filter(Boolean).map(F=>F.ref.current);Wg(K,c)}}C.current=!1}),onBlur:ne(e.onBlur,()=>m(!1))})})}),Bg="RovingFocusGroupItem",Vg=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:i,...l}=e,a=Vm(),u=s||a,c=xC(Bg,n),p=c.currentTabStopId===u,h=zg(n),{onFocusableItemAdd:d,onFocusableItemRemove:E,currentTabStopId:y}=c;return x.useEffect(()=>{if(r)return d(),()=>E()}
vendor: 4,519 bytes, line 158
158,[r,d,E]),f.jsx(au.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:f.jsx(he.span,{tabIndex:p?0:-1,"data-orientation":c.orientation,...l,ref:t,onMouseDown:ne(e.onMouseDown,w=>{r?c.onItemFocus(u):w.preventDefault()}),onFocus:ne(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:ne(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){c.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const g=CC(w,c.orientation,c.dir);if(g!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let v=h().filter(S=>S.focusable).map(S=>S.ref.current);if(g==="last")v.reverse();else if(g==="prev"||g==="next"){g==="prev"&&v.reverse();const S=v.indexOf(w.currentTarget);v=c.loop?bC(v,S+1):v.slice(S+1)}setTimeout(()=>Wg(v))}}),children:typeof i=="function"?i({isCurrentTabStop:p,hasTabStop:y!=null}):i})})});Vg.displayName=Bg;var EC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function SC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function CC(e,t,n){const r=SC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return EC[r]}function Wg(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function bC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var NC=Ug,kC=Vg,hl="Tabs",[PC,KC]=so(hl,[$g]),Hg=$g(),[TC,Sc]=PC(hl),Qg=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:l,activationMode:a="automatic",...u}=e,c=Fg(l),[p,h]=sc({prop:r,onChange:o,defaultProp:s??"",caller:hl});return f.jsx(TC,{scope:n,baseId:Vm(),value:p,onValueChange:h,orientation:i,dir:c,activationMode:a,children:f.jsx(he.div,{dir:c,"data-orientation":i,...u,ref:t})})});Qg.displayName=hl;var Kg="TabsList",Gg=x.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,s=Sc(Kg,n),i=Hg(n);return f.jsx(NC,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:r,children:f.jsx(he.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});Gg.displayName=Kg;var Yg="TabsTrigger",qg=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,i=Sc(Yg,n),l=Hg(n),a=Jg(i.baseId,r),u=ev(i.baseId,r),c=r===i.value;return f.jsx(kC,{asChild:!0,...l,focusable:!o,active:c,children:f.jsx(he.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:a,...s,ref:t,onMouseDown:ne(e.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?i.onValueChange(r):p.preventDefault()}),onKeyDown:ne(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&i.onValueChange(r)}),onFocus:ne(e.onFocus,()=>{const p=i.activationMode!=="manual";!c&&!o&&p&&i.onValueChange(r)})})})});qg.displayName=Yg;var Xg="TabsContent",Zg=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:s,...i}=e,l=Sc(Xg,n),a=Jg(l.baseId,r),u=ev(l.baseId,r),c=r===l.value,p=x.useRef(c);return x.useEffect(()=>{const h=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(h)},[]),f.jsx(el,{present:o||c,children:({present:h})=>f.jsx(he.div,{"data-state":c?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":a,hidden:!h,id:u,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:h&&s})})});Zg.displayName=Xg;function Jg(e,t){return`${e}-trigger-${t}`}function ev(e,t){return`${e}-content-${t}`}var _C=Qg,tv=Gg,nv=qg,rv=Zg;const ov=_C,Cc=x.forwardRef(({className:e,...t},n)=>f.jsx(tv,{ref:n,className:me("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));Cc.displayName=tv.displayName;const bn=x.forwardRef(({className:e,...t},n)=>f.jsx(nv,{ref:n,className:me("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));bn.displayName=nv.displayName;const Nn=x.forwardRef(({className:e,...t},n)=>f.jsx(rv,{ref:n,className:me("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));
158Nn.displayName=rv.displayName;const bc=x.forwardRef(({className:e,...t},n)=>f.jsx("div",{ref:n,className:me("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));bc.displayName="Card";const Nc=x.forwardRef(({className:e,...t},n)=>f.jsx("div",{ref:n,className:me("flex flex-col space-y-1.5 p-6",e),...t}));Nc.displayName="CardHeader";const sv=x.forwardRef(({className:e,...t},n)=>f.jsx("h3",{ref:n,className:me("text-2xl font-semibold leading-none tracking-tight",e),...t}));sv.displayName="CardTitle";const kc=x.forwardRef(({className:e,...t},n)=>f.jsx("p",{ref:n,className:me("text-sm text-muted-foreground",e),...t}));kc.displayName="CardDescription";const Pc=x.forwardRef(({className:e,...t},n)=>f.jsx("div",{ref:n,className:me("p-6 pt-0",e),...t}));Pc.displayName="CardContent";const RC=x.forwardRef(({className:e,...t},n)=>f.jsx("div",{ref:n,className:me("flex items-center p-6 pt-0",e),...t}));RC.displayName="CardFooter";const jC=({onSearch:e,isLoading:t})=>{const[n,r]=x.useState(""),[o,s]=x.useState(""),[i,l]=x.useState(""),[a,u]=x.useState(""),c=d=>{d.preventDefault(),n.trim()&&e("id",n.trim())},p=d=>{d.preventDefault(),o.trim()&&e("postal",o.trim(),i.trim()||void 0)},h=d=>{d.preventDefault(),a.trim()&&e("address",a.trim())};return f.jsxs(bc,{className:"shadow-lg border-border/50",children:[f.jsxs(Nc,{children:[f.jsx("h2",{className:"text-2xl font-semibold leading-none tracking-tight",children:"Rechercher un DPE dans la base ADEME"}),f.jsx(kc,{children:"Choisissez un critère pour retrouver un diagnostic existant."})]}),f.jsx(Pc,{children:f.jsxs(ov,{defaultValue:"id",className:"w-full",children:[f.jsxs(Cc,{className:"grid w-full grid-cols-3",children:[f.jsxs(bn,{value:"id",className:"gap-2",children:[f.jsx(Om,{className:"w-4 h-4"}),"Par numéro DPE"]}),f.jsxs(bn,{value:"address",className:"gap-2",children:[f.jsx(Jd,{className:"w-4 h-4"}),"Par adresse"]}),f.jsxs(bn,{value:"postal",className:"gap-2",children:[f.jsx(Jd,{className:"w-4 h-4"}),"Par code postal"]})]}),f.jsx(Nn,{value:"id",className:"space-y-4 mt-4",children:f.jsxs("form",{onSubmit:c,className:"space-y-4",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx(Po,{htmlFor:"dpe-id",children:"Numéro DPE"}),f.jsx(ko,{id:"dpe-id",type:"text",placeholder:"Ex: 2311E1234567",value:n,onChange:d=>r(d.target.value),disabled:t,className:"text-base"}),f.jsx("p",{className:"text-xs text-muted-foreground",children:"Le numéro à 13 caractères figure sur le rapport DPE."})]}),f.jsx(oi,{type:"submit",className:"w-full",disabled:t||!n.trim(),size:"lg",children:t?"Recherche en cours...":"Rechercher"})]})}),f.jsx(Nn,{value:"address",className:"space-y-4 mt-4",children:f.jsxs("form",{onSubmit:h,className:"space-y-4",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx(Po,{htmlFor:"address",children:"Adresse du bien"}),f.jsx(ko,{id:"address",type:"text",placeholder:"Ex: 10 rue de la Paix, Paris",value:a,onChange:d=>u(d.target.value),disabled:t,className:"text-base"}),f.jsx("p",{className:"text-xs text-muted-foreground",children:"Entrez l'adresse complète du bien (numéro, rue, ville)"})]}),f.jsx(oi,{type:"submit",className:"w-full",disabled:t||!a.trim(),size:"lg",children:t?"Recherche en cours...":"Rechercher"})]})}),f.jsx(Nn,{value:"postal",className:"space-y-4 mt-4",children:f.jsxs("form",{onSubmit:p,className:"space-y-4",children:[f.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx(Po,{htmlFor:"postal-code",children:"Code postal"}),f.jsx(ko,{id:"postal-code",type:"text",placeholder:"Ex: 75001",value:o,onChange:d=>s(d.target.value),disabled:t,maxLength:5,className:"text-base"})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx(Po,{htmlFor:"city",children:"Commune (facultatif)"}),f.jsx(ko,{id:"city",type:"text",placeholder:"Ex: Paris",value:i,onChange:d=>l(d.target.value),disabled:t,className:"text-base"})]})]}),f.jsx("p",{className:"text-xs text-muted-foreground",children:"La recherche peut afficher plusieurs DPE enregistrés dans cette zone."}),f.jsx(oi,{type:"submit",className:"w-full",disabled:t||!o.trim(),size:"lg",children:t?"Recherche en cours...":"Rechercher"})]})})]})})]})};var OC="Separator",jf="horizontal",AC=["horizontal","vertical"],iv=x.forwardRef((e,t)=>
158{const{decorative:n,orientation:r=jf,...o}=e,s=MC(r)?r:jf,l=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return f.jsx(he.div,{"data-orientation":s,...l,...o,ref:t})});iv.displayName=OC;function MC(e){return AC.includes(e)}var lv=iv;const si=x.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},o)=>f.jsx(lv,{ref:o,decorative:n,orientation:t,className:me("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));si.displayName=lv.displayName;const IC=rl("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 Bs({className:e,variant:t,...n}){return f.jsx("div",{className:me(IC({variant:t}),e),...n})}const Of=({classe:e,size:t="medium",label:n})=>{const r=s=>({A:"bg-[hsl(var(--dpe-a))] text-white",B:"bg-[hsl(var(--dpe-b))] text-white",C:"bg-[hsl(var(--dpe-c))] text-gray-900",D:"bg-[hsl(var(--dpe-d))] text-gray-900",E:"bg-[hsl(var(--dpe-e))] text-white",F:"bg-[hsl(var(--dpe-f))] text-white",G:"bg-[hsl(var(--dpe-g))] text-white"})[s]||"bg-muted text-muted-foreground",o={small:"text-xs px-2 py-0.5 min-w-[2rem]",medium:"text-sm px-3 py-1 min-w-[2.5rem]",large:"text-2xl px-6 py-3 min-w-[4rem]"};return f.jsxs("div",{className:"inline-flex items-center gap-2",children:[n&&f.jsx("span",{className:"text-xs text-muted-foreground font-medium",children:n}),f.jsx("div",{className:me("inline-flex items-center justify-center font-bold rounded-lg shadow-sm transition-transform hover:scale-105",r(e),o[t]),children:e})]})},LC=({data:e})=>{var o,s;const t=i=>{try{return new Date(i).toLocaleDateString("fr-FR",{year:"numeric",month:"long",day:"numeric"})}catch{return i}},n=i=>({A:"Excellent : logement très performant énergétiquement",B:"Très bien : logement avec une bonne performance énergétique",C:"Bien : logement avec une performance énergétique satisfaisante",D:"Moyen : logement avec une performance énergétique moyenne",E:"Médiocre : logement énergivore, des améliorations sont recommandées",F:"Mauvais : logement très énergivore, des travaux sont fortement recommandés",G:"Très mauvais : logement extrêmement énergivore, des travaux sont indispensables"})[i]||"Classification non disponible",r=i=>{if(!i)return"secondary";const l=i.toLowerCase();return l.includes("bonne")||l.includes("très bonne")?"default":l.includes("moyenne")?"secondary":"destructive"};return f.jsxs(bc,{className:"shadow-lg border-border/50",children:[f.jsx(Nc,{children:f.jsxs("div",{className:"flex items-start justify-between gap-4 flex-wrap",children:[f.jsxs("div",{className:"space-y-1 flex-1 min-w-[200px]",children:[f.jsx(sv,{className:"text-2xl",children:"Détails du DPE"}),f.jsx(kc,{className:"text-base",children:e.adresse_ban||e.adresse_brut||`${e.nom_commune_ban||e.nom_commune_brut} (${e.code_postal_ban||e.code_postal_brut})`})]}),f.jsxs("div",{className:"flex gap-3",children:[f.jsx(Of,{classe:e.etiquette_dpe,size:"large"}),f.jsx(Of,{classe:e.etiquette_ges,size:"large",label:"GES"})]})]})}),f.jsxs(Pc,{className:"space-y-6",children:[f.jsx("div",{className:"p-4 bg-accent/50 rounded-lg border border-accent",children:f.jsx("p",{className:"text-sm font-medium text-accent-foreground",children:n(e.etiquette_dpe)})}),f.jsxs(ov,{defaultValue:"synthese",className:"w-full",children:[f.jsxs(Cc,{className:"grid w-full grid-cols-4",children:[f.jsx(bn,{value:"synthese",children:"Synthèse"}),f.jsx(bn,{value:"details",children:"Détails"}),f.jsx(bn,{value:"couts",children:"Coûts"}),f.jsx(bn,{value:"infos",children:"Infos"})]}),f.jsxs(Nn,{value:"synthese",className:"space-y-4 mt-4",children:[(e.adresse_ban||e.adresse_brut)&&f.jsx("div",{className:"p-4 bg-primary/10 rounded-lg border border-primary/20",children:f.jsxs("div",{className:"flex items-start gap-3",children:[f.jsx("div",{className:"p-2 bg-primary/20 rounded-lg mt-0.5",children:f.jsx(Zd,{className:"w-5 h-5 text-primary"})}),f.jsxs("div",{className:"flex-1",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Adresse du bien"}),f.jsx("p",{className:"font-semibold text-lg",children:e.adresse_ban||e.adresse_brut})]})]})}),f.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[f.jsxs("div",{className:"space-y-2 p-4 bg-muted/50 rounded-lg",children:[f.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[f.jsx(Xd,{className:"w-5 h-5"}),f.jsx("span",{className:"text-sm font-medium",children:"Consommation dâénergie primaire"})]}),f.jsxs("p",{className:"text-2xl font-bold text-foreground",children:[((o=e.conso_5_usages_par_m2_ep)==null?void 0:o.toFixed(0))||"N/A",f.jsx("span",{className:"text-base font-normal text-muted-foreground ml-1",children:"kWh EP/m²/an"})]})]}),f.jsxs("div",{className:"space-y-2 p-4 bg-muted/50 rounded-lg",children:[f.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[f.jsx(Hx,{className:"w-5 h-5"}),f.jsx("span",{className:"text-sm font-medium",children:"Ãmissions GES"})]}),f.jsxs("p",{className:"text-2xl font-bold text-foreground",children:[((s=e.emission_ges_5_usages_par_m2)==null?void 0:s.toFixed(0))||"N/A",f.jsx("span",{className:"text-base font-normal text-muted-foreground ml-1",children:"kg COâ/m²/an"})]})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsx("h3",{className:"font-semibold text-lg",children:"Caractéristiques du logement"}),f.jsxs("div",{className:"grid gap-3 sm:grid-cols-3",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:f.jsx(Zd,{className:"w-5 h-5 text-primary"})}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs text-muted-foreground",children:"Surface"}),f.jsxs("p",{className:"font-semibold",children:[e.surface_habitable_logement," m²"]})]})]}),f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:f.jsx(Vx,{className:"w-5 h-5 text-primary"})}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs text-muted-foreground",children:"Type"}),f.jsx("p",{className:"font-semibold capitalize",children:e.type_batiment||"Non spécifié"})]})]}),f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:f.jsx(Wx,{className:"w-5 h-5 text-primary"})}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs text-muted-foreground",children:"Construction"}),f.jsx("p",{className:"font-semibold text-sm",children:e.annee_construction||e.periode_construction||"N/A"})]})]})]})]}),e.indicateur_confort_ete&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg flex items-center gap-2",children:[f.jsx(Yx,{className:"w-5 h-5 text-muted-foreground"}),f.jsxs("div",{children:[f.jsx("p",{className:"text-xs text-muted-foreground",children:"Confort d'été"}),f.jsx("p",{className:"font-semibold capitalize",children:e.indicateur_confort_ete})]})]})]}
158),f.jsxs(Nn,{value:"details",className:"space-y-4 mt-4",children:[f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h3",{className:"font-semibold flex items-center gap-2",children:[f.jsx(Xd,{className:"w-5 h-5"}),"Chauffage et eau chaude"]}),f.jsxs("div",{className:"grid gap-3",children:[e.type_energie_principale_chauffage&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Ãnergie de chauffage"}),f.jsx("p",{className:"font-medium",children:e.type_energie_principale_chauffage})]}),e.description_generateur_chauffage_n1_installation_n1&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Système de chauffage"}),f.jsx("p",{className:"text-sm",children:e.description_generateur_chauffage_n1_installation_n1})]}),e.type_energie_principale_ecs&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Ãnergie eau chaude sanitaire"}),f.jsx("p",{className:"font-medium",children:e.type_energie_principale_ecs})]}),e.description_generateur_n1_ecs_n1&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Système eau chaude"}),f.jsx("p",{className:"text-sm",children:e.description_generateur_n1_ecs_n1})]})]})]}),f.jsx(si,{}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h3",{className:"font-semibold flex items-center gap-2",children:[f.jsx(Gx,{className:"w-5 h-5"}),"Isolation"]}),f.jsxs("div",{className:"grid gap-2 sm:grid-cols-2",children:[e.qualite_isolation_enveloppe&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Enveloppe"}),f.jsx(Bs,{variant:r(e.qualite_isolation_enveloppe),className:"capitalize",children:e.qualite_isolation_enveloppe})]}),e.qualite_isolation_murs&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Murs"}),f.jsx(Bs,{variant:r(e.qualite_isolation_murs),className:"capitalize",children:e.qualite_isolation_murs})]}),e.qualite_isolation_menuiseries&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Menuiseries"}),f.jsx(Bs,{variant:r(e.qualite_isolation_menuiseries),className:"capitalize",children:e.qualite_isolation_menuiseries})]}),e.qualite_isolation_plancher_bas&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Plancher bas"}),f.jsx(Bs,{variant:r(e.qualite_isolation_plancher_bas),className:"capitalize",children:e.qualite_isolation_plancher_bas})]})]})]}),f.jsx(si,{}),e.type_ventilation&&f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h3",{className:"font-semibold flex items-center gap-2",children:[f.jsx(Xx,{className:"w-5 h-5"}),"Ventilation"]}),f.jsx("div",{className:"p-3 bg-muted/50 rounded-lg",children:f.jsx("p",{className:"text-sm",children:e.type_ventilation})})]}),f.jsx(si,{}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h3",{className:"font-semibold flex items-center gap-2",children:[f.jsx(qx,{className:"w-5 h-5"}),"Consommations détaillées (kWh/an)"]}),f.jsxs("div",{className:"grid gap-2",children:[e.conso_chauffage_ep!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Chauffage"}),f.jsxs("span",{className:"font-semibold",children:[e.conso_chauffage_ep.toFixed(0)," kWh"]})]}),e.conso_ecs_ep!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Eau chaude"}),f.jsxs("span",{className:"font-semibold",children:[e.conso_ecs_ep.toFixed(0)," kWh"]})]}),e.conso_eclairage_ep!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Ãclairage"}),f.jsxs("span",{className:"font-semibold",children:[e.conso_eclairage_ep.toFixed(0)," kWh"]})]}),e.conso_auxiliaires_ep!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Auxiliaires"}),f.jsxs("span",{className:"font-semibold",children:[e.conso_auxiliaires_ep.toFixed(0)," kWh"]})]}),e.conso_refroidissement_ep!==void 0&&e.conso_refroidissement_ep>0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Refroidissement"}),f.jsxs("span",{className:"font-semibold",children:[e.conso_refroidissement_ep.toFixed(0)," kWh"]})]})]})]})]}
158),f.jsx(Nn,{value:"couts",className:"space-y-4 mt-4",children:f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h3",{className:"font-semibold flex items-center gap-2",children:[f.jsx(Qx,{className:"w-5 h-5"}),"Coûts énergétiques annuels estimés"]}),e.cout_total_5_usages!==void 0&&f.jsxs("div",{className:"p-4 bg-primary/10 rounded-lg border border-primary/20",children:[f.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Coût total annuel"}),f.jsxs("p",{className:"text-3xl font-bold text-primary",children:[e.cout_total_5_usages.toFixed(0)," â¬"]})]}),f.jsxs("div",{className:"grid gap-3",children:[e.cout_chauffage!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Chauffage"}),f.jsxs("span",{className:"font-semibold",children:[e.cout_chauffage.toFixed(0)," â¬"]})]}),e.cout_ecs!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Eau chaude"}),f.jsxs("span",{className:"font-semibold",children:[e.cout_ecs.toFixed(0)," â¬"]})]}),e.cout_eclairage!==void 0&&f.jsxs("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[f.jsx("span",{className:"text-sm",children:"Ãclairage"}),f.jsxs("span",{className:"font-semibold",children:[e.cout_eclairage.toFixed(0)," â¬"]})]})]}),f.jsxs("div",{className:"p-3 bg-accent/30 rounded-lg border border-accent/50 flex items-start gap-2",children:[f.jsx(Kx,{className:"w-4 h-4 text-accent-foreground mt-0.5 flex-shrink-0"}),f.jsx("p",{className:"text-xs text-accent-foreground",children:"Ces coûts sont des estimations basées sur les prix moyens des énergies. Les coûts réels peuvent varier selon votre fournisseur et votre consommation."})]})]})}),f.jsx(Nn,{value:"infos",className:"space-y-4 mt-4",children:f.jsxs("div",{className:"space-y-3",children:[f.jsx("h3",{className:"font-semibold",children:"Informations administratives"}),f.jsxs("div",{className:"grid gap-3",children:[f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Identifiant DPE"}),f.jsx("p",{className:"font-mono text-sm",children:e.numero_dpe})]}),f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Date d'établissement"}),f.jsx("p",{className:"font-semibold",children:t(e.date_etablissement_dpe)})]}),e.date_visite_diagnostiqueur&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Date de visite"}),f.jsx("p",{className:"font-semibold",children:t(e.date_visite_diagnostiqueur)})]}),e.date_fin_validite_dpe&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Valide jusqu'au"}),f.jsx("p",{className:"font-semibold",children:t(e.date_fin_validite_dpe)})]}),e.nombre_niveau_logement&&f.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[f.jsx("p",{className:"text-xs text-muted-foreground mb-1",children:"Nombre de niveaux"}),f.jsx("p",{className:"font-semibold",children:e.nombre_niveau_logement})]})]})]})})]})]})]})},DC=()=>{const[e,t]=x.useState([]),[n,r]=x.useState(!1),[o,s]=x.useState(null),[i,l]=x.useState(0),a=async(u,c,p)=>{r(!0),s(null),t([]),l(0);try{let h="https://data.ademe.fr/data-fair/api/v1/datasets/dpe03existant/lines";if(u==="id")h+=`?q=${encodeURIComponent(c)}&q_fields=numero_dpe&size=10`;else if(u==="address")h+=`?q=${encodeURIComponent(c)}&size=20`;else{let y=c;p&&(y+=` ${p}`),h+=`?q=${encodeURIComponent(y)}&size=20`}const d=await fetch(h);if(!d.ok)throw new Error("Erreur lors de la recherche");const E=await d.json();if(!E.results||E.results.length===0){s("Aucun DPE trouvé pour ces critères");return}t(E.results),l(E.total||0)}catch(h){s("Une erreur est survenue lors de la recherche"),console.error(h)}finally{r(!1)}};return f.jsxs("div",{className:"min-h-screen bg-background",children:[f.jsx("header",{className:"relative overflow-hidden bg-gradient-to-br from-primary/5 via-primary/10 to-accent/20",children:f.jsx("div",{className:"container mx-auto px-4 py-16 sm:py-24",children:f.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-6",children:[f.jsx("div",{className:"inline-flex items-center justify-center p-2 bg-primary/10 rounded-full mb-4",children:f.jsx(Om,{className:"w-6 h-6 text-primary"})}),f.jsx("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-foreground leading-tight",children:"Rechercher un DPE existant"}),f.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Consultez les DPE disponibles dans les données ouvertes de l'ADEME par numéro, adresse ou code postal."}),f.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm text-muted-foreground",children:[f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),f.jsx("span",{children:"Données ouvertes ADEME"})]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),f.jsx("span",{children:"Recherche par numéro ou adresse"})]}),f.jsxs("div",{className:"flex items-center gap-2",children:[f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary"}),f.jsx("span",{children:"Gratuit, sans inscription"})]})]})]})})}),f.jsx("main",{className:"container mx-auto px-4 py-12",children:f.jsxs("div",{className:"max-w-2xl mx-auto
158space-y-8",children:[f.jsx(jC,{onSearch:a,isLoading:n}),f.jsxs("aside",{className:"rounded-lg border border-border/60 bg-muted/40 p-4 text-sm text-muted-foreground",children:["Cet outil consulte des DPE déjà enregistrés dans la base ouverte de lâADEME. Il ne crée pas de nouveau diagnostic. Pour vérifier un document, consultez aussi"," ",f.jsx("a",{href:"https://observatoire-dpe-audit.ademe.fr/accueil",target:"_blank",rel:"noopener noreferrer",className:"font-medium text-primary hover:underline",children:"lâobservatoire officiel DPE-Audit"}),"."]}),o&&f.jsx("div",{role:"alert",className:"p-4 bg-destructive/10 border border-destructive/20 rounded-lg text-destructive text-center",children:o}),e.length>0&&f.jsxs("div",{className:"space-y-4","aria-live":"polite",children:[f.jsx("div",{className:"flex items-center justify-between",children:f.jsxs("h2",{className:"text-xl font-semibold",children:[e.length," résultat",e.length>1?"s":""," affiché",e.length>1?"s":"",i>e.length&&f.jsxs("span",{className:"text-muted-foreground text-base font-normal",children:[" ","(sur ",i.toLocaleString("fr-FR")," correspondances)"]})]})}),e.map((u,c)=>f.jsx(LC,{data:u},u.numero_dpe||c))]})]})}),f.jsx("footer",{className:"border-t mt-16",children:f.jsxs("div",{className:"container mx-auto px-4 py-8 space-y-4",children:[f.jsxs("div",{className:"text-center",children:[f.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"Besoin d'un nouveau DPE pour votre bien ?"}),f.jsx("p",{className:"text-sm",children:f.jsx("a",{href:"https://www.edl-diagnostic.fr/dpe-diagnostic-performance-energetique/",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline font-medium",children:"Découvrir le diagnostic de performance énergétique EDL"})}),f.jsx("p",{className:"mt-2 text-sm",children:f.jsx("a",{href:"https://www.edl-diagnostic.fr/devis-personnalise-diagnostics-immobiliers/",target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline font-medium",children:"Demander un devis personnalisé"})})]}),f.jsx("p",{className:"text-center text-sm text-muted-foreground",children:"Données ouvertes de l'ADEME ⢠DPE Express © 2026"})]})})]})},FC=()=>{const e=Ig();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),f.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-100",children:f.jsxs("div",{className:"text-center",children:[f.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),f.jsx("p",{className:"mb-4 text-xl text-gray-600",children:"Oops! Page not found"}),f.jsx("a",{href:"/",className:"text-blue-500 underline hover:text-blue-700",children:"Return to Home"})]})})},zC=new CS,$C=()=>f.jsx(NS,{client:zC,children:f.jsxs(JE,{children:[f.jsx(Mw,{}),f.jsx(f1,{}),f.jsx(cC,{children:f.jsxs(lC,{children:[f.jsx(iu,{path:"/",element:f.jsx(DC,{})}),f.jsx(iu,{path:"*",element:f.jsx(FC,{})})]})})]})});tm(document.getElementById("root")).render(f.jsx($C,{}));
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.