PageSourceSearch

https://dpe-brest.netlify.app/assets/index-B7SKk-Gi.js

js dpe-brest.netlify.app collected 2026-10-03 10:39:51 UTC 401,186 bytes, 268 lines download raw bytes

vendor: 6,082 bytes, lines 1-9
1var Qd=e=>{throw TypeError(e)};var ua=(e,t,n)=>t.has(e)||Qd("Cannot "+n);var j=(e,t,n)=>(ua(e,t,"read from private field"),n?n.call(e):t.get(e)),oe=(e,t,n)=>t.has(e)?Qd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Y=(e,t,n,r)=>(ua(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Be=(e,t,n)=>(ua(e,t,"access private method"),n);var Xi=(e,t,n,r)=>({set _(o){Y(e,t,o,n)},get _(){return j(e,t,r)}});function D0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ah(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ch={exports:{}},El={},uh={exports:{}},J={};/**
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 Vi=Symbol.for("react.element"),F0=Symbol.for("react.portal"),z0=Symbol.for("react.fragment"),$0=Symbol.for("react.strict_mode"),B0=Symbol.for("react.profiler"),V0=Symbol.for("react.provider"),U0=Symbol.for("react.context"),H0=Symbol.for("react.forward_ref"),W0=Symbol.for("react.suspense"),Q0=Symbol.for("react.memo"),K0=Symbol.for("react.lazy"),Kd=Symbol.iterator;function q0(e){return e===null||typeof e!="object"?null:(e=Kd&&e[Kd]||e["@@iterator"],typeof e=="function"?e:null)}var dh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fh=Object.assign,ph={};function Io(e,t,n){this.props=e,this.context=t,this.refs=ph,this.updater=n||dh}Io.prototype.isReactComponent={};Io.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")};Io.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hh(){}hh.prototype=Io.prototype;function pu(e,t,n){this.props=e,this.context=t,this.refs=ph,this.updater=n||dh}var hu=pu.prototype=new hh;hu.constructor=pu;fh(hu,Io.prototype);hu.isPureReactComponent=!0;var qd=Array.isArray,mh=Object.prototype.hasOwnProperty,mu={current:null},vh={key:!0,ref:!0,__self:!0,__source:!0};function gh(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)mh.call(t,r)&&!vh.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:Vi,type:e,key:i,ref:s,props:o,_owner:mu.current}}function Y0(e,t){return{$$typeof:Vi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vu(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vi}function G0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yd=/\/+/g;function da(e,t){return typeof e=="object"&&e!==null&&e.key!=null?G0(""+e.key):t.toString(36)}function ks(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Vi:case F0:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+da(s,0):r,qd(o)?(n="",e!=null&&(n=e.replace(Yd,"$&/")+"/"),ks(o,t,n,"",function(u){return u})):o!=null&&(vu(o)&&(o=Y0(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Yd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",qd(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+da(i,l);s+=ks(i,t,n,a,o)}else if(a=q0(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+da(i,l++),s+=ks(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Zi(e,t,n){if(e==null)return e;var r=[],o=0;return ks(e,r,"","",function(i){return t.call(n,i,o++)}),r}function X0(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 Ze={current:null},Ps={transition:null},Z0={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:Ps,ReactCurrentOwner:mu};function yh(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:Zi,forEach:function(e,t,n){Zi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zi(e,function(){t++}),t},toArray:function(e){return Zi(e,function(t){return t})||[]},only:function(e){if(!vu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=Io;J.Fragment=z0;J.Profiler=B0;J.PureComponent=pu;
vendor: 9,004 bytes, lines 9-33
9J.StrictMode=$0;J.Suspense=W0;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Z0;J.act=yh;J.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=fh({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=mu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)mh.call(t,a)&&!vh.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:Vi,type:e.type,key:o,ref:i,props:r,_owner:s}};J.createContext=function(e){return e={$$typeof:U0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:V0,_context:e},e.Consumer=e};J.createElement=gh;J.createFactory=function(e){var t=gh.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:H0,render:e}};J.isValidElement=vu;J.lazy=function(e){return{$$typeof:K0,_payload:{_status:-1,_result:e},_init:X0}};J.memo=function(e,t){return{$$typeof:Q0,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Ps.transition;Ps.transition={};try{e()}finally{Ps.transition=t}};J.unstable_act=yh;J.useCallback=function(e,t){return Ze.current.useCallback(e,t)};J.useContext=function(e){return Ze.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Ze.current.useDeferredValue(e)};J.useEffect=function(e,t){return Ze.current.useEffect(e,t)};J.useId=function(){return Ze.current.useId()};J.useImperativeHandle=function(e,t,n){return Ze.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Ze.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Ze.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Ze.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Ze.current.useReducer(e,t,n)};J.useRef=function(e){return Ze.current.useRef(e)};J.useState=function(e){return Ze.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Ze.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Ze.current.useTransition()};J.version="18.3.1";uh.exports=J;var g=uh.exports;const R=ah(g),gu=D0({__proto__:null,default:R},[g]);/**
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 J0=g,ex=Symbol.for("react.element"),tx=Symbol.for("react.fragment"),nx=Object.prototype.hasOwnProperty,rx=J0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ox={key:!0,ref:!0,__self:!0,__source:!0};function xh(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)nx.call(t,r)&&!ox.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:ex,type:e,key:i,ref:s,props:o,_owner:rx.current}}El.Fragment=tx;El.jsx=xh;El.jsxs=xh;ch.exports=El;var c=ch.exports,wh={exports:{}},yt={},Sh={exports:{}},Ch={};/**
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(k,T){var L=k.length;k.push(T);e:for(;0<L;){var Q=L-1>>>1,U=k[Q];if(0<o(U,T))k[Q]=T,k[L]=U,L=Q;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var T=k[0],L=k.pop();if(L!==T){k[0]=L;e:for(var Q=0,U=k.length,G=U>>>1;Q<G;){var K=2*(Q+1)-1,fe=k[K],Ee=K+1,D=k[Ee];if(0>o(fe,L))Ee<U&&0>o(D,fe)?(k[Q]=D,k[Ee]=L,Q=Ee):(k[Q]=fe,k[K]=L,Q=K);else if(Ee<U&&0>o(D,L))k[Q]=D,k[Ee]=L,Q=Ee;else break e}}return T}function o(k,T){var L=k.sortIndex-T.sortIndex;return L!==0?L:k.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,h=null,v=3,d=!1,S=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(k){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=k)r(u),T.sortIndex=T.expirationTime,t(a,T);else break;T=n(u)}}function C(k){if(m=!1,x(k),!S)if(n(a)!==null)S=!0,z(E);else{var T=n(u);T!==null&&V(C,T.startTime-k)}}function E(k,T){S=!1,m&&(m=!1,y(P),P=-1),d=!0;var L=v;try{for(x(T),h=n(a);h!==null&&(!(h.expirationTime>T)||k&&!B());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,v=h.priorityLevel;var U=Q(h.expirationTime<=T);T=e.unstable_now(),typeof U=="function"?h.callback=U:h===n(a)&&r(a),x(T)}else r(a);h=n(a)}if(h!==null)var G=!0;else{var K=n(u);K!==null&&V(C,K.startTime-T),G=!1}return G}finally{h=null,v=L,d=!1}}var N=!1,b=null,P=-1,A=5,_=-1;function B(){return!(e.unstable_now()-_<A)}function O(){if(b!==null){var k=e.unstable_now();_=k;var T=!0;try{T=b(!0,k)}finally{T?H():(N=!1,b=null)}}else N=!1}var H;if(typeof p=="function")H=function(){p(O)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,W=I.port2;I.port1.onmessage=O,H=function(){W.postMessage(null)}}else H=function(){w(O,0)};function z(k){b=k,N||(N=!0,H())}function V(k,T){P=w(function(){k(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){S||d||(S=!0,z(E))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(k){switch(v){case 1:case 2:case 3:var T=3;break;default:T=v}var L=v;v=T;try{return k()}finally{v=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,T){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var L=v;v=k;try{return T()}finally{v=L}},e.unstable_scheduleCallback=function(k,T,L){var Q=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Q+L:Q):L=Q,k){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=L+U,k={id:f++,callback:T,priorityLevel:k,startTime:L,expirationTime:U,sortIndex:-1},L>Q?(k.sortIndex=L,t(u,k),n(a)===null&&k===n(u)&&(m?(y(P),P=-1):m=!0,V(C,L-Q))):(k.sortIndex=U,t(a,k),S||d||(S=!0,z(E))),k},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(k){var T=v;return function(){var L=v;v=T;try{return k.apply(this,arguments)}finally{v=L}}}})(Ch);Sh.exports=Ch;var ix=Sh.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 sx=g,gt=ix;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Eh=new Set,yi={};function Lr(e,t){bo(e,t),bo(e+"Capture",t)}function bo(e,t){for(yi[e]=t,e=0;e<t.length;e++)Eh.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xa=Object.prototype.hasOwnProperty,lx=/^[: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]*$/,Gd={},Xd={};function ax(e){return Xa.call(Xd,e)?!0:Xa.call(Gd,e)?!1:lx.test(e)?Xd[e]=!0:(Gd[e]=!0,!1)}function cx(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 ux(e,t,n,r){if(t===null||typeof t>"u"||cx(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(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 Je(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ze[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ze[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ze[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ze[e]=new Je(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){ze[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ze[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ze[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ze[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ze[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var yu=/[\-:]([a-z])/g;function xu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yu,xu);ze[t]=new Je(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(yu,xu);ze[t]=new Je(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(yu,xu);ze[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});ze.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function wu(e,t,n,r){var o=ze.hasOwnProperty(t)?ze[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ux(t,n,o,r)&&(n=null),r||o===null?ax(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=sx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ji=Symbol.for("react.element"),Kr=Symbol.for("react.portal"),qr=Symbol.for("react.fragment"),Su=Symbol.for("react.strict_mode"),Za=Symbol.for("react.profiler"),bh=Symbol.for("react.provider"),Nh=Symbol.for("react.context"),Cu=Symbol.for("react.forward_ref"),Ja=Symbol.for("react.suspense"),ec=Symbol.for("react.suspense_list"),Eu=Symbol.for("react.memo"),_n=Symbol.for("react.lazy"),kh=Symbol.for("react.offscreen"),Zd=Symbol.iterator;function Uo(e){return e===null||typeof e!="object"?null:(e=Zd&&e[Zd]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,fa;function Jo(e){if(fa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fa=t&&t[1]||""}return`
34`+fa+e}var pa=!1;function ha(e,t){if(!e||pa)return"";pa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,758 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
37`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{pa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jo(e):""}function dx(e){switch(e.tag){case 5:return Jo(e.type);case 16:return Jo("Lazy");case 13:return Jo("Suspense");case 19:return Jo("SuspenseList");case 0:case 2:case 15:return e=ha(e.type,!1),e;case 11:return e=ha(e.type.render,!1),e;case 1:return e=ha(e.type,!0),e;default:return""}}function tc(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 qr:return"Fragment";case Kr:return"Portal";case Za:return"Profiler";case Su:return"StrictMode";case Ja:return"Suspense";case ec:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nh:return(e.displayName||"Context")+".Consumer";case bh:return(e._context.displayName||"Context")+".Provider";case Cu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Eu:return t=e.displayName||null,t!==null?t:tc(e.type)||"Memo";case _n:t=e._payload,e=e._init;try{return tc(e(t))}catch{}}return null}function fx(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 tc(t);case 8:return t===Su?"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 Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ph(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function px(e){var t=Ph(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function es(e){e._valueTracker||(e._valueTracker=px(e))}function Th(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ph(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Us(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 nc(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jh(e,t){t=t.checked,t!=null&&wu(e,"checked",t,!1)}function rc(e,t){jh(e,t);var n=Jn(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")?oc(e,t.type,n):t.hasOwnProperty("defaultValue")&&oc(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ef(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 oc(e,t,n){(t!=="number"||Us(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function io(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=""+Jn(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 ic(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(ei(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jn(n)}}function Rh(e,t){var n=Jn(t.value),r=Jn(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 nf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ah(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 sc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ah(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ts,Mh=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(ts=ts||document.createElement("div"),ts.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ts.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ai={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},hx=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){hx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function _h(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function Ih(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=_h(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var mx=Ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function lc(e,t){if(t){if(mx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function ac(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cc=null;function bu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uc=null,so=null,lo=null;function rf(e){if(e=Wi(e)){if(typeof uc!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Tl(t),uc(e.stateNode,e.type,t))}}function Oh(e){so?lo?lo.push(e):lo=[e]:so=e}function Lh(){if(so){var e=so,t=lo;if(lo=so=null,rf(e),t)for(e=0;e<t.length;e++)rf(t[e])}}function Dh(e,t){return e(t)}function Fh(){}var ma=!1;function zh(e,t,n){if(ma)return e(t,n);ma=!0;try{return Dh(e,t,n)}finally{ma=!1,(so!==null||lo!==null)&&(Fh(),Lh())}}function wi(e,t){var n=e.stateNode;if(n===null)return null;var r=Tl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var dc=!1;if(gn)try{var Ho={};Object.defineProperty(Ho,"passive",{get:function(){dc=!0}}),window.addEventListener("test",Ho,Ho),window.removeEventListener("test",Ho,Ho)}catch{dc=!1}function vx(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var ci=!1,Hs=null,Ws=!1,fc=null,gx={onError:function(e){ci=!0,Hs=e}};function yx(e,t,n,r,o,i,s,l,a){ci=!1,Hs=null,vx.apply(gx,arguments)}function xx(e,t,n,r,o,i,s,l,a){if(yx.apply(this,arguments),ci){if(ci){var u=Hs;ci=!1,Hs=null}else throw Error(M(198));Ws||(Ws=!0,fc=u)}}function Dr(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 $h(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 of(e){if(Dr(e)!==e)throw Error(M(188))}function wx(e){var t=e.alternate;if(!t){if(t=Dr(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return of(o),e;if(i===r)return of(o),t;i=i.sibling}throw Error(M(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Bh(e){return e=wx(e),e!==null?Vh(e):null}function Vh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Vh(e);if(t!==null)return t;e=e.sibling}return null}var Uh=gt.unstable_scheduleCallback,sf=gt.unstable_cancelCallback,Sx=gt.unstable_shouldYield,Cx=gt.unstable_requestPaint,Pe=gt.unstable_now,Ex=gt.unstable_getCurrentPriorityLevel,Nu=gt.unstable_ImmediatePriority,Hh=gt.unstable_UserBlockingPriority,Qs=gt.unstable_NormalPriority,bx=gt.unstable_LowPriority,Wh=gt.unstable_IdlePriority,bl=null,rn=null;function Nx(e){if(rn&&typeof rn.onCommitFiberRoot=="function")try{rn.onCommitFiberRoot(bl,e,void 0,(e.current.flags&128)===128)}catch{}}var Vt=Math.clz32?Math.clz32:Tx,kx=Math.log,Px=Math.LN2;function Tx(e){return e>>>=0,e===0?32:31-(kx(e)/Px|0)|0}var ns=64,rs=4194304;function ti(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 Ks(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=ti(l):(i&=s,i!==0&&(r=ti(i)))}else s=n&~o,s!==0?r=ti(s):i!==0&&(r=ti(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Vt(t),o=1<<n,r|=e[n],t&=~o;return r}function jx(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 Rx(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Vt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=jx(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function pc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Qh(){var e=ns;return ns<<=1,!(ns&4194240)&&(ns=64),e}function va(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ui(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Vt(t),e[t]=n}function Ax(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-Vt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function ku(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Vt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var le=0;function Kh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qh,Pu,Yh,Gh,Xh,hc=!1,os=[],Wn=null,Qn=null,Kn=null,Si=new Map,Ci=new Map,On=[],Mx="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 lf(e,t){switch(e){case"focusin":case"focusout":Wn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Kn=null;break;case"pointerover":case"pointerout":Si.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ci.delete(t.pointerId)}}function Wo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Wi(t),t!==null&&Pu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function _x(e,t,n,r,o){switch(t){case"focusin":return Wn=Wo(Wn,e,t,n,r,o),!0;case"dragenter":return Qn=Wo(Qn,e,t,n,r,o),!0;case"mouseover":return Kn=Wo(Kn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Si.set(i,Wo(Si.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ci.set(i,Wo(Ci.get(i)||null,e,t,n,r,o)),!0}return!1}function Zh(e){var t=vr(e.target);if(t!==null){var n=Dr(t);if(n!==null){if(t=n.tag,t===13){if(t=$h(n),t!==null){e.blockedOn=t,Xh(e.priority,function(){Yh(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 Ts(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=mc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);cc=r,n.target.dispatchEvent(r),cc=null}else return t=Wi(n),t!==null&&Pu(t),e.blockedOn=n,!1;t.shift()}return!0}function af(e,t,n){Ts(e)&&n.delete(t)}function Ix(){hc=!1,Wn!==null&&Ts(Wn)&&(Wn=null),Qn!==null&&Ts(Qn)&&(Qn=null),Kn!==null&&Ts(Kn)&&(Kn=null),Si.forEach(af),Ci.forEach(af)}
vendor: 10,546 bytes, line 37
37function Qo(e,t){e.blockedOn===t&&(e.blockedOn=null,hc||(hc=!0,gt.unstable_scheduleCallback(gt.unstable_NormalPriority,Ix)))}function Ei(e){function t(o){return Qo(o,e)}if(0<os.length){Qo(os[0],e);for(var n=1;n<os.length;n++){var r=os[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Wn!==null&&Qo(Wn,e),Qn!==null&&Qo(Qn,e),Kn!==null&&Qo(Kn,e),Si.forEach(t),Ci.forEach(t),n=0;n<On.length;n++)r=On[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<On.length&&(n=On[0],n.blockedOn===null);)Zh(n),n.blockedOn===null&&On.shift()}var ao=En.ReactCurrentBatchConfig,qs=!0;function Ox(e,t,n,r){var o=le,i=ao.transition;ao.transition=null;try{le=1,Tu(e,t,n,r)}finally{le=o,ao.transition=i}}function Lx(e,t,n,r){var o=le,i=ao.transition;ao.transition=null;try{le=4,Tu(e,t,n,r)}finally{le=o,ao.transition=i}}function Tu(e,t,n,r){if(qs){var o=mc(e,t,n,r);if(o===null)ka(e,t,r,Ys,n),lf(e,r);else if(_x(o,e,t,n,r))r.stopPropagation();else if(lf(e,r),t&4&&-1<Mx.indexOf(e)){for(;o!==null;){var i=Wi(o);if(i!==null&&qh(i),i=mc(e,t,n,r),i===null&&ka(e,t,r,Ys,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else ka(e,t,r,null,n)}}var Ys=null;function mc(e,t,n,r){if(Ys=null,e=bu(r),e=vr(e),e!==null)if(t=Dr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=$h(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 Ys=e,null}function Jh(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(Ex()){case Nu:return 1;case Hh:return 4;case Qs:case bx:return 16;case Wh:return 536870912;default:return 16}default:return 16}}var Vn=null,ju=null,js=null;function em(){if(js)return js;var e,t=ju,n=t.length,r,o="value"in Vn?Vn.value:Vn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return js=o.slice(e,1<r?1-r:void 0)}function Rs(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 is(){return!0}function cf(){return!1}function xt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?is:cf,this.isPropagationStopped=cf,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=is)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=is)},persist:function(){},isPersistent:is}),t}var Oo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=xt(Oo),Hi=Ce({},Oo,{view:0,detail:0}),Dx=xt(Hi),ga,ya,Ko,Nl=Ce({},Hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Au,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!==Ko&&(Ko&&e.type==="mousemove"?(ga=e.screenX-Ko.screenX,ya=e.screenY-Ko.screenY):ya=ga=0,Ko=e),ga)},movementY:function(e){return"movementY"in e?e.movementY:ya}}),uf=xt(Nl),Fx=Ce({},Nl,{dataTransfer:0}),zx=xt(Fx),$x=Ce({},Hi,{relatedTarget:0}),xa=xt($x),Bx=Ce({},Oo,{animationName:0,elapsedTime:0,pseudoElement:0}),Vx=xt(Bx),Ux=Ce({},Oo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Hx=xt(Ux),Wx=Ce({},Oo,{data:0}),df=xt(Wx),Qx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kx={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"},qx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qx[e])?!!t[e]:!1}function Au(){return Yx}var Gx=Ce({},Hi,{key:function(e){if(e.key){var t=Qx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Rs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Kx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Au,charCode:function(e){return e.type==="keypress"?Rs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Xx=xt(Gx),Zx=Ce({},Nl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ff=xt(Zx),Jx=Ce({},Hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Au}),ew=xt(Jx),tw=Ce({},Oo,{propertyName:0,elapsedTime:0,pseudoElement:0}),nw=xt(tw),rw=Ce({},Nl,{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}),ow=xt(rw),iw=[9,13,27,32],Mu=gn&&"CompositionEvent"in window,ui=null;gn&&"documentMode"in document&&(ui=document.documentMode);var sw=gn&&"TextEvent"in window&&!ui,tm=gn&&(!Mu||ui&&8<ui&&11>=ui),pf=" ",hf=!1;function nm(e,t){switch(e){case"keyup":return iw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yr=!1;function lw(e,t){switch(e){case"compositionend":return rm(t);case"keypress":return t.which!==32?null:(hf=!0,pf);case"textInput":return e=t.data,e===pf&&hf?null:e;default:return null}}function aw(e,t){if(Yr)return e==="compositionend"||!Mu&&nm(e,t)?(e=em(),js=ju=Vn=null,Yr=!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 tm&&t.locale!=="ko"?null:t.data;default:return null}}var cw={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 mf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!cw[e.type]:t==="textarea"}function om(e,t,n,r){Oh(r),t=Gs(t,"onChange"),0<t.length&&(n=new Ru("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var di=null,bi=null;function uw(e){mm(e,0)}function kl(e){var t=Zr(e);if(Th(t))return e}function dw(e,t){if(e==="change")return t}var im=!1;if(gn){var wa;if(gn){var Sa="oninput"in document;if(!Sa){var vf=document.createElement("div");vf.setAttribute("oninput","return;"),Sa=typeof vf.oninput=="function"}wa=Sa}else wa=!1;im=wa&&(!document.documentMode||9<document.documentMode)}function gf(){di&&(di.detachEvent("onpropertychange",sm),bi=di=null)}function sm(e){if(e.propertyName==="value"&&kl(bi)){var t=[];om(t,bi,e,bu(e)),zh(uw,t)}}function fw(e,t,n){e==="focusin"?(gf(),di=t,bi=n,di.attachEvent("onpropertychange",sm)):e==="focusout"&&gf()}function pw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return kl(bi)}function hw(e,t){if(e==="click")return kl(t)}function mw(e,t){if(e==="input"||e==="change")return kl(t)}function vw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:vw;function Ni(e,t){if(Ht(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(!Xa.call(t,o)||!Ht(e[o],t[o]))return!1}return!0}function yf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xf(e,t){var n=yf(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=yf(n)}}function lm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function am(){for(var e=window,t=Us();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Us(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 gw(e){var t=am(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lm(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,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=xf(n,i);var s=xf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yw=gn&&"documentMode"in document&&11>=document.documentMode,Gr=null,vc=null,fi=null,gc=!1;function wf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gc||Gr==null||Gr!==Us(r)||(r=Gr,"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}),fi&&Ni(fi,r)||(fi=r,r=Gs(vc,"onSelect"),0<r.length&&(t=new Ru("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Gr)))}function ss(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xr={animationend:ss("Animation","AnimationEnd"),animationiteration:ss("Animation","AnimationIteration"),animationstart:ss("Animation","AnimationStart"),transitionend:ss("Transition","TransitionEnd")},Ca={},cm={};gn&&(cm=document.createElement("div").style,"AnimationEvent"in window||(delete Xr.animationend.animation,delete Xr.animationiteration.animation,delete Xr.animationstart.animation),"TransitionEvent"in window||delete Xr.transitionend.transition);function Pl(e){if(Ca[e])return Ca[e];if(!Xr[e])return e;var t=Xr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in cm)return Ca[e]=t[n];return e}var um=Pl("animationend"),dm=Pl("animationiteration"),fm=Pl("animationstart"),pm=Pl("transitionend"),hm=new Map,Sf="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 rr(e,t){hm.set(e,t),Lr(t,[e])}for(var Ea=0;Ea<Sf.length;Ea++){var ba=Sf[Ea],xw=ba.toLowerCase(),ww=ba[0].toUpperCase()+ba.slice(1);rr(xw,"on"+ww)}rr(um,"onAnimationEnd");rr(dm,"onAnimationIteration");rr(fm,"onAnimationStart");rr("dblclick","onDoubleClick");rr("focusin","onFocus");rr("focusout","onBlur");rr(pm,"onTransitionEnd");bo("onMouseEnter",["mouseout","mouseover"]);bo("onMouseLeave",["mouseout","mouseover"]);bo("onPointerEnter",["pointerout","pointerover"]);bo("onPointerLeave",["pointerout","pointerover"]);Lr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Lr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Lr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Lr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Lr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Lr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ni="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(" "),Sw=new Set("cancel close invalid load scroll toggle".split(" ").concat(ni));function Cf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,xx(r,t,void 0,e),e.currentTarget=null}function mm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;Cf(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;Cf(o,l,u),i=a}}}if(Ws)throw e=fc,Ws=!1,fc=null,e}function he(e,t){var n=t[Cc];n===void 0&&(n=t[Cc]=new Set);var r=e+"__bubble";n.has(r)||(vm(t,e,2,!1),n.add(r))}function Na(e,t,n){var r=0;t&&(r|=4),vm(n,e,r,t)}var ls="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function ki(e){if(!e[ls]){e[ls]=!0,Eh.forEach(function(n){n!=="selectionchange"&&(Sw.has(n)||Na(n,!1,e),Na(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ls]||(t[ls]=!0,Na("selectionchange",!1,t))}}function vm(e,t,n,r){switch(Jh(t)){case 1:var o=Ox;break;case 4:o=Lx;break;default:o=Tu}n=o.bind(null,t,n,e),o=void 0,!dc||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 ka(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=vr(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}zh(function(){var u=i,f=bu(n),h=[];e:{var v=hm.get(e);if(v!==void 0){var d=Ru,S=e;switch(e){case"keypress":if(Rs(n)===0)break e;case"keydown":case"keyup":d=Xx;break;case"focusin":S="focus",d=xa;break;case"focusout":S="blur",d=xa;break;case"beforeblur":case"afterblur":d=xa;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=uf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=zx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=ew;break;case um:case dm:case fm:d=Vx;break;case pm:d=nw;break;case"scroll":d=Dx;break;case"wheel":d=ow;break;case"copy":case"cut":case"paste":d=Hx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=ff}var m=(t&4)!==0,w=!m&&e==="scroll",y=m?v!==null?v+"Capture":null:v;m=[];for(var p=u,x;p!==null;){x=p;var C=x.stateNode;if(x.tag===5&&C!==null&&(x=C,y!==null&&(C=wi(p,y),C!=null&&m.push(Pi(p,C,x)))),w)break;p=p.return}0<m.length&&(v=new d(v,S,null,n,f),h.push({event:v,listeners:m}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",v&&n!==cc&&(S=n.relatedTarget||n.fromElement)&&(vr(S)||S[yn]))break e;if((d||v)&&(v=f.window===f?f:(v=f.ownerDocument)?v.defaultView||v.parentWindow:window,d?(S=n.relatedTarget||n.toElement,d=u,S=S?vr(S):null,S!==null&&(w=Dr(S),S!==w||S.tag!==5&&S.tag!==6)&&(S=null)):(d=null,S=u),d!==S)){if(m=uf,C="onMouseLeave",y="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(m=ff,C="onPointerLeave",y="onPointerEnter",p="pointer"),w=d==null?v:Zr(d),x=S==null?v:Zr(S),v=new m(C,p+"leave",d,n,f),v.target=w,v.relatedTarget=x,C=null,vr(f)===u&&(m=new m(y,p+"enter",S,n,f),m.target=x,m.relatedTarget=w,C=m),w=C,d&&S)t:{for(m=d,y=S,p=0,x=m;x;x=Ur(x))p++;for(x=0,C=y;C;C=Ur(C))x++;for(;0<p-x;)m=Ur(m),p--;for(;0<x-p;)y=Ur(y),x--;for(;p--;){if(m===y||y!==null&&m===y.alternate)break t;m=Ur(m),y=Ur(y)}m=null}else m=null;d!==null&&Ef(h,v,d,m,!1),S!==null&&w!==null&&Ef(h,w,S,m,!0)}}e:{if(v=u?Zr(u):window,d=v.nodeName&&v.nodeName.toLowerCase(),d==="select"||d==="input"&&v.type==="file")var E=dw;else if(mf(v))if(im)E=mw;else{E=pw;var N=fw}else(d=v.nodeName)&&d.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(E=hw);if(E&&(E=E(e,u))){om(h,E,n,f);break e}N&&N(e,v,u),e==="focusout"&&(N=v._wrapperState)&&N.controlled&&v.type==="number"&&oc(v,"number",v.value)}switch(N=u?Zr(u):window,e){case"focusin":(mf(N)||N.contentEditable==="true")&&(Gr=N,vc=u,fi=null);break;case"focusout":fi=vc=Gr=null;break;case"mousedown":gc=!0;break;case"contextmenu":case"mouseup":case"dragend":gc=!1,wf(h,n,f);break;case"selectionchange":if(yw)break;case"keydown":case"keyup":wf(h,n,f)}var b;if(Mu)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Yr?nm(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(tm&&n.locale!=="ko"&&(Yr||P!=="onCompositionStart"?P==="onCompositionEnd"&&Yr&&(b=em()):(Vn=f,ju="value"in Vn?Vn.value:Vn.textContent,Yr=!0)),N=Gs(u,P),0<N.length&&(P=new df(P,e,null,n,f),h.push({event:P,listeners:N}),b?P.data=b:(b=rm(n),b!==null&&(P.data=b)))),(b=sw?lw(e,n):aw(e,n))&&
vendor: 5,086 bytes, lines 37-38
37(u=Gs(u,"onBeforeInput"),0<u.length&&(f=new df("onBeforeInput","beforeinput",null,n,f),h.push({event:f,listeners:u}),f.data=b))}mm(h,t)})}function Pi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=wi(e,n),i!=null&&r.unshift(Pi(e,i,o)),i=wi(e,t),i!=null&&r.push(Pi(e,i,o))),e=e.return}return r}function Ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ef(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=wi(n,i),a!=null&&s.unshift(Pi(n,a,l))):o||(a=wi(n,i),a!=null&&s.push(Pi(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Cw=/\r\n?/g,Ew=/\u0000|\uFFFD/g;function bf(e){return(typeof e=="string"?e:""+e).replace(Cw,`
38`).replace(Ew,"")}function as(e,t,n){if(t=bf(t),bf(e)!==t&&n)throw Error(M(425))}function Xs(){}var yc=null,xc=null;function wc(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 Sc=typeof setTimeout=="function"?setTimeout:void 0,bw=typeof clearTimeout=="function"?clearTimeout:void 0,Nf=typeof Promise=="function"?Promise:void 0,Nw=typeof queueMicrotask=="function"?queueMicrotask:typeof Nf<"u"?function(e){return Nf.resolve(null).then(e).catch(kw)}:Sc;function kw(e){setTimeout(function(){throw e})}function Pa(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),Ei(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Ei(t)}function qn(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 kf(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 Lo=Math.random().toString(36).slice(2),en="__reactFiber$"+Lo,Ti="__reactProps$"+Lo,yn="__reactContainer$"+Lo,Cc="__reactEvents$"+Lo,Pw="__reactListeners$"+Lo,Tw="__reactHandles$"+Lo;function vr(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=kf(e);e!==null;){if(n=e[en])return n;e=kf(e)}return t}e=n,n=e.parentNode}return null}function Wi(e){return e=e[en]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Tl(e){return e[Ti]||null}var Ec=[],Jr=-1;function or(e){return{current:e}}function me(e){0>Jr||(e.current=Ec[Jr],Ec[Jr]=null,Jr--)}function de(e,t){Jr++,Ec[Jr]=e.current,e.current=t}var er={},Ke=or(er),it=or(!1),Pr=er;function No(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function st(e){return e=e.childContextTypes,e!=null}function Zs(){me(it),me(Ke)}function Pf(e,t,n){if(Ke.current!==er)throw Error(M(168));de(Ke,t),de(it,n)}function gm(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,fx(e)||"Unknown",o));return Ce({},n,r)}function Js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,Pr=Ke.current,de(Ke,e),de(it,it.current),!0}function Tf(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=gm(e,t,Pr),r.__reactInternalMemoizedMergedChildContext=e,me(it),me(Ke),de(Ke,e)):me(it),de(it,n)}var fn=null,jl=!1,Ta=!1;function ym(e){fn===null?fn=[e]:fn.push(e)}function jw(e){jl=!0,ym(e)}function ir(){if(!Ta&&fn!==null){Ta=!0;var e=0,t=le;try{var n=fn;for(le=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}fn=null,jl=!1}catch(o){throw fn!==null&&(fn=fn.slice(e+1)),Uh(Nu,ir),o}finally{le=t,Ta=!1}}return null}var eo=[],to=0,el=null,tl=0,Et=[],bt=0,Tr=null,hn=1,mn="";function pr(e,t){eo[to++]=tl,eo[to++]=el,el=e,tl=t}function xm(e,t,n){Et[bt++]=hn,Et[bt++]=mn,Et[bt++]=Tr,Tr=e;var r=hn;e=mn;var o=32-Vt(r)-1;r&=~(1<<o),n+=1;var i=32-Vt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,hn=1<<32-Vt(t)+o|n<<o|r,mn=i+e}else hn=1<<i|n<<o|r,mn=e}function Iu(e){e.return!==null&&(pr(e,1),xm(e,1,0))}function Ou(e){for(;e===el;)el=eo[--to],eo[to]=null,tl=eo[--to],eo[to]=null;for(;e===Tr;)Tr=Et[--bt],Et[bt]=null,mn=Et[--bt],Et[bt]=null,hn=Et[--bt],Et[bt]=null}var mt=null,ht=null,ge=!1,Bt=null;function wm(e,t){var n=Nt(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 jf(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 13,214 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,mt=e,ht=qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,mt=e,ht=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Tr!==null?{id:hn,overflow:mn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,mt=e,ht=null,!0):!1;default:return!1}}function bc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Nc(e){if(ge){var t=ht;if(t){var n=t;if(!jf(e,t)){if(bc(e))throw Error(M(418));t=qn(n.nextSibling);var r=mt;t&&jf(e,t)?wm(r,n):(e.flags=e.flags&-4097|2,ge=!1,mt=e)}}else{if(bc(e))throw Error(M(418));e.flags=e.flags&-4097|2,ge=!1,mt=e}}}function Rf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;mt=e}function cs(e){if(e!==mt)return!1;if(!ge)return Rf(e),ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wc(e.type,e.memoizedProps)),t&&(t=ht)){if(bc(e))throw Sm(),Error(M(418));for(;t;)wm(e,t),t=qn(t.nextSibling)}if(Rf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ht=qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ht=null}}else ht=mt?qn(e.stateNode.nextSibling):null;return!0}function Sm(){for(var e=ht;e;)e=qn(e.nextSibling)}function ko(){ht=mt=null,ge=!1}function Lu(e){Bt===null?Bt=[e]:Bt.push(e)}var Rw=En.ReactCurrentBatchConfig;function qo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function us(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Af(e){var t=e._init;return t(e._payload)}function Cm(e){function t(y,p){if(e){var x=y.deletions;x===null?(y.deletions=[p],y.flags|=16):x.push(p)}}function n(y,p){if(!e)return null;for(;p!==null;)t(y,p),p=p.sibling;return null}function r(y,p){for(y=new Map;p!==null;)p.key!==null?y.set(p.key,p):y.set(p.index,p),p=p.sibling;return y}function o(y,p){return y=Zn(y,p),y.index=0,y.sibling=null,y}function i(y,p,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<p?(y.flags|=2,p):x):(y.flags|=2,p)):(y.flags|=1048576,p)}function s(y){return e&&y.alternate===null&&(y.flags|=2),y}function l(y,p,x,C){return p===null||p.tag!==6?(p=Oa(x,y.mode,C),p.return=y,p):(p=o(p,x),p.return=y,p)}function a(y,p,x,C){var E=x.type;return E===qr?f(y,p,x.props.children,C,x.key):p!==null&&(p.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===_n&&Af(E)===p.type)?(C=o(p,x.props),C.ref=qo(y,p,x),C.return=y,C):(C=Ds(x.type,x.key,x.props,null,y.mode,C),C.ref=qo(y,p,x),C.return=y,C)}function u(y,p,x,C){return p===null||p.tag!==4||p.stateNode.containerInfo!==x.containerInfo||p.stateNode.implementation!==x.implementation?(p=La(x,y.mode,C),p.return=y,p):(p=o(p,x.children||[]),p.return=y,p)}function f(y,p,x,C,E){return p===null||p.tag!==7?(p=kr(x,y.mode,C,E),p.return=y,p):(p=o(p,x),p.return=y,p)}function h(y,p,x){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Oa(""+p,y.mode,x),p.return=y,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Ji:return x=Ds(p.type,p.key,p.props,null,y.mode,x),x.ref=qo(y,null,p),x.return=y,x;case Kr:return p=La(p,y.mode,x),p.return=y,p;case _n:var C=p._init;return h(y,C(p._payload),x)}if(ei(p)||Uo(p))return p=kr(p,y.mode,x,null),p.return=y,p;us(y,p)}return null}function v(y,p,x,C){var E=p!==null?p.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return E!==null?null:l(y,p,""+x,C);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ji:return x.key===E?a(y,p,x,C):null;case Kr:return x.key===E?u(y,p,x,C):null;case _n:return E=x._init,v(y,p,E(x._payload),C)}if(ei(x)||Uo(x))return E!==null?null:f(y,p,x,C,null);us(y,x)}return null}function d(y,p,x,C,E){if(typeof C=="string"&&C!==""||typeof C=="number")return y=y.get(x)||null,l(p,y,""+C,E);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ji:return y=y.get(C.key===null?x:C.key)||null,a(p,y,C,E);case Kr:return y=y.get(C.key===null?x:C.key)||null,u(p,y,C,E);case _n:var N=C._init;return d(y,p,x,N(C._payload),E)}if(ei(C)||Uo(C))return y=y.get(x)||null,f(p,y,C,E,null);us(p,C)}return null}function S(y,p,x,C){for(var E=null,N=null,b=p,P=p=0,A=null;b!==null&&P<x.length;P++){b.index>P?(A=b,b=null):A=b.sibling;var _=v(y,b,x[P],C);if(_===null){b===null&&(b=A);break}e&&b&&_.alternate===null&&t(y,b),p=i(_,p,P),N===null?E=_:N.sibling=_,N=_,b=A}if(P===x.length)return n(y,b),ge&&pr(y,P),E;if(b===null){for(;P<x.length;P++)b=h(y,x[P],C),b!==null&&(p=i(b,p,P),N===null?E=b:N.sibling=b,N=b);return ge&&pr(y,P),E}for(b=r(y,b);P<x.length;P++)A=d(b,y,P,x[P],C),A!==null&&(e&&A.alternate!==null&&b.delete(A.key===null?P:A.key),p=i(A,p,P),N===null?E=A:N.sibling=A,N=A);return e&&b.forEach(function(B){return t(y,B)}),ge&&pr(y,P),E}function m(y,p,x,C){var E=Uo(x);if(typeof E!="function")throw Error(M(150));if(x=E.call(x),x==null)throw Error(M(151));for(var N=E=null,b=p,P=p=0,A=null,_=x.next();b!==null&&!_.done;P++,_=x.next()){b.index>P?(A=b,b=null):A=b.sibling;var B=v(y,b,_.value,C);if(B===null){b===null&&(b=A);break}e&&b&&B.alternate===null&&t(y,b),p=i(B,p,P),N===null?E=B:N.sibling=B,N=B,b=A}if(_.done)return n(y,b),ge&&pr(y,P),E;if(b===null){for(;!_.done;P++,_=x.next())_=h(y,_.value,C),_!==null&&(p=i(_,p,P),N===null?E=_:N.sibling=_,N=_);return ge&&pr(y,P),E}for(b=r(y,b);!_.done;P++,_=x.next())_=d(b,y,P,_.value,C),_!==null&&(e&&_.alternate!==null&&b.delete(_.key===null?P:_.key),p=i(_,p,P),N===null?E=_:N.sibling=_,N=_);return e&&b.forEach(function(O){return t(y,O)}),ge&&pr(y,P),E}function w(y,p,x,C){if(typeof x=="object"&&x!==null&&x.type===qr&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ji:e:{for(var E=x.key,N=p;N!==null;){if(N.key===E){if(E=x.type,E===qr){if(N.tag===7){n(y,N.sibling),p=o(N,x.props.children),p.return=y,y=p;break e}}else if(N.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===_n&&Af(E)===N.type){n(y,N.sibling),p=o(N,x.props),p.ref=qo(y,N,x),p.return=y,y=p;break e}n(y,N);break}else t(y,N);N=N.sibling}x.type===qr?(p=kr(x.props.children,y.mode,C,x.key),p.return=y,y=p):(C=Ds(x.type,x.key,x.props,null,y.mode,C),C.ref=qo(y,p,x),C.return=y,y=C)}return s(y);case Kr:e:{for(N=x.key;p!==null;){if(p.key===N)if(p.tag===4&&p.stateNode.containerInfo===x.containerInfo&&p.stateNode.implementation===x.implementation){n(y,p.sibling),p=o(p,x.children||[]),p.return=y,y=p;break e}else{n(y,p);break}else t(y,p);p=p.sibling}p=La(x,y.mode,C),p.return=y,y=p}return s(y);case _n:return N=x._init,w(y,p,N(x._payload),C)}if(ei(x))return S(y,p,x,C);if(Uo(x))return m(y,p,x,C);us(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,p!==null&&p.tag===6?(n(y,p.sibling),p=o(p,x),p.return=y,y=p):(n(y,p),p=Oa(x,y.mode,C),p.return=y,y=p),s(y)):n(y,p)}return w}var Po=Cm(!0),Em=Cm(!1),nl=or(null),rl=null,no=null,Du=null;function Fu(){Du=no=rl=null}function zu(e){var t=nl.current;me(nl),e._currentValue=t}function kc(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 co(e,t){rl=e,Du=no=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ot=!0),e.firstContext=null)}function Pt(e){var t=e._currentValue;if(Du!==e)if(e={context:e,memoizedValue:t,next:null},no===null){if(rl===null)throw Error(M(308));no=e,rl.dependencies={lanes:0,firstContext:e}}else no=no.next=e;return t}var gr=null;function $u(e){gr===null?gr=[e]:gr.push(e)}function bm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,$u(t)):(n.next=o.next,o.next=n),t.interleaved=n,xn(e,r)}function xn(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 In=!1;function Bu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nm(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 vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,xn(e,n)}return o=r.interleaved,o===null?(t.next=t,$u(r)):(t.next=o.next,o.next=t),r.interleaved=t,xn(e,n)}function As(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,ku(e,n)}}function Mf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ol(e,t,n,r){var o=e.updateQueue;In=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(i!==null){var h=o.baseState;s=0,f=u=a=null,l=i;do{var v=l.lane,d=l.eventTime;if((r&v)===v){f!==null&&(f=f.next={eventTime:d,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var S=e,m=l;switch(v=t,d=n,m.tag){case 1:if(S=m.payload,typeof S=="function"){h=S.call(d,h,v);break e}h=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=m.payload,v=typeof S=="function"?S.call(d,h,v):S,v==null)break e;h=Ce({},h,v);break e;case 2:In=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[l]:v.push(l))}else d={eventTime:d,lane:v,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=d,a=h):f=f.next=d,s|=v;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;v=l,l=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(!0);if(f===null&&(a=h),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Rr|=s,e.lanes=s,e.memoizedState=h}}function _f(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(M(191,o));o.call(r)}}}var Qi={},on=or(Qi),ji=or(Qi),Ri=or(Qi);function yr(e){if(e===Qi)throw Error(M(174));return e}function Vu(e,t){switch(de(Ri,t),de(ji,e),de(on,Qi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:sc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=sc(t,e)}me(on),de(on,t)}function To(){me(on),me(ji),me(Ri)}function km(e){yr(Ri.current);var t=yr(on.current),n=sc(t,e.type);t!==n&&(de(ji,e),de(on,n))}function Uu(e){ji.current===e&&(me(on),me(ji))}var xe=or(0);function il(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 ja=[];function Hu(){for(var e=0;e<ja.length;e++)ja[e]._workInProgressVersionPrimary=null;ja.length=0}var Ms=En.ReactCurrentDispatcher,Ra=En.ReactCurrentBatchConfig,jr=0,Se=null,je=null,Me=null,sl=!1,pi=!1,Ai=0,Aw=0;function Ve(){throw Error(M(321))}function Wu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ht(e[n],t[n]))return!1;return!0}function Qu(e,t,n,r,o,i){if(jr=i,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ms.current=e===null||e.memoizedState===null?Ow:Lw,e=n(r,o),pi){i=0;do{if(pi=!1,Ai=0,25<=i)throw Error(M(301));i+=1,Me=je=null,t.updateQueue=null,Ms.current=Dw,e=n(r,o)}while(pi)}if(Ms.current=ll,t=je!==null&&je.next!==null,jr=0,Me=je=Se=null,sl=!1,t)throw Error(M(300));return e}function Ku(){var e=Ai!==0;return Ai=0,e}function Gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Me===null?Se.memoizedState=Me=e:Me=Me.next=e,Me}
vendor: 4,305 bytes, line 38
38function Tt(){if(je===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=je.next;var t=Me===null?Se.memoizedState:Me.next;if(t!==null)Me=t,je=e;else{if(e===null)throw Error(M(310));je=e,e={memoizedState:je.memoizedState,baseState:je.baseState,baseQueue:je.baseQueue,queue:je.queue,next:null},Me===null?Se.memoizedState=Me=e:Me=Me.next=e}return Me}function Mi(e,t){return typeof t=="function"?t(e):t}function Aa(e){var t=Tt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=je,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var f=u.lane;if((jr&f)===f)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 h={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=h,s=r):a=a.next=h,Se.lanes|=f,Rr|=f}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,Ht(r,t.memoizedState)||(ot=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Se.lanes|=i,Rr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ma(e){var t=Tt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Ht(i,t.memoizedState)||(ot=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Pm(){}function Tm(e,t){var n=Se,r=Tt(),o=t(),i=!Ht(r.memoizedState,o);if(i&&(r.memoizedState=o,ot=!0),r=r.queue,qu(Am.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Me!==null&&Me.memoizedState.tag&1){if(n.flags|=2048,_i(9,Rm.bind(null,n,r,o,t),void 0,null),Oe===null)throw Error(M(349));jr&30||jm(n,t,o)}return o}function jm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Se.updateQueue,t===null?(t={lastEffect:null,stores:null},Se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Rm(e,t,n,r){t.value=n,t.getSnapshot=r,Mm(t)&&_m(e)}function Am(e,t,n){return n(function(){Mm(t)&&_m(e)})}function Mm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ht(e,n)}catch{return!0}}function _m(e){var t=xn(e,1);t!==null&&Ut(t,e,1,-1)}function If(e){var t=Gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mi,lastRenderedState:e},t.queue=e,e=e.dispatch=Iw.bind(null,Se,e),[t.memoizedState,e]}function _i(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Se.updateQueue,t===null?(t={lastEffect:null,stores:null},Se.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 Im(){return Tt().memoizedState}function _s(e,t,n,r){var o=Gt();Se.flags|=e,o.memoizedState=_i(1|t,n,void 0,r===void 0?null:r)}function Rl(e,t,n,r){var o=Tt();r=r===void 0?null:r;var i=void 0;if(je!==null){var s=je.memoizedState;if(i=s.destroy,r!==null&&Wu(r,s.deps)){o.memoizedState=_i(t,n,i,r);return}}Se.flags|=e,o.memoizedState=_i(1|t,n,i,r)}function Of(e,t){return _s(8390656,8,e,t)}function qu(e,t){return Rl(2048,8,e,t)}function Om(e,t){return Rl(4,2,e,t)}function Lm(e,t){return Rl(4,4,e,t)}function Dm(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 Fm(e,t,n){return n=n!=null?n.concat([e]):null,Rl(4,4,Dm.bind(null,t,e),n)}function Yu(){}function zm(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $m(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Bm(e,t,n){return jr&21?(Ht(n,t)||(n=Qh(),Se.lanes|=n,Rr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ot=!0),e.memoizedState=n)}function Mw(e,t){var n=le;le=n!==0&&4>n?n:4,e(!0);var r=Ra.transition;Ra.transition={};try{e(!1),t()}finally{le=n,Ra.transition=r}}function Vm(){return Tt().memoizedState}
vendor: 9,318 bytes, lines 38-40
38function _w(e,t,n){var r=Xn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Um(e))Hm(t,n);else if(n=bm(e,t,n,r),n!==null){var o=Xe();Ut(n,e,r,o),Wm(n,t,r)}}function Iw(e,t,n){var r=Xn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Um(e))Hm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,Ht(l,s)){var a=t.interleaved;a===null?(o.next=o,$u(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=bm(e,t,o,r),n!==null&&(o=Xe(),Ut(n,e,r,o),Wm(n,t,r))}}function Um(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function Hm(e,t){pi=sl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ku(e,n)}}var ll={readContext:Pt,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useInsertionEffect:Ve,useLayoutEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useMutableSource:Ve,useSyncExternalStore:Ve,useId:Ve,unstable_isNewReconciler:!1},Ow={readContext:Pt,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:Pt,useEffect:Of,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_s(4194308,4,Dm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _s(4194308,4,e,t)},useInsertionEffect:function(e,t){return _s(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gt();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=_w.bind(null,Se,e),[r.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:If,useDebugValue:Yu,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=If(!1),t=e[0];return e=Mw.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Se,o=Gt();if(ge){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Oe===null)throw Error(M(349));jr&30||jm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Of(Am.bind(null,r,i,e),[e]),r.flags|=2048,_i(9,Rm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Gt(),t=Oe.identifierPrefix;if(ge){var n=mn,r=hn;n=(r&~(1<<32-Vt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ai++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Aw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Lw={readContext:Pt,useCallback:zm,useContext:Pt,useEffect:qu,useImperativeHandle:Fm,useInsertionEffect:Om,useLayoutEffect:Lm,useMemo:$m,useReducer:Aa,useRef:Im,useState:function(){return Aa(Mi)},useDebugValue:Yu,useDeferredValue:function(e){var t=Tt();return Bm(t,je.memoizedState,e)},useTransition:function(){var e=Aa(Mi)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Tm,useId:Vm,unstable_isNewReconciler:!1},Dw={readContext:Pt,useCallback:zm,useContext:Pt,useEffect:qu,useImperativeHandle:Fm,useInsertionEffect:Om,useLayoutEffect:Lm,useMemo:$m,useReducer:Ma,useRef:Im,useState:function(){return Ma(Mi)},useDebugValue:Yu,useDeferredValue:function(e){var t=Tt();return je===null?t.memoizedState=e:Bm(t,je.memoizedState,e)},useTransition:function(){var e=Ma(Mi)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:Pm,useSyncExternalStore:Tm,useId:Vm,unstable_isNewReconciler:!1};function Lt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Pc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Al={isMounted:function(e){return(e=e._reactInternals)?Dr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xe(),o=Xn(e),i=vn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(Ut(t,e,o,r),As(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xe(),o=Xn(e),i=vn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(Ut(t,e,o,r),As(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xe(),r=Xn(e),o=vn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Yn(e,o,r),t!==null&&(Ut(t,e,r,n),As(t,e,r))}};function Lf(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Ni(n,r)||!Ni(o,i):!0}function Qm(e,t,n){var r=!1,o=er,i=t.contextType;return typeof i=="object"&&i!==null?i=Pt(i):(o=st(t)?Pr:Ke.current,r=t.contextTypes,i=(r=r!=null)?No(e,o):er),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Al,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Df(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&&Al.enqueueReplaceState(t,t.state,null)}function Tc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Bu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Pt(i):(i=st(t)?Pr:Ke.current,o.context=No(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Pc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Al.enqueueReplaceState(o,o.state,null),ol(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function jo(e,t){try{var n="",r=t;do n+=dx(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function _a(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function jc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Fw=typeof WeakMap=="function"?WeakMap:Map;function Km(e,t,n){n=vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){cl||(cl=!0,zc=r),jc(e,t)},n}function qm(e,t,n){n=vn(-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(){jc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){jc(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Ff(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fw;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=Zw.bind(null,e,t,n),t.then(e,e))}function zf(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 $f(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=vn(-1,1),t.tag=2,Yn(n,t,1))),n.lanes|=1),e)}var zw=En.ReactCurrentOwner,ot=!1;function Ye(e,t,n,r){t.child=e===null?Em(t,null,n,r):Po(t,e.child,n,r)}function Bf(e,t,n,r,o){n=n.render;var i=t.ref;return co(t,o),r=Qu(e,t,n,r,i,o),n=Ku(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,wn(e,t,o)):(ge&&n&&Iu(t),t.flags|=1,Ye(e,t,r,o),t.child)}function Vf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!rd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Ym(e,t,i,r,o)):(e=Ds(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ni,n(s,r)&&e.ref===t.ref)return wn(e,t,o)}return t.flags|=1,e=Zn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Ym(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Ni(i,r)&&e.ref===t.ref)if(ot=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(ot=!0);else return t.lanes=e.lanes,wn(e,t,o)}return Rc(e,t,n,r,o)}function Gm(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},de(oo,ut),ut|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,de(oo,ut),ut|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,de(oo,ut),ut|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,de(oo,ut),ut|=r;return Ye(e,t,o,n),t.child}function Xm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 12,352 bytes, line 40
40function Rc(e,t,n,r,o){var i=st(n)?Pr:Ke.current;return i=No(t,i),co(t,o),n=Qu(e,t,n,r,i,o),r=Ku(),e!==null&&!ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,wn(e,t,o)):(ge&&r&&Iu(t),t.flags|=1,Ye(e,t,n,o),t.child)}function Uf(e,t,n,r,o){if(st(n)){var i=!0;Js(t)}else i=!1;if(co(t,o),t.stateNode===null)Is(e,t),Qm(t,n,r),Tc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Pt(u):(u=st(n)?Pr:Ke.current,u=No(t,u));var f=n.getDerivedStateFromProps,h=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";h||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Df(t,s,r,u),In=!1;var v=t.memoizedState;s.state=v,ol(t,r,s,o),a=t.memoizedState,l!==r||v!==a||it.current||In?(typeof f=="function"&&(Pc(t,n,f,r),a=t.memoizedState),(l=In||Lf(t,n,l,r,v,a,u))?(h||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Nm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Lt(t.type,l),s.props=u,h=t.pendingProps,v=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Pt(a):(a=st(n)?Pr:Ke.current,a=No(t,a));var d=n.getDerivedStateFromProps;(f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==h||v!==a)&&Df(t,s,r,a),In=!1,v=t.memoizedState,s.state=v,ol(t,r,s,o);var S=t.memoizedState;l!==h||v!==S||it.current||In?(typeof d=="function"&&(Pc(t,n,d,r),S=t.memoizedState),(u=In||Lf(t,n,u,r,v,S,a)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,S,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,S,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),s.props=r,s.state=S,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Ac(e,t,n,r,i,o)}function Ac(e,t,n,r,o,i){Xm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Tf(t,n,!1),wn(e,t,i);r=t.stateNode,zw.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Po(t,e.child,null,i),t.child=Po(t,null,l,i)):Ye(e,t,l,i),t.memoizedState=r.state,o&&Tf(t,n,!0),t.child}function Zm(e){var t=e.stateNode;t.pendingContext?Pf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Pf(e,t.context,!1),Vu(e,t.containerInfo)}function Hf(e,t,n,r,o){return ko(),Lu(o),t.flags|=256,Ye(e,t,n,r),t.child}var Mc={dehydrated:null,treeContext:null,retryLane:0};function _c(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jm(e,t,n){var r=t.pendingProps,o=xe.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),de(xe,o&1),e===null)return Nc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Il(s,r,0,null),e=kr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=_c(n),t.memoizedState=Mc,e):Gu(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return $w(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Zn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Zn(l,i):(i=kr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?_c(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Mc,r}return i=e.child,e=i.sibling,r=Zn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Gu(e,t){return t=Il({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ds(e,t,n,r){return r!==null&&Lu(r),Po(t,e.child,null,n),e=Gu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $w(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=_a(Error(M(422))),ds(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Il({mode:"visible",children:r.children},o,0,null),i=kr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Po(t,e.child,null,s),t.child.memoizedState=_c(s),t.memoizedState=Mc,i);if(!(t.mode&1))return ds(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(M(419)),r=_a(i,r,void 0),ds(e,t,s,r)}if(l=(s&e.childLanes)!==0,ot||l){if(r=Oe,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,xn(e,o),Ut(r,e,o,-1))}return nd(),r=_a(Error(M(421))),ds(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Jw.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ht=qn(o.nextSibling),mt=t,ge=!0,Bt=null,e!==null&&(Et[bt++]=hn,Et[bt++]=mn,Et[bt++]=Tr,hn=e.id,mn=e.overflow,Tr=t),t=Gu(t,r.children),t.flags|=4096,t)}function Wf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),kc(e.return,t,n)}function Ia(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ev(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ye(e,t,r.children,n),r=xe.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&&Wf(e,n,t);else if(e.tag===19)Wf(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(de(xe,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&&il(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ia(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&il(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ia(t,!0,n,null,i);break;case"together":Ia(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Is(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function wn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Rr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=Zn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Bw(e,t,n){switch(t.tag){case 3:Zm(t),ko();break;case 5:km(t);break;case 1:st(t.type)&&Js(t);break;case 4:Vu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;de(nl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(de(xe,xe.current&1),t.flags|=128,null):n&t.child.childLanes?Jm(e,t,n):(de(xe,xe.current&1),e=wn(e,t,n),e!==null?e.sibling:null);de(xe,xe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ev(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),de(xe,xe.current),r)break;return null;case 22:case 23:return t.lanes=0,Gm(e,t,n)}return wn(e,t,n)}var tv,Ic,nv,rv;tv=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}};Ic=function(){};nv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,yr(on.current);var i=null;switch(n){case"input":o=nc(e,o),r=nc(e,r),i=[];break;case"select":o=Ce({},o,{value:void 0}),r=Ce({},r,{value:void 0}),i=[];break;case"textarea":o=ic(e,o),r=ic(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xs)}lc(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(yi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(yi.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&he("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};rv=function(e,t,n,r){n!==r&&(t.flags|=4)};function Yo(e,t){if(!ge)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 Ue(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 Vw(e,t,n){var r=t.pendingProps;switch(Ou(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return st(t.type)&&Zs(),Ue(t),null;case 3:return r=t.stateNode,To(),me(it),me(Ke),Hu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(cs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Bt!==null&&(Vc(Bt),Bt=null))),Ic(e,t),Ue(t),null;case 5:Uu(t);var o=yr(Ri.current);if(n=t.type,e!==null&&t.stateNode!=null)nv(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return Ue(t),null}if(e=yr(on.current),cs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;
vendor: 33,008 bytes, line 40
40switch(r[en]=t,r[Ti]=i,e=(t.mode&1)!==0,n){case"dialog":he("cancel",r),he("close",r);break;case"iframe":case"object":case"embed":he("load",r);break;case"video":case"audio":for(o=0;o<ni.length;o++)he(ni[o],r);break;case"source":he("error",r);break;case"img":case"image":case"link":he("error",r),he("load",r);break;case"details":he("toggle",r);break;case"input":Jd(r,i),he("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},he("invalid",r);break;case"textarea":tf(r,i),he("invalid",r)}lc(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&as(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&as(r.textContent,l,e),o=["children",""+l]):yi.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&he("scroll",r)}switch(n){case"input":es(r),ef(r,i,!0);break;case"textarea":es(r),nf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Xs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ah(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[en]=t,e[Ti]=r,tv(e,t,!1,!1),t.stateNode=e;e:{switch(s=ac(n,r),n){case"dialog":he("cancel",e),he("close",e),o=r;break;case"iframe":case"object":case"embed":he("load",e),o=r;break;case"video":case"audio":for(o=0;o<ni.length;o++)he(ni[o],e);o=r;break;case"source":he("error",e),o=r;break;case"img":case"image":case"link":he("error",e),he("load",e),o=r;break;case"details":he("toggle",e),o=r;break;case"input":Jd(e,r),o=nc(e,r),he("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ce({},r,{value:void 0}),he("invalid",e);break;case"textarea":tf(e,r),o=ic(e,r),he("invalid",e);break;default:o=r}lc(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Ih(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Mh(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&xi(e,a):typeof a=="number"&&xi(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(yi.hasOwnProperty(i)?a!=null&&i==="onScroll"&&he("scroll",e):a!=null&&wu(e,i,a,s))}switch(n){case"input":es(e),ef(e,r,!1);break;case"textarea":es(e),nf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?io(e,!!r.multiple,i,!1):r.defaultValue!=null&&io(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Xs)}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 Ue(t),null;case 6:if(e&&t.stateNode!=null)rv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=yr(Ri.current),yr(on.current),cs(t)){if(r=t.stateNode,n=t.memoizedProps,r[en]=t,(i=r.nodeValue!==n)&&(e=mt,e!==null))switch(e.tag){case 3:as(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&as(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[en]=t,t.stateNode=r}return Ue(t),null;case 13:if(me(xe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ge&&ht!==null&&t.mode&1&&!(t.flags&128))Sm(),ko(),t.flags|=98560,i=!1;else if(i=cs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(M(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(M(317));i[en]=t}else ko(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),i=!1}else Bt!==null&&(Vc(Bt),Bt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||xe.current&1?Ae===0&&(Ae=3):nd())),t.updateQueue!==null&&(t.flags|=4),Ue(t),null);case 4:return To(),Ic(e,t),e===null&&ki(t.stateNode.containerInfo),Ue(t),null;case 10:return zu(t.type._context),Ue(t),null;case 17:return st(t.type)&&Zs(),Ue(t),null;case 19:if(me(xe),i=t.memoizedState,i===null)return Ue(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Yo(i,!1);else{if(Ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=il(e),s!==null){for(t.flags|=128,Yo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return de(xe,xe.current&1|2),t.child}e=e.sibling}i.tail!==null&&Pe()>Ro&&(t.flags|=128,r=!0,Yo(i,!1),t.lanes=4194304)}else{if(!r)if(e=il(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ge)return Ue(t),null}else 2*Pe()-i.renderingStartTime>Ro&&n!==1073741824&&(t.flags|=128,r=!0,Yo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=xe.current,de(xe,r?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return td(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ut&1073741824&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Uw(e,t){switch(Ou(t),t.tag){case 1:return st(t.type)&&Zs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return To(),me(it),me(Ke),Hu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uu(t),null;case 13:if(me(xe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));ko()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(xe),null;case 4:return To(),null;case 10:return zu(t.type._context),null;case 22:case 23:return td(),null;case 24:return null;default:return null}}var fs=!1,Qe=!1,Hw=typeof WeakSet=="function"?WeakSet:Set,F=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function Oc(e,t,n){try{n()}catch(r){ke(e,t,r)}}var Qf=!1;function Ww(e,t){if(yc=qs,e=am(),_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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,h=e,v=null;t:for(;;){for(var d;h!==n||o!==0&&h.nodeType!==3||(l=s+o),h!==i||r!==0&&h.nodeType!==3||(a=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(d=h.firstChild)!==null;)v=h,h=d;for(;;){if(h===e)break t;if(v===n&&++u===o&&(l=s),v===i&&++f===r&&(a=s),(d=h.nextSibling)!==null)break;h=v,v=h.parentNode}h=d}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(xc={focusedElem:e,selectionRange:n},qs=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var m=S.memoizedProps,w=S.memoizedState,y=t.stateNode,p=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:Lt(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(C){ke(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return S=Qf,Qf=!1,S}function hi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Oc(t,n,i)}o=o.next}while(o!==r)}}function Ml(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 Lc(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 ov(e){var t=e.alternate;t!==null&&(e.alternate=null,ov(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[Ti],delete t[Cc],delete t[Pw],delete t[Tw])),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 iv(e){return e.tag===5||e.tag===3||e.tag===4}function Kf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iv(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 Dc(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=Xs));else if(r!==4&&(e=e.child,e!==null))for(Dc(e,t,n),e=e.sibling;e!==null;)Dc(e,t,n),e=e.sibling}function Fc(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(Fc(e,t,n),e=e.sibling;e!==null;)Fc(e,t,n),e=e.sibling}var De=null,$t=!1;function Tn(e,t,n){for(n=n.child;n!==null;)sv(e,t,n),n=n.sibling}function sv(e,t,n){if(rn&&typeof rn.onCommitFiberUnmount=="function")try{rn.onCommitFiberUnmount(bl,n)}catch{}switch(n.tag){case 5:Qe||ro(n,t);case 6:var r=De,o=$t;De=null,Tn(e,t,n),De=r,$t=o,De!==null&&($t?(e=De,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):De.removeChild(n.stateNode));break;case 18:De!==null&&($t?(e=De,n=n.stateNode,e.nodeType===8?Pa(e.parentNode,n):e.nodeType===1&&Pa(e,n),Ei(e)):Pa(De,n.stateNode));break;case 4:r=De,o=$t,De=n.stateNode.containerInfo,$t=!0,Tn(e,t,n),De=r,$t=o;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Oc(n,t,s),o=o.next}while(o!==r)}Tn(e,t,n);break;case 1:if(!Qe&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ke(n,t,l)}Tn(e,t,n);break;case 21:Tn(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,Tn(e,t,n),Qe=r):Tn(e,t,n);break;default:Tn(e,t,n)}}function qf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Hw),t.forEach(function(r){var o=e1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:De=l.stateNode,$t=!1;break e;case 3:De=l.stateNode.containerInfo,$t=!0;break e;case 4:De=l.stateNode.containerInfo,$t=!0;break e}l=l.return}if(De===null)throw Error(M(160));sv(i,s,o),De=null,$t=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){ke(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)lv(t,e),t=t.sibling}function lv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mt(t,e),Yt(e),r&4){try{hi(3,e,e.return),Ml(3,e)}catch(m){ke(e,e.return,m)}try{hi(5,e,e.return)}catch(m){ke(e,e.return,m)}}break;case 1:Mt(t,e),Yt(e),r&512&&n!==null&&ro(n,n.return);break;case 5:if(Mt(t,e),Yt(e),r&512&&n!==null&&ro(n,n.return),e.flags&32){var o=e.stateNode;try{xi(o,"")}catch(m){ke(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&jh(o,i),ac(l,s);var u=ac(l,i);for(s=0;s<a.length;s+=2){var f=a[s],h=a[s+1];f==="style"?Ih(o,h):f==="dangerouslySetInnerHTML"?Mh(o,h):f==="children"?xi(o,h):wu(o,f,h,u)}switch(l){case"input":rc(o,i);break;case"textarea":Rh(o,i);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var d=i.value;d!=null?io(o,!!i.multiple,d,!1):v!==!!i.multiple&&(i.defaultValue!=null?io(o,!!i.multiple,i.defaultValue,!0):io(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ti]=i}catch(m){ke(e,e.return,m)}}break;case 6:if(Mt(t,e),Yt(e),r&4){if(e.stateNode===null)throw Error(M(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){ke(e,e.return,m)}}break;case 3:if(Mt(t,e),Yt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ei(t.containerInfo)}catch(m){ke(e,e.return,m)}break;case 4:Mt(t,e),Yt(e);break;case 13:Mt(t,e),Yt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Ju=Pe())),r&4&&qf(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(u=Qe)||f,Mt(t,e),Qe=u):Mt(t,e),Yt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(F=e,f=e.child;f!==null;){for(h=F=f;F!==null;){switch(v=F,d=v.child,v.tag){case 0:case 11:case 14:case 15:hi(4,v,v.return);break;case 1:ro(v,v.return);var S=v.stateNode;if(typeof S.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(m){ke(r,n,m)}}break;case 5:ro(v,v.return);break;case 22:if(v.memoizedState!==null){Gf(h);continue}}d!==null?(d.return=v,F=d):Gf(h)}f=f.sibling}e:for(f=null,h=e;;){if(h.tag===5){if(f===null){f=h;try{o=h.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=h.stateNode,a=h.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=_h("display",s))}catch(m){ke(e,e.return,m)}}}else if(h.tag===6){if(f===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(m){ke(e,e.return,m)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Mt(t,e),Yt(e),r&4&&qf(e);break;case 21:break;default:Mt(t,e),Yt(e)}}function Yt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(iv(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(xi(o,""),r.flags&=-33);var i=Kf(e);Fc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Kf(e);Dc(e,l,s);break;default:throw Error(M(161))}}catch(a){ke(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Qw(e,t,n){F=e,av(e)}function av(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||fs;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Qe;l=fs;var u=Qe;if(fs=s,(Qe=a)&&!u)for(F=o;F!==null;)s=F,a=s.child,s.tag===22&&s.memoizedState!==null?Xf(o):a!==null?(a.return=s,F=a):Xf(o);for(;i!==null;)F=i,av(i),i=i.sibling;F=o,fs=l,Qe=u}Yf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):Yf(e)}}function Yf(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Qe||Ml(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&_f(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_f(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var h=f.dehydrated;h!==null&&Ei(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Qe||t.flags&512&&Lc(t)}catch(v){ke(t,t.return,v)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function Gf(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Xf(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ml(4,t)}catch(a){ke(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){ke(t,o,a)}}var i=t.return;try{Lc(t)}catch(a){ke(t,i,a)}break;case 5:var s=t.return;try{Lc(t)}catch(a){ke(t,s,a)}}}catch(a){ke(t,t.return,a)}if(t===e){F=null;break}var l=t.sibling;if(l!==null){l.return=t.return,F=l;break}F=t.return}}var Kw=Math.ceil,al=En.ReactCurrentDispatcher,Xu=En.ReactCurrentOwner,kt=En.ReactCurrentBatchConfig,ne=0,Oe=null,Te=null,Fe=0,ut=0,oo=or(0),Ae=0,Ii=null,Rr=0,_l=0,Zu=0,mi=null,rt=null,Ju=0,Ro=1/0,dn=null,cl=!1,zc=null,Gn=null,ps=!1,Un=null,ul=0,vi=0,$c=null,Os=-1,Ls=0;function Xe(){return ne&6?Pe():Os!==-1?Os:Os=Pe()}function Xn(e){return e.mode&1?ne&2&&Fe!==0?Fe&-Fe:Rw.transition!==null?(Ls===0&&(Ls=Qh()),Ls):(e=le,e!==0||(e=window.event,e=e===void 0?16:Jh(e.type)),e):1}function Ut(e,t,n,r){if(50<vi)throw vi=0,$c=null,Error(M(185));Ui(e,n,r),(!(ne&2)||e!==Oe)&&(e===Oe&&(!(ne&2)&&(_l|=n),Ae===4&&Ln(e,Fe)),lt(e,r),n===1&&ne===0&&!(t.mode&1)&&(Ro=Pe()+500,jl&&ir()))}function lt(e,t){var n=e.callbackNode;Rx(e,t);var r=Ks(e,e===Oe?Fe:0);if(r===0)n!==null&&sf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&sf(n),t===1)e.tag===0?jw(Zf.bind(null,e)):ym(Zf.bind(null,e)),Nw(function(){!(ne&6)&&ir()}),n=null;else{switch(Kh(r)){case 1:n=Nu;break;case 4:n=Hh;break;case 16:n=Qs;break;case 536870912:n=Wh;break;default:n=Qs}n=vv(n,cv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function cv(e,t){if(Os=-1,Ls=0,ne&6)throw Error(M(327));var n=e.callbackNode;if(uo()&&e.callbackNode!==n)return null;var r=Ks(e,e===Oe?Fe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=dl(e,r);else{t=r;var o=ne;ne|=2;var i=dv();(Oe!==e||Fe!==t)&&(dn=null,Ro=Pe()+500,Nr(e,t));do try{Gw();break}catch(l){uv(e,l)}while(!0);Fu(),al.current=i,ne=o,Te!==null?t=0:(Oe=null,Fe=0,t=Ae)}if(t!==0){if(t===2&&(o=pc(e),o!==0&&(r=o,t=Bc(e,o))),t===1)throw n=Ii,Nr(e,0),Ln(e,r),lt(e,Pe()),n;if(t===6)Ln(e,r);else{if(o=e.current.alternate,!(r&30)&&!qw(o)&&(t=dl(e,r),t===2&&(i=pc(e),i!==0&&(r=i,t=Bc(e,i))),t===1))throw n=Ii,Nr(e,0),Ln(e,r),lt(e,Pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:hr(e,rt,dn);break;case 3:if(Ln(e,r),(r&130023424)===r&&(t=Ju+500-Pe(),10<t)){if(Ks(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Xe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Sc(hr.bind(null,e,rt,dn),t);break}hr(e,rt,dn);break;case 4:if(Ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Vt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Kw(r/1960))-r,10<r){e.timeoutHandle=Sc(hr.bind(null,e,rt,dn),r);break}hr(e,rt,dn);break;case 5:hr(e,rt,dn);break;default:throw Error(M(329))}}}return lt(e,Pe()),e.callbackNode===n?cv.bind(null,e):null}function Bc(e,t){var n=mi;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=dl(e,t),e!==2&&(t=rt,rt=n,t!==null&&Vc(t)),e}function Vc(e){rt===null?rt=e:rt.push.apply(rt,e)}function qw(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Ht(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ln(e,t){for(t&=~Zu,t&=~_l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function Zf(e){if(ne&6)throw Error(M(327));uo();var t=Ks(e,0);if(!(t&1))return lt(e,Pe()),null;var n=dl(e,t);if(e.tag!==0&&n===2){var r=pc(e);r!==0&&(t=r,n=Bc(e,r))}if(n===1)throw n=Ii,Nr(e,0),Ln(e,t),lt(e,Pe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,hr(e,rt,dn),lt(e,Pe()),null}function ed(e,t){var n=ne;ne|=1;try{return e(t)}finally{ne=n,ne===0&&(Ro=Pe()+500,jl&&ir())}}function Ar(e){Un!==null&&Un.tag===0&&!(ne&6)&&uo();var t=ne;ne|=1;var n=kt.transition,r=le;try{if(kt.transition=null,le=1,e)return e()}finally{le=r,kt.transition=n,ne=t,!(ne&6)&&ir()}}function td(){ut=oo.current,me(oo)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,bw(n)),Te!==null)for(n=Te.return;n!==null;){var r=n;switch(Ou(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Zs();break;case 3:To(),me(it),me(Ke),Hu();break;case 5:Uu(r);break;case 4:To();break;case 13:me(xe);break;case 19:me(xe);break;case 10:zu(r.type._context);break;case 22:case 23:td()}n=n.return}if(Oe=e,Te=e=Zn(e.current,null),Fe=ut=t,Ae=0,Ii=null,Zu=_l=Rr=0,rt=mi=null,gr!==null){for(t=0;t<gr.length;t++)if(n=gr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}gr=null}return e}function uv(e,t){do{var n=Te;try{if(Fu(),Ms.current=ll,sl){for(var r=Se.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}sl=!1}if(jr=0,Me=je=Se=null,pi=!1,Ai=0,Xu.current=null,n===null||n.return===null){Ae=1,Ii=t,Te=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Fe,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,f=l,h=f.tag;if(!(f.mode&1)&&(h===0||h===11||h===15)){var v=f.alternate;v?(f.updateQueue=v.updateQueue,f.memoizedState=v.memoizedState,f.lanes=v.lanes):(f.updateQueue=null,f.memoizedState=null)}var d=zf(s);if(d!==null){d.flags&=-257,$f(d,s,l,i,t),d.mode&1&&Ff(i,u,t),t=d,a=u;var S=t.updateQueue;if(S===null){var m=new Set;m.add(a),t.updateQueue=m}else S.add(a);break e}else{if(!(t&1)){Ff(i,u,t),nd();break e}a=Error(M(426))}}else if(ge&&l.mode&1){var w=zf(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),$f(w,s,l,i,t),Lu(jo(a,l));break e}}i=a=jo(a,l),Ae!==4&&(Ae=2),mi===null?mi=[i]:mi.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=Km(i,a,t);Mf(i,y);break e;case 1:l=a;var p=i.type,x=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Gn===null||!Gn.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=qm(i,l,t);Mf(i,C);break e}}i=i.return}while(i!==null)}pv(n)}catch(E){t=E,Te===n&&n!==null&&(Te=n=n.return);continue}break}while(!0)}function dv(){var e=al.current;return al.current=ll,e===null?ll:e}function nd(){(Ae===0||Ae===3||Ae===2)&&(Ae=4),Oe===null||!(Rr&268435455)&&!(_l&268435455)||Ln(Oe,Fe)}function dl(e,t){var n=ne;ne|=2;var r=dv();(Oe!==e||Fe!==t)&&(dn=null,Nr(e,t));do try{Yw();break}catch(o){uv(e,o)}while(!0);if(Fu(),ne=n,al.current=r,Te!==null)throw Error(M(261));return Oe=null,Fe=0,Ae}function Yw(){for(;Te!==null;)fv(Te)}function Gw(){for(;Te!==null&&!Sx();)fv(Te)}function fv(e){var t=mv(e.alternate,e,ut);e.memoizedProps=e.pendingProps,t===null?pv(e):Te=t,Xu.current=null}function pv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uw(n,t),n!==null){n.flags&=32767,Te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ae=6,Te=null;return}}else if(n=Vw(n,t,ut),n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Ae===0&&(Ae=5)}function hr(e,t,n){var r=le,o=kt.transition;try{kt.transition=null,le=1,Xw(e,t,n,r)}finally{kt.transition=o,le=r}return null}function Xw(e,t,n,r){do uo();while(Un!==null);if(ne&6)throw Error(M(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ax(e,i),e===Oe&&(Te=Oe=null,Fe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ps||(ps=!0,vv(Qs,function(){return uo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=kt.transition,kt.transition=null;var s=le;le=1;var l=ne;ne|=4,Xu.current=null,Ww(e,n),lv(n,e),gw(xc),qs=!!yc,xc=yc=null,e.current=n,Qw(n),Cx(),ne=l,le=s,kt.transition=i}else e.current=n;if(ps&&(ps=!1,Un=e,ul=o),i=e.pendingLanes,i===0&&(Gn=null),Nx(n.stateNode),lt(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(cl)throw cl=!1,e=zc,zc=null,e;return ul&1&&e.tag!==0&&uo(),i=e.pendingLanes,i&1?e===$c?vi++:(vi=0,$c=e):vi=0,ir(),null}function uo(){if(Un!==null){var e=Kh(ul),t=kt.transition,n=le;try{if(kt.transition=null,le=16>e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,ul=0,ne&6)throw Error(M(331));var o=ne;for(ne|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(F=u;F!==null;){var f=F;switch(f.tag){case 0:case 11:case 15:hi(8,f,i)}var h=f.child;if(h!==null)h.return=f,F=h;else for(;F!==null;){f=F;var v=f.sibling,d=f.return;if(ov(f),f===u){F=null;break}if(v!==null){v.return=d,F=v;break}F=d}}}var S=i.alternate;if(S!==null){var m=S.child;if(m!==null){S.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:hi(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,F=y;break e}F=i.return}}var p=e.current;for(F=p;F!==null;){s=F;var x=s.child;if(s.subtreeFlags&2064&&x!==null)x.return=s,F=x;else e:for(s=p;F!==null;){if(l=F,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ml(9,l)}}catch(E){ke(l,l.return,E)}if(l===s){F=null;break e}var C=l.sibling;if(C!==null){C.return=l.return,F=C;break e}F=l.return}}if(ne=o,ir(),rn&&typeof rn.onPostCommitFiberRoot=="function")try{rn.onPostCommitFiberRoot(bl,e)}catch{}r=!0}return r}finally{le=n,kt.transition=t}}return!1}function Jf(e,t,n){t=jo(n,t),t=Km(e,t,1),e=Yn(e,t,1),t=Xe(),e!==null&&(Ui(e,1,t),lt(e,t))}function ke(e,t,n){if(e.tag===3)Jf(e,e,n);else for(;t!==null;){if(t.tag===3){Jf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=jo(n,e),e=qm(t,e,1),t=Yn(t,e,1),e=Xe(),t!==null&&(Ui(t,1,e),lt(t,e));break}}t=t.return}}function Zw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Xe(),e.pingedLanes|=e.suspendedLanes&n,Oe===e&&(Fe&n)===n&&(Ae===4||Ae===3&&(Fe&130023424)===Fe&&500>Pe()-Ju?Nr(e,0):Zu|=n),lt(e,t)}function hv(e,t){t===0&&(e.mode&1?(t=rs,rs<<=1,!(rs&130023424)&&(rs=4194304)):t=1);var n=Xe();e=xn(e,t),e!==null&&(Ui(e,t,n),lt(e,n))}function Jw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hv(e,n)}function e1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),hv(e,n)}var mv;mv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||it.current)ot=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ot=!1,Bw(e,t,n);ot=!!(e.flags&131072)}else ot=!1,ge&&t.flags&1048576&&xm(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Is(e,t),e=t.pendingProps;var o=No(t,Ke.current);co(t,n),o=Qu(null,t,r,e,o,n);var i=Ku();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,st(r)?(i=!0,Js(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Bu(t),o.updater=Al,t.stateNode=o,o._reactInternals=t,Tc(t,r,e,n),t=Ac(null,t,r,!0,i,n)):(t.tag=0,ge&&i&&Iu(t),Ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Is(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=n1(r),e=Lt(r,e),o){case 0:t=Rc(null,t,r,e,n);break e;case 1:t=Uf(null,t,r,e,n);break e;case 11:t=Bf(null,t,r,e,n);break e;case 14:t=Vf(null,t,r,Lt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Rc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Uf(e,t,r,o,n);case 3:e:{if(Zm(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Nm(e,t),ol(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=jo(Error(M(423)),t),t=Hf(e,t,r,n,o);break e}else if(r!==o){o=jo(Error(M(424)),t),t=Hf(e,t,r,n,o);break e}else for(ht=qn(t.stateNode.containerInfo.firstChild),mt=t,ge=!0,Bt=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ko(),r===o){t=wn(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return km(t),e===null&&Nc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,wc(r,o)?s=null:i!==null&&wc(r,i)&&(t.flags|=32),Xm(e,t),Ye(e,t,s,n),t.child;case 6:return e===null&&Nc(t),null;case 13:return Jm(e,t,n);case 4:return Vu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Po(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Bf(e,t,r,o,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,de(nl,r._currentValue),r._currentValue=s,i!==null)if(Ht(i.value,s)){if(i.children===o.children&&!it.current){t=wn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=vn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),kc(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),kc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,co(t,n),o=Pt(o),r=r(o),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,o=Lt(r,t.pendingProps),o=Lt(r.type,o),Vf(e,t,r,o,n);case 15:return Ym(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Is(e,t),t.tag=1,st(r)?(e=!0,Js(t)):e=!1,co(t,n),Qm(t,r,o),Tc(t,r,o,n),Ac(null,t,r,!0,e,n);case 19:return ev(e,t,n);case 22:return Gm(e,t,n)}throw Error(M(156,t.tag))};function vv(e,t){return Uh(e,t)}function t1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nt(e,t,n,r){return new t1(e,t,n,r)}function rd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function n1(e){if(typeof e=="function")return rd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cu)return 11;if(e===Eu)return 14}return 2}function Zn(e,t){var n=e.alternate;return n===null?(n=Nt(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.deleti
vendor: 4,548 bytes, line 40
40ons=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 Ds(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")rd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case qr:return kr(n.children,o,i,t);case Su:s=8,o|=8;break;case Za:return e=Nt(12,n,t,o|2),e.elementType=Za,e.lanes=i,e;case Ja:return e=Nt(13,n,t,o),e.elementType=Ja,e.lanes=i,e;case ec:return e=Nt(19,n,t,o),e.elementType=ec,e.lanes=i,e;case kh:return Il(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bh:s=10;break e;case Nh:s=9;break e;case Cu:s=11;break e;case Eu:s=14;break e;case _n:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Nt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function kr(e,t,n,r){return e=Nt(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=Nt(22,e,r,t),e.elementType=kh,e.lanes=n,e.stateNode={isHidden:!1},e}function Oa(e,t,n){return e=Nt(6,e,null,t),e.lanes=n,e}function La(e,t,n){return t=Nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function r1(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=va(0),this.expirationTimes=va(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=va(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function od(e,t,n,r,o,i,s,l,a){return e=new r1(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Nt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bu(i),e}function o1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Kr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gv(e){if(!e)return er;e=e._reactInternals;e:{if(Dr(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(st(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(st(n))return gm(e,n,t)}return t}function yv(e,t,n,r,o,i,s,l,a){return e=od(n,r,!0,e,o,i,s,l,a),e.context=gv(null),n=e.current,r=Xe(),o=Xn(n),i=vn(r,o),i.callback=t??null,Yn(n,i,o),e.current.lanes=o,Ui(e,o,r),lt(e,r),e}function Ol(e,t,n,r){var o=t.current,i=Xe(),s=Xn(o);return n=gv(n),t.context===null?t.context=n:t.pendingContext=n,t=vn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Yn(o,t,s),e!==null&&(Ut(e,o,s,i),As(e,o,s)),s}function fl(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 ep(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function id(e,t){ep(e,t),(e=e.alternate)&&ep(e,t)}function i1(){return null}var xv=typeof reportError=="function"?reportError:function(e){console.error(e)};function sd(e){this._internalRoot=e}Ll.prototype.render=sd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Ol(e,t,null,null)};Ll.prototype.unmount=sd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ar(function(){Ol(null,e,null,null)}),t[yn]=null}};function Ll(e){this._internalRoot=e}Ll.prototype.unstable_scheduleHydration=function(e){if(e){var t=Gh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<On.length&&t!==0&&t<On[n].priority;n++);On.splice(n,0,e),n===0&&Zh(e)}};function ld(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tp(){}function s1(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=fl(s);i.call(u)}}var s=yv(t,r,e,0,null,!1,!1,"",tp);return e._reactRootContainer=s,e[yn]=s.current,ki(e.nodeType===8?e.parentNode:e),Ar(),s}for(;
vendor: 5,149 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=fl(a);l.call(u)}}var a=od(e,0,!1,null,null,!1,!1,"",tp);return e._reactRootContainer=a,e[yn]=a.current,ki(e.nodeType===8?e.parentNode:e),Ar(function(){Ol(t,a,n,r)}),a}function Fl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=fl(s);l.call(a)}}Ol(t,s,e,o)}else s=s1(n,t,e,o,r);return fl(s)}qh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ti(t.pendingLanes);n!==0&&(ku(t,n|1),lt(t,Pe()),!(ne&6)&&(Ro=Pe()+500,ir()))}break;case 13:Ar(function(){var r=xn(e,1);if(r!==null){var o=Xe();Ut(r,e,1,o)}}),id(e,1)}};Pu=function(e){if(e.tag===13){var t=xn(e,134217728);if(t!==null){var n=Xe();Ut(t,e,134217728,n)}id(e,134217728)}};Yh=function(e){if(e.tag===13){var t=Xn(e),n=xn(e,t);if(n!==null){var r=Xe();Ut(n,e,t,r)}id(e,t)}};Gh=function(){return le};Xh=function(e,t){var n=le;try{return le=e,t()}finally{le=n}};uc=function(e,t,n){switch(t){case"input":if(rc(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=Tl(r);if(!o)throw Error(M(90));Th(r),rc(r,o)}}}break;case"textarea":Rh(e,n);break;case"select":t=n.value,t!=null&&io(e,!!n.multiple,t,!1)}};Dh=ed;Fh=Ar;var l1={usingClientEntryPoint:!1,Events:[Wi,Zr,Tl,Oh,Lh,ed]},Go={findFiberByHostInstance:vr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},a1={bundleType:Go.bundleType,version:Go.version,rendererPackageName:Go.rendererPackageName,rendererConfig:Go.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=Bh(e),e===null?null:e.stateNode},findFiberByHostInstance:Go.findFiberByHostInstance||i1,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 hs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hs.isDisabled&&hs.supportsFiber)try{bl=hs.inject(a1),rn=hs}catch{}}yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=l1;yt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ld(t))throw Error(M(200));return o1(e,t,null,n)};yt.createRoot=function(e,t){if(!ld(e))throw Error(M(299));var n=!1,r="",o=xv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=od(e,1,!1,null,null,n,!1,r,o),e[yn]=t.current,ki(e.nodeType===8?e.parentNode:e),new sd(t)};yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Bh(t),e=e===null?null:e.stateNode,e};yt.flushSync=function(e){return Ar(e)};yt.hydrate=function(e,t,n){if(!Dl(t))throw Error(M(200));return Fl(null,e,t,!0,n)};yt.hydrateRoot=function(e,t,n){if(!ld(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=xv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=yv(t,null,e,1,n??null,o,!1,i,s),e[yn]=t.current,ki(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 Ll(t)};yt.render=function(e,t,n){if(!Dl(t))throw Error(M(200));return Fl(null,e,t,!1,n)};yt.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(M(40));return e._reactRootContainer?(Ar(function(){Fl(null,null,e,!1,function(){e._reactRootContainer=null,e[yn]=null})}),!0):!1};yt.unstable_batchedUpdates=ed;yt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Dl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Fl(e,t,n,!1,r)};yt.version="18.3.1-next-f1338f8080-20240426";function wv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wv)}catch(e){console.error(e)}}wv(),wh.exports=yt;var Fr=wh.exports;const Sv=ah(Fr);var Cv,np=Fr;Cv=np.createRoot,np.hydrateRoot;const c1=1,u1=1e6;let Da=0;function d1(){return Da=(Da+1)%Number.MAX_SAFE_INTEGER,Da.toString()}const Fa=new Map,rp=e=>{if(Fa.has(e))return;const t=setTimeout(()=>{Fa.delete(e),gi({type:"REMOVE_TOAST",toastId:e})},u1);Fa.set(e,t)},f1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,c1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?rp(n):e.toasts.forEach(r=>{rp(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)}}},Fs=[];let zs={toasts:[]};function gi(e){zs=f1(zs,e),Fs.forEach(t=>{t(zs)})}function p1({...e}){const t=d1(),n=o=>gi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>gi({type:"DISMISS_TOAST",toastId:t});return gi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function h1(){const[e,t]=g.useState(zs);return g.useEffect(()=>(Fs.push(t),()=>{const n=Fs.indexOf(t);n>-1&&Fs.splice(n,1)}),[e]),{...e,toast:p1,dismiss:n=>gi({type:"DISMISS_TOAST",toastId:n})}}function Z(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 op(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ev(...e){return t=>{let n=!1;const r=e.map(o=>{const i=op(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():op(e[o],null)}}}}function ye(...e){return g.useCallback(Ev(...e),e)}function sr(e,t=[]){let n=[];function r(i,s){const l=g.createContext(s),a=n.length;n=[...n,s];const u=h=>{var y;const{scope:v,children:d,...S}=h,m=((y=v==null?void 0:v[e])==null?void 0:y[a])||l,w=g.useMemo(()=>S,Object.values(S));return c.jsx(m.Provider,{value:w,children:d})};u.displayName=i+"Provider";function f(h,v){var m;const d=((m=v==null?void 0:v[e])==null?void 0:m[a])||l,S=g.useContext(d);if(S)return S;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[u,f]}const o=()=>{const i=n.map(s=>g.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return g.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,m1(o,...t)]}function m1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const h=a(i)[`__scope${u}`];return{...l,...h}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Oi(e){const t=g1(e),n=g.forwardRef((r,o)=>{const{children:i,...s}=r,l=g.Children.toArray(i),a=l.find(x1);if(a){const u=a.props.children,f=l.map(h=>h===a?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:h);return c.jsx(t,{...s,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return c.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var v1=Oi("Slot");function g1(e){const t=g.forwardRef((n,r)=>{const{children:o,...i}=n;if(g.isValidElement(o)){const s=S1(o),l=w1(i,o.props);return o.type!==g.Fragment&&(l.ref=r?Ev(r,s):s),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bv=Symbol("radix.slottable");function y1(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=bv,t}function x1(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bv}function w1(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{const a=i(...l);return o(...l),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function S1(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 ad(e){const t=e+"CollectionProvider",[n,r]=sr(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{const{scope:w,children:y}=m,p=R.useRef(null),x=R.useRef(new Map).current;return c.jsx(o,{scope:w,itemMap:x,collectionRef:p,children:y})};s.displayName=t;const l=e+"CollectionSlot",a=Oi(l),u=R.forwardRef((m,w)=>{const{scope:y,children:p}=m,x=i(l,y),C=ye(w,x.collectionRef);return c.jsx(a,{ref:C,children:p})});u.displayName=l;const f=e+"CollectionItemSlot",h="data-radix-collection-item",v=Oi(f),d=R.forwardRef((m,w)=>{const{scope:y,children:p,...x}=m,C=R.useRef(null),E=ye(w,C),N=i(f,y);return R.useEffect(()=>(N.itemMap.set(C,{ref:C,...x}
vendor: 1,349 bytes, line 40
40),()=>void N.itemMap.delete(C))),c.jsx(v,{[h]:"",ref:E,children:p})});d.displayName=f;function S(m){const w=i(e+"CollectionConsumer",m);return R.useCallback(()=>{const p=w.collectionRef.current;if(!p)return[];const x=Array.from(p.querySelectorAll(`[${h}]`));return Array.from(w.itemMap.values()).sort((N,b)=>x.indexOf(N.ref.current)-x.indexOf(b.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:d},S,r]}var C1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ee=C1.reduce((e,t)=>{const n=Oi(`Primitive.${t}`),r=g.forwardRef((o,i)=>{const{asChild:s,...l}=o,a=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(a,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Nv(e,t){e&&Fr.flushSync(()=>e.dispatchEvent(t))}function Wt(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function E1(e,t=globalThis==null?void 0:globalThis.document){const n=Wt(e);g.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 b1="DismissableLayer",Uc="dismissableLayer.update",N1="dismissableLayer.pointerDownOutside",k1="dism
40issableLayer.focusOutside",ip,kv=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zl=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...a}=e,u=g.useContext(kv),[f,h]=g.useState(null),v=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=g.useState({}),S=ye(t,b=>h(b)),m=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(w),p=f?m.indexOf(f):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,C=p>=y,E=T1(b=>{const P=b.target,A=[...u.branches].some(_=>_.contains(P));!C||A||(o==null||o(b),s==null||s(b),b.defaultPrevented||l==null||l())},v),N=j1(b=>{const P=b.target;[...u.branches].some(_=>_.contains(P))||(i==null||i(b),s==null||s(b),b.defaultPrevented||l==null||l())},v);return E1(b=>{p===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&l&&(b.preventDefault(),l()))},v),g.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(ip=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),sp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=ip)}},[f,v,n,u]),g.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),sp())},[f,u]),g.useEffect(()=>{const b=()=>d({});return document.addEventListener(Uc,b),()=>document.removeEventListener(Uc,b)},[]),c.jsx(ee.div,{...a,ref:S,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:Z(e.onFocusCapture,N.onFocusCapture),onBlurCapture:Z(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Z(e.onPointerDownCapture,E.onPointerDownCapture)})});zl.displayName=b1;var P1="DismissableLayerBranch",Pv=g.forwardRef((e,t)=>{const n=g.useContext(kv),r=g.useRef(null),o=ye(t,r);return g.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),c.jsx(ee.div,{...e,ref:o})});Pv.displayName=P1;function T1(e,t=globalThis==null?void 0:globalThis.document){const n=Wt(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let a=function(){Tv(N1,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function j1(e,t=globalThis==null?void 0:globalThis.document){const n=Wt(e),r=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!r.current&&Tv(k1,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sp(){const e=new CustomEvent(Uc);document.dispatchEvent(e)}function Tv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Nv(o,i):o.dispatchEvent(i)}var R1=zl,A1=Pv,Le=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},M1="Portal",cd=g.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=g.useState(!1);Le(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?Sv.createPortal(c.jsx(ee.div,{...r,ref:t}),s):null});cd.displayName=M1;function _1(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var $l=e=>{const{present:t,children:n}=e,r=I1(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),i=ye(r.ref,O1(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:i}):null};$l.displayName="Presence";function I1(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),i=g.useRef("none"),s=e?"mounted":"unmounted",[l,a]=_1(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=ms(r.current);i.current=l==="mounted"?u:"none"},[l]),Le(()=>{const u=r.current,f=o.current;if(f!==e){const v=i.current,d=ms(u);e?a("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(f&&v!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Le(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=d=>{const m=ms(r.current).includes(d.animationName);if(d.target===t&&m&&(a("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},v=d=>{d.target===t&&(i.current=ms(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ms(e){return(e==null?void 0:e.animationName)||"none"}function O1(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 L1=gu[" useInsertionEffect ".trim().toString()]||Le;function Ao({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=D1({defaultProp:t,onChange:n}),l=e!==void 0,a=l?e:o;
40{const f=g.useRef(e!==void 0);g.useEffect(()=>{const h=f.current;h!==l&&console.warn(`${r} is changing from ${h?"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.`),f.current=l},[l,r])}const u=g.useCallback(f=>{var h;if(l){const v=F1(f)?f(e):f;v!==e&&((h=s.current)==null||h.call(s,v))}else i(f)},[l,e,i,s]);return[a,u]}function D1({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),i=g.useRef(t);return L1(()=>{i.current=t},[t]),g.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function F1(e){return typeof e=="function"}var jv=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"}),z1="VisuallyHidden",Bl=g.forwardRef((e,t)=>c.jsx(ee.span,{...e,ref:t,style:{...jv,...e.style}}));Bl.displayName=z1;var $1=Bl,ud="ToastProvider",[dd,B1,V1]=ad("Toast"),[Rv,rP]=sr("Toast",[V1]),[U1,Vl]=Rv(ud),Av=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,a]=g.useState(null),[u,f]=g.useState(0),h=g.useRef(!1),v=g.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${ud}\`. Expected non-empty \`string\`.`),c.jsx(dd.Provider,{scope:t,children:c.jsx(U1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:g.useCallback(()=>f(d=>d+1),[]),onToastRemove:g.useCallback(()=>f(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:v,children:s})})};Av.displayName=ud;var Mv="ToastViewport",H1=["F8"],Hc="toast.viewportPause",Wc="toast.viewportResume",_v=g.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=H1,label:o="Notifications ({hotkey})",...i}=e,s=Vl(Mv,n),l=B1(n),a=g.useRef(null),u=g.useRef(null),f=g.useRef(null),h=g.useRef(null),v=ye(t,h,s.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=s.toastCount>0;g.useEffect(()=>{const w=y=>{var x;r.length!==0&&r.every(C=>y[C]||y.code===C)&&((x=h.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),g.useEffect(()=>{const w=a.current,y=h.current;if(S&&w&&y){const p=()=>{if(!s.isClosePausedRef.current){const N=new CustomEvent(Hc);y.dispatchEvent(N),s.isClosePausedRef.current=!0}},x=()=>{if(s.isClosePausedRef.current){const N=new CustomEvent(Wc);y.dispatchEvent(N),s.isClosePausedRef.current=!1}},C=N=>{!w.contains(N.relatedTarget)&&x()},E=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",p),w.addEventListener("focusout",C),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",E),window.addEventListener("blur",p),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",p),window.removeEventListener("focus",x)}}},[S,s.isClosePausedRef]);const m=g.useCallback(({tabbingDirection:w})=>{const p=l().map(x=>{const C=x.ref.current,E=[C,...rS(C)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?p.reverse():p).flat()},[l]);return g.useEffect(()=>{const w=h.current;if(w){const y=p=>{var E,N,b;const x=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!x){const P=document.activeElement,A=p.shiftKey;if(p.target===w&&A){(E=u.current)==null||E.focus();return}const O=m({tabbingDirection:A?"backwards":"forwards"}),H=O.findIndex(I=>I===P);za(O.slice(H+1))?p.preventDefault():A?(N=u.current)==null||N.focus():(b=f.current)==null||b.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[l,m]),c.jsxs(A1,{ref:a,role:"region","aria-label":o.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&c.jsx(Qc,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});za(w)}}),c.jsx(dd.Slot,{scope:n,children:c.jsx(ee.ol,{tabIndex:-1,...i,ref:v})}),S&&c.jsx(Qc,{ref:f,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});za(w)}})]})});_v.displayName=Mv;var Iv="ToastFocusProxy",Qc=g.forwardRef((e,t)=>
40{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Vl(Iv,n);return c.jsx(Bl,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});Qc.displayName=Iv;var Ki="Toast",W1="toast.swipeStart",Q1="toast.swipeMove",K1="toast.swipeCancel",q1="toast.swipeEnd",Ov=g.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l,a]=Ao({prop:r,defaultProp:o??!0,onChange:i,caller:Ki});return c.jsx($l,{present:n||l,children:c.jsx(X1,{open:l,...s,ref:t,onClose:()=>a(!1),onPause:Wt(e.onPause),onResume:Wt(e.onResume),onSwipeStart:Z(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Z(e.onSwipeMove,u=>{const{x:f,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:Z(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:Z(e.onSwipeEnd,u=>{const{x:f,y:h}=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",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),a(!1)})})})});Ov.displayName=Ki;var[Y1,G1]=Rv(Ki,{onClose(){}}),X1=g.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:f,onSwipeMove:h,onSwipeCancel:v,onSwipeEnd:d,...S}=e,m=Vl(Ki,n),[w,y]=g.useState(null),p=ye(t,I=>y(I)),x=g.useRef(null),C=g.useRef(null),E=o||m.duration,N=g.useRef(0),b=g.useRef(E),P=g.useRef(0),{onToastAdd:A,onToastRemove:_}=m,B=Wt(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=m.viewport)==null||W.focus()),s()}),O=g.useCallback(I=>{!I||I===1/0||(window.clearTimeout(P.current),N.current=new Date().getTime(),P.current=window.setTimeout(B,I))},[B]);g.useEffect(()=>{const I=m.viewport;if(I){const W=()=>{O(b.current),u==null||u()},z=()=>{const V=new Date().getTime()-N.current;b.current=b.current-V,window.clearTimeout(P.current),a==null||a()};return I.addEventListener(Hc,z),I.addEventListener(Wc,W),()=>{I.removeEventListener(Hc,z),I.removeEventListener(Wc,W)}}},[m.viewport,E,a,u,O]),g.useEffect(()=>{i&&!m.isClosePausedRef.current&&O(E)},[i,E,m.isClosePausedRef,O]),g.useEffect(()=>(A(),()=>_()),[A,_]);const H=g.useMemo(()=>w?Vv(w):null,[w]);return m.viewport?c.jsxs(c.Fragment,{children:[H&&c.jsx(Z1,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),c.jsx(Y1,{scope:n,onClose:B,children:Fr.createPortal(c.jsx(dd.ItemSlot,{scope:n,children:c.jsx(R1,{asChild:!0,onEscapeKeyDown:Z(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||B(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(ee.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...S,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Z(e.onKeyDown,I=>{I.key==="Escape"&&(l==null||l(I.nativeEvent),I.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:Z(e.onPointerDown,I=>{I.button===0&&(x.current={x:I.clientX,y:I.clientY})}),onPointerMove:Z(e.onPointerMove,I=>{if(!x.current)return;const W=I.clientX-x.current.x,z=I.clientY-x.current.y,V=!!C.current,k=["left","right"].includes(m.swipeDirection),T=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,L=k?T(0,W):0,Q=k?0:T(0,z),U=I.pointerType==="touch"?10:2,G={x:L,y:Q},K={originalEvent:I,delta:G};V?(C.current=G,vs(Q1,h,K,{discrete:!1})):lp(G,m.swipeDirection,U)?(C.current=G,vs(W1,f,K,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(W)>U||Math.abs(z)>U)&&(x.current=null)}),onPointerUp:Z(e.onPointerUp,I=>{const W=C.current,z=I.target;if(z.hasPointerCapture(I.pointerId)&&z.releasePointerCapture(I.pointerId),C.current=null,x.current=null,W){const V=I.currentTarget,k={originalEvent:I,delta:W};lp(W,m.swipeDirection,m.swipeThreshold)?vs(q1,d,k,{discrete:!0}):vs(K1,v,k,{discrete:!0}),V.addEventListener("click",T=>T.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),Z1=e=>{const{__scopeToast:t,children:n,...r}=e,o=Vl(Ki,t),[i,s]=g.useState(!1),[l,a]=g.useState(!1);return tS(()=>s(!0)),g.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.jsx(cd,{asChild:!0,children:c.jsx(Bl,{...r,children:i&&c.jsxs(c.Fragment,{children:[o.label," ",n]})})})},J1="ToastTitle",Lv=g.forwardRef((e,t)=>
vendor: 4,741 bytes, lines 40-60
40{const{__scopeToast:n,...r}=e;return c.jsx(ee.div,{...r,ref:t})});Lv.displayName=J1;var eS="ToastDescription",Dv=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(ee.div,{...r,ref:t})});Dv.displayName=eS;var Fv="ToastAction",zv=g.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(Bv,{altText:n,asChild:!0,children:c.jsx(fd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Fv}\`. Expected non-empty \`string\`.`),null)});zv.displayName=Fv;var $v="ToastClose",fd=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=G1($v,n);return c.jsx(Bv,{asChild:!0,children:c.jsx(ee.button,{type:"button",...r,ref:t,onClick:Z(e.onClick,o.onClose)})})});fd.displayName=$v;var Bv=g.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.jsx(ee.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Vv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),nS(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Vv(r))}}),t}function vs(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Nv(o,i):o.dispatchEvent(i)}var lp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function tS(e=()=>{}){const t=Wt(e);Le(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function nS(e){return e.nodeType===e.ELEMENT_NODE}function rS(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 za(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var oS=Av,Uv=_v,Hv=Ov,Wv=Lv,Qv=Dv,Kv=zv,qv=fd;function Yv(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=Yv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Gv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Yv(e))&&(r&&(r+=" "),r+=t);return r}const ap=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,cp=Gv,Ul=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return cp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],h=i==null?void 0:i[u];if(f===null)return null;const v=ap(f)||ap(h);return o[u][v]}),l=n&&Object.entries(n).reduce((u,f)=>{let[h,v]=f;return v===void 0||(u[h]=v),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:h,className:v,...d}=f;return Object.entries(d).every(S=>{let[m,w]=S;return Array.isArray(w)?w.includes({...i,...l}[m]):{...i,...l}[m]===w})?[...u,h,v]:u},[]);return cp(e,s,a,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const iS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xv=(...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 sS={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 lS=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},a)=>g.createElement("svg",{ref:a,...sS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Xv("lucide",o),...l},[...s.map(([u,f])=>g.createElement(u,f)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ue=(e,t)=>
60{const n=g.forwardRef(({className:r,...o},i)=>g.createElement(lS,{ref:i,iconNode:t,className:Xv(`lucide-${iS(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 aS=ue("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
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 cS=ue("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
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 uS=ue("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
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 dS=ue("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"}]]);/**
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 fS=ue("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 pd=ue("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 Zv=ue("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
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 Jv=ue("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 pS=ue("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
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 hS=ue("Droplet",[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]]);/**
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 mS=ue("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"}]]);/**
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 hd=ue("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
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.
125 */const md=ue("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"}]]);/**
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 vS=ue("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const gS=ue("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const yS=ue("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const eg=ue("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const tg=ue("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"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const xS=ue("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const wS=ue("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const SS=ue("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const up=ue("Thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const CS=ue("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"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const ES=ue("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
vendor: 10,378 bytes, lines 185-195
185 */const bS=ue("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"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const NS=ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const ng=ue("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),vd="-",kS=e=>{const t=TS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(vd);return l[0]===""&&l.length!==1&&l.shift(),rg(l,t)||PS(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},rg=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?rg(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(vd);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},dp=/^\[(.+)\]$/,PS=e=>{if(dp.test(e)){const t=dp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},TS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return RS(Object.entries(e.classGroups),n).forEach(([i,s])=>{Kc(s,r,i,t)}),r},Kc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:fp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(jS(o)){Kc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Kc(s,fp(t,i),n,r)})})},fp=(e,t)=>{let n=e;return t.split(vd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},jS=e=>e.isThemeGetter,RS=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,AS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},og="!",MS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const a=[];let u=0,f=0,h;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===o&&(r||l.slice(w,w+i)===t)){a.push(l.slice(f,w)),f=w+i;continue}if(y==="/"){h=w;continue}}y==="["?u++:y==="]"&&u--}const v=a.length===0?l:l.substring(f),d=v.startsWith(og),S=d?v.substring(1):v,m=h&&h>f?h-f:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:S,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:s}):s},_S=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},IS=e=>({cache:AS(e.cacheSize),parseClassName:MS(e),...kS(e)}),OS=/\s+/,LS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(OS);let l="";for(let a=s.length-1;a>=0;a-=1){const u=s[a],{modifiers:f,hasImportantModifier:h,baseClassName:v,maybePostfixModifierPosition:d}=n(u);let S=!!d,m=r(S?v.substring(0,d):v);if(!m){if(!S){l=u+(l.length>0?" "+l:l);continue}if(m=r(v),!m){l=u+(l.length>0?" "+l:l);continue}S=!1}const w=_S(f).join(":"),y=h?w+og:w,p=y+m;if(i.includes(p))continue;i.push(p);const x=o(m,S);for(let C=0;C<x.length;++C){const E=x[C];i.push(y+E)}l=u+(l.length>0?" "+l:l)}return l};function DS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=ig(t))&&(r&&(r+=" "),r+=n);return r}const ig=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ig(e[r]))&&(n&&(n+=" "),n+=t);return n};function FS(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((f,h)=>h(f),e());return n=IS(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const f=LS(a,n);return o(a,f),f}return function(){return i(DS.apply(null,arguments))}}const pe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},sg=/^\[(?:([a-z-]+):)?(.+)\]$/i,zS=/^\d+\/\d+$/,$S=new Set(["px","full","screen"]),BS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,VS=/\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$/,US=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,HS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,WS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cn=e=>fo(e)||$S.has(e)||zS.test(e),jn=e=>Do(e,"length",JS),fo=e=>!!e&&!Number.isNaN(Number(e)),$a=e=>Do(e,"number",fo),Xo=e=>!!e&&Number.isInteger(Number(e)),QS=e=>e.endsWith("%")&&fo(e.slice(0,-1)),X=e=>sg.test(e),Rn=e=>BS.test(e),KS=new Set(["length","size","percentage"]),qS=e=>Do(e,KS,lg),YS=e=>Do(e,"position",lg),GS=new Set(["image","url"]),XS=e=>Do(e,GS,tC),ZS=e=>Do(e,"",eC),Zo=()=>!0,Do=(e,t,n)=>{const r=sg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},JS=e=>VS.test(e)&&!US.test(e),lg=()=>!1,eC=e=>HS.test(e),tC=e=>WS.test(e),nC=()=>{const e=pe("colors"),t=pe("spacing"),n=pe("blur"),r=pe("brightness"),o=pe("borderColor"),i=pe("borderRadius"),s=pe("borderSpacing"),l=pe("borderWidth"),a=pe("contrast"),u=pe("grayscale"),f=pe("hueRotate"),h=pe("invert"),v=pe("gap"),d=pe("gradientColorStops"),S=pe("gradientColorStopPositions"),m=pe("inset"),w=pe("margin"),y=pe("opacity"),p=pe("padding"),x=pe("saturate"),C=pe("scale"),E=pe("sepia"),N=pe("skew"),b=pe("space"),P=pe("translate"),A=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",X,t],O=()=>[X,t],H=()=>["",cn,jn],I=()=>["auto",fo,X],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["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"],k=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",X],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[fo,X];return{cacheSize:500,separator:":",theme:{colors:[Zo],spacing:[cn,jn],blur:["none","",Rn,X],brightness:Q(),borderColor:[e],borderRadius:["none","","full",Rn,X],borderSpacing:O(),borderWidth:H(),contrast:Q(),grayscale:T(),hueRotate:Q(),invert:T(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[QS,jn],inset:B(),margin:B(),opacity:Q(),padding:O(),saturate:Q(),scale:Q(),sepia:T(),skew:Q(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",X]}],container:["container"],columns:[{columns:[Rn]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),X]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Xo,X]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",X]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Xo,X]}],"grid-cols":[{"grid-cols":[Zo]}],"col-start-end":[{col:["auto",{span:["full",Xo,X]},X]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Zo]}],"row-start-end":[{row:["auto",{span:[Xo,X]},X]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",X]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",X]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",X,t]}],"min-w":[{"min-w":[X,t,"min","max","fit"]}],"max-w":[{"max-w":[X,t,"none","full","min","max","fit","prose",{screen:[Rn]}
vendor: 8,277 bytes, line 195
195,Rn]}],h:[{h:[X,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[X,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[X,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Rn,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$a]}],"font-family":[{font:[Zo]}],"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",X]}],"line-clamp":[{"line-clamp":["none",fo,$a]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,X]}],"list-image":[{"list-image":["none",X]}],"list-style-type":[{list:["none","disc","decimal",X]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,jn]}],"underline-offset":[{"underline-offset":["auto",cn,X]}],"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:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X]}],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",X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),YS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},XS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...z(),"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":[y]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[cn,X]}],"outline-w":[{outline:[cn,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[cn,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Rn,ZS]}],"shadow-color":[{shadow:[Zo]}],opacity:[{opacity:[y]}],"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",Rn,X]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[x]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",X]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",X]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",X]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Xo,X]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",X]}],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",X]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[cn,jn,$a]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
195none"]}]},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"]}}},rC=FS(nC);function ae(...e){return rC(Gv(e))}const oC=oS,ag=g.forwardRef(({className:e,...t},n)=>c.jsx(Uv,{ref:n,className:ae("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}));ag.displayName=Uv.displayName;const iC=Ul("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"}}),cg=g.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(Hv,{ref:r,className:ae(iC({variant:t}),e),...n}));cg.displayName=Hv.displayName;const sC=g.forwardRef(({className:e,...t},n)=>c.jsx(Kv,{ref:n,className:ae("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));sC.displayName=Kv.displayName;const ug=g.forwardRef(({className:e,...t},n)=>c.jsx(qv,{ref:n,className:ae("absolute right-2 top-2 rounded-md p-1 text-foreground
195/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:c.jsx(NS,{className:"h-4 w-4"})}));ug.displayName=qv.displayName;const dg=g.forwardRef(({className:e,...t},n)=>c.jsx(Wv,{ref:n,className:ae("text-sm font-semibold",e),...t}));dg.displayName=Wv.displayName;const fg=g.forwardRef(({className:e,...t},n)=>c.jsx(Qv,{ref:n,className:ae("text-sm opacity-90",e),...t}));fg.displayName=Qv.displayName;function lC(){const{toasts:e}=h1();return c.jsxs(oC,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return c.jsxs(cg,{...i,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(dg,{children:n}),r&&c.jsx(fg,{children:r})]}),o,c.jsx(ug,{})]},t)}),c.jsx(ag,{})]})}var pp=["light","dark"],aC="(prefers-color-scheme: dark)",cC=g.createContext(void 0),uC={setTheme:e=>{},themes:[]},dC=()=>{var e;return(e=g.useContext(cC))!=null?e:uC};g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:l,nonce:a})=>{let u=i==="system",f=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=o?pp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=(S,m=!1,w=!0)=>{let y=s?s[S]:S,p=m?S+"|| ''":`'${y}'`,x="";return o&&w&&!m&&pp.includes(S)&&(x+=`d.style.colorScheme = '${S}';`),n==="class"?m||y?x+=`c.add(${p})`:x+="null":y&&(x+=`d[s](n,${p})`),x},d=e?`!function(){${f}${v(e)}}()`:r?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${aC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${v(s?"x[e]":"e",!0)}}${u?"":"else{"+v(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${v(s?"x[e]":"e",!0)}}else{${v(i,!1,!1)};}${h}}catch(t){}}();`;return g.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:d}})});var fC=e=>{switch(e){case"success":return mC;case"info":return gC;case"warning":return vC;case"error":return yC;default:return null}},pC=Array(12).fill(0),hC=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},pC.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),mC=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),vC=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.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"})),gC=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),yC=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),xC=R.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"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),wC=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};
195return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},qc=1,SC=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:qc++,i=this.toasts.find(l=>l.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
195this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async a=>{if(i=["resolve",a],R.isValidElement(a))o=!1,this.create({id:n,type:"default",message:a});else if(EC(a)&&!a.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${a.status}`):t.error,f=typeof t.description=="function"?await t.description(`HTTP error! status: ${a.status}`):t.description;this.create({id:n,type:"error",message:u,description:f})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(a):t.success,f=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"success",message:u,description:f})}}).catch(async a=>{if(i=["reject",a],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(a):t.error,f=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"error",message:u,description:f})}}).finally(()=>{var a;o&&(this.dismiss(n),n=void 0),(a=t.finally)==null||a.call(t)}),l=()=>new Promise((a,u)=>s.then(()=>i[0]==="reject"?u(i[1]):a(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||qc++;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}},et=new SC,CC=(e,t)=>{let n=(t==null?void 0:t.id)||qc++;return et.addToast({title:e,...t,id:n}),n},EC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",bC=CC,NC=()=>et.toasts,kC=()=>et.getActiveToasts();Object.assign(bC,{success:et.success,info:et.info,warning:et.warning,error:et.error,custom:et.custom,message:et.message,promise:et.promise,dismiss:et.dismiss,loading:et.loading},{getHistory:NC,getToasts:kC});function PC(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))}PC(`: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;
195left: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}
195: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%);
195--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%)}
196`);function gs(e){return e.label!==void 0}var TC=3,jC="32px",RC="16px",hp=4e3,AC=356,MC=14,_C=20,IC=200;function _t(...e){return e.filter(Boolean).join(" ")}function OC(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var LC=e=>{var t,n,r,o,i,s,l,a,u,f,h;let{invert:v,toast:d,unstyled:S,interacting:m,setHeights:w,visibleToasts:y,heights:p,index:x,toasts:C,expanded:E,removeToast:N,defaultRichColors:b,closeButton:P,style:A,cancelButtonStyle:_,actionButtonStyle:B,className:O="",descriptionClassName:H="",duration:I,position:W,gap:z,loadingIcon:V,expandByDefault:k,classNames:T,icons:L,closeButtonAriaLabel:Q="Close toast",pauseWhenPageIsHidden:U}
vendor: 4,163 bytes, line 196
196=e,[G,K]=R.useState(null),[fe,Ee]=R.useState(null),[D,se]=R.useState(!1),[be,ie]=R.useState(!1),[te,re]=R.useState(!1),[$e,wt]=R.useState(!1),[cr,bn]=R.useState(!1),[ur,Bo]=R.useState(0),[zr,$d]=R.useState(0),Vo=R.useRef(d.duration||I||hp),Bd=R.useRef(null),dr=R.useRef(null),T0=x===0,j0=x+1<=y,St=d.type,$r=d.dismissible!==!1,R0=d.className||"",A0=d.descriptionClassName||"",Gi=R.useMemo(()=>p.findIndex(q=>q.toastId===d.id)||0,[p,d.id]),M0=R.useMemo(()=>{var q;return(q=d.closeButton)!=null?q:P},[d.closeButton,P]),Vd=R.useMemo(()=>d.duration||I||hp,[d.duration,I]),aa=R.useRef(0),Br=R.useRef(0),Ud=R.useRef(0),Vr=R.useRef(null),[_0,I0]=W.split("-"),Hd=R.useMemo(()=>p.reduce((q,ce,ve)=>ve>=Gi?q:q+ce.height,0),[p,Gi]),Wd=wC(),O0=d.invert||v,ca=St==="loading";Br.current=R.useMemo(()=>Gi*z+Hd,[Gi,Hd]),R.useEffect(()=>{Vo.current=Vd},[Vd]),R.useEffect(()=>{se(!0)},[]),R.useEffect(()=>{let q=dr.current;if(q){let ce=q.getBoundingClientRect().height;return $d(ce),w(ve=>[{toastId:d.id,height:ce,position:d.position},...ve]),()=>w(ve=>ve.filter(jt=>jt.toastId!==d.id))}},[w,d.id]),R.useLayoutEffect(()=>{if(!D)return;let q=dr.current,ce=q.style.height;q.style.height="auto";let ve=q.getBoundingClientRect().height;q.style.height=ce,$d(ve),w(jt=>jt.find(Rt=>Rt.toastId===d.id)?jt.map(Rt=>Rt.toastId===d.id?{...Rt,height:ve}:Rt):[{toastId:d.id,height:ve,position:d.position},...jt])},[D,d.title,d.description,w,d.id]);let Nn=R.useCallback(()=>{ie(!0),Bo(Br.current),w(q=>q.filter(ce=>ce.toastId!==d.id)),setTimeout(()=>{N(d)},IC)},[d,N,w,Br]);R.useEffect(()=>{if(d.promise&&St==="loading"||d.duration===1/0||d.type==="loading")return;let q;return E||m||U&&Wd?(()=>{if(Ud.current<aa.current){let ce=new Date().getTime()-aa.current;Vo.current=Vo.current-ce}Ud.current=new Date().getTime()})():Vo.current!==1/0&&(aa.current=new Date().getTime(),q=setTimeout(()=>{var ce;(ce=d.onAutoClose)==null||ce.call(d,d),Nn()},Vo.current)),()=>clearTimeout(q)},[E,m,d,St,U,Wd,Nn]),R.useEffect(()=>{d.delete&&Nn()},[Nn,d.delete]);function L0(){var q,ce,ve;return L!=null&&L.loading?R.createElement("div",{className:_t(T==null?void 0:T.loader,(q=d==null?void 0:d.classNames)==null?void 0:q.loader,"sonner-loader"),"data-visible":St==="loading"},L.loading):V?R.createElement("div",{className:_t(T==null?void 0:T.loader,(ce=d==null?void 0:d.classNames)==null?void 0:ce.loader,"sonner-loader"),"data-visible":St==="loading"},V):R.createElement(hC,{className:_t(T==null?void 0:T.loader,(ve=d==null?void 0:d.classNames)==null?void 0:ve.loader),visible:St==="loading"})}return R.createElement("li",{tabIndex:0,ref:dr,className:_t(O,R0,T==null?void 0:T.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[St],(n=d==null?void 0:d.classNames)==null?void 0:n[St]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:b,"data-styled":!(d.jsx||d.unstyled||S),"data-mounted":D,"data-promise":!!d.promise,"data-swiped":cr,"data-removed":be,"data-visible":j0,"data-y-position":_0,"data-x-position":I0,"data-index":x,"data-front":T0,"data-swiping":te,"data-dismissible":$r,"data-type":St,"data-invert":O0,"data-swipe-out":$e,"data-swipe-direction":fe,"data-expanded":!!(E||k&&D),style:{"--index":x,"--toasts-before":x,"--z-index":C.length-x,"--offset":`${be?ur:Br.current}px`,"--initial-height":k?"auto":`${zr}px`,...A,...d.style},onDragEnd:()=>{re(!1),K(null),Vr.current=null},onPointerDown:q=>{ca||!$r||(Bd.current=new Date,Bo(Br.current),q.target.setPointerCapture(q.pointerId),q.target.tagName!=="BUTTON"&&(re(!0),Vr.current={x:q.clientX,y:q.clientY}))},onPointerUp:()=>{var q,ce,ve,jt;if($e||!$r)return;Vr.current=null;let Rt=Number(((q=dr.current)==null?void 0:q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kn=Number(((ce=dr.current)==null?void 0:ce.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),fr=new Date().getTime()-((ve=Bd.current)==null?void 0:ve.getTime()),At=G==="x"?Rt:kn,Pn=Math.abs(At)/fr;if(Math.abs(At)>=_C||Pn>.11){Bo(Br.current),(jt=d.onDismiss)==null||jt.call(d,d),Ee(G==="x"?Rt>0?"right":"left":kn>0?"down":"up"),Nn(),wt(!0),bn(!1);return}re(!1),K(null)},onPointerMove:q=>
196{var ce,ve,jt,Rt;if(!Vr.current||!$r||((ce=window.getSelection())==null?void 0:ce.toString().length)>0)return;let kn=q.clientY-Vr.current.y,fr=q.clientX-Vr.current.x,At=(ve=e.swipeDirections)!=null?ve:OC(W);!G&&(Math.abs(fr)>1||Math.abs(kn)>1)&&K(Math.abs(fr)>Math.abs(kn)?"x":"y");let Pn={x:0,y:0};G==="y"?(At.includes("top")||At.includes("bottom"))&&(At.includes("top")&&kn<0||At.includes("bottom")&&kn>0)&&(Pn.y=kn):G==="x"&&(At.includes("left")||At.includes("right"))&&(At.includes("left")&&fr<0||At.includes("right")&&fr>0)&&(Pn.x=fr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&bn(!0),(jt=dr.current)==null||jt.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Rt=dr.current)==null||Rt.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},M0&&!d.jsx?R.createElement("button",{"aria-label":Q,"data-disabled":ca,"data-close-button":!0,onClick:ca||!$r?()=>{}:()=>{var q;Nn(),(q=d.onDismiss)==null||q.call(d,d)},className:_t(T==null?void 0:T.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},(i=L==null?void 0:L.close)!=null?i:xC):null,d.jsx||g.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:R.createElement(R.Fragment,null,St||d.icon||d.promise?R.createElement("div",{"data-icon":"",className:_t(T==null?void 0:T.icon,(s=d==null?void 0:d.classNames)==null?void 0:s.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||L0():null,d.type!=="loading"?d.icon||(L==null?void 0:L[St])||fC(St):null):null,R.createElement("div",{"data-content":"",className:_t(T==null?void 0:T.content,(l=d==null?void 0:d.classNames)==null?void 0:l.content)},R.createElement("div",{"data-title":"",className:_t(T==null?void 0:T.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},typeof d.title=="function"?d.title():d.title),d.description?R.createElement("div",{"data-description":"",className:_t(H,A0,T==null?void 0:T.description,(u=d==null?void 0:d.classNames)==null?void 0:u.description)},typeof d.description=="function"?d.description():d.description):null),g.isValidElement(d.cancel)?d.cancel:d.cancel&&gs(d.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||_,onClick:q=>{var ce,ve;gs(d.cancel)&&$r&&((ve=(ce=d.cancel).onClick)==null||ve.call(ce,q),Nn())},className:_t(T==null?void 0:T.cancelButton,(f=d==null?void 0:d.classNames)==null?void 0:f.cancelButton)},d.cancel.label):null,g.isValidElement(d.action)?d.action:d.action&&gs(d.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||B,onClick:q=>{var ce,ve;gs(d.action)&&((ve=(ce=d.action).onClick)==null||ve.call(ce,q),!q.defaultPrevented&&Nn())},className:_t(T==null?void 0:T.actionButton,(h=d==null?void 0:d.classNames)==null?void 0:h.actionButton)},d.action.label):null))};function mp(){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 DC(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",l=i?RC:jC;function a(u){["top","right","bottom","left"].forEach(f=>{n[`${s}-${f}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?a(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=l:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):a(l)}),n}var FC=g.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:l,offset:a,mobileOffset:u,theme:f="light",richColors:h,duration:v,style:d,visibleToasts:S=TC,toastOptions:m,dir:w=mp(),gap:y=MC,loadingIcon:p,icons:x,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:E}=e,[N,b]=R.useState([]),P=R.useMemo(()=>Array.from(new Set([r].concat(N.filter(U=>U.position).map(U=>U.position)))),[N,r]),[A,_]=R.useState([]),[B,O]=R.useState(!1),[H,I]=R.useState(!1),[W,z]=R.useState(f!=="system"?f:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=R.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=R.useRef(null),L=R.useRef(!1),Q=R.useCallback(U=>{b(G=>{var K;return(K=G.find(fe=>fe.id===U.id))!=null&&K.delete||et.dismiss(U.id),G.filter(({id:fe})=>fe!==U.id)})},[]);return R.useEffect(()=>et.subscribe(U=>{if(U.dismiss){b(G=>G.map(K=>K.id===U.id?{...K,delete:!0}:K));return}setTimeout(()=>{Sv.flushSync(()=>{b(G=>{let K=G.findIndex(fe=>fe.id===U.id);return K!==-1?[...G.slice(0,K),{...G[K],...U},...G.slice(K+1)]:[U,...G]})})})}),[]),R.useEffect(()=>{if(f!=="system"){z(f);return}if(f==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:G})=>{z(G?"dark":"light")})}catch{U.addListener(({matches:K})=>{try{z(K?"dark":"light")}catch(fe){console.error(fe)}})}},[f]),R.useEffect(()=>{N.length<=1&&O(!1)},[N]),R.useEffect(()=>{let U=G=>{var K,fe;o.every(Ee=>G[Ee]||G.code===Ee)&&(O(!0),(K=V.current)==null||K.focus()),G.code==="Escape"&&(document.activeElement===V.current||(fe=V.current)!=null&&fe.contains(document.activeElement))&&O(!1)};
vendor: 4,318 bytes, line 196
196return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[o]),R.useEffect(()=>{if(V.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,L.current=!1)}},[V.current]),R.createElement("section",{ref:t,"aria-label":`${C} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((U,G)=>{var K;let[fe,Ee]=U.split("-");return N.length?R.createElement("ol",{key:U,dir:w==="auto"?mp():w,tabIndex:-1,ref:V,className:l,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":fe,"data-lifted":B&&N.length>1&&!i,"data-x-position":Ee,style:{"--front-toast-height":`${((K=A[0])==null?void 0:K.height)||0}px`,"--width":`${AC}px`,"--gap":`${y}px`,...d,...DC(a,u)},onBlur:D=>{L.current&&!D.currentTarget.contains(D.relatedTarget)&&(L.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:D=>{D.target instanceof HTMLElement&&D.target.dataset.dismissible==="false"||L.current||(L.current=!0,T.current=D.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{H||O(!1)},onDragEnd:()=>O(!1),onPointerDown:D=>{D.target instanceof HTMLElement&&D.target.dataset.dismissible==="false"||I(!0)},onPointerUp:()=>I(!1)},N.filter(D=>!D.position&&G===0||D.position===U).map((D,se)=>{var be,ie;return R.createElement(LC,{key:D.id,icons:x,index:se,toast:D,defaultRichColors:h,duration:(be=m==null?void 0:m.duration)!=null?be:v,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:S,closeButton:(ie=m==null?void 0:m.closeButton)!=null?ie:s,interacting:H,position:U,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:Q,toasts:N.filter(te=>te.position==D.position),heights:A.filter(te=>te.position==D.position),setHeights:_,expandByDefault:i,gap:y,loadingIcon:p,expanded:B,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const zC=({...e})=>{const{theme:t="system"}=dC();return c.jsx(FC,{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 $C=gu[" useId ".trim().toString()]||(()=>{}),BC=0;function qi(e){const[t,n]=g.useState($C());return Le(()=>{n(r=>r??String(BC++))},[e]),t?`radix-${t}`:""}const VC=["top","right","bottom","left"],tr=Math.min,pt=Math.max,pl=Math.round,ys=Math.floor,sn=e=>({x:e,y:e}),UC={left:"right",right:"left",bottom:"top",top:"bottom"},HC={start:"end",end:"start"};function Yc(e,t,n){return pt(e,tr(t,n))}function Sn(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function Fo(e){return e.split("-")[1]}function gd(e){return e==="x"?"y":"x"}function yd(e){return e==="y"?"height":"width"}const WC=new Set(["top","bottom"]);function nn(e){return WC.has(Cn(e))?"y":"x"}function xd(e){return gd(nn(e))}function QC(e,t,n){n===void 0&&(n=!1);const r=Fo(e),o=xd(e),i=yd(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=hl(s)),[s,hl(s)]}function KC(e){const t=hl(e);return[Gc(e),t,Gc(t)]}function Gc(e){return e.replace(/start|end/g,t=>HC[t])}const vp=["left","right"],gp=["right","left"],qC=["top","bottom"],YC=["bottom","top"];function GC(e,t,n){switch(e){case"top":case"bottom":return n?t?gp:vp:t?vp:gp;case"left":case"right":return t?qC:YC;default:return[]}}function XC(e,t,n,r){const o=Fo(e);let i=GC(Cn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Gc)))),i}function hl(e){return e.replace(/left|right|bottom|top/g,t=>UC[t])}function ZC(e){return{top:0,right:0,bottom:0,left:0,...e}}function pg(e){return typeof e!="number"?ZC(e):{top:e,right:e,bottom:e,left:e}}function ml(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}}
vendor: 8,920 bytes, line 196
196function yp(e,t,n){let{reference:r,floating:o}=e;const i=nn(t),s=xd(t),l=yd(s),a=Cn(t),u=i==="y",f=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,v=r[l]/2-o[l]/2;let d;switch(a){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:h};break;case"left":d={x:r.x-o.width,y:h};break;default:d={x:r.x,y:r.y}}switch(Fo(t)){case"start":d[s]-=v*(n&&u?-1:1);break;case"end":d[s]+=v*(n&&u?-1:1);break}return d}const JC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:h}=yp(u,r,a),v=r,d={},S=0;for(let m=0;m<l.length;m++){const{name:w,fn:y}=l[m],{x:p,y:x,data:C,reset:E}=await y({x:f,y:h,initialPlacement:r,placement:v,strategy:o,middlewareData:d,rects:u,platform:s,elements:{reference:e,floating:t}});f=p??f,h=x??h,d={...d,[w]:{...d[w],...C}},E&&S<=50&&(S++,typeof E=="object"&&(E.placement&&(v=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:h}=yp(u,v,a)),m=-1)}return{x:f,y:h,placement:v,strategy:o,middlewareData:d}};async function Li(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:d=0}=Sn(t,e),S=pg(d),w=l[v?h==="floating"?"reference":"floating":h],y=ml(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:a})),p=h==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),C=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},E=ml(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:x,strategy:a}):p);return{top:(y.top-E.top+S.top)/C.y,bottom:(E.bottom-y.bottom+S.bottom)/C.y,left:(y.left-E.left+S.left)/C.x,right:(E.right-y.right+S.right)/C.x}}const eE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:f=0}=Sn(e,t)||{};if(u==null)return{};const h=pg(f),v={x:n,y:r},d=xd(o),S=yd(d),m=await s.getDimensions(u),w=d==="y",y=w?"top":"left",p=w?"bottom":"right",x=w?"clientHeight":"clientWidth",C=i.reference[S]+i.reference[d]-v[d]-i.floating[S],E=v[d]-i.reference[d],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let b=N?N[x]:0;(!b||!await(s.isElement==null?void 0:s.isElement(N)))&&(b=l.floating[x]||i.floating[S]);const P=C/2-E/2,A=b/2-m[S]/2-1,_=tr(h[y],A),B=tr(h[p],A),O=_,H=b-m[S]-B,I=b/2-m[S]/2+P,W=Yc(O,I,H),z=!a.arrow&&Fo(o)!=null&&I!==W&&i.reference[S]/2-(I<O?_:B)-m[S]/2<0,V=z?I<O?I-O:I-H:0;return{[d]:v[d]+V,data:{[d]:W,centerOffset:I-W-V,...z&&{alignmentOffset:V}},reset:z}}}),tE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:m=!0,...w}=Sn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Cn(o),p=nn(l),x=Cn(l)===l,C=await(a.isRTL==null?void 0:a.isRTL(u.floating)),E=v||(x||!m?[hl(l)]:KC(l)),N=S!=="none";!v&&N&&E.push(...XC(l,m,S,C));const b=[l,...E],P=await Li(t,w),A=[];let _=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&A.push(P[y]),h){const I=QC(o,s,C);A.push(P[I[0]],P[I[1]])}if(_=[..._,{placement:o,overflows:A}],!A.every(I=>I<=0)){var B,O;const I=(((B=i.flip)==null?void 0:B.index)||0)+1,W=b[I];if(W&&(!(h==="alignment"?p!==nn(W):!1)||_.every(k=>k.overflows[0]>0&&nn(k.placement)===p)))return{data:{index:I,overflows:_},reset:{placement:W}};let z=(O=_.filter(V=>V.overflows[0]<=0).sort((V,k)=>V.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!z)switch(d){case"bestFit":{var H;const V=(H=_.filter(k=>{if(N){const T=nn(k.placement);return T===p||T==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(T=>T>0).reduce((T,L)=>T+L,0)]).sort((k,T)=>k[1]-T[1])[0])==null?void 0:H[0];V&&(z=V);break}case"initialPlacement":z=l;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function xp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wp(e){return VC.some(t=>e[t]>=0)}const nE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Sn(e,t);switch(r){case"referenceHidden":{const i=await Li(t,{...o,elementContext:"reference"}),s=xp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:wp(s)}}}case"escaped":{const i=await Li(t,{...o,altBoundary:!0}),s=xp(i,n.floating);return{data:{escapedOffsets:s,escaped:wp(s)}}}default:return{}}}}},hg=new Set(["left","top"]);async function rE(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Cn(n),l=Fo(n),a=nn(n)==="y",u=hg.has(s)?-1:1,f=i&&a?-1:1,h=Sn(t,e);let{mainAxis:v,crossAxis:d,alignmentAxis:S}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof S=="number"&&(d=l==="end"?S*-1:S),a?{x:d*f,y:v*u}:{x:v*u,y:d*f}}const oE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await rE(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},iE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:y,y:p}=w;return{x:y,y:p}}},...a}=Sn(e,t),u={x:n,y:r},f=await Li(t,a),h=nn(Cn(o)),v=gd(h);let d=u[v],S=u[h];if(i){const w=v==="y"?"top":"left",y=v==="y"?"bottom":"right",p=d+f[w],x=d-f[y];d=Yc(p,d,x)}if(s){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",p=S+f[w],x=S-f[y];S=Yc(p,S,x)}const m=l.fn({...t,[v]:d,[h]:S});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[v]:i,[h]:s}}}}}},sE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Sn(e,t),f={x:n,y:r},h=nn(o),v=gd(h);let d=f[v],S=f[h];const m=Sn(l,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const x=v==="y"?"height":"width",C=i.reference[v]-i.floating[x]+w.mainAxis,E=i.reference[v]+i.reference[x]-w.mainAxis;d<C?d=C:d>E&&(d=E)}if(u){var y,p;const x=v==="y"?"width":"height",C=hg.has(Cn(o)),E=i.reference[h]-i.floating[x]+(C&&((y=s.offset)==null?void 0:y[h])||0)+(C?0:w.crossAxis),N=i.reference[h]+i.reference[x]+(C?0:((p=s.offset)==null?void 0:p[h])||0)-(C?w.crossAxis:0);S<E?S=E:S>N&&(S=N)}return{[v]:d,[h]:S}}}},lE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Sn(e,t),f=await Li(t,u),h=Cn(o),v=Fo(o),d=nn(o)==="y",{width:S,height:m}=i.floating;let w,y;h==="top"||h==="bottom"?(w=h,y=v===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(y=h,w=v==="end"?"top":"bottom");const p=m-f.top-f.bottom,x=S-f.left-f.right,C=tr(m-f[w],p),E=tr(S-f[y],x),N=!t.middlewareData.shift;let b=C,P=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(b=p),N&&!v){const _=pt(f.left,0),B=pt(f.right,0),O=pt(f.top,0),H=pt(f.bottom,0);d?P=S-2*(_!==0||B!==0?_+B:pt(f.left,f.right)):b=m-2*(O!==0||H!==0?O+H:pt(f.top,f.bottom))}await a({...t,availableWidth:P,availableHeight:b});const A=await s.getDimensions(l.floating);return S!==A.width||m!==A.height?{reset:{rects:!0}}:{}}}};function Hl(){return typeof window<"u"}function zo(e){return mg(e)?(e.nodeName||"").toLowerCase():"#document"}function vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(mg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mg(e){return Hl()?e instanceof Node||e instanceof vt(e).Node:!1}function Qt(e){return Hl()?e instanceof Element||e instanceof vt(e).Element:!1}function ln(e){return Hl()?e instanceof HTMLElement||e instanceof vt(e).HTMLElement:!1}function Sp(e){return!Hl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof vt(e).ShadowRoot}const aE=new Set(["inline","contents"]);function Yi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Kt(e);
vendor: 4,121 bytes, line 196
196return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aE.has(o)}const cE=new Set(["table","td","th"]);function uE(e){return cE.has(zo(e))}const dE=[":popover-open",":modal"];function Wl(e){return dE.some(t=>{try{return e.matches(t)}catch{return!1}})}const fE=["transform","translate","scale","rotate","perspective"],pE=["transform","translate","scale","rotate","perspective","filter"],hE=["paint","layout","strict","content"];function wd(e){const t=Sd(),n=Qt(e)?Kt(e):e;return fE.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)||pE.some(r=>(n.willChange||"").includes(r))||hE.some(r=>(n.contain||"").includes(r))}function mE(e){let t=nr(e);for(;ln(t)&&!Mo(t);){if(wd(t))return t;if(Wl(t))return null;t=nr(t)}return null}function Sd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vE=new Set(["html","body","#document"]);function Mo(e){return vE.has(zo(e))}function Kt(e){return vt(e).getComputedStyle(e)}function Ql(e){return Qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(zo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sp(e)&&e.host||an(e);return Sp(t)?t.host:t}function vg(e){const t=nr(e);return Mo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&Yi(t)?t:vg(t)}function Di(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vg(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=vt(o);if(i){const l=Xc(s);return t.concat(s,s.visualViewport||[],Yi(o)?o:[],l&&n?Di(l):[])}return t.concat(o,Di(o,[],n))}function Xc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gg(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ln(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=pl(n)!==i||pl(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Cd(e){return Qt(e)?e:e.contextElement}function po(e){const t=Cd(e);if(!ln(t))return sn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=gg(t);let s=(i?pl(n.width):n.width)/r,l=(i?pl(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const gE=sn(0);function yg(e){const t=vt(e);return!Sd()||!t.visualViewport?gE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==vt(e)?!1:t}function Mr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Cd(e);let s=sn(1);t&&(r?Qt(r)&&(s=po(r)):s=po(e));const l=yE(i,n,r)?yg(i):sn(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(i){const v=vt(i),d=r&&Qt(r)?vt(r):r;let S=v,m=Xc(S);for(;m&&r&&d!==S;){const w=po(m),y=m.getBoundingClientRect(),p=Kt(m),x=y.left+(m.clientLeft+parseFloat(p.paddingLeft))*w.x,C=y.top+(m.clientTop+parseFloat(p.paddingTop))*w.y;a*=w.x,u*=w.y,f*=w.x,h*=w.y,a+=x,u+=C,S=vt(m),m=Xc(S)}}return ml({width:f,height:h,x:a,y:u})}function Ed(e,t){const n=Ql(e).scrollLeft;return t?t.left+n:Mr(an(e)).left+n}function xg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ed(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function xE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=an(r),l=t?Wl(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=sn(1);const f=sn(0),h=ln(r);if((h||!h&&!i)&&((zo(r)!=="body"||Yi(s))&&(a=Ql(r)),ln(r))){const d=Mr(r);u=po(r),f.x=d.x+r.clientLeft,f.y=d.y+r.clientTop}const v=s&&!h&&!i?xg(s,a,!0):sn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+f.x+v.x,y:n.y*u.y-a.scrollTop*u.y+f.y+v.y}}function wE(e){return Array.from(e.getClientRects())}function SE(e){const t=an(e),n=Ql(e),r=e.ownerDocument.body,o=pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ed(e);const l=-n.scrollTop;return Kt(r).direction==="rtl"&&(s+=pt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}
vendor: 4,850 bytes, line 196
196function CE(e,t){const n=vt(e),r=an(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=Sd();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}const EE=new Set(["absolute","fixed"]);function bE(e,t){const n=Mr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ln(e)?po(e):sn(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function Cp(e,t,n){let r;if(t==="viewport")r=CE(e,n);else if(t==="document")r=SE(an(e));else if(Qt(t))r=bE(t,n);else{const o=yg(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ml(r)}function wg(e,t){const n=nr(e);return n===t||!Qt(n)||Mo(n)?!1:Kt(n).position==="fixed"||wg(n,t)}function NE(e,t){const n=t.get(e);if(n)return n;let r=Di(e,[],!1).filter(l=>Qt(l)&&zo(l)!=="body"),o=null;const i=Kt(e).position==="fixed";let s=i?nr(e):e;for(;Qt(s)&&!Mo(s);){const l=Kt(s),a=wd(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&EE.has(o.position)||Yi(s)&&!a&&wg(e,s))?r=r.filter(f=>f!==s):o=l,s=nr(s)}return t.set(e,r),r}function kE(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Wl(t)?[]:NE(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,f)=>{const h=Cp(t,f,o);return u.top=pt(h.top,u.top),u.right=tr(h.right,u.right),u.bottom=tr(h.bottom,u.bottom),u.left=pt(h.left,u.left),u},Cp(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function PE(e){const{width:t,height:n}=gg(e);return{width:t,height:n}}function TE(e,t,n){const r=ln(t),o=an(t),i=n==="fixed",s=Mr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=sn(0);function u(){a.x=Ed(o)}if(r||!r&&!i)if((zo(t)!=="body"||Yi(o))&&(l=Ql(t)),r){const d=Mr(t,!0,i,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else o&&u();i&&!r&&o&&u();const f=o&&!r&&!i?xg(o,l):sn(0),h=s.left+l.scrollLeft-a.x-f.x,v=s.top+l.scrollTop-a.y-f.y;return{x:h,y:v,width:s.width,height:s.height}}function Ba(e){return Kt(e).position==="static"}function Ep(e,t){if(!ln(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function Sg(e,t){const n=vt(e);if(Wl(e))return n;if(!ln(e)){let o=nr(e);for(;o&&!Mo(o);){if(Qt(o)&&!Ba(o))return o;o=nr(o)}return n}let r=Ep(e,t);for(;r&&uE(r)&&Ba(r);)r=Ep(r,t);return r&&Mo(r)&&Ba(r)&&!wd(r)?n:r||mE(e)||n}const jE=async function(e){const t=this.getOffsetParent||Sg,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 Kt(e).direction==="rtl"}const AE={convertOffsetParentRelativeRectToViewportRelativeRect:xE,getDocumentElement:an,getClippingRect:kE,getOffsetParent:Sg,getElementRects:jE,getClientRects:wE,getDimensions:PE,getScale:po,isElement:Qt,isRTL:RE};function Cg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ME(e,t){let n=null,r;const o=an(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=e.getBoundingClientRect(),{left:f,top:h,width:v,height:d}=u;if(l||t(),!v||!d)return;const S=ys(h),m=ys(o.clientWidth-(f+v)),w=ys(o.clientHeight-(h+d)),y=ys(f),x={rootMargin:-S+"px "+-m+"px "+-w+"px "+-y+"px",threshold:pt(0,tr(1,a))||1};let C=!0;function E(N){const b=N[0].intersectionRatio;if(b!==a){if(!C)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},1e3)}b===1&&!Cg(u,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(E,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,x)}n.observe(e)}return s(!0),i}function _E(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Cd(e),f=o||i?[...u?Di(u):[],...Di(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const h=u&&l?ME(u,n):null;let v=-1,d=null;s&&(d=new ResizeObserver(y=>{let[p]=y;p&&p.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var x;(x=d)==null||x.observe(t)})),n()}),u&&!a&&d.observe(u),d.observe(t));let S,m=a?Mr(e):null;a&&w();function w(){const y=Mr(e);m&&!Cg(m,y)&&n(),m=y,S=requestAnimationFrame(w)}return n(),()=>{var y;f.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),h==null||h(),(y=d)==null||y.disconnect(),d=null,a&&cancelAnimationFrame(S)}}const IE=oE,OE=iE,LE=tE,DE=lE,FE=nE,bp=eE,zE=sE,$E=(e,t,n)=>{const r=new Map,o={platform:AE,...n},i={...o.platform,_c:r};return JC(e,t,{...o,platform:i})};var BE=typeof document<"u",VE=function(){},$s=BE?g.useLayoutEffect:VE;function vl(e,t){if(e===t)return!0;
vendor: 4,143 bytes, line 196
196if(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(!vl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!vl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Eg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Np(e,t){const n=Eg(e);return Math.round(t*n)/n}function Va(e){const t=g.useRef(e);return $s(()=>{t.current=e}),t}function UE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[f,h]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,d]=g.useState(r);vl(v,r)||d(r);const[S,m]=g.useState(null),[w,y]=g.useState(null),p=g.useCallback(k=>{k!==N.current&&(N.current=k,m(k))},[]),x=g.useCallback(k=>{k!==b.current&&(b.current=k,y(k))},[]),C=i||S,E=s||w,N=g.useRef(null),b=g.useRef(null),P=g.useRef(f),A=a!=null,_=Va(a),B=Va(o),O=Va(u),H=g.useCallback(()=>{if(!N.current||!b.current)return;const k={placement:t,strategy:n,middleware:v};B.current&&(k.platform=B.current),$E(N.current,b.current,k).then(T=>{const L={...T,isPositioned:O.current!==!1};I.current&&!vl(P.current,L)&&(P.current=L,Fr.flushSync(()=>{h(L)}))})},[v,t,n,B,O]);$s(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,h(k=>({...k,isPositioned:!1})))},[u]);const I=g.useRef(!1);$s(()=>(I.current=!0,()=>{I.current=!1}),[]),$s(()=>{if(C&&(N.current=C),E&&(b.current=E),C&&E){if(_.current)return _.current(C,E,H);H()}},[C,E,H,_,A]);const W=g.useMemo(()=>({reference:N,floating:b,setReference:p,setFloating:x}),[p,x]),z=g.useMemo(()=>({reference:C,floating:E}),[C,E]),V=g.useMemo(()=>{const k={position:n,left:0,top:0};if(!z.floating)return k;const T=Np(z.floating,f.x),L=Np(z.floating,f.y);return l?{...k,transform:"translate("+T+"px, "+L+"px)",...Eg(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:L}},[n,l,z.floating,f.x,f.y]);return g.useMemo(()=>({...f,update:H,refs:W,elements:z,floatingStyles:V}),[f,H,W,z,V])}const HE=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?bp({element:r.current,padding:o}).fn(n):{}:r?bp({element:r,padding:o}).fn(n):{}}}},WE=(e,t)=>({...IE(e),options:[e,t]}),QE=(e,t)=>({...OE(e),options:[e,t]}),KE=(e,t)=>({...zE(e),options:[e,t]}),qE=(e,t)=>({...LE(e),options:[e,t]}),YE=(e,t)=>({...DE(e),options:[e,t]}),GE=(e,t)=>({...FE(e),options:[e,t]}),XE=(e,t)=>({...HE(e),options:[e,t]});var ZE="Arrow",bg=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return c.jsx(ee.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});bg.displayName=ZE;var JE=bg;function eb(e){const[t,n]=g.useState(void 0);return Le(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var bd="Popper",[Ng,Kl]=sr(bd),[tb,kg]=Ng(bd),Pg=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return c.jsx(tb,{scope:t,anchor:r,onAnchorChange:o,children:n})};Pg.displayName=bd;var Tg="PopperAnchor",jg=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=kg(Tg,n),s=g.useRef(null),l=ye(t,s);return g.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:c.jsx(ee.div,{...o,ref:l})});jg.displayName=Tg;var Nd="PopperContent",[nb,rb]=Ng(Nd),Rg=g.forwardRef((e,t)=>
vendor: 4,450 bytes, line 196
196{var D,se,be,ie,te,re;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:d="optimized",onPlaced:S,...m}=e,w=kg(Nd,n),[y,p]=g.useState(null),x=ye(t,$e=>p($e)),[C,E]=g.useState(null),N=eb(C),b=(N==null?void 0:N.width)??0,P=(N==null?void 0:N.height)??0,A=r+(i!=="center"?"-"+i:""),_=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},B=Array.isArray(u)?u:[u],O=B.length>0,H={padding:_,boundary:B.filter(ib),altBoundary:O},{refs:I,floatingStyles:W,placement:z,isPositioned:V,middlewareData:k}=UE({strategy:"fixed",placement:A,whileElementsMounted:(...$e)=>_E(...$e,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[WE({mainAxis:o+P,alignmentAxis:s}),a&&QE({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?KE():void 0,...H}),a&&qE({...H}),YE({...H,apply:({elements:$e,rects:wt,availableWidth:cr,availableHeight:bn})=>{const{width:ur,height:Bo}=wt.reference,zr=$e.floating.style;zr.setProperty("--radix-popper-available-width",`${cr}px`),zr.setProperty("--radix-popper-available-height",`${bn}px`),zr.setProperty("--radix-popper-anchor-width",`${ur}px`),zr.setProperty("--radix-popper-anchor-height",`${Bo}px`)}}),C&&XE({element:C,padding:l}),sb({arrowWidth:b,arrowHeight:P}),v&&GE({strategy:"referenceHidden",...H})]}),[T,L]=_g(z),Q=Wt(S);Le(()=>{V&&(Q==null||Q())},[V,Q]);const U=(D=k.arrow)==null?void 0:D.x,G=(se=k.arrow)==null?void 0:se.y,K=((be=k.arrow)==null?void 0:be.centerOffset)!==0,[fe,Ee]=g.useState();return Le(()=>{y&&Ee(window.getComputedStyle(y).zIndex)},[y]),c.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:V?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:fe,"--radix-popper-transform-origin":[(ie=k.transformOrigin)==null?void 0:ie.x,(te=k.transformOrigin)==null?void 0:te.y].join(" "),...((re=k.hide)==null?void 0:re.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(nb,{scope:n,placedSide:T,onArrowChange:E,arrowX:U,arrowY:G,shouldHideArrow:K,children:c.jsx(ee.div,{"data-side":T,"data-align":L,...m,ref:x,style:{...m.style,animation:V?void 0:"none"}})})})});Rg.displayName=Nd;var Ag="PopperArrow",ob={top:"bottom",right:"left",bottom:"top",left:"right"},Mg=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=rb(Ag,r),s=ob[i.placedSide];return c.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:c.jsx(JE,{...o,ref:n,style:{...o.style,display:"block"}})})});Mg.displayName=Ag;function ib(e){return e!==null}var sb=e=>({name:"transformOrigin",options:e,fn(t){var w,y,p;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,f]=_g(n),h={start:"0%",center:"50%",end:"100%"}[f],v=(((y=o.arrow)==null?void 0:y.x)??0)+l/2,d=(((p=o.arrow)==null?void 0:p.y)??0)+a/2;let S="",m="";return u==="bottom"?(S=s?h:`${v}px`,m=`${-a}px`):u==="top"?(S=s?h:`${v}px`,m=`${r.floating.height+a}px`):u==="right"?(S=`${-a}px`,m=s?h:`${d}px`):u==="left"&&(S=`${r.floating.width+a}px`,m=s?h:`${d}px`),{data:{x:S,y:m}}}});function _g(e){const[t,n="center"]=e.split("-");return[t,n]}var lb=Pg,Ig=jg,Og=Rg,Lg=Mg,[ql,oP]=sr("Tooltip",[Kl]),kd=Kl(),Dg="TooltipProvider",ab=700,kp="tooltip.open",[cb,Fg]=ql(Dg),zg=e=>{const{__scopeTooltip:t,delayDuration:n=ab,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=g.useRef(!0),l=g.useRef(!1),a=g.useRef(0);return g.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),c.jsx(cb,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(a.current),s.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:g.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:i})};zg.displayName=Dg;var $g="Tooltip",[iP,Yl]=ql($g),Zc="TooltipTrigger",ub=g.forwardRef((e,t)=>
vendor: 5,220 bytes, line 196
196{const{__scopeTooltip:n,...r}=e,o=Yl(Zc,n),i=Fg(Zc,n),s=kd(n),l=g.useRef(null),a=ye(t,l,o.onTriggerChange),u=g.useRef(!1),f=g.useRef(!1),h=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),c.jsx(Ig,{asChild:!0,...s,children:c.jsx(ee.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:Z(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:Z(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:Z(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Z(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Z(e.onBlur,o.onClose),onClick:Z(e.onClick,o.onClose)})})});ub.displayName=Zc;var db="TooltipPortal",[sP,fb]=ql(db,{forceMount:void 0}),_o="TooltipContent",Bg=g.forwardRef((e,t)=>{const n=fb(_o,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Yl(_o,e.__scopeTooltip);return c.jsx($l,{present:r||s.open,children:s.disableHoverableContent?c.jsx(Vg,{side:o,...i,ref:t}):c.jsx(pb,{side:o,...i,ref:t})})}),pb=g.forwardRef((e,t)=>{const n=Yl(_o,e.__scopeTooltip),r=Fg(_o,e.__scopeTooltip),o=g.useRef(null),i=ye(t,o),[s,l]=g.useState(null),{trigger:a,onClose:u}=n,f=o.current,{onPointerInTransitChange:h}=r,v=g.useCallback(()=>{l(null),h(!1)},[h]),d=g.useCallback((S,m)=>{const w=S.currentTarget,y={x:S.clientX,y:S.clientY},p=yb(y,w.getBoundingClientRect()),x=xb(y,p),C=wb(m.getBoundingClientRect()),E=Cb([...x,...C]);l(E),h(!0)},[h]);return g.useEffect(()=>()=>v(),[v]),g.useEffect(()=>{if(a&&f){const S=w=>d(w,f),m=w=>d(w,a);return a.addEventListener("pointerleave",S),f.addEventListener("pointerleave",m),()=>{a.removeEventListener("pointerleave",S),f.removeEventListener("pointerleave",m)}}},[a,f,d,v]),g.useEffect(()=>{if(s){const S=m=>{const w=m.target,y={x:m.clientX,y:m.clientY},p=(a==null?void 0:a.contains(w))||(f==null?void 0:f.contains(w)),x=!Sb(y,s);p?v():x&&(v(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[a,f,s,u,v]),c.jsx(Vg,{...e,ref:i})}),[hb,mb]=ql($g,{isInside:!1}),vb=y1("TooltipContent"),Vg=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=Yl(_o,n),u=kd(n),{onClose:f}=a;return g.useEffect(()=>(document.addEventListener(kp,f),()=>document.removeEventListener(kp,f)),[f]),g.useEffect(()=>{if(a.trigger){const h=v=>{const d=v.target;d!=null&&d.contains(a.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[a.trigger,f]),c.jsx(zl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:c.jsxs(Og,{"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:[c.jsx(vb,{children:r}),c.jsx(hb,{scope:n,isInside:!0,children:c.jsx($1,{id:a.contentId,role:"tooltip",children:o||r})})]})})});Bg.displayName=_o;var Ug="TooltipArrow",gb=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=kd(n);return mb(Ug,n).isInside?null:c.jsx(Lg,{...o,...r,ref:t})});gb.displayName=Ug;function yb(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function xb(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 wb(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 Sb(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i],a=t[s],u=l.x,f=l.y,h=a.x,v=a.y;f>r!=v>r&&n<(h-u)*(r-f)/(v-f)+u&&(o=!o)}return o}function Cb(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),Eb(t)}function Eb(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var bb=zg,Hg=Bg;const Nb=bb,kb=g.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 18,857 bytes, line 196
196c.jsx(Hg,{ref:r,sideOffset:t,className:ae("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}));kb.displayName=Hg.displayName;var Gl=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(){}},Xl=typeof window>"u"||"Deno"in globalThis;function Dt(){}function Pb(e,t){return typeof e=="function"?e(t):e}function Tb(e){return typeof e=="number"&&e>=0&&e!==1/0}function jb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Jc(e,t){return typeof e=="function"?e(t):e}function Rb(e,t){return typeof e=="function"?e(t):e}function Pp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==Pd(s,t.options))return!1}else if(!zi(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Tp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Fi(t.options.mutationKey)!==Fi(i))return!1}else if(!zi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Pd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fi)(e)}function Fi(e){return JSON.stringify(e,(t,n)=>eu(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function zi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>zi(e[n],t[n])):!1}function Wg(e,t){if(e===t)return e;const n=jp(e)&&jp(t);if(n||eu(e)&&eu(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{},a=new Set(r);let u=0;for(let f=0;f<s;f++){const h=n?f:i[f];(!n&&a.has(h)||n)&&e[h]===void 0&&t[h]===void 0?(l[h]=void 0,u++):(l[h]=Wg(e[h],t[h]),l[h]===e[h]&&e[h]!==void 0&&u++)}return o===s&&u===o?e:l}return t}function jp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eu(e){if(!Rp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Rp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Rp(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ab(e){return new Promise(t=>{setTimeout(t,e)})}function Mb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Wg(e,t):t}function _b(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ib(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Td=Symbol();function Qg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Td?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var xr,Dn,vo,eh,Ob=(eh=class extends Gl{constructor(){super();oe(this,xr);oe(this,Dn);oe(this,vo);Y(this,vo,t=>{if(!Xl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){j(this,Dn)||this.setEventListener(j(this,vo))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Dn))==null||t.call(this),Y(this,Dn,void 0))}setEventListener(t){var n;Y(this,vo,t),(n=j(this,Dn))==null||n.call(this),Y(this,Dn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){j(this,xr)!==t&&(Y(this,xr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof j(this,xr)=="boolean"?j(this,xr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},xr=new WeakMap,Dn=new WeakMap,vo=new WeakMap,eh),Kg=new Ob,go,Fn,yo,th,Lb=(th=class extends Gl{constructor(){super();oe(this,go,!0);oe(this,Fn);oe(this,yo);Y(this,yo,t=>{if(!Xl&&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(){j(this,Fn)||this.setEventListener(j(this,yo))}onUnsubscribe(){var t;this.hasListeners()||((t=j(this,Fn))==null||t.call(this),Y(this,Fn,void 0))}setEventListener(t){var n;Y(this,yo,t),(n=j(this,Fn))==null||n.call(this),Y(this,Fn,t(this.setOnline.bind(this)))}setOnline(t){j(this,go)!==t&&(Y(this,go,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return j(this,go)}},go=new WeakMap,Fn=new WeakMap,yo=new WeakMap,th),gl=new Lb;function Db(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Fb(e){return Math.min(1e3*2**e,3e4)}function qg(e){return(e??"online")==="online"?gl.isOnline():!0}var Yg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ua(e){return e instanceof Yg}function Gg(e){let t=!1,n=0,r=!1,o;const i=Db(),s=m=>{var w;r||(v(new Yg(m)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>Kg.isFocused()&&(e.networkMode==="always"||gl.isOnline())&&e.canRun(),f=()=>qg(e.networkMode)&&e.canRun(),h=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),o==null||o(),i.resolve(m))},v=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),o==null||o(),i.reject(m))},d=()=>new Promise(m=>{var w;o=y=>{(r||u())&&m(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;o=void 0,r||(m=e.onContinue)==null||m.call(e)}),S=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(y){m=Promise.reject(y)}Promise.resolve(m).then(h).catch(y=>{var N;if(r)return;const p=e.retry??(Xl?0:3),x=e.retryDelay??Fb,C=typeof x=="function"?x(n,y):x,E=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,y);if(t||!E){v(y);return}n++,(N=e.onFail)==null||N.call(e,n,y),Ab(C).then(()=>u()?void 0:d()).then(()=>{t?v(y):S()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?S():d().then(S),i)}}var zb=e=>setTimeout(e,0);function $b(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=zb;const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||s()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Ge=$b(),wr,nh,Xg=(nh=class{constructor(){oe(this,wr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Tb(this.gcTime)&&Y(this,wr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Xl?1/0:5*60*1e3))}clearGcTimeout(){j(this,wr)&&(clearTimeout(j(this,wr)),Y(this,wr,void 0))}},wr=new WeakMap,nh),xo,Sr,Ct,Cr,He,$i,Er,Ft,un,rh,Bb=(rh=class extends Xg{constructor(t){super();oe(this,Ft);oe(this,xo);oe(this,Sr);oe(this,Ct);oe(this,Cr);oe(this,He);oe(this,$i);oe(this,Er);Y(this,Er,!1),Y(this,$i,t.defaultOptions),this.setOptions(t.options),this.observers=[],Y(this,Cr,t.client),Y(this,Ct,j(this,Cr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Y(this,xo,Ub(this.options)),this.state=t.state??j(this,xo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=j(this,He))==null?void 0:t.promise}setOptions(t){this.options={...j(this,$i),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&j(this,Ct).remove(this)}setData(t,n){const r=Mb(this.state.data,t,this.options);return Be(this,Ft,un).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Be(this,Ft,un).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=j(this,He))==null?void 0:r.promise;return(o=j(this,He))==null||o.cancel(t),n?n.then(Dt).catch(Dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(j(this,xo))}isActive(){return this.observers.some(t=>Rb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Td||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Jc(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:!jb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,He))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=j(this,He))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),j(this,Ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(j(this,He)&&(j(this,Er)?j(this,He).cancel({revert:!0}):j(this,He).cancelRetry()),this.scheduleGc()),j(this,Ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Be(this,Ft,un).call(this,{type:"invalidate"})}fetch(t,n){var u,f,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(j(this,He))return j(this,He).continueRetry(),j(this,He).promise}if(t&&this.setOptions(t),!this.options.queryFn){const v=this.observers.find(d=>d.options.queryFn);v&&this.setOptions(v.options)}const r=new AbortController,o=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(Y(this,Er,!0),r.signal)})},i=()=>{const v=Qg(this.options,n),S=(()=>{const m={client:j(this,Cr),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return Y(this,Er,!1),this.options.persister?this.options.persister(v,S,this):v(S)},l=(()=>{const v={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:j(this,Cr),state:this.state,fetchFn:i};return o(v),v})();(u=this.options.behavior)==null||u.onFetch(l,this),Y(this,Sr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=l.fetchOptions)==null?void 0:f.meta))&&Be(this,Ft,un).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const a=v=>{var d,S,m,w;Ua(v)&&v.silent||Be(this,Ft,un).call(this,{type:"error",error:v}),Ua(v)||((S=(d=j(this,Ct).config).onError)==null||S.call(d,v,this),(w=(m=j(this,Ct).config).onSettled)==null||w.call(m,this.state.data,v,this)),this.scheduleGc()};return Y(this,He,Gg({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:v=>{var d,S,m,w;if(v===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(v)}catch(y){a(y);return}(S=(d=j(this,Ct).config).onSuccess)==null||S.call(d,v,this),(w=(m=j(this,Ct).config).onSettled)==null||w.call(m,v,this.state.error,this),this.scheduleGc()},onError:a,onFail:(v,d)=>{Be(this,Ft,un).call(this,{type:"failed",failureCount:v,error:d})},onPause:()=>{Be(this,Ft,un).call(this,{type:"pause"})},onContinue:()=>{Be(this,Ft,un).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),j(this,He).start()}},xo=new WeakMap,Sr=new WeakMap,Ct=new WeakMap,Cr=new WeakMap,He=new WeakMap,$i=new WeakMap,Er=new WeakMap,Ft=new WeakSet,un=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,...Vb(r.data,this.options),fetchMeta:t.meta??null};case"success":return Y(this,Sr,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 Ua(o)&&o.revert&&j(this,Sr)?{...j(this,Sr),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),Ge.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),j(this,Ct).notify({query:this,type:"updated",action:t})})},rh);function Vb(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:qg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Ub(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 Xt,oh,Hb=(oh=class extends Gl{constructor(t={}){super();oe(this,Xt);this.config=t,Y(this,Xt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Pd(o,n);let s=this.get(i);return s||(s=new Bb({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){j(this,Xt).has(t.queryHash)||(j(this,Xt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=j(this,Xt).get(t.queryHash);n&&(t.destroy(),n===t&&j(this,Xt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return j(this,Xt).get(t)}getAll(){return[...j(this,Xt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Pp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Pp(t,r)):n}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Xt=new WeakMap,oh),Zt,qe,br,Jt,An,ih,Wb=(ih=class extends Xg{constructor(t){super();oe(this,Jt);oe(this,Zt);oe(this,qe);oe(this,br);this.mutationId=t.mutationId,Y(this,qe,t.mutationCache),Y(this,Zt,[]),this.state=t.state||Qb(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){j(this,Zt).includes(t)||(j(this,Zt).push(t),this.clearGcTimeout(),j(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Y(this,Zt,j(this,Zt).filter(n=>n!==t)),this.scheduleGc(),j(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){j(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():j(this,qe).remove(this))}continue(){var t;return((t=j(this,br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,l,a,u,f,h,v,d,S,m,w,y,p,x,C,E,N,b,P;const n=()=>{Be(this,Jt,An).call(this,{type:"continue"})};Y(this,br,Gg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,_)=>{Be(this,Jt,An).call(this,{type:"failed",failureCount:A,error:_})},onPause:()=>{Be(this,Jt,An).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>j(this,qe).canRun(this)}));const r=this.state.status==="pending",o=!j(this,br).canStart();try{if(r)n();else{Be(this,Jt,An).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=j(this,qe).config).onMutate)==null?void 0:s.call(i,t,this));const _=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));_!==this.state.context&&Be(this,Jt,An).call(this,{type:"pending",context:_,variables:t,isPaused:o})}const A=await j(this,br).start();return await((f=(u=j(this,qe).config).onSuccess)==null?void 0:f.call(u,A,t,this.state.context,this)),await((v=(h=this.options).onSuccess)==null?void 0:v.call(h,A,t,this.state.context)),await((S=(d=j(this,qe).config).onSettled)==null?void 0:S.call(d,A,null,this.state.variables,this.state.context,this)),await((w=(m=this.options).onSettled)==null?void 0:w.call(m,A,null,t,this.state.context)),Be(this,Jt,An).call(this,{type:"success",data:A}),A}catch(A){try{throw await((p=(y=j(this,qe).config).onError)==null?void 0:p.call(y,A,t,this.state.context,this)),await((C=(x=this.options).onError)==null?void 0:C.call(x,A,t,this.state.context)),await((N=(E=j(this,qe).config).onSettled)==null?void 0:N.call(E,void 0,A,this.state.variables,this.state.context,this)),await((P=(b=this.options).onSettled)==null?void 0:P.call(b,void 0,A,t,this.state.context)),A}finally{Be(this,Jt,An).call(this,{type:"error",error:A})}}finally{j(this,qe).runNext(this)}}},Zt=new WeakMap,qe=new WeakMap,br=new WeakMap,Jt=new WeakSet,An=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),Ge.batch(()=>{j(this,Zt).forEach(r=>{r.onMutationUpdate(t)}),j(this,qe).notify({mutation:this,type:"updated",action:t})})},ih);function Qb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var pn,zt,Bi,sh,Kb=(sh=class extends Gl{constructor(t={}){super();oe(this,pn);oe(this,zt);oe(this,Bi);
196this.config=t,Y(this,pn,new Set),Y(this,zt,new Map),Y(this,Bi,0)}build(t,n,r){const o=new Wb({mutationCache:this,mutationId:++Xi(this,Bi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){j(this,pn).add(t);const n=xs(t);if(typeof n=="string"){const r=j(this,zt).get(n);r?r.push(t):j(this,zt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(j(this,pn).delete(t)){const n=xs(t);if(typeof n=="string"){const r=j(this,zt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&j(this,zt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=xs(t);if(typeof n=="string"){const r=j(this,zt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=xs(t);if(typeof n=="string"){const o=(r=j(this,zt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ge.batch(()=>{j(this,pn).forEach(t=>{this.notify({type:"removed",mutation:t})}),j(this,pn).clear(),j(this,zt).clear()})}getAll(){return Array.from(j(this,pn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Tp(n,r))}findAll(t={}){return this.getAll().filter(n=>Tp(t,n))}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ge.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},pn=new WeakMap,zt=new WeakMap,Bi=new WeakMap,sh);function xs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ap(e){return{onFetch:(t,n)=>{var f,h,v,d,S;const r=t.options,o=(v=(h=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:h.fetchMore)==null?void 0:v.direction,i=((d=t.state.data)==null?void 0:d.pages)||[],s=((S=t.state.data)==null?void 0:S.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let m=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},y=Qg(t.options,t.fetchOptions),p=async(x,C,E)=>{if(m)return Promise.reject();if(C==null&&x.pages.length)return Promise.resolve(x);const b=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:C,direction:E?"backward":"forward",meta:t.options.meta};return w(B),B})(),P=await y(b),{maxPages:A}=t.options,_=E?Ib:_b;return{pages:_(x.pages,P,A),pageParams:_(x.pageParams,C,A)}};if(o&&i.length){const x=o==="backward",C=x?qb:Mp,E={pages:i,pageParams:s},N=C(r,E);l=await p(E,N,x)}else{const x=e??i.length;do{const C=a===0?s[0]??r.initialPageParam:Mp(r,l);if(a>0&&C==null)break;l=await p(l,C),a++}while(a<x)}return l};t.options.persister?t.fetchFn=()=>{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Mp(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 qb(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 Ne,zn,$n,wo,So,Bn,Co,Eo,lh,Yb=(lh=class{constructor(e={}){oe(this,Ne);oe(this,zn);oe(this,$n);oe(this,wo);oe(this,So);oe(this,Bn);oe(this,Co);oe(this,Eo);Y(this,Ne,e.queryCache||new Hb),Y(this,zn,e.mutationCache||new Kb),Y(this,$n,e.defaultOptions||{}),Y(this,wo,new Map),Y(this,So,new Map),Y(this,Bn,0)}mount(){Xi(this,Bn)._++,j(this,Bn)===1&&(Y(this,Co,Kg.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Ne).onFocus())})),Y(this,Eo,gl.subscribe(async e=>{e&&(await this.resumePausedMutations(),j(this,Ne).onOnline())})))}unmount(){var e,t;Xi(this,Bn)._--,j(this,Bn)===0&&((e=j(this,Co))==null||e.call(this),Y(this,Co,void 0),(t=j(this,Eo))==null||t.call(this),Y(this,Eo,void 0))}isFetching(e){return j(this,Ne).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return j(this,zn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,Ne).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=j(this,Ne).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Jc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return j(this,Ne).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=j(this,Ne).get(r.queryHash),i=o==null?void 0:o.state.data,s=Pb(t,i);if(s!==void 0)return j(this,Ne).build(this,r).setData(s,{...n,manual:!0})}
196setQueriesData(e,t,n){return Ge.batch(()=>j(this,Ne).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=j(this,Ne).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=j(this,Ne);Ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=j(this,Ne);return Ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ge.batch(()=>j(this,Ne).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return Ge.batch(()=>(j(this,Ne).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=Ge.batch(()=>j(this,Ne).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Dt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=j(this,Ne).build(this,t);return n.isStaleByTime(Jc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Dt).catch(Dt)}fetchInfiniteQuery(e){return e.behavior=Ap(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=Ap(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gl.isOnline()?j(this,zn).resumePausedMutations():Promise.resolve()}getQueryCache(){return j(this,Ne)}getMutationCache(){return j(this,zn)}getDefaultOptions(){return j(this,$n)}setDefaultOptions(e){Y(this,$n,e)}setQueryDefaults(e,t){j(this,wo).set(Fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...j(this,wo).values()],n={};return t.forEach(r=>{zi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){j(this,So).set(Fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...j(this,So).values()],n={};return t.forEach(r=>{zi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...j(this,$n).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Pd(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===Td&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...j(this,$n).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){j(this,Ne).clear(),j(this,zn).clear()}},Ne=new WeakMap,zn=new WeakMap,$n=new WeakMap,wo=new WeakMap,So=new WeakMap,Bn=new WeakMap,Co=new WeakMap,Eo=new WeakMap,lh),Gb=g.createContext(void 0),Xb=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(Gb.Provider,{value:e,children:t}));/**
197 * @remix-run/router v1.23.0
198 *
199 * Copyright (c) Remix Software Inc.
200 *
201 * This source code is licensed under the MIT license found in the
202 * LICENSE.md file in the root directory of this source tree.
203 *
204 * @license MIT
205 */function yl(){return yl=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},yl.apply(this,arguments)}var Hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hn||(Hn={}));const _p="popstate";function Zb(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return tu("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Jg(o)}return e2(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Jb(){return Math.random().toString(36).substr(2,8)}function Ip(e,t){return{usr:e.state,key:e.key,idx:t}}function tu(e,t,n,r){return n===void 0&&(n=null),yl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Zl(t):t,{state:n,key:t&&t.key||r||Jb()})}function Jg(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 Zl(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 e2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=Hn.Pop,a=null,u=f();u==null&&(u=0,s.replaceState(yl({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function h(){l=Hn.Pop;let w=f(),y=w==null?null:w-u;u=w,a&&a({action:l,location:m.location,delta:y})}function v(w,y){l=Hn.Push;let p=tu(m.location,w,y);u=f()+1;let x=Ip(p,u),C=m.createHref(p);try{s.pushState(x,"",C)}
vendor: 3,324 bytes, line 205
205catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(C)}i&&a&&a({action:l,location:m.location,delta:1})}function d(w,y){l=Hn.Replace;let p=tu(m.location,w,y);u=f();let x=Ip(p,u),C=m.createHref(p);s.replaceState(x,"",C),i&&a&&a({action:l,location:m.location,delta:0})}function S(w){let y=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:Jg(w);return p=p.replace(/ $/,"%20"),at(y,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,y)}let m={get action(){return l},get location(){return e(o,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(_p,h),a=w,()=>{o.removeEventListener(_p,h),a=null}},createHref(w){return t(o,w)},createURL:S,encodeLocation(w){let y=S(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:v,replace:d,go(w){return s.go(w)}};return m}var Op;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Op||(Op={}));function t2(e,t,n){return n===void 0&&(n="/"),n2(e,t,n,!1)}function n2(e,t,n,r){let o=typeof t=="string"?Zl(t):t,i=ny(o.pathname||"/",n);if(i==null)return null;let s=ey(e);r2(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=h2(i);l=f2(s[a],u,r)}return l}function ey(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(at(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=ho([r,a.relativePath]),f=n.concat(a);i.children&&i.children.length>0&&(at(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),ey(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:u2(u,i.index),routesMeta:f})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of ty(i.path))o(i,s,a)}),t}function ty(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=ty(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function r2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:d2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const o2=/^:[\w-]+$/,i2=3,s2=2,l2=1,a2=10,c2=-2,Lp=e=>e==="*";function u2(e,t){let n=e.split("/"),r=n.length;return n.some(Lp)&&(r+=c2),t&&(r+=s2),n.filter(o=>!Lp(o)).reduce((o,i)=>o+(o2.test(i)?i2:i===""?l2:a2),r)}function d2(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 f2(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,f=i==="/"?t:t.slice(i.length)||"/",h=Dp({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},f),v=a.route;if(!h&&u&&n&&!r[r.length-1].route.index&&(h=Dp({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},f)),!h)return null;
vendor: 4,131 bytes, lines 205-214
205Object.assign(o,h.params),s.push({params:o,pathname:ho([i,h.pathname]),pathnameBase:m2(ho([i,h.pathnameBase])),route:v}),h.pathnameBase!=="/"&&(i=ho([i,h.pathnameBase]))}return s}function Dp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=p2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,f,h)=>{let{paramName:v,isOptional:d}=f;if(v==="*"){let m=l[h]||"";s=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const S=l[h];return d&&!S?u[v]=void 0:u[v]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function p2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function h2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zg(!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 ny(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 ho=e=>e.join("/").replace(/\/\/+/g,"/"),m2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function v2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ry=["post","put","patch","delete"];new Set(ry);const g2=["get",...ry];new Set(g2);/**
206 * React Router v6.30.1
207 *
208 * Copyright (c) Remix Software Inc.
209 *
210 * This source code is licensed under the MIT license found in the
211 * LICENSE.md file in the root directory of this source tree.
212 *
213 * @license MIT
214 */function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xl.apply(this,arguments)}const y2=g.createContext(null),x2=g.createContext(null),oy=g.createContext(null),Jl=g.createContext(null),ea=g.createContext({outlet:null,matches:[],isDataRoute:!1}),iy=g.createContext(null);function jd(){return g.useContext(Jl)!=null}function sy(){return jd()||at(!1),g.useContext(Jl).location}function w2(e,t){return S2(e,t)}function S2(e,t,n,r){jd()||at(!1);let{navigator:o}=g.useContext(oy),{matches:i}=g.useContext(ea),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=sy(),f;if(t){var h;let w=typeof t=="string"?Zl(t):t;a==="/"||(h=w.pathname)!=null&&h.startsWith(a)||at(!1),f=w}else f=u;let v=f.pathname||"/",d=v;if(a!=="/"){let w=a.replace(/^\//,"").split("/");d="/"+v.replace(/^\//,"").split("/").slice(w.length).join("/")}let S=t2(e,{pathname:d}),m=k2(S&&S.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:ho([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:ho([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&m?g.createElement(Jl.Provider,{value:{location:xl({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Hn.Pop}},m):m}function C2(){let e=R2(),t=v2(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 g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application 
214Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,null)}const E2=g.createElement(C2,null);class b2 extends g.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?g.createElement(ea.Provider,{value:this.props.routeContext},g.createElement(iy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function N2(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(y2);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(ea.Provider,{value:t},r)}function k2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=s.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);f>=0||at(!1),s=s.slice(0,Math.min(s.length,f+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<s.length;f++){let h=s[f];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=f),h.route.id){let{loaderData:v,errors:d}=n,S=h.route.loader&&v[h.route.id]===void 0&&(!d||d[h.route.id]===void 0);if(h.route.lazy||S){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,h,v)=>{let d,S=!1,m=null,w=null;n&&(d=l&&h.route.id?l[h.route.id]:void 0,m=h.route.errorElement||E2,a&&(u<0&&v===0?(S=!0,w=null):u===v&&(S=!0,w=h.route.hydrateFallbackElement||null)));let y=t.concat(s.slice(0,v+1)),p=()=>{let x;return d?x=m:S?x=w:h.route.Component?x=g.createElement(h.route.Component,null):h.route.element?x=h.route.element:x=f,g.createElement(N2,{match:h,routeContext:{outlet:f,matches:y,isDataRoute:n!=null},children:x})};return n&&(h.route.ErrorBoundary||h.route.errorElement||v===0)?g.createElement(b2,{location:n.location,revalidation:n.revalidation,component:m,error:d,children:p(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):p()},null)}var nu=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}(nu||{});function P2(e){let t=g.useContext(x2);return t||at(!1),t}function T2(e){let t=g.useContext(ea);return t||at(!1),t}function j2(e){let t=T2(),n=t.matches[t.matches.length-1];return n.route.id||at(!1),n.route.id}function R2(){var e;let t=g.useContext(iy),n=P2(nu.UseRouteError),r=j2(nu.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function A2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ru(e){at(!1)}function M2(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Hn.Pop,navigator:i,static:s=!1,future:l}=e;jd()&&at(!1);let a=t.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:a,navigator:i,static:s,future:xl({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Zl(r));let{pathname:f="/",search:h="",hash:v="",state:d=null,key:S="default"}=r,m=g.useMemo(()=>{let w=ny(f,a);return w==null?null:{location:{pathname:w,search:h,hash:v,state:d,key:S},navigationType:o}},[a,f,h,v,d,S,o]);return m==null?null:g.createElement(oy.Provider,{value:u},g.createElement(Jl.Provider,{children:n,value:m}))}function _2(e){let{children:t,location:n}=e;return w2(ou(t),n)}new Promise(()=>{});function ou(e,t){t===void 0&&(t=[]);let n=[];
214return g.Children.forEach(e,(r,o)=>{if(!g.isValidElement(r))return;let i=[...t,o];if(r.type===g.Fragment){n.push.apply(n,ou(r.props.children,i));return}r.type!==ru&&at(!1),!r.props.index||!r.props.children||at(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ou(r.props.children,i)),n.push(s)}),n}/**
215 * React Router DOM v6.30.1
216 *
217 * Copyright (c) Remix Software Inc.
218 *
219 * This source code is licensed under the MIT license found in the
220 * LICENSE.md file in the root directory of this source tree.
221 *
222 * @license MIT
223 */const I2="6";try{window.__reactRouterVersion=I2}catch{}const O2="startTransition",Fp=gu[O2];function L2(e){let{basename:t,children:n,future:r,window:o}=e,i=g.useRef();i.current==null&&(i.current=Zb({window:o,v5Compat:!0}));let s=i.current,[l,a]=g.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},f=g.useCallback(h=>{u&&Fp?Fp(()=>a(h)):a(h)},[a,u]);return g.useLayoutEffect(()=>s.listen(f),[s,f]),g.useEffect(()=>A2(r),[r]),g.createElement(M2,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}var zp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(zp||(zp={}));var $p;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($p||($p={}));const we=g.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:ae("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));we.displayName="Card";const _e=g.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:ae("flex flex-col space-y-1.5 p-6",e),...t}));_e.displayName="CardHeader";const Ie=g.forwardRef(({className:e,...t},n)=>c.jsx("h3",{ref:n,className:ae("text-2xl font-semibold leading-none tracking-tight",e),...t}));Ie.displayName="CardTitle";const ly=g.forwardRef(({className:e,...t},n)=>c.jsx("p",{ref:n,className:ae("text-sm text-muted-foreground",e),...t}));ly.displayName="CardDescription";const Re=g.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:ae("p-6 pt-0",e),...t}));Re.displayName="CardContent";const D2=g.forwardRef(({className:e,...t},n)=>c.jsx("div",{ref:n,className:ae("flex items-center p-6 pt-0",e),...t}));D2.displayName="CardFooter";var Rd="Progress",Ad=100,[F2,lP]=sr(Rd),[z2,$2]=F2(Rd),ay=g.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:o,getValueLabel:i=B2,...s}=e;(o||o===0)&&!Bp(o)&&console.error(V2(`${o}`,"Progress"));const l=Bp(o)?o:Ad;r!==null&&!Vp(r,l)&&console.error(U2(`${r}`,"Progress"));const a=Vp(r,l)?r:null,u=wl(a)?i(a,l):void 0;return c.jsx(z2,{scope:n,value:a,max:l,children:c.jsx(ee.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":wl(a)?a:void 0,"aria-valuetext":u,role:"progressbar","data-state":dy(a,l),"data-value":a??void 0,"data-max":l,...s,ref:t})})});ay.displayName=Rd;var cy="ProgressIndicator",uy=g.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,o=$2(cy,n);return c.jsx(ee.div,{"data-state":dy(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...r,ref:t})});uy.displayName=cy;function B2(e,t){return`${Math.round(e/t*100)}%`}function dy(e,t){return e==null?"indeterminate":e===t?"complete":"loading"}function wl(e){return typeof e=="number"}function Bp(e){return wl(e)&&!isNaN(e)&&e>0}function Vp(e,t){return wl(e)&&!isNaN(e)&&e<=t&&e>=0}function V2(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Ad}\`.`}function U2(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
224  - a positive number
225  - less than the value passed to \`max\` (or ${Ad} if no \`max\` prop is set)
226  - \`null\` or \`undefined\` if the progress is indeterminate.
227
228Defaulting to \`null\`.`}var fy=ay,H2=uy;const Md=g.forwardRef(({className:e,value:t,...n},r)=>c.jsx(fy,{ref:r,className:ae("relative h-4 w-full overflow-hidden rounded-full bg-secondary",e),...n,children:c.jsx(H2,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})}));Md.displayName=fy.displayName;
vendor: 6,321 bytes, line 228
228const W2=Ul("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"}}),_r=g.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?v1:"button";return c.jsx(s,{className:ae(W2({variant:t,size:n,className:e})),ref:i,...o})});_r.displayName="Button";const iu=g.forwardRef(({className:e,type:t,...n},r)=>c.jsx("input",{type:t,className:ae("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}));iu.displayName="Input";var Q2="Label",py=g.forwardRef((e,t)=>c.jsx(ee.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())}}));py.displayName=Q2;var hy=py;const K2=Ul("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),We=g.forwardRef(({className:e,...t},n)=>c.jsx(hy,{ref:n,className:ae(K2(),e),...t}));We.displayName=hy.displayName;function Up(e,[t,n]){return Math.min(n,Math.max(t,e))}var q2=g.createContext(void 0);function my(e){const t=g.useContext(q2);return e||t||"ltr"}var Ha=0;function Y2(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Hp()),document.body.insertAdjacentElement("beforeend",e[1]??Hp()),Ha++,()=>{Ha===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Ha--}},[])}function Hp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Wa="focusScope.autoFocusOnMount",Qa="focusScope.autoFocusOnUnmount",Wp={bubbles:!1,cancelable:!0},G2="FocusScope",vy=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[l,a]=g.useState(null),u=Wt(o),f=Wt(i),h=g.useRef(null),v=ye(t,m=>a(m)),d=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(x){if(d.paused||!l)return;const C=x.target;l.contains(C)?h.current=C:Mn(h.current,{select:!0})},w=function(x){if(d.paused||!l)return;const C=x.relatedTarget;C!==null&&(l.contains(C)||Mn(h.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const E of x)E.removedNodes.length>0&&Mn(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",w);const p=new MutationObserver(y);return l&&p.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),p.disconnect()}}},[r,l,d.paused]),g.useEffect(()=>{if(l){Kp.add(d);const m=document.activeElement;if(!l.contains(m)){const y=new CustomEvent(Wa,Wp);l.addEventListener(Wa,u),l.dispatchEvent(y),y.defaultPrevented||(X2(nN(gy(l)),{select:!0}),document.activeElement===m&&Mn(l))}return()=>{l.removeEventListener(Wa,u),setTimeout(()=>{const y=new CustomEvent(Qa,Wp);l.addEventListener(Qa,f),l.dispatchEvent(y),y.defaultPrevented||Mn(m??document.body,{select:!0}),l.removeEventListener(Qa,f),Kp.remove(d)},0)}}},[l,u,f,d]);const S=g.useCallback(m=>{if(!n&&!r||d.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const p=m.currentTarget,[x,C]=Z2(p);x&&C?!m.shiftKey&&y===C?(m.preventDefault(),n&&Mn(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&Mn(C,{select:!0})):y===p&&m.preventDefault()}},[n,r,d.paused]);return c.jsx(ee.div,{tabIndex:-1,...s,ref:v,onKeyDown:S})});vy.displayName=G2;function X2(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Mn(r,{select:t}),document.activeElement!==n)return}function Z2(e){const t=gy(e),n=Qp(t,e),r=Qp(t.reverse(),e);return[n,r]}function gy(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 Qp(e,t){for(const n of e)if(!J2(n,{upTo:t}))return n}function J2(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function eN(e){return e instanceof HTMLInputElement&&"select"in e}function Mn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&eN(e)&&t&&e.select()}}var Kp=tN();function tN(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=qp(e,t),e.unshift(t)},remove(t){var n;e=qp(e,t),(n=e[0])==null||n.resume()}}}function qp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function nN(e){return e.filter(t=>t.tagName!=="A")}function rN(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var oN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body}
vendor: 7,873 bytes, lines 228-265
228,Hr=new WeakMap,ws=new WeakMap,Ss={},Ka=0,yy=function(e){return e&&(e.host||yy(e.parentNode))},iN=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=yy(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},sN=function(e,t,n,r){var o=iN(t,Array.isArray(e)?e:[e]);Ss[n]||(Ss[n]=new WeakMap);var i=Ss[n],s=[],l=new Set,a=new Set(o),u=function(h){!h||l.has(h)||(l.add(h),u(h.parentNode))};o.forEach(u);var f=function(h){!h||a.has(h)||Array.prototype.forEach.call(h.children,function(v){if(l.has(v))f(v);else try{var d=v.getAttribute(r),S=d!==null&&d!=="false",m=(Hr.get(v)||0)+1,w=(i.get(v)||0)+1;Hr.set(v,m),i.set(v,w),s.push(v),m===1&&S&&ws.set(v,!0),w===1&&v.setAttribute(n,"true"),S||v.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};return f(t),l.clear(),Ka++,function(){s.forEach(function(h){var v=Hr.get(h)-1,d=i.get(h)-1;Hr.set(h,v),i.set(h,d),v||(ws.has(h)||h.removeAttribute(r),ws.delete(h)),d||h.removeAttribute(n)}),Ka--,Ka||(Hr=new WeakMap,Hr=new WeakMap,ws=new WeakMap,Ss={})}},lN=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=oN(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),sN(r,o,n,"aria-hidden")):function(){return null}},tn=function(){return tn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},tn.apply(this,arguments)};function xy(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function aN(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Bs="right-scroll-bar-position",Vs="width-before-scroll-bar",cN="with-scroll-bars-hidden",uN="--removed-body-scroll-bar-size";function qa(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function dN(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var fN=typeof window<"u"?g.useLayoutEffect:g.useEffect,Yp=new WeakMap;function pN(e,t){var n=dN(null,function(r){return e.forEach(function(o){return qa(o,r)})});return fN(function(){var r=Yp.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(l){i.has(l)||qa(l,null)}),i.forEach(function(l){o.has(l)||qa(l,s)})}Yp.set(n,e)},[e]),n}function hN(e){return e}function mN(e,t){t===void 0&&(t=hN);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(l){return l!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(l){return i(l)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var l=n;n=[],l.forEach(i),s=n}var a=function(){var f=s;s=[],f.forEach(i)},u=function(){return Promise.resolve().then(a)};u(),n={push:function(f){s.push(f),u()},filter:function(f){return s=s.filter(f),n}}}};return o}function vN(e){e===void 0&&(e={});var t=mN(null);return t.options=tn({async:!0,ssr:!1},e),t}var wy=function(e){var t=e.sideCar,n=xy(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,tn({},n))};wy.isSideCarExport=!0;function gN(e,t){return e.useMedium(t),wy}var Sy=vN(),Ya=function(){},ta=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:Ya,onWheelCapture:Ya,onTouchMoveCapture:Ya}),o=r[0],i=r[1],s=e.forwardProps,l=e.children,a=e.className,u=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,d=e.noRelative,S=e.noIsolation,m=e.inert,w=e.allowPinchZoom,y=e.as,p=y===void 0?"div":y,x=e.gapMode,C=xy(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=v,N=pN([n,t]),b=tn(tn({},C),o);return g.createElement(g.Fragment,null,f&&g.createElement(E,{sideCar:Sy,removeScrollBar:u,shards:h,noRelative:d,noIsolation:S,inert:m,setCallbacks:i,allowPinchZoom:!!w,lockRef:n,gapMode:x}),s?g.cloneElement(g.Children.only(l),tn(tn({},b),{ref:N})):g.createElement(p,tn({},b,{className:a,ref:N}),l))});ta.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ta.classNames={fullWidth:Vs,zeroRight:Bs};var yN=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function xN(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yN();return t&&e.setAttribute("nonce",t),e}function wN(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function SN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var CN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=xN())&&(wN(t,n),SN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EN=function(){var e=CN();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Cy=function(){var e=EN(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},bN={left:0,top:0,right:0,gap:0},Ga=function(e){return parseInt(e||"",10)||0},NN=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ga(n),Ga(r),Ga(o)]},kN=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return bN;var t=NN(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},PN=Cy(),mo="data-scroll-locked",TN=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,l=e.gap;return n===void 0&&(n="margin"),`
229  .`.concat(cN,` {
230   overflow: hidden `).concat(r,`;
231   padding-right: `).concat(l,"px ").concat(r,`;
232  }
233  body[`).concat(mo,`] {
234    overflow: hidden `).concat(r,`;
235    overscroll-behavior: contain;
236    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
237    padding-left: `.concat(o,`px;
238    padding-top: `).concat(i,`px;
239    padding-right: `).concat(s,`px;
240    margin-left:0;
241    margin-top:0;
242    margin-right: `).concat(l,"px ").concat(r,`;
243    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
244  }
245  
246  .`).concat(Bs,` {
247    right: `).concat(l,"px ").concat(r,`;
248  }
249  
250  .`).concat(Vs,` {
251    margin-right: `).concat(l,"px ").concat(r,`;
252  }
253  
254  .`).concat(Bs," .").concat(Bs,` {
255    right: 0 `).concat(r,`;
256  }
257  
258  .`).concat(Vs," .").concat(Vs,` {
259    margin-right: 0 `).concat(r,`;
260  }
261  
262  body[`).concat(mo,`] {
263    `).concat(uN,": ").concat(l,`px;
264  }
265`)},Gp=function(){var e=parseInt(document.body.getAttribute(mo)||"0",10);return isFinite(e)?e:0},jN=function(){g.useEffect(function(){return document.body.setAttribute(mo,(Gp()+1).toString()),function(){var e=Gp()-1;e<=0?document.body.removeAttribute(mo):document.body.setAttribute(mo,e.toString())}},[])},RN=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;jN();var i=g.useMemo(function(){return kN(o)},[o]);return g.createElement(PN,{styles:TN(i,!t,o,n?"":"!important")})},su=!1;
vendor: 6,233 bytes, lines 265-268
265if(typeof window<"u")try{var Cs=Object.defineProperty({},"passive",{get:function(){return su=!0,!0}});window.addEventListener("test",Cs,Cs),window.removeEventListener("test",Cs,Cs)}catch{su=!1}var Wr=su?{passive:!1}:!1,AN=function(e){return e.tagName==="TEXTAREA"},Ey=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!AN(e)&&n[t]==="visible")},MN=function(e){return Ey(e,"overflowY")},_N=function(e){return Ey(e,"overflowX")},Xp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=by(e,r);if(o){var i=Ny(e,r),s=i[1],l=i[2];if(s>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},IN=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ON=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},by=function(e,t){return e==="v"?MN(t):_N(t)},Ny=function(e,t){return e==="v"?IN(t):ON(t)},LN=function(e,t){return e==="h"&&t==="rtl"?-1:1},DN=function(e,t,n,r,o){var i=LN(e,window.getComputedStyle(t).direction),s=i*r,l=n.target,a=t.contains(l),u=!1,f=s>0,h=0,v=0;do{if(!l)break;var d=Ny(e,l),S=d[0],m=d[1],w=d[2],y=m-w-i*S;(S||y)&&by(e,l)&&(h+=y,v+=S);var p=l.parentNode;l=p&&p.nodeType===Node.DOCUMENT_FRAGMENT_NODE?p.host:p}while(!a&&l!==document.body||a&&(t.contains(l)||t===l));return(f&&(Math.abs(h)<1||!o)||!f&&(Math.abs(v)<1||!o))&&(u=!0),u},Es=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Zp=function(e){return[e.deltaX,e.deltaY]},Jp=function(e){return e&&"current"in e?e.current:e},FN=function(e,t){return e[0]===t[0]&&e[1]===t[1]},zN=function(e){return`
266  .block-interactivity-`.concat(e,` {pointer-events: none;}
267  .allow-interactivity-`).concat(e,` {pointer-events: all;}
268`)},$N=0,Qr=[];function BN(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState($N++)[0],i=g.useState(Cy)[0],s=g.useRef(e);g.useEffect(function(){s.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=aN([e.lockRef.current],(e.shards||[]).map(Jp),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=g.useCallback(function(m,w){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!s.current.allowPinchZoom;var y=Es(m),p=n.current,x="deltaX"in m?m.deltaX:p[0]-y[0],C="deltaY"in m?m.deltaY:p[1]-y[1],E,N=m.target,b=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in m&&b==="h"&&N.type==="range")return!1;var P=Xp(b,N);if(!P)return!0;if(P?E=b:(E=b==="v"?"h":"v",P=Xp(b,N)),!P)return!1;if(!r.current&&"changedTouches"in m&&(x||C)&&(r.current=E),!E)return!0;var A=r.current||E;return DN(A,w,m,A==="h"?x:C,!0)},[]),a=g.useCallback(function(m){var w=m;if(!(!Qr.length||Qr[Qr.length-1]!==i)){var y="deltaY"in w?Zp(w):Es(w),p=t.current.filter(function(E){return E.name===w.type&&(E.target===w.target||w.target===E.shadowParent)&&FN(E.delta,y)})[0];if(p&&p.should){w.cancelable&&w.preventDefault();return}if(!p){var x=(s.current.shards||[]).map(Jp).filter(Boolean).filter(function(E){return E.contains(w.target)}),C=x.length>0?l(w,x[0]):!s.current.noIsolation;C&&w.cancelable&&w.preventDefault()}}},[]),u=g.useCallback(function(m,w,y,p){var x={name:m,delta:w,target:y,should:p,shadowParent:VN(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),f=g.useCallback(function(m){n.current=Es(m),r.current=void 0},[]),h=g.useCallback(function(m){u(m.type,Zp(m),m.target,l(m,e.lockRef.current))},[]),v=g.useCallback(function(m){u(m.type,Es(m),m.target,l(m,e.lockRef.current))},[]);g.useEffect(function(){return Qr.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",a,Wr),document.addEventListener("touchmove",a,Wr),document.addEventListener("touchstart",f,Wr),function(){Qr=Qr.filter(function(m){return m!==i}),document.removeEventListener("wheel",a,Wr),document.removeEventListener("touchmove",a,Wr),document.removeEventListener("touchstart",f,Wr)}},[]);var d=e.removeScrollBar,S=e.inert;return g.createElement(g.Fragment,null,S?g.createElement(i,{styles:zN(o)}):null,d?g.createElement(RN,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function VN(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const UN=gN(Sy,BN);var ky=g.forwardRef(function(e,t){return g.createElement(ta,tn({},e,{ref:t,sideCar:UN}))});ky.classNames=ta.classNames;var HN=[" ","Enter","ArrowUp","ArrowDown"],WN=[" ","Enter"],Ir="Select",[na,ra,QN]=ad(Ir),[$o,aP]=sr(Ir,[QN,Kl]),oa=Kl(),[KN,lr]=$o(Ir),[qN,YN]=$o(Ir),Py=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:s,defaultValue:l,onValueChange:a,dir:u,name:f,autoComplete:h,disabled:v,required:d,form:S}=e,m=oa(t),[w,y]=g.useState(null),[p,x]=g.useState(null),[C,E]=g.useState(!1),N=my(u),[b,P]=Ao({prop:r,defaultProp:o??!1,onChange:i,caller:Ir}),[A,_]=Ao({prop:s,defaultProp:l,onChange:a,caller:Ir}),B=g.useRef(null),O=w?S||!!w.closest("form"):!0,[H,I]=g.useState(new Set),W=Array.from(H).map(z=>z.props.value).join(";");return c.jsx(lb,{...m,children:c.jsxs(KN,{required:d,scope:t,trigger:w,onTriggerChange:y,valueNode:p,onValueNodeChange:x,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:qi(),value:A,onValueChange:_,open:b,onOpenChange:P,dir:N,triggerPointerDownPosRef:B,disabled:v,children:[c.jsx(na.Provider,{scope:t,children:c.jsx(qN,{scope:e.__scopeSelect,onNativeOptionAdd:g.useCallback(z=>{I(V=>new Set(V).add(z))},[]),onNativeOptionRemove:g.useCallback(z=>{I(V=>{const k=new Set(V);return k.delete(z),k})},[]),children:n})}),O?c.jsxs(Xy,{"aria-hidden":!0,required:d,tabIndex:-1,name:f,autoComplete:h,value:A,onChange:z=>_(z.target.value),disabled:v,form:S,children:[A===void 0?c.jsx("option",{value:""}):null,Array.from(H)]},W):null]})})};Py.displayName=Ir;var Ty="SelectTrigger",jy=g.forwardRef((e,t)=>
vendor: 16,795 bytes, line 268
268{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=oa(n),s=lr(Ty,n),l=s.disabled||r,a=ye(t,s.onTriggerChange),u=ra(n),f=g.useRef("touch"),[h,v,d]=Jy(m=>{const w=u().filter(x=>!x.disabled),y=w.find(x=>x.value===s.value),p=e0(w,m,y);p!==void 0&&s.onValueChange(p.value)}),S=m=>{l||(s.onOpenChange(!0),d()),m&&(s.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return c.jsx(Ig,{asChild:!0,...i,children:c.jsx(ee.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":Zy(s.value)?"":void 0,...o,ref:a,onClick:Z(o.onClick,m=>{m.currentTarget.focus(),f.current!=="mouse"&&S(m)}),onPointerDown:Z(o.onPointerDown,m=>{f.current=m.pointerType;const w=m.target;w.hasPointerCapture(m.pointerId)&&w.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(S(m),m.preventDefault())}),onKeyDown:Z(o.onKeyDown,m=>{const w=h.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&v(m.key),!(w&&m.key===" ")&&HN.includes(m.key)&&(S(),m.preventDefault())})})})});jy.displayName=Ty;var Ry="SelectValue",Ay=g.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:s="",...l}=e,a=lr(Ry,n),{onValueNodeHasChildrenChange:u}=a,f=i!==void 0,h=ye(t,a.onValueNodeChange);return Le(()=>{u(f)},[u,f]),c.jsx(ee.span,{...l,ref:h,style:{pointerEvents:"none"},children:Zy(a.value)?c.jsx(c.Fragment,{children:s}):i})});Ay.displayName=Ry;var GN="SelectIcon",My=g.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return c.jsx(ee.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});My.displayName=GN;var XN="SelectPortal",_y=e=>c.jsx(cd,{asChild:!0,...e});_y.displayName=XN;var Or="SelectContent",Iy=g.forwardRef((e,t)=>{const n=lr(Or,e.__scopeSelect),[r,o]=g.useState();if(Le(()=>{o(new DocumentFragment)},[]),!n.open){const i=r;return i?Fr.createPortal(c.jsx(Oy,{scope:e.__scopeSelect,children:c.jsx(na.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),i):null}return c.jsx(Ly,{...e,ref:t})});Iy.displayName=Or;var Ot=10,[Oy,ar]=$o(Or),ZN="SelectContentImpl",JN=Oi("SelectContent.RemoveScroll"),Ly=g.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:s,side:l,sideOffset:a,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:d,sticky:S,hideWhenDetached:m,avoidCollisions:w,...y}=e,p=lr(Or,n),[x,C]=g.useState(null),[E,N]=g.useState(null),b=ye(t,D=>C(D)),[P,A]=g.useState(null),[_,B]=g.useState(null),O=ra(n),[H,I]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(x)return lN(x)},[x]),Y2();const z=g.useCallback(D=>{const[se,...be]=O().map(re=>re.ref.current),[ie]=be.slice(-1),te=document.activeElement;for(const re of D)if(re===te||(re==null||re.scrollIntoView({block:"nearest"}),re===se&&E&&(E.scrollTop=0),re===ie&&E&&(E.scrollTop=E.scrollHeight),re==null||re.focus(),document.activeElement!==te))return},[O,E]),V=g.useCallback(()=>z([P,x]),[z,P,x]);g.useEffect(()=>{H&&V()},[H,V]);const{onOpenChange:k,triggerPointerDownPosRef:T}=p;g.useEffect(()=>{if(x){let D={x:0,y:0};const se=ie=>{var te,re;D={x:Math.abs(Math.round(ie.pageX)-(((te=T.current)==null?void 0:te.x)??0)),y:Math.abs(Math.round(ie.pageY)-(((re=T.current)==null?void 0:re.y)??0))}},be=ie=>{D.x<=10&&D.y<=10?ie.preventDefault():x.contains(ie.target)||k(!1),document.removeEventListener("pointermove",se),T.current=null};return T.current!==null&&(document.addEventListener("pointermove",se),document.addEventListener("pointerup",be,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",se),document.removeEventListener("pointerup",be,{capture:!0})}}},[x,k,T]),g.useEffect(()=>{const D=()=>k(!1);return window.addEventListener("blur",D),window.addEventListener("resize",D),()=>{window.removeEventListener("blur",D),window.removeEventListener("resize",D)}},[k]);const[L,Q]=Jy(D=>{const se=O().filter(te=>!te.disabled),be=se.find(te=>te.ref.current===document.activeElement),ie=e0(se,D,be);ie&&setTimeout(()=>ie.ref.current.focus())}),U=g.useCallback((D,se,be)=>{const ie=!W.current&&!be;(p.value!==void 0&&p.value===se||ie)&&(A(D),ie&&(W.current=!0))},[p.value]),G=g.useCallback(()=>x==null?void 0:x.focus(),[x]),K=g.useCallback((D,se,be)=>{const ie=!W.current&&!be;(p.value!==void 0&&p.value===se||ie)&&B(D)},[p.value]),fe=r==="popper"?lu:Dy,Ee=fe===lu?{side:l,sideOffset:a,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:d,sticky:S,hideWhenDetached:m,avoidCollisions:w}:{};return c.jsx(Oy,{scope:n,content:x,viewport:E,onViewportChange:N,itemRefCallback:U,selectedItem:P,onItemLeave:G,itemTextRefCallback:K,focusSelectedItem:V,selectedItemText:_,position:r,isPositioned:H,searchRef:L,children:c.jsx(ky,{as:JN,allowPinchZoom:!0,children:c.jsx(vy,{asChild:!0,trapped:p.open,onMountAutoFocus:D=>{D.preventDefault()},onUnmountAutoFocus:Z(o,D=>{var se;(se=p.trigger)==null||se.focus({preventScroll:!0}),D.preventDefault()}),children:c.jsx(zl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:D=>D.preventDefault(),onDismiss:()=>p.onOpenChange(!1),children:c.jsx(fe,{role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:D=>D.preventDefault(),...y,...Ee,onPlaced:()=>I(!0),ref:b,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:Z(y.onKeyDown,D=>{const se=D.ctrlKey||D.altKey||D.metaKey;if(D.key==="Tab"&&D.preventDefault(),!se&&D.key.length===1&&Q(D.key),["ArrowUp","ArrowDown","Home","End"].includes(D.key)){let ie=O().filter(te=>!te.disabled).map(te=>te.ref.current);if(["ArrowUp","End"].includes(D.key)&&(ie=ie.slice().reverse()),["ArrowUp","ArrowDown"].includes(D.key)){const te=D.target,re=ie.indexOf(te);ie=ie.slice(re+1)}setTimeout(()=>z(ie)),D.preventDefault()}})})})})})})});Ly.displayName=ZN;var ek="SelectItemAlignedPosition",Dy=g.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=lr(Or,n),s=ar(Or,n),[l,a]=g.useState(null),[u,f]=g.useState(null),h=ye(t,b=>f(b)),v=ra(n),d=g.useRef(!1),S=g.useRef(!0),{viewport:m,selectedItem:w,selectedItemText:y,focusSelectedItem:p}=s,x=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&u&&m&&w&&y){const b=i.trigger.getBoundingClientRect(),P=u.getBoundingClientRect(),A=i.valueNode.getBoundingClientRect(),_=y.getBoundingClientRect();if(i.dir!=="rtl"){const te=_.left-P.left,re=A.left-te,$e=b.left-re,wt=b.width+$e,cr=Math.max(wt,P.width),bn=window.innerWidth-Ot,ur=Up(re,[Ot,Math.max(Ot,bn-cr)]);l.style.minWidth=wt+"px",l.style.left=ur+"px"}else{const te=P.right-_.right,re=window.innerWidth-A.right-te,$e=window.innerWidth-b.right-re,wt=b.width+$e,cr=Math.max(wt,P.width),bn=window.innerWidth-Ot,ur=Up(re,[Ot,Math.max(Ot,bn-cr)]);l.style.minWidth=wt+"px",l.style.right=ur+"px"}const B=v(),O=window.innerHeight-Ot*2,H=m.scrollHeight,I=window.getComputedStyle(u),W=parseInt(I.borderTopWidth,10),z=parseInt(I.paddingTop,10),V=parseInt(I.borderBottomWidth,10),k=parseInt(I.paddingBottom,10),T=W+z+H+k+V,L=Math.min(w.offsetHeight*5,T),Q=window.getComputedStyle(m),U=parseInt(Q.paddingTop,10),G=parseInt(Q.paddingBottom,10),K=b.top+b.height/2-Ot,fe=O-K,Ee=w.offsetHeight/2,D=w.offsetTop+Ee,se=W+z+D,be=T-se;if(se<=K){const te=B.length>0&&w===B[B.length-1].ref.current;l.style.bottom="0px";const re=u.clientHeight-m.offsetTop-m.offsetHeight,$e=Math.max(fe,Ee+(te?G:0)+re+V),wt=se+$e;l.style.height=wt+"px"}else{const te=B.length>0&&w===B[0].ref.current;l.style.top="0px";const $e=Math.max(K,W+m.offsetTop+(te?U:0)+Ee)+be;l.style.height=$e+"px",m.scrollTop=se-K+m.offsetTop}l.style.margin=`${Ot}px 0`,l.style.minHeight=L+"px",l.style.maxHeight=O+"px",r==null||r(),requestAnimationFrame(()=>d.current=!0)}},[v,i.trigger,i.valueNode,l,u,m,w,y,i.dir,r]);Le(()=>x(),[x]);const[C,E]=g.useState();Le(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const N=g.useCallback(b=>{b&&S.current===!0&&(x(),p==null||p(),S.current=!1)},[x,p]);return c.jsx(nk,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:d,onScrollButtonChange:N,children:c.jsx("div",{ref:a,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:c.jsx(ee.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Dy.displayName=ek;var tk="SelectPopperPosition",lu=g.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Ot,...i}=e,s=oa(n);return c.jsx(Og,{...s,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});lu.displayName=tk;var[nk,_d]=$o(Or,{}),au="SelectViewport",Fy=g.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,i=ar(au,n),s=_d(au,n),l=ye(t,i.onViewportChange),a=g.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),c.jsx(na.Slot,{scope:n,children:c.jsx(ee.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Z(o.onScroll,u=>{const f=u.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=s;if(v!=null&&v.current&&h){const d=Math.abs(a.current-f.scrollTop);if(d>0){const S=window.innerHeight-Ot*2,m=parseFloat(h.style.minHeight),w=parseFloat(h.style.height),y=Math.max(m,w);if(y<S){const p=y+d,x=Math.min(S,p),C=p-x;h.style.height=x+"px",h.style.bottom==="0px"&&(f.scrollTop=C>0?C:0,h.style.justifyContent="flex-end")}}}a.current=f.scrollTop})})})]})});Fy.displayName=au;var zy="SelectGroup",[rk,ok]=$o(zy),ik=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=qi();return c.jsx(rk,{scope:n,id:o,children:c.jsx(ee.div,{role:"group","aria-labelledby":o,...r,ref:t})})});ik.displayName=zy;var $y="SelectLabel",By=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ok($y,n);return c.jsx(ee.div,{id:o.id,...r,ref:t})});By.displayName=$y;var Sl="SelectItem",[sk,Vy]=$o(Sl),Uy=g.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...s}=e,l=lr(Sl,n),a=ar(Sl,n),u=l.value===r,[f,h]=g.useState(i??""),[v,d]=g.useState(!1),S=ye(t,p=>{var x;return(x=a.itemRefCallback)==null?void 0:x.call(a,p,r,o)}),m=qi(),w=g.useRef("touch"),y=()=>{o||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(sk,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:g.useCallback(p=>{h(x=>x||((p==null?void 0:p.textContent)??"").trim())},[]),children:c.jsx(na.ItemSlot,{scope:n,value:r,disabled:o,textValue:f,children:c.jsx(ee.div,{role:"option","aria-labelledby":m,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:S,onFocus:Z(s.onFocus,()=>d(!0)),onBlur:Z(s.onBlur,()=>d(!1)),onClick:Z(s.onClick,()=>{w.current!=="mouse"&&y()}),onPointerUp:Z(s.onPointerUp,()=>{w.current==="mouse"&&y()}),onPointerDown:Z(s.onPointerDown,p=>{w.current=p.pointerType}),onPointerMove:Z(s.onPointerMove,p=>{var x;w.current=p.pointerType,o?(x=a.onItemLeave)==null||x.call(a):w.current==="mouse"&&p.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Z(s.onPointerLeave,p=>{var x;p.currentTarget===document.activeElement&&((x=a.onItemLeave)==null||x.call(a))}),onKeyDown:Z(s.onKeyDown,p=>{var C;((C=a.searchRef)==null?void 0:C.current)!==""&&p.key===" "||(WN.includes(p.key)&&y(),p.key===" "&&p.preventDefault())})})})})});Uy.displayName=Sl;var ri="SelectItemText",Hy=g.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,s=lr(ri,n),l=ar(ri,n),a=Vy(ri,n),u=YN(ri,n),[f,h]=g.useState(null),v=ye(t,y=>h(y),a.onItemTextChange,y=>{var p;return(p=l.itemTextRefCallback)==null?void 0:p.call(l,y,a.value,a.disabled)}),d=f==null?void 0:f.textContent,S=g.useMemo(()=>c.jsx("option",{value:a.value,disabled:a.disabled,children:d},a.value),[a.disabled,a.value,d]),{onNativeOptionAdd:m,onNativeOptionRemove:w}=u;return Le(()=>(m(S),()=>w(S)),[m,w,S]),c.jsxs(c.Fragment,{children:[c.jsx(ee.span,{id:a.textId,...i,ref:v}),a.isSelected&&s.valueNode&&!s.valueNodeHasChildren?Fr.createPortal(i.children,s.valueNode):null]})});Hy.displayName=ri;var Wy="SelectItemIndicator",Qy=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Vy(Wy,n).isSelected?c.jsx(ee.span,{"aria-hidden":!0,...r,ref:t}):null});Qy.displayName=Wy;var cu="SelectScrollUpButton",Ky=g.forwardRef((e,t)=>{const n=ar(cu,e.__scopeSelect),r=_d(cu,e.__scopeSelect),[o,i]=g.useState(!1),s=ye(t,r.onScrollButtonChange);return Le(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=a.scrollTop>0;i(u)};const a=n.viewport;return l(),a.addEventListener("scroll",l),()=>a.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?c.jsx(Yy,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:a}=n;l&&a&&(l.scrollTop=l.scrollTop-a.offsetHeight)}}):null});Ky.displayName=cu;var uu="SelectScrollDownButton",qy=g.forwardRef((e,t)=>{const n=ar(uu,e.__scopeSelect),r=_d(uu,e.__scopeSelect),[o,i]=g.useState(!1),s=ye(t,r.onScrollButtonChange);return Le(()=>{if(n.viewport&&n.isPositioned){let l=function(){const u=a.scrollHeight-a.clientHeight,f=Math.ceil(a.scrollTop)<u;i(f)};const a=n.viewport;return l(),a.addEventListener("scroll",l),()=>a.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?c.jsx(Yy,{...e,ref:s,onAutoScroll:()=>{const{viewport:l,selectedItem:a}=n;l&&a&&(l.scrollTop=l.scrollTop+a.offsetHeight)}}):null});qy.displayName=uu;var Yy=g.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=ar("SelectScrollButton",n),s=g.useRef(null),l=ra(n),a=g.useCallback(()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},[]);return g.useEffect(()=>()=>a(),[a]),Le(()=>{var f;const u=l().find(h=>h.ref.current===document.activeElement);(f=u==null?void 0:u.ref.current)==null||f.scrollIntoView({block:"nearest"})},[l]),c.jsx(ee.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Z(o.onPointerDown,()=>{s.current===null&&(s.current=window.setInterval(r,50))}),onPointerMove:Z(o.onPointerMove,()=>{var u;(u=i.onItemLeave)==null||u.call(i),s.current===null&&(s.current=window.setInterval(r,50))}),onPointerLeave:Z(o.onPointerLeave,()=>{a()})})}),lk="SelectSeparator",Gy=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return c.jsx(ee.div,{"aria-hidden":!0,...r,ref:t})});Gy.displayName=lk;var du="SelectArrow",ak=g.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=oa(n),i=lr(du,n),s=ar(du,n);return i.open&&s.position==="popper"?c.jsx(Lg,{...o,...r,ref:t}):null});ak.displayName=du;var ck="SelectBubbleInput",Xy=g.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=g.useRef(null),i=ye(r,o),s=rN(t);return g.useEffect(()=>{const l=o.current;if(!l)return;const a=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(a,"value").set;if(s!==t&&f){const h=new Event("change",{bubbles:!0});f.call(l,t),l.dispatchEvent(h)}},[s,t]),c.jsx(ee.select,{...n,style:{...jv,...n.style},ref:i,defaultValue:t})});Xy.displayName=ck;function Zy(e){return e===""||e===void 0}function Jy(e){const t=Wt(e),n=g.useRef(""),r=g.useRef(0),o=g.useCallback(s=>{const l=n.current+s;t(l),function a(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>a(""),1e3))}(l)},[t]),i=g.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function e0(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=uk(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const a=s.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function uk(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var dk=Py,t0=jy,fk=Ay,pk=My,hk=_y,n0=Iy,mk=Fy,r0=By,o0=Uy,vk=Hy,gk=Qy,i0=Ky,s0=qy,l0=Gy;const dt=dk,ft=fk,tt=g.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(t0,{ref:r,className:ae("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
268ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,c.jsx(pk,{asChild:!0,children:c.jsx(pd,{className:"h-4 w-4 opacity-50"})})]}));tt.displayName=t0.displayName;const a0=g.forwardRef(({className:e,...t},n)=>c.jsx(i0,{ref:n,className:ae("flex cursor-default items-center justify-center py-1",e),...t,children:c.jsx(pS,{className:"h-4 w-4"})}));a0.displayName=i0.displayName;const c0=g.forwardRef(({className:e,...t},n)=>c.jsx(s0,{ref:n,className:ae("flex cursor-default items-center justify-center py-1",e),...t,children:c.jsx(pd,{className:"h-4 w-4"})}));c0.displayName=s0.displayName;const nt=g.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>c.jsx(hk,{children:c.jsxs(n0,{ref:o,className:ae("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[c.jsx(a0,{}),c.jsx(mk,{className:ae("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),c.jsx(c0,{})]})}));nt.displayName=n0.displayName;const yk=g.forwardRef(({className:e,...t},n)=>c.jsx(r0,{ref:n,className:ae("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));yk.displayName=r0.displayName;const $=g.forwardRef(({className:e,children:t,...n},r)=>c.jsxs(o0,{ref:r,className:ae("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:c.jsx(gk,{children:c.jsx(fS,{className:"h-4 w-4"})})}),c.jsx(vk,{children:t})]}));$.displayName=o0.displayName;const xk=g.forwardRef(({className:e,...t},n)=>c.jsx(l0,{ref:n,className:ae("-mx-1 my-1 h-px bg-muted",e),...t}));xk.displayName=l0.displayName;const wk=({formData:e,updateFormData:t,onNext:n})=>{const r=/^29\d{3}$/.test(e.postalCode),o=e.postalCode.length>0&&!r,i=r&&e.constructionYear&&e.surfaceArea>0;return c.jsxs("div",{className:"space-y-6",children:[c.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs(we,{className:"p-4",children:[c.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[c.jsx(tg,{className:"w-4 h-4 text-primary","aria-hidden":"true"}),c.jsx(We,{htmlFor:"postal-code",className:"text-sm font-medium",children:"Code postal"})]}),c.jsx(iu,{id:"postal-code",inputMode:"numeric",autoComplete:"postal-code",maxLength:5,placeholder:"ex. 29200",value:e.postalCode,"aria-invalid":o,"aria-describedby":"postal-code-help",onChange:s=>t({postalCode:s.target.value.replace(/\D/g,"").slice(0,5)})}),c.jsx("p",{id:"postal-code-help",className:`text-xs mt-2 ${o?"text-destructive":"text-muted-foreground"}`,children:o?"Saisissez un code postal du Finistère commençant par 29.":"Brest et communes du Finistère."})]}),c.jsxs(we,{className:"p-4",children:[c.jsx(We,{className:"text-sm font-medium",children:"Type de bien"}),c.jsxs(dt,{value:e.propertyType,onValueChange:s=>t({propertyType:s}),children:[c.jsx(tt,{className:"mt-3 min-h-11","aria-label":"Type de bien",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"maison",children:"Maison individuelle"}),c.jsx($,{value:"appartement",children:"Appartement"})]})]})]})]}),c.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs(we,{className:"p-4",children:[c.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[c.jsx(dS,{className:"w-4 h-4 text-primary","aria-hidden":"true"}),c.jsx(We,{className:"text-sm font-medium",children:"Période de construction"})]}),c.jsxs(dt,{value:e.constructionYear,onValueChange:s=>t({constructionYear:s}),children:[c.jsx(tt,{className:"min-h-11","aria-label":"Période de construction",children:c.jsx(ft,{placeholder:"Sélectionner la période"})}),c.jsxs(nt,{children:[c.jsx($,{value:"avant-1948",children:"Avant 1948"}),c.jsx($,{value:"1948-1974",children:"1948 - 1974"}),c.jsx($,{value:"1975-1989",children:"1975 - 1989"}
268),c.jsx($,{value:"1990-2000",children:"1990 - 2000"}),c.jsx($,{value:"2001-2012",children:"2001 - 2012"}),c.jsx($,{value:"2013-2020",children:"2013 - 2020"}),c.jsx($,{value:"apres-2020",children:"Après 2020"})]})]})]}),c.jsxs(we,{className:"p-4",children:[c.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[c.jsx(wS,{className:"w-4 h-4 text-primary","aria-hidden":"true"}),c.jsx(We,{htmlFor:"surface-area",className:"text-sm font-medium",children:"Surface habitable chauffée (m²)"})]}),c.jsx(iu,{id:"surface-area",type:"number",inputMode:"decimal",min:1,max:2e3,placeholder:"ex. 120",value:e.surfaceArea||"",onChange:s=>t({surfaceArea:Number.parseInt(s.target.value,10)||0})})]})]}),c.jsxs("div",{className:"bg-accent/30 border rounded-lg p-4",children:[c.jsx("h3",{className:"font-medium text-base mb-2",children:"Zone climatique H2b - Finistère"}),c.jsx("p",{className:"text-sm text-muted-foreground",children:"La zone H2b est utilisée comme contexte climatique de cette estimation pédagogique."})]}),c.jsx("div",{className:"flex justify-end",children:c.jsxs(_r,{onClick:n,disabled:!i,className:"min-h-11 w-full sm:w-auto bg-gradient-primary hover:opacity-90",children:["Continuer ",c.jsx(Jv,{className:"w-4 h-4 ml-2","aria-hidden":"true"})]})})]})},Sk=({formData:e,updateFormData:t,onNext:n,onBack:r})=>{const o=e.wallMaterial&&e.wallInsulation&&e.roofType&&e.roofInsulation&&e.windowType;return c.jsxs("div",{className:"space-y-6",children:[c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(cS,{className:"w-4 h-4 text-primary"}),"Murs extérieurs"]})}),c.jsxs(Re,{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Matériau principal"}),c.jsxs(dt,{value:e.wallMaterial,onValueChange:i=>t({wallMaterial:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"pierre",children:"Pierre (typique Bretagne)"}),c.jsx($,{value:"parpaing",children:"Parpaing/Béton"}),c.jsx($,{value:"brique",children:"Brique"}),c.jsx($,{value:"bois",children:"Ossature bois"}),c.jsx($,{value:"inconnu",children:"Je ne sais pas"})]})]})]}),c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Isolation"}),c.jsxs(dt,{value:e.wallInsulation,onValueChange:i=>t({wallInsulation:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"non-isole",children:"Non isolé"}),c.jsx($,{value:"isole-interieur",children:"Isolé par l'intérieur"}),c.jsx($,{value:"isole-exterieur",children:"Isolé par l'extérieur (ITE)"}),c.jsx($,{value:"inconnu",children:"Je ne sais pas"})]})]})]})]})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(md,{className:"w-4 h-4 text-primary"}),"Toiture / Plafond"]})}),c.jsxs(Re,{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Type de toiture"}),c.jsxs(dt,{value:e.roofType,onValueChange:i=>t({roofType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"combles-perdus",children:"Combles perdus"}),c.jsx($,{value:"combles-amenages",children:"Combles aménagés"}),c.jsx($,{value:"toit-plat",children:"Toit plat/terrasse"}),c.jsx($,{value:"appartement",children:"Appartement (pas de toiture)"})]})]})]}),c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Isolation toiture"}),c.jsxs(dt,{value:e.roofInsulation,onValueChange:i=>t({roofInsulation:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"non-isole",children:"Non isolé"}),c.jsx($,{value:"isole-faible",children:"Isolé (moins de 15cm)"}),c.jsx($,{value:"isole-moyen",children:"Isolé (15-25cm)"}),c.jsx($,{value:"isole-fort",children:"Bien isolé (plus de 25cm)"}),c.jsx($,{value:"inconnu",children:"Je ne sais pas"})]})]})]})]})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(SS,{className:"w-4 h-4 text-primary"}),"Plancher bas"]})}),c.jsxs(Re,{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Type de plancher"}),c.jsxs(dt,{value:e.floorType,onValueChange:i=>t({floorType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"terre-plein",children:"Sur terre-plein"}),c.jsx($,{value:"sous-sol",children:"Sur sous-sol non chauffé"}),c.jsx($,{value:"vide-sanitaire",children:"Sur vide sanitaire"}),c.jsx($,{value:"appartement",children:"Appartement (sur local chauffé)"})]})]})]}),c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Isolation plancher"}),c.jsxs(dt,{value:e.floorInsulation,onValueChange:i=>t({floorInsulation:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"non-isole",children:"Non isolé"}),c.jsx($,{value:"isole",children:"Isolé"}),c.jsx($,{value:"inconnu",children:"Je ne sais pas"})]})]})]})]})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(gS,{className:"w-4 h-4 text-primary"}),"Fenêtres et ouvertures"]})}),c.jsxs(Re,{className:"grid gap-4 md:grid-cols-2",children:[c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Type de vitrage"}),c.jsxs(dt,{value:e.windowType,onValueChange:i=>t({windowType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"simple",children:"Simple vitrage"}),c.jsx($,{value:"double",children:"Double vitrage standard"}),c.jsx($,{value:"double-performant",children:"Double vitrage performant"}),c.jsx($,{value:"triple",children:"Triple vitrage"})]})]})]}),c.jsxs("div",{children:[c.jsx(We,{className:"text-sm font-medium",children:"Matériau menuiseries"}),c.jsxs(dt,{value:e.windowMaterial,onValueChange:i=>t({windowMaterial:i}
268),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner"})}),c.jsxs(nt,{children:[c.jsx($,{value:"bois",children:"Bois"}),c.jsx($,{value:"pvc",children:"PVC"}),c.jsx($,{value:"aluminium",children:"Aluminium"}),c.jsx($,{value:"mixte",children:"Mixte (bois/alu)"})]})]})]})]})]}),c.jsxs("div",{className:"bg-accent/20 border border-accent/30 rounded-lg p-4",children:[c.jsx("h3",{className:"font-medium text-sm mb-2",children:"Conseils pour l'habitat breton"}),c.jsx("p",{className:"text-xs text-muted-foreground",children:"En Bretagne, l'isolation est cruciale face à l'humidité. Les murs en pierre traditionnels nécessitent une attention particulière pour éviter les problèmes d'humidité."})]}),c.jsxs("div",{className:"flex justify-between",children:[c.jsxs(_r,{variant:"outline",onClick:r,className:"hover:bg-muted",children:[c.jsx(Zv,{className:"w-4 h-4 mr-2"}),"Retour"]}),c.jsxs(_r,{onClick:n,disabled:!o,className:"bg-gradient-primary hover:opacity-90 transition-opacity",children:["Continuer",c.jsx(Jv,{className:"w-4 h-4 ml-2"})]})]})]})},Ck=({formData:e,updateFormData:t,onCalculate:n,onBack:r})=>{const o=e.heatingType&&e.hotWaterType&&e.ventilationType;return c.jsxs("div",{className:"space-y-6",children:[c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(up,{className:"w-4 h-4 text-primary"}),"Chauffage principal"]})}),c.jsxs(Re,{children:[c.jsx(We,{className:"text-sm font-medium",children:"Type de chauffage"}),c.jsxs(dt,{value:e.heatingType,onValueChange:i=>t({heatingType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner le système"})}),c.jsxs(nt,{children:[c.jsx($,{value:"chaudiere-fioul",children:"Chaudière fioul"}),c.jsx($,{value:"chaudiere-gaz",children:"Chaudière gaz classique"}),c.jsx($,{value:"chaudiere-gaz-condensation",children:"Chaudière gaz à condensation"}),c.jsx($,{value:"radiateurs-electriques",children:"Radiateurs électriques"}),c.jsx($,{value:"pac-air-air",children:"Pompe à chaleur Air/Air"}),c.jsx($,{value:"pac-air-eau",children:"Pompe à chaleur Air/Eau"}),c.jsx($,{value:"poele-bois",children:"Poêle à bois/granulés"}),c.jsx($,{value:"chauffage-collectif",children:"Chauffage collectif/urbain"})]})]}),c.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"Le type de chauffage influence fortement la classe DPE"})]})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(hS,{className:"w-4 h-4 text-primary"}),"Eau chaude sanitaire (ECS)"]})}),c.jsxs(Re,{children:[c.jsx(We,{className:"text-sm font-medium",children:"Production d'eau chaude"}),c.jsxs(dt,{value:e.hotWaterType,onValueChange:i=>t({hotWaterType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner le système"})}),c.jsxs(nt,{children:[c.jsx($,{value:"cumulus-electrique",children:"Cumulus électrique"}),c.jsx($,{value:"chaudiere-instantanee",children:"Chaudière (production instantanée)"}),c.jsx($,{value:"chaudiere-ballon",children:"Chaudière avec ballon"}),c.jsx($,{value:"chauffe-eau-thermodynamique",children:"Chauffe-eau thermodynamique"}),c.jsx($,{value:"solaire",children:"Chauffe-eau solaire"}),c.jsx($,{value:"collectif",children:"Production collective"})]})]})]})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-3",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(bS,{className:"w-4 h-4 text-primary"}),"Ventilation"]})}),c.jsxs(Re,{children:[c.jsx(We,{className:"text-sm font-medium",children:"Système de ventilation"}),c.jsxs(dt,{value:e.ventilationType,onValueChange:i=>t({ventilationType:i}),children:[c.jsx(tt,{className:"mt-2",children:c.jsx(ft,{placeholder:"Sélectionner le système"})}),c.jsxs(nt,{children:[c.jsx($,{value:"naturelle",children:"Ventilation naturelle (grilles)"}),c.jsx($,{value:"vmc-simple-flux",children:"VMC simple flux autoréglable"}),c.jsx($,{value:"vmc-hygro",children:"VMC simple flux hygroréglable"}),c.jsx($,{value:"vmc-double-flux",children:"VMC double flux"}),c.jsx($,{value:"aucune",children:"Aucune ventilation spécifique"})]})]}),c.jsx("p",{className:"text-xs text-muted-foreground mt-2",children:"La VMC double flux peut améliorer significativement l'efficacité énergétique"})]})]}),c.jsxs("div",{className:"bg-secondary/20 border border-secondary/30 rounded-lg p-4",children:[c.jsxs("h3",{className:"font-medium text-sm mb-2 flex items-center gap-2",children:[c.jsx(up,{className:"w-4 h-4 text-secondary"}),"Spécificités énergétiques bretonnes"]}
268),c.jsxs("div",{className:"space-y-2 text-xs text-muted-foreground",children:[c.jsxs("p",{children:["• ",c.jsx("strong",{children:"Climat océanique :"})," Températures modérées mais humidité importante"]}),c.jsxs("p",{children:["• ",c.jsx("strong",{children:"Chauffage :"})," Saison de chauffe longue (octobre à mai)"]}),c.jsxs("p",{children:["• ",c.jsx("strong",{children:"Pompes à chaleur :"})," Très efficaces avec les températures douces bretonnes"]}),c.jsxs("p",{children:["• ",c.jsx("strong",{children:"Ventilation :"})," Essentielle pour gérer l'humidité maritime"]})]})]}),c.jsxs("div",{className:"flex justify-between",children:[c.jsxs(_r,{variant:"outline",onClick:r,className:"hover:bg-muted",children:[c.jsx(Zv,{className:"w-4 h-4 mr-2"}),"Retour"]}),c.jsxs(_r,{onClick:n,disabled:!o,className:"bg-gradient-eco hover:opacity-90 transition-opacity shadow-button",children:[c.jsx(uS,{className:"w-4 h-4 mr-2"}),"Calculer mon DPE"]})]})]})},Ek=Ul("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 bk({className:e,variant:t,...n}){return c.jsx("div",{className:ae(Ek({variant:t}),e),...n})}const oi=1.9,mr=.08,ct={constructionYear:{"avant-1948":1.5,"1948-1974":1.3,"1975-1989":1.1,"1990-2000":1,"2001-2012":.8,"2013-2020":.6,"apres-2020":.4},propertyType:{maison:1,appartement:.78},wallMaterial:{pierre:1.08,parpaing:1,brique:.96,bois:.9,inconnu:1.05},wallInsulation:{"non-isole":1.4,"isole-interieur":.8,"isole-exterieur":.6,inconnu:1.2},roofType:{"combles-perdus":1.05,"combles-amenages":1,"toit-plat":1.08,appartement:.65},roofInsulation:{"non-isole":1.3,"isole-faible":1,"isole-moyen":.7,"isole-fort":.5,inconnu:1.1},floorType:{"terre-plein":1,"sous-sol":1.05,"vide-sanitaire":1.08,appartement:.7},floorInsulation:{"non-isole":1.12,isole:.92,inconnu:1.05},windowType:{simple:1.3,double:1,"double-performant":.8,triple:.6},windowMaterial:{bois:.98,pvc:.94,aluminium:1.05,mixte:.92},ventilation:{naturelle:1.08,"vmc-simple-flux":1,"vmc-hygro":.95,"vmc-double-flux":.88,aucune:1.15},heatingSystem:{"chaudiere-fioul":{efficiency:1.2,co2:.32,electricity:!1,price:.12},"chaudiere-gaz":{efficiency:1,co2:.23,electricity:!1,price:.11},"chaudiere-gaz-condensation":{efficiency:.8,co2:.21,electricity:!1,price:.11},"radiateurs-electriques":{efficiency:1.1,co2:mr,electricity:!0,price:.22},"pac-air-air":{efficiency:.4,co2:mr,electricity:!0,price:.22},"pac-air-eau":{efficiency:.3,co2:mr,electricity:!0,price:.22},"poele-bois":{efficiency:.6,co2:.01,electricity:!1,price:.08},"chauffage-collectif":{efficiency:.9,co2:.18,electricity:!1,price:.12}},hotWater:{"cumulus-electrique":{efficiency:1,co2:mr,electricity:!0,price:.22},"chaudiere-instantanee":{efficiency:.8,co2:.23,electricity:!1,price:.11},"chaudiere-ballon":{efficiency:.9,co2:.23,electricity:!1,price:.11},"chauffe-eau-thermodynamique":{efficiency:.3,co2:mr,electricity:!0,price:.22},solaire:{efficiency:.2,co2:.02,electricity:!1,price:.04},collectif:{efficiency:.7,co2:.18,electricity:!1,price:.12}}},bs={heating:80,hotWater:25,lighting:5,auxiliaries:3},It=(e,t,n=1)=>e[t]??n;function Nk(e){return e<=70?"A":e<=110?"B":e<=180?"C":e<=250?"D":e<=330?"E":e<=420?"F":"G"}function kk(e){return e<=6?"A":e<=11?"B":e<=30?"C":e<=50?"D":e<=70?"E":e<=100?"F":"G"}function Pk(e){const t=It(ct.constructionYear,e.constructionYear),n=It(ct.propertyType,e.propertyType),r=It(ct.wallMaterial,e.wallMaterial,1.05),o=It(ct.wallInsulation,e.wallInsulation,1.2),i=It(ct.roofType,e.roofType),s=It(ct.roofInsulation,e.roofInsulation,1.1),l=It(ct.floorType,e.floorType),a=It(ct.floorInsulation,e.floorInsulation,1.05),u=It(ct.windowType,e.windowType),f=It(ct.windowMaterial,e.windowMaterial),h=It(ct.ventilation,e.ventilationType,1.08),v=ct.heatingSystem[e.heatingType],d=ct.hotWater[e.hotWaterType];let S=bs.heating;
268S*=t*n*r*o,S*=i*s*l*a,S*=u*f*h,S*=(v==null?void 0:v.efficiency)??1;const m=bs.hotWater*((d==null?void 0:d.efficiency)??1),w=bs.lighting,y=bs.auxiliaries,p=S*(v!=null&&v.electricity?oi:1),x=m*(d!=null&&d.electricity?oi:1),C=w*oi,E=y*oi,N=S+m+w+y,b=p+x+C+E,P=S*((v==null?void 0:v.co2)??.1)+m*((d==null?void 0:d.co2)??.1)+w*mr+y*mr,A=Nk(b),_=kk(P),B=["A","B","C","D","E","F","G"],O=B[Math.max(B.indexOf(A),B.indexOf(_))],H=e.surfaceArea*(S*((v==null?void 0:v.price)??.12)+m*((d==null?void 0:d.price)??.12)+(w+y)*.22),I=[{element:"Toiture",weight:i*s*24},{element:"Murs",weight:r*o*23},{element:"Fenêtres",weight:u*f*18},{element:"Plancher bas",weight:l*a*12},{element:"Ponts thermiques",weight:t*10},{element:"Renouvellement d'air",weight:h*13}],W=I.reduce((k,T)=>k+T.weight,0),z=I.map(({element:k,weight:T})=>({element:k,percentage:Math.round(T/W*100)})),V=[];return s>1.05&&V.push({title:"Améliorer l’isolation de la toiture",description:"Faire vérifier les combles ou la toiture avant de choisir une solution.",improvement:1,priority:"Haute",estimatedCost:"Sur devis après visite"}),o>1.05&&V.push({title:"Étudier l’isolation des murs",description:"Adapter la solution au matériau et aux risques d’humidité du bâti breton.",improvement:1,priority:"Haute",estimatedCost:"Sur devis après étude"}),u>1&&V.push({title:"Évaluer le remplacement des fenêtres",description:"Comparer les déperditions réelles et la ventilation avant travaux.",improvement:1,priority:"Moyenne",estimatedCost:"Sur devis"}
268),((v==null?void 0:v.efficiency)??1)>.9&&V.push({title:"Faire analyser le système de chauffage",description:"Comparer régulation, entretien et remplacement avec un professionnel.",improvement:1,priority:"Haute",estimatedCost:"Selon équipement"}),{energyConsumption:Math.round(b),primaryEnergyConsumption:Math.round(b),finalEnergyConsumption:Math.round(N),co2Emissions:Math.round(P),energyRating:A,climateRating:_,finalRating:O,annualCost:{min:Math.round(H*.8),max:Math.round(H*1.2)},lossBreakdown:z,recommendations:V.slice(0,3)}}const Tk=["A","B","C","D","E","F","G"],jk=({formData:e,dpeResult:t,onRestart:n})=>{if(!t)return c.jsx("div",{className:"text-center py-8",role:"status",children:"Calcul en cours…"});const r=s=>({A:"bg-dpe-a text-white",B:"bg-dpe-b text-white",C:"bg-dpe-c text-black",D:"bg-dpe-d text-black",E:"bg-dpe-e text-white",F:"bg-dpe-f text-white",G:"bg-dpe-g text-white"})[s]||"bg-gray-500 text-white",o=s=>Math.round(s).toLocaleString("fr-FR"),i=s=>{const l=s==="energy",a=l?t.energyRating:t.climateRating;return c.jsxs(we,{className:"overflow-hidden",children:[c.jsx(_e,{className:"pb-3 px-4 sm:px-6",children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[l?c.jsx(ng,{className:"w-4 h-4 text-primary","aria-hidden":"true"}):c.jsx(yS,{className:"w-4 h-4 text-secondary","aria-hidden":"true"}),l?"Classe énergie indicative":"Classe climat indicative"]})}),c.jsx(Re,{className:"px-4 sm:px-6",children:c.jsx("div",{className:"space-y-2",children:Tk.map(u=>c.jsxs("div",{className:`flex items-center justify-between gap-3 p-3 rounded-lg ${u===a?`${r(u)} ring-2 ring-offset-2 ring-primary`:"bg-muted/30 text-muted-foreground"}`,children:[c.jsx("span",{className:"font-bold text-lg",children:u}),u===a&&c.jsxs("div",{className:"text-right text-sm sm:text-base",children:[c.jsx("div",{className:"font-bold",children:l?`${o(t.primaryEnergyConsumption)} kWhEP/m²/an`:`${o(t.co2Emissions)} kg CO₂/m²/an`}),c.jsx("div",{className:"text-xs opacity-90",children:"Estimation"})]})]},u))})})]})};return c.jsxs("div",{className:"space-y-6","aria-live":"polite",children:[c.jsxs("div",{className:"rounded-lg border-l-4 border-primary bg-red-50 p-4 text-sm",children:[c.jsx("strong",{children:"Résultat indicatif, sans valeur réglementaire."})," Il ne peut pas être utilisé dans une annonce, une vente, une location ou un dossier administratif."]}),c.jsxs("div",{className:"grid gap-5 md:grid-cols-2",children:[i("energy"),i("climate")]}),c.jsx(we,{className:"border-primary/20 bg-gradient-subtle",children:c.jsxs(Re,{className:"pt-6",children:[c.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-6 text-center sm:text-left",children:[c.jsx("div",{className:`w-20 h-20 rounded-full flex items-center justify-center text-3xl font-bold shrink-0 ${r(t.finalRating)}`,children:t.finalRating}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-xl font-bold",children:"Classe indicative la plus défavorable"}),c.jsx("p",{className:"text-sm text-muted-foreground",children:"Comparaison énergie primaire et émissions de gaz à effet de serre"})]})]}),c.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-4 text-center",children:[c.jsxs("div",{children:[c.jsx("div",{className:"text-2xl font-bold text-primary",children:o(t.primaryEnergyConsumption)}),c.jsxs("div",{className:"text-xs text-muted-foreground",children:["Énergie primaire estimée",c.jsx("br",{}),"kWhEP/m²/an"]})]}),c.jsxs("div",{children:[c.jsx("div",{className:"text-2xl font-bold",children:o(t.finalEnergyConsumption)}),c.jsxs("div",{className:"text-xs text-muted-foreground",children:["Énergie finale estimée",c.jsx("br",{}),"kWhEF/m²/an"]})]}),c.jsxs("div",{children:[c.jsx("div",{className:"text-2xl font-bold text-secondary",children:o(t.co2Emissions)}),c.jsx("div",{className:"text-xs text-muted-foreground",children:"kg CO₂/m²/an"})]}),c.jsxs("div",{children:[c.jsxs("div",{className:"text-xl font-bold text-destructive",children:[o(t.annualCost.min)," € - ",o(t.annualCost.max)," €"]}),c.jsx("div",{className:"text-xs text-muted-foreground",children:"Fourchette annuelle indicative"})]})]})]})}),c.jsxs(we,{children:[c.jsx(_e,{children:c.jsxs(Ie,{className:"flex items-center gap-2 text-lg",children:[c.jsx(vS,{className:"w-4 h-4 text-primary","aria-hidden":"true"}),"Méthode et limites"]})}),c.jsxs(Re,{className:"space-y-3 text-sm text-muted-foreground",children:[c.jsx("p",{children:"Cette estimation utilise vos réponses, des coefficients simplifiés pour la zone H2b et les seuils des classes énergie/climat."}),c.jsxs("p",{children:["L’électricité est convertie en énergie primaire avec le coefficient ",c.jsx("strong",{className:"text-foreground",children:oi}),". Les coûts et émissions restent calculés à partir de l’énergie finale estimée."]}),c.jsx("p",{children:"Elle ne reproduit pas le moteur réglementaire 3CL-DPE, la visite du logement, le contrôle des justificatifs ni la transmission à l’ADEME."}),c.jsxs("a",{href:"https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000052134589",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-1 text-primary font-medium underline underline-offset-2",children:["Consulter l’arrêté officiel ",c.jsx(hd,{className:"w-3.5 h-3.5","aria-hidden":"true"})]})]})]}),c.jsxs(we,{children:[c.jsx(_e,{children:c.jsxs(Ie,{className:"flex items-center gap-2 text-lg",children:[c.jsx(CS,{className:"w-4 h-4 text-primary","aria-hidden":"true"}),"Répartition indicative des déperditions"]})}),c.jsx(Re,{className:"space-y-4",children:t.lossBreakdown.map(s=>c.jsxs("div",{className:"space-y-2",children:[c.jsxs("div",{className:"flex justify-between gap-3 text-sm",children:[c.jsx("span",{className:"font-medium",children:s.element}),c.jsxs("span",{className:"text-muted-foreground",children:[s.percentage," %"]})]}),c.jsx(Md,{value:s.percentage,className:"h-2"})]},s.element))})]}),c.jsxs(we,{children:[c.jsx(_e,{children:c.jsxs(Ie,{className:"flex items-center gap-2 text-lg",children:[c.jsx(eg,{className:"w-4 h-4 text-secondary","aria-hidden":"true"}),"Pistes à faire confirmer"]})}),c.jsx(Re,{className:"space-y-4",children:t.recommendations.map(s=>c.jsxs("div",{className:"border rounded-lg p-4 space-y-3",children:[c.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3",children:[c.jsxs("div",{children:[c.jsx("h4",{className:"font-medium",children:s.title}),c.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:s.description})]}),c.jsxs(bk,{variant:"outline",className:"self-start whitespace-nowrap",children:[c.jsx(aS,{className:"w-3 h-3 text-secondary mr-1","aria-hidden":"true"}),"Potentiel indicatif"]})]}),c.jsxs("div",{className:"flex flex-wrap gap-4 text-xs text-muted-foreground",children:[c.jsxs("span",{className:"flex items-center gap-1",children:[c.jsx(mS,{className:"w-3 h-3","aria-hidden":"true"}),s.estimatedCost]}
vendor: 4,487 bytes, line 268
268),c.jsxs("span",{children:["Priorité : ",s.priority]})]})]},s.title))})]}),c.jsxs(we,{className:"bg-muted/20",children:[c.jsx(_e,{children:c.jsxs(Ie,{className:"flex items-center gap-2 text-base",children:[c.jsx(md,{className:"w-4 h-4","aria-hidden":"true"}),"Récapitulatif du logement"]})}),c.jsxs(Re,{className:"grid gap-2 sm:grid-cols-2 text-sm",children:[c.jsxs("div",{children:[c.jsx("strong",{children:"Type :"})," ",e.propertyType==="maison"?"Maison":"Appartement"]}),c.jsxs("div",{children:[c.jsx("strong",{children:"Surface :"})," ",e.surfaceArea," m²"]}),c.jsxs("div",{children:[c.jsx("strong",{children:"Construction :"})," ",e.constructionYear]}),c.jsxs("div",{children:[c.jsx("strong",{children:"Zone :"})," H2b, Finistère"]}),c.jsxs("div",{children:[c.jsx("strong",{children:"Chauffage :"})," ",e.heatingType]}),c.jsxs("div",{children:[c.jsx("strong",{children:"Ventilation :"})," ",e.ventilationType]})]})]}),c.jsxs(we,{className:"bg-gradient-subtle border-primary/20",children:[c.jsxs(_e,{className:"text-center",children:[c.jsx(Ie,{className:"text-xl text-primary",children:"Besoin d’un DPE officiel à Brest ?"}),c.jsx("p",{className:"text-sm text-muted-foreground",children:"EDL Diagnostic intervient à Brest et dans le Finistère."})]}),c.jsxs(Re,{className:"flex flex-col sm:flex-row justify-center gap-3",children:[c.jsx("a",{href:"https://www.edl-diagnostic.fr/devis-personnalise-diagnostics-immobiliers/",target:"_top",className:"inline-flex min-h-11 items-center justify-center rounded-md bg-primary px-5 py-3 text-sm font-semibold text-white hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:"Demander un DPE officiel"}),c.jsx("a",{href:"https://www.edl-diagnostic.fr/dpe-diagnostic-performance-energetique/",target:"_top",className:"inline-flex min-h-11 items-center justify-center rounded-md border bg-background px-5 py-3 text-sm font-semibold hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:"Comprendre le DPE"})]})]}),c.jsx("div",{className:"text-center",children:c.jsxs(_r,{onClick:n,variant:"outline",className:"min-h-11 w-full sm:w-auto",children:[c.jsx(xS,{className:"w-4 h-4 mr-2","aria-hidden":"true"}),"Nouvelle estimation"]})})]})};var ia="Collapsible",[Rk,u0]=sr(ia),[Ak,Id]=Rk(ia),d0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...l}=e,[a,u]=Ao({prop:r,defaultProp:o??!1,onChange:s,caller:ia});return c.jsx(Ak,{scope:n,disabled:i,contentId:qi(),open:a,onOpenToggle:g.useCallback(()=>u(f=>!f),[u]),children:c.jsx(ee.div,{"data-state":Ld(a),"data-disabled":i?"":void 0,...l,ref:t})})});d0.displayName=ia;var f0="CollapsibleTrigger",p0=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Id(f0,n);return c.jsx(ee.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Ld(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Z(e.onClick,o.onOpenToggle)})});p0.displayName=f0;var Od="CollapsibleContent",h0=g.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Id(Od,e.__scopeCollapsible);return c.jsx($l,{present:n||o.open,children:({present:i})=>c.jsx(Mk,{...r,ref:t,present:i})})});h0.displayName=Od;var Mk=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Id(Od,n),[l,a]=g.useState(r),u=g.useRef(null),f=ye(t,u),h=g.useRef(0),v=h.current,d=g.useRef(0),S=d.current,m=s.open||l,w=g.useRef(m),y=g.useRef(void 0);return g.useEffect(()=>{const p=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(p)},[]),Le(()=>{const p=u.current;if(p){y.current=y.current||{transitionDuration:p.style.transitionDuration,animationName:p.style.animationName},p.style.transitionDuration="0s",p.style.animationName="none";const x=p.getBoundingClientRect();h.current=x.height,d.current=x.width,w.current||(p.style.transitionDuration=y.current.transitionDuration,p.style.animationName=y.current.animationName),a(r)}},[s.open,r]),c.jsx(ee.div,{"data-state":Ld(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!m,...i,ref:f,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":S?`${S}px`:void 0,...e.style},children:m&&o})});function Ld(e){return e?"open":"closed"}var _k=d0,Ik=p0,Ok=h0,qt="Accordion",Lk=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Dd,Dk,Fk]=ad(qt),[sa,cP]=sr(qt,[Fk,u0]),Fd=u0(),m0=R.forwardRef((e,t)=>
268{const{type:n,...r}=e,o=r,i=r;return c.jsx(Dd.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?c.jsx(Vk,{...i,ref:t}):c.jsx(Bk,{...o,ref:t})})});m0.displayName=qt;var[v0,zk]=sa(qt),[g0,$k]=sa(qt,{collapsible:!1}),Bk=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[l,a]=Ao({prop:n,defaultProp:r??"",onChange:o,caller:qt});return c.jsx(v0,{scope:e.__scopeAccordion,value:R.useMemo(()=>l?[l]:[],[l]),onItemOpen:a,onItemClose:R.useCallback(()=>i&&a(""),[i,a]),children:c.jsx(g0,{scope:e.__scopeAccordion,collapsible:i,children:c.jsx(y0,{...s,ref:t})})})}),Vk=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,l]=Ao({prop:n,defaultProp:r??[],onChange:o,caller:qt}),a=R.useCallback(f=>l((h=[])=>[...h,f]),[l]),u=R.useCallback(f=>l((h=[])=>h.filter(v=>v!==f)),[l]);return c.jsx(v0,{scope:e.__scopeAccordion,value:s,onItemOpen:a,onItemClose:u,children:c.jsx(g0,{scope:e.__scopeAccordion,collapsible:!0,children:c.jsx(y0,{...i,ref:t})})})}),[Uk,la]=sa(qt),y0=R.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,l=R.useRef(null),a=ye(l,t),u=Dk(n),h=my(o)==="ltr",v=Z(e.onKeyDown,d=>{var P;if(!Lk.includes(d.key))return;const S=d.target,m=u().filter(A=>{var _;return!((_=A.ref.current)!=null&&_.disabled)}),w=m.findIndex(A=>A.ref.current===S),y=m.length;if(w===-1)return;d.preventDefault();let p=w;const x=0,C=y-1,E=()=>{p=w+1,p>C&&(p=x)},N=()=>{p=w-1,p<x&&(p=C)};switch(d.key){case"Home":p=x;break;case"End":p=C;break;case"ArrowRight":i==="horizontal"&&(h?E():N());break;case"ArrowDown":i==="vertical"&&E();break;case"ArrowLeft":i==="horizontal"&&(h?N():E());break;case"ArrowUp":i==="vertical"&&N();break}const b=p%y;(P=m[b].ref.current)==null||P.focus()});return c.jsx(Uk,{scope:n,disabled:r,direction:o,orientation:i,children:c.jsx(Dd.Slot,{scope:n,children:c.jsx(ee.div,{...s,"data-orientation":i,ref:a,onKeyDown:r?void 0:v})})})}),Cl="AccordionItem",[Hk,zd]=sa(Cl),x0=R.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=la(Cl,n),s=zk(Cl,n),l=Fd(n),a=qi(),u=r&&s.value.includes(r)||!1,f=i.disabled||e.disabled;return c.jsx(Hk,{scope:n,open:u,disabled:f,triggerId:a,children:c.jsx(_k,{"data-orientation":i.orientation,"data-state":N0(u),...l,...o,ref:t,disabled:f,open:u,onOpenChange:h=>{h?s.onItemOpen(r):s.onItemClose(r)}})})});x0.displayName=Cl;var w0="AccordionHeader",S0=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=la(qt,n),i=zd(w0,n);return c.jsx(ee.h3,{"data-orientation":o.orientation,"data-state":N0(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});S0.displayName=w0;var fu="AccordionTrigger",C0=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=la(qt,n),i=zd(fu,n),s=$k(fu,n),l=Fd(n);return c.jsx(Dd.ItemSlot,{scope:n,children:c.jsx(Ik,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...l,...r,ref:t})})});C0.displayName=fu;var E0="AccordionContent",b0=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=la(qt,n),i=zd(E0,n),s=Fd(n);return c.jsx(Ok,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});b0.displayName=E0;function N0(e){return e?"open":"closed"}var Wk=m0,Qk=x0,Kk=S0,k0=C0,P0=b0;const qk=Wk,ii=g.forwardRef(({className:e,...t},n)=>c.jsx(Qk,{ref:n,className:ae("border-b",e),...t}));ii.displayName="AccordionItem";const si=g.forwardRef(({className:e,children:t,...n},r)=>c.jsx(Kk,{className:"flex",children:c.jsxs(k0,{ref:r,className:ae("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,c.jsx(pd,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));si.displayName=k0.displayName;const li=g.forwardRef(({className:e,children:t,...n},r)=>c.jsx(P0,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:c.jsx("div",{className:ae("pb-4 pt-0",e),children:t})}));li.displayName=P0.displayName;const Yk=()=>c.jsxs("div",{className:"max-w-4xl mx-auto mt-10 space-y-8 px-3 sm:px-4",children:[c.jsxs("section",{className:"bg-card rounded-lg p-5 sm:p-6 shadow-card border",children:[c.jsx("h2",{className:"text-2xl font-semibold text-primary mb-4",children:"Comprendre cette estimation énergétique à Brest"}),c.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"text-lg font-medium text-secondary mb-2",children:"Zone climatique H2b"}),c.jsx("p",{className:"text-muted-foreground text-sm",children:"Le climat océanique du Finistère influence les besoins conventionnels de chauffage. La ventilation et la gestion de l’humidité restent particulièrement importantes."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"text-lg font-medium text-secondary mb-2",children:"Coefficient électrique 2026"}),c.jsx("p",{className:"text-muted-foreground text-sm",children:"Depuis le 1er janvier 2026, le facteur de conversion de l’électricité en énergie primaire est de 1,9. Cette estimation applique ce coefficient aux usages électriques."}),c.jsxs("a",{href:"https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000052134589",target:"_blank",rel:"noreferrer",className:"mt-2 inline-flex items-center gap-1 text-sm font-medium text-primary underline underline-offset-2",children:["Lire l’arrêté officiel ",c.jsx(hd,{className:"w-3.5 h-3.5","aria-hidden":"true"})]})]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-semibold text-primary mb-5",children:"Questions fréquentes"}),c.jsxs(qk,{type:"single",collapsible:!0,className:"space-y-2",children:[c.jsxs(ii,{value:"difference",className:"bg-card rounded-lg border px-4 shadow-soft",children:[c.jsx(si,{className:"text-left",children:"Cette estimation est-elle un DPE officiel ?"}),c.jsx(li,{className:"text-muted-foreground text-sm",children:"Non. Elle repose sur les informations déclarées et des coefficients simplifiés. Seul un diagnostiqueur certifié peut produire le rapport réglementaire utilisable pour vendre ou louer."})]}),c.jsxs(ii,{value:"h2b",className:"bg-card rounded-lg border px-4 shadow-soft",children:[c.jsx(si,{className:"text-left",children:"Pourquoi la zone H2b est-elle prise en compte ?"}),c.jsx(li,{className:"text-muted-foreground text-sm",children:"La zone H2b correspond au contexte climatique océanique du Finistère. Elle sert ici de base indicative pour les besoins de chauffage."})]}),c.jsxs(ii,{value:"difference-result",className:"bg-card rounded-lg border px-4 shadow-soft",children:[c.jsx(si,{className:"text-left",children:"Pourquoi le résultat peut-il différer d’un vrai DPE ?"}),c.jsx(li,{className:"text-muted-foreground text-sm",children:"Le professionnel contrôle les surfaces, les parois, les équipements et les justificatifs. L’outil ne peut ni effectuer cette visite ni reproduire l’intégralité du moteur réglementaire 3CL-DPE."})]}),c.jsxs(ii,{value:"improve",className:"bg-card rounded-lg border px-4 shadow-soft",children:[c.jsx(si,{className:"text-left",children:"Comment choisir les bons travaux ?"}),c.jsx(li,{className:"text-muted-foreground text-sm",children:"Faites d’abord analyser les déperditions, la ventilation et les équipements. Les recommandations automatiques restent des pistes à confirmer par une étude et des devis adaptés au bâtiment."})]})]})]}),c.jsxs("section",{className:"bg-card rounded-lg p-5 sm:p-6 shadow-card border",children:[c.jsx("h2",{className:"text-2xl font-semibold text-primary mb-4",children:"Points de vigilance pour l’habitat brestois"}),c.jsxs("div",{className:"grid md:grid-cols-3 gap-4",children:[c.jsxs(we,{children:[c.jsx(_e,{className:"pb-2",children:c.jsx(Ie,{className:"text-base text-secondary",children:"Humidité"})}),c.jsx(Re,{className:"text-sm text-muted-foreground",children:"Vérifier la ventilation avant d’isoler afin de préserver la qualité de l’air et le bâti."})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-2",children:c.jsx(Ie,{className:"text-base text-secondary",children:"Étanchéité"})}),c.jsx(Re,{className:"text-sm text-muted-foreground",children:"Rechercher les infiltrations d’air sans bloquer les entrées d’air nécessaires."})]}),c.jsxs(we,{children:[c.jsx(_e,{className:"pb-2",children:c.jsx(Ie,{className:"text-base text-secondary",children:"Équipements"})}),c.jsx(Re,{className:"text-sm text-muted-foreground",children:"Comparer rendement, régulation, coût d’u
268sage et compatibilité avec le logement."})]})]})]}),c.jsxs("section",{children:[c.jsx("h2",{className:"text-2xl font-semibold text-primary mb-4",children:"Unités utilisées"}),c.jsxs("div",{className:"bg-card rounded-lg p-5 sm:p-6 grid md:grid-cols-2 gap-4 text-sm shadow-card border",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"font-medium text-secondary",children:"kWhEF/m²/an"}),c.jsx("p",{className:"text-muted-foreground",children:"Énergie finale estimée, c’est-à-dire l’énergie livrée au logement."})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-medium text-secondary",children:"kWhEP/m²/an"}),c.jsx("p",{className:"text-muted-foreground",children:"Énergie primaire estimée utilisée pour la classe énergie ; l’électricité est convertie avec le facteur 1,9."})]})]})]})]}),Ns=[{id:1,title:"Localisation",description:"Bien et secteur",icon:tg},{id:2,title:"Enveloppe",description:"Isolation et ouvertures",icon:md},{id:3,title:"Équipements",description:"Chauffage et systèmes",icon:ng},{id:4,title:"Résultats",description:"Estimation et conseils",icon:eg}],Gk={postalCode:"",propertyType:"maison",constructionYear:"",surfaceArea:0,wallMaterial:"",wallInsulation:"",roofType:"",roofInsulation:"",floorType:"",floorInsulation:"",windowType:"",windowMaterial:"",heatingType:"",hotWaterType:"",ventilationType:""},Xk=()=>{const[e,t]=g.useState(1),[n,r]=g.useState(Gk),[o,i]=g.useState(null),s=d=>r(S=>({...S,...d})),l=()=>t(d=>Math.min(d+1,4)),a=()=>t(d=>Math.max(d-1,1)),u=()=>{i(Pk(n)),t(4)},f=()=>{t(1),i(null)},h=()=>e===1?c.jsx(wk,{formData:n,updateFormData:s,onNext:l}):e===2?c.jsx(Sk,{formData:n,updateFormData:s,onNext:l,onBack:a}):e===3?c.jsx(Ck,{formData:n,updateFormData:s,onCalculate:u,onBack:a}):c.jsx(jk,{formData:n,dpeResult:o,onRestart:f}),v=Ns[e-1];return c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsxs("div",{className:"container mx-auto px-3 py-6 sm:px-4 sm:py-8",children:[c.jsxs("header",{className:"text-center mb-7",children:[c.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-primary mb-3",children:"Estimateur DPE Brest Finistère"}),c.jsx("p",{className:"text-base sm:text-lg text-muted-foreground max-w-2xl mx-auto mb-5",children:"Estimez la performance énergétique de votre logement en zone climatique H2b."}),c.jsx("div",{role:"note",className:"max-w-3xl mx-auto text-left bg-red-50 border-l-4 border-primary rounded-md p-4 shadow-soft",children:c.jsxs("div",{className:"flex items-start gap-3",children:[c.jsx(ES,{className:"w-5 h-5 text-primary mt-0.5 shrink-0","aria-hidden":"true"}),c.jsxs("div",{className:"space-y-2 text-sm",children:[c.jsxs("p",{children:[c.jsx("strong",{children:"Estimation pédagogique inspirée des principes du DPE."})," Résultat indicatif, sans valeur réglementaire."]}),c.jsx("p",{children:"Seul un DPE réalisé sur place par un diagnostiqueur certifié et transmis à l’ADEME est valable pour une vente, une location ou un dossier administratif."}),c.jsxs("p",{children:["Depuis le 1er janvier 2026, le coefficient de conversion de l’électricité en énergie primaire est de ",c.jsx("strong",{children:"1,9"}),"."," ",c.jsxs("a",{href:"https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000052134589",target:"_blank",rel:"noreferrer",className:"font-medium text-primary underline underline-offset-2",children:["Source officielle ",c.jsx(hd,{className:"inline w-3.5 h-3.5","aria-hidden":"true"})]})]})]})]})})]}),c.jsxs("nav",{"aria-label":"Étapes de l’estimation",className:"max-w-4xl mx-auto mb-7",children:[c.jsx("ol",{className:"grid grid-cols-4 gap-2 mb-3",children:Ns.map(d=>{const S=d.icon,m=e===d.id,w=e>d.id;return c.jsxs("li",{className:"min-w-0 text-center","aria-current":m?"step":void 0,children:[c.jsx("div",{className:`mx-auto flex items-center justify-center w-11 h-11 rounded-full border-2 ${m?"bg-primary border-primary text-white shadow-button":w?"bg-secondary border-secondary text-white":"bg-background border-border text-muted-foreground"}`,children:c.jsx(S,{className:"w-5 h-5","aria-hidden":"true"})}),c.jsx("span",{className:`mt-2 block text-[11px] sm:text-sm font-medium truncate ${m?"text-primary":"text-foreground"}`,children:d.title}),c.jsx("span",{className:"hidden md:block text-xs text-muted-foreground truncate",children:d.description})]},d.id)})}),c.jsx(Md,{value:e/Ns.length*100,className:"h-2","aria-label":`Étape ${e} sur ${Ns.length}`})]}),c.jsx("main",{className:"max-w-4xl mx-auto","aria-live":e===4?"polite":"off",children:c.jsxs(we,{className:"shadow-card border-border overflow-hidden",children:[c.jsxs(_e,{className:"px-4 sm:px-6",children:[c.jsxs(Ie,{className:"flex items-center gap-2 text-xl",children:[R.createElement(v.icon,{className:"w-5 h-5 text-primary","aria-hidden":!0}),v.title]}),c.jsx(ly,{children:v.description})]}),c.jsx(Re,{className:"px-4 sm:px-6",children:h()})]})}),c.jsxs("footer",{className:"text-center mt-10 text-sm text-muted-foreground",children:[c.jsx("p",{children:"Estimation pédagogique pour Brest et le Finistère - Zone climatique H2b"}),c.jsx("p",{className:"mt-1",children:"Coefficient électrique en énergie primaire : 1,9 depuis le 1er janvier 2026"})]})]}),e===1&&c.jsx(Yk,{})]})},Zk=()=>c.jsx(Xk,{}),Jk=()=>{const e=sy();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),c.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:c.jsxs("div",{className:"text-center",children:[c.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),c.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),c.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},eP=new Yb,tP=()=>c.jsx(Xb,{client:eP,children:c.jsxs(Nb,{children:[c.jsx(lC,{}),c.jsx(zC,{}),c.jsx(L2,{children:c.jsxs(_2,{children:[c.jsx(ru,{path:"/",element:c.jsx(Zk,{})}),c.jsx(ru,{path:"*",element:c.jsx(Jk,{})})]})})]})});Cv(document.getElementById("root")).render(c.jsx(tP,{}));

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.