PageSourceSearch

https://veronauptoyou.lovable.app/assets/index-MS_gKRTL.js

js veronauptoyou.lovable.app collected 2026-10-03 03:45:20 UTC 451,794 bytes, 217 lines download raw bytes

vendor: 5,064 bytes, lines 1-9
1var pf=e=>{throw TypeError(e)};var vl=(e,t,n)=>t.has(e)||pf("Cannot "+n);var N=(e,t,n)=>(vl(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?pf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(vl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(vl(e,t,"access private method"),n);var ra=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return N(e,t,r)}});function iw(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 a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).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 Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bp={exports:{}},Rs={},Vp={exports:{}},K={};/**
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 $i=Symbol.for("react.element"),aw=Symbol.for("react.portal"),sw=Symbol.for("react.fragment"),lw=Symbol.for("react.strict_mode"),uw=Symbol.for("react.profiler"),cw=Symbol.for("react.provider"),dw=Symbol.for("react.context"),fw=Symbol.for("react.forward_ref"),hw=Symbol.for("react.suspense"),pw=Symbol.for("react.memo"),mw=Symbol.for("react.lazy"),mf=Symbol.iterator;function vw(e){return e===null||typeof e!="object"?null:(e=mf&&e[mf]||e["@@iterator"],typeof e=="function"?e:null)}var Up={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hp=Object.assign,Yp={};function Ao(e,t,n){this.props=e,this.context=t,this.refs=Yp,this.updater=n||Up}Ao.prototype.isReactComponent={};Ao.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")};Ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gp(){}Gp.prototype=Ao.prototype;function Ec(e,t,n){this.props=e,this.context=t,this.refs=Yp,this.updater=n||Up}var Pc=Ec.prototype=new Gp;Pc.constructor=Ec;Hp(Pc,Ao.prototype);Pc.isPureReactComponent=!0;var vf=Array.isArray,Qp=Object.prototype.hasOwnProperty,Nc={current:null},qp={key:!0,ref:!0,__self:!0,__source:!0};function Kp(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Qp.call(t,r)&&!qp.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:$i,type:e,key:i,ref:a,props:o,_owner:Nc.current}}function gw(e,t){return{$$typeof:$i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Tc(e){return typeof e=="object"&&e!==null&&e.$$typeof===$i}function yw(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gf=/\/+/g;function gl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yw(""+e.key):t.toString(36)}function ja(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case $i:case aw:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+gl(a,0):r,vf(o)?(n="",e!=null&&(n=e.replace(gf,"$&/")+"/"),ja(o,t,n,"",function(u){return u})):o!=null&&(Tc(o)&&(o=gw(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(gf,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",vf(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+gl(i,s);a+=ja(i,t,n,l,o)}else if(l=vw(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+gl(i,s++),a+=ja(i,t,n,l,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 a}
vendor: 4,352 bytes, lines 9-17
9function oa(e,t,n){if(e==null)return e;var r=[],o=0;return ja(e,r,"","",function(i){return t.call(n,i,o++)}),r}function ww(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 He={current:null},Ma={transition:null},xw={ReactCurrentDispatcher:He,ReactCurrentBatchConfig:Ma,ReactCurrentOwner:Nc};function Xp(){throw Error("act(...) is not supported in production builds of React.")}K.Children={map:oa,forEach:function(e,t,n){oa(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return oa(e,function(){t++}),t},toArray:function(e){return oa(e,function(t){return t})||[]},only:function(e){if(!Tc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};K.Component=Ao;K.Fragment=sw;K.Profiler=uw;K.PureComponent=Ec;K.StrictMode=lw;K.Suspense=hw;K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xw;K.act=Xp;K.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=Hp({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Nc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Qp.call(t,l)&&!qp.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:$i,type:e.type,key:o,ref:i,props:r,_owner:a}};K.createContext=function(e){return e={$$typeof:dw,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cw,_context:e},e.Consumer=e};K.createElement=Kp;K.createFactory=function(e){var t=Kp.bind(null,e);return t.type=e,t};K.createRef=function(){return{current:null}};K.forwardRef=function(e){return{$$typeof:fw,render:e}};K.isValidElement=Tc;K.lazy=function(e){return{$$typeof:mw,_payload:{_status:-1,_result:e},_init:ww}};K.memo=function(e,t){return{$$typeof:pw,type:e,compare:t===void 0?null:t}};K.startTransition=function(e){var t=Ma.transition;Ma.transition={};try{e()}finally{Ma.transition=t}};K.unstable_act=Xp;K.useCallback=function(e,t){return He.current.useCallback(e,t)};K.useContext=function(e){return He.current.useContext(e)};K.useDebugValue=function(){};K.useDeferredValue=function(e){return He.current.useDeferredValue(e)};K.useEffect=function(e,t){return He.current.useEffect(e,t)};K.useId=function(){return He.current.useId()};K.useImperativeHandle=function(e,t,n){return He.current.useImperativeHandle(e,t,n)};K.useInsertionEffect=function(e,t){return He.current.useInsertionEffect(e,t)};K.useLayoutEffect=function(e,t){return He.current.useLayoutEffect(e,t)};K.useMemo=function(e,t){return He.current.useMemo(e,t)};K.useReducer=function(e,t,n){return He.current.useReducer(e,t,n)};K.useRef=function(e){return He.current.useRef(e)};K.useState=function(e){return He.current.useState(e)};K.useSyncExternalStore=function(e,t,n){return He.current.useSyncExternalStore(e,t,n)};K.useTransition=function(){return He.current.useTransition()};K.version="18.3.1";Vp.exports=K;var g=Vp.exports;const R=Wp(g),_c=iw({__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 bw=g,kw=Symbol.for("react.element"),Sw=Symbol.for("react.fragment"),Cw=Object.prototype.hasOwnProperty,Ew=bw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Pw={key:!0,ref:!0,__self:!0,__source:!0};function Jp(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Cw.call(t,r)&&!Pw.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:kw,type:e,key:i,ref:a,props:o,_owner:Ew.current}}Rs.Fragment=Sw;Rs.jsx=Jp;Rs.jsxs=Jp;Bp.exports=Rs;var d=Bp.exports,Zp={exports:{}},lt={},em={exports:{}},tm={};
vendor: 3,682 bytes, lines 17-25
17/**
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(C,T){var L=C.length;C.push(T);e:for(;0<L;){var V=L-1>>>1,z=C[V];if(0<o(z,T))C[V]=T,C[L]=z,L=V;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var T=C[0],L=C.pop();if(L!==T){C[0]=L;e:for(var V=0,z=C.length,q=z>>>1;V<q;){var X=2*(V+1)-1,be=C[X],De=X+1,te=C[De];if(0>o(be,L))De<z&&0>o(te,be)?(C[V]=te,C[De]=L,V=De):(C[V]=be,C[X]=L,V=X);else if(De<z&&0>o(te,L))C[V]=te,C[De]=L,V=De;else break e}}return T}function o(C,T){var L=C.sortIndex-T.sortIndex;return L!==0?L:C.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,p=3,h=!1,b=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(C){for(var T=n(u);T!==null;){if(T.callback===null)r(u);else if(T.startTime<=C)r(u),T.sortIndex=T.expirationTime,t(l,T);else break;T=n(u)}}function k(C){if(v=!1,w(C),!b)if(n(l)!==null)b=!0,B(S);else{var T=n(u);T!==null&&M(k,T.startTime-C)}}function S(C,T){b=!1,v&&(v=!1,y(_),_=-1),h=!0;var L=p;try{for(w(T),f=n(l);f!==null&&(!(f.expirationTime>T)||C&&!$());){var V=f.callback;if(typeof V=="function"){f.callback=null,p=f.priorityLevel;var z=V(f.expirationTime<=T);T=e.unstable_now(),typeof z=="function"?f.callback=z:f===n(l)&&r(l),w(T)}else r(l);f=n(l)}if(f!==null)var q=!0;else{var X=n(u);X!==null&&M(k,X.startTime-T),q=!1}return q}finally{f=null,p=L,h=!1}}var E=!1,P=null,_=-1,O=5,D=-1;function $(){return!(e.unstable_now()-D<O)}function I(){if(P!==null){var C=e.unstable_now();D=C;var T=!0;try{T=P(!0,C)}finally{T?G():(E=!1,P=null)}}else E=!1}var G;if(typeof m=="function")G=function(){m(I)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,Q=A.port2;A.port1.onmessage=I,G=function(){Q.postMessage(null)}}else G=function(){x(I,0)};function B(C){P=C,E||(E=!0,G())}function M(C,T){_=x(function(){C(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(C){C.callback=null},e.unstable_continueExecution=function(){b||h||(b=!0,B(S))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var T=3;break;default:T=p}var L=p;p=T;try{return C()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,T){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var L=p;p=C;try{return T()}finally{p=L}},e.unstable_scheduleCallback=function(C,T,L){var V=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?V+L:V):L=V,C){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}
vendor: 4,614 bytes, lines 25-33
25return z=L+z,C={id:c++,callback:T,priorityLevel:C,startTime:L,expirationTime:z,sortIndex:-1},L>V?(C.sortIndex=L,t(u,C),n(l)===null&&C===n(u)&&(v?(y(_),_=-1):v=!0,M(k,L-V))):(C.sortIndex=z,t(l,C),b||h||(b=!0,B(S))),C},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(C){var T=p;return function(){var L=p;p=T;try{return C.apply(this,arguments)}finally{p=L}}}})(tm);em.exports=tm;var Nw=em.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 Tw=g,at=Nw;function j(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 nm=new Set,vi={};function Dr(e,t){So(e,t),So(e+"Capture",t)}function So(e,t){for(vi[e]=t,e=0;e<t.length;e++)nm.add(t[e])}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cu=Object.prototype.hasOwnProperty,_w=/^[: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]*$/,yf={},wf={};function jw(e){return cu.call(wf,e)?!0:cu.call(yf,e)?!1:_w.test(e)?wf[e]=!0:(yf[e]=!0,!1)}function Mw(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 Rw(e,t,n,r){if(t===null||typeof t>"u"||Mw(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ye(e,t,n,r,o,i,a){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=a}var je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){je[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];je[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){je[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){je[e]=new Ye(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){je[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){je[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){je[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){je[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){je[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var jc=/[\-:]([a-z])/g;function Mc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(jc,Mc);je[t]=new Ye(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(jc,Mc);je[t]=new Ye(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(jc,Mc);je[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){je[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});je.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){je[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function Rc(e,t,n,r){var o=je.hasOwnProperty(t)?je[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Rw(t,n,o,r)&&(n=null),r||o===null?jw(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 yn=Tw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ia=Symbol.for("react.element"),Yr=Symbol.for("react.portal"),Gr=Symbol.for("react.fragment"),Dc=Symbol.for("react.strict_mode"),du=Symbol.for("react.profiler"),rm=Symbol.for("react.provider"),om=Symbol.for("react.context"),Oc=Symbol.for("react.forward_ref"),fu=Symbol.for("react.suspense"),hu=Symbol.for("react.suspense_list"),Ac=Symbol.for("react.memo"),Mn=Symbol.for("react.lazy"),im=Symbol.for("react.offscreen"),xf=Symbol.iterator;function Uo(e){return e===null||typeof e!="object"?null:(e=xf&&e[xf]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,yl;function ni(e){if(yl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);yl=t&&t[1]||""}return`
34`+yl+e}var wl=!1;function xl(e,t){if(!e||wl)return"";wl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
37`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{wl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ni(e):""}function Dw(e){switch(e.tag){case 5:return ni(e.type);case 16:return ni("Lazy");case 13:return ni("Suspense");case 19:return ni("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function pu(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 Gr:return"Fragment";case Yr:return"Portal";case du:return"Profiler";case Dc:return"StrictMode";case fu:return"Suspense";case hu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case om:return(e.displayName||"Context")+".Consumer";case rm:return(e._context.displayName||"Context")+".Provider";case Oc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ac:return t=e.displayName||null,t!==null?t:pu(e.type)||"Memo";case Mn:t=e._payload,e=e._init;try{return pu(e(t))}catch{}}return null}function Ow(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 pu(t);case 8:return t===Dc?"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 Xn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function am(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Aw(e){var t=am(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(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function aa(e){e._valueTracker||(e._valueTracker=Aw(e))}function sm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=am(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ja(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 mu(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xn(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 lm(e,t){t=t.checked,t!=null&&Rc(e,"checked",t,!1)}function vu(e,t){lm(e,t);var n=Xn(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")?gu(e,t.type,n):t.hasOwnProperty("defaultValue")&&gu(e,t.type,Xn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kf(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 gu(e,t,n){(t!=="number"||Ja(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ri=Array.isArray;function oo(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=""+Xn(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 yu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(ri(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xn(n)}}function um(e,t){var n=Xn(t.value),r=Xn(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 Cf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function cm(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 wu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?cm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var sa,dm=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(sa=sa||document.createElement("div"),sa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=sa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gi(e,t){if(t){var n=e.firstChild;
vendor: 11,445 bytes, line 37
37if(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},Lw=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){Lw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function fm(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 hm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=fm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Iw=me({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 xu(e,t){if(t){if(Iw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function bu(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 ku=null;function Lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,io=null,ao=null;function Ef(e){if(e=Vi(e)){if(typeof Su!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Is(t),Su(e.stateNode,e.type,t))}}function pm(e){io?ao?ao.push(e):ao=[e]:io=e}function mm(){if(io){var e=io,t=ao;if(ao=io=null,Ef(e),t)for(e=0;e<t.length;e++)Ef(t[e])}}function vm(e,t){return e(t)}function gm(){}var bl=!1;function ym(e,t,n){if(bl)return e(t,n);bl=!0;try{return vm(e,t,n)}finally{bl=!1,(io!==null||ao!==null)&&(gm(),mm())}}function yi(e,t){var n=e.stateNode;if(n===null)return null;var r=Is(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(j(231,t,typeof n));return n}var Cu=!1;if(dn)try{var Ho={};Object.defineProperty(Ho,"passive",{get:function(){Cu=!0}}),window.addEventListener("test",Ho,Ho),window.removeEventListener("test",Ho,Ho)}catch{Cu=!1}function Fw(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var si=!1,Za=null,es=!1,Eu=null,zw={onError:function(e){si=!0,Za=e}};function $w(e,t,n,r,o,i,a,s,l){si=!1,Za=null,Fw.apply(zw,arguments)}function Ww(e,t,n,r,o,i,a,s,l){if($w.apply(this,arguments),si){if(si){var u=Za;si=!1,Za=null}else throw Error(j(198));es||(es=!0,Eu=u)}}function Or(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 wm(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 Pf(e){if(Or(e)!==e)throw Error(j(188))}function Bw(e){var t=e.alternate;if(!t){if(t=Or(e),t===null)throw Error(j(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 Pf(o),e;if(i===r)return Pf(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function xm(e){return e=Bw(e),e!==null?bm(e):null}function bm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=bm(e);if(t!==null)return t;e=e.sibling}return null}var km=at.unstable_scheduleCallback,Nf=at.unstable_cancelCallback,Vw=at.unstable_shouldYield,Uw=at.unstable_requestPaint,we=at.unstable_now,Hw=at.unstable_getCurrentPriorityLevel,Ic=at.unstable_ImmediatePriority,Sm=at.unstable_UserBlockingPriority,ts=at.unstable_NormalPriority,Yw=at.unstable_LowPriority,Cm=at.unstable_IdlePriority,Ds=null,Qt=null;function Gw(e){if(Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(Ds,e,void 0,(e.current.flags&128)===128)}catch{}}var Mt=Math.clz32?Math.clz32:Kw,Qw=Math.log,qw=Math.LN2;function Kw(e){return e>>>=0,e===0?32:31-(Qw(e)/qw|0)|0}var la=64,ua=4194304;function oi(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 ns(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=oi(s):(i&=a,i!==0&&(r=oi(i)))}else a=n&~o,a!==0?r=oi(a):i!==0&&(r=oi(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-Mt(t),o=1<<n,r|=e[n],t&=~o;return r}function Xw(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 Jw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Mt(i),s=1<<a,l=o[a];l===-1?(!(s&n)||s&r)&&(o[a]=Xw(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function Pu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Em(){var e=la;return la<<=1,!(la&4194240)&&(la=64),e}function kl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=n}function Zw(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-Mt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Fc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Mt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var oe=0;function Pm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Nm,zc,Tm,_m,jm,Nu=!1,ca=[],Vn=null,Un=null,Hn=null,wi=new Map,xi=new Map,Dn=[],ex="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 Tf(e,t){switch(e){case"focusin":case"focusout":Vn=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":wi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xi.delete(t.pointerId)}}function Yo(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=Vi(t),t!==null&&zc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function tx(e,t,n,r,o){switch(t){case"focusin":return Vn=Yo(Vn,e,t,n,r,o),!0;case"dragenter":return Un=Yo(Un,e,t,n,r,o),!0;case"mouseover":return Hn=Yo(Hn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return wi.set(i,Yo(wi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,xi.set(i,Yo(xi.get(i)||null,e,t,n,r,o)),!0}return!1}function Mm(e){var t=hr(e.target);if(t!==null){var n=Or(t);if(n!==null){if(t=n.tag,t===13){if(t=wm(n),t!==null){e.blockedOn=t,jm(e.priority,function(){Tm(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 Ra(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Tu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ku=r,n.target.dispatchEvent(r),ku=null}else return t=Vi(n),t!==null&&zc(t),e.blockedOn=n,!1;t.shift()}return!0}function _f(e,t,n){Ra(e)&&n.delete(t)}function nx(){Nu=!1,Vn!==null&&Ra(Vn)&&(Vn=null),Un!==null&&Ra(Un)&&(Un=null),Hn!==null&&Ra(Hn)&&(Hn=null),wi.forEach(_f),xi.forEach(_f)}function Go(e,t){e.blockedOn===t&&(e.blockedOn=null,Nu||(Nu=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,nx)))}function bi(e){function t(o){return Go(o,e)}if(0<ca.length){Go(ca[0],e);for(var n=1;n<ca.length;n++){var r=ca[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Vn!==null&&Go(Vn,e),Un!==null&&Go(Un,e),Hn!==null&&Go(Hn,e),wi.forEach(t),xi.forEach(t),n=0;n<Dn.length;n++)r=Dn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Dn.length&&(n=Dn[0],n.blockedOn===null);)Mm(n),n.blockedOn===null&&Dn.shift()}var so=yn.ReactCurrentBatchConfig,rs=!0;function rx(e,t,n,r){var o=oe,i=so.transition;so.transition=null;try{oe=1,$c(e,t,n,r)}finally{oe=o,so.transition=i}}function ox(e,t,n,r){var o=oe,i=so.transition;so.transition=null;try{oe=4,$c(e,t,n,r)}finally{oe=o,so.transition=i}}function $c(e,t,n,r){if(rs){var o=Tu(e,t,n,r);if(o===null)Rl(e,t,r,os,n),Tf(e,r);else if(tx(o,e,t,n,r))r.stopPropagation();else if(Tf(e,r),t&4&&-1<ex.indexOf(e)){for(;o!==null;){var i=Vi(o);if(i!==null&&Nm(i),i=Tu(e,t,n,r),i===null&&Rl(e,t,r,os,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Rl(e,t,r,null,n)}}var os=null;function Tu(e,t,n,r){if(os=null,e=Lc(r),e=hr(e),e!==null)if(t=Or(e),t===null)e=null;else if(n=t.tag,n===13){if(e=wm(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 os=e,null}
vendor: 10,401 bytes, line 37
37function Rm(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(Hw()){case Ic:return 1;case Sm:return 4;case ts:case Yw:return 16;case Cm:return 536870912;default:return 16}default:return 16}}var $n=null,Wc=null,Da=null;function Dm(){if(Da)return Da;var e,t=Wc,n=t.length,r,o="value"in $n?$n.value:$n.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Da=o.slice(e,1<r?1-r:void 0)}function Oa(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 da(){return!0}function jf(){return!1}function ut(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?da:jf,this.isPropagationStopped=jf,this}return me(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=da)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=da)},persist:function(){},isPersistent:da}),t}var Lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bc=ut(Lo),Bi=me({},Lo,{view:0,detail:0}),ix=ut(Bi),Sl,Cl,Qo,Os=me({},Bi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vc,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!==Qo&&(Qo&&e.type==="mousemove"?(Sl=e.screenX-Qo.screenX,Cl=e.screenY-Qo.screenY):Cl=Sl=0,Qo=e),Sl)},movementY:function(e){return"movementY"in e?e.movementY:Cl}}),Mf=ut(Os),ax=me({},Os,{dataTransfer:0}),sx=ut(ax),lx=me({},Bi,{relatedTarget:0}),El=ut(lx),ux=me({},Lo,{animationName:0,elapsedTime:0,pseudoElement:0}),cx=ut(ux),dx=me({},Lo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fx=ut(dx),hx=me({},Lo,{data:0}),Rf=ut(hx),px={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mx={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"},vx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vx[e])?!!t[e]:!1}function Vc(){return gx}var yx=me({},Bi,{key:function(e){if(e.key){var t=px[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Oa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vc,charCode:function(e){return e.type==="keypress"?Oa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Oa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wx=ut(yx),xx=me({},Os,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Df=ut(xx),bx=me({},Bi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vc}),kx=ut(bx),Sx=me({},Lo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cx=ut(Sx),Ex=me({},Os,{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}),Px=ut(Ex),Nx=[9,13,27,32],Uc=dn&&"CompositionEvent"in window,li=null;dn&&"documentMode"in document&&(li=document.documentMode);var Tx=dn&&"TextEvent"in window&&!li,Om=dn&&(!Uc||li&&8<li&&11>=li),Of=" ",Af=!1;function Am(e,t){switch(e){case"keyup":return Nx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function _x(e,t){switch(e){case"compositionend":return Lm(t);case"keypress":return t.which!==32?null:(Af=!0,Of);case"textInput":return e=t.data,e===Of&&Af?null:e;default:return null}}function jx(e,t){if(Qr)return e==="compositionend"||!Uc&&Am(e,t)?(e=Dm(),Da=Wc=$n=null,Qr=!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 Om&&t.locale!=="ko"?null:t.data;default:return null}}var Mx={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 Lf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Mx[e.type]:t==="textarea"}function Im(e,t,n,r){pm(r),t=is(t,"onChange"),0<t.length&&(n=new Bc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ui=null,ki=null;function Rx(e){Qm(e,0)}function As(e){var t=Xr(e);if(sm(t))return e}function Dx(e,t){if(e==="change")return t}var Fm=!1;if(dn){var Pl;if(dn){var Nl="oninput"in document;if(!Nl){var If=document.createElement("div");If.setAttribute("oninput","return;"),Nl=typeof If.oninput=="function"}Pl=Nl}else Pl=!1;Fm=Pl&&(!document.documentMode||9<document.documentMode)}function Ff(){ui&&(ui.detachEvent("onpropertychange",zm),ki=ui=null)}function zm(e){if(e.propertyName==="value"&&As(ki)){var t=[];Im(t,ki,e,Lc(e)),ym(Rx,t)}}function Ox(e,t,n){e==="focusin"?(Ff(),ui=t,ki=n,ui.attachEvent("onpropertychange",zm)):e==="focusout"&&Ff()}function Ax(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return As(ki)}function Lx(e,t){if(e==="click")return As(t)}function Ix(e,t){if(e==="input"||e==="change")return As(t)}function Fx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Dt=typeof Object.is=="function"?Object.is:Fx;function Si(e,t){if(Dt(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(!cu.call(t,o)||!Dt(e[o],t[o]))return!1}return!0}function zf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $f(e,t){var n=zf(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=zf(n)}}function $m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wm(){for(var e=window,t=Ja();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ja(e.document)}return t}function Hc(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 zx(e){var t=Wm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$m(n.ownerDocument.documentElement,n)){if(r!==null&&Hc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=$f(n,i);var a=$f(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 $x=dn&&"documentMode"in document&&11>=document.documentMode,qr=null,_u=null,ci=null,ju=!1;function Wf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ju||qr==null||qr!==Ja(r)||(r=qr,"selectionStart"in r&&Hc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),ci&&Si(ci,r)||(ci=r,r=is(_u,"onSelect"),0<r.length&&(t=new Bc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=qr)))}function fa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Kr={animationend:fa("Animation","AnimationEnd"),animationiteration:fa("Animation","AnimationIteration"),animationstart:fa("Animation","AnimationStart"),transitionend:fa("Transition","TransitionEnd")},Tl={},Bm={};dn&&(Bm=document.createElement("div").style,"AnimationEvent"in window||(delete Kr.animationend.animation,delete Kr.animationiteration.animation,delete Kr.animationstart.animation),"TransitionEvent"in window||delete Kr.transitionend.transition);function Ls(e){if(Tl[e])return Tl[e];if(!Kr[e])return e;var t=Kr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Bm)return Tl[e]=t[n];return e}var Vm=Ls("animationend"),Um=Ls("animationiteration"),Hm=Ls("animationstart"),Ym=Ls("transitionend"),Gm=new Map,Bf="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 nr(e,t){Gm.set(e,t),Dr(t,[e])}for(var _l=0;_l<Bf.length;_l++){var jl=Bf[_l],Wx=jl.toLowerCase(),Bx=jl[0].toUpperCase()+jl.slice(1);nr(Wx,"on"+Bx)}nr(Vm,"onAnimationEnd");nr(Um,"onAnimationIteration");nr(Hm,"onAnimationStart");nr("dblclick","onDoubleClick");nr("focusin","onFocus");nr("focusout","onBlur");nr(Ym,"onTransitionEnd");So("onMouseEnter",["mouseout","mouseover"]);So("onMouseLeave",["mouseout","mouseover"]);So("onPointerEnter",["pointerout","pointerover"]);So("onPointerLeave",["pointerout","pointerover"]);Dr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Dr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Dr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Dr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Dr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Dr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ii="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(" "),Vx=new Set("cancel close invalid load scroll toggle".split(" ").concat(ii));function Vf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ww(r,t,void 0,e),e.currentTarget=null}function Qm(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 a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Vf(o,s,u),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Vf(o,s,u),i=l}}}if(es)throw e=Eu,es=!1,Eu=null,e}function ue(e,t){var n=t[Au];n===void 0&&(n=t[Au]=new Set);var r=e+"__bubble";n.has(r)||(qm(t,e,2,!1),n.add(r))}function Ml(e,t,n){var r=0;t&&(r|=4),qm(n,e,r,t)}var ha="_reactListening"+Math.random().toString(36).slice(2);function Ci(e){if(!e[ha]){e[ha]=!0,nm.forEach(function(n){n!=="selectionchange"&&(Vx.has(n)||Ml(n,!1,e),Ml(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ha]||(t[ha]=!0,Ml("selectionchange",!1,t))}}function qm(e,t,n,r){switch(Rm(t)){case 1:var o=rx;break;case 4:o=ox;break;default:o=$c}n=o.bind(null,t,n,e),o=void 0,!Cu||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 Rl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 37-38
37if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=hr(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}ym(function(){var u=i,c=Lc(n),f=[];e:{var p=Gm.get(e);if(p!==void 0){var h=Bc,b=e;switch(e){case"keypress":if(Oa(n)===0)break e;case"keydown":case"keyup":h=wx;break;case"focusin":b="focus",h=El;break;case"focusout":b="blur",h=El;break;case"beforeblur":case"afterblur":h=El;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":h=Mf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=sx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=kx;break;case Vm:case Um:case Hm:h=cx;break;case Ym:h=Cx;break;case"scroll":h=ix;break;case"wheel":h=Px;break;case"copy":case"cut":case"paste":h=fx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Df}var v=(t&4)!==0,x=!v&&e==="scroll",y=v?p!==null?p+"Capture":null:p;v=[];for(var m=u,w;m!==null;){w=m;var k=w.stateNode;if(w.tag===5&&k!==null&&(w=k,y!==null&&(k=yi(m,y),k!=null&&v.push(Ei(m,k,w)))),x)break;m=m.return}0<v.length&&(p=new h(p,b,null,n,c),f.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==ku&&(b=n.relatedTarget||n.fromElement)&&(hr(b)||b[fn]))break e;if((h||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,h?(b=n.relatedTarget||n.toElement,h=u,b=b?hr(b):null,b!==null&&(x=Or(b),b!==x||b.tag!==5&&b.tag!==6)&&(b=null)):(h=null,b=u),h!==b)){if(v=Mf,k="onMouseLeave",y="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=Df,k="onPointerLeave",y="onPointerEnter",m="pointer"),x=h==null?p:Xr(h),w=b==null?p:Xr(b),p=new v(k,m+"leave",h,n,c),p.target=x,p.relatedTarget=w,k=null,hr(c)===u&&(v=new v(y,m+"enter",b,n,c),v.target=w,v.relatedTarget=x,k=v),x=k,h&&b)t:{for(v=h,y=b,m=0,w=v;w;w=Wr(w))m++;for(w=0,k=y;k;k=Wr(k))w++;for(;0<m-w;)v=Wr(v),m--;for(;0<w-m;)y=Wr(y),w--;for(;m--;){if(v===y||y!==null&&v===y.alternate)break t;v=Wr(v),y=Wr(y)}v=null}else v=null;h!==null&&Uf(f,p,h,v,!1),b!==null&&x!==null&&Uf(f,x,b,v,!0)}}e:{if(p=u?Xr(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=Dx;else if(Lf(p))if(Fm)S=Ix;else{S=Ax;var E=Ox}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=Lx);if(S&&(S=S(e,u))){Im(f,S,n,c);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&gu(p,"number",p.value)}switch(E=u?Xr(u):window,e){case"focusin":(Lf(E)||E.contentEditable==="true")&&(qr=E,_u=u,ci=null);break;case"focusout":ci=_u=qr=null;break;case"mousedown":ju=!0;break;case"contextmenu":case"mouseup":case"dragend":ju=!1,Wf(f,n,c);break;case"selectionchange":if($x)break;case"keydown":case"keyup":Wf(f,n,c)}var P;if(Uc)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Qr?Am(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Om&&n.locale!=="ko"&&(Qr||_!=="onCompositionStart"?_==="onCompositionEnd"&&Qr&&(P=Dm()):($n=c,Wc="value"in $n?$n.value:$n.textContent,Qr=!0)),E=is(u,_),0<E.length&&(_=new Rf(_,e,null,n,c),f.push({event:_,listeners:E}),P?_.data=P:(P=Lm(n),P!==null&&(_.data=P)))),(P=Tx?_x(e,n):jx(e,n))&&(u=is(u,"onBeforeInput"),0<u.length&&(c=new Rf("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=P))}Qm(f,t)})}function Ei(e,t,n){return{instance:e,listener:t,currentTarget:n}}function is(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=yi(e,n),i!=null&&r.unshift(Ei(e,i,o)),i=yi(e,t),i!=null&&r.push(Ei(e,i,o))),e=e.return}return r}function Wr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Uf(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,o?(l=yi(n,i),l!=null&&a.unshift(Ei(n,l,s))):o||(l=yi(n,i),l!=null&&a.push(Ei(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Ux=/\r\n?/g,Hx=/\u0000|\uFFFD/g;function Hf(e){return(typeof e=="string"?e:""+e).replace(Ux,`
38`).replace(Hx,"")}
vendor: 4,180 bytes, line 38
38function pa(e,t,n){if(t=Hf(t),Hf(e)!==t&&n)throw Error(j(425))}function as(){}var Mu=null,Ru=null;function Du(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 Ou=typeof setTimeout=="function"?setTimeout:void 0,Yx=typeof clearTimeout=="function"?clearTimeout:void 0,Yf=typeof Promise=="function"?Promise:void 0,Gx=typeof queueMicrotask=="function"?queueMicrotask:typeof Yf<"u"?function(e){return Yf.resolve(null).then(e).catch(Qx)}:Ou;function Qx(e){setTimeout(function(){throw e})}function Dl(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),bi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);bi(t)}function Yn(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 Gf(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 Io=Math.random().toString(36).slice(2),Ut="__reactFiber$"+Io,Pi="__reactProps$"+Io,fn="__reactContainer$"+Io,Au="__reactEvents$"+Io,qx="__reactListeners$"+Io,Kx="__reactHandles$"+Io;function hr(e){var t=e[Ut];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Ut]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Gf(e);e!==null;){if(n=e[Ut])return n;e=Gf(e)}return t}e=n,n=e.parentNode}return null}function Vi(e){return e=e[Ut]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Xr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Is(e){return e[Pi]||null}var Lu=[],Jr=-1;function rr(e){return{current:e}}function ce(e){0>Jr||(e.current=Lu[Jr],Lu[Jr]=null,Jr--)}function ae(e,t){Jr++,Lu[Jr]=e.current,e.current=t}var Jn={},ze=rr(Jn),Ke=rr(!1),Cr=Jn;function Co(e,t){var n=e.type.contextTypes;if(!n)return Jn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Xe(e){return e=e.childContextTypes,e!=null}function ss(){ce(Ke),ce(ze)}function Qf(e,t,n){if(ze.current!==Jn)throw Error(j(168));ae(ze,t),ae(Ke,n)}function Km(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(j(108,Ow(e)||"Unknown",o));return me({},n,r)}function ls(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jn,Cr=ze.current,ae(ze,e),ae(Ke,Ke.current),!0}function qf(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Km(e,t,Cr),r.__reactInternalMemoizedMergedChildContext=e,ce(Ke),ce(ze),ae(ze,e)):ce(Ke),ae(Ke,n)}var an=null,Fs=!1,Ol=!1;function Xm(e){an===null?an=[e]:an.push(e)}function Xx(e){Fs=!0,Xm(e)}function or(){if(!Ol&&an!==null){Ol=!0;var e=0,t=oe;try{var n=an;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}an=null,Fs=!1}catch(o){throw an!==null&&(an=an.slice(e+1)),km(Ic,or),o}finally{oe=t,Ol=!1}}return null}var Zr=[],eo=0,us=null,cs=0,ft=[],ht=0,Er=null,ln=1,un="";function cr(e,t){Zr[eo++]=cs,Zr[eo++]=us,us=e,cs=t}function Jm(e,t,n){ft[ht++]=ln,ft[ht++]=un,ft[ht++]=Er,Er=e;var r=ln;e=un;var o=32-Mt(r)-1;r&=~(1<<o),n+=1;var i=32-Mt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,ln=1<<32-Mt(t)+o|n<<o|r,un=i+e}else ln=1<<i|n<<o|r,un=e}function Yc(e){e.return!==null&&(cr(e,1),Jm(e,1,0))}function Gc(e){for(;e===us;)us=Zr[--eo],Zr[eo]=null,cs=Zr[--eo],Zr[eo]=null;for(;e===Er;)Er=ft[--ht],ft[ht]=null,un=ft[--ht],ft[ht]=null,ln=ft[--ht],ft[ht]=null}var ot=null,rt=null,fe=!1,_t=null;function Zm(e,t){var n=pt(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 Kf(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 24,604 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,rt=Yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Er!==null?{id:ln,overflow:un}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,rt=null,!0):!1;default:return!1}}function Iu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Fu(e){if(fe){var t=rt;if(t){var n=t;if(!Kf(e,t)){if(Iu(e))throw Error(j(418));t=Yn(n.nextSibling);var r=ot;t&&Kf(e,t)?Zm(r,n):(e.flags=e.flags&-4097|2,fe=!1,ot=e)}}else{if(Iu(e))throw Error(j(418));e.flags=e.flags&-4097|2,fe=!1,ot=e}}}function Xf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function ma(e){if(e!==ot)return!1;if(!fe)return Xf(e),fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Du(e.type,e.memoizedProps)),t&&(t=rt)){if(Iu(e))throw ev(),Error(j(418));for(;t;)Zm(e,t),t=Yn(t.nextSibling)}if(Xf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rt=Yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rt=null}}else rt=ot?Yn(e.stateNode.nextSibling):null;return!0}function ev(){for(var e=rt;e;)e=Yn(e.nextSibling)}function Eo(){rt=ot=null,fe=!1}function Qc(e){_t===null?_t=[e]:_t.push(e)}var Jx=yn.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(j(309));var r=n.stateNode}if(!r)throw Error(j(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(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function va(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Jf(e){var t=e._init;return t(e._payload)}function tv(e){function t(y,m){if(e){var w=y.deletions;w===null?(y.deletions=[m],y.flags|=16):w.push(m)}}function n(y,m){if(!e)return null;for(;m!==null;)t(y,m),m=m.sibling;return null}function r(y,m){for(y=new Map;m!==null;)m.key!==null?y.set(m.key,m):y.set(m.index,m),m=m.sibling;return y}function o(y,m){return y=Kn(y,m),y.index=0,y.sibling=null,y}function i(y,m,w){return y.index=w,e?(w=y.alternate,w!==null?(w=w.index,w<m?(y.flags|=2,m):w):(y.flags|=2,m)):(y.flags|=1048576,m)}function a(y){return e&&y.alternate===null&&(y.flags|=2),y}function s(y,m,w,k){return m===null||m.tag!==6?(m=Wl(w,y.mode,k),m.return=y,m):(m=o(m,w),m.return=y,m)}function l(y,m,w,k){var S=w.type;return S===Gr?c(y,m,w.props.children,k,w.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Mn&&Jf(S)===m.type)?(k=o(m,w.props),k.ref=qo(y,m,w),k.return=y,k):(k=Wa(w.type,w.key,w.props,null,y.mode,k),k.ref=qo(y,m,w),k.return=y,k)}function u(y,m,w,k){return m===null||m.tag!==4||m.stateNode.containerInfo!==w.containerInfo||m.stateNode.implementation!==w.implementation?(m=Bl(w,y.mode,k),m.return=y,m):(m=o(m,w.children||[]),m.return=y,m)}function c(y,m,w,k,S){return m===null||m.tag!==7?(m=Sr(w,y.mode,k,S),m.return=y,m):(m=o(m,w),m.return=y,m)}function f(y,m,w){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Wl(""+m,y.mode,w),m.return=y,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ia:return w=Wa(m.type,m.key,m.props,null,y.mode,w),w.ref=qo(y,null,m),w.return=y,w;case Yr:return m=Bl(m,y.mode,w),m.return=y,m;case Mn:var k=m._init;return f(y,k(m._payload),w)}if(ri(m)||Uo(m))return m=Sr(m,y.mode,w,null),m.return=y,m;va(y,m)}return null}function p(y,m,w,k){var S=m!==null?m.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return S!==null?null:s(y,m,""+w,k);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ia:return w.key===S?l(y,m,w,k):null;case Yr:return w.key===S?u(y,m,w,k):null;case Mn:return S=w._init,p(y,m,S(w._payload),k)}if(ri(w)||Uo(w))return S!==null?null:c(y,m,w,k,null);va(y,w)}return null}function h(y,m,w,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return y=y.get(w)||null,s(m,y,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ia:return y=y.get(k.key===null?w:k.key)||null,l(m,y,k,S);case Yr:return y=y.get(k.key===null?w:k.key)||null,u(m,y,k,S);case Mn:var E=k._init;return h(y,m,w,E(k._payload),S)}if(ri(k)||Uo(k))return y=y.get(w)||null,c(m,y,k,S,null);va(m,k)}return null}function b(y,m,w,k){for(var S=null,E=null,P=m,_=m=0,O=null;P!==null&&_<w.length;_++){P.index>_?(O=P,P=null):O=P.sibling;var D=p(y,P,w[_],k);if(D===null){P===null&&(P=O);break}e&&P&&D.alternate===null&&t(y,P),m=i(D,m,_),E===null?S=D:E.sibling=D,E=D,P=O}if(_===w.length)return n(y,P),fe&&cr(y,_),S;if(P===null){for(;_<w.length;_++)P=f(y,w[_],k),P!==null&&(m=i(P,m,_),E===null?S=P:E.sibling=P,E=P);return fe&&cr(y,_),S}for(P=r(y,P);_<w.length;_++)O=h(P,y,_,w[_],k),O!==null&&(e&&O.alternate!==null&&P.delete(O.key===null?_:O.key),m=i(O,m,_),E===null?S=O:E.sibling=O,E=O);return e&&P.forEach(function($){return t(y,$)}),fe&&cr(y,_),S}function v(y,m,w,k){var S=Uo(w);if(typeof S!="function")throw Error(j(150));if(w=S.call(w),w==null)throw Error(j(151));for(var E=S=null,P=m,_=m=0,O=null,D=w.next();P!==null&&!D.done;_++,D=w.next()){P.index>_?(O=P,P=null):O=P.sibling;var $=p(y,P,D.value,k);if($===null){P===null&&(P=O);break}e&&P&&$.alternate===null&&t(y,P),m=i($,m,_),E===null?S=$:E.sibling=$,E=$,P=O}if(D.done)return n(y,P),fe&&cr(y,_),S;if(P===null){for(;!D.done;_++,D=w.next())D=f(y,D.value,k),D!==null&&(m=i(D,m,_),E===null?S=D:E.sibling=D,E=D);return fe&&cr(y,_),S}for(P=r(y,P);!D.done;_++,D=w.next())D=h(P,y,_,D.value,k),D!==null&&(e&&D.alternate!==null&&P.delete(D.key===null?_:D.key),m=i(D,m,_),E===null?S=D:E.sibling=D,E=D);return e&&P.forEach(function(I){return t(y,I)}),fe&&cr(y,_),S}function x(y,m,w,k){if(typeof w=="object"&&w!==null&&w.type===Gr&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case ia:e:{for(var S=w.key,E=m;E!==null;){if(E.key===S){if(S=w.type,S===Gr){if(E.tag===7){n(y,E.sibling),m=o(E,w.props.children),m.return=y,y=m;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Mn&&Jf(S)===E.type){n(y,E.sibling),m=o(E,w.props),m.ref=qo(y,E,w),m.return=y,y=m;break e}n(y,E);break}else t(y,E);E=E.sibling}w.type===Gr?(m=Sr(w.props.children,y.mode,k,w.key),m.return=y,y=m):(k=Wa(w.type,w.key,w.props,null,y.mode,k),k.ref=qo(y,m,w),k.return=y,y=k)}return a(y);case Yr:e:{for(E=w.key;m!==null;){if(m.key===E)if(m.tag===4&&m.stateNode.containerInfo===w.containerInfo&&m.stateNode.implementation===w.implementation){n(y,m.sibling),m=o(m,w.children||[]),m.return=y,y=m;break e}else{n(y,m);break}else t(y,m);m=m.sibling}m=Bl(w,y.mode,k),m.return=y,y=m}return a(y);case Mn:return E=w._init,x(y,m,E(w._payload),k)}if(ri(w))return b(y,m,w,k);if(Uo(w))return v(y,m,w,k);va(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,m!==null&&m.tag===6?(n(y,m.sibling),m=o(m,w),m.return=y,y=m):(n(y,m),m=Wl(w,y.mode,k),m.return=y,y=m),a(y)):n(y,m)}return x}var Po=tv(!0),nv=tv(!1),ds=rr(null),fs=null,to=null,qc=null;function Kc(){qc=to=fs=null}function Xc(e){var t=ds.current;ce(ds),e._currentValue=t}function zu(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 lo(e,t){fs=e,qc=to=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function vt(e){var t=e._currentValue;if(qc!==e)if(e={context:e,memoizedValue:t,next:null},to===null){if(fs===null)throw Error(j(308));to=e,fs.dependencies={lanes:0,firstContext:e}}else to=to.next=e;return t}var pr=null;function Jc(e){pr===null?pr=[e]:pr.push(e)}function rv(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Jc(t)):(n.next=o.next,o.next=n),t.interleaved=n,hn(e,r)}function hn(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 Rn=!1;function Zc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ov(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 cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,hn(e,n)}return o=r.interleaved,o===null?(t.next=t,Jc(r)):(t.next=o.next,o.next=t),r.interleaved=t,hn(e,n)}function Aa(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,Fc(e,n)}}function Zf(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 a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,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 hs(e,t,n,r){var o=e.updateQueue;Rn=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;a=0,c=u=l=null,s=i;do{var p=s.lane,h=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var b=e,v=s;switch(p=t,h=n,v.tag){case 1:if(b=v.payload,typeof b=="function"){f=b.call(h,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=v.payload,p=typeof b=="function"?b.call(h,f,p):b,p==null)break e;f=me({},f,p);break e;case 2:Rn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=f):c=c.next=h,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Nr|=a,e.lanes=a,e.memoizedState=f}}function eh(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(j(191,o));o.call(r)}}}var Ui={},qt=rr(Ui),Ni=rr(Ui),Ti=rr(Ui);function mr(e){if(e===Ui)throw Error(j(174));return e}function ed(e,t){switch(ae(Ti,t),ae(Ni,e),ae(qt,Ui),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wu(t,e)}ce(qt),ae(qt,t)}function No(){ce(qt),ce(Ni),ce(Ti)}function iv(e){mr(Ti.current);var t=mr(qt.current),n=wu(t,e.type);t!==n&&(ae(Ni,e),ae(qt,n))}function td(e){Ni.current===e&&(ce(qt),ce(Ni))}var he=rr(0);function ps(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 Al=[];function nd(){for(var e=0;e<Al.length;e++)Al[e]._workInProgressVersionPrimary=null;Al.length=0}var La=yn.ReactCurrentDispatcher,Ll=yn.ReactCurrentBatchConfig,Pr=0,pe=null,Se=null,Ee=null,ms=!1,di=!1,_i=0,Zx=0;function Ae(){throw Error(j(321))}function rd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dt(e[n],t[n]))return!1;return!0}function od(e,t,n,r,o,i){if(Pr=i,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,La.current=e===null||e.memoizedState===null?r1:o1,e=n(r,o),di){i=0;do{if(di=!1,_i=0,25<=i)throw Error(j(301));i+=1,Ee=Se=null,t.updateQueue=null,La.current=i1,e=n(r,o)}while(di)}if(La.current=vs,t=Se!==null&&Se.next!==null,Pr=0,Ee=Se=pe=null,ms=!1,t)throw Error(j(300));return e}function id(){var e=_i!==0;return _i=0,e}function $t(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?pe.memoizedState=Ee=e:Ee=Ee.next=e,Ee}function gt(){if(Se===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=Ee===null?pe.memoizedState:Ee.next;if(t!==null)Ee=t,Se=e;else{if(e===null)throw Error(j(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Ee===null?pe.memoizedState=Ee=e:Ee=Ee.next=e}return Ee}function ji(e,t){return typeof t=="function"?t(e):t}function Il(e){var t=gt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Se,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,u=i;do{var c=u.lane;if((Pr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=f,a=r):l=l.next=f,pe.lanes|=c,Nr|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,Dt(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,pe.lanes|=i,Nr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Fl(e){var t=gt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Dt(i,t.memoizedState)||(qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function av(){}function sv(e,t){var n=pe,r=gt(),o=t(),i=!Dt(r.memoizedState,o);if(i&&(r.memoizedState=o,qe=!0),r=r.queue,ad(cv.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ee!==null&&Ee.memoizedState.tag&1){if(n.flags|=2048,Mi(9,uv.bind(null,n,r,o,t),void 0,null),Pe===null)throw Error(j(349));Pr&30||lv(n,t,o)}return o}function lv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function uv(e,t,n,r){t.value=n,t.getSnapshot=r,dv(t)&&fv(e)}function cv(e,t,n){return n(function(){dv(t)&&fv(e)})}function dv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dt(e,n)}catch{return!0}}function fv(e){var t=hn(e,1);t!==null&&Rt(t,e,1,-1)}function th(e){var t=$t();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ji,lastRenderedState:e},t.queue=e,e=e.dispatch=n1.bind(null,pe,e),[t.memoizedState,e]}function Mi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.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 hv(){return gt().memoizedState}function Ia(e,t,n,r){var o=$t();pe.flags|=e,o.memoizedState=Mi(1|t,n,void 0,r===void 0?null:r)}function zs(e,t,n,r){var o=gt();r=r===void 0?null:r;var i=void 0;if(Se!==null){var a=Se.memoizedState;if(i=a.destroy,r!==null&&rd(r,a.deps)){o.memoizedState=Mi(t,n,i,r);return}}pe.flags|=e,o.memoizedState=Mi(1|t,n,i,r)}function nh(e,t){return Ia(8390656,8,e,t)}function ad(e,t){return zs(2048,8,e,t)}function pv(e,t){return zs(4,2,e,t)}function mv(e,t){return zs(4,4,e,t)}function vv(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 gv(e,t,n){return n=n!=null?n.concat([e]):null,zs(4,4,vv.bind(null,t,e),n)}function sd(){}function yv(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&rd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wv(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&rd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function xv(e,t,n){return Pr&21?(Dt(n,t)||(n=Em(),pe.lanes|=n,Nr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function e1(e,t){var n=oe;oe=n!==0&&4>n?n:4,e(!0);var r=Ll.transition;Ll.transition={};try{e(!1),t()}finally{oe=n,Ll.transition=r}}function bv(){return gt().memoizedState}function t1(e,t,n){var r=qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kv(e))Sv(t,n);else if(n=rv(e,t,n,r),n!==null){var o=Ue();Rt(n,e,r,o),Cv(n,t,r)}}function n1(e,t,n){var r=qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kv(e))Sv(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Dt(s,a)){var l=t.interleaved;l===null?(o.next=o,Jc(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=rv(e,t,o,r),n!==null&&(o=Ue(),Rt(n,e,r,o),Cv(n,t,r))}}function kv(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Sv(e,t){di=ms=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Cv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Fc(e,n)}}var vs={readContext:vt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},r1={readContext:vt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:vt,useEffect:nh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ia(4194308,4,vv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ia(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ia(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=t1.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:th,useDebugValue:sd,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=th(!1),t=e[0];return e=e1.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=$t();if(fe){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Pe===null)throw Error(j(349));Pr&30||lv(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,nh(cv.bind(null,r,i,e),[e]),r.flags|=2048,Mi(9,uv.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=$t(),t=Pe.identifierPrefix;if(fe){var n=un,r=ln;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_i++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Zx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},o1={readContext:vt,useCallback:yv,useContext:vt,useEffect:ad,useImperativeHandle:gv,useInsertionEffect:pv,useLayoutEffect:mv,useMemo:wv,useReducer:Il,useRef:hv,useState:function(){return Il(ji)},useDebugValue:sd,useDeferredValue:function(e){var t=gt();return xv(t,Se.memoizedState,e)},useTransition:function(){var e=Il(ji)[0],t=gt().memoizedState;return[e,t]},useMutableSource:av,useSyncExternalStore:sv,useId:bv,unstable_isNewReconciler:!1},i1={readContext:vt,useCallback:yv,useContext:vt,useEffect:ad,useImperativeHandle:gv,useInsertionEffect:pv,useLayoutEffect:mv,useMemo:wv,useReducer:Fl,useRef:hv,useState:function(){return Fl(ji)},useDebugValue:sd,useDeferredValue:function(e){var t=gt();return Se===null?t.memoizedState=e:xv(t,Se.memoizedState,e)},useTransition:function(){var e=Fl(ji)[0],t=gt().memoizedState;return[e,t]},useMutableSource:av,useSyncExternalStore:sv,useId:bv,unstable_isNewReconciler:!1};function Ct(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function $u(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $s={isMounted:function(e){return(e=e._reactInternals)?Or(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ue(),o=qn(e),i=cn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Gn(e,i,o),t!==null&&(Rt(t,e,o,r),Aa(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ue(),o=qn(e),i=cn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Gn(e,i,o),t!==null&&(Rt(t,e,o,r),Aa(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ue(),r=qn(e),o=cn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Gn(e,o,r),t!==null&&(Rt(t,e,r,n),Aa(t,e,r))}};function rh(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Si(n,r)||!Si(o,i):!0}function Ev(e,t,n){var r=!1,o=Jn,i=t.contextType;return typeof i=="object"&&i!==null?i=vt(i):(o=Xe(t)?Cr:ze.current,r=t.contextTypes,i=(r=r!=null)?Co(e,o):Jn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$s,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function oh(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&&$s.enqueueReplaceState(t,t.state,null)}function Wu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Zc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=vt(i):(i=Xe(t)?Cr:ze.current,o.context=Co(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&($u(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&&$s.enqueueReplaceState(o,o.state,null),hs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function To(e,t){try{var n="",r=t;do n+=Dw(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 zl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Bu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var a1=typeof WeakMap=="function"?WeakMap:Map;function Pv(e,t,n){n=cn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ys||(ys=!0,Ju=r),Bu(e,t)},n}function Nv(e,t,n){n=cn(-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(){Bu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Bu(e,t),typeof r!="function"&&(Qn===null?Qn=new Set([this]):Qn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}
vendor: 12,391 bytes, line 40
40function ih(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new a1;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=x1.bind(null,e,t,n),t.then(e,e))}function ah(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 sh(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=cn(-1,1),t.tag=2,Gn(n,t,1))),n.lanes|=1),e)}var s1=yn.ReactCurrentOwner,qe=!1;function We(e,t,n,r){t.child=e===null?nv(t,null,n,r):Po(t,e.child,n,r)}function lh(e,t,n,r,o){n=n.render;var i=t.ref;return lo(t,o),r=od(e,t,n,r,i,o),n=id(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,pn(e,t,o)):(fe&&n&&Yc(t),t.flags|=1,We(e,t,r,o),t.child)}function uh(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!md(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Tv(e,t,i,r,o)):(e=Wa(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 a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Si,n(a,r)&&e.ref===t.ref)return pn(e,t,o)}return t.flags|=1,e=Kn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Tv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Si(i,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,pn(e,t,o)}return Vu(e,t,n,r,o)}function _v(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},ae(ro,tt),tt|=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,ae(ro,tt),tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ae(ro,tt),tt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ae(ro,tt),tt|=r;return We(e,t,o,n),t.child}function jv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vu(e,t,n,r,o){var i=Xe(n)?Cr:ze.current;return i=Co(t,i),lo(t,o),n=od(e,t,n,r,i,o),r=id(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,pn(e,t,o)):(fe&&r&&Yc(t),t.flags|=1,We(e,t,n,o),t.child)}function ch(e,t,n,r,o){if(Xe(n)){var i=!0;ls(t)}else i=!1;if(lo(t,o),t.stateNode===null)Fa(e,t),Ev(t,n,r),Wu(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=vt(u):(u=Xe(n)?Cr:ze.current,u=Co(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&oh(t,a,r,u),Rn=!1;var p=t.memoizedState;a.state=p,hs(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Ke.current||Rn?(typeof c=="function"&&($u(t,n,c,r),l=t.memoizedState),(s=Rn||rh(t,n,s,r,p,l,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ov(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ct(t.type,s),a.props=u,f=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=vt(l):(l=Xe(n)?Cr:ze.current,l=Co(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||p!==l)&&oh(t,a,r,l),Rn=!1,p=t.memoizedState,a.state=p,hs(t,r,a,o);var b=t.memoizedState;s!==f||p!==b||Ke.current||Rn?(typeof h=="function"&&($u(t,n,h,r),b=t.memoizedState),(u=Rn||rh(t,n,u,r,p,b,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,b,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,b,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),a.props=r,a.state=b,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Uu(e,t,n,r,i,o)}function Uu(e,t,n,r,o,i){jv(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&qf(t,n,!1),pn(e,t,i);r=t.stateNode,s1.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Po(t,e.child,null,i),t.child=Po(t,null,s,i)):We(e,t,s,i),t.memoizedState=r.state,o&&qf(t,n,!0),t.child}function Mv(e){var t=e.stateNode;t.pendingContext?Qf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Qf(e,t.context,!1),ed(e,t.containerInfo)}function dh(e,t,n,r,o){return Eo(),Qc(o),t.flags|=256,We(e,t,n,r),t.child}var Hu={dehydrated:null,treeContext:null,retryLane:0};function Yu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rv(e,t,n){var r=t.pendingProps,o=he.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ae(he,o&1),e===null)return Fu(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):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=Vs(a,r,0,null),e=Sr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Yu(n),t.memoizedState=Hu,e):ld(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return l1(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Kn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Kn(s,i):(i=Sr(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?Yu(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Hu,r}return i=e.child,e=i.sibling,r=Kn(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 ld(e,t){return t=Vs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ga(e,t,n,r){return r!==null&&Qc(r),Po(t,e.child,null,n),e=ld(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function l1(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=zl(Error(j(422))),ga(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Vs({mode:"visible",children:r.children},o,0,null),i=Sr(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Po(t,e.child,null,a),t.child.memoizedState=Yu(a),t.memoizedState=Hu,i);if(!(t.mode&1))return ga(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(j(419)),r=zl(i,r,void 0),ga(e,t,a,r)}if(s=(a&e.childLanes)!==0,qe||s){if(r=Pe,r!==null){switch(a&-a){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|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,hn(e,o),Rt(r,e,o,-1))}return pd(),r=zl(Error(j(421))),ga(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=b1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,rt=Yn(o.nextSibling),ot=t,fe=!0,_t=null,e!==null&&(ft[ht++]=ln,ft[ht++]=un,ft[ht++]=Er,ln=e.id,un=e.overflow,Er=t),t=ld(t,r.children),t.flags|=4096,t)}function fh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),zu(e.return,t,n)}function $l(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 Dv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(We(e,t,r.children,n),r=he.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&&fh(e,n,t);else if(e.tag===19)fh(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(ae(he,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&&ps(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),$l(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&&ps(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}$l(t,!0,n,null,i);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Kn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Kn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function u1(e,t,n){switch(t.tag){case 3:Mv(t),Eo();break;case 5:iv(t);break;case 1:Xe(t.type)&&ls(t);break;case 4:ed(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ae(ds,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ae(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?Rv(e,t,n):(ae(he,he.current&1),e=pn(e,t,n),e!==null?e.sibling:null);ae(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Dv(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ae(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,_v(e,t,n)}return pn(e,t,n)}var Ov,Gu,Av,Lv;Ov=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}};Gu=function(){};Av=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,mr(qt.current);var i=null;switch(n){case"input":o=mu(e,o),r=mu(e,r),i=[];break;case"select":o=me({},o,{value:void 0}),r=me({},r,{value:void 0}),i=[];break;case"textarea":o=yu(e,o),r=yu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=as)}xu(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(vi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];
vendor: 5,266 bytes, line 40
40if(s=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(vi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ue("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Lv=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ko(e,t){if(!fe)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 Le(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 c1(e,t,n){var r=t.pendingProps;switch(Gc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Xe(t.type)&&ss(),Le(t),null;case 3:return r=t.stateNode,No(),ce(Ke),ce(ze),nd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ma(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,_t!==null&&(tc(_t),_t=null))),Gu(e,t),Le(t),null;case 5:td(t);var o=mr(Ti.current);if(n=t.type,e!==null&&t.stateNode!=null)Av(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return Le(t),null}if(e=mr(qt.current),ma(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ut]=t,r[Pi]=i,e=(t.mode&1)!==0,n){case"dialog":ue("cancel",r),ue("close",r);break;case"iframe":case"object":case"embed":ue("load",r);break;case"video":case"audio":for(o=0;o<ii.length;o++)ue(ii[o],r);break;case"source":ue("error",r);break;case"img":case"image":case"link":ue("error",r),ue("load",r);break;case"details":ue("toggle",r);break;case"input":bf(r,i),ue("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ue("invalid",r);break;case"textarea":Sf(r,i),ue("invalid",r)}xu(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&pa(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&pa(r.textContent,s,e),o=["children",""+s]):vi.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&ue("scroll",r)}switch(n){case"input":aa(r),kf(r,i,!0);break;case"textarea":aa(r),Cf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=as)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ut]=t,e[Pi]=r,Ov(e,t,!1,!1),t.stateNode=e;e:{switch(a=bu(n,r),n){case"dialog":ue("cancel",e),ue("close",e),o=r;break;case"iframe":case"object":case"embed":ue("load",e),o=r;break;case"video":case"audio":for(o=0;o<ii.length;o++)ue(ii[o],e);o=r;break;case"source":ue("error",e),o=r;break;case"img":case"image":case"link":ue("error",e),ue("load",e),o=r;break;case"details":ue("toggle",e),o=r;break;case"input":bf(e,r),o=mu(e,r),ue("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=me({},r,{value:void 0}),ue("invalid",e);break;case"textarea":Sf(e,r),o=yu(e,r),ue("invalid",e);break;default:o=r}xu(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?hm(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&dm(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&gi(e,l):typeof l=="number"&&gi(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(vi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ue("scroll",e):l!=null&&Rc(e,i,l,a))}switch(n){case"input":aa(e),kf(e,r,!1);break;case"textarea":aa(e),Cf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?oo(e,!!r.multiple,i,!1):r.defaultValue!=null&&oo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=as)}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)}
vendor: 26,363 bytes, line 40
40return Le(t),null;case 6:if(e&&t.stateNode!=null)Lv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=mr(Ti.current),mr(qt.current),ma(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ut]=t,(i=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:pa(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&pa(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ut]=t,t.stateNode=r}return Le(t),null;case 13:if(ce(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(fe&&rt!==null&&t.mode&1&&!(t.flags&128))ev(),Eo(),t.flags|=98560,i=!1;else if(i=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Ut]=t}else Eo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Le(t),i=!1}else _t!==null&&(tc(_t),_t=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||he.current&1?Ce===0&&(Ce=3):pd())),t.updateQueue!==null&&(t.flags|=4),Le(t),null);case 4:return No(),Gu(e,t),e===null&&Ci(t.stateNode.containerInfo),Le(t),null;case 10:return Xc(t.type._context),Le(t),null;case 17:return Xe(t.type)&&ss(),Le(t),null;case 19:if(ce(he),i=t.memoizedState,i===null)return Le(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Ko(i,!1);else{if(Ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ps(e),a!==null){for(t.flags|=128,Ko(i,!1),r=a.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,a=i.alternate,a===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=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ae(he,he.current&1|2),t.child}e=e.sibling}i.tail!==null&&we()>_o&&(t.flags|=128,r=!0,Ko(i,!1),t.lanes=4194304)}else{if(!r)if(e=ps(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ko(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!fe)return Le(t),null}else 2*we()-i.renderingStartTime>_o&&n!==1073741824&&(t.flags|=128,r=!0,Ko(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=we(),t.sibling=null,n=he.current,ae(he,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return hd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tt&1073741824&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function d1(e,t){switch(Gc(t),t.tag){case 1:return Xe(t.type)&&ss(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return No(),ce(Ke),ce(ze),nd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return td(t),null;case 13:if(ce(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(he),null;case 4:return No(),null;case 10:return Xc(t.type._context),null;case 22:case 23:return hd(),null;case 24:return null;default:return null}}var ya=!1,Fe=!1,f1=typeof WeakSet=="function"?WeakSet:Set,F=null;function no(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Qu(e,t,n){try{n()}catch(r){ye(e,t,r)}}var hh=!1;function h1(e,t){if(Mu=rs,e=Wm(),Hc(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 a=0,s=-1,l=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ru={focusedElem:e,selectionRange:n},rs=!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 b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var v=b.memoizedProps,x=b.memoizedState,y=t.stateNode,m=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ct(t.type,v),x);y.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(k){ye(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return b=hh,hh=!1,b}function fi(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&&Qu(t,n,i)}o=o.next}while(o!==r)}}function Ws(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function qu(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 Iv(e){var t=e.alternate;t!==null&&(e.alternate=null,Iv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ut],delete t[Pi],delete t[Au],delete t[qx],delete t[Kx])),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 Fv(e){return e.tag===5||e.tag===3||e.tag===4}function ph(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fv(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 Ku(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=as));else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}function Xu(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(Xu(e,t,n),e=e.sibling;e!==null;)Xu(e,t,n),e=e.sibling}var Ne=null,Tt=!1;function En(e,t,n){for(n=n.child;n!==null;)zv(e,t,n),n=n.sibling}function zv(e,t,n){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(Ds,n)}catch{}switch(n.tag){case 5:Fe||no(n,t);case 6:var r=Ne,o=Tt;Ne=null,En(e,t,n),Ne=r,Tt=o,Ne!==null&&(Tt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(Tt?(e=Ne,n=n.stateNode,e.nodeType===8?Dl(e.parentNode,n):e.nodeType===1&&Dl(e,n),bi(e)):Dl(Ne,n.stateNode));break;case 4:r=Ne,o=Tt,Ne=n.stateNode.containerInfo,Tt=!0,En(e,t,n),Ne=r,Tt=o;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Qu(n,t,a),o=o.next}while(o!==r)}En(e,t,n);break;case 1:if(!Fe&&(no(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ye(n,t,s)}En(e,t,n);break;case 21:En(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,En(e,t,n),Fe=r):En(e,t,n);break;default:En(e,t,n)}}function mh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new f1),t.forEach(function(r){var o=k1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function kt(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,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Ne=s.stateNode,Tt=!1;break e;case 3:Ne=s.stateNode.containerInfo,Tt=!0;break e;case 4:Ne=s.stateNode.containerInfo,Tt=!0;break e}s=s.return}if(Ne===null)throw Error(j(160));zv(i,a,o),Ne=null,Tt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)$v(t,e),t=t.sibling}function $v(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kt(t,e),zt(e),r&4){try{fi(3,e,e.return),Ws(3,e)}catch(v){ye(e,e.return,v)}try{fi(5,e,e.return)}catch(v){ye(e,e.return,v)}}break;case 1:kt(t,e),zt(e),r&512&&n!==null&&no(n,n.return);break;case 5:if(kt(t,e),zt(e),r&512&&n!==null&&no(n,n.return),e.flags&32){var o=e.stateNode;try{gi(o,"")}catch(v){ye(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&lm(o,i),bu(s,a);var u=bu(s,i);for(a=0;a<l.length;a+=2){var c=l[a],f=l[a+1];c==="style"?hm(o,f):c==="dangerouslySetInnerHTML"?dm(o,f):c==="children"?gi(o,f):Rc(o,c,f,u)}switch(s){case"input":vu(o,i);break;case"textarea":um(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?oo(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?oo(o,!!i.multiple,i.defaultValue,!0):oo(o,!!i.multiple,i.multiple?[]:"",!1))}o[Pi]=i}catch(v){ye(e,e.return,v)}}break;case 6:if(kt(t,e),zt(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){ye(e,e.return,v)}}break;case 3:if(kt(t,e),zt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{bi(t.containerInfo)}catch(v){ye(e,e.return,v)}break;case 4:kt(t,e),zt(e);break;case 13:kt(t,e),zt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(dd=we())),r&4&&mh(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(u=Fe)||c,kt(t,e),Fe=u):kt(t,e),zt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(f=F=c;F!==null;){switch(p=F,h=p.child,p.tag){case 0:case 11:case 14:case 15:fi(4,p,p.return);break;case 1:no(p,p.return);var b=p.stateNode;if(typeof b.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(v){ye(r,n,v)}}break;case 5:no(p,p.return);break;case 22:if(p.memoizedState!==null){gh(f);continue}}h!==null?(h.return=p,F=h):gh(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=f.stateNode,l=f.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=fm("display",a))}catch(v){ye(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ye(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:kt(t,e),zt(e),r&4&&mh(e);break;case 21:break;default:kt(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Fv(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(gi(o,""),r.flags&=-33);var i=ph(e);Xu(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=ph(e);Ku(e,s,a);break;default:throw Error(j(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function p1(e,t,n){F=e,Wv(e)}function Wv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||ya;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||Fe;s=ya;var u=Fe;if(ya=a,(Fe=l)&&!u)for(F=o;F!==null;)a=F,l=a.child,a.tag===22&&a.memoizedState!==null?yh(o):l!==null?(l.return=a,F=l):yh(o);for(;i!==null;)F=i,Wv(i),i=i.sibling;F=o,ya=s,Fe=u}vh(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):vh(e)}}function vh(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:Fe||Ws(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ct(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&eh(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}eh(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&bi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}Fe||t.flags&512&&qu(t)}catch(p){ye(t,t.return,p)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function gh(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 yh(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ws(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ye(t,o,l)}}var i=t.return;try{qu(t)}catch(l){ye(t,i,l)}break;case 5:var a=t.return;try{qu(t)}catch(l){ye(t,a,l)}}}catch(l){ye(t,t.return,l)}if(t===e){F=null;break}var s=t.sibling;if(s!==null){s.return=t.return,F=s;break}F=t.return}}var m1=Math.ceil,gs=yn.ReactCurrentDispatcher,ud=yn.ReactCurrentOwner,mt=yn.ReactCurrentBatchConfig,Z=0,Pe=null,ke=null,_e=0,tt=0,ro=rr(0),Ce=0,Ri=null,Nr=0,Bs=0,cd=0,hi=null,Qe=null,dd=0,_o=1/0,on=null,ys=!1,Ju=null,Qn=null,wa=!1,Wn=null,ws=0,pi=0,Zu=null,za=-1,$a=0;function Ue(){return Z&6?we():za!==-1?za:za=we()}function qn(e){return e.mode&1?Z&2&&_e!==0?_e&-_e:Jx.transition!==null?($a===0&&($a=Em()),$a):(e=oe,e!==0||(e=window.event,e=e===void 0?16:Rm(e.type)),e):1}function Rt(e,t,n,r){if(50<pi)throw pi=0,Zu=null,Error(j(185));Wi(e,n,r),(!(Z&2)||e!==Pe)&&(e===Pe&&(!(Z&2)&&(Bs|=n),Ce===4&&On(e,_e)),Je(e,r),n===1&&Z===0&&!(t.mode&1)&&(_o=we()+500,Fs&&or()))}function Je(e,t){var n=e.callbackNode;Jw(e,t);var r=ns(e,e===Pe?_e:0);if(r===0)n!==null&&Nf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Nf(n),t===1)e.tag===0?Xx(wh.bind(null,e)):Xm(wh.bind(null,e)),Gx(function(){!(Z&6)&&or()}),n=null;else{switch(Pm(r)){case 1:n=Ic;break;case 4:n=Sm;break;case 16:n=ts;break;case 536870912:n=Cm;break;default:n=ts}n=qv(n,Bv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Bv(e,t){if(za=-1,$a=0,Z&6)throw Error(j(327));var n=e.callbackNode;if(uo()&&e.callbackNode!==n)return null;var r=ns(e,e===Pe?_e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=xs(e,r);else{t=r;var o=Z;Z|=2;var i=Uv();(Pe!==e||_e!==t)&&(on=null,_o=we()+500,kr(e,t));do try{y1();break}catch(s){Vv(e,s)}while(!0);Kc(),gs.current=i,Z=o,ke!==null?t=0:(Pe=null,_e=0,t=Ce)}if(t!==0){if(t===2&&(o=Pu(e),o!==0&&(r=o,t=ec(e,o))),t===1)throw n=Ri,kr(e,0),On(e,r),Je(e,we()),n;if(t===6)On(e,r);else{if(o=e.current.alternate,!(r&30)&&!v1(o)&&(t=xs(e,r),t===2&&(i=Pu(e),i!==0&&(r=i,t=ec(e,i))),t===1))throw n=Ri,kr(e,0),On(e,r),Je(e,we()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:dr(e,Qe,on);break;case 3:if(On(e,r),(r&130023424)===r&&(t=dd+500-we(),10<t)){if(ns(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ue(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ou(dr.bind(null,e,Qe,on),t);break}dr(e,Qe,on);break;case 4:if(On(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Mt(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*m1(r/1960))-r,10<r){e.timeoutHandle=Ou(dr.bind(null,e,Qe,on),r);break}dr(e,Qe,on);break;case 5:dr(e,Qe,on);break;default:throw Error(j(329))}}}return Je(e,we()),e.callbackNode===n?Bv.bind(null,e):null}function ec(e,t){var n=hi;return e.current.memoizedState.isDehydrated&&(kr(e,t).flags|=256),e=xs(e,t),e!==2&&(t=Qe,Qe=n,t!==null&&tc(t)),e}function tc(e){Qe===null?Qe=e:Qe.push.apply(Qe,e)}function v1(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(!Dt(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 On(e,t){for(t&=~cd,t&=~Bs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Mt(t),r=1<<n;e[n]=-1,t&=~r}}function wh(e){if(Z&6)throw Error(j(327));uo();var t=ns(e,0);if(!(t&1))return Je(e,we()),null;var n=xs(e,t);if(e.tag!==0&&n===2){var r=Pu(e);r!==0&&(t=r,n=ec(e,r))}if(n===1)throw n=Ri,kr(e,0),On(e,t),Je(e,we()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,dr(e,Qe,on),Je(e,we()),null}function fd(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(_o=we()+500,Fs&&or())}}function Tr(e){Wn!==null&&Wn.tag===0&&!(Z&6)&&uo();var t=Z;Z|=1;var n=mt.transition,r=oe;try{if(mt.transition=null,oe=1,e)return e()}finally{oe=r,mt.transition=n,Z=t,!(Z&6)&&or()}}function hd(){tt=ro.current,ce(ro)}function kr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Yx(n)),ke!==null)for(n=ke.return;n!==null;){var r=n;switch(Gc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ss();break;case 3:No(),ce(Ke),ce(ze),nd();break;case 5:td(r);break;case 4:No();break;case 13:ce(he);break;case 19:ce(he);break;case 10:Xc(r.type._context);break;case 22:case 23:hd()}n=n.return}if(Pe=e,ke=e=Kn(e.current,null),_e=tt=t,Ce=0,Ri=null,cd=Bs=Nr=0,Qe=hi=null,pr!==null){for(t=0;t<pr.length;t++)if(n=pr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}pr=null}return e}function Vv(e,t){do{var n=ke;try{if(Kc(),La.current=vs,ms){for(var r=pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ms=!1}if(Pr=0,Ee=Se=pe=null,di=!1,_i=0,ud.current=null,n===null||n.return===null){Ce=1,Ri=t,ke=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=_e,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ah(a);if(h!==null){h.flags&=-257,sh(h,a,s,i,t),h.mode&1&&ih(i,u,t),t=h,l=u;var b=t.updateQueue;if(b===null){var v=new Set;v.add(l),t.updateQueue=v}else b.add(l);break e}else{if(!(t&1)){ih(i,u,t),pd();break e}l=Error(j(426))}}else if(fe&&s.mode&1){var x=ah(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),sh(x,a,s,i,t),Qc(To(l,s));break e}}i=l=To(l,s),Ce!==4&&(Ce=2),hi===null?hi=[i]:hi.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=Pv(i,l,t);Zf(i,y);break e;case 1:s=l;var m=i.type,w=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Qn===null||!Qn.has(w)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=Nv(i,s,t);Zf(i,k);break e}}i=i.return}while(i!==null)}Yv(n)}catch(S){t=S,ke===n&&n!==null&&(ke=n=n.return);continue}break}while(!0)}function Uv(){var e=gs.current;return gs.current=vs,e===null?vs:e}function pd(){(Ce===0||Ce===3||Ce===2)&&(Ce=4),Pe===null||!(Nr&268435455)&&!(Bs&268435455)||On(Pe,_e)}function xs(e,t){var n=Z;Z|=2;var r=Uv();(Pe!==e||_e!==t)&&(on=null,kr(e,t));do try{g1();break}catch(o){Vv(e,o)}while(!0);if(Kc(),Z=n,gs.current=r,ke!==null)throw Error(j(261));return Pe=null,_e=0,Ce}function g1(){for(;ke!==null;)Hv(ke)}function y1(){for(;ke!==null&&!Vw();)Hv(ke)}function Hv(e){var t=Qv(e.alternate,e,tt);e.memoizedProps=e.pendingProps,t===null?Yv(e):ke=t,ud.current=null}function Yv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=d1(n,t),n!==null){n.flags&=32767,ke=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ce=6,ke=null;return}}else if(n=c1(n,t,tt),n!==null){ke=n;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);Ce===0&&(Ce=5)}function dr(e,t,n){var r=oe,o=mt.transition;try{mt.transition=null,oe=1,w1(e,t,n,r)}finally{mt.transition=o,oe=r}return null}function w1(e,t,n,r){do uo();while(Wn!==null);if(Z&6)throw Error(j(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(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Zw(e,i),e===Pe&&(ke=Pe=null,_e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||wa||(wa=!0,qv(ts,function(){return uo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=mt.transition,mt.transition=null;var a=oe;oe=1;var s=Z;Z|=4,ud.current=null,h1(e,n),$v(n,e),zx(Ru),rs=!!Mu,Ru=Mu=null,e.current=n,p1(n),Uw(),Z=s,oe=a,mt.transition=i}else e.current=n;if(wa&&(wa=!1,Wn=e,ws=o),i=e.pendingLanes,i===0&&(Qn=null),Gw(n.stateNode),Je(e,we()),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(ys)throw ys=!1,e=Ju,Ju=null,e;return ws&1&&e.tag!==0&&uo(),i=e.pendingLanes,i&1?e===Zu?pi++:(pi=0,Zu=e):pi=0,or(),null}function uo(){if(Wn!==null){var e=Pm(ws),t=mt.transition,n=oe;try{if(mt.transition=null,oe=16>e?16:e,Wn===null)var r=!1;else{if(e=Wn,Wn=null,ws=0,Z&6)throw Error(j(331));var o=Z;for(Z|=4,F=e.current;F!==null;){var i=F,a=i.child;if(F.flags&16){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:fi(8,c,i)}var f=c.child;if(f!==null)f.return=c,F=f;else for(;F!==null;){c=F;var p=c.sibling,h=c.return;if(Iv(c),c===u){F=null;break}if(p!==null){p.return=h,F=p;break}F=h}}}var b=i.alternate;if(b!==null){var v=b.child;if(v!==null){b.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}F=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,F=a;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:fi(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,F=y;break e}F=i.return}}var m=e.current;for(F=m;F!==null;){a=F;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,F=w;else e:for(a=m;F!==null;){if(s=F,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Ws(9,s)}}catch(S){ye(s,s.return,S)}if(s===a){F=null;break e}var k=s.sibling;if(k!==null){k.return=s.return,F=k;break e}F=s.return}}if(Z=o,or(),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(Ds,e)}catch{}r=!0}return r}finally{oe=n,mt.transition=t}}return!1}function xh(e,t,n){t=To(n,t),t=Pv(e,t,1),e=Gn(e,t,1),t=Ue(),e!==null&&(Wi(e,1,t),Je(e,t))}function ye(e,t,n){if(e.tag===3)xh(e,e,n);else for(;t!==null;){if(t.tag===3){xh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Qn===null||!Qn.has(r))){e=To(n,e),e=Nv(t,e,1),t=Gn(t,e,1),e=Ue(),t!==null&&(Wi(t,1,e),Je(t,e));break}}t=t.return}}function x1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ue(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(_e&n)===n&&(Ce===4||Ce===3&&(_e&130023424)===_e&&500>we()-dd?kr(e,0):cd|=n),Je(e,t)}function Gv(e,t){t===0&&(e.mode&1?(t=ua,ua<<=1,!(ua&130023424)&&(ua=4194304)):t=1);var n=Ue();e=hn(e,t),e!==null&&(Wi(e,t,n),Je(e,n))}function b1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gv(e,n)}function k1(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(j(314))}r!==null&&r.delete(t),Gv(e,n)}var Qv;Qv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,u1(e,t,n);qe=!!(e.flags&131072)}else qe=!1,fe&&t.flags&1048576&&Jm(t,cs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fa(e,t),e=t.pendingProps;var o=Co(t,ze.current);lo(t,n),o=od(null,t,r,e,o,n);var i=id();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,Xe(r)?(i=!0,ls(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Zc(t),o.updater=$s,t.stateNode=o,o._reactInternals=t,Wu(t,r,e,n),t=Uu(null,t,r,!0,i,n)):(t.tag=0,fe&&i&&Yc(t),We(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fa(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=C1(r),e=Ct(r,e),o){case 0:t=Vu(null,t,r,e,n);break e;case 1:t=ch(null,t,r,e,n);break e;case 11:t=lh(null,t,r,e,n);break e;case 14:t=uh(null,t,r,Ct(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ct(r,o),Vu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ct(r,o),ch(e,t,r,o,n);case 3:e:{if(Mv(t),e===null)throw Error(j(387));
vendor: 5,689 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,ov(e,t),hs(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=To(Error(j(423)),t),t=dh(e,t,r,n,o);break e}else if(r!==o){o=To(Error(j(424)),t),t=dh(e,t,r,n,o);break e}else for(rt=Yn(t.stateNode.containerInfo.firstChild),ot=t,fe=!0,_t=null,n=nv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Eo(),r===o){t=pn(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return iv(t),e===null&&Fu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Du(r,o)?a=null:i!==null&&Du(r,i)&&(t.flags|=32),jv(e,t),We(e,t,a,n),t.child;case 6:return e===null&&Fu(t),null;case 13:return Rv(e,t,n);case 4:return ed(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Po(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ct(r,o),lh(e,t,r,o,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,ae(ds,r._currentValue),r._currentValue=a,i!==null)if(Dt(i.value,a)){if(i.children===o.children&&!Ke.current){t=pn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=cn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),zu(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(j(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),zu(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}We(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,lo(t,n),o=vt(o),r=r(o),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,o=Ct(r,t.pendingProps),o=Ct(r.type,o),uh(e,t,r,o,n);case 15:return Tv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ct(r,o),Fa(e,t),t.tag=1,Xe(r)?(e=!0,ls(t)):e=!1,lo(t,n),Ev(t,r,o),Wu(t,r,o,n),Uu(null,t,r,!0,e,n);case 19:return Dv(e,t,n);case 22:return _v(e,t,n)}throw Error(j(156,t.tag))};function qv(e,t){return km(e,t)}function S1(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 pt(e,t,n,r){return new S1(e,t,n,r)}function md(e){return e=e.prototype,!(!e||!e.isReactComponent)}function C1(e){if(typeof e=="function")return md(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oc)return 11;if(e===Ac)return 14}return 2}function Kn(e,t){var n=e.alternate;return n===null?(n=pt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Wa(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")md(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Gr:return Sr(n.children,o,i,t);case Dc:a=8,o|=8;break;case du:return e=pt(12,n,t,o|2),e.elementType=du,e.lanes=i,e;case fu:return e=pt(13,n,t,o),e.elementType=fu,e.lanes=i,e;case hu:return e=pt(19,n,t,o),e.elementType=hu,e.lanes=i,e;case im:return Vs(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case rm:a=10;break e;case om:a=9;break e;case Oc:a=11;break e;case Ac:a=14;break e;case Mn:a=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=pt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Sr(e,t,n,r){return e=pt(7,e,r,t),e.lanes=n,e}function Vs(e,t,n,r){return e=pt(22,e,r,t),e.elementType=im,e.lanes=n,e.stateNode={isHidden:!1},e}function Wl(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function Bl(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function E1(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=kl(0),this.expirationTimes=kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function vd(e,t,n,r,o,i,a,s,l){return e=new E1(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=pt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zc(i),e}
vendor: 4,675 bytes, line 40
40function P1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Kv(e){if(!e)return Jn;e=e._reactInternals;e:{if(Or(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Xe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(Xe(n))return Km(e,n,t)}return t}function Xv(e,t,n,r,o,i,a,s,l){return e=vd(n,r,!0,e,o,i,a,s,l),e.context=Kv(null),n=e.current,r=Ue(),o=qn(n),i=cn(r,o),i.callback=t??null,Gn(n,i,o),e.current.lanes=o,Wi(e,o,r),Je(e,r),e}function Us(e,t,n,r){var o=t.current,i=Ue(),a=qn(o);return n=Kv(n),t.context===null?t.context=n:t.pendingContext=n,t=cn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Gn(o,t,a),e!==null&&(Rt(e,o,a,i),Aa(e,o,a)),a}function bs(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 bh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function gd(e,t){bh(e,t),(e=e.alternate)&&bh(e,t)}function N1(){return null}var Jv=typeof reportError=="function"?reportError:function(e){console.error(e)};function yd(e){this._internalRoot=e}Hs.prototype.render=yd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Us(e,t,null,null)};Hs.prototype.unmount=yd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Tr(function(){Us(null,e,null,null)}),t[fn]=null}};function Hs(e){this._internalRoot=e}Hs.prototype.unstable_scheduleHydration=function(e){if(e){var t=_m();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dn.length&&t!==0&&t<Dn[n].priority;n++);Dn.splice(n,0,e),n===0&&Mm(e)}};function wd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ys(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function kh(){}function T1(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=bs(a);i.call(u)}}var a=Xv(t,r,e,0,null,!1,!1,"",kh);return e._reactRootContainer=a,e[fn]=a.current,Ci(e.nodeType===8?e.parentNode:e),Tr(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=bs(l);s.call(u)}}var l=vd(e,0,!1,null,null,!1,!1,"",kh);return e._reactRootContainer=l,e[fn]=l.current,Ci(e.nodeType===8?e.parentNode:e),Tr(function(){Us(t,l,n,r)}),l}function Gs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=bs(a);s.call(l)}}Us(t,a,e,o)}else a=T1(n,t,e,o,r);return bs(a)}Nm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=oi(t.pendingLanes);n!==0&&(Fc(t,n|1),Je(t,we()),!(Z&6)&&(_o=we()+500,or()))}break;case 13:Tr(function(){var r=hn(e,1);if(r!==null){var o=Ue();Rt(r,e,1,o)}}),gd(e,1)}};zc=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=Ue();Rt(t,e,134217728,n)}gd(e,134217728)}};Tm=function(e){if(e.tag===13){var t=qn(e),n=hn(e,t);if(n!==null){var r=Ue();Rt(n,e,t,r)}gd(e,t)}};_m=function(){return oe};jm=function(e,t){var n=oe;try{return oe=e,t()}finally{oe=n}};Su=function(e,t,n){switch(t){case"input":if(vu(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=Is(r);if(!o)throw Error(j(90));sm(r),vu(r,o)}}}break;case"textarea":um(e,n);break;case"select":t=n.value,t!=null&&oo(e,!!n.multiple,t,!1)}};vm=fd;gm=Tr;var _1={usingClientEntryPoint:!1,Events:[Vi,Xr,Is,pm,mm,fd]},Xo={findFiberByHostInstance:hr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},j1={bundleType:Xo.bundleType,version:Xo.version,rendererPackageName:Xo.rendererPackageName,rendererConfig:Xo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xm(e),e===null?null:e.stateNode},findFiberByHostInstance:Xo.findFiberByHostInstance||N1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xa.isDisabled&&xa.supportsFiber)try{Ds=xa.inject(j1),Qt=xa}catch{}}lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_1;lt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wd(t))throw Error(j(200));return P1(e,t,null,n)};lt.createRoot=function(e,t){if(!wd(e))throw Error(j(299));var n=!1,r="",o=Jv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=vd(e,1,!1,null,null,n,!1,r,o),e[fn]=t.current,Ci(e.nodeType===8?e.parentNode:e),new yd(t)};lt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=xm(t),e=e===null?null:e.stateNode,e};lt.flushSync=function(e){return Tr(e)};lt.hydrate=function(e,t,n){if(!Ys(t))throw Error(j(200));return Gs(null,e,t,!0,n)};lt.hydrateRoot=function(e,t,n){if(!wd(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=Jv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Xv(t,null,e,1,n??null,o,!1,i,a),e[fn]=t.current,Ci(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 Hs(t)};lt.render=function(e,t,n){if(!Ys(t))throw Error(j(200));return Gs(null,e,t,!1,n)};lt.unmountComponentAtNode=function(e){if(!Ys(e))throw Error(j(40));return e._reactRootContainer?(Tr(function(){Gs(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};lt.unstable_batchedUpdates=fd;lt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ys(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Gs(e,t,n,!1,r)};lt.version="18.3.1-next-f1338f8080-20240426";function Zv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zv)}catch(e){console.error(e)}}Zv(),Zp.exports=lt;var Hi=Zp.exports;const eg=Wp(Hi);var tg,Sh=Hi;tg=Sh.createRoot,Sh.hydrateRoot;var Qs=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(){}},qs=typeof window>"u"||"Deno"in globalThis;function Et(){}function M1(e,t){return typeof e=="function"?e(t):e}function R1(e){return typeof e=="number"&&e>=0&&e!==1/0}function D1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function nc(e,t){return typeof e=="function"?e(t):e}function O1(e,t){return typeof e=="function"?e(t):e}function Ch(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==xd(a,t.options))return!1}else if(!Oi(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function Eh(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Di(t.options.mutationKey)!==Di(i))return!1}else if(!Oi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function xd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Di)(e)}function Di(e){return JSON.stringify(e,(t,n)=>rc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Oi(e[n],t[n])):!1}function ng(e,t){if(e===t)return e;const n=Ph(e)&&Ph(t);if(n||rc(e)&&rc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<a;c++){const f=n?c:i[c];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(s[f]=void 0,u++):(s[f]=ng(e[f],t[f]),s[f]===e[f]&&e[f]!==void 0&&u++)}return o===a&&u===o?e:s}return t}function Ph(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function rc(e){if(!Nh(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Nh(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Nh(e){return Object.prototype.toString.call(e)==="[object Object]"}function A1(e){return new Promise(t=>{setTimeout(t,e)})}function L1(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ng(e,t):t}function I1(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function F1(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var bd=Symbol();function rg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===bd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var vr,An,mo,Dp,z1=(Dp=class extends Qs{constructor(){super();ee(this,vr);ee(this,An);ee(this,mo);H(this,mo,t=>{if(!qs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,An)||this.setEventListener(N(this,mo))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,An))==null||t.call(this),H(this,An,void 0))}setEventListener(t){var n;H(this,mo,t),(n=N(this,An))==null||n.call(this),H(this,An,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,vr)!==t&&(H(this,vr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,517 bytes, line 40
40this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,vr)=="boolean"?N(this,vr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},vr=new WeakMap,An=new WeakMap,mo=new WeakMap,Dp),og=new z1,vo,Ln,go,Op,$1=(Op=class extends Qs{constructor(){super();ee(this,vo,!0);ee(this,Ln);ee(this,go);H(this,go,t=>{if(!qs&&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(){N(this,Ln)||this.setEventListener(N(this,go))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Ln))==null||t.call(this),H(this,Ln,void 0))}setEventListener(t){var n;H(this,go,t),(n=N(this,Ln))==null||n.call(this),H(this,Ln,t(this.setOnline.bind(this)))}setOnline(t){N(this,vo)!==t&&(H(this,vo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,vo)}},vo=new WeakMap,Ln=new WeakMap,go=new WeakMap,Op),ks=new $1;function W1(){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 B1(e){return Math.min(1e3*2**e,3e4)}function ig(e){return(e??"online")==="online"?ks.isOnline():!0}var ag=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Vl(e){return e instanceof ag}function sg(e){let t=!1,n=0,r=!1,o;const i=W1(),a=v=>{var x;r||(p(new ag(v)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},l=()=>{t=!1},u=()=>og.isFocused()&&(e.networkMode==="always"||ks.isOnline())&&e.canRun(),c=()=>ig(e.networkMode)&&e.canRun(),f=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),o==null||o(),i.resolve(v))},p=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),o==null||o(),i.reject(v))},h=()=>new Promise(v=>{var x;o=y=>{(r||u())&&v(y)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),b=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(y){v=Promise.reject(y)}Promise.resolve(v).then(f).catch(y=>{var E;if(r)return;const m=e.retry??(qs?0:3),w=e.retryDelay??B1,k=typeof w=="function"?w(n,y):w,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,y);if(t||!S){p(y);return}n++,(E=e.onFail)==null||E.call(e,n,y),A1(k).then(()=>u()?void 0:h()).then(()=>{t?p(y):b()})})};return{promise:i,cancel:a,continue:()=>(o==null||o(),i),cancelRetry:s,continueRetry:l,canStart:c,start:()=>(c()?b():h().then(b),i)}}var V1=e=>setTimeout(e,0);function U1(){let e=[],t=0,n=s=>{s()},r=s=>{s()},o=V1;const i=s=>{t?e.push(s):o(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&o(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||a()}return l},batchCalls:s=>(...l)=>{i(()=>{s(...l)})},schedule:i,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{o=s}}}var Be=U1(),gr,Ap,lg=(Ap=class{constructor(){ee(this,gr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),R1(this.gcTime)&&H(this,gr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qs?1/0:5*60*1e3))}clearGcTimeout(){N(this,gr)&&(clearTimeout(N(this,gr)),H(this,gr,void 0))}},gr=new WeakMap,Ap),yo,yr,dt,wr,Ie,Fi,xr,Pt,rn,Lp,H1=(Lp=class extends lg{constructor(t){super();ee(this,Pt);ee(this,yo);ee(this,yr);ee(this,dt);ee(this,wr);ee(this,Ie);ee(this,Fi);ee(this,xr);H(this,xr,!1),H(this,Fi,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,wr,t.client),H(this,dt,N(this,wr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,yo,G1(this.options)),this.state=t.state??N(this,yo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...N(this,Fi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,dt).remove(this)}setData(t,n){const r=L1(this.state.data,t,this.options);return Oe(this,Pt,rn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Pt,rn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=N(this,Ie))==null?void 0:r.promise;
vendor: 1,669 bytes, line 40
40return(o=N(this,Ie))==null||o.cancel(t),n?n.then(Et).catch(Et):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,yo))}isActive(){return this.observers.some(t=>O1(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===bd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>nc(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:!D1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,dt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,Ie)&&(N(this,xr)?N(this,Ie).cancel({revert:!0}):N(this,Ie).cancelRetry()),this.scheduleGc()),N(this,dt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Pt,rn).call(this,{type:"invalidate"})}
vendor: 14,003 bytes, line 40
40fetch(t,n){var u,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Ie))return N(this,Ie).continueRetry(),N(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(h=>h.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,o=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(H(this,xr,!0),r.signal)})},i=()=>{const p=rg(this.options,n),b=(()=>{const v={client:N(this,wr),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return H(this,xr,!1),this.options.persister?this.options.persister(p,b,this):p(b)},s=(()=>{const p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,wr),state:this.state,fetchFn:i};return o(p),p})();(u=this.options.behavior)==null||u.onFetch(s,this),H(this,yr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&Oe(this,Pt,rn).call(this,{type:"fetch",meta:(f=s.fetchOptions)==null?void 0:f.meta});const l=p=>{var h,b,v,x;Vl(p)&&p.silent||Oe(this,Pt,rn).call(this,{type:"error",error:p}),Vl(p)||((b=(h=N(this,dt).config).onError)==null||b.call(h,p,this),(x=(v=N(this,dt).config).onSettled)==null||x.call(v,this.state.data,p,this)),this.scheduleGc()};return H(this,Ie,sg({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var h,b,v,x;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(y){l(y);return}(b=(h=N(this,dt).config).onSuccess)==null||b.call(h,p,this),(x=(v=N(this,dt).config).onSettled)==null||x.call(v,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,h)=>{Oe(this,Pt,rn).call(this,{type:"failed",failureCount:p,error:h})},onPause:()=>{Oe(this,Pt,rn).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Pt,rn).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),N(this,Ie).start()}},yo=new WeakMap,yr=new WeakMap,dt=new WeakMap,wr=new WeakMap,Ie=new WeakMap,Fi=new WeakMap,xr=new WeakMap,Pt=new WeakSet,rn=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,...Y1(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,yr,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 Vl(o)&&o.revert&&N(this,yr)?{...N(this,yr),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),Be.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,dt).notify({query:this,type:"updated",action:t})})},Lp);function Y1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ig(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function G1(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 Wt,Ip,Q1=(Ip=class extends Qs{constructor(t={}){super();ee(this,Wt);this.config=t,H(this,Wt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??xd(o,n);let a=this.get(i);return a||(a=new H1({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){N(this,Wt).has(t.queryHash)||(N(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Be.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Wt).get(t)}getAll(){return[...N(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ch(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ch(t,r)):n}notify(t){Be.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Be.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Be.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,Ip),Bt,$e,br,Vt,_n,Fp,q1=(Fp=class extends lg{constructor(t){super();ee(this,Vt);ee(this,Bt);ee(this,$e);ee(this,br);this.mutationId=t.mutationId,H(this,$e,t.mutationCache),H(this,Bt,[]),this.state=t.state||K1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Bt).includes(t)||(N(this,Bt).push(t),this.clearGcTimeout(),N(this,$e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Bt,N(this,Bt).filter(n=>n!==t)),this.scheduleGc(),N(this,$e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Bt).length||(this.state.status==="pending"?this.scheduleGc():N(this,$e).remove(this))}continue(){var t;return((t=N(this,br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,s,l,u,c,f,p,h,b,v,x,y,m,w,k,S,E,P,_;const n=()=>{Oe(this,Vt,_n).call(this,{type:"continue"})};H(this,br,sg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,D)=>{Oe(this,Vt,_n).call(this,{type:"failed",failureCount:O,error:D})},onPause:()=>{Oe(this,Vt,_n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,$e).canRun(this)}));const r=this.state.status==="pending",o=!N(this,br).canStart();try{if(r)n();else{Oe(this,Vt,_n).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=N(this,$e).config).onMutate)==null?void 0:a.call(i,t,this));const D=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));D!==this.state.context&&Oe(this,Vt,_n).call(this,{type:"pending",context:D,variables:t,isPaused:o})}const O=await N(this,br).start();return await((c=(u=N(this,$e).config).onSuccess)==null?void 0:c.call(u,O,t,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,O,t,this.state.context)),await((b=(h=N(this,$e).config).onSettled)==null?void 0:b.call(h,O,null,this.state.variables,this.state.context,this)),await((x=(v=this.options).onSettled)==null?void 0:x.call(v,O,null,t,this.state.context)),Oe(this,Vt,_n).call(this,{type:"success",data:O}),O}catch(O){try{throw await((m=(y=N(this,$e).config).onError)==null?void 0:m.call(y,O,t,this.state.context,this)),await((k=(w=this.options).onError)==null?void 0:k.call(w,O,t,this.state.context)),await((E=(S=N(this,$e).config).onSettled)==null?void 0:E.call(S,void 0,O,this.state.variables,this.state.context,this)),await((_=(P=this.options).onSettled)==null?void 0:_.call(P,void 0,O,t,this.state.context)),O}finally{Oe(this,Vt,_n).call(this,{type:"error",error:O})}}finally{N(this,$e).runNext(this)}}},Bt=new WeakMap,$e=new WeakMap,br=new WeakMap,Vt=new WeakSet,_n=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),Be.batch(()=>{N(this,Bt).forEach(r=>{r.onMutationUpdate(t)}),N(this,$e).notify({mutation:this,type:"updated",action:t})})},Fp);function K1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var sn,Nt,zi,zp,X1=(zp=class extends Qs{constructor(t={}){super();ee(this,sn);ee(this,Nt);ee(this,zi);this.config=t,H(this,sn,new Set),H(this,Nt,new Map),H(this,zi,0)}build(t,n,r){const o=new q1({mutationCache:this,mutationId:++ra(this,zi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){N(this,sn).add(t);const n=ba(t);if(typeof n=="string"){const r=N(this,Nt).get(n);r?r.push(t):N(this,Nt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,sn).delete(t)){const n=ba(t);if(typeof n=="string"){const r=N(this,Nt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&N(this,Nt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ba(t);if(typeof n=="string"){const r=N(this,Nt).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=ba(t);if(typeof n=="string"){const o=(r=N(this,Nt).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(){Be.batch(()=>{N(this,sn).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,sn).clear(),N(this,Nt).clear()})}getAll(){return Array.from(N(this,sn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Eh(n,r))}findAll(t={}){return this.getAll().filter(n=>Eh(t,n))}notify(t){Be.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Be.batch(()=>Promise.all(t.map(n=>n.continue().catch(Et))))}},sn=new WeakMap,Nt=new WeakMap,zi=new WeakMap,zp);function ba(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Th(e){return{onFetch:(t,n)=>{var c,f,p,h,b;const r=t.options,o=(p=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],a=((b=t.state.data)==null?void 0:b.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const x=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},y=rg(t.options,t.fetchOptions),m=async(w,k,S)=>{if(v)return Promise.reject();if(k==null&&w.pages.length)return Promise.resolve(w);const P=(()=>{const $={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return x($),$})(),_=await y(P),{maxPages:O}=t.options,D=S?F1:I1;return{pages:D(w.pages,_,O),pageParams:D(w.pageParams,k,O)}};if(o&&i.length){const w=o==="backward",k=w?J1:_h,S={pages:i,pageParams:a},E=k(r,S);s=await m(S,E,w)}else{const w=e??i.length;do{const k=l===0?a[0]??r.initialPageParam:_h(r,s);if(l>0&&k==null)break;s=await m(s,k),l++}while(l<w)}return s};t.options.persister?t.fetchFn=()=>{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function _h(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 J1(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 ge,In,Fn,wo,xo,zn,bo,ko,$p,Z1=($p=class{constructor(e={}){ee(this,ge);ee(this,In);ee(this,Fn);ee(this,wo);ee(this,xo);ee(this,zn);ee(this,bo);ee(this,ko);H(this,ge,e.queryCache||new Q1),H(this,In,e.mutationCache||new X1),H(this,Fn,e.defaultOptions||{}),H(this,wo,new Map),H(this,xo,new Map),H(this,zn,0)}mount(){ra(this,zn)._++,N(this,zn)===1&&(H(this,bo,og.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ge).onFocus())})),H(this,ko,ks.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ge).onOnline())})))}unmount(){var e,t;ra(this,zn)._--,N(this,zn)===0&&((e=N(this,bo))==null||e.call(this),H(this,bo,void 0),(t=N(this,ko))==null||t.call(this),H(this,ko,void 0))}isFetching(e){return N(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,In).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(nc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ge).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=N(this,ge).get(r.queryHash),i=o==null?void 0:o.state.data,a=M1(t,i);if(a!==void 0)return N(this,ge).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Be.batch(()=>N(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ge);Be.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ge);return Be.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Be.batch(()=>N(this,ge).findAll(e).map(o=>o.cancel(n)));
40return Promise.all(r).then(Et).catch(Et)}invalidateQueries(e,t={}){return Be.batch(()=>(N(this,ge).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=Be.batch(()=>N(this,ge).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Et)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Et)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,ge).build(this,t);return n.isStaleByTime(nc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Et).catch(Et)}fetchInfiniteQuery(e){return e.behavior=Th(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Et).catch(Et)}ensureInfiniteQueryData(e){return e.behavior=Th(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ks.isOnline()?N(this,In).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ge)}getMutationCache(){return N(this,In)}getDefaultOptions(){return N(this,Fn)}setDefaultOptions(e){H(this,Fn,e)}setQueryDefaults(e,t){N(this,wo).set(Di(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,wo).values()],n={};return t.forEach(r=>{Oi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,xo).set(Di(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,xo).values()],n={};return t.forEach(r=>{Oi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,Fn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xd(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===bd&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,Fn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ge).clear(),N(this,In).clear()}},ge=new WeakMap,In=new WeakMap,Fn=new WeakMap,wo=new WeakMap,xo=new WeakMap,zn=new WeakMap,bo=new WeakMap,ko=new WeakMap,$p),eb=g.createContext(void 0),tb=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(eb.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function Ss(){return Ss=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},Ss.apply(this,arguments)}var Bn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Bn||(Bn={}));const jh="popstate";function nb(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:s}=r.location;return oc("",{pathname:i,search:a,hash:s},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:cg(o)}return ob(t,n,null,e)}function et(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ug(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rb(){return Math.random().toString(36).substr(2,8)}function Mh(e,t){return{usr:e.state,key:e.key,idx:t}}function oc(e,t,n,r){return n===void 0&&(n=null),Ss({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ks(t):t,{state:n,key:t&&t.key||r||rb()})}function cg(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 Ks(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 ob(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=Bn.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(Ss({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function f(){s=Bn.Pop;let x=c(),y=x==null?null:x-u;u=x,l&&l({action:s,location:v.location,delta:y})}function p(x,y){s=Bn.Push;let m=oc(v.location,x,y);u=c()+1;let w=Mh(m,u),k=v.createHref(m);try{a.pushState(w,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(k)}i&&l&&l({action:s,location:v.location,delta:1})}function h(x,y){s=Bn.Replace;let m=oc(v.location,x,y);u=c();let w=Mh(m,u),k=v.createHref(m);a.replaceState(w,"",k),i&&l&&l({action:s,location:v.location,delta:0})}function b(x){let y=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof x=="str
49ing"?x:cg(x);return m=m.replace(/ $/,"%20"),et(y,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,y)}let v={get action(){return s},get location(){return e(o,a)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(jh,f),l=x,()=>{o.removeEventListener(jh,f),l=null}},createHref(x){return t(o,x)},createURL:b,encodeLocation(x){let y=b(x);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:h,go(x){return a.go(x)}};return v}var Rh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Rh||(Rh={}));function ib(e,t,n){return n===void 0&&(n="/"),ab(e,t,n,!1)}function ab(e,t,n,r){let o=typeof t=="string"?Ks(t):t,i=hg(o.pathname||"/",n);if(i==null)return null;let a=dg(e);sb(a);let s=null;for(let l=0;s==null&&l<a.length;++l){let u=yb(i);s=vb(a[l],u,r)}return s}function dg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,a,s)=>{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(et(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=co([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(et(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),dg(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:pb(u,i.index),routesMeta:c})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of fg(i.path))o(i,a,l)}),t}function fg(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 a=fg(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function sb(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:mb(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const lb=/^:[\w-]+$/,ub=3,cb=2,db=1,fb=10,hb=-2,Dh=e=>e==="*";function pb(e,t){let n=e.split("/"),r=n.length;return n.some(Dh)&&(r+=hb),t&&(r+=cb),n.filter(o=>!Dh(o)).reduce((o,i)=>o+(lb.test(i)?ub:i===""?db:fb),r)}function mb(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 vb(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s<r.length;++s){let l=r[s],u=s===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",f=Oh({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),p=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Oh({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!f)return null;
vendor: 4,131 bytes, lines 49-58
49Object.assign(o,f.params),a.push({params:o,pathname:co([i,f.pathname]),pathnameBase:wb(co([i,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(i=co([i,f.pathnameBase]))}return a}function Oh(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=gb(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:p,isOptional:h}=c;if(p==="*"){let v=s[f]||"";a=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const b=s[f];return h&&!b?u[p]=void 0:u[p]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function gb(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ug(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,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function yb(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ug(!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 hg(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 co=e=>e.join("/").replace(/\/\/+/g,"/"),wb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function xb(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const pg=["post","put","patch","delete"];new Set(pg);const bb=["get",...pg];new Set(bb);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function Cs(){return Cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cs.apply(this,arguments)}const kb=g.createContext(null),Sb=g.createContext(null),mg=g.createContext(null),Xs=g.createContext(null),Js=g.createContext({outlet:null,matches:[],isDataRoute:!1}),vg=g.createContext(null);function kd(){return g.useContext(Xs)!=null}function gg(){return kd()||et(!1),g.useContext(Xs).location}function Cb(e,t){return Eb(e,t)}function Eb(e,t,n,r){kd()||et(!1);let{navigator:o}=g.useContext(mg),{matches:i}=g.useContext(Js),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let u=gg(),c;if(t){var f;let x=typeof t=="string"?Ks(t):t;l==="/"||(f=x.pathname)!=null&&f.startsWith(l)||et(!1),c=x}else c=u;let p=c.pathname||"/",h=p;if(l!=="/"){let x=l.replace(/^\//,"").split("/");h="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let b=ib(e,{pathname:h}),v=jb(b&&b.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:co([l,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:co([l,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&v?g.createElement(Xs.Provider,{value:{location:Cs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bn.Pop}},v):v}function Pb(){let e=Ob(),t=xb(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 
58Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:o},n):null,null)}const Nb=g.createElement(Pb,null);class Tb 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(Js.Provider,{value:this.props.routeContext},g.createElement(vg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _b(e){let{routeContext:t,match:n,children:r}=e,o=g.useContext(kb);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),g.createElement(Js.Provider,{value:t},r)}function jb(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 a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let c=a.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);c>=0||et(!1),a=a.slice(0,Math.min(a.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<a.length;c++){let f=a[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:p,errors:h}=n,b=f.route.loader&&p[f.route.id]===void 0&&(!h||h[f.route.id]===void 0);if(f.route.lazy||b){l=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,f,p)=>{let h,b=!1,v=null,x=null;n&&(h=s&&f.route.id?s[f.route.id]:void 0,v=f.route.errorElement||Nb,l&&(u<0&&p===0?(b=!0,x=null):u===p&&(b=!0,x=f.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,p+1)),m=()=>{let w;return h?w=v:b?w=x:f.route.Component?w=g.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=c,g.createElement(_b,{match:f,routeContext:{outlet:c,matches:y,isDataRoute:n!=null},children:w})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?g.createElement(Tb,{location:n.location,revalidation:n.revalidation,component:v,error:h,children:m(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):m()},null)}var ic=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}(ic||{});function Mb(e){let t=g.useContext(Sb);return t||et(!1),t}function Rb(e){let t=g.useContext(Js);return t||et(!1),t}function Db(e){let t=Rb(),n=t.matches[t.matches.length-1];return n.route.id||et(!1),n.route.id}function Ob(){var e;let t=g.useContext(vg),n=Mb(ic.UseRouteError),r=Db(ic.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Ab(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ac(e){et(!1)}function Lb(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Bn.Pop,navigator:i,static:a=!1,future:s}=e;kd()&&et(!1);let l=t.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:l,navigator:i,static:a,future:Cs({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=Ks(r));let{pathname:c="/",search:f="",hash:p="",state:h=null,key:b="default"}=r,v=g.useMemo(()=>{let x=hg(c,l);return x==null?null:{location:{pathname:x,search:f,hash:p,state:h,key:b},navigationType:o}},[l,c,f,p,h,b,o]);return v==null?null:g.createElement(mg.Provider,{value:u},g.createElement(Xs.Provider,{children:n,value:v}))}function Ib(e){let{children:t,location:n}=e;return Cb(sc(t),n)}new Promise(()=>{});function sc(e,t){t===void 0&&(t=[]);let n=[];
58return g.Children.forEach(e,(r,o)=>{if(!g.isValidElement(r))return;let i=[...t,o];if(r.type===g.Fragment){n.push.apply(n,sc(r.props.children,i));return}r.type!==ac&&et(!1),!r.props.index||!r.props.children||et(!1);let a={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&&(a.children=sc(r.props.children,i)),n.push(a)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */const Fb="6";try{window.__reactRouterVersion=Fb}catch{}const zb="startTransition",Ah=_c[zb];function $b(e){let{basename:t,children:n,future:r,window:o}=e,i=g.useRef();i.current==null&&(i.current=nb({window:o,v5Compat:!0}));let a=i.current,[s,l]=g.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},c=g.useCallback(f=>{u&&Ah?Ah(()=>l(f)):l(f)},[l,u]);return g.useLayoutEffect(()=>a.listen(c),[a,c]),g.useEffect(()=>Ab(r),[r]),g.createElement(Lb,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}var Lh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Lh||(Lh={}));var Ih;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ih||(Ih={}));var Fh=["light","dark"],Wb="(prefers-color-scheme: dark)",Bb=g.createContext(void 0),Vb={setTheme:e=>{},themes:[]},Ub=()=>{var e;return(e=g.useContext(Bb))!=null?e:Vb};g.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,attrs:s,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?Fh.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(b,v=!1,x=!0)=>{let y=a?a[b]:b,m=v?b+"|| ''":`'${y}'`,w="";return o&&x&&!v&&Fh.includes(b)&&(w+=`d.style.colorScheme = '${b}';`),n==="class"?v||y?w+=`c.add(${m})`:w+="null":y&&(w+=`d[s](n,${m})`),w},h=e?`!function(){${c}${p(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${Wb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}${u?"":"else{"+p(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}else{${p(i,!1,!1)};}${f}}catch(t){}}();`;return g.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var Hb=e=>{switch(e){case"success":return Qb;case"info":return Kb;case"warning":return qb;case"error":return Xb;default:return null}},Yb=Array(12).fill(0),Gb=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},Yb.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),Qb=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"})),qb=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
67currentColor",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"})),Kb=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"})),Xb=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"})),Jb=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"})),Zb=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},lc=1,ek=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:lc++,i=this.toasts.find(s=>s.id===o),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(s=>s.id===o?(this.publish({...s,...e,id:o,title:n}),{...s,...e,id:o,dismissible:a,title:n}):s):this.addToast({title:n,...r,dismissible:a,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)=>
67this.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,a=r.then(async l=>{if(i=["resolve",l],R.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(nk(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),s=()=>new Promise((l,u)=>a.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||lc++;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}},Ge=new ek,tk=(e,t)=>{let n=(t==null?void 0:t.id)||lc++;return Ge.addToast({title:e,...t,id:n}),n},nk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",rk=tk,ok=()=>Ge.toasts,ik=()=>Ge.getActiveToasts();Object.assign(rk,{success:Ge.success,info:Ge.info,warning:Ge.warning,error:Ge.error,custom:Ge.custom,message:Ge.message,promise:Ge.promise,dismiss:Ge.dismiss,loading:Ge.loading},{getHistory:ok,getToasts:ik});function ak(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))}ak(`: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;
67left: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}
67: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%);
67--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%)}
68`);function ka(e){return e.label!==void 0}var sk=3,lk="32px",uk="16px",zh=4e3,ck=356,dk=14,fk=20,hk=200;function St(...e){return e.filter(Boolean).join(" ")}function pk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var mk=e=>{var t,n,r,o,i,a,s,l,u,c,f;let{invert:p,toast:h,unstyled:b,interacting:v,setHeights:x,visibleToasts:y,heights:m,index:w,toasts:k,expanded:S,removeToast:E,defaultRichColors:P,closeButton:_,style:O,cancelButtonStyle:D,actionButtonStyle:$,className:I="",descriptionClassName:G="",duration:A,position:Q,gap:B,loadingIcon:M,expandByDefault:C,classNames:T,icons:L,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:z}
vendor: 8,211 bytes, line 68
68=e,[q,X]=R.useState(null),[be,De]=R.useState(null),[te,Ar]=R.useState(!1),[wn,sr]=R.useState(!1),[xn,Lr]=R.useState(!1),[bn,ea]=R.useState(!1),[fl,ta]=R.useState(!1),[hl,Bo]=R.useState(0),[Ir,lf]=R.useState(0),Vo=R.useRef(h.duration||A||zh),uf=R.useRef(null),lr=R.useRef(null),K0=w===0,X0=w+1<=y,ct=h.type,Fr=h.dismissible!==!1,J0=h.className||"",Z0=h.descriptionClassName||"",na=R.useMemo(()=>m.findIndex(U=>U.toastId===h.id)||0,[m,h.id]),ew=R.useMemo(()=>{var U;return(U=h.closeButton)!=null?U:_},[h.closeButton,_]),cf=R.useMemo(()=>h.duration||A||zh,[h.duration,A]),pl=R.useRef(0),zr=R.useRef(0),df=R.useRef(0),$r=R.useRef(null),[tw,nw]=Q.split("-"),ff=R.useMemo(()=>m.reduce((U,ie,de)=>de>=na?U:U+ie.height,0),[m,na]),hf=Zb(),rw=h.invert||p,ml=ct==="loading";zr.current=R.useMemo(()=>na*B+ff,[na,ff]),R.useEffect(()=>{Vo.current=cf},[cf]),R.useEffect(()=>{Ar(!0)},[]),R.useEffect(()=>{let U=lr.current;if(U){let ie=U.getBoundingClientRect().height;return lf(ie),x(de=>[{toastId:h.id,height:ie,position:h.position},...de]),()=>x(de=>de.filter(wt=>wt.toastId!==h.id))}},[x,h.id]),R.useLayoutEffect(()=>{if(!te)return;let U=lr.current,ie=U.style.height;U.style.height="auto";let de=U.getBoundingClientRect().height;U.style.height=ie,lf(de),x(wt=>wt.find(xt=>xt.toastId===h.id)?wt.map(xt=>xt.toastId===h.id?{...xt,height:de}:xt):[{toastId:h.id,height:de,position:h.position},...wt])},[te,h.title,h.description,x,h.id]);let kn=R.useCallback(()=>{sr(!0),Bo(zr.current),x(U=>U.filter(ie=>ie.toastId!==h.id)),setTimeout(()=>{E(h)},hk)},[h,E,x,zr]);R.useEffect(()=>{if(h.promise&&ct==="loading"||h.duration===1/0||h.type==="loading")return;let U;return S||v||z&&hf?(()=>{if(df.current<pl.current){let ie=new Date().getTime()-pl.current;Vo.current=Vo.current-ie}df.current=new Date().getTime()})():Vo.current!==1/0&&(pl.current=new Date().getTime(),U=setTimeout(()=>{var ie;(ie=h.onAutoClose)==null||ie.call(h,h),kn()},Vo.current)),()=>clearTimeout(U)},[S,v,h,ct,z,hf,kn]),R.useEffect(()=>{h.delete&&kn()},[kn,h.delete]);function ow(){var U,ie,de;return L!=null&&L.loading?R.createElement("div",{className:St(T==null?void 0:T.loader,(U=h==null?void 0:h.classNames)==null?void 0:U.loader,"sonner-loader"),"data-visible":ct==="loading"},L.loading):M?R.createElement("div",{className:St(T==null?void 0:T.loader,(ie=h==null?void 0:h.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":ct==="loading"},M):R.createElement(Gb,{className:St(T==null?void 0:T.loader,(de=h==null?void 0:h.classNames)==null?void 0:de.loader),visible:ct==="loading"})}return R.createElement("li",{tabIndex:0,ref:lr,className:St(I,J0,T==null?void 0:T.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[ct],(n=h==null?void 0:h.classNames)==null?void 0:n[ct]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:P,"data-styled":!(h.jsx||h.unstyled||b),"data-mounted":te,"data-promise":!!h.promise,"data-swiped":fl,"data-removed":wn,"data-visible":X0,"data-y-position":tw,"data-x-position":nw,"data-index":w,"data-front":K0,"data-swiping":xn,"data-dismissible":Fr,"data-type":ct,"data-invert":rw,"data-swipe-out":bn,"data-swipe-direction":be,"data-expanded":!!(S||C&&te),style:{"--index":w,"--toasts-before":w,"--z-index":k.length-w,"--offset":`${wn?hl:zr.current}px`,"--initial-height":C?"auto":`${Ir}px`,...O,...h.style},onDragEnd:()=>{Lr(!1),X(null),$r.current=null},onPointerDown:U=>{ml||!Fr||(uf.current=new Date,Bo(zr.current),U.target.setPointerCapture(U.pointerId),U.target.tagName!=="BUTTON"&&(Lr(!0),$r.current={x:U.clientX,y:U.clientY}))},onPointerUp:()=>{var U,ie,de,wt;if(bn||!Fr)return;$r.current=null;let xt=Number(((U=lr.current)==null?void 0:U.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Sn=Number(((ie=lr.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),ur=new Date().getTime()-((de=uf.current)==null?void 0:de.getTime()),bt=q==="x"?xt:Sn,Cn=Math.abs(bt)/ur;if(Math.abs(bt)>=fk||Cn>.11){Bo(zr.current),(wt=h.onDismiss)==null||wt.call(h,h),De(q==="x"?xt>0?"right":"left":Sn>0?"down":"up"),kn(),ea(!0),ta(!1);return}Lr(!1),X(null)},onPointerMove:U=>{var ie,de,wt,xt;if(!$r.current||!Fr||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let Sn=U.clientY-$r.current.y,ur=U.clientX-$r.current.x,bt=(de=e.swipeDirections)!=null?de:pk(Q);!q&&(Math.abs(ur)>1||Math.abs(Sn)>1)&&X(Math.abs(ur)>Math.abs(Sn)?"x":"y");let Cn={x:0,y:0};q==="y"?(bt.includes("top")||bt.includes("bottom"))&&(bt.includes("top")&&Sn<0||bt.includes("bottom")&&Sn>0)&&(Cn.y=Sn):q==="x"&&(bt.includes("left")||bt.includes("right"))&&(bt.includes("left")&&ur<0||bt.includes("right")&&ur>0)&&(Cn.x=ur),(Math.abs(Cn.x)>0||Math.abs(Cn.y)>0)&&ta(!0),(wt=lr.current)==null||wt.style.setProperty("--swipe-amount-x",`${Cn.x}px`),(xt=lr.current)==null||xt.style.setProperty("--swipe-amount-y",`${Cn.y}px`)}},ew&&!h.jsx?R.createElement("button",{"aria-label":V,"data-disabled":ml,"data-close-button":!0,onClick:ml||!Fr?()=>{}:()=>{var U;kn(),(U=h.onDismiss)==null||U.call(h,h)},className:St(T==null?void 0:T.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=L==null?void 0:L.close)!=null?i:Jb):null,h.jsx||g.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:R.createElement(R.Fragment,null,ct||h.icon||h.promise?R.createElement("div",{"data-icon":"",className:St(T==null?void 0:T.icon,(a=h==null?void 0:h.classNames)==null?void 0:a.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||ow():null,h.type!=="loading"?h.icon||(L==null?void 0:L[ct])||Hb(ct):null):null,R.createElement("div",{"data-content":"",className:St(T==null?void 0:T.content,(s=h==null?void 0:h.classNames)==null?void 0:s.content)},R.createElement("div",{"data-title":"",className:St(T==null?void 0:T.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?R.createElement("div",{"data-description":"",className:St(G,Z0,T==null?void 0:T.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),g.isValidElement(h.cancel)?h.cancel:h.cancel&&ka(h.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||D,onClick:U=>{var ie,de;ka(h.cancel)&&Fr&&((de=(ie=h.cancel).onClick)==null||de.call(ie,U),kn())},className:St(T==null?void 0:T.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,g.isValidElement(h.action)?h.action:h.action&&ka(h.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||$,onClick:U=>{var ie,de;ka(h.action)&&((de=(ie=h.action).onClick)==null||de.call(ie,U),!U.defaultPrevented&&kn())},className:St(T==null?void 0:T.actionButton,(f=h==null?void 0:h.classNames)==null?void 0:f.actionButton)},h.action.label):null))};function $h(){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 vk(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,a=i?"--mobile-offset":"--offset",s=i?uk:lk;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${a}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=s:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(s)}),n}var gk=g.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:a,className:s,offset:l,mobileOffset:u,theme:c="light",richColors:f,duration:p,style:h,visibleToasts:b=sk,toastOptions:v,dir:x=$h(),gap:y=dk,loadingIcon:m,icons:w,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[E,P]=R.useState([]),_=R.useMemo(()=>Array.from(new Set([r].concat(E.filter(z=>z.position).map(z=>z.position)))),[E,r]),[O,D]=R.useState([]),[$,I]=R.useState(!1),[G,A]=R.useState(!1),[Q,B]=R.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
68k":"light"),M=R.useRef(null),C=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=R.useRef(null),L=R.useRef(!1),V=R.useCallback(z=>{P(q=>{var X;return(X=q.find(be=>be.id===z.id))!=null&&X.delete||Ge.dismiss(z.id),q.filter(({id:be})=>be!==z.id)})},[]);return R.useEffect(()=>Ge.subscribe(z=>{if(z.dismiss){P(q=>q.map(X=>X.id===z.id?{...X,delete:!0}:X));return}setTimeout(()=>{eg.flushSync(()=>{P(q=>{let X=q.findIndex(be=>be.id===z.id);return X!==-1?[...q.slice(0,X),{...q[X],...z},...q.slice(X+1)]:[z,...q]})})})}),[]),R.useEffect(()=>{if(c!=="system"){B(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?B("dark"):B("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:q})=>{B(q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{B(X?"dark":"light")}catch(be){console.error(be)}})}},[c]),R.useEffect(()=>{E.length<=1&&I(!1)},[E]),R.useEffect(()=>{let z=q=>{var X,be;o.every(De=>q[De]||q.code===De)&&(I(!0),(X=M.current)==null||X.focus()),q.code==="Escape"&&(document.activeElement===M.current||(be=M.current)!=null&&be.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),R.useEffect(()=>{if(M.current)return()=>{T.current&&(T.current.focus({preventScroll:!0}),T.current=null,L.current=!1)}},[M.current]),R.createElement("section",{ref:t,"aria-label":`${k} ${C}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((z,q)=>{var X;let[be,De]=z.split("-");return E.length?R.createElement("ol",{key:z,dir:x==="auto"?$h():x,tabIndex:-1,ref:M,className:s,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":be,"data-lifted":$&&E.length>1&&!i,"data-x-position":De,style:{"--front-toast-height":`${((X=O[0])==null?void 0:X.height)||0}px`,"--width":`${ck}px`,"--gap":`${y}px`,...h,...vk(l,u)},onBlur:te=>{L.current&&!te.currentTarget.contains(te.relatedTarget)&&(L.current=!1,T.current&&(T.current.focus({preventScroll:!0}),T.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L.current||(L.current=!0,T.current=te.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{G||I(!1)},onDragEnd:()=>I(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},E.filter(te=>!te.position&&q===0||te.position===z).map((te,Ar)=>{var wn,sr;return R.createElement(mk,{key:te.id,icons:w,index:Ar,toast:te,defaultRichColors:f,duration:(wn=v==null?void 0:v.duration)!=null?wn:p,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:b,closeButton:(sr=v==null?void 0:v.closeButton)!=null?sr:a,interacting:G,position:z,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:V,toasts:E.filter(xn=>xn.position==te.position),heights:O.filter(xn=>xn.position==te.position),setHeights:D,expandByDefault:i,gap:y,loadingIcon:m,expanded:$,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const yk=({...e})=>{const{theme:t="system"}=Ub();return d.jsx(gk,{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})},wk=1,xk=1e6;let Ul=0;function bk(){return Ul=(Ul+1)%Number.MAX_SAFE_INTEGER,Ul.toString()}const Hl=new Map,Wh=e=>{if(Hl.has(e))return;const t=setTimeout(()=>{Hl.delete(e),mi({type:"REMOVE_TOAST",toastId:e})},xk);Hl.set(e,t)},kk=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,wk)};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;
68return n?Wh(n):e.toasts.forEach(r=>{Wh(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)}}},Ba=[];let Va={toasts:[]};function mi(e){Va=kk(Va,e),Ba.forEach(t=>{t(Va)})}function Sk({...e}){const t=bk(),n=o=>mi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>mi({type:"DISMISS_TOAST",toastId:t});return mi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Ck(){const[e,t]=g.useState(Va);return g.useEffect(()=>(Ba.push(t),()=>{const n=Ba.indexOf(t);n>-1&&Ba.splice(n,1)}),[e]),{...e,toast:Sk,dismiss:n=>mi({type:"DISMISS_TOAST",toastId:n})}}function re(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 Bh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yg(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Bh(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():Bh(e[o],null)}}}}function Me(...e){return g.useCallback(yg(...e),e)}function Ek(e,t){const n=g.createContext(t),r=i=>{const{children:a,...s}=i,l=g.useMemo(()=>s,Object.values(s));return d.jsx(n.Provider,{value:l,children:a})};r.displayName=e+"Provider";function o(i){const a=g.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Fo(e,t=[]){let n=[];function r(i,a){const s=g.createContext(a),l=n.length;n=[...n,a];const u=f=>{var y;const{scope:p,children:h,...b}=f,v=((y=p==null?void 0:p[e])==null?void 0:y[l])||s,x=g.useMemo(()=>b,Object.values(b));return d.jsx(v.Provider,{value:x,children:h})};u.displayName=i+"Provider";function c(f,p){var v;const h=((v=p==null?void 0:p[e])==null?void 0:v[l])||s,b=g.useContext(h);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(a=>g.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return g.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Pk(o,...t)]}function Pk(...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 a=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(i)[`__scope${u}`];return{...s,...f}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function jo(e){const t=Tk(e),n=g.forwardRef((r,o)=>{const{children:i,...a}=r,s=g.Children.toArray(i),l=s.find(jk);if(l){const u=l.props.children,c=s.map(f=>f===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:f);return d.jsx(t,{...a,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,c):null})}return d.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var Nk=jo("Slot");function Tk(e){const t=g.forwardRef((n,r)=>{const{children:o,...i}=n;if(g.isValidElement(o)){const a=Rk(o),s=Mk(i,o.props);return o.type!==g.Fragment&&(s.ref=r?yg(r,a):a),g.cloneElement(o,s)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wg=Symbol("radix.slottable");function _k(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=wg,t}function jk(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wg}function Mk(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]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Rk(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 Dk(e){const t=e+"CollectionProvider",[n,r]=Fo(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:x,children:y}=v,m=R.useRef(null),w=R.useRef(new Map).current;return d.jsx(o,{scope:x,itemMap:w,collectionRef:m,children:y})};a.displayName=t;const s=e+"CollectionSlot",l=jo(s),u=R.forwardRef((v,x)=>{const{scope:y,children:m}=v,w=i(s,y),k=Me(x,w.collectionRef);return d.jsx(l,{ref:k,children:m})});u.displayName=s;const c=e+"CollectionItemSlot",f="data-radix-collection-item",p=jo(c),h=R.forwardRef((v,x)=>{const{scope:y,children:m,...w}=v,k=R.useRef(null),S=Me(x,k),E=i(c,y);return R.useEffect(()=>(E.itemMap.set(k,{ref:k,...w}),()=>
vendor: 9,168 bytes, line 68
68void E.itemMap.delete(k))),d.jsx(p,{[f]:"",ref:S,children:m})});h.displayName=c;function b(v){const x=i(e+"CollectionConsumer",v);return R.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const w=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((E,P)=>w.indexOf(E.ref.current)-w.indexOf(P.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:a,Slot:u,ItemSlot:h},b,r]}var Ok=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ve=Ok.reduce((e,t)=>{const n=jo(`Primitive.${t}`),r=g.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function xg(e,t){e&&Hi.flushSync(()=>e.dispatchEvent(t))}function Xt(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 Ak(e,t=globalThis==null?void 0:globalThis.document){const n=Xt(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 Lk="DismissableLayer",uc="dismissableLayer.update",Ik="dismissableLayer.pointerDownOutside",Fk="dismissableLayer.focusOutside",Vh,bg=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Yi=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=g.useContext(bg),[c,f]=g.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=g.useState({}),b=Me(t,P=>f(P)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(x),m=c?v.indexOf(c):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,k=m>=y,S=$k(P=>{const _=P.target,O=[...u.branches].some(D=>D.contains(_));!k||O||(o==null||o(P),a==null||a(P),P.defaultPrevented||s==null||s())},p),E=Wk(P=>{const _=P.target;[...u.branches].some(D=>D.contains(_))||(i==null||i(P),a==null||a(P),P.defaultPrevented||s==null||s())},p);return Ak(P=>{m===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&s&&(P.preventDefault(),s()))},p),g.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Vh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Uh(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Vh)}},[c,p,n,u]),g.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Uh())},[c,u]),g.useEffect(()=>{const P=()=>h({});return document.addEventListener(uc,P),()=>document.removeEventListener(uc,P)},[]),d.jsx(ve.div,{...l,ref:b,style:{pointerEvents:w?k?"auto":"none":void 0,...e.style},onFocusCapture:re(e.onFocusCapture,E.onFocusCapture),onBlurCapture:re(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:re(e.onPointerDownCapture,S.onPointerDownCapture)})});Yi.displayName=Lk;var zk="DismissableLayerBranch",kg=g.forwardRef((e,t)=>{const n=g.useContext(bg),r=g.useRef(null),o=Me(t,r);return g.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),d.jsx(ve.div,{...e,ref:o})});kg.displayName=zk;function $k(e,t=globalThis==null?void 0:globalThis.document){const n=Xt(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Sg(Ik,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Wk(e,t=globalThis==null?void 0:globalThis.document){const n=Xt(e),r=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!r.current&&Sg(Fk,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 Uh(){const e=new CustomEvent(uc);document.dispatchEvent(e)}function Sg(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?xg(o,i):o.dispatchEvent(i)}var Bk=Yi,Vk=kg,mn=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Uk="Portal",Zs=g.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[o,i]=g.useState(!1);mn(()=>i(!0),[]);const a=n||o&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?eg.createPortal(d.jsx(ve.div,{...r,ref:t}),a):null});Zs.displayName=Uk;function Hk(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var ir=e=>{const{present:t,children:n}=e,r=Yk(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),i=Me(r.ref,Gk(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:i}):null};ir.displayName="Presence";function Yk(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),i=g.useRef("none"),a=e?"mounted":"unmounted",[s,l]=Hk(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=Sa(r.current);i.current=s==="mounted"?u:"none"},[s]),mn(()=>{const u=r.current,c=o.current;if(c!==e){const p=i.current,h=Sa(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),mn(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,f=h=>{const v=Sa(r.current).includes(h.animationName);if(h.target===t&&v&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=h=>{h.target===t&&(i.current=Sa(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Sa(e){return(e==null?void 0:e.animationName)||"none"}function Gk(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 Qk=_c[" useInsertionEffect ".trim().toString()]||mn;function Sd({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=qk({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:o;{const c=g.useRef(e!==void 0);g.useEffect(()=>{const f=c.current;f!==s&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,r])}const u=g.useCallback(c=>{var f;if(s){const p=Kk(c)?c(e):c;p!==e&&((f=a.current)==null||f.call(a,p))}else i(c)},[s,e,i,a]);return[l,u]}function qk({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),i=g.useRef(t);return Qk(()=>{i.current=t},[t]),g.useEffect(()=>{var a;o.current!==n&&((a=i.current)==null||a.call(i,n),o.current=n)},[n,o]),[n,r,i]}function Kk(e){return typeof e=="function"}var Xk=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"}),Jk="VisuallyHidden",el=g.forwardRef((e,t)=>d.jsx(ve.span,{...e,ref:t,style:{...Xk,...e.style}}));el.displayName=Jk;var Zk=el,Cd="ToastProvider",[Ed,eS,tS]=Dk("Toast"),[Cg,kj]=Fo("Toast",[tS]),[nS,tl]=Cg(Cd),Eg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,l]=g.useState(null),[u,c]=g.useState(0),f=g.useRef(!1),p=g.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Cd}\`. Expected non-empty \`string\`.`),d.jsx(Ed.Provider,{scope:t,children:d.jsx(nS,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:s,onViewportChange:l,onToastAdd:g.useCallback(()=>c(h=>h+1),[]),onToastRemove:g.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:a})})};Eg.displayName=Cd;var Pg="ToastViewport",rS=["F8"],cc="toast.viewportPause",dc="toast.viewportResume",Ng=g.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=rS,label:o="Notifications ({hotkey})",...i}=e,a=tl(Pg,n),s=eS(n),l=g.useRef(null),u=g.useRef(null),c=g.useRef(null),f=g.useRef(null),p=Me(t,f,a.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=a.toastCount>0;g.useEffect(()=>{const x=y=>{var w;r.length!==0&&r.every(k=>y[k]||y.code===k)&&((w=f.current)==null||w.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),g.useEffect(()=>{const x=l.current,y=f.current;if(b&&x&&y){const m=()=>{if(!a.isClosePausedRef.current){const E=new CustomEvent(cc);y.dispatchEvent(E),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const E=new CustomEvent(dc);y.dispatchEvent(E),a.isClosePausedRef.current=!1}},k=E=>{!x.contains(E.relatedTarget)&&w()},S=()=>{x.contains(document.activeElement)||w()};return x.addEventListener("focusin",m),x.addEventListener("focusout",k),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",w),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",k),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",w)}}},[b,a.isClosePausedRef]);const v=g.useCallback(({tabbingDirection:x})=>{const m=s().map(w=>{const k=w.ref.current,S=[k,...vS(k)];return x==="forwards"?S:S.reverse()});return(x==="forwards"?m.reverse():m).flat()},[s]);return g.useEffect(()=>{const x=f.current;if(x){const y=m=>{var S,E,P;const w=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!w){const _=document.activeElement,O=m.shiftKey;if(m.target===x&&O){(S=u.current)==null||S.focus();return}const I=v({tabbingDirection:O?"backwards":"forwards"}),G=I.findIndex(A=>A===_);Yl(I.slice(G+1))?m.preventDefault():O?(E=u.current)==null||E.focus():(P=c.current)==null||P.focus()}};return x.addEventListener("keydown",y),()=>x.removeEventListener("keydown",y)}},[s,v]),d.jsxs(Vk,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&d.jsx(fc,{ref:u,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"forwards"});Yl(x)}}),d.jsx(Ed.Slot,{scope:n,children:d.jsx(ve.ol,{tabIndex:-1,...i,ref:p})}),b&&d.jsx(fc,{ref:c,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"backwards"});Yl(x)}})]})});Ng.displayName=Pg;var Tg="ToastFocusProxy",fc=g.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=tl(Tg,n);return d.jsx(el,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const s=a.relatedTarget;!((u=i.viewport)!=null&&u.contains(s))&&r()}})});fc.displayName=Tg;var Gi="Toast",oS="toast.swipeStart",iS="toast.swipeMove",aS="toast.swipeCancel",sS="toast.swipeEnd",_g=g.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s,l]=Sd({prop:r,defaultProp:o??!0,onChange:i,caller:Gi});return d.jsx(ir,{present:n||s,children:d.jsx(cS,{open:s,...a,ref:t,onClose:()=>l(!1),onPause:Xt(e.onPause),onResume:Xt(e.onResume),onSwipeStart:re(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:re(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:re(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:re(e.onSwipeEnd,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});
68_g.displayName=Gi;var[lS,uS]=Cg(Gi,{onClose(){}}),cS=g.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:h,...b}=e,v=tl(Gi,n),[x,y]=g.useState(null),m=Me(t,A=>y(A)),w=g.useRef(null),k=g.useRef(null),S=o||v.duration,E=g.useRef(0),P=g.useRef(S),_=g.useRef(0),{onToastAdd:O,onToastRemove:D}=v,$=Xt(()=>{var Q;(x==null?void 0:x.contains(document.activeElement))&&((Q=v.viewport)==null||Q.focus()),a()}),I=g.useCallback(A=>{!A||A===1/0||(window.clearTimeout(_.current),E.current=new Date().getTime(),_.current=window.setTimeout($,A))},[$]);g.useEffect(()=>{const A=v.viewport;if(A){const Q=()=>{I(P.current),u==null||u()},B=()=>{const M=new Date().getTime()-E.current;P.current=P.current-M,window.clearTimeout(_.current),l==null||l()};return A.addEventListener(cc,B),A.addEventListener(dc,Q),()=>{A.removeEventListener(cc,B),A.removeEventListener(dc,Q)}}},[v.viewport,S,l,u,I]),g.useEffect(()=>{i&&!v.isClosePausedRef.current&&I(S)},[i,S,v.isClosePausedRef,I]),g.useEffect(()=>(O(),()=>D()),[O,D]);const G=g.useMemo(()=>x?Lg(x):null,[x]);return v.viewport?d.jsxs(d.Fragment,{children:[G&&d.jsx(dS,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),d.jsx(lS,{scope:n,onClose:$,children:Hi.createPortal(d.jsx(Ed.ItemSlot,{scope:n,children:d.jsx(Bk,{asChild:!0,onEscapeKeyDown:re(s,()=>{v.isFocusedToastEscapeKeyDownRef.current||$(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(ve.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:re(e.onKeyDown,A=>{A.key==="Escape"&&(s==null||s(A.nativeEvent),A.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:re(e.onPointerDown,A=>{A.button===0&&(w.current={x:A.clientX,y:A.clientY})}),onPointerMove:re(e.onPointerMove,A=>{if(!w.current)return;const Q=A.clientX-w.current.x,B=A.clientY-w.current.y,M=!!k.current,C=["left","right"].includes(v.swipeDirection),T=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,L=C?T(0,Q):0,V=C?0:T(0,B),z=A.pointerType==="touch"?10:2,q={x:L,y:V},X={originalEvent:A,delta:q};M?(k.current=q,Ca(iS,f,X,{discrete:!1})):Hh(q,v.swipeDirection,z)?(k.current=q,Ca(oS,c,X,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(Q)>z||Math.abs(B)>z)&&(w.current=null)}),onPointerUp:re(e.onPointerUp,A=>{const Q=k.current,B=A.target;if(B.hasPointerCapture(A.pointerId)&&B.releasePointerCapture(A.pointerId),k.current=null,w.current=null,Q){const M=A.currentTarget,C={originalEvent:A,delta:Q};Hh(Q,v.swipeDirection,v.swipeThreshold)?Ca(sS,h,C,{discrete:!0}):Ca(aS,p,C,{discrete:!0}),M.addEventListener("click",T=>T.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),dS=e=>{const{__scopeToast:t,children:n,...r}=e,o=tl(Gi,t),[i,a]=g.useState(!1),[s,l]=g.useState(!1);return pS(()=>a(!0)),g.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:d.jsx(Zs,{asChild:!0,children:d.jsx(el,{...r,children:i&&d.jsxs(d.Fragment,{children:[o.label," ",n]})})})},fS="ToastTitle",jg=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(ve.div,{...r,ref:t})});jg.displayName=fS;var hS="ToastDescription",Mg=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(ve.div,{...r,ref:t})});Mg.displayName=hS;var Rg="ToastAction",Dg=g.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?d.jsx(Ag,{altText:n,asChild:!0,children:d.jsx(Pd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Rg}\`. Expected non-empty \`string\`.`),null)});Dg.displayName=Rg;var Og="ToastClose",Pd=g.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=uS(Og,n);return d.jsx(Ag,{asChild:!0,children:d.jsx(ve.button,{type:"button",...r,ref:t,onClick:re(e.onClick,o.onClose)})})});Pd.displayName=Og;var Ag=g.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return d.jsx(ve.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Lg(e){const t=[];
vendor: 9,983 bytes, lines 68-173
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),mS(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Lg(r))}}),t}function Ca(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?xg(o,i):o.dispatchEvent(i)}var Hh=(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 pS(e=()=>{}){const t=Xt(e);mn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function mS(e){return e.nodeType===e.ELEMENT_NODE}function vS(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 Yl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var gS=Eg,Ig=Ng,Fg=_g,zg=jg,$g=Mg,Wg=Dg,Bg=Pd;function Vg(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=Vg(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ug(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Vg(e))&&(r&&(r+=" "),r+=t);return r}const Yh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Gh=Ug,Nd=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Gh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],f=i==null?void 0:i[u];if(c===null)return null;const p=Yh(c)||Yh(f);return o[u][p]}),s=n&&Object.entries(n).reduce((u,c)=>{let[f,p]=c;return p===void 0||(u[f]=p),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:p,...h}=c;return Object.entries(h).every(b=>{let[v,x]=b;return Array.isArray(x)?x.includes({...i,...s}[v]):{...i,...s}[v]===x})?[...u,f,p]:u},[]);return Gh(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const yS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hg=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var wS={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"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const xS=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...s},l)=>g.createElement("svg",{ref:l,...wS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Hg("lucide",o),...s},[...a.map(([u,c])=>g.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const Re=(e,t)=>{const n=g.forwardRef(({className:r,...o},i)=>g.createElement(xS,{ref:i,iconNode:t,className:Hg(`lucide-${yS(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const bS=Re("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const kS=Re("CalendarCheck",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const Qh=Re("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"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const Yg=Re("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const Gg=Re("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const SS=Re("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const Td=Re("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"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const CS=Re("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const ES=Re("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
134 * @license lucide-react v0.462.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const PS=Re("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
139 * @license lucide-react v0.462.0 - ISC
140 *
141 * This source code is licensed under the ISC license.
142 * See the LICENSE file in the root directory of this source tree.
143 */const _d=Re("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"}]]);/**
144 * @license lucide-react v0.462.0 - ISC
145 *
146 * This source code is licensed under the ISC license.
147 * See the LICENSE file in the root directory of this source tree.
148 */const NS=Re("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
149 * @license lucide-react v0.462.0 - ISC
150 *
151 * This source code is licensed under the ISC license.
152 * See the LICENSE file in the root directory of this source tree.
153 */const TS=Re("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
154 * @license lucide-react v0.462.0 - ISC
155 *
156 * This source code is licensed under the ISC license.
157 * See the LICENSE file in the root directory of this source tree.
158 */const _S=Re("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
159 * @license lucide-react v0.462.0 - ISC
160 *
161 * This source code is licensed under the ISC license.
162 * See the LICENSE file in the root directory of this source tree.
163 */const Qg=Re("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
164 * @license lucide-react v0.462.0 - ISC
165 *
166 * This source code is licensed under the ISC license.
167 * See the LICENSE file in the root directory of this source tree.
168 */const qg=Re("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
169 * @license lucide-react v0.462.0 - ISC
170 *
171 * This source code is licensed under the ISC license.
172 * See the LICENSE file in the root directory of this source tree.
173 */const jd=Re("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,853 bytes, line 173
173],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Md="-",jS=e=>{const t=RS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(Md);return s[0]===""&&s.length!==1&&s.shift(),Kg(s,t)||MS(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},Kg=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Kg(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Md);return(a=t.validators.find(({validator:s})=>s(i)))==null?void 0:a.classGroupId},qh=/^\[(.+)\]$/,MS=e=>{if(qh.test(e)){const t=qh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},RS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return OS(Object.entries(e.classGroups),n).forEach(([i,a])=>{hc(a,r,i,t)}),r},hc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Kh(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(DS(o)){hc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{hc(a,Kh(t,i),n,r)})})},Kh=(e,t)=>{let n=e;return t.split(Md).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},DS=e=>e.isThemeGetter,OS=(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(([a,s])=>[t+a,s])):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,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}},Xg="!",LS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,a=s=>{const l=[];let u=0,c=0,f;for(let x=0;x<s.length;x++){let y=s[x];if(u===0){if(y===o&&(r||s.slice(x,x+i)===t)){l.push(s.slice(c,x)),c=x+i;continue}if(y==="/"){f=x;continue}}y==="["?u++:y==="]"&&u--}const p=l.length===0?s:s.substring(c),h=p.startsWith(Xg),b=h?p.substring(1):p,v=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:a}):a},IS=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},FS=e=>({cache:AS(e.cacheSize),parseClassName:LS(e),...jS(e)}),zS=/\s+/,$S=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(zS);let s="";for(let l=a.length-1;l>=0;l-=1){const u=a[l],{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}=n(u);let b=!!h,v=r(b?p.substring(0,h):p);if(!v){if(!b){s=u+(s.length>0?" "+s:s);continue}if(v=r(p),!v){s=u+(s.length>0?" "+s:s);continue}b=!1}const x=IS(c).join(":"),y=f?x+Xg:x,m=y+v;if(i.includes(m))continue;i.push(m);const w=o(v,b);for(let k=0;k<w.length;++k){const S=w[k];i.push(y+S)}s=u+(s.length>0?" "+s:s)}return s};function WS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Jg(t))&&(r&&(r+=" "),r+=n);return r}const Jg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Jg(e[r]))&&(n&&(n+=" "),n+=t);return n};function BS(e,...t){let n,r,o,i=a;function a(l){const u=t.reduce((c,f)=>f(c),e());return n=FS(u),r=n.cache.get,o=n.cache.set,i=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=$S(l,n);return o(l,c),c}return function(){return i(WS.apply(null,arguments))}}const le=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Zg=/^\[(?:([a-z-]+):)?(.+)\]$/i,VS=/^\d+\/\d+$/,US=new Set(["px","full","screen"]),HS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,YS=/\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$/,GS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,QS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tn=e=>fo(e)||US.has(e)||VS.test(e),Pn=e=>zo(e,"length",rC),fo=e=>!!e&&!Number.isNaN(Number(e)),Gl=e=>zo(e,"number",fo),Jo=e=>!!e&&Number.isInteger(Number(e)),KS=e=>e.endsWith("%")&&fo(e.slice(0,-1)),Y=e=>Zg.test(e),Nn=e=>HS.test(e),XS=new Set(["length","size","percentage"]),JS=e=>zo(e,XS,ey),ZS=e=>zo(e,"position",ey),eC=new Set(["image","url"]),tC=e=>zo(e,eC,iC),nC=e=>zo(e,"",oC),Zo=()=>!0,zo=(e,t,n)=>{const r=Zg.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},rC=e=>YS.test(e)&&!GS.test(e),ey=()=>!1,oC=e=>QS.test(e),iC=e=>qS.test(e),aC=()=>{const e=le("colors"),t=le("spacing"),n=le("blur"),r=le("brightness"),o=le("borderColor"),i=le("borderRadius"),a=le("borderSpacing"),s=le("borderWidth"),l=le("contrast"),u=le("grayscale"),c=le("hueRotate"),f=le("invert"),p=le("gap"),h=le("gradientColorStops"),b=le("gradientColorStopPositions"),v=le("inset"),x=le("margin"),y=le("opacity"),m=le("padding"),w=le("saturate"),k=le("scale"),S=le("sepia"),E=le("skew"),P=le("space"),_=le("translate"),O=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",Y,t],I=()=>[Y,t],G=()=>["",tn,Pn],A=()=>["auto",fo,Y],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],M=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],C=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",Y],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[fo,Y];return{cacheSize:500,separator:":",theme:{colors:[Zo],spacing:[tn,Pn],blur:["none","",
vendor: 6,370 bytes, line 173
173Nn,Y],brightness:V(),borderColor:[e],borderRadius:["none","","full",Nn,Y],borderSpacing:I(),borderWidth:G(),contrast:V(),grayscale:T(),hueRotate:V(),invert:T(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[KS,Pn],inset:$(),margin:$(),opacity:V(),padding:I(),saturate:V(),scale:V(),sepia:T(),skew:V(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[Nn]}],"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:[...Q(),Y]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jo,Y]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Jo,Y]}],"grid-cols":[{"grid-cols":[Zo]}],"col-start-end":[{col:["auto",{span:["full",Jo,Y]},Y]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Zo]}],"row-start-end":[{row:["auto",{span:[Jo,Y]},Y]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...C()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...C(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...C(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[Nn]},Nn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nn,Pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Gl]}],"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",Y]}],"line-clamp":[{"line-clamp":["none",fo,Gl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tn,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"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:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",tn,Pn]}],"underline-offset":[{"underline-offset":["auto",tn,Y]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],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",Y]}],"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:[...Q(),ZS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",JS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
173],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 173
173],"divide-style":[{divide:B()}],"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:["",...B()]}],"outline-offset":[{"outline-offset":[tn,Y]}],"outline-w":[{outline:[tn,Pn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[tn,Pn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nn,nC]}],"shadow-color":[{shadow:[Zo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...M(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":M()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nn,Y]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Jo,Y]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],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",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[tn,Pn,Gl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
173none"]}]},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"]}}},sC=BS(aC);function xe(...e){return sC(Ug(e))}const lC=gS,ty=g.forwardRef(({className:e,...t},n)=>d.jsx(Ig,{ref:n,className:xe("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}));ty.displayName=Ig.displayName;const uC=Nd("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"}}),ny=g.forwardRef(({className:e,variant:t,...n},r)=>d.jsx(Fg,{ref:r,className:xe(uC({variant:t}),e),...n}));ny.displayName=Fg.displayName;const cC=g.forwardRef(({className:e,...t},n)=>d.jsx(Wg,{ref:n,className:xe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));cC.displayName=Wg.displayName;const ry=g.forwardRef(({className:e,...t},n)=>d.jsx(Bg,{ref:n,className:xe("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 11,582 bytes, line 173
173/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:d.jsx(jd,{className:"h-4 w-4"})}));ry.displayName=Bg.displayName;const oy=g.forwardRef(({className:e,...t},n)=>d.jsx(zg,{ref:n,className:xe("text-sm font-semibold",e),...t}));oy.displayName=zg.displayName;const iy=g.forwardRef(({className:e,...t},n)=>d.jsx($g,{ref:n,className:xe("text-sm opacity-90",e),...t}));iy.displayName=$g.displayName;function dC(){const{toasts:e}=Ck();return d.jsxs(lC,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return d.jsxs(ny,{...i,children:[d.jsxs("div",{className:"grid gap-1",children:[n&&d.jsx(oy,{children:n}),r&&d.jsx(iy,{children:r})]}),o,d.jsx(ry,{})]},t)}),d.jsx(ty,{})]})}var fC=_c[" useId ".trim().toString()]||(()=>{}),hC=0;function Ua(e){const[t,n]=g.useState(fC());return mn(()=>{e||n(r=>r??String(hC++))},[e]),e||(t?`radix-${t}`:"")}const pC=["top","right","bottom","left"],Zn=Math.min,nt=Math.max,Es=Math.round,Ea=Math.floor,Kt=e=>({x:e,y:e}),mC={left:"right",right:"left",bottom:"top",top:"bottom"},vC={start:"end",end:"start"};function pc(e,t,n){return nt(e,Zn(t,n))}function vn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function $o(e){return e.split("-")[1]}function Rd(e){return e==="x"?"y":"x"}function Dd(e){return e==="y"?"height":"width"}const gC=new Set(["top","bottom"]);function Yt(e){return gC.has(gn(e))?"y":"x"}function Od(e){return Rd(Yt(e))}function yC(e,t,n){n===void 0&&(n=!1);const r=$o(e),o=Od(e),i=Dd(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Ps(a)),[a,Ps(a)]}function wC(e){const t=Ps(e);return[mc(e),t,mc(t)]}function mc(e){return e.replace(/start|end/g,t=>vC[t])}const Xh=["left","right"],Jh=["right","left"],xC=["top","bottom"],bC=["bottom","top"];function kC(e,t,n){switch(e){case"top":case"bottom":return n?t?Jh:Xh:t?Xh:Jh;case"left":case"right":return t?xC:bC;default:return[]}}function SC(e,t,n,r){const o=$o(e);let i=kC(gn(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(mc)))),i}function Ps(e){return e.replace(/left|right|bottom|top/g,t=>mC[t])}function CC(e){return{top:0,right:0,bottom:0,left:0,...e}}function ay(e){return typeof e!="number"?CC(e):{top:e,right:e,bottom:e,left:e}}function Ns(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Zh(e,t,n){let{reference:r,floating:o}=e;const i=Yt(t),a=Od(t),s=Dd(a),l=gn(t),u=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch($o(t)){case"start":h[a]-=p*(n&&u?-1:1);break;case"end":h[a]+=p*(n&&u?-1:1);break}return h}const EC=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Zh(u,r,l),p=r,h={},b=0;for(let v=0;v<s.length;v++){const{name:x,fn:y}=s[v],{x:m,y:w,data:k,reset:S}=await y({x:c,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=m??c,f=w??f,h={...h,[x]:{...h[x],...k}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:c,y:f}=Zh(u,p,l)),v=-1)}return{x:c,y:f,placement:p,strategy:o,middlewareData:h}};async function Ai(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=vn(t,e),b=ay(h),x=s[p?f==="floating"?"reference":"floating":f],y=Ns(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),m=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),k=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},S=Ns(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:w,strategy:l}):m);return{top:(y.top-S.top+b.top)/k.y,bottom:(S.bottom-y.bottom+b.bottom)/k.y,left:(y.left-S.left+b.left)/k.x,right:(S.right-y.right+b.right)/k.x}}const PC=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=vn(e,t)||{};if(u==null)return{};const f=ay(c),p={x:n,y:r},h=Od(o),b=Dd(h),v=await a.getDimensions(u),x=h==="y",y=x?"top":"left",m=x?"bottom":"right",w=x?"clientHeight":"clientWidth",k=i.reference[b]+i.reference[h]-p[h]-i.floating[b],S=p[h]-i.reference[h],E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let P=E?E[w]:0;(!P||!await(a.isElement==null?void 0:a.isElement(E)))&&(P=s.floating[w]||i.floating[b]);const _=k/2-S/2,O=P/2-v[b]/2-1,D=Zn(f[y],O),$=Zn(f[m],O),I=D,G=P-v[b]-$,A=P/2-v[b]/2+_,Q=pc(I,A,G),B=!l.arrow&&$o(o)!=null&&A!==Q&&i.reference[b]/2-(A<I?D:$)-v[b]/2<0,M=B?A<I?A-I:A-G:0;return{[h]:p[h]+M,data:{[h]:Q,centerOffset:A-Q-M,...B&&{alignmentOffset:M}},reset:B}}}),NC=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...x}=vn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=gn(o),m=Yt(s),w=gn(s)===s,k=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=p||(w||!v?[Ps(s)]:wC(s)),E=b!=="none";!p&&E&&S.push(...SC(s,v,b,k));const P=[s,...S],_=await Ai(t,x),O=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&O.push(_[y]),f){const A=yC(o,a,k);O.push(_[A[0]],_[A[1]])}if(D=[...D,{placement:o,overflows:O}],!O.every(A=>A<=0)){var $,I;const A=((($=i.flip)==null?void 0:$.index)||0)+1,Q=P[A];if(Q&&(!(f==="alignment"?m!==Yt(Q):!1)||D.every(C=>C.overflows[0]>0&&Yt(C.placement)===m)))return{data:{index:A,overflows:D},reset:{placement:Q}};let B=(I=D.filter(M=>M.overflows[0]<=0).sort((M,C)=>M.overflows[1]-C.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(h){case"bestFit":{var G;const M=(G=D.filter(C=>{if(E){const T=Yt(C.placement);return T===m||T==="y"}return!0}).map(C=>[C.placement,C.overflows.filter(T=>T>0).reduce((T,L)=>T+L,0)]).sort((C,T)=>C[1]-T[1])[0])==null?void 0:G[0];M&&(B=M);break}case"initialPlacement":B=s;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function ep(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tp(e){return pC.some(t=>e[t]>=0)}const TC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=vn(e,t);switch(r){case"referenceHidden":{const i=await Ai(t,{...o,elementContext:"reference"}),a=ep(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:tp(a)}}}case"escaped":{const i=await Ai(t,{...o,altBoundary:!0}),a=ep(i,n.floating);return{data:{escapedOffsets:a,escaped:tp(a)}}}default:return{}}}}},sy=new Set(["left","top"]);async function _C(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=gn(n),s=$o(n),l=Yt(n)==="y",u=sy.has(a)?-1:1,c=i&&l?-1:1,f=vn(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof b=="number"&&(h=s==="end"?b*-1:b),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const jC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await _C(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},MC=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:a=!1,limiter:s={fn:x=>{let{x:y,y:m}=x;return{x:y,y:m}}},...l}=vn(e,t),u={x:n,y:r},c=await Ai(t,l),f=Yt(gn(o)),p=Rd(f);let h=u[p],b=u[f];if(i){const x=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+c[x],w=h-c[y];h=pc(m,h,w)}if(a){const x=f==="y"?"top":"left",y=f==="y"?"bottom":"right",m=b+c[x],w=b-c[y];b=pc(m,b,w)}const v=s.fn({...t,[p]:h,[f]:b});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[p]:i,[f]:a}}}}}},RC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=vn(e,t),c={x:n,y:r},f=Yt(o),p=Rd(f);let h=c[p],b=c[f];const v=vn(s,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",k=i.reference[p]-i.floating[w]+x.mainAxis,S=i.reference[p]+i.reference[w]-x.mainAxis;h<k?h=k:h>S&&(h=S)}if(u){var y,m;const w=p==="y"?"width":"height",k=sy.has(gn(o)),S=i.reference[f]-i.floating[w]+(k&&((y=a.offset)==null?void 0:y[f])||0)+(k?0:x.crossAxis),E=i.reference[f]+i.reference[w]+(k?0:((m=a.offset)==null?void 0:m[f])||0)-(k?x.crossAxis:0);b<S?b=S:b>E&&(b=E)}return{[p]:h,[f]:b}}}},DC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=vn(e,t),c=await Ai(t,u),f=gn(o),p=$o(o),h=Yt(o)==="y",{width:b,height:v}=i.floating;let x,y;f==="top"||f==="bottom"?(x=f,y=p===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(y=f,x=p==="end"?"top":"bottom");const m=v-c.top-c.bottom,w=b-c.left-c.right,k=Zn(v-c[x],m),S=Zn(b-c[y],w),E=!t.middlewareData.shift;let P=k,_=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=m),E&&!p){const D=nt(c.left,0),$=nt(c.right,0),I=nt(c.top,0),G=nt(c.bottom,0);h?_=b-2*(D!==0||$!==0?D+$:nt(c.left,c.right)):P=v-2*(I!==0||G!==0?I+G:nt(c.top,c.bottom))}await l({...t,availableWidth:_,availableHeight:P});const O=await a.getDimensions(s.floating);return b!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}};function nl(){return typeof window<"u"}function Wo(e){return ly(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function en(e){var t;return(t=(ly(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ly(e){return nl()?e instanceof Node||e instanceof it(e).Node:!1}function Ot(e){return nl()?e instanceof Element||e instanceof it(e).Element:!1}function Jt(e){return nl()?e instanceof HTMLElement||e instanceof it(e).HTMLElement:!1}function np(e){return!nl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}const OC=new Set(["inline","contents"]);function Qi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);
vendor: 4,121 bytes, line 173
173return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!OC.has(o)}const AC=new Set(["table","td","th"]);function LC(e){return AC.has(Wo(e))}const IC=[":popover-open",":modal"];function rl(e){return IC.some(t=>{try{return e.matches(t)}catch{return!1}})}const FC=["transform","translate","scale","rotate","perspective"],zC=["transform","translate","scale","rotate","perspective","filter"],$C=["paint","layout","strict","content"];function Ad(e){const t=Ld(),n=Ot(e)?At(e):e;return FC.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)||zC.some(r=>(n.willChange||"").includes(r))||$C.some(r=>(n.contain||"").includes(r))}function WC(e){let t=er(e);for(;Jt(t)&&!Mo(t);){if(Ad(t))return t;if(rl(t))return null;t=er(t)}return null}function Ld(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const BC=new Set(["html","body","#document"]);function Mo(e){return BC.has(Wo(e))}function At(e){return it(e).getComputedStyle(e)}function ol(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if(Wo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||np(e)&&e.host||en(e);return np(t)?t.host:t}function uy(e){const t=er(e);return Mo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jt(t)&&Qi(t)?t:uy(t)}function Li(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=uy(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=it(o);if(i){const s=vc(a);return t.concat(a,a.visualViewport||[],Qi(o)?o:[],s&&n?Li(s):[])}return t.concat(o,Li(o,[],n))}function vc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cy(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Jt(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Es(n)!==i||Es(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Id(e){return Ot(e)?e:e.contextElement}function ho(e){const t=Id(e);if(!Jt(t))return Kt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=cy(t);let a=(i?Es(n.width):n.width)/r,s=(i?Es(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const VC=Kt(0);function dy(e){const t=it(e);return!Ld()||!t.visualViewport?VC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function UC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==it(e)?!1:t}function _r(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Id(e);let a=Kt(1);t&&(r?Ot(r)&&(a=ho(r)):a=ho(e));const s=UC(i,n,r)?dy(i):Kt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,f=o.height/a.y;if(i){const p=it(i),h=r&&Ot(r)?it(r):r;let b=p,v=vc(b);for(;v&&r&&h!==b;){const x=ho(v),y=v.getBoundingClientRect(),m=At(v),w=y.left+(v.clientLeft+parseFloat(m.paddingLeft))*x.x,k=y.top+(v.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,f*=x.y,l+=w,u+=k,b=it(v),v=vc(b)}}return Ns({width:c,height:f,x:l,y:u})}function Fd(e,t){const n=ol(e).scrollLeft;return t?t.left+n:_r(en(e)).left+n}function fy(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Fd(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function HC(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=en(r),s=t?rl(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Kt(1);const c=Kt(0),f=Jt(r);if((f||!f&&!i)&&((Wo(r)!=="body"||Qi(a))&&(l=ol(r)),Jt(r))){const h=_r(r);u=ho(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const p=a&&!f&&!i?fy(a,l,!0):Kt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function YC(e){return Array.from(e.getClientRects())}function GC(e){const t=en(e),n=ol(e),r=e.ownerDocument.body,o=nt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=nt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Fd(e);const s=-n.scrollTop;return At(r).direction==="rtl"&&(a+=nt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}
vendor: 13,446 bytes, line 173
173function QC(e,t){const n=it(e),r=en(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Ld();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}const qC=new Set(["absolute","fixed"]);function KC(e,t){const n=_r(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Jt(e)?ho(e):Kt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function rp(e,t,n){let r;if(t==="viewport")r=QC(e,n);else if(t==="document")r=GC(en(e));else if(Ot(t))r=KC(t,n);else{const o=dy(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ns(r)}function hy(e,t){const n=er(e);return n===t||!Ot(n)||Mo(n)?!1:At(n).position==="fixed"||hy(n,t)}function XC(e,t){const n=t.get(e);if(n)return n;let r=Li(e,[],!1).filter(s=>Ot(s)&&Wo(s)!=="body"),o=null;const i=At(e).position==="fixed";let a=i?er(e):e;for(;Ot(a)&&!Mo(a);){const s=At(a),l=Ad(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&qC.has(o.position)||Qi(a)&&!l&&hy(e,a))?r=r.filter(c=>c!==a):o=s,a=er(a)}return t.set(e,r),r}function JC(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?rl(t)?[]:XC(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,c)=>{const f=rp(t,c,o);return u.top=nt(f.top,u.top),u.right=Zn(f.right,u.right),u.bottom=Zn(f.bottom,u.bottom),u.left=nt(f.left,u.left),u},rp(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ZC(e){const{width:t,height:n}=cy(e);return{width:t,height:n}}function eE(e,t,n){const r=Jt(t),o=en(t),i=n==="fixed",a=_r(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Kt(0);function u(){l.x=Fd(o)}if(r||!r&&!i)if((Wo(t)!=="body"||Qi(o))&&(s=ol(t)),r){const h=_r(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?fy(o,s):Kt(0),f=a.left+s.scrollLeft-l.x-c.x,p=a.top+s.scrollTop-l.y-c.y;return{x:f,y:p,width:a.width,height:a.height}}function Ql(e){return At(e).position==="static"}function op(e,t){if(!Jt(e)||At(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return en(e)===n&&(n=n.ownerDocument.body),n}function py(e,t){const n=it(e);if(rl(e))return n;if(!Jt(e)){let o=er(e);for(;o&&!Mo(o);){if(Ot(o)&&!Ql(o))return o;o=er(o)}return n}let r=op(e,t);for(;r&&LC(r)&&Ql(r);)r=op(r,t);return r&&Mo(r)&&Ql(r)&&!Ad(r)?n:r||WC(e)||n}const tE=async function(e){const t=this.getOffsetParent||py,n=this.getDimensions,r=await n(e.floating);return{reference:eE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function nE(e){return At(e).direction==="rtl"}const rE={convertOffsetParentRelativeRectToViewportRelativeRect:HC,getDocumentElement:en,getClippingRect:JC,getOffsetParent:py,getElementRects:tE,getClientRects:YC,getDimensions:ZC,getScale:ho,isElement:Ot,isRTL:nE};function my(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oE(e,t){let n=null,r;const o=en(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:h}=u;if(s||t(),!p||!h)return;const b=Ea(f),v=Ea(o.clientWidth-(c+p)),x=Ea(o.clientHeight-(f+h)),y=Ea(c),w={rootMargin:-b+"px "+-v+"px "+-x+"px "+-y+"px",threshold:nt(0,Zn(1,l))||1};let k=!0;function S(E){const P=E[0].intersectionRatio;if(P!==l){if(!k)return a();P?a(!1,P):r=setTimeout(()=>{a(!1,1e-7)},1e3)}P===1&&!my(u,e.getBoundingClientRect())&&a(),k=!1}try{n=new IntersectionObserver(S,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return a(!0),i}function iE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Id(e),c=o||i?[...u?Li(u):[],...Li(t)]:[];c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&s?oE(u,n):null;let p=-1,h=null;a&&(h=new ResizeObserver(y=>{let[m]=y;m&&m.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let b,v=l?_r(e):null;l&&x();function x(){const y=_r(e);v&&!my(v,y)&&n(),v=y,b=requestAnimationFrame(x)}return n(),()=>{var y;c.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),f==null||f(),(y=h)==null||y.disconnect(),h=null,l&&cancelAnimationFrame(b)}}const aE=jC,sE=MC,lE=NC,uE=DC,cE=TC,ip=PC,dE=RC,fE=(e,t,n)=>{const r=new Map,o={platform:rE,...n},i={...o.platform,_c:r};return EC(e,t,{...o,platform:i})};var hE=typeof document<"u",pE=function(){},Ha=hE?g.useLayoutEffect:pE;function Ts(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ts(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)&&!Ts(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vy(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ap(e,t){const n=vy(e);return Math.round(t*n)/n}function ql(e){const t=g.useRef(e);return Ha(()=>{t.current=e}),t}function mE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,f]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=g.useState(r);Ts(p,r)||h(r);const[b,v]=g.useState(null),[x,y]=g.useState(null),m=g.useCallback(C=>{C!==E.current&&(E.current=C,v(C))},[]),w=g.useCallback(C=>{C!==P.current&&(P.current=C,y(C))},[]),k=i||b,S=a||x,E=g.useRef(null),P=g.useRef(null),_=g.useRef(c),O=l!=null,D=ql(l),$=ql(o),I=ql(u),G=g.useCallback(()=>{if(!E.current||!P.current)return;const C={placement:t,strategy:n,middleware:p};$.current&&(C.platform=$.current),fE(E.current,P.current,C).then(T=>{const L={...T,isPositioned:I.current!==!1};A.current&&!Ts(_.current,L)&&(_.current=L,Hi.flushSync(()=>{f(L)}))})},[p,t,n,$,I]);Ha(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,f(C=>({...C,isPositioned:!1})))},[u]);const A=g.useRef(!1);Ha(()=>(A.current=!0,()=>{A.current=!1}),[]),Ha(()=>{if(k&&(E.current=k),S&&(P.current=S),k&&S){if(D.current)return D.current(k,S,G);G()}},[k,S,G,D,O]);const Q=g.useMemo(()=>({reference:E,floating:P,setReference:m,setFloating:w}),[m,w]),B=g.useMemo(()=>({reference:k,floating:S}),[k,S]),M=g.useMemo(()=>{const C={position:n,left:0,top:0};if(!B.floating)return C;const T=ap(B.floating,c.x),L=ap(B.floating,c.y);return s?{...C,transform:"translate("+T+"px, "+L+"px)",...vy(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:T,top:L}},[n,s,B.floating,c.x,c.y]);return g.useMemo(()=>({...c,update:G,refs:Q,elements:B,floatingStyles:M}),[c,G,Q,B,M])}const vE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ip({element:r.current,padding:o}).fn(n):{}:r?ip({element:r,padding:o}).fn(n):{}}}},gE=(e,t)=>({...aE(e),options:[e,t]}),yE=(e,t)=>({...sE(e),options:[e,t]}),wE=(e,t)=>({...dE(e),options:[e,t]}),xE=(e,t)=>({...lE(e),options:[e,t]}),bE=(e,t)=>({...uE(e),options:[e,t]}),kE=(e,t)=>({...cE(e),options:[e,t]}),SE=(e,t)=>({...vE(e),options:[e,t]});var CE="Arrow",gy=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.jsx(ve.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});gy.displayName=CE;var EE=gy;function PE(e){const[t,n]=g.useState(void 0);return mn(()=>{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 a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var zd="Popper",[yy,il]=Fo(zd),[NE,wy]=yy(zd),xy=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return d.jsx(NE,{scope:t,anchor:r,onAnchorChange:o,children:n})};xy.displayName=zd;var by="PopperAnchor",ky=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=wy(by,n),a=g.useRef(null),s=Me(t,a);return g.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.jsx(ve.div,{...o,ref:s})});ky.displayName=by;var $d="PopperContent",[TE,_E]=yy($d),Sy=g.forwardRef((e,t)=>{var te,Ar,wn,sr,xn,Lr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:b,...v}=e,x=wy($d,n),[y,m]=g.useState(null),w=Me(t,bn=>m(bn)),[k,S]=g.useState(null),E=PE(k),P=(E==null?void 0:E.width)??0,_=(E==null?void 0:E.height)??0,O=r+(i!=="center"?"-"+i:""),D=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},$=Array.isArray(u)?u:[u],I=$.length>0,G={padding:D,boundary:$.filter(ME),altBoundary:I},{refs:A,floatingStyles:Q,placement:B,isPositioned:M,middlewareData:C}=mE({strategy:"fixed",placement:O,whileElementsMounted:(...bn)=>iE(...bn,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[gE({mainAxis:o+_,alignmentAxis:a}),l&&yE({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?wE():void 0,...G}),l&&xE({...G}),bE({...G,apply:({elements:bn,rects:ea,availableWidth:fl,availableHeight:ta})=>{const{width:hl,height:Bo}=ea.reference,Ir=bn.floating.style;Ir.setProperty("--radix-popper-available-width",`${fl}px`),Ir.setProperty("--radix-popper-available-height",`${ta}px`),Ir.setProperty("--radix-popper-anchor-width",`${hl}px`),Ir.setProperty("--radix-popper-anchor-height",`${Bo}px`)}}),k&&SE({element:k,padding:s}),RE({arrowWidth:P,arrowHeight:_}),p&&kE({strategy:"referenceHidden",...G})]}),[T,L]=Py(B),V=Xt(b);mn(()=>{M&&(V==null||V())},[M,V]);const z=(te=C.arrow)==null?void 0:te.x,q=(Ar=C.arrow)==null?void 0:Ar.y,X=((wn=C.arrow)==null?void 0:wn.centerOffset)!==0,[be,De]=g.useState();return mn(()=>{y&&De(window.getComputedStyle(y).zIndex)},[y]),d.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:M?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:be,"--radix-popper-transform-origin":[(sr=C.transformOrigin)==null?void 0:sr.x,(xn=C.transformOrigin)==null?void 0:xn.y].join(" "),...((Lr=C.hide)==null?void 0:Lr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(TE,{scope:n,placedSide:T,onArrowChange:S,arrowX:z,arrowY:q,shouldHideArrow:X,children:d.jsx(ve.div,{"data-side":T,"data-align":L,...v,ref:w,style:{...v.style,animation:M?void 0:"none"}})})})});Sy.displayName=$d;var Cy="PopperArrow",jE={top:"bottom",right:"left",bottom:"top",left:"right"},Ey=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=_E(Cy,r),a=jE[i.placedSide];return d.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]: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:d.jsx(EE,{...o,ref:n,style:{...o.style,display:"block"}})})});Ey.displayName=Cy;function ME(e){return e!==null}var RE=e=>({name:"transformOrigin",options:e,fn(t){var x,y,m;const{placement:n,rects:r,middlewareData:o}=t,a=((x=o.arrow)==null?void 0:x.centerOffset)!==0,s=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,c]=Py(n),f={start:"0%",center:"50%",end:"100%"}[c],p=(((y=o.arrow)==null?void 0:y.x)??0)+s/2,h=(((m=o.arrow)==null?void 0:m.y)??0)+l/2;let b="",v="";return u==="bottom"?(b=a?f:`${p}px`,v=`${-l}px`):u==="top"?(b=a?f:`${p}px`,v=`${r.floating.height+l}px`):u==="right"?(b=`${-l}px`,v=a?f:`${h}px`):u==="left"&&(b=`${r.floating.width+l}px`,v=a?f:`${h}px`),{data:{x:b,y:v}}}});function Py(e){const[t,n="center"]=e.split("-");return[t,n]}var DE=xy,Wd=ky,Ny=Sy,Ty=Ey,[al,Sj]=Fo("Tooltip",[il]),Bd=il(),_y="TooltipProvider",OE=700,sp="tooltip.open",[AE,jy]=al(_y),My=e=>{const{__scopeTooltip:t,delayDuration:n=OE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,a=g.useRef(!0),s=g.useRef(!1),l=g.useRef(0);return g.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),d.jsx(AE,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:g.useCallback(u=>{s.current=u},[]),disableHoverableContent:o,children:i})};My.displayName=_y;var Ry="Tooltip",[Cj,sl]=al(Ry),gc="TooltipTrigger",LE=g.forwardRef((e,t)=>
vendor: 5,599 bytes, line 173
173{const{__scopeTooltip:n,...r}=e,o=sl(gc,n),i=jy(gc,n),a=Bd(n),s=g.useRef(null),l=Me(t,s,o.onTriggerChange),u=g.useRef(!1),c=g.useRef(!1),f=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),d.jsx(Wd,{asChild:!0,...a,children:d.jsx(ve.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:re(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:re(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:re(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:re(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:re(e.onBlur,o.onClose),onClick:re(e.onClick,o.onClose)})})});LE.displayName=gc;var IE="TooltipPortal",[Ej,FE]=al(IE,{forceMount:void 0}),Ro="TooltipContent",Dy=g.forwardRef((e,t)=>{const n=FE(Ro,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=sl(Ro,e.__scopeTooltip);return d.jsx(ir,{present:r||a.open,children:a.disableHoverableContent?d.jsx(Oy,{side:o,...i,ref:t}):d.jsx(zE,{side:o,...i,ref:t})})}),zE=g.forwardRef((e,t)=>{const n=sl(Ro,e.__scopeTooltip),r=jy(Ro,e.__scopeTooltip),o=g.useRef(null),i=Me(t,o),[a,s]=g.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:f}=r,p=g.useCallback(()=>{s(null),f(!1)},[f]),h=g.useCallback((b,v)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},m=UE(y,x.getBoundingClientRect()),w=HE(y,m),k=YE(v.getBoundingClientRect()),S=QE([...w,...k]);s(S),f(!0)},[f]);return g.useEffect(()=>()=>p(),[p]),g.useEffect(()=>{if(l&&c){const b=x=>h(x,c),v=x=>h(x,l);return l.addEventListener("pointerleave",b),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",b),c.removeEventListener("pointerleave",v)}}},[l,c,h,p]),g.useEffect(()=>{if(a){const b=v=>{const x=v.target,y={x:v.clientX,y:v.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),w=!GE(y,a);m?p():w&&(p(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,c,a,u,p]),d.jsx(Oy,{...e,ref:i})}),[$E,WE]=al(Ry,{isInside:!1}),BE=_k("TooltipContent"),Oy=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=sl(Ro,n),u=Bd(n),{onClose:c}=l;return g.useEffect(()=>(document.addEventListener(sp,c),()=>document.removeEventListener(sp,c)),[c]),g.useEffect(()=>{if(l.trigger){const f=p=>{const h=p.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),d.jsx(Yi,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:d.jsxs(Ny,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.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:[d.jsx(BE,{children:r}),d.jsx($E,{scope:n,isInside:!0,children:d.jsx(Zk,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Dy.displayName=Ro;var Ay="TooltipArrow",VE=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Bd(n);return WE(Ay,n).isInside?null:d.jsx(Ty,{...o,...r,ref:t})});VE.displayName=Ay;function UE(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 HE(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 YE(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 GE(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],u=s.x,c=s.y,f=l.x,p=l.y;c>r!=p>r&&n<(f-u)*(r-c)/(p-c)+u&&(o=!o)}return o}function QE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),qE(t)}function qE(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],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.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],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.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 KE=My,Ly=Dy;const XE=KE,JE=g.forwardRef(({className:e,sideOffset:t=4,...n},r)=>d.jsx(Ly,{ref:r,sideOffset:t,className:xe("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]:sli
173de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));JE.displayName=Ly.displayName;const ZE={en:"English",it:"Italiano",de:"Deutsch",es:"Español",fr:"Français"},e2={en:"🇬🇧",it:"🇮🇹",de:"🇩🇪",es:"🇪🇸",fr:"🇫🇷"},Ya={en:{"nav.suites":"Suites","nav.tours":"Tours","nav.reviews":"Reviews","nav.contact":"Contact","hero.eyebrow":"Boutique B&B in the heart of Verona","hero.title":"Your story in Verona starts here","hero.subtitle":"Four unique suites, each with its own character. Discover Verona at your own pace — it's up to you.","hero.cta":"Explore our suites","courtyard.eyebrow":"Our Home","courtyard.title":"A courtyard between the hills and the city","courtyard.p1":"Our four apartments share a lovely private courtyard, in a quiet residential building just minutes from Verona's historic centre. Surrounded by greenery and with the hills right at your doorstep, it's the perfect balance between nature and city life.","courtyard.p2":"Each suite has its own entrance from the courtyard, offering both privacy and the warmth of a shared, intimate space. It's the kind of place where mornings start with coffee in the sun and evenings end with a glass of Valpolicella under the stars.","courtyard.garden.eyebrow":"The Garden","courtyard.garden.title":"A secret garden behind the gates","courtyard.garden.desc":"Beyond the wrought-iron gate lies a lush private garden — a hidden gem with flowering plants, fruit trees, and a charming bell tower peeking through the greenery. The perfect spot for a quiet morning coffee or an afternoon with a good book.","suites.eyebrow":"Our Suites","suites.title":"Four suites, four stories","suites.courtyard.desc":"A direct view over the tree-lined courtyard. A quiet, intimate space to come home to after exploring Verona.","suites.courtyard.details":"King bed · Courtyard view · Parking available","suites.garden.desc":"A separate bedroom and a cosy living room with sofa bed, all opening through French doors onto a large private garden. A small balcony overlooking the garden is the perfect spot for breakfast in the morning light.","suites.garden.details":"1 Bedroom · Living with sofa bed · Direct garden access · Breakfast balcony · Parking available","suites.hillview.desc":"Wake up to a beautiful view of Verona's hills. A peaceful retreat with a panorama that makes every moment special.","suites.hillview.details":"King bed · Hill view · Parking available","suites.skyline.desc":"Our top-floor gem with sweeping views over Verona's rooftops. Contemporary elegance meets the romance of an Italian evening sky.","suites.skyline.details":"King bed · Balcony with historic city view · Parking available","suites.location":"5 min from Teatro Romano · 10 min from Juliet's House · 15 min from Piazza Bra","tours.eyebrow":"Guided Experiences","tours.title":"Discover Verona your way","tours.subtitle":"We are authorized tourist guides offering personalized tours and unique experiences in Verona and its surroundings.","tours.discover":"Discover more","tours.moreLabel":"All tours","tours.authorizedGuide":"Authorized Guide","tours.historic.title":"Historic Verona Walking Tour","tours.historic.duration":"2.5 hours","tours.historic.group":"Up to 8 guests","tours.historic.desc":"Wander through Piazza delle Erbe, Juliet's balcony, and the ancient Roman Arena with a local historian who brings every stone to life.","tours.wine.title":"Valpolicella Wine Experience","tours.wine.duration":"Half day","tours.wine.group":"Up to 6 guests","tours.wine.desc":"Taste Amarone and Ripasso at family-run vineyards in the rolling hills north of Verona. Includes a light lunch with local charcuterie.","tours.lake.title":"Lake Garda & Sirmione Day Trip","tours.lake.duration":"Full day","tours.lake.group":"Up to 10 guests","tours.lake.desc":"Discover the turquoise waters of Lake Garda and the medieval charm of Sirmione, with its Roman ruins and thermal springs.","tours.night.title":"Verona by Night — Food & Culture","tours.night.duration":"3 hours","tours.night.group":"Up to 6 guests","tours.night.desc":"Experience 
173Verona after dark — hidden trattorias, local wines, and stories of the city under starlight. A sensory journey.","reviews.eyebrow":"Guest Reviews","reviews.title":"What our guests say","reviews.subtitle":"Real reviews from our Airbnb guests — because the best stories come from those who've lived them.","footer.desc":"A boutique bed & breakfast in the heart of Verona, offering four unique suites and curated local experiences.","footer.contact":"Contact","footer.links":"Quick Links","footer.ourSuites":"Our Suites","footer.tourGuides":"Tour Guides","footer.guestReviews":"Guest Reviews","footer.copyright":"Verona Up To You. All rights reserved."},it:{"nav.suites":"Suite","nav.tours":"Tour","nav.reviews":"Recensioni","nav.contact":"Contatti","hero.eyebrow":"B&B boutique nel cuore di Verona","hero.title":"La tua storia a Verona inizia qui","hero.subtitle":"Quattro suite uniche, ognuna con il proprio carattere. Scopri Verona al tuo ritmo — sta a te.","hero.cta":"Scopri le nostre suite","courtyard.eyebrow":"La Nostra Casa","courtyard.title":"Un cortile tra le colline e la città","courtyard.p1":"I nostri quattro appartamenti condividono un grazioso cortile privato, in un edificio residenziale tranquillo a pochi minuti dal centro storico di Verona. Circondati dal verde e con le colline a due passi, è il perfetto equilibrio tra natura e vita di città.","courtyard.p2":"Ogni suite ha il proprio ingresso dal cortile, offrendo privacy e il calore di uno spazio condiviso e intimo. Un luogo dove le mattine iniziano con il caffè al sole e le sere finiscono con un calice di Valpolicella sotto le stelle.","courtyard.garden.eyebrow":"Il Giardino","courtyard.garden.title":"Un giardino segreto oltre il cancello","courtyard.garden.desc":"Oltre il cancello in ferro battuto si apre un rigoglioso giardino privato — un angolo nascosto con piante fiorite, alberi da frutto e un campanile che fa capolino tra il verde. Il luogo perfetto per un caffè mattutino o un pomeriggio con un buon libro.","suites.eyebrow":"Le Nostre Suite","suites.title":"Quattro suites, quattro storie","suites.courtyard.desc":"Vista diretta sulla corte alberata. Uno spazio tranquillo e intimo dove tornare dopo aver esplorato Verona.","suites.courtyard.details":"Letto king · Vista corte · Parcheggio disponibile","suites.garden.desc":"Una camera da letto separata e un accogliente soggiorno con divano letto, che si aprono attraverso porte-finestre su un grande giardino privato. Un piccolo terrazzino sul giardino è il posto perfetto per la colazione nella luce del mattino.","suites.garden.details":"1 Camera · Soggiorno con divano letto · Accesso diretto al giardino · Terrazzino colazione · Parcheggio disponibile","suites.hillview.desc":"Svegliatevi con una splendida vista sulle colline di Verona. Un rifugio tranquillo con un panorama che rende ogni momento speciale.","suites.hillview.details":"Letto king · Vista colline · Parcheggio disponibile","suites.skyline.desc":"Il nostro gioiello all'ultimo piano con vista sui tetti di Verona. Eleganza contemporanea incontra il romanticismo del cielo italiano.","suites.skyline.details":"Letto king · Balcone vista città storica · Parcheggio disponibile","suites.location":"5 min dal Teatro Romano · 10 min dalla Casa di Giulietta · 15 min da Piazza Bra","tours.eyebrow":"Esperienze Guidate","tours.title":"Scopri Verona a modo tuo","tours.subtitle":"Siamo guide turistiche autorizzate e offriamo tour personalizzati ed esperienze uniche a Verona e dintorni.","tours.discover":"Scopri di più","tours.moreLabel":"Tutti i tour","tours.authorizedGuide":"Guida Autorizzata","tours.historic.title":"Tour a Piedi nella Verona Storica","tours.historic.duration":"2,5 ore","tours.historic.group":"Fino a 8 ospiti","tours.historic.desc":"Passeggiate attraverso Piazza delle Erbe, il balcone di Giulietta e l'antica Arena Romana con uno storico locale.","tours.wine.title":"Esperienza Vinicola in Valpolicella","tours.wine.duration":"Mezza giornata","tours.wine.group":"Fino a 6 ospiti","tours.wine.desc":"Degustate Amarone e Ripasso in vigneti a conduzione familiare nelle colline a nord di Verona. Include pranzo leggero.","tours.lake.title":"Gita al Lago di Garda e Sirmione","tours.lake.duration":"Giornata intera","tours.lake.group":"Fino a 10 ospiti","tours.lake.desc":"Scoprite le acque turchesi del Lago di Garda e il fascino medievale di Sirmione, con le sue rovine romane e terme.","tours.night.title":"Verona di Notte — Cibo e Cultura","tours.night.duration":"3 ore","tours.night.group":"Fino a 6 ospiti","tours.night.desc":"Vivete Verona dopo il tramonto — trattorie nascoste, vini locali e storie della città sotto le stelle.","reviews.eyebrow":"Recensioni degli Ospiti","reviews.title":"Cosa dicono i nostri ospiti","reviews.subtitle":"Recensioni reali dei nostri ospiti Airbnb — perché le storie migliori vengono da chi le ha vissute.","footer.desc":"Un bed & breakfast boutique nel cuore di Verona, con quattro suite uniche ed esperienze locali curate.","footer.contact":"Contatti","footer.links":"Link Rapidi","footer.ourSuites":"Le Nostre Suite","footer.tourGuides":"Guide Turistiche","footer.guestReviews":"Recensioni Ospiti","footer.copyright":"Verona Up To You. Tutti i diritti riservati."},de:{"nav.suites":"Suiten","nav.tours":"Touren","nav.reviews":"Bewertungen","nav.contact":"Kontakt","hero.eyebrow":"Boutique-B&B im Herzen von Verona","hero.title":"Ihre Geschichte in Verona beginnt hier","hero.subtitle":"Vier einzigartige Suiten, jede mit eigenem Charakter. Entdecken Sie Verona in Ihrem Tempo — es liegt an Ihnen.","hero.cta":"Unsere Suiten entdecken","courtyard.eyebrow":"Unser Zuhause","courtyard.title":"Ein Innenhof zwischen Hügeln und Stadt","courtyard.p1":"Unsere vier Apartments teilen sich einen hübschen privaten Innenhof in einem ruhigen Wohngebäude, nur wenige Minuten von Veronas historischem Zentrum entfernt. Umgeben von Grün und mit den Hügeln direkt vor der Tür — die perfekte Balance zwischen Natur und Stadtleben.","courtyard.p2":"Jede Suite hat ihren eigenen Eingang vom Inne
173nhof und bietet Privatsphäre und die Wärme eines gemeinsamen, intimen Raums. Ein Ort, an dem Morgende mit Kaffee in der Sonne beginnen und Abende mit einem Glas Valpolicella unter den Sternen enden.","courtyard.garden.eyebrow":"Der Garten","courtyard.garden.title":"Ein geheimer Garten hinter dem Tor","courtyard.garden.desc":"Hinter dem schmiedeeisernen Tor liegt ein üppiger privater Garten — ein verstecktes Juwel mit blühenden Pflanzen, Obstbäumen und einem Glockenturm, der durch das Grün hervorlugt. Der perfekte Ort für einen ruhigen Morgenkaffee oder einen Nachmittag mit einem guten Buch.","suites.eyebrow":"Unsere Suiten","suites.title":"Vier Suiten, vier Geschichten","suites.courtyard.desc":"Direkter Blick auf den baumbestandenen Innenhof. Ein ruhiger, intimer Ort zum Heimkommen nach einem Tag in Verona.","suites.courtyard.details":"Kingsize-Bett · Innenhofblick · Parkplatz verfügbar","suites.garden.desc":"Ein separates Schlafzimmer und ein gemütliches Wohnzimmer mit Schlafsofa, die sich durch Flügeltüren zu einem großen privaten Garten öffnen. Ein kleiner Balkon mit Gartenblick ist der perfekte Ort für das Frühstück im Morgenlicht.","suites.garden.details":"1 Schlafzimmer · Wohnzimmer mit Schlafsofa · Direkter Gartenzugang · Frühstücksbalkon · Parkplatz verfügbar","suites.hillview.desc":"Erwachen Sie mit einem wunderschönen Blick auf die Hügel von Verona. Ein friedlicher Rückzugsort mit einem Panorama, das jeden Moment besonders macht.","suites.hillview.details":"Kingsize-Bett · Hügelblick · Parkplatz verfügbar","suites.skyline.desc":"Unser Juwel im obersten Stock mit weitem Blick über Veronas Dächer. Zeitgenössische Eleganz trifft auf die Romantik des italienischen Abendhimmels.","suites.skyline.details":"Kingsize-Bett · Balkon mit Altstadtblick · Parkplatz verfügbar","suites.location":"5 Min. vom Teatro Romano · 10 Min. von Julias Haus · 15 Min. von Piazza Bra","tours.eyebrow":"Geführte Erlebnisse","tours.title":"Entdecken Sie Verona auf Ihre Art","tours.subtitle":"Wir sind autorisierte Touristenführer und bieten personalisierte Touren und einzigartige Erlebnisse in Verona und Umgebung.","tours.discover":"Mehr erfahren","tours.moreLabel":"Alle Touren","tours.authorizedGuide":"Autorisierter Reiseführer","tours.historic.title":"Historischer Verona-Rundgang","tours.historic.duration":"2,5 Stunden","tours.historic.group":"Bis zu 8 Gäste","tours.historic.desc":"Schlendern Sie durch die Piazza delle Erbe, Julias Balkon und die antike Arena mit einem lokalen Historiker.","tours.wine.title":"Valpolicella Weinerlebnis","tours.wine.duration":"Halber Tag","tours.wine.group":"Bis zu 6 Gäste","tours.wine.desc":"Verkosten Sie Amarone und Ripasso in familiengeführten Weingütern in den Hügeln nördlich von Verona. Inklusive leichtem Mittagessen.","tours.lake.title":"Gardasee & Sirmione Tagesausflug","tours.lake.duration":"Ganzer Tag","tours.lake.group":"Bis zu 10 Gäste","tours.lake.desc":"Entdecken Sie das türkisfarbene Wasser des Gardasees und den mittelalterlichen Charme von Sirmione mit seinen Ruinen und Thermalquellen.","tours.night.title":"Verona bei Nacht — Essen & Kultur","tours.night.duration":"3 Stunden","tours.night.group":"Bis zu 6 Gäste","tours.night.desc":"Erleben Sie Verona nach Einbruch der Dunkelheit — versteckte Trattorias, lokale Weine und Geschichten unter dem Sternenhimmel.","reviews.eyebrow":"Gästebewertungen","reviews.title":"Was unsere Gäste sagen","reviews.subtitle":"Echte Bewertungen unserer Airbnb-Gäste — denn die besten Geschichten kommen von denen, die sie erlebt haben.","footer.desc":"Ein Boutique-Bed & Breakfast im Herzen Veronas mit vier einzigartigen Suiten und kuratierten lokalen Erlebnissen.","footer.contact":"Kontakt","footer.links":"Schnelllinks","footer.ourSuites":"Unsere Suiten","footer.tourGuides":"Reiseführer","footer.guestReviews":"Gästebewertungen","footer.copyright":"Verona Up To You. Alle Rechte vorbehalten."},es:{"nav.suites":"Suites","nav.tours":"Tours","nav.reviews":"Opiniones","nav.contact":"Contacto","hero.eyebrow":"B&B boutique en el corazón de Verona","hero.title":"Tu historia en Verona comienza aquí","hero.subtitle":"Cuatro suites únicas, cada una con su propio carácter. Descubre Verona a tu ritmo — tú decides.","hero.cta":"Descubre nuestras suites","courtyard.eyebrow":"Nuestro Hogar","courtyard.title":"Un patio entre las colinas y la ciudad","courtyard.p1":"Nuestros cuatro apartamentos comparten un encantador patio privado, en un edificio residencial tranquilo a pocos minutos del centro histórico de Verona. Rodeados de verde y con las colinas a un paso, es el equilibrio perfecto entre naturaleza y vida urbana.","courtyard.p2":"Cada suite tiene su propia entrada desde el patio, ofreciendo privacidad y la calidez de un espacio compartido e íntimo. Un lugar donde las mañanas comienzan con café al sol y las noches terminan con una copa de Valpolicella bajo las estrellas.","courtyard.garden.eyebrow":"El Jardín","courtyard.garden.title":"Un jardín secreto tras las puertas","courtyard.garden.desc":"Más allá de la puerta de hierro forjado se encuentra un exuberante jardín privado — una joya escondida con plantas floridas, árboles frutales y un campanario que asoma entre el verdor. El lugar perfecto para un café tranquilo por la mañana o una tarde con un buen libro.","suites.eyebrow":"Nuestras Suites","suites.title":"Cuatro suites, cuatro historias","suites.courtyard.desc":"Vista directa al patio arbolado. Un espacio tranquilo e íntimo al que volver después de explorar Verona.","suites.courtyard.details":"Cama king · Vista al patio · Aparcamiento disponible","suites.garden.desc":"Un dormitorio separado y una acogedora sala de estar con sofá cama, que se abren a través de puertas francesas a un gran jardín privado. Un pequeño balcón con vistas al jardín es el lugar perfecto para desayunar con la luz de la mañana.","suites.garden.details":"1 Dormitorio · Sala con sofá cama · A
173cceso directo al jardín · Balcón desayuno · Aparcamiento disponible","suites.hillview.desc":"Despierta con una hermosa vista de las colinas de Verona. Un refugio tranquilo con un panorama que hace especial cada momento.","suites.hillview.details":"Cama king · Vista colinas · Aparcamiento disponible","suites.skyline.desc":"Nuestra joya del último piso con vistas sobre los tejados de Verona. Elegancia contemporánea se encuentra con el romance del cielo italiano.","suites.skyline.details":"Cama king · Balcón con vista al casco histórico · Aparcamiento disponible","suites.location":"5 min del Teatro Romano · 10 min de la Casa de Julieta · 15 min de Piazza Bra","tours.eyebrow":"Experiencias Guiadas","tours.title":"Descubre Verona a tu manera","tours.subtitle":"Somos guías turísticos autorizados y ofrecemos tours personalizados y experiencias únicas en Verona y alrededores.","tours.discover":"Descubre más","tours.moreLabel":"Todos los tours","tours.authorizedGuide":"Guía Autorizado","tours.historic.title":"Tour a Pie por la Verona Histórica","tours.historic.duration":"2,5 horas","tours.historic.group":"Hasta 8 huéspedes","tours.historic.desc":"Pasea por la Piazza delle Erbe, el balcón de Julieta y la antigua Arena Romana con un historiador local.","tours.wine.title":"Experiencia Vinícola en Valpolicella","tours.wine.duration":"Medio día","tours.wine.group":"Hasta 6 huéspedes","tours.wine.desc":"Degusta Amarone y Ripasso en viñedos familiares en las colinas al norte de Verona. Incluye almuerzo ligero.","tours.lake.title":"Excursión al Lago de Garda y Sirmione","tours.lake.duration":"Día completo","tours.lake.group":"Hasta 10 huéspedes","tours.lake.desc":"Descubre las aguas turquesas del Lago de Garda y el encanto medieval de Sirmione, con sus ruinas romanas y termas.","tours.night.title":"Verona de Noche — Gastronomía y Cultura","tours.night.duration":"3 horas","tours.night.group":"Hasta 6 huéspedes","tours.night.desc":"Vive Verona al anochecer — trattorias escondidas, vinos locales e historias de la ciudad bajo las estrellas.","reviews.eyebrow":"Opiniones de Huéspedes","reviews.title":"Lo que dicen nuestros huéspedes","reviews.subtitle":"Opiniones reales de nuestros huéspedes de Airbnb — porque las mejores historias vienen de quienes las han vivido.","footer.desc":"Un bed & breakfast boutique en el corazón de Verona, con cuatro suites únicas y experiencias locales seleccionadas.","footer.contact":"Contacto","footer.links":"Enlaces Rápidos","footer.ourSuites":"Nuestras Suites","footer.tourGuides":"Guías Turísticos","footer.guestReviews":"Opiniones de Huéspedes","footer.copyright":"Verona Up To You. Todos los derechos reservados."},fr:{"nav.suites":"Suites","nav.tours":"Visites","nav.reviews":"Avis","nav.contact":"Contact","hero.eyebrow":"B&B de charme au cœur de Vérone","hero.title":"Votre histoire à Vérone commence ici","hero.subtitle":"Quatre suites uniques, chacune avec son propre caractère. Découvrez Vérone à votre rythme — c'est à vous de choisir.","hero.cta":"Découvrir nos suites","courtyard.eyebrow":"Notre Maison","courtyard.title":"Une cour entre les collines et la ville","courtyard.p1":"Nos quatre appartements partagent une charmante cour privée, dans un immeuble résidentiel calme à quelques minutes du centre historique de Vérone. Entourés de verdure et avec les collines à deux pas, c'est l'équilibre parfait entre nature et vie citadine.","courtyard.p2":"Chaque suite a sa propre entrée depuis la cour, offrant intimité et chaleur d'un espace partagé. Un endroit où les matins commencent avec un café au soleil et les soirées se terminent avec un verre de Valpolicella sous les étoiles.","courtyard.garden.eyebrow":"Le Jardin","courtyard.garden.title":"Un jardin secret derrière les grilles","courtyard.garden.desc":"Au-delà du portail en fer forgé s'étend un luxuriant jardin privé — un trésor caché avec des plantes fleuries, des arbres fruitiers et un clocher qui pointe à travers la verdure. L'endroit idéal pour un café matinal tranquille ou un après-midi avec un bon livre.","suites.eyebrow":"Nos Suites","suites.title":"Quatre suites, quatre histoires","suites.courtyard.desc":"Vue directe sur la cour arborée. Un espace calme et intime où rentrer après avoir exploré Vérone.","suites.courtyard.details":"Lit king · Vue cour · Parking disponible","suites.garden.desc":"Une chambre séparée et un salon confortable avec canapé-lit, s'ouvrant par des portes-fenêtres sur un grand jardin privé. Un petit balcon donnant sur le jardin est l'endroit idéal pour le petit-déjeuner dans la lumière du matin.","suites.garden.details":"1 Chambre · Salon avec canapé-lit · Accès direct au jardin · Balcon petit-déjeuner · Parking disponible","suites.hillview.desc":"Réveillez-vous avec une belle vue sur les collines de Vérone. Un refuge paisible avec un panorama qui rend chaque moment spécial.","suites.hillview.details":"Lit king · Vue collines · Parking disponible","suites.skyline.desc":"Notre bijou au dernier étage avec vue sur les toits de Vérone. Élégance contemporaine rencontre le romantisme du ciel italien.","suites.skyline.details":"Lit king · Balcon vue ville historique · Parking disponible","suites.location":"5 min du Teatro Romano · 10 min de la Maison de Juliette · 15 min de Piazza Bra","tours.eyebrow":"Expérience
173s Guidées","tours.title":"Découvrez Vérone à votre façon","tours.subtitle":"Nous sommes des guides touristiques agréés et proposons des visites personnalisées et des expériences uniques à Vérone et ses environs.","tours.discover":"En savoir plus","tours.moreLabel":"Toutes les visites","tours.authorizedGuide":"Guide Agréé","tours.historic.title":"Visite à Pied de la Vérone Historique","tours.historic.duration":"2h30","tours.historic.group":"Jusqu'à 8 invités","tours.historic.desc":"Flânez à travers la Piazza delle Erbe, le balcon de Juliette et l'ancienne Arène Romaine avec un historien local.","tours.wine.title":"Expérience Vinicole en Valpolicella","tours.wine.duration":"Demi-journée","tours.wine.group":"Jusqu'à 6 invités","tours.wine.desc":"Dégustez Amarone et Ripasso dans des vignobles familiaux dans les collines au nord de Vérone. Déjeuner léger inclus.","tours.lake.title":"Excursion au Lac de Garde et Sirmione","tours.lake.duration":"Journée entière","tours.lake.group":"Jusqu'à 10 invités","tours.lake.desc":"Découvrez les eaux turquoises du Lac de Garde et le charme médiéval de Sirmione, avec ses ruines romaines et ses thermes.","tours.night.title":"Vérone la Nuit — Cuisine et Culture","tours.night.duration":"3 heures","tours.night.group":"Jusqu'à 6 invités","tours.night.desc":"Vivez Vérone après la tombée de la nuit — trattorias cachées, vins locaux et histoires sous les étoiles.","reviews.eyebrow":"Avis des Clients","reviews.title":"Ce que disent nos hôtes","reviews.subtitle":"De vrais avis de nos hôtes Airbnb — car les meilleures histoires viennent de ceux qui les ont vécues.","footer.desc":"Un bed & breakfast de charme au cœur de Vérone, avec quatre suites uniques et des expériences locales soignées.","footer.contact":"Contact","footer.links":"Liens Rapides","footer.ourSuites":"Nos Suites","footer.tourGuides":"Guides Touristiques","footer.guestReviews":"Avis des Clients","footer.copyright":"Verona Up To You. Tous droits réservés."}},t2={lang:"en",setLang:()=>{},tr:e=>Ya.en[e]??e},Iy=g.createContext(t2);function n2({children:e}){const[t,n]=g.useState(()=>{const i=localStorage.getItem("lang");return i&&Ya[i]?i:"en"}),r=g.useCallback(i=>{n(i),localStorage.setItem("lang",i)},[]),o=g.useCallback(i=>{var a;return((a=Ya[t])==null?void 0:a[i])??Ya.en[i]??i},[t]);return d.jsx(Iy.Provider,{value:{lang:t,setLang:r,tr:o},children:e})}function yt(){return g.useContext(Iy)}const r2=["en","it","de","es","fr"];function lp(){const{lang:e,setLang:t}=yt(),[n,r]=g.useState(!1),o=g.useRef(null);return g.useEffect(()=>{const i=a=>{o.current&&!o.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",i),()=>document.removeEventListener("mousedown",i)},[]),d.jsxs("div",{ref:o,className:"relative",children:[d.jsxs("button",{onClick:()=>r(!n),className:"flex items-center gap-1.5 px-2.5 py-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors duration-200 rounded-sm active:scale-95","aria-label":"Change language",children:[d.jsx(CS,{size:16}),d.jsx("span",{className:"hidden sm:inline text-xs font-medium uppercase tracking-wide",children:e})]}),n&&d.jsx("div",{className:"absolute right-0 top-full mt-2 w-40 bg-card border border-border rounded-sm shadow-lg overflow-hidden animate-fade-in z-50",children:r2.map(i=>d.jsxs("button",{onClick:()=>{t(i),r(!1)},className:`w-full text-left px-4 py-2.5 text-sm flex items-center gap-2.5 transition-colors duration-150 ${i===e?"bg-primary/10 text-foreground font-medium":"text-muted-foreground hover:bg-secondary hover:text-foreground"}`,children:[d.jsx("span",{className:"text-base leading-none",children:e2[i]}),ZE[i]]},i))})]})}function o2(){const[e,t]=g.useState(!1),{tr:n}=yt(),r=[{label:n("nav.suites"),href:"#suites"},{label:n("nav.tours"),href:"#tours"},{label:n("nav.reviews"),href:"#reviews"},{label:n("nav.contact"),href:"#contact"}];return d.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-md border-b border-border/50",children:[d.jsxs("div",{className:"container flex items-center justify-between h-16 md:h-20",children:[d.jsxs("a",{href:"#",className:"font-serif text-xl md:text-2xl font-semibold tracking-tight text-foreground",children:["Verona ",d.jsx("span",{className:"text-primary italic font-medium",children:"Up To You"})]}),d.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[d.jsx("ul",{className:"flex items-center gap-8",children:r.map(o=>d.jsx("li",{children:d.jsx("a",{href:o.href,className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors duration-200",children:o.label})},o.href))}),d.jsx(lp,{})]}),d.jsxs("div",{className:"flex md:hidden items-center gap-2",children:[d.jsx(lp,{}),d.jsx("button",{onClick:()=>t(!e),className:"p-2 text-foreground active:scale-95 transition-transform","aria-label":"Toggle menu",children:e?d.jsx(jd,{size:22}):d.jsx(NS,{size:22})})]})]}),e&&d.jsx("div",{className:"md:hidden border-t border-border bg-background animate-fade-in",children:d.jsx("ul",{className:"container py-4 flex flex-col gap-3",children:r.map(o=>d.jsx("li",{children:d.jsx("a",{href:o.href,onClick:()=>t(!1),className:"block py-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:o.label})},o.href))})})]})}const i2="/assets/hero-verona-DgCPzf2c.jpg";function a2(){const{tr:e}
173=yt();return d.jsxs("section",{className:"relative min-h-[90vh] flex items-end overflow-hidden",children:[d.jsx("img",{src:i2,alt:"Verona skyline at golden hour",className:"absolute inset-0 w-full h-full object-cover",loading:"eager"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-charcoal/80 via-charcoal/20 to-transparent"}),d.jsxs("div",{className:"relative container pb-20 pt-40 md:pb-28 md:pt-48",children:[d.jsx("p",{className:"text-cream-dark/90 text-sm md:text-base font-sans uppercase tracking-[0.2em] mb-4 animate-fade-in",style:{animationDelay:"0.2s",animationFillMode:"both"},children:e("hero.eyebrow")}),d.jsx("h1",{className:"font-serif text-cream text-4xl md:text-6xl lg:text-7xl font-semibold leading-[1.05] text-balance max-w-3xl animate-reveal-up",style:{animationDelay:"0.4s",animationFillMode:"both"},children:e("hero.title")}),d.jsx("p",{className:"mt-6 text-cream-dark/80 text-base md:text-lg max-w-lg text-pretty font-sans animate-reveal-up",style:{animationDelay:"0.7s",animationFillMode:"both"},children:e("hero.subtitle")}),d.jsx("a",{href:"#suites",className:"inline-block mt-8 px-8 py-3.5 bg-primary text-primary-foreground font-sans text-sm font-medium tracking-wide rounded-sm hover:bg-terracotta-light transition-colors duration-200 active:scale-[0.97] animate-reveal-up",style:{animationDelay:"1s",animationFillMode:"both"},children:e("hero.cta")})]})]})}const s2="/assets/courtyard-intro-gNulzsYU.jpg",l2="/assets/suite-garden-courtyard-DHrrJIYb.jpg";function tr(e){const t=g.useRef(null);return g.useEffect(()=>{const n=t.current;if(!n)return;n.style.opacity="0";const r=new IntersectionObserver(([o])=>{o.isIntersecting&&(n.classList.add("animate-reveal-up"),r.unobserve(n))},{threshold:.15,...e});return r.observe(n),()=>r.disconnect()},[]),t}function u2(){const e=tr(),t=tr(),{tr:n}=yt();return d.jsx("section",{ref:e,className:"py-24 md:py-32 bg-secondary/50",children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{className:"grid md:grid-cols-2 gap-10 md:gap-16 items-center",children:[d.jsxs("div",{className:"order-2 md:order-1",children:[d.jsx("p",{className:"text-xs font-sans uppercase tracking-[0.25em] text-primary font-medium mb-3",children:n("courtyard.eyebrow")}),d.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-semibold text-foreground text-balance leading-tight mb-6",children:n("courtyard.title")}),d.jsx("p",{className:"text-muted-foreground text-base md:text-lg leading-relaxed text-pretty max-w-lg mb-4",children:n("courtyard.p1")}),d.jsx("p",{className:"text-muted-foreground text-base leading-relaxed text-pretty max-w-lg",children:n("courtyard.p2")})]}),d.jsx("div",{className:"order-1 md:order-2 overflow-hidden rounded-sm",children:d.jsx("img",{src:s2,alt:"The private courtyard of Verona Up To You",className:"w-full h-72 md:h-[520px] object-cover hover:scale-[1.02] transition-transform duration-700 ease-out",loading:"lazy"})})]}),d.jsxs("div",{ref:t,className:"grid md:grid-cols-2 gap-10 md:gap-16 items-center mt-20 md:mt-28",children:[d.jsx("div",{className:"overflow-hidden rounded-sm",children:d.jsx("img",{src:l2,alt:"The private garden with iron gate, flowers and a bell tower in the background",className:"w-full h-72 md:h-[420px] object-cover hover:scale-[1.02] transition-transform duration-700 ease-out",loading:"lazy"})}),d.jsxs("div",{children:[d.jsx("p",{className:"text-xs font-sans uppercase tracking-[0.25em] text-primary font-medium mb-3",children:n("courtyard.garden.eyebrow")}),d.jsx("h3",{className:"font-serif text-2xl md:text-4xl font-semibold text-foreground text-balance leading-tight mb-4",children:n("courtyard.garden.title")}),d.jsx("p",{className:"text-muted-foreground text-base leading-relaxed text-pretty max-w-lg",children:n("courtyard.garden.desc")})]})]})]})})}function J(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function st(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Te(e,t){const n=J(e);return isNaN(t)?st(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function Lt(e,t){const n=J(e);if(isNaN(t))return st(e,NaN);if(!t)return n;const r=n.getDate(),o=st(e,n.getTime());o.setMonth(n.getMonth()+t+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}const Vd=6048e5,c2=864e5;let d2={};function qi(){return d2}function Zt(e,t){var s,l,u,c;const n=qi(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=J(e),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function jr(e){return Zt(e,{weekStartsOn:1}
173)}function Fy(e){const t=J(e),n=t.getFullYear(),r=st(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=jr(r),i=st(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=jr(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Mr(e){const t=J(e);return t.setHours(0,0,0,0),t}function _s(e){const t=J(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Gt(e,t){const n=Mr(e),r=Mr(t),o=+n-_s(n),i=+r-_s(r);return Math.round((o-i)/c2)}function f2(e){const t=Fy(e),n=st(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),jr(n)}function yc(e,t){const n=t*7;return Te(e,n)}function h2(e,t){return Lt(e,t*12)}function p2(e){let t;return e.forEach(function(n){const r=J(n);(t===void 0||t<r||isNaN(Number(r)))&&(t=r)}),t||new Date(NaN)}function m2(e){let t;return e.forEach(n=>{const r=J(n);(!t||t>r||isNaN(+r))&&(t=r)}),t||new Date(NaN)}function Ve(e,t){const n=Mr(e),r=Mr(t);return+n==+r}function Ud(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function v2(e){if(!Ud(e)&&typeof e!="number")return!1;const t=J(e);return!isNaN(Number(t))}function Ii(e,t){const n=J(e),r=J(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return o*12+i}function g2(e,t,n){const r=Zt(e,n),o=Zt(t,n),i=+r-_s(r),a=+o-_s(o);return Math.round((i-a)/Vd)}function Hd(e){const t=J(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ze(e){const t=J(e);return t.setDate(1),t.setHours(0,0,0,0),t}function zy(e){const t=J(e),n=st(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Yd(e,t){var s,l,u,c;const n=qi(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,o=J(e),i=o.getDay(),a=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+a),o.setHours(23,59,59,999),o}function $y(e){return Yd(e,{weekStartsOn:1})}const y2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}}
vendor: 12,803 bytes, line 173
173,w2=(e,t,n)=>{let r;const o=y2[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Kl(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const x2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},b2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},k2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},S2={date:Kl({formats:x2,defaultWidth:"full"}),time:Kl({formats:b2,defaultWidth:"full"}),dateTime:Kl({formats:k2,defaultWidth:"full"})},C2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},E2=(e,t,n,r)=>C2[e];function ei(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):a;o=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const P2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},N2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},T2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},j2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},M2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},R2=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},D2={ordinalNumber:R2,era:ei({values:P2,defaultWidth:"wide"}),quarter:ei({values:N2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ei({values:T2,defaultWidth:"wide"}),day:ei({values:_2,defaultWidth:"wide"}),dayPeriod:ei({values:j2,defaultWidth:"wide",formattingValues:M2,defaultFormattingWidth:"wide"})};function ti(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?A2(s,f=>f.test(a)):O2(s,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(a.length);return{value:u,rest:c}}}function O2(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function A2(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function L2(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(o.length);return{value:a,rest:s}}}const I2=/^(\d+)(th|st|nd|rd)?/i,F2=/\d+/i,z2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},$2={any:[/^b/i,/^(a|c)/i]},W2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},B2={any:[/1/i,/2/i,/3/i,/4/i]},V2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},U2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Y2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},G2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Q2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},q2={ordinalNumber:L2({matchPattern:I2,parsePattern:F2,valueCallback:e=>parseInt(e,10)}),era:ti({matchPatterns:z2,defaultMatchWidth:"wide",parsePatterns:$2,defaultParseWidth:"any"}),quarter:ti({matchPatterns:W2,defaultMatchWidth:"wide",parsePatterns:B2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ti({matchPatterns:V2,defaultMatchWidth:"wide",parsePatterns:U2,defaultParseWidth:"any"}),day:ti({matchPatterns:H2,defaultMatchWidth:"wide",parsePatterns:Y2,defaultParseWidth:"any"}),dayPeriod:ti({matchPatterns:G2,defaultMatchWidth:"any",parsePatterns:Q2,defaultParseWidth:"any"})},Wy={code:"en-US",formatDistance:w2,formatLong:S2,formatRelative:E2,localize:D2,match:q2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function K2(e){const t=J(e);return Gt(t,zy(t))+1}function By(e){const t=J(e),n=+jr(t)-+f2(t);return Math.round(n/Vd)+1}function Vy(e,t){var c,f,p,h;const n=J(e),r=n.getFullYear(),o=qi(),i=(t==null?void 0:t.firstWeekContainsDate)??((f=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(p=o.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,a=st(e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=Zt(a,t),l=st(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const u=Zt(l,t);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function X2(e,t){var s,l,u,c;const n=qi(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,o=Vy(e,t),i=st(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Zt(i,t)}function Uy(e,t){const n=J(e),r=+Zt(n,t)-+X2(n,t);return Math.round(r/Vd)+1}function ne(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const Tn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ne(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ne(n+1,2)},d(e,t){return ne(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ne(e.getHours()%12||12,t.length)},H(e,t){return ne(e.getHours(),t.length)},m(e,t){return ne(e.getMinutes(),t.length)},s(e,t){return ne(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return ne(o,t.length)}},Br={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},up={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return Tn.y(e,t)},Y:function(e,t,n,r){const o=Vy(e,r),i=o>0?o:1-o;if(t==="YY"){const a=i%100;return ne(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ne(i,t.length)},R:function(e,t){const n=Fy(e);return ne(n,t.length)},u:function(e,t){const n=e.getFullYear();return ne(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ne(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ne(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Tn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ne(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=Uy(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ne(o,t.length)},I:function(e,t,n){const r=By(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ne(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Tn.d(e,t)},D:function(e,t,n){const r=K2(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ne(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ne(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ne(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return ne(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=Br.noon:r===0?o=Br.midnight:o=r/12>
vendor: 4,692 bytes, line 173
173=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=Br.evening:r>=12?o=Br.afternoon:r>=4?o=Br.morning:o=Br.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return Tn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Tn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ne(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ne(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Tn.s(e,t)},S:function(e,t){return Tn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return dp(r);case"XXXX":case"XX":return fr(r);case"XXXXX":case"XXX":default:return fr(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return dp(r);case"xxxx":case"xx":return fr(r);case"xxxxx":case"xxx":default:return fr(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+cp(r,":");case"OOOO":default:return"GMT"+fr(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+cp(r,":");case"zzzz":default:return"GMT"+fr(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ne(r,t.length)},T:function(e,t,n){const r=e.getTime();return ne(r,t.length)}};function cp(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+ne(i,2)}function dp(e,t){return e%60===0?(e>0?"-":"+")+ne(Math.abs(e)/60,2):fr(e,t)}function fr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=ne(Math.trunc(r/60),2),i=ne(r%60,2);return n+o+t+i}const fp=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Hy=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},J2=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return fp(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",fp(r,t)).replace("{{time}}",Hy(o,t))},Z2={p:Hy,P:J2},eP=/^D+$/,tP=/^Y+$/,nP=["D","DD","YY","YYYY"];function rP(e){return eP.test(e)}function oP(e){return tP.test(e)}function iP(e,t,n){const r=aP(e,t,n);if(console.warn(r),nP.includes(e))throw new RangeError(r)}function aP(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const sP=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lP=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,uP=/^'([^]*?)'?$/,cP=/''/g,dP=/[a-zA-Z]/;function jt(e,t,n){var c,f,p,h,b,v,x,y;const r=qi(),o=(n==null?void 0:n.locale)??r.locale??Wy,i=(n==null?void 0:n.firstWeekContainsDate)??((f=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(p=r.locale)==null?void 0:p.options)==null?void 0:h.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((v=(b=n==null?void 0:n.locale)==null?void 0:b.options)==null?void 0:v.weekStartsOn)??r.weekStartsOn??((y=(x=r.locale)==null?void 0:x.options)==null?void 0:y.weekStartsOn)??0,s=J(e);if(!v2(s))throw new RangeError("Invalid time value");let l=t.match(lP).map(m=>{const w=m[0];if(w==="p"||w==="P"){const k=Z2[w];return k(m,o.formatLong)}return m}).join("").match(sP).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const w=m[0];if(w==="'")return{isToken:!1,value:fP(m)};if(up[w])return{isToken:!0,value:m};
vendor: 5,252 bytes, line 173
173if(w.match(dP))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:m}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map(m=>{if(!m.isToken)return m.value;const w=m.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&oP(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&rP(w))&&iP(w,t,String(e));const k=up[w[0]];return k(s,w,o.localize,u)}).join("")}function fP(e){const t=e.match(uP);return t?t[1].replace(cP,"'"):e}function hP(e){const t=J(e),n=t.getFullYear(),r=t.getMonth(),o=st(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function pP(e){return Math.trunc(+J(e)/1e3)}function mP(e){const t=J(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function vP(e,t){return g2(mP(e),Ze(e),t)+1}function wc(e,t){const n=J(e),r=J(t);return n.getTime()>r.getTime()}function Do(e,t){const n=J(e),r=J(t);return+n<+r}function Gd(e,t){const n=J(e),r=J(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function gP(e,t){const n=J(e),r=J(t);return n.getFullYear()===r.getFullYear()}function xc(e,t){const n=+J(e),[r,o]=[+J(t.start),+J(t.end)].sort((i,a)=>i-a);return n>=r&&n<=o}function Xl(e,t){return Te(e,-t)}function Jl(e,t){const n=J(e),r=n.getFullYear(),o=n.getDate(),i=st(e,0);i.setFullYear(r,t,15),i.setHours(0,0,0,0);const a=hP(i);return n.setMonth(t,Math.min(o,a)),n}function hp(e,t){const n=J(e);return isNaN(+n)?st(e,NaN):(n.setFullYear(t),n)}var Zl="focusScope.autoFocusOnMount",eu="focusScope.autoFocusOnUnmount",pp={bubbles:!1,cancelable:!0},yP="FocusScope",Qd=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=g.useState(null),u=Xt(o),c=Xt(i),f=g.useRef(null),p=Me(t,v=>l(v)),h=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let v=function(w){if(h.paused||!s)return;const k=w.target;s.contains(k)?f.current=k:jn(f.current,{select:!0})},x=function(w){if(h.paused||!s)return;const k=w.relatedTarget;k!==null&&(s.contains(k)||jn(f.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&jn(s)};document.addEventListener("focusin",v),document.addEventListener("focusout",x);const m=new MutationObserver(y);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x),m.disconnect()}}},[r,s,h.paused]),g.useEffect(()=>{if(s){vp.add(h);const v=document.activeElement;if(!s.contains(v)){const y=new CustomEvent(Zl,pp);s.addEventListener(Zl,u),s.dispatchEvent(y),y.defaultPrevented||(wP(CP(Yy(s)),{select:!0}),document.activeElement===v&&jn(s))}return()=>{s.removeEventListener(Zl,u),setTimeout(()=>{const y=new CustomEvent(eu,pp);s.addEventListener(eu,c),s.dispatchEvent(y),y.defaultPrevented||jn(v??document.body,{select:!0}),s.removeEventListener(eu,c),vp.remove(h)},0)}}},[s,u,c,h]);const b=g.useCallback(v=>{if(!n&&!r||h.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(x&&y){const m=v.currentTarget,[w,k]=xP(m);w&&k?!v.shiftKey&&y===k?(v.preventDefault(),n&&jn(w,{select:!0})):v.shiftKey&&y===w&&(v.preventDefault(),n&&jn(k,{select:!0})):y===m&&v.preventDefault()}},[n,r,h.paused]);return d.jsx(ve.div,{tabIndex:-1,...a,ref:p,onKeyDown:b})});Qd.displayName=yP;function wP(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(jn(r,{select:t}),document.activeElement!==n)return}function xP(e){const t=Yy(e),n=mp(t,e),r=mp(t.reverse(),e);return[n,r]}function Yy(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 mp(e,t){for(const n of e)if(!bP(n,{upTo:t}))return n}function bP(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 kP(e){return e instanceof HTMLInputElement&&"select"in e}function jn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&kP(e)&&t&&e.select()}}var vp=SP();function SP(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=gp(e,t),e.unshift(t)},remove(t){var n;e=gp(e,t),(n=e[0])==null||n.resume()}}}function gp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function CP(e){return e.filter(t=>t.tagName!=="A")}var tu=0;function Gy(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??yp()),document.body.insertAdjacentElement("beforeend",e[1]??yp()),tu++,()=>{tu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),tu--}},[])}function yp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 173-188
173style.position="fixed",e.style.pointerEvents="none",e}var Ht=function(){return Ht=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},Ht.apply(this,arguments)};function Qy(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 EP(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 Ga="right-scroll-bar-position",Qa="width-before-scroll-bar",PP="with-scroll-bars-hidden",NP="--removed-body-scroll-bar-size";function nu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function TP(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 _P=typeof window<"u"?g.useLayoutEffect:g.useEffect,wp=new WeakMap;function jP(e,t){var n=TP(null,function(r){return e.forEach(function(o){return nu(o,r)})});return _P(function(){var r=wp.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||nu(s,null)}),i.forEach(function(s){o.has(s)||nu(s,a)})}wp.set(n,e)},[e]),n}function MP(e){return e}function RP(e,t){t===void 0&&(t=MP);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 a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function DP(e){e===void 0&&(e={});var t=RP(null);return t.options=Ht({async:!0,ssr:!1},e),t}var qy=function(e){var t=e.sideCar,n=Qy(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,Ht({},n))};qy.isSideCarExport=!0;function OP(e,t){return e.useMedium(t),qy}var Ky=DP(),ru=function(){},ll=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:ru,onWheelCapture:ru,onTouchMoveCapture:ru}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,b=e.noIsolation,v=e.inert,x=e.allowPinchZoom,y=e.as,m=y===void 0?"div":y,w=e.gapMode,k=Qy(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,E=jP([n,t]),P=Ht(Ht({},k),o);return g.createElement(g.Fragment,null,c&&g.createElement(S,{sideCar:Ky,removeScrollBar:u,shards:f,noRelative:h,noIsolation:b,inert:v,setCallbacks:i,allowPinchZoom:!!x,lockRef:n,gapMode:w}),a?g.cloneElement(g.Children.only(s),Ht(Ht({},P),{ref:E})):g.createElement(m,Ht({},P,{className:l,ref:E}),s))});ll.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ll.classNames={fullWidth:Qa,zeroRight:Ga};var AP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function LP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=AP();return t&&e.setAttribute("nonce",t),e}function IP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function FP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var zP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=LP())&&(IP(t,n),FP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},$P=function(){var e=zP();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Xy=function(){var e=$P(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},WP={left:0,top:0,right:0,gap:0},ou=function(e){return parseInt(e||"",10)||0},BP=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[ou(n),ou(r),ou(o)]},VP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return WP;var t=BP(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])}},UP=Xy(),po="data-scroll-locked",HP=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
174  .`.concat(PP,` {
175   overflow: hidden `).concat(r,`;
176   padding-right: `).concat(s,"px ").concat(r,`;
177  }
178  body[`).concat(po,`] {
179    overflow: hidden `).concat(r,`;
180    overscroll-behavior: contain;
181    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
182    padding-left: `.concat(o,`px;
183    padding-top: `).concat(i,`px;
184    padding-right: `).concat(a,`px;
185    margin-left:0;
186    margin-top:0;
187    margin-right: `).concat(s,"px ").concat(r,`;
188    `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
188")].filter(Boolean).join(""),`
189  }
190  
191  .`).concat(Ga,` {
192    right: `).concat(s,"px ").concat(r,`;
193  }
194  
195  .`).concat(Qa,` {
196    margin-right: `).concat(s,"px ").concat(r,`;
197  }
198  
199  .`).concat(Ga," .").concat(Ga,` {
200    right: 0 `).concat(r,`;
201  }
202  
203  .`).concat(Qa," .").concat(Qa,` {
204    margin-right: 0 `).concat(r,`;
205  }
206  
207  body[`).concat(po,`] {
208    `).concat(NP,": ").concat(s,`px;
209  }
210`)},xp=function(){var e=parseInt(document.body.getAttribute(po)||"0",10);return isFinite(e)?e:0},YP=function(){g.useEffect(function(){return document.body.setAttribute(po,(xp()+1).toString()),function(){var e=xp()-1;e<=0?document.body.removeAttribute(po):document.body.setAttribute(po,e.toString())}},[])},GP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;YP();var i=g.useMemo(function(){return VP(o)},[o]);return g.createElement(UP,{styles:HP(i,!t,o,n?"":"!important")})},bc=!1;if(typeof window<"u")try{var Pa=Object.defineProperty({},"passive",{get:function(){return bc=!0,!0}});window.addEventListener("test",Pa,Pa),window.removeEventListener("test",Pa,Pa)}catch{bc=!1}var Vr=bc?{passive:!1}:!1,QP=function(e){return e.tagName==="TEXTAREA"},Jy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!QP(e)&&n[t]==="visible")},qP=function(e){return Jy(e,"overflowY")},KP=function(e){return Jy(e,"overflowX")},bp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Zy(e,r);if(o){var i=e0(e,r),a=i[1],s=i[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},XP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},JP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Zy=function(e,t){return e==="v"?qP(t):KP(t)},e0=function(e,t){return e==="v"?XP(t):JP(t)},ZP=function(e,t){return e==="h"&&t==="rtl"?-1:1},eN=function(e,t,n,r,o){var i=ZP(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{if(!s)break;var h=e0(e,s),b=h[0],v=h[1],x=h[2],y=v-x-i*b;(b||y)&&Zy(e,s)&&(f+=y,p+=b);var m=s.parentNode;s=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(Math.abs(f)<1||!o)||!c&&(Math.abs(p)<1||!o))&&(u=!0),u},Na=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},kp=function(e){return[e.deltaX,e.deltaY]},Sp=function(e){return e&&"current"in e?e.current:e},tN=function(e,t){return e[0]===t[0]&&e[1]===t[1]},nN=function(e){return`
211  .block-interactivity-`.concat(e,` {pointer-events: none;}
212  .allow-interactivity-`).concat(e,` {pointer-events: all;}
213`)},rN=0,Ur=[];function oN(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(rN++)[0],i=g.useState(Xy)[0],a=g.useRef(e);g.useEffect(function(){a.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=EP([e.lockRef.current],(e.shards||[]).map(Sp),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=g.useCallback(function(v,x){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!a.current.allowPinchZoom;var y=Na(v),m=n.current,w="deltaX"in v?v.deltaX:m[0]-y[0],k="deltaY"in v?v.deltaY:m[1]-y[1],S,E=v.target,P=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in v&&P==="h"&&E.type==="range")return!1;var _=bp(P,E);if(!_)return!0;if(_?S=P:(S=P==="v"?"h":"v",_=bp(P,E)),!_)return!1;if(!r.current&&"changedTouches"in v&&(w||k)&&(r.current=S),!S)return!0;var O=r.current||S;return eN(O,x,v,O==="h"?w:k,!0)},[]),l=g.useCallback(function(v){var x=v;if(!(!Ur.length||Ur[Ur.length-1]!==i)){var y="deltaY"in x?kp(x):Na(x),m=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&tN(S.delta,y)})[0];if(m&&m.should){x.cancelable&&x.preventDefault();return}
vendor: 4,333 bytes, line 213
213if(!m){var w=(a.current.shards||[]).map(Sp).filter(Boolean).filter(function(S){return S.contains(x.target)}),k=w.length>0?s(x,w[0]):!a.current.noIsolation;k&&x.cancelable&&x.preventDefault()}}},[]),u=g.useCallback(function(v,x,y,m){var w={name:v,delta:x,target:y,should:m,shadowParent:iN(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),c=g.useCallback(function(v){n.current=Na(v),r.current=void 0},[]),f=g.useCallback(function(v){u(v.type,kp(v),v.target,s(v,e.lockRef.current))},[]),p=g.useCallback(function(v){u(v.type,Na(v),v.target,s(v,e.lockRef.current))},[]);g.useEffect(function(){return Ur.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Vr),document.addEventListener("touchmove",l,Vr),document.addEventListener("touchstart",c,Vr),function(){Ur=Ur.filter(function(v){return v!==i}),document.removeEventListener("wheel",l,Vr),document.removeEventListener("touchmove",l,Vr),document.removeEventListener("touchstart",c,Vr)}},[]);var h=e.removeScrollBar,b=e.inert;return g.createElement(g.Fragment,null,b?g.createElement(i,{styles:nN(o)}):null,h?g.createElement(GP,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function iN(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const aN=OP(Ky,oN);var qd=g.forwardRef(function(e,t){return g.createElement(ll,Ht({},e,{ref:t,sideCar:aN}))});qd.classNames=ll.classNames;var sN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Hr=new WeakMap,Ta=new WeakMap,_a={},iu=0,t0=function(e){return e&&(e.host||t0(e.parentNode))},lN=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=t0(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})},uN=function(e,t,n,r){var o=lN(t,Array.isArray(e)?e:[e]);_a[n]||(_a[n]=new WeakMap);var i=_a[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else try{var h=p.getAttribute(r),b=h!==null&&h!=="false",v=(Hr.get(p)||0)+1,x=(i.get(p)||0)+1;Hr.set(p,v),i.set(p,x),a.push(p),v===1&&b&&Ta.set(p,!0),x===1&&p.setAttribute(n,"true"),b||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),s.clear(),iu++,function(){a.forEach(function(f){var p=Hr.get(f)-1,h=i.get(f)-1;Hr.set(f,p),i.set(f,h),p||(Ta.has(f)||f.removeAttribute(r),Ta.delete(f)),h||f.removeAttribute(n)}),iu--,iu||(Hr=new WeakMap,Hr=new WeakMap,Ta=new WeakMap,_a={})}},n0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=sN(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),uN(r,o,n,"aria-hidden")):function(){return null}},ul="Dialog",[r0,Pj]=Fo(ul),[cN,Ft]=r0(ul),o0=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=g.useRef(null),l=g.useRef(null),[u,c]=Sd({prop:r,defaultProp:o??!1,onChange:i,caller:ul});return d.jsx(cN,{scope:t,triggerRef:s,contentRef:l,contentId:Ua(),titleId:Ua(),descriptionId:Ua(),open:u,onOpenChange:c,onOpenToggle:g.useCallback(()=>c(f=>!f),[c]),modal:a,children:n})};o0.displayName=ul;var i0="DialogTrigger",dN=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ft(i0,n),i=Me(t,o.triggerRef);return d.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Jd(o.open),...r,ref:i,onClick:re(e.onClick,o.onOpenToggle)})});dN.displayName=i0;var Kd="DialogPortal",[fN,a0]=r0(Kd,{forceMount:void 0}),s0=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Ft(Kd,t);return d.jsx(fN,{scope:t,forceMount:n,children:g.Children.map(r,a=>d.jsx(ir,{present:n||i.open,children:d.jsx(Zs,{asChild:!0,container:o,children:a})}))})};s0.displayName=Kd;var js="DialogOverlay",l0=g.forwardRef((e,t)=>{const n=a0(js,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Ft(js,e.__scopeDialog);return i.modal?d.jsx(ir,{present:r||i.open,children:d.jsx(pN,{...o,ref:t})}):null});l0.displayName=js;var hN=jo("DialogOverlay.RemoveScroll"),pN=g.forwardRef((e,t)=>
vendor: 4,628 bytes, lines 213-217
213{const{__scopeDialog:n,...r}=e,o=Ft(js,n);return d.jsx(qd,{as:hN,allowPinchZoom:!0,shards:[o.contentRef],children:d.jsx(ve.div,{"data-state":Jd(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Rr="DialogContent",u0=g.forwardRef((e,t)=>{const n=a0(Rr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Ft(Rr,e.__scopeDialog);return d.jsx(ir,{present:r||i.open,children:i.modal?d.jsx(mN,{...o,ref:t}):d.jsx(vN,{...o,ref:t})})});u0.displayName=Rr;var mN=g.forwardRef((e,t)=>{const n=Ft(Rr,e.__scopeDialog),r=g.useRef(null),o=Me(t,n.contentRef,r);return g.useEffect(()=>{const i=r.current;if(i)return n0(i)},[]),d.jsx(c0,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:re(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:re(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:re(e.onFocusOutside,i=>i.preventDefault())})}),vN=g.forwardRef((e,t)=>{const n=Ft(Rr,e.__scopeDialog),r=g.useRef(!1),o=g.useRef(!1);return d.jsx(c0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),c0=g.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=Ft(Rr,n),l=g.useRef(null),u=Me(t,l);return Gy(),d.jsxs(d.Fragment,{children:[d.jsx(Qd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:d.jsx(Yi,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Jd(s.open),...a,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(gN,{titleId:s.titleId}),d.jsx(wN,{contentRef:l,descriptionId:s.descriptionId})]})]})}),Xd="DialogTitle",d0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ft(Xd,n);return d.jsx(ve.h2,{id:o.titleId,...r,ref:t})});d0.displayName=Xd;var f0="DialogDescription",h0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ft(f0,n);return d.jsx(ve.p,{id:o.descriptionId,...r,ref:t})});h0.displayName=f0;var p0="DialogClose",m0=g.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ft(p0,n);return d.jsx(ve.button,{type:"button",...r,ref:t,onClick:re(e.onClick,()=>o.onOpenChange(!1))})});m0.displayName=p0;function Jd(e){return e?"open":"closed"}var v0="DialogTitleWarning",[Nj,g0]=Ek(v0,{contentName:Rr,titleName:Xd,docsSlug:"dialog"}),gN=({titleId:e})=>{const t=g0(v0),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
214
215If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
216
217For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return g.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},yN="DialogDescriptionWarning",wN=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${g0(yN).contentName}}.`;return g.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},xN=o0,bN=s0,y0=l0,w0=u0,x0=d0,b0=h0,kN=m0;const SN=xN,CN=bN,k0=g.forwardRef(({className:e,...t},n)=>d.jsx(y0,{ref:n,className:xe("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));k0.displayName=y0.displayName;const S0=g.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(CN,{children:[d.jsx(k0,{}),d.jsxs(w0,{ref:r,className:xe("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
217nded-lg",e),...n,children:[t,d.jsxs(kN,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[d.jsx(jd,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));S0.displayName=w0.displayName;const C0=({className:e,...t})=>d.jsx("div",{className:xe("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});C0.displayName="DialogHeader";const E0=g.forwardRef(({className:e,...t},n)=>d.jsx(x0,{ref:n,className:xe("text-lg font-semibold leading-none tracking-tight",e),...t}));E0.displayName=x0.displayName;const EN=g.forwardRef(({className:e,...t},n)=>d.jsx(b0,{ref:n,className:xe("text-sm text-muted-foreground",e),...t}));EN.displayName=b0.displayName;const kc=Nd("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"}}),qa=g.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const a=r?Nk:"button";return d.jsx(a,{className:xe(kc({variant:t,size:n,className:e})),ref:i,...o})});qa.displayName="Button";var W=function(){return W=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},W.apply(this,arguments)};function PN(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 P0(e,t,n){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))}function Ki(e){return e.mode==="multiple"}function Xi(e){return e.mode==="range"}function cl(e){return e.mode==="single"}var NN={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function TN(e,t){return jt(e,"LLLL y",t)}function _N(e,t){return jt(e,"d",t)}function jN(e,t){return jt(e,"LLLL",t)}function MN(e){return"".concat(e)}function RN(e,t){return jt(e,"cccccc",t)}function DN(e,t){return jt(e,"yyyy",t)}var ON=Object.freeze({__proto__:null,formatCaption:TN,formatDay:_N,formatMonthCaption:jN,formatWeekNumber:MN,formatWeekdayName:RN,formatYearC
217aption:DN}),AN=function(e,t,n){return jt(e,"do MMMM (EEEE)",n)},LN=function(){return"Month: "},IN=function(){return"Go to next month"},FN=function(){return"Go to previous month"},zN=function(e,t){return jt(e,"cccc",t)},$N=function(e){return"Week n. ".concat(e)},WN=function(){return"Year: "},BN=Object.freeze({__proto__:null,labelDay:AN,labelMonthDropdown:LN,labelNext:IN,labelPrevious:FN,labelWeekNumber:$N,labelWeekday:zN,labelYearDropdown:WN});function VN(){var e="buttons",t=NN,n=Wy,r={},o={},i=1,a={},s=new Date;return{captionLayout:e,classNames:t,formatters:ON,labels:BN,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:i,styles:a,today:s,mode:"default"}}function UN(e){var t=e.fromYear,n=e.toYear,r=e.fromMonth,o=e.toMonth,i=e.fromDate,a=e.toDate;return r?i=Ze(r):t&&(i=new Date(t,0,1)),o?a=Hd(o):n&&(a=new Date(n,11,31)),{fromDate:i?Mr(i):void 0,toDate:a?Mr(a):void 0}}var N0=g.createContext(void 0);function HN(e){var t,n=e.initialProps,r=VN(),o=UN(n),i=o.fromDate,a=o.toDate,s=(t=n.captionLayout)!==null&&t!==void 0?t:r.captionLayout;s!=="buttons"&&(!i||!a)&&(s="buttons");var l;(cl(n)||Ki(n)||Xi(n))&&(l=n.onSelect);var u=W(W(W({},r),n),{captionLayout:s,classNames:W(W({},r.classNames),n.classNames),components:W({},n.components),formatters:W(W({},r.formatters),n.formatters),fromDate:i,labels:W(W({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:W(W({},r.modifiers),n.modifiers),modifiersClassNames:W(W({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:W(W({},r.styles),n.styles),toDate:a});return d.jsx(N0.Provider,{value:u,children:e.children})}function se(){var e=g.useContext(N0);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function T0(e){var t=se(),n=t.locale,r=t.classNames,o=t.styles,i=t.formatters.formatCaption;return d.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:i(e.displayMonth,{locale:n})})}function YN(e){return d.jsx("svg",W({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:d.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function _0(e){var t,n,r=e.onChange,o=e.value,i=e.children,a=e.caption,s=e.className,l=e.style,u=se(),c=(n=(t=u.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&n!==void 0?n:YN;return d.jsxs("div",{className:s,style:l,children:[d.jsx("span",{className:u.classNames.vhidden,children:e["aria-label"]}),d.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:i}),d.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[a,d.jsx(c,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function GN(e){var t,n=se(),r=n.fromDate,o=n.toDate,i=n.styles,a=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,c=n.labels.labelMonthDropdown;if(!r)return d.jsx(d.Fragment,{});if(!o)return d.jsx(d.Fragment,{});var f=[];if(gP(r,o))for(var p=Ze(r),h=r.getMonth();h<=o.getMonth();h++)f.push(Jl(p,h));else for(var p=Ze(new Date),h=0;h<=11;h++)f.push(Jl(p,h));var b=function(x){var y=Number(x.target.value),m=Jl(Ze(e.displayMonth),y);e.onChange(m)},v=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:_0;return d.jsx(v,{name:"months","aria-label":c(),className:l.dropdown_month,style:i.dropdown_month,onChange:b,value:e.displayMonth.getMonth(),caption:s(e.displayMonth,{locale:a}),children:f.map(function(x){return d.jsx("option",{value:x.getMonth(),children:s(x,{locale:a})},x.getMonth())})})}function QN(e){var t,n=e.displayMonth,r=se(),o=r.fromDate,i=r.toDate,a=r.locale,s=r.styles,l=r.classNames,u=r.components,c=r.formatters.formatYearC
217aption,f=r.labels.labelYearDropdown,p=[];if(!o)return d.jsx(d.Fragment,{});if(!i)return d.jsx(d.Fragment,{});for(var h=o.getFullYear(),b=i.getFullYear(),v=h;v<=b;v++)p.push(hp(zy(new Date),v));var x=function(m){var w=hp(Ze(n),Number(m.target.value));e.onChange(w)},y=(t=u==null?void 0:u.Dropdown)!==null&&t!==void 0?t:_0;return d.jsx(y,{name:"years","aria-label":f(),className:l.dropdown_year,style:s.dropdown_year,onChange:x,value:n.getFullYear(),caption:c(n,{locale:a}),children:p.map(function(m){return d.jsx("option",{value:m.getFullYear(),children:c(m,{locale:a})},m.getFullYear())})})}function qN(e,t){var n=g.useState(e),r=n[0],o=n[1],i=t===void 0?r:t;return[i,o]}function KN(e){var t=e.month,n=e.defaultMonth,r=e.today,o=t||n||r||new Date,i=e.toDate,a=e.fromDate,s=e.numberOfMonths,l=s===void 0?1:s;if(i&&Ii(i,o)<0){var u=-1*(l-1);o=Lt(i,u)}return a&&Ii(o,a)<0&&(o=a),Ze(o)}function XN(){var e=se(),t=KN(e),n=qN(t,e.month),r=n[0],o=n[1],i=function(a){var s;if(!e.disableNavigation){var l=Ze(a);o(l),(s=e.onMonthChange)===null||s===void 0||s.call(e,l)}};return[r,i]}function JN(e,t){for(var n=t.reverseMonths,r=t.numberOfMonths,o=Ze(e),i=Ze(Lt(o,r)),a=Ii(i,o),s=[],l=0;l<a;l++){var u=Lt(o,l);s.push(u)}return n&&(s=s.reverse()),s}function ZN(e,t){if(!t.disableNavigation){var n=t.toDate,r=t.pagedNavigation,o=t.numberOfMonths,i=o===void 0?1:o,a=r?i:1,s=Ze(e);if(!n)return Lt(s,a);var l=Ii(n,e);if(!(l<i))return Lt(s,a)}}function eT(e,t){if(!t.disableNavigation){var n=t.fromDate,r=t.pagedNavigation,o=t.numberOfMonths,i=o===void 0?1:o,a=r?i:1,s=Ze(e);if(!n)return Lt(s,-a);var l=Ii(s,n);if(!(l<=0))return Lt(s,-a)}}var j0=g.createContext(void 0);function tT(e){var t=se(),n=XN(),r=n[0],o=n[1],i=JN(r,t),a=ZN(r,t),s=eT(r,t),l=function(f){return i.some(function(p){return Gd(f,p)})},u=function(f,p){l(f)||(p&&Do(f,p)?o(Lt(f,1+t.numberOfMonths*-1)):o(f))},c={currentMonth:r,displayMonths:i,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:a,isDateDisplayed:l};return d.jsx(j0.Provider,{value:c,children:e.children})}function Ji(){var e=g.useContext(j0);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function Cp(e){var t,n=se(),r=n.classNames,o=n.styles,i=n.components,a=Ji().goToMonth,s=function(c){a(Lt(c,e.displayIndex?-e.dis
217playIndex:0))},l=(t=i==null?void 0:i.CaptionLabel)!==null&&t!==void 0?t:T0,u=d.jsx(l,{id:e.id,displayMonth:e.displayMonth});return d.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[d.jsx("div",{className:r.vhidden,children:u}),d.jsx(GN,{onChange:s,displayMonth:e.displayMonth}),d.jsx(QN,{onChange:s,displayMonth:e.displayMonth})]})}function nT(e){return d.jsx("svg",W({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:d.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function rT(e){return d.jsx("svg",W({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:d.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Ms=g.forwardRef(function(e,t){var n=se(),r=n.classNames,o=n.styles,i=[r.button_reset,r.button];e.className&&i.push(e.className);var a=i.join(" "),s=W(W({},o.button_reset),o.button);return e.style&&Object.assign(s,e.style),d.jsx("button",W({},e,{ref:t,type:"button",className:a,style:s}))});function oT(e){var t,n,r=se(),o=r.dir,i=r.locale,a=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,c=l.labelNext,f=r.components;if(!e.nextMonth&&!e.previousMonth)return d.jsx(d.Fragment,{});var p=u(e.previousMonth,{locale:i}),h=[a.nav_button,a.nav_button_previous].join(" "),b=c(e.nextMonth,{locale:i}),v=[a.nav_button,a.nav_button_next].join(" "),x=(t=f==null?void 0:f.IconRight)!==null&&t!==void 0?t:rT,y=(n=f==null?void 0:f.IconLeft)!==null&&n!==void 0?n:nT;return d.jsxs("div",{className:a.nav,style:s.nav,children:[!e.hidePrevious&&d.jsx(Ms,{name:"previous-month","aria-label":p,className:h,style:s.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:o==="rtl"?d.jsx(x,{className:a.nav_icon,style:s.nav_icon}):d.jsx(y,{className:a.nav_icon,style:s.nav_icon})}),!e.hideNext&&d.jsx(Ms,{name:"next-month","aria-label":b,className:v,style:s.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:o==="rtl"?d.jsx(y,{className:a.nav_icon,style:s.nav_icon}):d.jsx(x,{className:a.nav_icon,style:s.nav_icon})})]})}function Ep(e){var t=se().numberOfMonths,n=Ji(),r=n.previousMonth,o=n.nextMonth,i=n.goToMonth,a=n.displayMonths,s=a.findIndex(function(b){return Gd(e.displayMonth,b)}),l=s===0,u=s===a.length-1,c=t>1&&(l||!u),f=t>1&&(u||!l),p=function(){r&&i(r)},h=function(){o&&i(o)};return d.jsx(oT,{displayMonth:e.displayMonth,hideNext:c,hidePrevious:f,nextMonth:o,previousMonth:r,onPreviousClick:p,onNextClick:h})}function iT(e){var t,n=se(),r=n.classNames,o=n.disableNavigation,i=n.styles,a=n.captionLayout,s=n.components,l=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:T0,u;return o?u=d.jsx(l,{id:e.id,displayMonth:e.displayMonth}):a==="dropdown"?u=d.jsx(Cp,{displayMonth:e.displayMonth,id:e.id}):a==="dropdown-buttons"?u=d.jsxs(d.Fragment,{children:[d.jsx(Cp,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),d.jsx(Ep,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):u=d.jsxs(d.Fragment,{children:[d.jsx(l,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),d.jsx(Ep,{displayMonth:e.displayMonth,id:e.id})]}),d.jsx("div",{className:r.caption,style:i.caption,children:u})}function aT(e){var t=se(),n=t.footer,r=t.styles,o=t.classNames.tfoot;return n?d.jsx("tfoot",{className:o,style:r.tfoot,children:d.jsx("tr",{children:d.jsx("td",{colSpan:8,children:n})})}):d.jsx(d.Fragment,{})}function sT(e,t,n){for(var r=n?jr(new Date):Zt(new Date,{locale:e,weekStartsOn:t}),o=[],i=0;i<7;i++){var a=Te(r,i);o.push(a)}return o}function lT(){var e=se(),t=e.classNames,n=e.styles,r=e.showWeekNumber,o=e.locale,i=e.weekStartsOn,a=e.ISOWeek,s=e.formatters.formatWeekdayName,l=e.labels.labelWeekday,u=sT(o,i,a);return d.jsxs("tr",{style:n.head_row,className:t.head_row,children:[r&&d.jsx("td",{style:n.head_cell,className:t.head_cell}),u.map(function(c,f){return d.jsx("th",{scope:"col",className:t.head_cell,style:n.head_cell,"aria-label":l(c,{locale:o}),children:s(c,{locale:o})},f)})]})}function uT(){var e,t=se(),n=t.classNames,r=t.styles,o=t.components,i=(e=o==null?void 0:o.HeadRow)!==null&&e!==void 0?e:lT;return d.jsx("thead",{style:r.head,className:n.head,children:d.jsx(i,{})})}function cT(e){var t=se(),n=t.locale,r=t.formatters.formatDay;return d.jsx(d.Fragment,{children:r(e.date,{locale:n})})}var Zd=g.createContext(void 0);function dT(e){if(!Ki(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return d.jsx(Zd.Provider,{value:t,children:e.children})}return d.jsx(fT,{initialProps:e.initialProps,children:e.children})}function fT(e){var t=e.initialProps,n=e.children,r=t.selected,o=t.min,i=t.max,a=function(u,c,f){var p,h;(p=t.onDayClick)===null||p===void 0||p.call(t,u,c,f);var b=!!(c.selected&&o&&(r==null?void 0:r.length)===o);if(!b){var v=!!(!c.selected&&i&&(r==null?void 0:r.length)===i);if(!v){var x=r?P0([],r):[];if(c.selected){var y=x.findIndex(function(m){return Ve(u,m)});x.splice(y,1)}else x.push(u);(h=t.onSelect)===null||h===void 0||h.call(t,x,u,c,f)}}},s={disabled:[]};r&&s.disabled.push(function(u){var c=i&&r.length>i-1,f=r.some(function(p){return Ve(p,u)});return!!(c&&!f)});var l={selected:r,onDayClick:a,modifiers:s};return d.jsx(Zd.Provider,{value:l,children:n})}function ef(){var e=g.useContext(Zd);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function hT(e,t){var n=t||{},r=n.from,o=n.to;return r&&o?Ve(o,e)&&Ve(r,e)?void 0:Ve(o,e)?{from:o,to:void 0}:Ve(r,e)?void 0:wc(r,e)?{from:e,to:o}:{from:r,to:e}:o?wc(e,o)?{from:o,to:e}:{from:e,to:o}:r?Do(e,r)?{from:e,to:r}:{from:r,to:e}:{from:e,to:void 0}}var tf=g.createContext(void 0);function pT(e){if(!Xi(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return d.jsx(tf.Provider,{value:t,children:e.children})}return d.jsx(mT,{initialProps:e.initialProps,children:e.children})}function mT(e){var t=e.initialProps,n=e.children,r=t.selected,o=r||{},i=o.from,a=o.to,s=t.min,l=t.max,u=function(h,b,v){var x,y;(x=t.onDayClick)===null||x===void 0||x.call(t,h,b,v);var m=hT(h,r);(y=t.onSelect)===null||y===void 0||y.call(t,m,h,b,v)},c={range_start:[],range_end:[],range_middle:[],disabled:[]};if(i?(c.range_start=[i],a?(c.range_end=[a],Ve(i,a)||(c.range_middle=[{after:i,before:a}])):c.range_end=[i]):a&&(c.range_start=[a],c.range_end=[a]),s&&(i&&!a&&c.disabled.push({after:Xl(i,s-1),before:Te(i,s-1)}),i&&a&&c.disabled.push({after:i,before:Te(i,s-1)}),!i&&a&&c.disabled.push({after:Xl(a,s-1),before:Te(a,s-1)})),l){if(i&&!a&&(c.disabled.push({before:Te(i,-l+1)}),c.disabled.push({after:Te(i,l-1)})),i&&a){var f=Gt(a,i)+1,p=l-f;c.disabled.push({before:Xl(i,p)}),c.disabled.push({after:Te(a,p)})}!i&&a&&(c.disabled.push({before:Te(a,-l+1)}),c.disabled.push({after:Te(a,l-1)}))}return d.jsx(tf.Provider,{value:{selected:r,onDayClick:u,modifiers:c},children:n})}function nf(){var e=g.useContext(tf);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Ka(e){return Array.isArray(e)?P0([],e):e!==void 0?[e]:[]}function vT(e){var t={};return Object.entries(e).forEach(function(n){var r=n[0],o=n[1];t[r]=Ka(o)}),t}var It;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(It||(It={}));var gT=It.Selected,nn=It.Disabled,yT=It.Hidden,wT=It.Today,au=It.RangeEnd,su=It.RangeMiddle,lu=It.RangeStart,xT=It.Outside;function bT(e,t,n){var r,o=(r={},r[gT]=Ka(e.selected),r[nn]=Ka(e.disabled),r[yT]=Ka(e.hidden),r[wT]=[e.today],r[au]=[],r[su]=[],r[lu]=[],r[xT]=[],r);return e.fromDate&&o[nn].push({before:e.fromDate}),e.toDate&&o[nn].push({after:e.toDate}),Ki(e)?o[nn]=o[nn].concat(t.modifiers[nn]):Xi(e)&&(o[nn]=o[nn].concat(n.modifiers[nn]),o[lu]=n.modifiers[lu],o[su]=n.modifiers[su],o[au]=n.modifiers[au]),o}var M0=g.createContext(void 0);function kT(e){var t=se(),n=ef(),r=nf(),o=bT(t,n,r),i=vT(t.modifiers),a=W(W({},o),i);return d.jsx(M0.Provider,{value:a,children:e.children})}function R0(){var e=g.useContext(M0);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function ST(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function CT(e){return!!(e&&typeof e=="object"&&"from"in e)}function ET(e){return!!(e&&typeof e=="object"&&"after"in e)}function PT(e){return!!(e&&typeof e=="object"&&"before"in e)}function NT(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function TT(e,t){var n,r=t.from,o=t.to;if(r&&o){var i=Gt(o,r)<0;i&&(n=[o,r],r=n[0],o=n[1]);var a=Gt(e,r)>=0&&Gt(o,e)>=0;return a}return o?Ve(o,e):r?Ve(r,e):!1}function _T(e){return Ud(e)}function jT(e){return Array.isArray(e)&&e.every(Ud)}function MT(e,t){return t.some(function(n){if(typeof n=="boolean")return n;if(_T(n))return Ve(e,n);if(jT(n))return n.includes(e);if(CT(n))return TT(e,n);if(NT(n))return n.dayOfWeek.includes(e.getDay());if(ST(n)){var r=Gt(n.before,e),o=Gt(n.after,e),i=r>0,a=o<0,s=wc(n.before,n.after);return s?a&&i:i||a}
217return ET(n)?Gt(e,n.after)>0:PT(n)?Gt(n.before,e)>0:typeof n=="function"?n(e):!1})}function rf(e,t,n){var r=Object.keys(t).reduce(function(i,a){var s=t[a];return MT(e,s)&&i.push(a),i},[]),o={};return r.forEach(function(i){return o[i]=!0}),n&&!Gd(e,n)&&(o.outside=!0),o}function RT(e,t){for(var n=Ze(e[0]),r=Hd(e[e.length-1]),o,i,a=n;a<=r;){var s=rf(a,t),l=!s.disabled&&!s.hidden;if(!l){a=Te(a,1);continue}if(s.selected)return a;s.today&&!i&&(i=a),o||(o=a),a=Te(a,1)}return i||o}var DT=365;function D0(e,t){var n=t.moveBy,r=t.direction,o=t.context,i=t.modifiers,a=t.retry,s=a===void 0?{count:0,lastFocused:e}:a,l=o.weekStartsOn,u=o.fromDate,c=o.toDate,f=o.locale,p={day:Te,week:yc,month:Lt,year:h2,startOfWeek:function(x){return o.ISOWeek?jr(x):Zt(x,{locale:f,weekStartsOn:l})},endOfWeek:function(x){return o.ISOWeek?$y(x):Yd(x,{locale:f,weekStartsOn:l})}},h=p[n](e,r==="after"?1:-1);r==="before"&&u?h=p2([u,h]):r==="after"&&c&&(h=m2([c,h]));var b=!0;if(i){var v=rf(h,i);b=!v.disabled&&!v.hidden}return b?h:s.count>DT?s.lastFocused:D0(h,{moveBy:n,direction:r,context:o,modifiers:i,retry:W(W({},s),{count:s.count+1})})}var O0=g.createContext(void 0);function OT(e){var t=Ji(),n=R0(),r=g.useState(),o=r[0],i=r[1],a=g.useState(),s=a[0],l=a[1],u=RT(t.displayMonths,n),c=o??(s&&t.isDateDisplayed(s))?s:u,f=function(){l(o),i(void 0)},p=function(x){i(x)},h=se(),b=function(x,y){if(o){var m=D0(o,{moveBy:x,direction:y,context:h,modifiers:n});Ve(o,m)||(t.goToDate(m,o),p(m))}},v={focusedDay:o,focusTarget:c,blur:f,focus:p,focusDayAfter:function(){return b("day","after")},focusDayBefore:function(){return b("day","before")},focusWeekAfter:function(){return b("week","after")},focusWeekBefore:function(){return b("week","before")},focusMonthBefore:function(){return b("month","before")},focusMonthAfter:function(){return b("month","after")},focusYearBefore:function(){return b("year","before")},focusYearAfter:function(){return b("year","after")},focusStartOfWeek:function(){return b("startOfWeek","before")},focusEndOfWeek:function(){return b("endOfWeek","after")}};return d.jsx(O0.Provider,{value:v,children:e.children})}function of(){var e=g.useContext(O0);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function AT(e,t){var n=R0(),r=rf(e,n,t);return r}var af=g.createContext(void 0);function LT(e){if(!cl(e.initialProps)){var t={selected:void 0};return d.jsx(af.Provider,{value:t,children:e.children})}return d.jsx(IT,{initialProps:e.initialProps,children:e.children})}function IT(e){var t=e.initialProps,n=e.children,r=function(i,a,s){var l,u,c;if((l=t.onDayClick)===null||l===void 0||l.call(t,i,a,s),a.selected&&!t.required){(u=t.onSelect)===null||u===void 0||u.call(t,void 0,i,a,s);return}(c=t.onSelect)===null||c===void 0||c.call(t,i,i,a,s)},o={selected:t.selected,onDayClick:r};return d.jsx(af.Provider,{value:o,children:n})}function A0(){var e=g.useContext(af);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function FT(e,t){var n=se(),r=A0(),o=ef(),i=nf(),a=of(),s=a.focusDayAfter,l=a.focusDayBefore,u=a.focusWeekAfter,c=a.focusWeekBefore,f=a.blur,p=a.focus,h=a.focusMonthBefore,b=a.focusMonthAfter,v=a.focusYearBefore,x=a.focusYearAfter,y=a.focusStartOfWeek,m=a.focusEndOfWeek,w=function(M){var C,T,L,V;cl(n)?(C=r.onDayClick)===null||C===void 0||C.call(r,e,t,M):Ki(n)?(T=o.onDayClick)===null||T===void 0||T.call(o,e,t,M):Xi(n)?(L=i.onDayClick)===null||L===void 0||L.call(i,e,t,M):(V=n.onDayClick)===null||V===void 0||V.call(n,e,t,M)},k=function(M){var C;p(e),(C=n.onDayFocus)===null||C===void 0||C.call(n,e,t,M)},S=function(M){var C;f(),(C=n.onDayBlur)===null||C===void 0||C.call(n,e,t,M)},E=function(M){var C;(C=n.onDayMouseEnter)===null||C===void 0||C.call(n,e,t,M)},P=function(M){var C;(C=n.onDayMouseLeave)===null||C===void 0||C.call(n,e,t,M)},_=function(M){var C;(C=n.onDayPointerEnter)===null||C===void 0||C.call(n,e,t,M)},O=function(M){var C;(C=n.onDayPointerLeave)===null||C===void 0||C.call(n,e,t,M)},D=function(M){var C;(C=n.onDayTouchCancel)===null||C===void 0||C.call(n,e,t,M)},$=function(M){var C;(C=n.onDayTouchEnd)===null||C===void 0||C.call(n,e,t,M)},I=function(M){var C;(C=n.onDayTouchMove)===null||C===void 0||C.call(n,e,t,M)},G=function(M){var C;(C=n.onDayTouchStart)===null||C===void 0||C.call(n,e,t,M)},A=function(M){var C;(C=n.onDayKeyUp)===null||C===void 0||C.call(n,e,t,M)},Q=function(M){var C;switch(M.key){case"ArrowLeft":M.preventDefault(),M.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":M.preventDefault(),M.stopPropagation(),n.dir==="rtl"?l(
217):s();break;case"ArrowDown":M.preventDefault(),M.stopPropagation(),u();break;case"ArrowUp":M.preventDefault(),M.stopPropagation(),c();break;case"PageUp":M.preventDefault(),M.stopPropagation(),M.shiftKey?v():h();break;case"PageDown":M.preventDefault(),M.stopPropagation(),M.shiftKey?x():b();break;case"Home":M.preventDefault(),M.stopPropagation(),y();break;case"End":M.preventDefault(),M.stopPropagation(),m();break}(C=n.onDayKeyDown)===null||C===void 0||C.call(n,e,t,M)},B={onClick:w,onFocus:k,onBlur:S,onKeyDown:Q,onKeyUp:A,onMouseEnter:E,onMouseLeave:P,onPointerEnter:_,onPointerLeave:O,onTouchCancel:D,onTouchEnd:$,onTouchMove:I,onTouchStart:G};return B}function zT(){var e=se(),t=A0(),n=ef(),r=nf(),o=cl(e)?t.selected:Ki(e)?n.selected:Xi(e)?r.selected:void 0;return o}function $T(e){return Object.values(It).includes(e)}function WT(e,t){var n=[e.classNames.day];return Object.keys(t).forEach(function(r){var o=e.modifiersClassNames[r];if(o)n.push(o);else if($T(r)){var i=e.classNames["day_".concat(r)];i&&n.push(i)}}),n}function BT(e,t){var n=W({},e.styles.day);return Object.keys(t).forEach(function(r){var o;n=W(W({},n),(o=e.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function VT(e,t,n){var r,o,i,a=se(),s=of(),l=AT(e,t),u=FT(e,l),c=zT(),f=!!(a.onDayCl
217ick||a.mode!=="default");g.useEffect(function(){var E;l.outside||s.focusedDay&&f&&Ve(s.focusedDay,e)&&((E=n.current)===null||E===void 0||E.focus())},[s.focusedDay,e,n,f,l.outside]);var p=WT(a,l).join(" "),h=BT(a,l),b=!!(l.outside&&!a.showOutsideDays||l.hidden),v=(i=(o=a.components)===null||o===void 0?void 0:o.DayContent)!==null&&i!==void 0?i:cT,x=d.jsx(v,{date:e,displayMonth:t,activeModifiers:l}),y={style:h,className:p,children:x,role:"gridcell"},m=s.focusTarget&&Ve(s.focusTarget,e)&&!l.outside,w=s.focusedDay&&Ve(s.focusedDay,e),k=W(W(W({},y),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=w||m?0:-1,r)),u),S={isButton:f,isHidden:b,activeModifiers:l,selectedDays:c,buttonProps:k,divProps:y};return S}function UT(e){var t=g.useRef(null),n=VT(e.date,e.displayMonth,t);return n.isHidden?d.jsx("div",{role:"gridcell"}):n.isButton?d.jsx(Ms,W({name:"day",ref:t},n.buttonProps)):d.jsx("div",W({},n.divProps))}function HT(e){var t=e.number,n=e.dates,r=se(),o=r.onWeekNumberClick,i=r.styles,a=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,c=u(Number(t),{locale:s});if(!o)return d.jsx("span",{className:a.weeknumber,style:i.weeknumber,children:c});var f=l(Number(t),{locale:s}),p=function(h){o(t,n,h)};return d.jsx(Ms,{name:"week-number","aria-label":f,className:a.weeknumber,style:i.weeknumber,onClick:p,children:c})}function YT(e){var t,n,r=se(),o=r.styles,i=r.classNames,a=r.showWeekNumber,s=r.components,l=(t=s==null?void 0:s.Day)!==null&&t!==void 0?t:UT,u=(n=s==null?void 0:s.WeekNumber)!==null&&n!==void 0?n:HT,c;return a&&(c=d.jsx("td",{className:i.cell,style:o.cell,children:d.jsx(u,{number:e.weekNumber,dates:e.dates})})),d.jsxs("tr",{className:i.row,style:o.row,children:[c,e.dates.map(function(f){return d.jsx("td",{className:i.cell,style:o.cell,role:"presentation",children:d.jsx(l,{displayMonth:e.displayMonth,date:f})},pP(f))})]})}function Pp(e,t,n){for(var r=n!=null&&n.ISOWeek?$y(t):Yd(t,n),o=n!=null&&n.ISOWeek?jr(e):Zt(e,n),i=Gt(r,o),a=[],s=0;s<=i;s++)a.push(Te(o,s));var l=a.reduce(function(u,c){var f=n!=null&&n.ISOWeek?By(c):Uy(c,n),p=u.find(function(h){return h.weekNumber===f});return p?(p.dates.push(c),u):(u.push({weekNumber:f,dates:[c]}),u)},[]);return l}function GT(e,t){var n=Pp(Ze(e),Hd(e),t);if(t!=null&&t.useFixedWeeks){var r=vP(e,t);if(r<6){var o=n[n.length-1],i=o.dates[o.dates.length-1],a=yc(i,6-r),s=Pp(yc(i,1),a,t);n.push.apply(n,s)}}return n}function QT(e){var t,n,r,o=se(),i=o.locale,a=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,c=o.components,f=o.weekStartsOn,p=o.firstWeekContainsDate,h=o.ISOWeek,b=GT(e.displayMonth,{useFixedWeeks:!!u,ISOWeek:h,locale:i,weekStartsOn:f,firstWeekContainsDate:p}),v=(t=c==null?void 0:c.Head)!==null&&t!==void 0?t:uT,x=(n=c==null?void 0:c.Row)!==null&&n!==void 0?n:YT,y=(r=c==null?void 0:c.Footer)!==null&&r!==void 0?r:aT;return d.jsxs("table",{id:e.id,className:a.table,style:s.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!l&&d.jsx(v,{}),d.jsx("tbody",{className:a.tbody,style:s.tbody,children:b.map(function(m){return d.jsx(x,{displayMonth:e.displayMonth,dates:m.dates,weekNumber:m.weekNumber},m.weekNumber)})}),d.jsx(y,{displayMonth:e.displayMonth})]})}function qT(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var KT=qT()?g.useLayoutEffect:g.useEffect,uu=!1,XT=0;function Np(){return"react-day-picker-".concat(++XT)}function JT(e){var t,n=e??(uu?Np():null),r=g.useState(n),o=r[0],i=r[1];return KT(function(){o===null&&i(Np())},[]),g.useEffect(function(){uu===!1&&(uu=!0)},[]),(t=e??o)!==null&&t!==void 0?t:void 0}function ZT(e){var t,n,r=se(),o=r.dir,i=r.classNames,a=r.styles,s=r.components,l=Ji().displayMonths,u=JT(r.id?"".concat(r.id,"-").concat(e.displayIndex):void 0),c=r.id?"".concat(r.id,"-grid-").concat(e.displayIndex):void 0,f=[i.month],p=a.month,h=e.displayIndex===0,b=e.displayIndex===l.length-1,v=!h&&!b;o==="rtl"&&(t=[h,b],b=t[0],h=t[1]),h&&(f.push(i.caption_start),p=W(W({},p),a.caption_start)),b&&(f.push(i.caption_end),p=W(W({},p),a.caption_end)),v&&(f.push(i.caption_between),p=W(W({},p),a.caption_between));var x=(n=s==null?void 0:s.Caption)!==null&&n!==void 0?n:iT;return d.jsxs("div",{className:f.join(" "),style:p,children:[d.jsx(x,{id:u,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),d.jsx(QT,{id:c,"aria-labelledby":u,displayMonth:e.displayMonth})]},e.displayIndex)}function e_(e){var t=se(),n=t.classNames,r=t.styles;return d.jsx("div",{className:n.months,style:r.months,children:e.children})}function t_(e){var t,n,r=e.initialProps,o=se(),i=of(),a=Ji(),s=g.useState(!1),l=s[0],u=s[1];g.useEffect(function(){o.initialFocus&&i.focusTarget&&(l||(i.focus(i.focusTarget),u(!0)))},[o.initialFocus,l,i.focus,i.focusTarget,i]);var c=[o.classNames.root,o.className];o.numberOfMonths>1&&c.push(o.classNames.multiple_months),o.showWeekNumber&&c.push(o.classNames.with_weeknumber);var f=W(W({},o.styles.root),o.style),p=Object.keys(r).filter(function(b){return b.startsWith("data-")}).reduce(function(b,v){var x;return W(W({},b),(x={},x[v]=r[v],x))},{}),h=(n=(t=r.components)===null||t===void 0?void 0:t.Months)!==null&&n!==void 0?n:e_;return d.jsx("div",W({className:c.join(" "),style:f,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},p,{children:d.jsx(h,{children:a.displayMonths.map(function(b,v){return d.jsx(ZT,{displayIndex:v,displayMonth:b},v)})})}))}function n_(e){var t=e.children,n=PN(e,["children"]);return d.jsx(HN,{initialProps:n,children:d.jsx(tT,{children:d.jsx(LT,{initialProps:n,children:d.jsx(dT,{initialProps:n,children:d.jsx(pT,{initialProps:n,children:d.jsx(kT,{children:d.jsx(OT,{children:t})})})})})})})}function r_(e){return d.jsx(n_,W({},e,{children:d.jsx(t_,{initialProps:e})}))}function Sc({className:e,classNames:t,showOutsideDays:n=!0,...r}){return d.jsx(r_,{showOutsideDays:n,className:xe("p-3",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:sp
217ace-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:xe(kc({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:"h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",day:xe(kc({variant:"ghost"}),"h-9 w-9 p-0 font-normal aria-selected:opacity-100"),day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-foreground aria-selected:opacity-30",day_disabled:"text-muted-foreground opacity-100 relative day-disabled-strike",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:({...o})=>d.jsx(Yg,{className:"h-4 w-4"}),IconRight:({...o})=>d.jsx(Gg,{className:"h-4 w-4"})},...r})}Sc.displayName="Calendar";var dl="Popover",[L0,Tj]=Fo(dl,[il]),Zi=il(),[o_,ar]=L0(dl),I0=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Zi(t),l=g.useRef(null),[u,c]=g.useState(!1),[f,p]=Sd({prop:r,defaultProp:o??!1,onChange:i,caller:dl});return d.jsx(DE,{...s,children:d.jsx(o_,{scope:t,contentId:Ua(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:g.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:g.useCallback(()=>c(!0),[]),onCustomAnchorRemove:g.useCallback(()=>c(!1),[]),modal:a,children:n})})};I0.displayName=dl;var F0="PopoverAnchor",i_=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ar(F0,n),i=Zi(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return g.useEffect(()=>(a(),()=>s()),[a,s]),d.jsx(Wd,{...i,...r,ref:t})});i_.displayName=F0;var z0="PopoverTrigger",$0=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ar(z0,n),i=Zi(n),a=Me(t,o.triggerRef),s=d.jsx(ve.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":H0(o.open),...r,ref:a,onClick:re(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?s:d.jsx(Wd,{asChild:!0,...i,children:s})});$0.displayName=z0;var sf="PopoverPortal",[a_,s_]=L0(sf,{forceMount:void 0}),W0=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=ar(sf,t);return d.jsx(a_,{scope:t,forceMount:n,children:d.jsx(ir,{present:n||i.open,children:d.jsx(Zs,{asChild:!0,container:o,children:r})})})};W0.displayName=sf;var Oo="PopoverContent",B0=g.forwardRef((e,t)=>{const n=s_(Oo,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=ar(Oo,e.__scopePopover);return d.jsx(ir,{present:r||i.open,children:i.modal?d.jsx(u_,{...o,ref:t}):d.jsx(c_,{...o,ref:t})})});B0.displayName=Oo;var l_=jo("PopoverContent.RemoveScroll"),u_=g.forwardRef((e,t)=>{const n=ar(Oo,e.__scopePopover),r=g.useRef(null),o=Me(t,r),i=g.useRef(!1);return g.useEffect(()=>{const a=r.current;if(a)return n0(a)},[]),d.jsx(qd,{as:l_,allowPinchZoom:!0,children:d.jsx(V0,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:re(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:re(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:re(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),c_=g.forwardRef((e,t)=>{const n=ar(Oo,e.__scopePopover),r=g.useRef(!1),o=g.useRef(!1);return d.jsx(V0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,s;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(s=n.triggerRef.current)==null||s.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),V0=g.forwardRef((e,t)=>
217{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=ar(Oo,n),h=Zi(n);return Gy(),d.jsx(Qd,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:d.jsx(Yi,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:d.jsx(Ny,{"data-state":H0(p.open),role:"dialog",id:p.contentId,...h,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),U0="PopoverClose",d_=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ar(U0,n);return d.jsx(ve.button,{type:"button",...r,ref:t,onClick:re(e.onClick,()=>o.onOpenChange(!1))})});d_.displayName=U0;var f_="PopoverArrow",h_=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Zi(n);return d.jsx(Ty,{...o,...r,ref:t})});h_.displayName=f_;function H0(e){return e?"open":"closed"}var p_=I0,m_=$0,v_=W0,Y0=B0;const Tp=p_,_p=m_,Cc=g.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>d.jsx(v_,{children:d.jsx(Y0,{ref:o,align:t,sideOffset:n,className:xe("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",e),...r})}));Cc.displayName=Y0.displayName;const G0=g.forwardRef(({className:e,type:t,...n},r)=>d.jsx("input",{type:t,className:xe("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}));G0.displayName="Input";var g_="Label",Q0=g.forwardRef((e,t)=>d.jsx(ve.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())}}));Q0.displayName=g_;var q0=Q0;const y_=Nd("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Xa=g.forwardRef(({className:e,...t},n)=>d.jsx(q0,{ref:n,className:xe(y_(),e),...t}));Xa.displayName=q0.displayName;const w_={courtyard:"https://pms-api.smartness.com/api/3.0/room-types/generate-ics/3347506f394b2f3133425072643645484d79416239673d3d.ics",garden:"https://pms-api.smartness.com/api/3.0/room-types/generate-ics/6f6a786d51694951327870754e41395264312b3870773d3d.ics",hillview:"https://pms-api.smartness.com/api/3.0/room-types/generate-ics/67462f3276736837424c76596959637343767a6b4b773d3d.ics",skyline:"https://pms-api.smartness.com/api/3.0/room-types/generate-ics/50375051546a45554c786e334b5451754c61524a55413d3d.ics"};function x_(e){const t=[],n=e.split("BEGIN:VEVENT");for(let o=1;o<n.length;o++){const i=n[o],a=i.match(/DTSTART;VALUE=DATE:(\d{4})(\d{2})(\d{2})/),s=i.match(/DTEND;VALUE=DATE:(\d{4})(\d{2})(\d{2})/);if(a&&s){const l=new Date(Number(a[1]),Number(a[2])-1,Number(a[3])),u=new Date(Number(s[1]),Number(s[2])-1,Number(s[3])),c=new Date(u.getTime()-864e5);t.push({from:l,to:c})}}if(t.length===0)return t;t.sort((o,i)=>o.from.getTime()-i.from.getTime());const r=[t[0]];for(let o=1;o<t.length;o++){const i=r[r.length-1];t[o].from.getTime()<=i.to.getTime()?i.to=new Date(Math.max(i.to.getTime(),t[o].to.getTime())):r.push(t[o])}return r}function b_(e){const[t,n]=g.useState([]),[r,o]=g.useState(!0),[i,a]=g.useState(!1);return g.useEffect(()=>{const s=w_[e];
217if(!s){o(!1);return}let l=!1;return o(!0),a(!1),fetch(s).then(u=>{if(!u.ok)throw new Error("Failed to fetch");return u.text()}).then(u=>{l||(n(x_(u)),o(!1))}).catch(()=>{l||(a(!0),o(!1))}),()=>{l=!0}},[e]),{blockedRanges:t,loading:r,error:i}}function jp(e,t){return t.some(n=>xc(e,{start:n.from,end:n.to}))}function k_(e,t,n){return n.some(r=>xc(e,{start:r.from,end:r.to})||xc(t,{start:r.from,end:r.to})||Do(e,r.from)&&Do(r.to,t))}const S_={courtyard:"https://www.airbnb.it/rooms/14771369",garden:"https://www.airbnb.it/rooms/15771028",hillview:"https://www.airbnb.it/rooms/30267414",skyline:"https://www.airbnb.it/rooms/30060882"},Mp={en:{title:"Book",checkIn:"Check-in",checkOut:"Check-out",pickDate:"Pick a date",guests:"Guests",guestPlaceholder:"Number of guests",nights:"nights",night:"night",bookOnAirbnb:"Book on Airbnb",dateConflict:"Selected dates overlap with existing bookings",selectDates:"Please select check-in and check-out dates"},it:{title:"Prenota",checkIn:"Check-in",checkOut:"Check-out",pickDate:"Scegli una data",guests:"Ospiti",guestPlaceholder:"Numero di ospiti",nights:"notti",night:"notte",bookOnAirbnb:"Prenota su Airbnb",dateConflict:"Le date selezionate si sovrappongono a prenotazioni esistenti",selectDates:"Seleziona le date di check-in e check-out"},de:{title:"Buchen",checkIn:"Check-in",checkOut:"Check-out",pickDate:"Datum wählen",guests:"Gäste",guestPlaceholder:"Anzahl der Gäste",nights:"Nächte",night:"Nacht",bookOnAirbnb:"Auf Airbnb buchen",dateConflict:"Ausgewählte Daten überschneiden sich mit bestehenden Buchungen",selectDates:"Bitte wählen Sie Check-in- und Check-out-Datum"},es:{title:"Reservar",checkIn:"Check-in",checkOut:"Check-out",pickDate:"Elige una fecha",guests:"Huéspedes",guestPlaceholder:"Número de huéspedes",nights:"noches",night:"noche",bookOnAirbnb:"Reservar en Airbnb",dateConflict:"Las fechas seleccionadas se superponen con reservas existentes",selectDates:"Selecciona las fechas de check-in y check-out"},fr:{title:"Réserver",checkIn:"Arrivée",checkOut:"Départ",pickDate:"Choisir une date",guests:"Voyageurs",guestPlaceholder:"Nombre de voyageurs",nights:"nuits",night:"nuit",bookOnAirbnb:"Réserver sur Airbnb",dateConflict:"Les dates sélectionnées chevauchent des réservations existantes",selectDates:"Veuillez sélectionner les dates d'arrivée et de départ"}};function C_({open:e,onOpenChange:t,suiteName:n,suiteKey:r}){const{lang:o}=yt(),i=Mp[o]||Mp.en,{blockedRanges:a,loading:s,error:l}=b_(r),[u,c]=g.useState(),[f,p]=g.useState(),[h,b]=g.useState(""),v=Mr(new Date),x=g.useMemo(()=>!u||!f?0:Math.round((f.getTime()-u.getTime())/(1e3*60*60*24)),[u,f]),y=g.useMemo(()=>!u||!f?!1:k_(u,f,a),[u,f,a]),m=u&&f&&x>0&&!y,w=()=>{if(!m||!u||!f)return;const S=S_[r];if(!S)return;const E=new URLSearchParams({check_in:jt(u,"yyyy-MM-dd"),check_out:jt(f,"yyyy-MM-dd"),adults:h||"1",s:"67"});window.open(`${S}?${E.toString()}`,"_blank")},k=S=>Do(S,v)&&!Ve(S,v)?!0:jp(S,a);return d.jsx(SN,{open:e,onOpenChange:t,children:d.jsxs(S0,{className:"sm:max-w-lg max-h-[90vh] overflow-y-auto bg-background border-border",children:[d.jsx(C0,{children:d.jsxs(E0,{className:"font-serif text-2xl text-foreground",children:[i.title," — ",n]})}),s?d.jsxs("div",{className:"flex items-center justify-center py-12 text-muted-foreground",children:[d.jsx(ES,{className:"h-5 w-5 animate-spin mr-2"}),"Loading availability…"]}):d.jsxs("div",{className:"space-y-5 pt-2",children:[d.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(Xa,{className:"text-xs uppercase tracking-wider text-muted-foreground font-sans",children:i.checkIn}),d.jsxs(Tp,{children:[d.jsx(_p,{asChild:!0,children:d.jsxs(qa,{variant:"outline",className:xe("w-full justify-start text-left font-normal h-11",!u&&"text-muted-foreground"),children:[d.jsx(Qh,{className:"mr-2 h-4 w-4"}),u?jt(u,"dd MMM yyyy"):i.pickDate]})}),d.jsx(Cc,{className:"w-auto p-0",align:"start",children:d.jsx(Sc,{mode:"single",selected:u,onSelect:S=>{c(S),S&&(!f||f<=S)&&p(Te(S,1))},disabled:k,initialFocus:!0,className:"p-3 pointer-events-auto"})})]})]}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(Xa,{className:"text-xs uppercase tracking-wider text-muted-foreground font-sans",children:i.checkOut}),d.jsxs(Tp,{children:[d.jsx(_p,{asChild:!0,children:d.jsxs(qa,{variant:"outline",className:xe("w-full justify-start text-left font-normal h-11",!f&&"text-muted-foreground"),children:[d.jsx(Qh,{className:"mr-2 h-4 w-4"}),f?jt(f,"dd MMM yyyy"):i.pickDate]})}),d.jsx(Cc,{className:"w-auto p-0",align:"start",children:d.jsx(Sc,{mode:"single",selected:f,onSelect:p,disabled:S=>u?Do(S,Te(u,1))?!0:jp(S,a):k(S),initialFocus:!0,className:"p-3 pointer-events-auto"})})]})]})]}),x>0&&d.jsxs("div",{className:"flex items-center gap-2 text-sm text-primary font-medium",children:[d.jsx(TS,{size:14}),x," ",x===1?i.night:i.nights]}),y&&d.jsx("p",{className:"text-sm text-destructive font-medium",children:i.dateConflict}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(Xa,{className:"text-xs uppercase tracking-wider text-muted-foreground font-sans",children:i.guests}),d.jsxs("div",{className:"relative",children:[d.jsx(qg,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),d.jsx(G0,{type:"number",min:1,max:10,placeholder:i.guestPlaceholder,value:h,onChange:S=>b(S.target.value),className:"pl-10 h-11"})]})]}),d.jsx("div",{className:"pt-2",children:d.jsxs(qa,{onClick:w,disabled:!m,className:"w-full h-12 bg-[hsl(357,80%,55%)] hover:bg-[hsl(357,80%,48%)] text-white font-sans font-medium tracking-wide",children:[d.jsx(Td,{className:"mr-2 h-4 w-4"}),i.bookOnAirbnb]})})]})]})})}const E_="/assets/suite-courtyard-4-C9V30rob.jpg",P_="/assets/suite-courtyard-5-HFicWnqV.jpg",N_="/assets/suite-courtyard-6-DWr4-2Y5.jpg",T_="/assets/suite-courtyard-7-DsBK0tE7.jpg",__="/assets/suite-courtyard-8-ODTk950I.jpg",j_="/assets/suite-courtyard-9-ZqTtiWn-.jpg",M_
217="/assets/suite-garden-entrance-BYkPNO2S.jpg",R_="/assets/suite-garden-BDkyCF0m.jpg",D_="/assets/suite-garden-2-Ci80vCnB.jpg",O_="/assets/suite-garden-3-DGVn290i.jpg",A_="/assets/suite-garden-4-4y7MYZV2.jpg",L_="/assets/suite-garden-5-Di_dLNTv.jpg",I_="/assets/suite-garden-6-D_GE8ai7.jpg",F_="/assets/suite-garden-7-B2knwQ-y.jpg",z_="/assets/suite-garden-8-dSILbNh3.jpg",$_="/assets/suite-garden-9-DHhYsudv.jpg",W_="/assets/suite-hillview-4-C9ZwMzT8.jpg",B_="/assets/suite-hillview-5-cDCi-XrG.jpg",V_="/assets/suite-hillview-6-yz-hd0sn.jpg",U_="/assets/suite-hillview-7-DHWL3arr.jpg",H_="/assets/suite-hillview-8-C0S_VKZu.jpg",Y_="/assets/suite-hillview-9-CoqAV62a.jpg",G_="/assets/suite-skyline-4-C00xhuGv.jpg",Q_="/assets/suite-skyline-5-CgTrqWU7.jpg",q_="/assets/suite-skyline-6-C933wPP7.jpg",K_="/assets/suite-skyline-7-BPhE_jZC.jpg",X_="/assets/suite-skyline-8-DVBDCsH2.jpg",J_="/assets/suite-skyline-7-BPhE_jZC.jpg",Z_="/assets/suite-skyline-10-06KGzY4a.jpg",ej="/assets/suite-skyline-11-BNJhmweI.jpg",tj=[{name:"Garden",key:"garden",rating:4.87,reviewCount:174,guestFavorite:!0,images:[M_,R_,D_,O_,A_,L_,I_,F_,z_,$_]},{name:"Skyline",key:"skyline",rating:4.5,reviewCount:10,guestFavorite:!1,images:[G_,Z_,Q_,q_,K_,X_,J_,ej]},{name:"Hillview",key:"hillview",rating:4.79,reviewCount:67,guestFavorite:!0,images:[W_,B_,V_,U_,H_,Y_]},{name:"Courtyard",key:"courtyard",rating:4.75,reviewCount:200,guestFavorite:!1,images:[E_,P_,N_,T_,__,j_]}],Rp={en:"Book now",it:"Prenota ora",de:"Jetzt buchen",es:"Reservar ahora",fr:"Réserver"};function nj({images:e,name:t}){const[n,r]=g.useState(0),o=g.useCallback(()=>r(a=>a===0?e.length-1:a-1),[e.length]),i=g.useCallback(()=>r(a=>a===e.length-1?0:a+1),[e.length]);return d.jsxs("div",{className:"relative group",children:[d.jsx("img",{src:e[n],alt:`${t} suite — photo ${n+1}`,className:"w-full h-72 md:h-[480px] object-cover transition-opacity duration-500 ease-out",loading:"lazy"}),d.jsx("button",{onClick:o,"aria-label":"Previous photo",className:"absolute left-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-foreground
217/40 backdrop-blur-sm flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 active:scale-95 hover:bg-foreground/60",children:d.jsx(Yg,{size:18,className:"text-primary-foreground"})}),d.jsx("button",{onClick:i,"aria-label":"Next photo",className:"absolute right-3 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full bg-foreground/40 backdrop-blur-sm flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 active:scale-95 hover:bg-foreground/60",children:d.jsx(Gg,{size:18,className:"text-primary-foreground"})}),d.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2",children:e.map((a,s)=>d.jsx("button",{onClick:()=>r(s),"aria-label":`View photo ${s+1}`,className:`w-2 h-2 rounded-full transition-all duration-300 ${s===n?"bg-primary-foreground w-5":"bg-primary-foreground/50 hover:bg-primary-foreground/80"}`},s))})]})}function rj({suite:e,index:t}){const n=tr(),{tr:r,lang:o}=yt(),i=t%2===0,[a,s]=g.useState(!1);return d.jsxs(d.Fragment,{children:[d.jsxs("div",{ref:n,className:`flex flex-col ${i?"md:flex-row":"md:flex-row-reverse"} gap-0 md:gap-12 items-center`,style:{animationDelay:`${t*.1}s`},children:[d.jsx("div",{className:"w-full md:w-1/2 overflow-hidden rounded-sm",children:d.jsx(nj,{images:e.images,name:e.name})}),d.jsxs("div",{className:"w-full md:w-1/2 py-8 md:py-0",children:[d.jsxs("p",{className:"text-xs font-sans uppercase tracking-[0.2em] text-primary font-medium mb-3",children:["Suite ",String(t+1).padStart(2,"0")]}),d.jsx("h3",{className:"font-serif text-3xl md:text-4xl font-semibold text-foreground leading-tight mb-4",children:e.name}),d.jsx("p",{className:"text-muted-foreground text-base leading-relaxed text-pretty max-w-md mb-4",children:r(`suites.${e.key}.desc`)}),d.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[d.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-sans font-semibold text-foreground",children:[d.jsx(Qg,{size:14,className:"fill-primary text-primary"}),e.rating]}),d.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",e.reviewCount," reviews)"]}),e.guestFavorite&&d.jsxs("span",{className:"inline-flex items-center gap-1 text-xs font-sans font-medium text-primary bg-primary/10 px-2 py-0.5 rounded-full",children:[d.jsx(bS,{size:12}),"Guest Favorite"]})]}),d.jsx("p",{className:"text-sm font-sans text-primary font-medium tracking-wide mb-3",children:r(`suites.${e.key}.details`)}),d.jsxs("p",{className:"text-xs font-sans text-muted-foreground tracking-wide mb-6 flex items-center gap-1.5",children:[d.jsx(_d,{size:13,className:"text-primary"}),r("suites.location")]}),d.jsxs("button",{onClick:()=>s(!0),className:"inline-flex items-center gap-2 px-6 py-3 bg-primary text-primary-foreground font-sans text-sm font-medium tracking-wide rounded-sm hover:bg-primary/90 transition-colors duration-200 active:scale-[0.98]",children:[d.jsx(kS,{size:16}),Rp[o]||Rp.en]})]})]}),d.jsx(C_,{open:a,onOpenChange:s,suiteName:e.name,suiteKey:e.key})]})}function oj(){const e=tr(),{tr:t}=yt();return d.jsx("section",{id:"suites",className:"py-24 md:py-32 bg-background",children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{ref:e,className:"text-center mb-16 md:mb-24",children:[d.jsx("p",{className:"text-xs font-sans uppercase tracking-[0.25em] text-primary font-medium mb-3",children:t("suites.eyebrow")}),d.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-semibold text-foreground text-balance",children:t("suites.title")})]}),d.jsx("div",{className:"flex flex-col gap-20 md:gap-28",children:tj.map((n,r)=>d.jsx(rj,{suite:n,index:r},n.name))})]})})}const ij="/assets/susanna-aldrighetti-DMeREAfw.jpg",aj="/assets/luca-mastella-Ys-DNYZN.jpg",sj=[{name:"Susanna Aldrighetti",img:ij,languages:"🇮🇹 🇬🇧 🇪🇸 🇩🇪"},{name:"Luca Mastella",img:aj,languages:"🇮🇹 🇬🇧 🇩🇪 🇪🇸 🇫🇷 🇵🇹 🇯🇵"}];function lj({guide:e}){const{tr:t}=yt();return d.jsxs("div",{className:"flex flex-col items-center gap-3",children:[d.jsx("div",{className:"w-28 h-28 md:w-36 md:h-36 rounded-full overflow-hidden border-2 border-primary/20",children:d.jsx("img",{src:e.img,alt:e.name,className:"w-full h-full object-cover",loading:"lazy"})}),d.jsx("p",{className:"text-sm font-sans font-medium text-foreground",children:e.name}),d.jsx("p",{className:"text-xs text-muted-foreground tracking-wide",children:t("tours.authorizedGuide")}),d.jsx("p",{className:"text-[11px] font-sans text-primary/70 tracking-wider",children:e.languages})]})}const uj={historic:"https://veronaguide.it/posizione/verona/visita-guidata-le-meraviglie-di-verona/",wine:"https://veronaguide.it/proposte/visite-guidate/visita-guidata-di-verona-wine-in-love/",lake:"https://veronaguide.it/posizione/verona/visita-guidata-verona-panoramica-mezza-giornata/",night:"https://veronaguide.it/proposte/visite-guidate/visita-guidata-verona-misteriosa-1/"},cj=["historic","wine","lake","night"];function dj({tourKey:e,index:t}){const n=tr(),{tr:r}=yt();return d.jsxs("div",{ref:n,className:"group bg-card rounded-sm p-6 md:p-8 shadow-sm hover:shadow-md transition-shadow duration-300 flex flex-col",style:{animationDelay:`${t*.08}s`},children:[d.jsx("h3",{className:"font-serif text-xl md:text-2xl font-semibold text-foreground mb-3 leading-snug",children:r(`tours.${e}.title`)}),d.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed text-pretty mb-5 flex-1",children:r(`tours.${e}.desc`)}),d.jsxs("div",{className:"flex flex-wrap gap-4 text-xs font-sans text-primary font-medium mb-5",children:[d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx(SS,{size:14})," ",r(`tours.${e}.duration`)]}),d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx(qg,{size:14})," ",r(`tours.${e}.group`)]}),d.jsxs("span",{className:"flex items-center gap-1.5",children:[d.jsx(_d,{size:14})," Verona"]})]}),d.jsxs("a",{href:uj[e],target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-sans font-medium text-primary hover:text-primary/80 transition-colors duration-200",children:[r("tours.discover"),d.jsx(Td,{size:14})]})]})}function fj(){const e=tr(),{tr:t}=yt();return d.jsx("section",{id:"tours",className:"py-24 md:py-32 bg-secondary/50",children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{ref:e,className:"text-center mb-16",children:[d.jsx("p",{className:"text-xs font-sans uppercase tracking-[0.25em] text-primary font-medium mb-3",children:t("tours.eyebrow")}),d.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-semibold text-foreground text-balance",children:t("tours.title")}),d.jsx("p",{className:"mt-4 text-muted-foreground max-w-lg mx-auto text-pretty",children:t("tours.subtitle")}),d.jsx("div",{className:"flex justify-center gap-10 md:gap-16 mt-10",children:sj.map(n=>d.jsx(lj,{guide:n},n.name))})]}),d.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:cj.map((n,r)=>d.jsx(dj,{tourKey:n,index:r},n))}),d.jsx("div",{className:"text-center mt-12",children:d.jsxs("a",{href:"https://veronaguide.it/visite-guidate/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-primary text-primary-foreground font-sans text-sm font-medium tracking-wide rounded-sm hover:bg-primary/90 transition-colors duration-200 active:scale-[0.98]",children:[t("tours.moreLabel"),d.jsx(Td,{size:15})]})})]})})}const hj=[{name:"Ingrid",location:"Airbnb",rating:5,date:"February 2026",suite:"Garden",text:"Our stay in Verona was perfect. The apartment is very well located: you can do everything on foot, with lots of dining options nearby. Susanna was very friendly and helpful, always making sure that everything was fine. The house comes with everything necessary for a comfortable and pleasant stay."},{name:"James",location:"Edmonton, Canada",rating:5,date:"February 2026",suite:"Courtyard",text:"Susanna's place was a perfect 2 night stay. It was positioned close to 2 bridges to get into the main area of Verona. The property was beautiful, with a large open area and a nice courtyard. We felt safe and secure. Susanna responded quickly to all questions and spoke great English!"},{name:"Mark",location:"Airbnb",rating:5,date:"April 2025",suite:"Garden",text:"Super location, really exceptional. Quiet environment with great garden for breakfast. Still super close to the center. Interior is nicely renovated. We truly loved the experience. Outstanding."},{name:"Petra",location:"Airbnb",rating:5,date:"May 2025",suite:"Garden",text:"We had a wonderful time at Susanna's apartment, especially enjoying the large garden with its beautiful view. The location is great, just 10 minutes from the city center, yet very calm and peaceful, perfect for children or anyone looking for tranquility close to the city."},{name:"Victor",location:"Airbnb",rating:5,date:"September 2025",suite:"Hillview",text:"Excellent place and excellent host! The place exactly as described. Walkable distance to the old city and nice restaurants in the area. Susanna was very nice and friendly and very helpful as well."},{name:"Elisa",location:"Airbnb",rating:5,date:"February 2026",suite:"Hillview",text:"The area is quiet and at the same time very central, perfect for enjoying the city without stress. It is truly the ideal solution for those who want to visit the center and have everything at their fingertips."},{name:"Michael",location:"Airbnb",rating:5,date:"October 2024",suite:"Hillview",text:"The apartment is beautiful, spacious, and tidy, and easy to find. Susanna was a wonderful host and very responsive. The location was ideal, just a short walk to all the main sights in Verona. We would definitely recommend staying here!"},{name:"Erik",location:"Frisco, Texas",rating:5,date:"June 2024",suite:"Hillview",text:"This place was perfect for what we needed! Clean, modern but still had some old world charm. The spacious bathroom was awesome! It was about a 10 minute walk to cross the river where all the sites were close by. We had a great stay!"},{name:"Mandeep",location:"Airbnb",rating:5,date:"August 2024",suite:"Garden",text:"A great base with everything we needed to have a great stay. Walking distance to the city, a very nice walk along the river, and private and peaceful where you always felt at home. Beautiful garden to add."}];function pj({review:e,index:t}){const n=tr();return d.jsxs("div",{ref:n,className:"bg-card rounded-sm p-6 md:p-8 shadow-sm flex flex-col",style:{animationDelay:`${t*.08}s`},children:[d.jsx("div",{className:"flex gap-0.5 mb-4",children:Array.from({length:e.rating}).map((r,o)=>d.jsx(Qg,{size:14,className:"fill-primary text-primary"},o))}),d.jsxs("p",{className:"text-foreground text-sm leading-relaxed text-pretty flex-1 mb-5",children:['"',e.text,'"']}),d.jsxs("div",{className:"border-t border-border pt-4 flex items-baseline justify-between gap-2",children:[d.jsxs("div",{children:[d.jsx("p",{className:"font-sans text-sm font-semibold text-foreground",children:e.name}),d.jsx("p",{className:"text-xs text-muted-foreground",children:e.location})]}),d.jsxs("div",{className:"text-right",children:[d.jsx("p",{className:"text-xs text-primary font-medium",children:e.suite}),d.jsx("p",{className:"text-xs text-muted-foreground",children:e.date})]})]})]})}function mj(){const e=tr(),{tr:t}=yt();return d.jsx("section",{id:"reviews",className:"py-24 md:py-32 bg-background",children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{ref:e,className:"text-center mb-16",children:[d.jsx("p",{className:"text-xs font-sans uppercase tracking-[0.25em] text-primary font-medium mb-3",children:t("reviews.eyebrow")}),d.jsx("h2",{className:"font-serif text-3xl md:text-5xl font-semibold text-foreground text-balance",children:t("reviews.title")}),d.jsx("p",{className:"mt-4 text-muted-foreground max-w-md mx-auto text-pretty",children:t("reviews.subtitle")})]}),d.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:hj.map((n,r)=>d.jsx(pj,{review:n,index:r},n.name))})]})})}function vj(){const{tr:e}
217=yt();return d.jsx("footer",{id:"contact",className:"bg-foreground text-primary-foreground py-16 md:py-20",children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{className:"grid md:grid-cols-3 gap-12",children:[d.jsxs("div",{children:[d.jsxs("p",{className:"font-serif text-2xl font-semibold mb-4",children:["Verona ",d.jsx("span",{className:"italic font-normal opacity-80",children:"Up To You"})]}),d.jsx("p",{className:"text-sm opacity-70 leading-relaxed max-w-xs",children:e("footer.desc")})]}),d.jsxs("div",{children:[d.jsx("p",{className:"font-sans text-xs uppercase tracking-[0.2em] font-medium mb-4 opacity-60",children:e("footer.contact")}),d.jsxs("ul",{className:"space-y-3 text-sm opacity-80",children:[d.jsxs("li",{className:"flex items-center gap-2",children:[d.jsx(_d,{size:14,className:"opacity-60"}),"Veronetta, Verona, Italy"]}),d.jsxs("li",{className:"flex items-center gap-2",children:[d.jsx(PS,{size:14,className:"opacity-60"}),d.jsx("a",{href:"mailto:[email protected]",className:"hover:opacity-100 transition-opacity",children:"[email protected]"})]}),d.jsxs("li",{className:"flex items-center gap-2",children:[d.jsx(_S,{size:14,className:"opacity-60"}),d.jsx("a",{href:"tel:+393356071601",className:"hover:opacity-100 transition-opacity",children:"+39 335 607 1601"})]})]})]}),d.jsxs("div",{children:[d.jsx("p",{className:"font-sans text-xs uppercase tracking-[0.2em] font-medium mb-4 opacity-60",children:e("footer.links")}),d.jsxs("ul",{className:"space-y-2 text-sm opacity-80",children:[d.jsx("li",{children:d.jsx("a",{href:"#suites",className:"hover:opacity-100 transition-opacity",children:e("footer.ourSuites")})}),d.jsx("li",{children:d.jsx("a",{href:"#tours",className:"hover:opacity-100 transition-opacity",children:e("footer.tourGuides")})}),d.jsx("li",{children:d.jsx("a",{href:"#reviews",className:"hover:opacity-100 transition-opacity",children:e("footer.guestReviews")})})]})]})]}),d.jsxs("div",{className:"mt-12 pt-8 border-t border-primary-foreground/10 text-center text-xs opacity-50",children:["© ",new Date().getFullYear()," ",e("footer.copyright")]})]})})}const gj=()=>d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(o2,{}),d.jsxs("main",{children:[d.jsx(a2,{}),d.jsx(u2,{}),d.jsx(oj,{}),d.jsx(fj,{}),d.jsx(mj,{})]}),d.jsx(vj,{})]}),yj=()=>{const e=gg();return g.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),d.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:d.jsxs("div",{className:"text-center",children:[d.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),d.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),d.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},wj=new Z1,xj=()=>d.jsx(tb,{client:wj,children:d.jsx(n2,{children:d.jsxs(XE,{children:[d.jsx(dC,{}),d.jsx(yk,{}),d.jsx($b,{children:d.jsxs(Ib,{children:[d.jsx(ac,{path:"/",element:d.jsx(gj,{})}),d.jsx(ac,{path:"*",element:d.jsx(yj,{})})]})})]})})});tg(document.getElementById("root")).render(d.jsx(xj,{}));

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.