PageSourceSearch

https://titi-care-ecosystem.lovable.app/assets/index-Ca0AvfPs.js

js titi-care-ecosystem.lovable.app collected 2026-10-03 03:50:04 UTC 540,619 bytes, 266 lines download raw bytes

vendor: 5,064 bytes, lines 1-9
1var kh=e=>{throw TypeError(e)};var ec=(e,t,n)=>t.has(e)||kh("Cannot "+n);var R=(e,t,n)=>(ec(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>t.has(e)?kh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(ec(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),_e=(e,t,n)=>(ec(e,t,"access private method"),n);var Lo=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return R(e,t,r)}});function $1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Kg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qg={exports:{}},yl={},Gg={exports:{}},X={};/**
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 po=Symbol.for("react.element"),U1=Symbol.for("react.portal"),W1=Symbol.for("react.fragment"),H1=Symbol.for("react.strict_mode"),K1=Symbol.for("react.profiler"),q1=Symbol.for("react.provider"),G1=Symbol.for("react.context"),Y1=Symbol.for("react.forward_ref"),Q1=Symbol.for("react.suspense"),X1=Symbol.for("react.memo"),Z1=Symbol.for("react.lazy"),Eh=Symbol.iterator;function J1(e){return e===null||typeof e!="object"?null:(e=Eh&&e[Eh]||e["@@iterator"],typeof e=="function"?e:null)}var Yg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Qg=Object.assign,Xg={};function Gi(e,t,n){this.props=e,this.context=t,this.refs=Xg,this.updater=n||Yg}Gi.prototype.isReactComponent={};Gi.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")};Gi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zg(){}Zg.prototype=Gi.prototype;function Pd(e,t,n){this.props=e,this.context=t,this.refs=Xg,this.updater=n||Yg}var Rd=Pd.prototype=new Zg;Rd.constructor=Pd;Qg(Rd,Gi.prototype);Rd.isPureReactComponent=!0;var Th=Array.isArray,Jg=Object.prototype.hasOwnProperty,Ad={current:null},ey={key:!0,ref:!0,__self:!0,__source:!0};function ty(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)Jg.call(t,r)&&!ey.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:po,type:e,key:s,ref:o,props:i,_owner:Ad.current}}function eb(e,t){return{$$typeof:po,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Md(e){return typeof e=="object"&&e!==null&&e.$$typeof===po}function tb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var jh=/\/+/g;function tc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?tb(""+e.key):t.toString(36)}function aa(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case po:case U1:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+tc(o,0):r,Th(i)?(n="",e!=null&&(n=e.replace(jh,"$&/")+"/"),aa(i,t,n,"",function(u){return u})):i!=null&&(Md(i)&&(i=eb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(jh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Th(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+tc(s,a);o+=aa(s,t,n,l,i)}else if(l=J1(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+tc(s,a++),o+=aa(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}
vendor: 10,027 bytes, lines 9-33
9function Do(e,t,n){if(e==null)return e;var r=[],i=0;return aa(e,r,"","",function(s){return t.call(n,s,i++)}),r}function nb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ze={current:null},la={transition:null},rb={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:la,ReactCurrentOwner:Ad};function ny(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Do,forEach:function(e,t,n){Do(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Do(e,function(){t++}),t},toArray:function(e){return Do(e,function(t){return t})||[]},only:function(e){if(!Md(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=Gi;X.Fragment=W1;X.Profiler=K1;X.PureComponent=Pd;X.StrictMode=H1;X.Suspense=Q1;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rb;X.act=ny;X.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=Qg({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Ad.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Jg.call(t,l)&&!ey.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:po,type:e.type,key:i,ref:s,props:r,_owner:o}};X.createContext=function(e){return e={$$typeof:G1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:q1,_context:e},e.Consumer=e};X.createElement=ty;X.createFactory=function(e){var t=ty.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:Y1,render:e}};X.isValidElement=Md;X.lazy=function(e){return{$$typeof:Z1,_payload:{_status:-1,_result:e},_init:nb}};X.memo=function(e,t){return{$$typeof:X1,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=la.transition;la.transition={};try{e()}finally{la.transition=t}};X.unstable_act=ny;X.useCallback=function(e,t){return Ze.current.useCallback(e,t)};X.useContext=function(e){return Ze.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return Ze.current.useDeferredValue(e)};X.useEffect=function(e,t){return Ze.current.useEffect(e,t)};X.useId=function(){return Ze.current.useId()};X.useImperativeHandle=function(e,t,n){return Ze.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return Ze.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return Ze.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return Ze.current.useMemo(e,t)};X.useReducer=function(e,t,n){return Ze.current.useReducer(e,t,n)};X.useRef=function(e){return Ze.current.useRef(e)};X.useState=function(e){return Ze.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return Ze.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return Ze.current.useTransition()};X.version="18.3.1";Gg.exports=X;var b=Gg.exports;const L=Kg(b),ry=$1({__proto__:null,default:L},[b]);/**
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 ib=b,sb=Symbol.for("react.element"),ob=Symbol.for("react.fragment"),ab=Object.prototype.hasOwnProperty,lb=ib.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cb={key:!0,ref:!0,__self:!0,__source:!0};function iy(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)ab.call(t,r)&&!cb.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:sb,type:e,key:s,ref:o,props:i,_owner:lb.current}}yl.Fragment=ob;yl.jsx=iy;yl.jsxs=iy;qg.exports=yl;var c=qg.exports,sy={exports:{}},mt={},oy={exports:{}},ay={};/**
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(j,P){var O=j.length;j.push(P);e:for(;0<O;){var $=O-1>>>1,B=j[$];if(0<i(B,P))j[$]=P,j[O]=B,O=$;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var P=j[0],O=j.pop();if(O!==P){j[0]=O;e:for(var $=0,B=j.length,Q=B>>>1;$<Q;){var Z=2*($+1)-1,we=j[Z],Ve=Z+1,ne=j[Ve];if(0>i(we,O))Ve<B&&0>i(ne,we)?(j[$]=ne,j[Ve]=O,$=Ve):(j[$]=we,j[Z]=O,$=Z);else if(Ve<B&&0>i(ne,O))j[$]=ne,j[Ve]=O,$=Ve;else break e}}return P}function i(j,P){var O=j.sortIndex-P.sortIndex;return O!==0?O:j.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],d=1,f=null,h=3,p=!1,x=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(j){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=j)r(u),P.sortIndex=P.expirationTime,t(l,P);else break;P=n(u)}}function S(j){if(y=!1,v(j),!x)if(n(l)!==null)x=!0,z(C);else{var P=n(u);P!==null&&q(S,P.startTime-j)}}function C(j,P){x=!1,y&&(y=!1,g(T),T=-1),p=!0;var O=h;try{for(v(P),f=n(l);f!==null&&(!(f.expirationTime>P)||j&&!V());){var $=f.callback;if(typeof $=="function"){f.callback=null,h=f.priorityLevel;var B=$(f.expirationTime<=P);P=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(l)&&r(l),v(P)}else r(l);f=n(l)}if(f!==null)var Q=!0;else{var Z=n(u);Z!==null&&q(S,Z.startTime-P),Q=!1}return Q}finally{f=null,h=O,p=!1}}var k=!1,E=null,T=-1,A=5,N=-1;function V(){return!(e.unstable_now()-N<A)}function I(){if(E!==null){var j=e.unstable_now();N=j;var P=!0;try{P=E(!0,j)}finally{P?U():(k=!1,E=null)}}else k=!1}var U;if(typeof m=="function")U=function(){m(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,W=D.port2;D.port1.onmessage=I,U=function(){W.postMessage(null)}}else U=function(){w(I,0)};function z(j){E=j,k||(k=!0,U())}function q(j,P){T=w(function(){j(e.unstable_now())},P)}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(j){j.callback=null},e.unstable_continueExecution=function(){x||p||(x=!0,z(C))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(j){switch(h){case 1:case 2:case 3:var P=3;break;default:P=h}var O=h;h=P;try{return j()}finally{h=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,P){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var O=h;h=j;try{return P()}finally{h=O}},e.unstable_scheduleCallback=function(j,P,O){var $=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?$+O:$):O=$,j){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=O+B,j={id:d++,callback:P,priorityLevel:j,startTime:O,expirationTime:B,sortIndex:-1},O>$?(j.sortIndex=O,t(u,j),n(l)===null&&j===n(u)&&(y?(g(T),T=-1):y=!0,q(S,O-$))):(j.sortIndex=B,t(l,j),x||p||(x=!0,z(C))),j},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(j){var P=h;return function(){var O=h;h=P;try{return j.apply(this,arguments)}finally{h=O}}}})(ay);oy.exports=ay;var ub=oy.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 db=b,pt=ub;function M(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ly=new Set,_s={};function Kr(e,t){Oi(e,t),Oi(e+"Capture",t)}function Oi(e,t){for(_s[e]=t,e=0;e<t.length;e++)ly.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xc=Object.prototype.hasOwnProperty,fb=/^[: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]*$/,Nh={},Ph={};function hb(e){return Xc.call(Ph,e)?!0:Xc.call(Nh,e)?!1:fb.test(e)?Ph[e]=!0:(Nh[e]=!0,!1)}function pb(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 mb(e,t,n,r){if(t===null||typeof t>"u"||pb(e,t,n,r))return!0;
vendor: 5,200 bytes, lines 33-34
33if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Oe[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Oe[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Oe[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Oe[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Oe[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Oe[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Oe[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Oe[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Oe[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ld=/[\-:]([a-z])/g;function Dd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ld,Dd);Oe[t]=new Je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ld,Dd);Oe[t]=new Je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ld,Dd);Oe[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Oe[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});Oe.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Oe[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function Id(e,t,n,r){var i=Oe.hasOwnProperty(t)?Oe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(mb(t,n,i,r)&&(n=null),r||i===null?hb(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Cn=db.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Io=Symbol.for("react.element"),si=Symbol.for("react.portal"),oi=Symbol.for("react.fragment"),Od=Symbol.for("react.strict_mode"),Zc=Symbol.for("react.profiler"),cy=Symbol.for("react.provider"),uy=Symbol.for("react.context"),Vd=Symbol.for("react.forward_ref"),Jc=Symbol.for("react.suspense"),eu=Symbol.for("react.suspense_list"),_d=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),dy=Symbol.for("react.offscreen"),Rh=Symbol.iterator;function ls(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,nc;function xs(e){if(nc===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);nc=t&&t[1]||""}return`
34`+nc+e}var rc=!1;function ic(e,t){if(!e||rc)return"";rc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,608 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),s=r.stack.split(`
36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{rc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xs(e):""}function gb(e){switch(e.tag){case 5:return xs(e.type);case 16:return xs("Lazy");case 13:return xs("Suspense");case 19:return xs("SuspenseList");case 0:case 2:case 15:return e=ic(e.type,!1),e;case 11:return e=ic(e.type.render,!1),e;case 1:return e=ic(e.type,!0),e;default:return""}}function tu(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 oi:return"Fragment";case si:return"Portal";case Zc:return"Profiler";case Od:return"StrictMode";case Jc:return"Suspense";case eu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case uy:return(e.displayName||"Context")+".Consumer";case cy:return(e._context.displayName||"Context")+".Provider";case Vd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _d:return t=e.displayName||null,t!==null?t:tu(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return tu(e(t))}catch{}}return null}function yb(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 tu(t);case 8:return t===Od?"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 ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vb(e){var t=fy(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 i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oo(e){e._valueTracker||(e._valueTracker=vb(e))}function hy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=fy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ra(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 nu(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ah(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ir(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 py(e,t){t=t.checked,t!=null&&Id(e,"checked",t,!1)}function ru(e,t){py(e,t);var n=ir(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")?iu(e,t.type,n):t.hasOwnProperty("defaultValue")&&iu(e,t.type,ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mh(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 iu(e,t,n){(t!=="number"||Ra(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ws=Array.isArray;function wi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ir(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function su(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Lh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(ws(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ir(n)}}
vendor: 11,144 bytes, line 37
37function my(e,t){var n=ir(t.value),r=ir(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 Dh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gy(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 ou(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vo,yy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Vo=Vo||document.createElement("div"),Vo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ks={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},xb=["Webkit","ms","Moz","O"];Object.keys(ks).forEach(function(e){xb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ks[t]=ks[e]})});function vy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ks.hasOwnProperty(e)&&ks[e]?(""+t).trim():t+"px"}function xy(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=vy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var wb=ge({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 au(e,t){if(t){if(wb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function lu(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 cu=null;function Fd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uu=null,bi=null,Si=null;function Ih(e){if(e=yo(e)){if(typeof uu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Sl(t),uu(e.stateNode,e.type,t))}}function wy(e){bi?Si?Si.push(e):Si=[e]:bi=e}function by(){if(bi){var e=bi,t=Si;if(Si=bi=null,Ih(e),t)for(e=0;e<t.length;e++)Ih(t[e])}}function Sy(e,t){return e(t)}function Cy(){}var sc=!1;function ky(e,t,n){if(sc)return e(t,n);sc=!0;try{return Sy(e,t,n)}finally{sc=!1,(bi!==null||Si!==null)&&(Cy(),by())}}function zs(e,t){var n=e.stateNode;if(n===null)return null;var r=Sl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(M(231,t,typeof n));return n}var du=!1;if(gn)try{var cs={};Object.defineProperty(cs,"passive",{get:function(){du=!0}}),window.addEventListener("test",cs,cs),window.removeEventListener("test",cs,cs)}catch{du=!1}function bb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Es=!1,Aa=null,Ma=!1,fu=null,Sb={onError:function(e){Es=!0,Aa=e}};function Cb(e,t,n,r,i,s,o,a,l){Es=!1,Aa=null,bb.apply(Sb,arguments)}function kb(e,t,n,r,i,s,o,a,l){if(Cb.apply(this,arguments),Es){if(Es){var u=Aa;Es=!1,Aa=null}else throw Error(M(198));Ma||(Ma=!0,fu=u)}}function qr(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 Ey(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 Oh(e){if(qr(e)!==e)throw Error(M(188))}function Eb(e){var t=e.alternate;if(!t){if(t=qr(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Oh(i),e;if(s===r)return Oh(i),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function Ty(e){return e=Eb(e),e!==null?jy(e):null}function jy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=jy(e);if(t!==null)return t;e=e.sibling}return null}var Ny=pt.unstable_scheduleCallback,Vh=pt.unstable_cancelCallback,Tb=pt.unstable_shouldYield,jb=pt.unstable_requestPaint,xe=pt.unstable_now,Nb=pt.unstable_getCurrentPriorityLevel,zd=pt.unstable_ImmediatePriority,Py=pt.unstable_UserBlockingPriority,La=pt.unstable_NormalPriority,Pb=pt.unstable_LowPriority,Ry=pt.unstable_IdlePriority,vl=null,tn=null;function Rb(e){if(tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(vl,e,void 0,(e.current.flags&128)===128)}catch{}}var zt=Math.clz32?Math.clz32:Lb,Ab=Math.log,Mb=Math.LN2;function Lb(e){return e>>>=0,e===0?32:31-(Ab(e)/Mb|0)|0}var _o=64,Fo=4194304;function bs(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 Da(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=bs(a):(s&=o,s!==0&&(r=bs(s)))}else o=n&~i,o!==0?r=bs(o):s!==0&&(r=bs(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-zt(t),i=1<<n,r|=e[n],t&=~i;return r}function Db(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 Ib(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-zt(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=Db(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function hu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ay(){var e=_o;return _o<<=1,!(_o&4194240)&&(_o=64),e}function oc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zt(t),e[t]=n}function Ob(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 i=31-zt(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Bd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var re=0;function My(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ly,$d,Dy,Iy,Oy,pu=!1,zo=[],Yn=null,Qn=null,Xn=null,Bs=new Map,$s=new Map,_n=[],Vb="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 _h(e,t){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$s.delete(t.pointerId)}}function us(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=yo(t),t!==null&&$d(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _b(e,t,n,r,i){switch(t){case"focusin":return Yn=us(Yn,e,t,n,r,i),!0;case"dragenter":return Qn=us(Qn,e,t,n,r,i),!0;case"mouseover":return Xn=us(Xn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Bs.set(s,us(Bs.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,$s.set(s,us($s.get(s)||null,e,t,n,r,i)),!0}return!1}function Vy(e){var t=Er(e.target);if(t!==null){var n=qr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ey(n),t!==null){e.blockedOn=t,Oy(e.priority,function(){Dy(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 ca(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=mu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);cu=r,n.target.dispatchEvent(r),cu=null}else return t=yo(n),t!==null&&$d(t),e.blockedOn=n,!1;t.shift()}return!0}function Fh(e,t,n){ca(e)&&n.delete(t)}function Fb(){pu=!1,Yn!==null&&ca(Yn)&&(Yn=null),Qn!==null&&ca(Qn)&&(Qn=null),Xn!==null&&ca(Xn)&&(Xn=null),Bs.forEach(Fh),$s.forEac
vendor: 11,506 bytes, line 37
37h(Fh)}function ds(e,t){e.blockedOn===t&&(e.blockedOn=null,pu||(pu=!0,pt.unstable_scheduleCallback(pt.unstable_NormalPriority,Fb)))}function Us(e){function t(i){return ds(i,e)}if(0<zo.length){ds(zo[0],e);for(var n=1;n<zo.length;n++){var r=zo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yn!==null&&ds(Yn,e),Qn!==null&&ds(Qn,e),Xn!==null&&ds(Xn,e),Bs.forEach(t),$s.forEach(t),n=0;n<_n.length;n++)r=_n[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<_n.length&&(n=_n[0],n.blockedOn===null);)Vy(n),n.blockedOn===null&&_n.shift()}var Ci=Cn.ReactCurrentBatchConfig,Ia=!0;function zb(e,t,n,r){var i=re,s=Ci.transition;Ci.transition=null;try{re=1,Ud(e,t,n,r)}finally{re=i,Ci.transition=s}}function Bb(e,t,n,r){var i=re,s=Ci.transition;Ci.transition=null;try{re=4,Ud(e,t,n,r)}finally{re=i,Ci.transition=s}}function Ud(e,t,n,r){if(Ia){var i=mu(e,t,n,r);if(i===null)gc(e,t,r,Oa,n),_h(e,r);else if(_b(i,e,t,n,r))r.stopPropagation();else if(_h(e,r),t&4&&-1<Vb.indexOf(e)){for(;i!==null;){var s=yo(i);if(s!==null&&Ly(s),s=mu(e,t,n,r),s===null&&gc(e,t,r,Oa,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else gc(e,t,r,null,n)}}var Oa=null;function mu(e,t,n,r){if(Oa=null,e=Fd(r),e=Er(e),e!==null)if(t=qr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ey(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 Oa=e,null}function _y(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(Nb()){case zd:return 1;case Py:return 4;case La:case Pb:return 16;case Ry:return 536870912;default:return 16}default:return 16}}var Hn=null,Wd=null,ua=null;function Fy(){if(ua)return ua;var e,t=Wd,n=t.length,r,i="value"in Hn?Hn.value:Hn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return ua=i.slice(e,1<r?1-r:void 0)}function da(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 Bo(){return!0}function zh(){return!1}function gt(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Bo:zh,this.isPropagationStopped=zh,this}return ge(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=Bo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Bo)},persist:function(){},isPersistent:Bo}),t}var Yi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hd=gt(Yi),go=ge({},Yi,{view:0,detail:0}),$b=gt(go),ac,lc,fs,xl=ge({},go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kd,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!==fs&&(fs&&e.type==="mousemove"?(ac=e.screenX-fs.screenX,lc=e.screenY-fs.screenY):lc=ac=0,fs=e),ac)},movementY:function(e){return"movementY"in e?e.movementY:lc}}),Bh=gt(xl),Ub=ge({},xl,{dataTransfer:0}),Wb=gt(Ub),Hb=ge({},go,{relatedTarget:0}),cc=gt(Hb),Kb=ge({},Yi,{animationName:0,elapsedTime:0,pseudoElement:0}),qb=gt(Kb),Gb=ge({},Yi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Yb=gt(Gb),Qb=ge({},Yi,{data:0}),$h=gt(Qb),Xb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zb={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"},Jb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function eS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jb[e])?!!t[e]:!1}function Kd(){return eS}var tS=ge({},go,{key:function(e){if(e.key){var t=Xb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=da(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Zb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kd,charCode:function(e){return e.type==="keypress"?da(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?da(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nS=gt(tS),rS=ge({},xl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uh=gt(rS),iS=ge({},go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kd}),sS=gt(iS),oS=ge({},Yi,{propertyName:0,elapsedTime:0,pseudoElement:0}),aS=gt(oS),lS=ge({},xl,{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}),cS=gt(lS),uS=[9,13,27,32],qd=gn&&"CompositionEvent"in window,Ts=null;gn&&"documentMode"in document&&(Ts=document.documentMode);var dS=gn&&"TextEvent"in window&&!Ts,zy=gn&&(!qd||Ts&&8<Ts&&11>=Ts),Wh=" ",Hh=!1;function By(e,t){switch(e){case"keyup":return uS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $y(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ai=!1;function fS(e,t){switch(e){case"compositionend":return $y(t);case"keypress":return t.which!==32?null:(Hh=!0,Wh);case"textInput":return e=t.data,e===Wh&&Hh?null:e;default:return null}}function hS(e,t){if(ai)return e==="compositionend"||!qd&&By(e,t)?(e=Fy(),ua=Wd=Hn=null,ai=!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 zy&&t.locale!=="ko"?null:t.data;default:return null}}var pS={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 Kh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!pS[e.type]:t==="textarea"}function Uy(e,t,n,r){wy(r),t=Va(t,"onChange"),0<t.length&&(n=new Hd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var js=null,Ws=null;function mS(e){ev(e,0)}function wl(e){var t=ui(e);if(hy(t))return e}function gS(e,t){if(e==="change")return t}var Wy=!1;if(gn){var uc;if(gn){var dc="oninput"in document;if(!dc){var qh=document.createElement("div");qh.setAttribute("oninput","return;"),dc=typeof qh.oninput=="function"}uc=dc}else uc=!1;Wy=uc&&(!document.documentMode||9<document.documentMode)}function Gh(){js&&(js.detachEvent("onpropertychange",Hy),Ws=js=null)}function Hy(e){if(e.propertyName==="value"&&wl(Ws)){var t=[];Uy(t,Ws,e,Fd(e)),ky(mS,t)}}function yS(e,t,n){e==="focusin"?(Gh(),js=t,Ws=n,js.attachEvent("onpropertychange",Hy)):e==="focusout"&&Gh()}function vS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wl(Ws)}function xS(e,t){if(e==="click")return wl(t)}function wS(e,t){if(e==="input"||e==="change")return wl(t)}function bS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:bS;function Hs(e,t){if(Ut(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 i=n[r];if(!Xc.call(t,i)||!Ut(e[i],t[i]))return!1}return!0}function Yh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qh(e,t){var n=Yh(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=Yh(n)}}function Ky(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ky(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qy(){for(var e=window,t=Ra();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ra(e.document)}return t}function Gd(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 SS(e){var t=qy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ky(n.ownerDocument.documentElement,n)){if(r!==null&&Gd(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 i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Qh(n,s);var o=Qh(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 CS=gn&&"documentMode"in document&&11>=document.documentMode,li=null,gu=null,Ns=null,yu=!1;
vendor: 4,120 bytes, line 37
37function Xh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yu||li==null||li!==Ra(r)||(r=li,"selectionStart"in r&&Gd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ns&&Hs(Ns,r)||(Ns=r,r=Va(gu,"onSelect"),0<r.length&&(t=new Hd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=li)))}function $o(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ci={animationend:$o("Animation","AnimationEnd"),animationiteration:$o("Animation","AnimationIteration"),animationstart:$o("Animation","AnimationStart"),transitionend:$o("Transition","TransitionEnd")},fc={},Gy={};gn&&(Gy=document.createElement("div").style,"AnimationEvent"in window||(delete ci.animationend.animation,delete ci.animationiteration.animation,delete ci.animationstart.animation),"TransitionEvent"in window||delete ci.transitionend.transition);function bl(e){if(fc[e])return fc[e];if(!ci[e])return e;var t=ci[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Gy)return fc[e]=t[n];return e}var Yy=bl("animationend"),Qy=bl("animationiteration"),Xy=bl("animationstart"),Zy=bl("transitionend"),Jy=new Map,Zh="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 pr(e,t){Jy.set(e,t),Kr(t,[e])}for(var hc=0;hc<Zh.length;hc++){var pc=Zh[hc],kS=pc.toLowerCase(),ES=pc[0].toUpperCase()+pc.slice(1);pr(kS,"on"+ES)}pr(Yy,"onAnimationEnd");pr(Qy,"onAnimationIteration");pr(Xy,"onAnimationStart");pr("dblclick","onDoubleClick");pr("focusin","onFocus");pr("focusout","onBlur");pr(Zy,"onTransitionEnd");Oi("onMouseEnter",["mouseout","mouseover"]);Oi("onMouseLeave",["mouseout","mouseover"]);Oi("onPointerEnter",["pointerout","pointerover"]);Oi("onPointerLeave",["pointerout","pointerover"]);Kr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Kr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Kr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Kr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Kr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Kr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ss="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(" "),TS=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ss));function Jh(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,kb(r,t,void 0,e),e.currentTarget=null}function ev(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;Jh(i,a,u),s=l}}}if(Ma)throw e=fu,Ma=!1,fu=null,e}function le(e,t){var n=t[Su];n===void 0&&(n=t[Su]=new Set);var r=e+"__bubble";n.has(r)||(tv(t,e,2,!1),n.add(r))}function mc(e,t,n){var r=0;t&&(r|=4),tv(n,e,r,t)}var Uo="_reactListening"+Math.random().toString(36).slice(2);
vendor: 4,514 bytes, line 37
37function Ks(e){if(!e[Uo]){e[Uo]=!0,ly.forEach(function(n){n!=="selectionchange"&&(TS.has(n)||mc(n,!1,e),mc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Uo]||(t[Uo]=!0,mc("selectionchange",!1,t))}}function tv(e,t,n,r){switch(_y(t)){case 1:var i=zb;break;case 4:i=Bb;break;default:i=Ud}n=i.bind(null,t,n,e),i=void 0,!du||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function gc(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Er(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}ky(function(){var u=s,d=Fd(n),f=[];e:{var h=Jy.get(e);if(h!==void 0){var p=Hd,x=e;switch(e){case"keypress":if(da(n)===0)break e;case"keydown":case"keyup":p=nS;break;case"focusin":x="focus",p=cc;break;case"focusout":x="blur",p=cc;break;case"beforeblur":case"afterblur":p=cc;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":p=Bh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Wb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=sS;break;case Yy:case Qy:case Xy:p=qb;break;case Zy:p=aS;break;case"scroll":p=$b;break;case"wheel":p=cS;break;case"copy":case"cut":case"paste":p=Yb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Uh}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=zs(m,g),S!=null&&y.push(qs(m,S,v)))),w)break;m=m.return}0<y.length&&(h=new p(h,x,null,n,d),f.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==cu&&(x=n.relatedTarget||n.fromElement)&&(Er(x)||x[yn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?Er(x):null,x!==null&&(w=qr(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(y=Bh,S="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Uh,S="onPointerLeave",g="onPointerEnter",m="pointer"),w=p==null?h:ui(p),v=x==null?h:ui(x),h=new y(S,m+"leave",p,n,d),h.target=w,h.relatedTarget=v,S=null,Er(d)===u&&(y=new y(g,m+"enter",x,n,d),y.target=v,y.relatedTarget=w,S=y),w=S,p&&x)t:{for(y=p,g=x,m=0,v=y;v;v=ri(v))m++;for(v=0,S=g;S;S=ri(S))v++;for(;0<m-v;)y=ri(y),m--;for(;0<v-m;)g=ri(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=ri(y),g=ri(g)}y=null}else y=null;p!==null&&ep(f,h,p,y,!1),x!==null&&w!==null&&ep(f,w,x,y,!0)}}e:{if(h=u?ui(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=gS;else if(Kh(h))if(Wy)C=wS;else{C=vS;var k=yS}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=xS);if(C&&(C=C(e,u))){Uy(f,C,n,d);break e}k&&k(e,h,u),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&iu(h,"number",h.value)}switch(k=u?ui(u):window,e){case"focusin":(Kh(k)||k.contentEditable==="true")&&(li=k,gu=u,Ns=null);break;case"focusout":Ns=gu=li=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,Xh(f,n,d);break;case"selectionchange":if(CS)break;case"keydown":case"keyup":Xh(f,n,d)}var E;if(qd)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else ai?By(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(zy&&n.locale!=="ko"&&(ai||T!=="onCompositionStart"?T==="onCompositionEnd"&&ai&&(E=Fy()):(Hn=d,Wd="value"in Hn?Hn.value:Hn.textContent,ai=!0)),k=Va(u,T),0<k.length&&(T=new $h(T,e,null,n,d),f.push({event:T,listeners:k}),E?T.data=E:(E=$y(n),E!==null&&(T.data=E)))),(E=dS?fS(e,n):hS(e,n))&&
vendor: 3,796 bytes, lines 37-38
37(u=Va(u,"onBeforeInput"),0<u.length&&(d=new $h("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=E))}ev(f,t)})}function qs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Va(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=zs(e,n),s!=null&&r.unshift(qs(e,s,i)),s=zs(e,t),s!=null&&r.push(qs(e,s,i))),e=e.return}return r}function ri(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ep(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=zs(n,s),l!=null&&o.unshift(qs(n,l,a))):i||(l=zs(n,s),l!=null&&o.push(qs(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jS=/\r\n?/g,NS=/\u0000|\uFFFD/g;function tp(e){return(typeof e=="string"?e:""+e).replace(jS,`
38`).replace(NS,"")}function Wo(e,t,n){if(t=tp(t),tp(e)!==t&&n)throw Error(M(425))}function _a(){}var vu=null,xu=null;function wu(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 bu=typeof setTimeout=="function"?setTimeout:void 0,PS=typeof clearTimeout=="function"?clearTimeout:void 0,np=typeof Promise=="function"?Promise:void 0,RS=typeof queueMicrotask=="function"?queueMicrotask:typeof np<"u"?function(e){return np.resolve(null).then(e).catch(AS)}:bu;function AS(e){setTimeout(function(){throw e})}function yc(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Us(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Us(t)}function Zn(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 rp(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 Qi=Math.random().toString(36).slice(2),en="__reactFiber$"+Qi,Gs="__reactProps$"+Qi,yn="__reactContainer$"+Qi,Su="__reactEvents$"+Qi,MS="__reactListeners$"+Qi,LS="__reactHandles$"+Qi;function Er(e){var t=e[en];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[en]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=rp(e);e!==null;){if(n=e[en])return n;e=rp(e)}return t}e=n,n=e.parentNode}return null}function yo(e){return e=e[en]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Sl(e){return e[Gs]||null}var Cu=[],di=-1;function mr(e){return{current:e}}function ue(e){0>di||(e.current=Cu[di],Cu[di]=null,di--)}function oe(e,t){di++,Cu[di]=e.current,e.current=t}var sr={},We=mr(sr),rt=mr(!1),zr=sr;function Vi(e,t){var n=e.type.contextTypes;if(!n)return sr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function Fa(){ue(rt),ue(We)}function ip(e,t,n){if(We.current!==sr)throw Error(M(168));oe(We,t),oe(rt,n)}function nv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,yb(e)||"Unknown",i));return ge({},n,r)}function za(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,zr=We.current,oe(We,e),oe(rt,rt.current),!0}
vendor: 5,135 bytes, line 38
38function sp(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=nv(e,t,zr),r.__reactInternalMemoizedMergedChildContext=e,ue(rt),ue(We),oe(We,e)):ue(rt),oe(rt,n)}var dn=null,Cl=!1,vc=!1;function rv(e){dn===null?dn=[e]:dn.push(e)}function DS(e){Cl=!0,rv(e)}function gr(){if(!vc&&dn!==null){vc=!0;var e=0,t=re;try{var n=dn;for(re=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dn=null,Cl=!1}catch(i){throw dn!==null&&(dn=dn.slice(e+1)),Ny(zd,gr),i}finally{re=t,vc=!1}}return null}var fi=[],hi=0,Ba=null,$a=0,xt=[],wt=0,Br=null,hn=1,pn="";function Sr(e,t){fi[hi++]=$a,fi[hi++]=Ba,Ba=e,$a=t}function iv(e,t,n){xt[wt++]=hn,xt[wt++]=pn,xt[wt++]=Br,Br=e;var r=hn;e=pn;var i=32-zt(r)-1;r&=~(1<<i),n+=1;var s=32-zt(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,hn=1<<32-zt(t)+i|n<<i|r,pn=s+e}else hn=1<<s|n<<i|r,pn=e}function Yd(e){e.return!==null&&(Sr(e,1),iv(e,1,0))}function Qd(e){for(;e===Ba;)Ba=fi[--hi],fi[hi]=null,$a=fi[--hi],fi[hi]=null;for(;e===Br;)Br=xt[--wt],xt[wt]=null,pn=xt[--wt],xt[wt]=null,hn=xt[--wt],xt[wt]=null}var ft=null,dt=null,fe=!1,Ft=null;function sv(e,t){var n=bt(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 op(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,dt=Zn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Br!==null?{id:hn,overflow:pn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=bt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,dt=null,!0):!1;default:return!1}}function ku(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Eu(e){if(fe){var t=dt;if(t){var n=t;if(!op(e,t)){if(ku(e))throw Error(M(418));t=Zn(n.nextSibling);var r=ft;t&&op(e,t)?sv(r,n):(e.flags=e.flags&-4097|2,fe=!1,ft=e)}}else{if(ku(e))throw Error(M(418));e.flags=e.flags&-4097|2,fe=!1,ft=e}}}function ap(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function Ho(e){if(e!==ft)return!1;if(!fe)return ap(e),fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!wu(e.type,e.memoizedProps)),t&&(t=dt)){if(ku(e))throw ov(),Error(M(418));for(;t;)sv(e,t),t=Zn(t.nextSibling)}if(ap(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){dt=Zn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}dt=null}}else dt=ft?Zn(e.stateNode.nextSibling):null;return!0}function ov(){for(var e=dt;e;)e=Zn(e.nextSibling)}function _i(){dt=ft=null,fe=!1}function Xd(e){Ft===null?Ft=[e]:Ft.push(e)}var IS=Cn.ReactCurrentBatchConfig;function hs(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function Ko(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function lp(e){var t=e._init;return t(e._payload)}function av(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function i(g,m){return g=nr(g,m),g.index=0,g.sibling=null,g}function s(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,S){return m===null||m.tag!==6?(m=Ec(v,g.mode,S),m.return=g,m):(m=i(m,v),m.return=g,m)}function l(g,m,v,S){var C=v.type;return C===oi?d(g,m,v.props.children,S,v.key):m!==null&&(m.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&lp(C)===m.type)?(S=i(m,v.props),S.ref=hs(g,m,v),S.return=g,S):(S=va(v.type,v.key,v.props,null,g.mode,S),S.ref=hs(g,m,v),S.return=g,S)}function u(g,m,v,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Tc(v,g.mode,S),m.return=g,m):(m=i(m,v.children||[]),m.return=g,m)}function d(g,m,v,S,C){return m===null||m.tag!==7?(m=Vr(v,g.mode,S,C),m.return=g,m):(m=i(m,v),m.return=g,m)}function f(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ec(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Io:return v=va(m.type,m.key,m.props,null,g.mode,v),v.ref=hs(g,null,m),v.return=g,v;case si:return m=Tc(m,g.mode,v),m.return=g,m;case On:var S=m._init;return f(g,S(m._payload),v)}
vendor: 2,924 bytes, line 38
38if(ws(m)||ls(m))return m=Vr(m,g.mode,v,null),m.return=g,m;Ko(g,m)}return null}function h(g,m,v,S){var C=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(g,m,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Io:return v.key===C?l(g,m,v,S):null;case si:return v.key===C?u(g,m,v,S):null;case On:return C=v._init,h(g,m,C(v._payload),S)}if(ws(v)||ls(v))return C!==null?null:d(g,m,v,S,null);Ko(g,v)}return null}function p(g,m,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,a(m,g,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Io:return g=g.get(S.key===null?v:S.key)||null,l(m,g,S,C);case si:return g=g.get(S.key===null?v:S.key)||null,u(m,g,S,C);case On:var k=S._init;return p(g,m,v,k(S._payload),C)}if(ws(S)||ls(S))return g=g.get(v)||null,d(m,g,S,C,null);Ko(m,S)}return null}function x(g,m,v,S){for(var C=null,k=null,E=m,T=m=0,A=null;E!==null&&T<v.length;T++){E.index>T?(A=E,E=null):A=E.sibling;var N=h(g,E,v[T],S);if(N===null){E===null&&(E=A);break}e&&E&&N.alternate===null&&t(g,E),m=s(N,m,T),k===null?C=N:k.sibling=N,k=N,E=A}if(T===v.length)return n(g,E),fe&&Sr(g,T),C;if(E===null){for(;T<v.length;T++)E=f(g,v[T],S),E!==null&&(m=s(E,m,T),k===null?C=E:k.sibling=E,k=E);return fe&&Sr(g,T),C}for(E=r(g,E);T<v.length;T++)A=p(E,g,T,v[T],S),A!==null&&(e&&A.alternate!==null&&E.delete(A.key===null?T:A.key),m=s(A,m,T),k===null?C=A:k.sibling=A,k=A);return e&&E.forEach(function(V){return t(g,V)}),fe&&Sr(g,T),C}function y(g,m,v,S){var C=ls(v);if(typeof C!="function")throw Error(M(150));if(v=C.call(v),v==null)throw Error(M(151));for(var k=C=null,E=m,T=m=0,A=null,N=v.next();E!==null&&!N.done;T++,N=v.next()){E.index>T?(A=E,E=null):A=E.sibling;var V=h(g,E,N.value,S);if(V===null){E===null&&(E=A);break}e&&E&&V.alternate===null&&t(g,E),m=s(V,m,T),k===null?C=V:k.sibling=V,k=V,E=A}if(N.done)return n(g,E),fe&&Sr(g,T),C;if(E===null){for(;!N.done;T++,N=v.next())N=f(g,N.value,S),N!==null&&(m=s(N,m,T),k===null?C=N:k.sibling=N,k=N);return fe&&Sr(g,T),C}for(E=r(g,E);!N.done;T++,N=v.next())N=p(E,g,T,N.value,S),N!==null&&(e&&N.alternate!==null&&E.delete(N.key===null?T:N.key),m=s(N,m,T),k===null?C=N:k.sibling=N,k=N);return e&&E.forEach(function(I){return t(g,I)}),fe&&Sr(g,T),C}function w(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===oi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Io:e:{for(var C=v.key,k=m;k!==null;){if(k.key===C){if(C=v.type,C===oi){if(k.tag===7){n(g,k.sibling),m=i(k,v.props.children),m.return=g,g=m;break e}}else if(k.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===On&&lp(C)===k.type){n(g,k.sibling),m=i(k,v.props),m.ref=hs(g,k,v),m.return=g,g=m;break e}n(g,k);break}else t(g,k);k=k.sibling}v.type===oi?(m=Vr(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=va(v.type,v.key,v.props,null,g.mode,S),S.ref=hs(g,m,v),S.return=g,g=S)}return o(g);
vendor: 8,688 bytes, line 38
38case si:e:{for(k=v.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=i(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Tc(v,g.mode,S),m.return=g,g=m}return o(g);case On:return k=v._init,w(g,m,k(v._payload),S)}if(ws(v))return x(g,m,v,S);if(ls(v))return y(g,m,v,S);Ko(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,v),m.return=g,g=m):(n(g,m),m=Ec(v,g.mode,S),m.return=g,g=m),o(g)):n(g,m)}return w}var Fi=av(!0),lv=av(!1),Ua=mr(null),Wa=null,pi=null,Zd=null;function Jd(){Zd=pi=Wa=null}function ef(e){var t=Ua.current;ue(Ua),e._currentValue=t}function Tu(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 ki(e,t){Wa=e,Zd=pi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(Zd!==e)if(e={context:e,memoizedValue:t,next:null},pi===null){if(Wa===null)throw Error(M(308));pi=e,Wa.dependencies={lanes:0,firstContext:e}}else pi=pi.next=e;return t}var Tr=null;function tf(e){Tr===null?Tr=[e]:Tr.push(e)}function cv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,tf(t)):(n.next=i.next,i.next=n),t.interleaved=n,vn(e,r)}function vn(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 Vn=!1;function nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uv(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 mn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ee&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,vn(e,n)}return i=r.interleaved,i===null?(t.next=t,tf(r)):(t.next=i.next,i.next=t),r.interleaved=t,vn(e,n)}function fa(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,Bd(e,n)}}function cp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ha(e,t,n,r){var i=e.updateQueue;Vn=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,d=u=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(h=t,p=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){f=x.call(p,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,h=typeof x=="function"?x.call(p,f,h):x,h==null)break e;f=ge({},f,h);break e;case 2:Vn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,l=f):d=d.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Ur|=o,e.lanes=o,e.memoizedState=f}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(M(191,i));i.call(r)}}}var vo={},nn=mr(vo),Ys=mr(vo),Qs=mr(vo);function jr(e){if(e===vo)throw Error(M(174));return e}function rf(e,t){switch(oe(Qs,t),oe(Ys,e),oe(nn,vo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ou(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ou(t,e)}ue(nn),oe(nn,t)}function zi(){ue(nn),ue(Ys),ue(Qs)}function dv(e){jr(Qs.current);var t=jr(nn.current),n=ou(t,e.type);t!==n&&(oe(Ys,e),oe(nn,n))}function sf(e){Ys.current===e&&(ue(nn),ue(Ys))}var pe=mr(0);function Ka(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 xc=[];function of(){for(var e=0;e<xc.length;e++)xc[e]._workInProgressVersionPrimary=null;xc.length=0}var ha=Cn.ReactCurrentDispatcher,wc=Cn.ReactCurrentBatchConfig,$r=0,me=null,Te=null,Re=null,qa=!1,Ps=!1,Xs=0,OS=0;function Fe(){throw Error(M(321))}function af(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ut(e[n],t[n]))return!1;return!0}function lf(e,t,n,r,i,s){if($r=s,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ha.current=e===null||e.memoizedState===null?zS:BS,e=n(r,i),Ps){s=0;do{if(Ps=!1,Xs=0,25<=s)throw Error(M(301));s+=1,Re=Te=null,t.updateQueue=null,ha.current=$S,e=n(r,i)}while(Ps)}if(ha.current=Ga,t=Te!==null&&Te.next!==null,$r=0,Re=Te=me=null,qa=!1,t)throw Error(M(300));return e}function cf(){var e=Xs!==0;return Xs=0,e}function Gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Re===null?me.memoizedState=Re=e:Re=Re.next=e,Re}function Tt(){if(Te===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Re===null?me.memoizedState:Re.next;if(t!==null)Re=t,Te=e;else{if(e===null)throw Error(M(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Re===null?me.memoizedState=Re=e:Re=Re.next=e}return Re}function Zs(e,t){return typeof t=="function"?t(e):t}function bc(e){var t=Tt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var d=u.lane;if(($r&d)===d)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:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,me.lanes|=d,Ur|=d}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,Ut(r,t.memoizedState)||(nt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,me.lanes|=s,Ur|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sc(e){var t=Tt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);Ut(s,t.memoizedState)||(nt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function fv(){}function hv(e,t){var n=me,r=Tt(),i=t(),s=!Ut(r.memoizedState,i);if(s&&(r.memoizedState=i,nt=!0),r=r.queue,uf(gv.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Re!==null&&Re.memoizedState.tag&1){if(n.flags|=2048,Js(9,mv.bind(null,n,r,i,t),void 0,null),Ae===null)throw Error(M(349));$r&30||pv(n,t,i)}return i}function pv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function mv(e,t,n,r){t.value=n,t.getSnapshot=r,yv(t)&&vv(e)}
vendor: 4,969 bytes, line 38
38function gv(e,t,n){return n(function(){yv(t)&&vv(e)})}function yv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ut(e,n)}catch{return!0}}function vv(e){var t=vn(e,1);t!==null&&Bt(t,e,1,-1)}function dp(e){var t=Gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:e},t.queue=e,e=e.dispatch=FS.bind(null,me,e),[t.memoizedState,e]}function Js(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 xv(){return Tt().memoizedState}function pa(e,t,n,r){var i=Gt();me.flags|=e,i.memoizedState=Js(1|t,n,void 0,r===void 0?null:r)}function kl(e,t,n,r){var i=Tt();r=r===void 0?null:r;var s=void 0;if(Te!==null){var o=Te.memoizedState;if(s=o.destroy,r!==null&&af(r,o.deps)){i.memoizedState=Js(t,n,s,r);return}}me.flags|=e,i.memoizedState=Js(1|t,n,s,r)}function fp(e,t){return pa(8390656,8,e,t)}function uf(e,t){return kl(2048,8,e,t)}function wv(e,t){return kl(4,2,e,t)}function bv(e,t){return kl(4,4,e,t)}function Sv(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 Cv(e,t,n){return n=n!=null?n.concat([e]):null,kl(4,4,Sv.bind(null,t,e),n)}function df(){}function kv(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&af(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ev(e,t){var n=Tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&af(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tv(e,t,n){return $r&21?(Ut(n,t)||(n=Ay(),me.lanes|=n,Ur|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nt=!0),e.memoizedState=n)}function VS(e,t){var n=re;re=n!==0&&4>n?n:4,e(!0);var r=wc.transition;wc.transition={};try{e(!1),t()}finally{re=n,wc.transition=r}}function jv(){return Tt().memoizedState}function _S(e,t,n){var r=tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Nv(e))Pv(t,n);else if(n=cv(e,t,n,r),n!==null){var i=Xe();Bt(n,e,r,i),Rv(n,t,r)}}function FS(e,t,n){var r=tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Nv(e))Pv(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Ut(a,o)){var l=t.interleaved;l===null?(i.next=i,tf(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=cv(e,t,i,r),n!==null&&(i=Xe(),Bt(n,e,r,i),Rv(n,t,r))}}function Nv(e){var t=e.alternate;return e===me||t!==null&&t===me}function Pv(e,t){Ps=qa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Bd(e,n)}}var Ga={readContext:Et,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},zS={readContext:Et,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:fp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pa(4194308,4,Sv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return pa(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_S.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:dp,useDebugValue:df,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=dp(!1),t=e[0];return e=VS.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=Gt();if(fe){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Ae===null)throw Error(M(349));$r&30||pv(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,fp(gv.bind(null,r,s,e),[e]),r.flags|=2048,Js(9,mv.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Gt(),t=Ae.identifierPrefix;if(fe){var n=pn,r=hn;n=(r&~(1<<32-zt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=OS++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},BS={readContext:Et,useCallback:kv,useContext:Et,useEffect:uf,useImperativeHandle:Cv,useInsertionEffect:wv,useLayoutEffect:bv,useMemo:Ev,useReducer:bc,useRef
vendor: 5,058 bytes, lines 38-40
38:xv,useState:function(){return bc(Zs)},useDebugValue:df,useDeferredValue:function(e){var t=Tt();return Tv(t,Te.memoizedState,e)},useTransition:function(){var e=bc(Zs)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:fv,useSyncExternalStore:hv,useId:jv,unstable_isNewReconciler:!1},$S={readContext:Et,useCallback:kv,useContext:Et,useEffect:uf,useImperativeHandle:Cv,useInsertionEffect:wv,useLayoutEffect:bv,useMemo:Ev,useReducer:Sc,useRef:xv,useState:function(){return Sc(Zs)},useDebugValue:df,useDeferredValue:function(e){var t=Tt();return Te===null?t.memoizedState=e:Tv(t,Te.memoizedState,e)},useTransition:function(){var e=Sc(Zs)[0],t=Tt().memoizedState;return[e,t]},useMutableSource:fv,useSyncExternalStore:hv,useId:jv,unstable_isNewReconciler:!1};function Dt(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ju(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var El={isMounted:function(e){return(e=e._reactInternals)?qr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xe(),i=tr(e),s=mn(r,i);s.payload=t,n!=null&&(s.callback=n),t=Jn(e,s,i),t!==null&&(Bt(t,e,i,r),fa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xe(),i=tr(e),s=mn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Jn(e,s,i),t!==null&&(Bt(t,e,i,r),fa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xe(),r=tr(e),i=mn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Jn(e,i,r),t!==null&&(Bt(t,e,r,n),fa(t,e,r))}};function hp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Hs(n,r)||!Hs(i,s):!0}function Av(e,t,n){var r=!1,i=sr,s=t.contextType;return typeof s=="object"&&s!==null?s=Et(s):(i=it(t)?zr:We.current,r=t.contextTypes,s=(r=r!=null)?Vi(e,i):sr),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=El,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function pp(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&&El.enqueueReplaceState(t,t.state,null)}function Nu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},nf(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Et(s):(s=it(t)?zr:We.current,i.context=Vi(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(ju(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&El.enqueueReplaceState(i,i.state,null),Ha(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Bi(e,t){try{var n="",r=t;do n+=gb(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Cc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var US=typeof WeakMap=="function"?WeakMap:Map;function Mv(e,t,n){n=mn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qa||(Qa=!0,Fu=r),Pu(e,t)},n}function Lv(e,t,n){n=mn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Pu(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Pu(e,t),typeof r!="function"&&(er===null?er=new Set([this]):er.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function mp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new US;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=rC.bind(null,e,t,n),t.then(e,e))}function gp(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 yp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=mn(-1,1),t.tag=2,Jn(n,t,1))),n.lanes|=1),e)}var WS=Cn.ReactCurrentOwner,nt=!1;function Ke(e,t,n,r){t.child=e===null?lv(t,null,n,r):Fi(t,e.child,n,r)}function vp(e,t,n,r,i){n=n.render;var s=t.ref;return ki(t,i),r=lf(e,t,n,r,s,i),n=cf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xn(e,t,i)):(fe&&n&&Yd(t),t.flags|=1,Ke(e,t,r,i
vendor: 7,991 bytes, line 40
40),t.child)}function xp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!xf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Dv(e,t,s,r,i)):(e=va(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Hs,n(o,r)&&e.ref===t.ref)return xn(e,t,i)}return t.flags|=1,e=nr(s,r),e.ref=t.ref,e.return=t,t.child=e}function Dv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Hs(s,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,xn(e,t,i)}return Ru(e,t,n,r,i)}function Iv(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(gi,ct),ct|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(gi,ct),ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,oe(gi,ct),ct|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,oe(gi,ct),ct|=r;return Ke(e,t,i,n),t.child}function Ov(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ru(e,t,n,r,i){var s=it(n)?zr:We.current;return s=Vi(t,s),ki(t,i),n=lf(e,t,n,r,s,i),r=cf(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,xn(e,t,i)):(fe&&r&&Yd(t),t.flags|=1,Ke(e,t,n,i),t.child)}function wp(e,t,n,r,i){if(it(n)){var s=!0;za(t)}else s=!1;if(ki(t,i),t.stateNode===null)ma(e,t),Av(t,n,r),Nu(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Et(u):(u=it(n)?zr:We.current,u=Vi(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&pp(t,o,r,u),Vn=!1;var h=t.memoizedState;o.state=h,Ha(t,r,o,i),l=t.memoizedState,a!==r||h!==l||rt.current||Vn?(typeof d=="function"&&(ju(t,n,d,r),l=t.memoizedState),(a=Vn||hp(t,n,a,r,h,l,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,uv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dt(t.type,a),o.props=u,f=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Et(l):(l=it(n)?zr:We.current,l=Vi(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==l)&&pp(t,o,r,l),Vn=!1,h=t.memoizedState,o.state=h,Ha(t,r,o,i);var x=t.memoizedState;a!==f||h!==x||rt.current||Vn?(typeof p=="function"&&(ju(t,n,p,r),x=t.memoizedState),(u=Vn||hp(t,n,u,r,h,x,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Au(e,t,n,r,s,i)}function Au(e,t,n,r,i,s){Ov(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&sp(t,n,!1),xn(e,t,s);r=t.stateNode,WS.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Fi(t,e.child,null,s),t.child=Fi(t,null,a,s)):Ke(e,t,a,s),t.memoizedState=r.state,i&&sp(t,n,!0),t.child}function Vv(e){var t=e.stateNode;t.pendingContext?ip(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ip(e,t.context,!1),rf(e,t.containerInfo)}function bp(e,t,n,r,i){return _i(),Xd(i),t.flags|=256,Ke(e,t,n,r),t.child}var Mu={dehydrated:null,treeContext:null,retryLane:0};function Lu(e){return{baseLanes:e,cachePool:null,transitions:null}}function _v(e,t,n){var r=t.pendingProps,i=pe.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),oe(pe,i&1),e===null)return Eu(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Nl(o,r,0,null),e=Vr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Lu(n),t.memoizedState=Mu,e):ff(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return HS(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=nr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=nr(a,s):(s=Vr(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Lu(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Mu,r}return s=e.child,e=s.sibling,r=nr(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ff(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qo(e,t,n,r){return r!==null&&Xd(r),Fi(t,e.child,null,n),e=ff(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function HS(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Cc(Error(M(422))),qo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Nl({mode:"visible",children:r.children},i,0,null),s=Vr(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Fi(t,e.child,null,o),t.child.memoizedState=Lu(o),t.memoizedState=Mu,s);if(!(t.mode&1))return qo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=Cc(s,r,void 0),qo(e,t,o,r)}if(a=(o&e.childLanes)!==0,nt||a){if(r=Ae,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,vn(e,i),Bt(r,e,i,-1))}return vf(),r=Cc(Error(M(421))),qo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=iC.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,dt=Zn(i.nextSibling),ft=t,fe=!0,Ft=null,e!==null&&(xt[wt++]=hn,xt[wt++]=pn,xt[wt++]=Br,hn=e.id,pn=e.overflow,Br=t),t=ff(t,r.children),t.flags|=4096,t)}
vendor: 4,953 bytes, line 40
40function Sp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tu(e.return,t,n)}function kc(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Fv(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ke(e,t,r.children,n),r=pe.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&&Sp(e,n,t);else if(e.tag===19)Sp(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(oe(pe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ka(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),kc(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ka(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}kc(t,!0,n,null,s);break;case"together":kc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ma(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ur|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=nr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=nr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function KS(e,t,n){switch(t.tag){case 3:Vv(t),_i();break;case 5:dv(t);break;case 1:it(t.type)&&za(t);break;case 4:rf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oe(Ua,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(pe,pe.current&1),t.flags|=128,null):n&t.child.childLanes?_v(e,t,n):(oe(pe,pe.current&1),e=xn(e,t,n),e!==null?e.sibling:null);oe(pe,pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),oe(pe,pe.current),r)break;return null;case 22:case 23:return t.lanes=0,Iv(e,t,n)}return xn(e,t,n)}var zv,Du,Bv,$v;zv=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}};Du=function(){};Bv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,jr(nn.current);var s=null;switch(n){case"input":i=nu(e,i),r=nu(e,r),s=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),s=[];break;case"textarea":i=su(e,i),r=su(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=_a)}au(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(_s.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(_s.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&le("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};$v=function(e,t,n,r){n!==r&&(t.flags|=4)};function ps(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 ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,229 bytes, line 40
40function qS(e,t,n){var r=t.pendingProps;switch(Qd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(t),null;case 1:return it(t.type)&&Fa(),ze(t),null;case 3:return r=t.stateNode,zi(),ue(rt),ue(We),of(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ho(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&($u(Ft),Ft=null))),Du(e,t),ze(t),null;case 5:sf(t);var i=jr(Qs.current);if(n=t.type,e!==null&&t.stateNode!=null)Bv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return ze(t),null}if(e=jr(nn.current),Ho(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[en]=t,r[Gs]=s,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(i=0;i<Ss.length;i++)le(Ss[i],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Ah(r,s),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},le("invalid",r);break;case"textarea":Lh(r,s),le("invalid",r)}au(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Wo(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Wo(r.textContent,a,e),i=["children",""+a]):_s.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&le("scroll",r)}switch(n){case"input":Oo(r),Mh(r,s,!0);break;case"textarea":Oo(r),Dh(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=_a)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[en]=t,e[Gs]=r,zv(e,t,!1,!1),t.stateNode=e;e:{switch(o=lu(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ss.length;i++)le(Ss[i],e);i=r;break;case"source":le("error",e),i=r;break;case"img":case"image":case"link":le("error",e),le("load",e),i=r;break;case"details":le("toggle",e),i=r;break;case"input":Ah(e,r),i=nu(e,r),le("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":Lh(e,r),i=su(e,r),le("invalid",e);break;default:i=r}au(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?xy(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&yy(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Fs(e,l):typeof l=="number"&&Fs(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(_s.hasOwnProperty(s)?l!=null&&s==="onScroll"&&le("scroll",e):l!=null&&Id(e,s,l,o))}switch(n){case"input":Oo(e),Mh(e,r,!1);break;case"textarea":Oo(e),Dh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ir(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?wi(e,!!r.multiple,s,!1):r.defaultValue!=null&&wi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=_a)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ze(t),null;case 6:if(e&&t.stateNode!=null)$v(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=jr(Qs.current),jr(nn.current),Ho(t)){if(r=t.stateNode,n=t.memoizedProps,r[en]=t,(s=r.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:Wo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Wo(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[en]=t,t.stateNode=r}return ze(t),null;case 13:if(ue(pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(fe&&dt!==null&&t.mode&1&&!(t.flags&128))ov(),_i(),t.flags|=98560,s=!1;else if(s=Ho(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[en]=t}else _i(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ze(t),s=!1}else Ft!==null&&($u(Ft),Ft=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||pe.current&1?Ne===0&&(Ne=3):vf())),t.updateQueue!==null&&(t.flags|=4),ze(t),null);case 4:return zi(),Du(e,t),e===null&&Ks(t.stateNode.containerInfo),ze(t),null;case 10:return ef(t.type._context),ze(t),null;case 17:return it(t.type)&&Fa(),ze(t),null;case 19:if(ue(pe),s=t.memoizedState,s===null)return ze(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ps(s,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ka(e),o!==null){for(t.flags|=128,ps(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(pe,pe.current&1|2),t.child}e=e.sibling}s.tail!==null&&xe()>$i&&(t.flags|=128,r=!0,ps(s,!1),t.lanes=4194304)}else{if(!r)if(e=Ka(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ps(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!fe)return ze(t),null}else 2*xe()-s.renderingStartTime>$i&&n!==1073741824&&(t.flags|=128,r=!0,ps(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=xe(),t.sibling=null,n=pe.current,oe(pe,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return yf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ct&1073741824&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function GS(e,t){switch(Qd(t),t.tag){case 1:return it(t.type)&&Fa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return zi(),ue(rt),ue(We),of(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return sf(t),null;case 13:if(ue(pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));_i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(pe),null;case 4:return zi(),null;case 10:return ef(t.type._context),null;case 22:case 23:return yf(),null;case 24:return null;default:return null}}var Go=!1,Ue=!1,YS=typeof WeakSet=="function"?WeakSet:Set,_=null;function mi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function Iu(e,t,n){try{n()}catch(r){ve(e,t,r)}}var Cp=!1;function QS(e,t){if(vu=Ia,e=qy(),Gd(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 i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===i&&(a=o),h===s&&++d===r&&(l=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(xu={focusedElem:e,selectionRange:n},Ia=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,w=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Dt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return x=Cp,Cp=!1,x}function Rs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Iu(t,n,s)}i=i.next}while(i!==r)}}function Tl(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 Ou(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 Uv(e){var t=e.alternate;t!==null&&(e.alternate=null,Uv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[en],delete t[Gs],delete t[Su],delete t[MS],delete t[LS])),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 Wv(e){return e.tag===5||e.tag===3||e.tag===4}function kp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wv(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 Vu(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=_a));else if(r!==4&&(e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}function _u(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(_u(e,t,n),e=e.sibling;e!==null;)_u(e,t,n),e=e.sibling}var Me=null,_t=!1;function Rn(e,t,n){for(n=n.child;n!==null;)Hv(e,t,n),n=n.sibling}function Hv(e,t,n){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:Ue||mi(n,t);case 6:var r=Me,i=_t;Me=null,Rn(e,t,n),Me=r,_t=i,Me!==null&&(_t?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(_t?(e=Me,n=n.stateNode,e.nodeType===8?yc(e.parentNode,n):e.nodeType===1&&yc(e,n),Us(e)):yc(Me,n.stateNode));break;case 4:r=Me,i=_t,Me=n.stateNode.containerInfo,_t=!0,Rn(e,t,n),Me=r,_t=i;break;case 0:case 11:case 14:case 15:if(!Ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Iu(n,t,o),i=i.next}while(i!==r)}Rn(e,t,n);break;case 1:if(!Ue&&(mi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ve(n,t,a)}Rn(e,t,n);break;case 21:Rn(e,t,n);break;case 22:n.mode&1?(Ue=(r=Ue)||n.memoizedState!==null,Rn(e,t,n),Ue=r):Rn(e,t,n);break;default:Rn(e,t,n)}}function Ep(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new YS),t.forEach(function(r){var i=sC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Me=a.stateNode,_t=!1;break e;case 3:Me=a.stateNode.containerInfo,_t=!0;break e;case 4:Me=a.stateNode.containerInfo,_t=!0;break e}a=a.return}if(Me===null)throw Error(M(160));Hv(s,o,i),Me=null,_t=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ve(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Kv(t,e),t=t.sibling}function Kv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rt(t,e),qt(e),r&4){try{Rs(3,e,e.return),Tl(3,e)}catch(y){ve(e,e.return,y)}try{Rs(5,e,e.return)}catch(y){ve(e,e.return,y)}}break;case 1:Rt(t,e),qt(e),r&512&&n!==null&&mi(n,n.return);break;case 5:if(Rt(t,e),qt(e),r&512&&n!==null&&mi(n,n.return),e.flags&32){var i=e.stateNode;try{Fs(i,"")}catch(y){ve(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&py(i,s),lu(a,o);var u=lu(a,s);for(o=0;o<l.length;o+=2){var d=l[o],f=l[o+1];d==="style"?xy(i,f):d==="dangerouslySetInnerHTML"?yy(i,f):d==="children"?Fs(i,f):Id(i,d,f,u)}switch(a){case"input":ru(i,s);break;case"textarea":my(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?wi(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?wi(i,!!s.multiple,s.defaultValue,!0):wi(i,!!s.multiple,s.multiple?[]:"",!1))}i[Gs]=s}catch(y){ve(e,e.return,y)}}break;case 6:if(Rt(t,e),qt(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(y){ve(e,e.return,y)}}break;case 3:if(Rt(t,e),qt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Us(t.containerInfo)}catch(y){ve(e,e.return,y)}break;case 4:Rt(t,e),qt(e);break;case 13:Rt(t,e),qt(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(mf=xe())),r&4&&Ep(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ue=(u=Ue)||d,Rt(t,e),Ue=u):Rt(t,e),qt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(_=e,d=e.child;d!==null;){for(f=_=d;_!==null;){switch(h=_,p=h.child,h.tag){case 0:case 11:case 14:case 15:Rs(4,h,h.return);break;case 1:mi(h,h.return);var x=h.stateNode;if(typeof x.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){ve(r,n,y)}}break;case 5:mi(h,h.return);break;case 22:if(h.memoizedState!==null){jp(f);continue}}p!==null?(p.return=h,_=p):jp(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{i=f.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=vy("display",o))}catch(y){ve(e,e.return,y)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(y){ve(e,e.return,y)}}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;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Rt(t,e),qt(e),r&4&&Ep(e);break;case 21:break;default:Rt(t,e),qt(e)}}function qt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Wv(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Fs(i,""),r.flags&=-33);var s=kp(e);_u(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=kp(e);Vu(e,a,o);break;default:throw Error(M(161))}}catch(l){ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function XS(e,t,n){_=e,qv(e)}function qv(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var i=_,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Go;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Ue;a=Go;var u=Ue;if(Go=o,(Ue=l)&&!u)for(_=i;_!==null;)o=_,l=o.child,o.tag===22&&o.memoizedState!==null?Np(i):l!==null?(l.return=o,_=l):Np(i);for(;s!==null;)_=s,qv(s),s=s.sibling;_=i,Go=a,Ue=u}Tp(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,_=s):Tp(e)}}function Tp(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ue||Tl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ue)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Dt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&up(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}up(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;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 d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Us(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}Ue||t.flags&512&&Ou(t)}catch(h){ve(t,t.return,h)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function jp(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Np(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Tl(4,t)}catch(l){ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ve(t,i,l)}}var s=t.return;try{Ou(t)}catch(l){ve(t,s,l)}break;case 5:var o=t.return;try{Ou(t)}catch(l){ve(t,o,l)}}}catch(l){ve(t,t.return,l)}if(t===e){_=null;break}var a=t.sibling;if(a!==null){a.return=t.return,_=a;break}_=t.return}}var ZS=Math.ceil,Ya=Cn.ReactCurrentDispatcher,hf=Cn.ReactCurrentOwner,Ct=Cn.ReactCurrentBatchConfig,ee=0,Ae=null,Ce=null,Ie=0,ct=0,gi=mr(0),Ne=0,eo=null,Ur=0,jl=0,pf=0,As=null,tt=null,mf=0,$i=1/0,un=null,Qa=!1,Fu=null,er=null,Yo=!1,Kn=null,Xa=0,Ms=0,zu=null,ga=-1,ya=0;function Xe(){return ee&6?xe():ga!==-1?ga:ga=xe()}function tr(e){return e.mode&1?ee&2&&Ie!==0?Ie&-Ie:IS.transition!==null?(ya===0&&(ya=Ay()),ya):(e=re,e!==0||(e=window.event,e=e===void 0?16:_y(e.type)),e):1}function Bt(e,t,n,r){if(50<Ms)throw Ms=0,zu=null,Error(M(185));mo(e,n,r),(!(ee&2)||e!==Ae)&&(e===Ae&&(!(ee&2)&&(jl|=n),Ne===4&&Fn(e,Ie)),st(e,r),n===1&&ee===0&&!(t.mode&1)&&($i=xe()+500,Cl&&gr()))}function st(e,t){var n=e.callbackNode;Ib(e,t);var r=Da(e,e===Ae?Ie:0);if(r===0)n!==null&&Vh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Vh(n),t===1)e.tag===0?DS(Pp.bind(null,e)):rv(Pp.bind(null,e)),RS(function(){!(ee&6)&&gr()}),n=null;else{switch(My(r)){case 1:n=zd;break;case 4:n=Py;break;case 16:n=La;break;case 536870912:n=Ry;break;default:n=La}n=tx(n,Gv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Gv(e,t){if(ga=-1,ya=0,ee&6)throw Error(M(327));var n=e.callbackNode;if(Ei()&&e.callbackNode!==n)return null;var r=Da(e,e===Ae?Ie:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Za(e,r);else{t=r;var i=ee;ee|=2;var s=Qv();(Ae!==e||Ie!==t)&&(un=null,$i=xe()+500,Or(e,t));do try{tC();break}catch(a){Yv(e,a)}while(!0);Jd(),Ya.current=s,ee=i,Ce!==null?t=0:(Ae=null,Ie=0,t=Ne)}if(t!==0){if(t===2&&(i=hu(e),i!==0&&(r=i,t=Bu(e,i))),t===1)throw n=eo,Or(e,0),Fn(e,r),st(e,xe()),n;if(t===6)Fn(e,r);else{if(i=e.current.alternate,!(r&30)&&!JS(i)&&(t=Za(e,r),t===2&&(s=hu(e),s!==0&&(r=s,t=Bu(e,s))),t===1))throw n=eo,Or(e,0),Fn(e,r),st(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Cr(e,tt,un);break;case 3:if(Fn(e,r),(r&130023424)===r&&(t=mf+500-xe(),10<t)){if(Da(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Xe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=bu(Cr.bind(null,e,tt,un),t);break}Cr(e,tt,un);break;case 4:if(Fn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-zt(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ZS(r/1960))-r,10<r){e.timeoutHandle=bu(Cr.bind(null,e,tt,un),r);break}Cr(e,tt,un);break;case 5:Cr(e,tt,un);break;default:throw Error(M(329))}}}return st(e,xe()),e.callbackNode===n?Gv.bind(null,e):null}function Bu(e,t){var n=As;return e.current.memoizedState.isDehydrated&&(Or(e,t).flags|=256),e=Za(e,t),e!==2&&(t=tt,tt=n,t!==null&&$u(t)),e}function $u(e){tt===null?tt=e:tt.push.apply(tt,e)}function JS(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 i=n[r],s=i.getSnapshot;i=i.value;try{if(!Ut(s(),i))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 Fn(e,t){for(t&=~pf,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function Pp(e){if(ee&6)throw Error(M(327));Ei();var t=Da(e,0);if(!(t&1))return st(e,xe()),null;var n=Za(e,t);if(e.tag!==0&&n===2){var r=hu(e);r!==0&&(t=r,n=Bu(e,r))}if(n===1)throw n=eo,Or(e,0),Fn(e,t),st(e,xe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cr(e,tt,un),st(e,xe()),null}function gf(e,t){var n=ee;ee|=1;try{return e(t)}finally{ee=n,ee===0&&($i=xe()+500,Cl&&gr())}}function Wr(e){Kn!==null&&Kn.tag===0&&!(ee&6)&&Ei();var t=ee;ee|=1;var n=Ct.transition,r=re;try{if(Ct.transition=null,re=1,e)return e()}finally{re=r,Ct.transition=n,ee=t,!(ee&6)&&gr()}}function yf(){ct=gi.current,ue(gi)}function Or(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,PS(n)),Ce!==null)for(n=Ce.return;n!==null;){var r=n;switch(Qd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Fa();break;case 3:zi(),ue(rt),ue(We),of();break;case 5:sf(r);break;case 4:zi();break;case 13:ue(pe);break;case 19:ue(pe);break;case 10:ef(r.type._context);break;case 22:case 23:yf()}n=n.return}if(Ae=e,Ce=e=nr(e.current,null),Ie=ct=t,Ne=0,eo=null,pf=jl=Ur=0,tt=As=null,Tr!==null){for(t=0;t<Tr.length;t++)if(n=Tr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Tr=null}return e}function Yv(e,t){do{var n=Ce;try{if(Jd(),ha.current=Ga,qa){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}qa=!1}if($r=0,Re=Te=me=null,Ps=!1,Xs=0,hf.current=null,n===null||n.return===null){Ne=1,eo=t,Ce=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Ie,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gp(o);if(p!==null){p.flags&=-257,yp(p,o,a,s,t),p.mode&1&&mp(s,u,t),t=p,l=u;var x=t.updateQueue;if(x===null){var y=new Set;y.add(l),t.updateQueue=y}else x.add(l);break e}else{if(!(t&1)){mp(s,u,t),vf();break e}l=Error(M(426))}}else if(fe&&a.mode&1){var w=gp(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),yp(w,o,a,s,t),Xd(Bi(l,a));break e}}s=l=Bi(l,a),Ne!==4&&(Ne=2),As===null?As=[s]:As.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=Mv(s,l,t);cp(s,g);break e;case 1:a=l;var m=s.type,v=s.stateNode;if(!(s.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(er===null||!er.has(v)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=Lv(s,a,t);cp(s,S);break e}}s=s.return}while(s!==null)}Zv(n)}catch(C){t=C,Ce===n&&n!==null&&(Ce=n=n.return);continue}break}while(!0)}function Qv(){var e=Ya.current;return Ya.current=Ga,e===null?Ga:e}function vf(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),Ae===null||!(Ur&268435455)&&!(jl&268435455)||Fn(Ae,Ie)}function Za(e,t){var n=ee;ee|=2;var r=Qv();(Ae!==e||Ie!==t)&&(un=null,Or(e,t));do try{eC();break}catch(i){Yv(e,i)}while(!0);if(Jd(),ee=n,Ya.current=r,Ce!==null)throw Error(M(261));return Ae=null,Ie=0,Ne}function eC(){for(;Ce!==null;)Xv(Ce)}function tC(){for(;Ce!==null&&!Tb();)Xv(Ce)}function Xv(e){var t=ex(e.alternate,e,ct);e.memoizedProps=e.pendingProps,t===null?Zv(e):Ce=t,hf.current=null}function Zv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=GS(n,t),n!==null){n.flags&=32767,Ce=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,Ce=null;return}}else if(n=qS(n,t,ct),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Ne===0&&(Ne=5)}function Cr(e,t,n){var r=re,i=Ct.transition;try{Ct.transition=null,re=1,nC(e,t,n,r)}finally{Ct.transition=i,re=r}return null}function nC(e,t,n,r){do Ei();while(Kn!==null);if(ee&6)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(Ob(e,s),e===Ae&&(Ce=Ae=null,Ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Yo||(Yo=!0,tx(La,function(){return Ei(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Ct.transition,Ct.transition=null;var o=re;re=1;var a=ee;ee|=4,hf.current=null,QS(e,n),Kv(n,e),SS(xu),Ia=!!vu,xu=vu=null,e.current=n,XS(n),jb(),ee=a,re=o,Ct.transition=s}else e.current=n;if(Yo&&(Yo=!1,Kn=e,Xa=i),s=e.pendingLanes,s===0&&(er=null),Rb(n.stateNode),st(e,xe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Qa)throw Qa=!1,e=Fu,Fu=null,e;return Xa&1&&e.tag!==0&&Ei(),s=e.pendingLanes,s&1?e===zu?Ms++:(Ms=0,zu=e):Ms=0,gr(),null}function Ei(){if(Kn!==null){var e=My(Xa),t=Ct.transition,n=re;try{if(Ct.transition=null,re=16>e?16:e,Kn===null)var r=!1;else{if(e=Kn,Kn=null,Xa=0,ee&6)throw Error(M(331));var i=ee;for(ee|=4,_=e.current;_!==null;){var s=_,o=s.child;if(_.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(_=u;_!==null;){var d=_;switch(d.tag){case 0:case 11:case 15:Rs(8,d,s)}var f=d.child;if(f!==null)f.return=d,_=f;else for(;_!==null;){d=_;var h=d.sibling,p=d.return;if(Uv(d),d===u){_=null;break}if(h!==null){h.return=p,_=h;break}_=p}}}var x=s.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}_=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,_=o;else e:for(;_!==null;){if(s=_,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Rs(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,_=g;break e}_=s.return}}var m=e.current;for(_=m;_!==null;){o=_;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,_=v;else e:for(o=m;_!==null;){if(a=_,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Tl(9,a)}}catch(C){ve(a,a.return,C)}if(a===o){_=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,_=S;break e}_=a.return}}if(ee=i,gr(),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(vl,e)}catch{}r=!0}return r}finally{re=n,Ct.transition=t}}return!1}function Rp(e,t,n){t=Bi(n,t),t=Mv(e,t,1),e=Jn(e,t,1),t=Xe(),e!==null&&(mo(e,1,t),st(e,t))}function ve(e,t,n){if(e.tag===3)Rp(e,e,n);else for(;t!==null;){if(t.tag===3){Rp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(er===null||!er.has(r))){e=Bi(n,e),e=Lv(t,e,1),t=Jn(t,e,1),e=Xe(),t!==null&&(mo(t,1,e),st(t,e));break}}t=t.return}}function rC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Xe(),e.pingedLanes|=e.suspendedLanes&n,Ae===e&&(Ie&n)===n&&(Ne===4||Ne===3&&(Ie&130023424)===Ie&&500>xe()-mf?Or(e,0):pf|=n),st(e,t)}function Jv(e,t){t===0&&(e.mode&1?(t=Fo,Fo<<=1,!(Fo&130023424)&&(Fo=4194304)):t=1);var n=Xe();e=vn(e,t),e!==null&&(mo(e,t,n),st(e,n))}function iC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jv(e,n)}function sC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Jv(e,n)}var ex;ex=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,KS(e,t,n);nt=!!(e.flags&131072)}else nt=!1,fe&&t.flags&1048576&&iv(t,$a,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ma(e,t),e=t.pendingProps;var i=Vi(t,We.current);ki(t,n),i=lf(null,t,r,e,i,n);var s=cf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,it(r)?(s=!0,za(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,nf(t),i.updater=El,t.stateNode=i,i._reactInternals=t,Nu(t,r,e,n),t=Au(null,t,r,!0,s,n)):(t.tag=0,fe&&s&&Yd(t),Ke(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ma(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=aC(r),e=Dt(r,e),i){case 0:t=Ru(null,t,r,e,n);break e;case 1:t=wp(null,t,r,e,n);break e;case 11:t=vp(null,t,r,e,n);break e;case 14:t=xp(null,t,r,Dt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dt(r,i),Ru(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dt(r,i),wp(e,t,r,i,n);case 3:e:{if(Vv(t),e===null)throw Error(M(387));
vendor: 8,639 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,i=s.element,uv(e,t),Ha(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Bi(Error(M(423)),t),t=bp(e,t,r,n,i);break e}else if(r!==i){i=Bi(Error(M(424)),t),t=bp(e,t,r,n,i);break e}else for(dt=Zn(t.stateNode.containerInfo.firstChild),ft=t,fe=!0,Ft=null,n=lv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_i(),r===i){t=xn(e,t,n);break e}Ke(e,t,r,n)}t=t.child}return t;case 5:return dv(t),e===null&&Eu(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,wu(r,i)?o=null:s!==null&&wu(r,s)&&(t.flags|=32),Ov(e,t),Ke(e,t,o,n),t.child;case 6:return e===null&&Eu(t),null;case 13:return _v(e,t,n);case 4:return rf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fi(t,null,r,n):Ke(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dt(r,i),vp(e,t,r,i,n);case 7:return Ke(e,t,t.pendingProps,n),t.child;case 8:return Ke(e,t,t.pendingProps.children,n),t.child;case 12:return Ke(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,oe(Ua,r._currentValue),r._currentValue=o,s!==null)if(Ut(s.value,o)){if(s.children===i.children&&!rt.current){t=xn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=mn(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Tu(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(M(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Tu(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ke(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ki(t,n),i=Et(i),r=r(i),t.flags|=1,Ke(e,t,r,n),t.child;case 14:return r=t.type,i=Dt(r,t.pendingProps),i=Dt(r.type,i),xp(e,t,r,i,n);case 15:return Dv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dt(r,i),ma(e,t),t.tag=1,it(r)?(e=!0,za(t)):e=!1,ki(t,n),Av(t,r,i),Nu(t,r,i,n),Au(null,t,r,!0,e,n);case 19:return Fv(e,t,n);case 22:return Iv(e,t,n)}throw Error(M(156,t.tag))};function tx(e,t){return Ny(e,t)}function oC(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 bt(e,t,n,r){return new oC(e,t,n,r)}function xf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function aC(e){if(typeof e=="function")return xf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vd)return 11;if(e===_d)return 14}return 2}function nr(e,t){var n=e.alternate;return n===null?(n=bt(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 va(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")xf(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case oi:return Vr(n.children,i,s,t);case Od:o=8,i|=8;break;case Zc:return e=bt(12,n,t,i|2),e.elementType=Zc,e.lanes=s,e;case Jc:return e=bt(13,n,t,i),e.elementType=Jc,e.lanes=s,e;case eu:return e=bt(19,n,t,i),e.elementType=eu,e.lanes=s,e;case dy:return Nl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case cy:o=10;break e;case uy:o=9;break e;case Vd:o=11;break e;case _d:o=14;break e;case On:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=bt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Vr(e,t,n,r){return e=bt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=bt(22,e,r,t),e.elementType=dy,e.lanes=n,e.stateNode={isHidden:!1},e}function Ec(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function Tc(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lC(e,t,n,r,i){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=oc(0),this.expirationTimes=oc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oc(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function wf(e,t,n,r,i,s,o,a,l){return e=new lC(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=bt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},nf(s),e}function cC(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:si,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function nx(e){if(!e)return sr;e=e._reactInternals;e:{if(qr(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(it(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(it(n))return nv(e,n,t)}return t}function rx(e,t,n,r,i,s,o,a,l){return e=wf(n,r,!0,e,i,s,o,a,l),e.context=nx(null),n=e.current,r=Xe(),i=tr(n),s=mn(r,i),s.callback=t??null,Jn(n,s,i),e.current.lanes=i,mo(e,i,r),st(e,r),e}function Pl(e,t,n,r){var i=t.current,s=Xe(),o=tr(i);return n=nx(n),t.context===null?t.context=n:t.pendingContext=n,t=mn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jn(i,t,o),e!==null&&(Bt(e,i,o,s),fa(e,i,o)),o}function Ja(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 Ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bf(e,t){Ap(e,t),(e=e.alternate)&&Ap(e,t)}function uC(){return null}var ix=typeof reportError=="function"?reportError:function(e){console.error(e)};function Sf(e){this._internalRoot=e}Rl.prototype.render=Sf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Pl(e,t,null,null)};Rl.prototype.unmount=Sf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Wr(function(){Pl(null,e,null,null)}),t[yn]=null}};function Rl(e){this._internalRoot=e}Rl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_n.length&&t!==0&&t<_n[n].priority;n++);_n.splice(n,0,e),n===0&&Vy(e)}};function Cf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Al(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mp(){}function dC(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Ja(o);s.call(u)}}var o=rx(t,r,e,0,null,!1,!1,"",Mp);return e._reactRootContainer=o,e[yn]=o.current,Ks(e.nodeType===8?e.parentNode:e),Wr(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Ja(l);a.call(u)}}var l=wf(e,0,!1,null,null,!1,!1,"",Mp);return e._reactRootContainer=l,e[yn]=l.current,Ks(e.nodeType===8?e.parentNode:e),Wr(function(){Pl(t,l,n,r)}),l}function Ml(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Ja(o);a.call(l)}}Pl(t,o,e,i)}else o=dC(n,t,e,i,r);return Ja(o)}Ly=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bs(t.pendingLanes);
vendor: 4,598 bytes, line 40
40n!==0&&(Bd(t,n|1),st(t,xe()),!(ee&6)&&($i=xe()+500,gr()))}break;case 13:Wr(function(){var r=vn(e,1);if(r!==null){var i=Xe();Bt(r,e,1,i)}}),bf(e,1)}};$d=function(e){if(e.tag===13){var t=vn(e,134217728);if(t!==null){var n=Xe();Bt(t,e,134217728,n)}bf(e,134217728)}};Dy=function(e){if(e.tag===13){var t=tr(e),n=vn(e,t);if(n!==null){var r=Xe();Bt(n,e,t,r)}bf(e,t)}};Iy=function(){return re};Oy=function(e,t){var n=re;try{return re=e,t()}finally{re=n}};uu=function(e,t,n){switch(t){case"input":if(ru(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 i=Sl(r);if(!i)throw Error(M(90));hy(r),ru(r,i)}}}break;case"textarea":my(e,n);break;case"select":t=n.value,t!=null&&wi(e,!!n.multiple,t,!1)}};Sy=gf;Cy=Wr;var fC={usingClientEntryPoint:!1,Events:[yo,ui,Sl,wy,by,gf]},ms={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},hC={bundleType:ms.bundleType,version:ms.version,rendererPackageName:ms.rendererPackageName,rendererConfig:ms.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ty(e),e===null?null:e.stateNode},findFiberByHostInstance:ms.findFiberByHostInstance||uC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qo.isDisabled&&Qo.supportsFiber)try{vl=Qo.inject(hC),tn=Qo}catch{}}mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fC;mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cf(t))throw Error(M(200));return cC(e,t,null,n)};mt.createRoot=function(e,t){if(!Cf(e))throw Error(M(299));var n=!1,r="",i=ix;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=wf(e,1,!1,null,null,n,!1,r,i),e[yn]=t.current,Ks(e.nodeType===8?e.parentNode:e),new Sf(t)};mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Ty(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e){return Wr(e)};mt.hydrate=function(e,t,n){if(!Al(t))throw Error(M(200));return Ml(null,e,t,!0,n)};mt.hydrateRoot=function(e,t,n){if(!Cf(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=ix;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=rx(t,null,e,1,n??null,i,!1,s,o),e[yn]=t.current,Ks(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Rl(t)};mt.render=function(e,t,n){if(!Al(t))throw Error(M(200));return Ml(null,e,t,!1,n)};mt.unmountComponentAtNode=function(e){if(!Al(e))throw Error(M(40));return e._reactRootContainer?(Wr(function(){Ml(null,null,e,!1,function(){e._reactRootContainer=null,e[yn]=null})}),!0):!1};mt.unstable_batchedUpdates=gf;mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Al(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Ml(e,t,n,!1,r)};mt.version="18.3.1-next-f1338f8080-20240426";function sx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sx)}catch(e){console.error(e)}}sx(),sy.exports=mt;var xo=sy.exports;const ox=Kg(xo);var ax,Lp=xo;ax=Lp.createRoot,Lp.hydrateRoot;const pC=1,mC=1e6;let jc=0;function gC(){return jc=(jc+1)%Number.MAX_SAFE_INTEGER,jc.toString()}const Nc=new Map,Dp=e=>{if(Nc.has(e))return;const t=setTimeout(()=>{Nc.delete(e),Ls({type:"REMOVE_TOAST",toastId:e})},mC);Nc.set(e,t)},yC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,pC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?Dp(n):e.toasts.forEach(r=>{Dp(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)}}},xa=[];let wa={toasts:[]};function Ls(e){wa=yC(wa,e),xa.forEach(t=>{t(wa)})}function vC({...e}){const t=gC(),n=i=>Ls({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Ls({type:"DISMISS_TOAST",toastId:t});return Ls({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function xC(){const[e,t]=b.useState(wa);return b.useEffect(()=>(xa.push(t),()=>{const n=xa.indexOf(t);n>-1&&xa.splice(n,1)}),[e]),{...e,toast:vC,dismiss:n=>Ls({type:"DISMISS_TOAST",toastId:n})}}function je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Ip(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lx(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Ip(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Ip(e[i],null)}}}}function Wt(...e){return b.useCallback(lx(...e),e)}function Ll(e,t=[]){let n=[];function r(s,o){const a=b.createContext(o),l=n.length;n=[...n,o];const u=f=>{var g;const{scope:h,children:p,...x}=f,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,w=b.useMemo(()=>x,Object.values(x));return c.jsx(y.Provider,{value:w,children:p})};u.displayName=s+"Provider";function d(f,h){var y;const p=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,x=b.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>b.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,wC(i,...t)]}function wC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(s)[`__scope${u}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function el(e){const t=SC(e),n=b.forwardRef((r,i)=>{const{children:s,...o}=r,a=b.Children.toArray(s),l=a.find(kC);if(l){const u=l.props.children,d=a.map(f=>f===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:f);return c.jsx(t,{...o,ref:i,children:b.isValidElement(u)?b.cloneElement(u,void 0,d):null})}return c.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var bC=el("Slot");function SC(e){const t=b.forwardRef((n,r)=>{const{children:i,...s}=n;if(b.isValidElement(i)){const o=TC(i),a=EC(s,i.props);return i.type!==b.Fragment&&(a.ref=r?lx(r,o):o),b.cloneElement(i,a)}return b.Children.count(i)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cx=Symbol("radix.slottable");function CC(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=cx,t}function kC(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cx}function EC(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function TC(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jC(e){const t=e+"CollectionProvider",[n,r]=Ll(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=y=>{const{scope:w,children:g}=y,m=L.useRef(null),v=L.useRef(new Map).current;return c.jsx(i,{scope:w,itemMap:v,collectionRef:m,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=el(a),u=L.forwardRef((y,w)=>{const{scope:g,children:m}=y,v=s(a,g),S=Wt(w,v.collectionRef);return c.jsx(l,{ref:S,children:m})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=el(d),p=L.forwardRef((y,w)=>{const{scope:g,children:m,...v}=y,S=L.useRef(null),C=Wt(w,S),k=s(d,g);return L.useEffect(()=>(k.itemMap.set(S,{ref:S,...v}),()=>void k.itemMap.delete(S))),c.jsx(h,{[f]:"",ref:C,children:m})});p.displayName=d;function x(y){const w=s(e+"CollectionConsumer",y);return L.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((k,E)=>v.indexOf(k.ref.current)-v.indexOf(E.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}var NC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],at=NC.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=el(`Primitive.${t}`),r=b.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ux(e,t){e&&xo.flushSync(()=>e.dispatchEvent(t))}function or(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function PC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var RC="DismissableLayer",Uu="dismissableLayer.update",AC="dismissableLayer.pointerDownOutside",MC="dismissableLayer.focusOutside",Op,dx=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kf=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=b.useContext(dx),[d,f]=b.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),x=Wt(t,E=>f(E)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),m=d?y.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,C=DC(E=>{const T=E.target,A=[...u.branches].some(N=>N.contains(T));!S||A||(i==null||i(E),o==null||o(E),E.defaultPrevented||a==null||a())},h),k=IC(E=>{const T=E.target;[...u.branches].some(N=>N.contains(T))||(s==null||s(E),o==null||o(E),E.defaultPrevented||a==null||a())},h);return PC(E=>{m===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},h),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Op=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Vp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Op)}},[d,h,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Vp())},[d,u]),b.useEffect(()=>{const E=()=>p({});return document.addEventListener(Uu,E),()=>document.removeEventListener(Uu,E)},[]),c.jsx(at.div,{...l,ref:x,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,k.onFocusCapture),onBlurCapture:je(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,C.onPointerDownCapture)})});kf.displayName=RC;var LC="DismissableLayerBranch",fx=b.forwardRef((e,t)=>{const n=b.useContext(dx),r=b.useRef(null),i=Wt(t,r);return b.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),c.jsx(at.div,{...e,ref:i})});fx.displayName=LC;function DC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){hx(AC,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function IC(e,t=globalThis==null?void 0:globalThis.document){const n=or(e),r=b.useRef(!1);return b.useEffect(()=>{const i=s=>{s.target&&!r.current&&hx(MC,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Vp(){const e=new CustomEvent(Uu);document.dispatchEvent(e)}function hx(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ux(i,s):i.dispatchEvent(s)}var OC=kf,VC=fx,ar=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},_C="Portal",px=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=b.useState(!1);ar(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?ox.createPortal(c.jsx(at.div,{...r,ref:t}),o):null});px.displayName=_C;function FC(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var Ef=e=>{const{present:t,children:n}=e,r=zC(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),s=Wt(r.ref,BC(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:s}):null};Ef.displayName="Presence";function zC(e){const[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),s=b.useRef("none"),o=e?"mounted":"unmounted",[a,l]=FC(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=Xo(r.current);s.current=a==="mounted"?u:"none"},[a]),ar(()=>{const u=r.current,d=i.current;if(d!==e){const h=s.current,p=Xo(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ar(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const y=Xo(r.current).includes(p.animationName);if(p.target===t&&y&&(l("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=Xo(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Xo(e){return(e==null?void 0:e.animationName)||"none"}function BC(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $C=ry[" useInsertionEffect ".trim().toString()]||ar;function UC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=WC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const d=b.useRef(e!==void 0);b.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"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.`),d.current=a},[a,r])}const u=b.useCallback(d=>{var f;if(a){const h=HC(d)?d(e):d;h!==e&&((f=o.current)==null||f.call(o,h))}else s(d)},[a,e,s,o]);return[l,u]}function WC({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),i=b.useRef(n),s=b.useRef(t);return $C(()=>{s.current=t},[t]),b.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function HC(e){return typeof e=="function"}var KC=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"}),qC="VisuallyHidden",Dl=b.forwardRef((e,t)=>c.jsx(at.span,{...e,ref:t,style:{...KC,...e.style}}));Dl.displayName=qC;var GC=Dl,Tf="ToastProvider",[jf,YC,QC]=jC("Toast"),[mx,$5]=Ll("Toast",[QC]),[XC,Il]=mx(Tf),gx=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=b.useState(null),[u,d]=b.useState(0),f=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Tf}\`. Expected non-empty \`string\`.`),c.jsx(jf.Provider,{scope:t,children:c.jsx(XC,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>d(p=>p+1),[]),onToastRemove:b.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};gx.displayName=Tf;var yx="ToastViewport",ZC=["F8"],Wu="toast.viewportPause",Hu="toast.viewportResume",vx=b.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=ZC,label:i="Notifications ({hotkey})",...s}=e,o=Il(yx,n),a=YC(n),l=b.useRef(null),u=b.useRef(null),d=b.useRef(null),f=b.useRef(null),h=Wt(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,g=f.current;if(x&&w&&g){const m=()=>{if(!o.isClosePausedRef.current){const k=new CustomEvent(Wu);g.dispatchEvent(k),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const k=new CustomEvent(Hu);g.dispatchEvent(k),o.isClosePausedRef.current=!1}},S=k=>{!w.contains(k.relatedTarget)&&v()},C=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",S),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",C),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[x,o.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:w})=>{const m=a().map(v=>{const S=v.ref.current,C=[S,...dk(S)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?m.reverse():m).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const g=m=>{var C,k,E;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const T=document.activeElement,A=m.shiftKey;if(m.target===w&&A){(C=u.current)==null||C.focus();return}const I=y({tabbingDirection:A?"backwards":"forwards"}),U=I.findIndex(D=>D===T);Pc(I.slice(U+1))?m.preventDefault():A?(k=u.current)==null||k.focus():(E=d.current)==null||E.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,y]),c.jsxs(VC,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&c.jsx(Ku,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Pc(w)}}),c.jsx(jf.Slot,{scope:n,children:c.jsx(at.ol,{tabIndex:-1,...s,ref:h})}),x&&c.jsx(Ku,{ref:d,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Pc(w)}})]})});vx.displayName=yx;var xx="ToastFocusProxy",Ku=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Il(xx,n);return c.jsx(Dl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Ku.displayName=xx;var wo="Toast",JC="toast.swipeStart",ek="toast.swipeMove",tk="toast.swipeCancel",nk="toast.swipeEnd",wx=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=UC({prop:r,defaultProp:i??!0,onChange:s,caller:wo});return c.jsx(Ef,{present:n||a,children:c.jsx(sk,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:or(e.onPause),onResume:or(e.onResume),onSwipeStart:je(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:je(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:je(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:je(e.onSwipeEnd,u=>{const{x:d,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",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});wx.displayName=wo;var[rk,ik]=mx(wo,{onClose(){}}),sk=b.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...x}=e,y=Il(wo,n),[w,g]=b.useState(null),m=Wt(t,D=>g(D)),v=b.useRef(null),S=b.useRef(null),C=i||y.duration,k=b.useRef(0),E=b.useRef(C),T=b.useRef(0),{onToastAdd:A,onToastRemove:N}=y,V=or(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=y.viewport)==null||W.focus()),o()}),I=b.useCallback(D=>{!D||D===1/0||(window.clearTimeout(T.current),k.current=new Date().getTime(),T.current=window.setTimeout(V,D))},[V]);b.useEffect(()=>{const D=y.viewport;if(D){const W=()=>{I(E.current),u==null||u()},z=()=>{const q=new Date().getTime()-k.current;E.current=E.current-q,window.clearTimeout(T.current),l==null||l()};return D.addEventListener(Wu,z),D.addEventListener(Hu,W),()=>{D.removeEventListener(Wu,z),D.removeEventListener(Hu,W)}}},[y.viewport,C,l,u,I]),b.useEffect(()=>{s&&!y.isClosePausedRef.current&&I(C)},[s,C,y.isClosePausedRef,I]),b.useEffect(()=>(A(),()=>N()),[A,N]);const U=b.useMemo(()=>w?jx(w):null,[w]);return y.viewport?c.jsxs(c.Fragment,{children:[U&&c.jsx(ok,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),c.jsx(rk,{scope:n,onClose:V,children:xo.createPortal(c.jsx(jf.ItemSlot,{scope:n,children:c.jsx(OC,{asChild:!0,onEscapeKeyDown:je(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||V(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(at.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":y.swipeDirection,...x,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:je(e.onKeyDown,D=>{D.key==="Escape"&&(a==null||a(D.nativeEvent),D.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:je(e.onPointerDown,D=>{D.button===0&&(v.current={x:D.clientX,y:D.clientY})}),onPointerMove:je(e.onPointerMove,D=>{if(!v.current)return;const W=D.clientX-v.current.x,z=D.clientY-v.current.y,q=!!S.current,j=["left","right"].includes(y.swipeDirection),P=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,O=j?P(0,W):0,$=j?0:P(0,z),B=D.pointerType==="touch"?10:2,Q={x:O,y:$},Z={originalEvent:D,delta:Q};q?(S.current=Q,Zo(ek,f,Z,{discrete:!1})):_p(Q,y.swipeDirection,B)?(S.current=Q,Zo(JC,d,Z,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(W)>B||Math.abs(z)>B)&&(v.current=null)}),onPointerUp:je(e.onPointerUp,D=>{const W=S.current,z=D.target;if(z.hasPointerCapture(D.pointerId)&&z.releasePointerCapture(D.pointerId),S.current=null,v.current=null,W){const q=D.currentTarget,j={originalEvent:D,delta:W};_p(W,y.swipeDirection,y.swipeThreshold)?Zo(nk,p,j,{discrete:!0}):Zo(tk,h,j,{discrete:!0}),q.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),ok=e=>{const{__scopeToast:t,children:n,...r}=e,i=Il(wo,t),[s,o]=b.useState(!1),[a,l]=b.useState(!1);return ck(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:c.jsx(px,{asChild:!0,children:c.jsx(Dl,{...r,children:s&&c.jsxs(c.Fragment,{children:[i.label," ",n]})})})},ak="ToastTitle",bx=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(at.div,{...r,ref:t})});bx.displayName=ak;var lk="ToastDescription",Sx=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(at.div,{...r,ref:t})});Sx.displayName=lk;var Cx="ToastAction",kx=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(Tx,{altText:n,asChild:!0,children:c.jsx(Nf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Cx}\`. Expected non-empty \`string\`.`),null)});kx.displayName=Cx;var Ex="ToastClose",Nf=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=ik(Ex,n);return c.jsx(Tx,{asChild:!0,children:c.jsx(at.button,{type:"button",...r,ref:t,onClick:je(e.onClick,i.onClose)})})});Nf.displayName=Ex;var Tx=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return c.jsx(at.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function jx(e){const t=[];
vendor: 6,401 bytes, lines 40-95
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),uk(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...jx(r))}}),t}function Zo(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?ux(i,s):i.dispatchEvent(s)}var _p=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function ck(e=()=>{}){const t=or(e);ar(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function uk(e){return e.nodeType===e.ELEMENT_NODE}function dk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Pc(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var fk=gx,Nx=vx,Px=wx,Rx=bx,Ax=Sx,Mx=kx,Lx=Nf;function Dx(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Dx(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ix(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Dx(e))&&(r&&(r+=" "),r+=t);return r}const Fp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,zp=Ix,Ox=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return zp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const h=Fp(d)||Fp(f);return i[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(x=>{let[y,w]=x;return Array.isArray(w)?w.includes({...s,...a}[y]):{...s,...a}[y]===w})?[...u,f,h]:u},[]);return zp(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const hk=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Vx=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var pk={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const mk=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>b.createElement("svg",{ref:l,...pk,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Vx("lucide",i),...a},[...o.map(([u,d])=>b.createElement(u,d)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const J=(e,t)=>{const n=b.forwardRef(({className:r,...i},s)=>b.createElement(mk,{ref:s,iconNode:t,className:Vx(`lucide-${hk(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const gk=J("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const Pe=J("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const wn=J("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const yk=J("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"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const Pf=J("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const _x=J("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Fx=J("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
95],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const vk=J("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const zx=J("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"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Bx=J("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const xk=J("CircleUserRound",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const wk=J("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const bk=J("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const Sk=J("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
130],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const Ck=J("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const $x=J("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const kk=J("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Ek=J("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const Tk=J("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const jk=J("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Nk=J("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const bo=J("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const Pk=J("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"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Rk=J("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"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const Ak=J("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"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const Mk=J("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const Rf=J("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Ux=J("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const Lk=J("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Dk=J("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}
vendor: 9,165 bytes, lines 210-230
210],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Ik=J("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const So=J("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"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const Wx=J("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const Ok=J("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),Af="-",Vk=e=>{const t=Fk(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Af);return a[0]===""&&a.length!==1&&a.shift(),Hx(a,t)||_k(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},Hx=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Hx(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Af);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},Bp=/^\[(.+)\]$/,_k=e=>{if(Bp.test(e)){const t=Bp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Fk=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bk(Object.entries(e.classGroups),n).forEach(([s,o])=>{qu(o,r,s,t)}),r},qu=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:$p(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(zk(i)){qu(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{qu(o,$p(t,s),n,r)})})},$p=(e,t)=>{let n=e;return t.split(Af).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},zk=e=>e.isThemeGetter,Bk=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,$k=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},Kx="!",Uk=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,d=0,f;for(let w=0;w<a.length;w++){let g=a[w];if(u===0){if(g===i&&(r||a.slice(w,w+s)===t)){l.push(a.slice(d,w)),d=w+s;continue}if(g==="/"){f=w;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(d),p=h.startsWith(Kx),x=p?h.substring(1):h,y=f&&f>d?f-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:o}):o},Wk=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},Hk=e=>({cache:$k(e.cacheSize),parseClassName:Uk(e),...Vk(e)}),Kk=/\s+/,qk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(Kk);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let x=!!p,y=r(x?h.substring(0,p):h);if(!y){if(!x){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}x=!1}const w=Wk(d).join(":"),g=f?w+Kx:w,m=g+y;if(s.includes(m))continue;s.push(m);const v=i(y,x);for(let S=0;S<v.length;++S){const C=v[S];s.push(g+C)}a=u+(a.length>0?" "+a:a)}return a};function Gk(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=qx(t))&&(r&&(r+=" "),r+=n);return r}const qx=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=qx(e[r]))&&(n&&(n+=" "),n+=t);return n};function Yk(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((d,f)=>f(d),e());return n=Hk(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=qk(l,n);return i(l,d),d}return function(){return s(Gk.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gx=/^\[(?:([a-z-]+):)?(.+)\]$/i,Qk=/^\d+\/\d+$/,Xk=new Set(["px","full","screen"]),Zk=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jk=/\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$/,e2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,t2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,n2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ln=e=>Ti(e)||Xk.has(e)||Qk.test(e),An=e=>Xi(e,"length",u2),Ti=e=>!!e&&!Number.isNaN(Number(e)),Rc=e=>Xi(e,"number",Ti),gs=e=>!!e&&Number.isInteger(Number(e)),r2=e=>e.endsWith("%")&&Ti(e.slice(0,-1)),G=e=>Gx.test(e),Mn=e=>Zk.test(e),i2=new Set(["length","size","percentage"]),s2=e=>Xi(e,i2,Yx),o2=e=>Xi(e,"position",Yx),a2=new Set(["image","url"]),l2=e=>Xi(e,a2,f2),c2=e=>Xi(e,"",d2),ys=()=>!0,Xi=(e,t,n)=>{const r=Gx.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},u2=e=>Jk.test(e)&&!e2.test(e),Yx=()=>!1,d2=e=>t2.test(e),f2=e=>n2.test(e),h2=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),i=ae("borderColor"),s=ae("borderRadius"),o=ae("borderSpacing"),a=ae("borderWidth"),l=ae("contrast"),u=ae("grayscale"),d=ae("hueRotate"),f=ae("invert"),h=ae("gap"),p=ae("gradientColorStops"),x=ae("gradientColorStopPositions"),y=ae("inset"),w=ae("margin"),g=ae("opacity"),m=ae("padding"),v=ae("saturate"),S=ae("scale"),C=ae("sepia"),k=ae("skew"),E=ae("space"),T=ae("translate"),A=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",G,t],I=()=>[G,t],U=()=>["",ln,An],D=()=>["auto",Ti,G],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",G],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[Ti,G];return{cacheSize:500,separator:":",theme:{colors:[ys],spacing:[ln,An],blur:["none","",Mn,G],brightness:$(),borderColor:[e],borderRadius:["none","","full",Mn,G],borderSpacing:I(),borderWidth:U(),contrast:$(),grayscale:P(),hueRotate:$(),invert:P(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[r2,An],inset:V(),margin:V(),opacity:$(),padding:I(),saturate:$(),scale:$(),sepia:P(),skew:$(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Mn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),G]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}
vendor: 9,916 bytes, line 230
230],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",gs,G]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",gs,G]}],"grid-cols":[{"grid-cols":[ys]}],"col-start-end":[{col:["auto",{span:["full",gs,G]},G]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[ys]}],"row-start-end":[{row:["auto",{span:[gs,G]},G]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[Mn]},Mn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Mn,An]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Rc]}],"font-family":[{font:[ys]}],"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",G]}],"line-clamp":[{"line-clamp":["none",Ti,Rc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ln,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ln,An]}],"underline-offset":[{"underline-offset":["auto",ln,G]}],"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",G]}],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",G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),o2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",s2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},l2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[ln,G]}],"outline-w":[{outline:[ln,An]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[ln,An]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Mn,c2]}],"shadow-color":[{shadow:[ys]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Mn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:$()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:$()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[gs,G]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 230
230],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ln,An,Rc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},p2=Yk(h2);function Se(...e){return p2(Ix(e))}const m2=fk,Qx=b.forwardRef(({className:e,...t},n)=>c.jsx(Nx,{ref:n,className:Se("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}));Qx.displayName=Nx.displayName;const g2=Ox("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"}}),Xx=b.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(Px,{ref:r,className:Se(g2({variant:t}),e),...n}));Xx.displayName=Px.displayName;const y2=b.forwardRef(({className:e,...t},n)=>c.jsx(Mx,{ref:n,className:Se("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}));y2.displayName=Mx.displayName;const Zx=b.forwardRef(({className:e,...t},n)=>c.jsx(Lx,{ref:n,className:Se("absolute right-2 top-2 rounded-md p-1 text-foreground
230/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:c.jsx(Wx,{className:"h-4 w-4"})}));Zx.displayName=Lx.displayName;const Jx=b.forwardRef(({className:e,...t},n)=>c.jsx(Rx,{ref:n,className:Se("text-sm font-semibold",e),...t}));Jx.displayName=Rx.displayName;const e0=b.forwardRef(({className:e,...t},n)=>c.jsx(Ax,{ref:n,className:Se("text-sm opacity-90",e),...t}));e0.displayName=Ax.displayName;function v2(){const{toasts:e}=xC();return c.jsxs(m2,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return c.jsxs(Xx,{...s,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Jx,{children:n}),r&&c.jsx(e0,{children:r})]}),i,c.jsx(Zx,{})]},t)}),c.jsx(Qx,{})]})}var Up=["light","dark"],x2="(prefers-color-scheme: dark)",w2=b.createContext(void 0),b2={setTheme:e=>{},themes:[]},S2=()=>{var e;return(e=b.useContext(w2))!=null?e:b2};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?Up.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(x,y=!1,w=!0)=>{let g=o?o[x]:x,m=y?x+"|| ''":`'${g}'`,v="";return i&&w&&!y&&Up.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${x2}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var C2=e=>{switch(e){case"success":return T2;case"info":return N2;case"warning":return j2;case"error":return P2;default:return null}},k2=Array(12).fill(0),E2=({visible:e,className:t})=>L.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},L.createElement("div",{className:"sonner-spinner"},k2.map((n,r)=>L.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),T2=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),j2=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},L.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"})),N2=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),P2=L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},L.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"})),R2=L.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"},L.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),A2=()=>{let[e,t]=L.useState(document.hidden);return L.useEffect(()=>{let n=()=>{t(document.hidden)};
230return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Gu=1,M2=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,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Gu++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},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)=>
230this.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(),i=n!==void 0,s,o=r.then(async l=>{if(s=["resolve",l],L.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(D2(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Gu++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},et=new M2,L2=(e,t)=>{let n=(t==null?void 0:t.id)||Gu++;return et.addToast({title:e,...t,id:n}),n},D2=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",I2=L2,O2=()=>et.toasts,V2=()=>et.getActiveToasts();Object.assign(I2,{success:et.success,info:et.info,warning:et.warning,error:et.error,custom:et.custom,message:et.message,promise:et.promise,dismiss:et.dismiss,loading:et.loading},{getHistory:O2,getToasts:V2});function _2(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))}_2(`: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;
230left: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}
230: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%);
230--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%)}
231`);function Jo(e){return e.label!==void 0}var F2=3,z2="32px",B2="16px",Wp=4e3,$2=356,U2=14,W2=20,H2=200;function At(...e){return e.filter(Boolean).join(" ")}function K2(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var q2=e=>{var t,n,r,i,s,o,a,l,u,d,f;let{invert:h,toast:p,unstyled:x,interacting:y,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:S,expanded:C,removeToast:k,defaultRichColors:E,closeButton:T,style:A,cancelButtonStyle:N,actionButtonStyle:V,className:I="",descriptionClassName:U="",duration:D,position:W,gap:z,loadingIcon:q,expandByDefault:j,classNames:P,icons:O,closeButtonAriaLabel:$="Close toast",pauseWhenPageIsHidden:B}=e,[Q,Z]=L.useState(null),[we,Ve]=L.useState(null),[ne,Xr]=L.useState(!1),[kn,vr]=L.useState(!1),[En,Zr]=L.useState(!1),[Tn,Ro]=L.useState(!1),[Ql,Ao]=L.useState(!1),[Xl,os]=L.useState(0),[Jr,vh]=L.useState(0),as=L.useRef(p.duration||D||Wp),xh=L.useRef(null),xr=L.useRef(null),L1=v
231===0,D1=v+1<=g,yt=p.type,ei=p.dismissible!==!1,I1=p.className||"",O1=p.descriptionClassName||"",Mo=L.useMemo(()=>m.findIndex(H=>H.toastId===p.id)||0,[m,p.id]),V1=L.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:T},[p.closeButton,T]),wh=L.useMemo(()=>p.duration||D||Wp,[p.duration,D]),Zl=L.useRef(0),ti=L.useRef(0),bh=L.useRef(0),ni=L.useRef(null),[_1,F1]=W.split("-"),Sh=L.useMemo(()=>m.reduce((H,ie,de)=>de>=Mo?H:H+ie.height,0),[m,Mo]),Ch=A2(),z1=p.invert||h,Jl=yt==="loading";ti.current=L.useMemo(()=>Mo*z+Sh,[Mo,Sh]),L.useEffect(()=>{as.current=wh},[wh]),L.useEffect(()=>{Xr(!0)},[]),L.useEffect(()=>{let H=xr.current;if(H){let ie=H.getBoundingClientRect().height;return vh(ie),w(de=>[{toastId:p.id,height:ie,position:p.position},...de]),()=>w(de=>de.filter(jt=>jt.toastId!==p.id))}},[w,p.id]),L.useLayoutEffect(()=>{if(!ne)return;let H=xr.current,ie=H.style.height;H.style.height="auto";let de=H.getBoundingClientRect().height;H.style.height=ie,vh(de),w(jt=>jt.find(Nt=>Nt.toastId===p.id)?jt.map(Nt=>Nt.toastId===p.id?{...Nt,height:de}:Nt):[{toastId:p.id,height:de,position:p.position},...jt])},[ne,p.title,p.description,w,p.id]);let jn=L.useCallback(()=>{vr(!0),os(ti.current),w(H=>H.filter(ie=>ie.toastId!==p.id)),setTimeout(()=>{k(p)},H2)},[p,k,w,ti]);L.useEffect(()=>{if(p.promise&&yt==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||y||B&&Ch?(()=>{if(bh.current<Zl.current){let ie=new Date().getTime()-Zl.current;as.current=as.current-ie}bh.current=new Date().getTime()})():as.current!==1/0&&(Zl.current=new Date().getTime(),H=setTimeout(()=>{var ie;(ie=p.onAutoClose)==null||ie.call(p,p),jn()},as.current)),()=>clearTimeout(H)},[C,y,p,yt,B,Ch,jn]),L.useEffect(()=>{p.delete&&jn()},[jn,p.delete]);function B1(){var H,ie,de;return O!=null&&O.loading?L.createElement("div",{className:At(P==null?void 0:P.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":yt==="loading"},O.loading):q?L.createElement("div",{className:At(P==null?void 0:P.loader,(ie=p==null?void 0:p.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":yt==="loading"},q):L.createElement(E2,{className:At(P==null?void 0:P.loader,(de=p==null?void 0:p.classNames)==null?void 0:de.loader),visible:yt==="loading"})}return L.createElement("li",{tabIndex:0,ref:xr,className:At(I,I1,P==null?void 0:P.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[yt],(n=p==null?void 0:p.classNames)==null?void 0:n[yt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:E,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":ne,"data-promise":!!p.promise,"data-swiped":Ql,"data-removed":kn,"data-visible":D1,"data-y-position":_1,"data-x-position":F1,"data-index":v,"data-front":L1,"data-swiping":En,"data-dismissible":ei,"data-type":yt,"data-invert":z1,"data-swipe-out":Tn,"data-swipe-direction":we,"data-expanded":!!(C||j&&ne),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${kn?Xl:ti.current}px`,"--initial-height":j?"auto":`${Jr}px`,...A,...p.style},onDragEnd:()=>{Zr(!1),Z(null),ni.current=null},onPointerDown:H=>{Jl||!ei||(xh.current=new Date,os(ti.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(Zr(!0),ni.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ie,de,jt;if(Tn||!ei)return;ni.current=null;let Nt=Number(((H=xr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Nn=Number(((ie=xr.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),wr=new Date().getTime()-((de=xh.current)==null?void 0:de.getTime()),Pt=Q==="x"?Nt:Nn,Pn=Math.abs(Pt)/wr;if(Math.abs(Pt)>=W2||Pn>.11){os(ti.current),(jt=p.onDismiss)==null||jt.call(p,p),Ve(Q==="x"?Nt>0?"right":"left":Nn>0?"down":"up"),jn(),Ro(!0),Ao(!1);return}Zr(!1),Z(null)},onPointerMove:H=>{var ie,de,jt,Nt;if(!ni.current||!ei||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let Nn=H.clientY-ni.current.y,wr=H.clientX-ni.current.x,Pt=(de=e.swipeDirections)!=null?de:K2(W);!Q&&(Math.abs(wr)>1||Math.abs(Nn)>1)&&Z(Math.abs(wr)>Math.abs(Nn)?"x":"y");let Pn={x:0,y:0};Q==="y"?(Pt.includes("top")||Pt.includes("bottom"))&&(Pt.includes("top")&&Nn<0||Pt.includes("bottom")&&Nn>0)&&(Pn.y=Nn):Q==="x"&&(Pt.includes("left")||Pt.includes("right"))&&(Pt.includes("left")&&wr<0||Pt.includes("right")&&wr>0)&&(Pn.x=wr),(Math.abs(Pn.x)>0||Math.abs(Pn.y)>0)&&Ao(!0),(jt=xr.current)==null||jt.style.setProperty("--swipe-amount-x",`${Pn.x}px`),(Nt=xr.current)==null||Nt.style.setProperty("--swipe-amount-y",`${Pn.y}px`)}},V1&&!p.jsx?L.createElement("button",{"aria-label":$,"data-disabled":Jl,"data-close-button":!0,onClick:Jl||!ei?()=>{}:()=>{var H;jn(),(H=p.onDismiss)==null||H.call(p,p)},className:At(P==null?void 0:P.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=O==null?void 0:O.close)!=null?s:R2):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:L.createElement(L.Fragment,null,yt||p.icon||p.promise?L.createElement("div",{"data-icon":"",className:At(P==null?void 0:P.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
vendor: 6,671 bytes, line 231
231,p.promise||p.type==="loading"&&!p.icon?p.icon||B1():null,p.type!=="loading"?p.icon||(O==null?void 0:O[yt])||C2(yt):null):null,L.createElement("div",{"data-content":"",className:At(P==null?void 0:P.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},L.createElement("div",{"data-title":"",className:At(P==null?void 0:P.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?L.createElement("div",{"data-description":"",className:At(U,O1,P==null?void 0:P.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&Jo(p.cancel)?L.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||N,onClick:H=>{var ie,de;Jo(p.cancel)&&ei&&((de=(ie=p.cancel).onClick)==null||de.call(ie,H),jn())},className:At(P==null?void 0:P.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&Jo(p.action)?L.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||V,onClick:H=>{var ie,de;Jo(p.action)&&((de=(ie=p.action).onClick)==null||de.call(ie,H),!H.defaultPrevented&&jn())},className:At(P==null?void 0:P.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function Hp(){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 G2(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?B2:z2;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=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[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var Y2=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:x=F2,toastOptions:y,dir:w=Hp(),gap:g=U2,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[k,E]=L.useState([]),T=L.useMemo(()=>Array.from(new Set([r].concat(k.filter(B=>B.position).map(B=>B.position)))),[k,r]),[A,N]=L.useState([]),[V,I]=L.useState(!1),[U,D]=L.useState(!1),[W,z]=L.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),q=L.useRef(null),j=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=L.useRef(null),O=L.useRef(!1),$=L.useCallback(B=>{E(Q=>{var Z;return(Z=Q.find(we=>we.id===B.id))!=null&&Z.delete||et.dismiss(B.id),Q.filter(({id:we})=>we!==B.id)})},[]);return L.useEffect(()=>et.subscribe(B=>{if(B.dismiss){E(Q=>Q.map(Z=>Z.id===B.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{ox.flushSync(()=>{E(Q=>{let Z=Q.findIndex(we=>we.id===B.id);return Z!==-1?[...Q.slice(0,Z),{...Q[Z],...B},...Q.slice(Z+1)]:[B,...Q]})})})}),[]),L.useEffect(()=>{if(d!=="system"){z(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Q})=>{z(Q?"dark":"light")})}catch{B.addListener(({matches:Z})=>{try{z(Z?"dark":"light")}catch(we){console.error(we)}})}},[d]),L.useEffect(()=>{k.length<=1&&I(!1)},[k]),L.useEffect(()=>{let B=Q=>{var Z,we;i.every(Ve=>Q[Ve]||Q.code===Ve)&&(I(!0),(Z=q.current)==null||Z.focus()),Q.code==="Escape"&&(document.activeElement===q.current||(we=q.current)!=null&&we.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[i]),L.useEffect(()=>{if(q.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,O.current=!1)}},[q.current]),L.createElement("section",{ref:t,"aria-label":`${S} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((B,Q)=>{var Z;let[we,Ve]=B.split("-");return k.length?L.createElement("ol",{key:B,dir:w==="auto"?Hp():w,tabIndex:-1,ref:q,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":we,"data-lifted":V&&k.length>1&&!s,"data-x-position":Ve,style:{"--front-toast-height":`${((Z=A[0])==null?void 0:Z.height)||0}px`,"--width":`${$2}px`,"--gap":`${g}px`,...p,...G2(l,u)},onBlur:ne=>{O.current&&!ne.currentTarget.contains(ne.relatedTarget)&&(O.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||O.current||(O.current=!0,P.current=ne.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:ne=>{ne.target instanceof HTMLElement&&ne.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},k.filter(ne=>!ne.position&&Q===0||ne.position===B).map((ne,Xr)=>{var kn,vr;return L.createElement(q2,{key:ne.id,icons:v,index:Xr,toast:ne,defaultRichColors:f,duration:(kn=y==null?void 0:y.duration)!=null?kn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:x,closeButton:(vr=y==null?void 0:y.closeButton)!=null?vr:o,interacting:U,position:B,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:$,toasts:k.filter(En=>En.position==ne.position),heights:A.filter(En=>En.position==ne.position),setHeights:N,expandByDefault:s,gap:g,loadingIcon:m,expanded:V,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const Q2=({...e})=>{const{theme:t="system"}=S2();return c.jsx(Y2,{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})},X2=["top","right","bottom","left"],lr=Math.min,ut=Math.max,tl=Math.round,ea=Math.floor,cr=e=>({x:e,y:e}
vendor: 11,656 bytes, line 231
231),Z2={left:"right",right:"left",bottom:"top",top:"bottom"},J2={start:"end",end:"start"};function Yu(e,t,n){return ut(e,lr(t,n))}function bn(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function Zi(e){return e.split("-")[1]}function Mf(e){return e==="x"?"y":"x"}function Lf(e){return e==="y"?"height":"width"}function ur(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function Df(e){return Mf(ur(e))}function eE(e,t,n){n===void 0&&(n=!1);const r=Zi(e),i=Df(e),s=Lf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=nl(o)),[o,nl(o)]}function tE(e){const t=nl(e);return[Qu(e),t,Qu(t)]}function Qu(e){return e.replace(/start|end/g,t=>J2[t])}function nE(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function rE(e,t,n,r){const i=Zi(e);let s=nE(Sn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Qu)))),s}function nl(e){return e.replace(/left|right|bottom|top/g,t=>Z2[t])}function iE(e){return{top:0,right:0,bottom:0,left:0,...e}}function t0(e){return typeof e!="number"?iE(e):{top:e,right:e,bottom:e,left:e}}function rl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Kp(e,t,n){let{reference:r,floating:i}=e;const s=ur(t),o=Df(t),a=Lf(o),l=Sn(t),u=s==="y",d=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-i.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Zi(t)){case"start":p[o]-=h*(n&&u?-1:1);break;case"end":p[o]+=h*(n&&u?-1:1);break}return p}const sE=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=Kp(u,r,l),h=r,p={},x=0;for(let y=0;y<a.length;y++){const{name:w,fn:g}=a[y],{x:m,y:v,data:S,reset:C}=await g({x:d,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});d=m??d,f=v??f,p={...p,[w]:{...p[w],...S}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:d,y:f}=Kp(u,h,l)),y=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}};async function to(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=bn(t,e),x=t0(p),w=a[h?f==="floating"?"reference":"floating":f],g=rl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:l})),m=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},C=rl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-C.top+x.top)/S.y,bottom:(C.bottom-g.bottom+x.bottom)/S.y,left:(g.left-C.left+x.left)/S.x,right:(C.right-g.right+x.right)/S.x}}const oE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=bn(e,t)||{};if(u==null)return{};const f=t0(d),h={x:n,y:r},p=Df(i),x=Lf(p),y=await o.getDimensions(u),w=p==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=s.reference[x]+s.reference[p]-h[p]-s.floating[x],C=h[p]-s.reference[p],k=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let E=k?k[v]:0;(!E||!await(o.isElement==null?void 0:o.isElement(k)))&&(E=a.floating[v]||s.floating[x]);const T=S/2-C/2,A=E/2-y[x]/2-1,N=lr(f[g],A),V=lr(f[m],A),I=N,U=E-y[x]-V,D=E/2-y[x]/2+T,W=Yu(I,D,U),z=!l.arrow&&Zi(i)!=null&&D!==W&&s.reference[x]/2-(D<I?N:V)-y[x]/2<0,q=z?D<I?D-I:D-U:0;return{[p]:h[p]+q,data:{[p]:W,centerOffset:D-W-q,...z&&{alignmentOffset:q}},reset:z}}}),aE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:y=!0,...w}=bn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=Sn(i),m=ur(a),v=Sn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=h||(v||!y?[nl(a)]:tE(a)),k=x!=="none";!h&&k&&C.push(...rE(a,y,x,S));const E=[a,...C],T=await to(t,w),A=[];let N=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&A.push(T[g]),f){const D=eE(i,o,S);A.push(T[D[0]],T[D[1]])}if(N=[...N,{placement:i,overflows:A}],!A.every(D=>D<=0)){var V,I;const D=(((V=s.flip)==null?void 0:V.index)||0)+1,W=E[D];if(W)return{data:{index:D,overflows:N},reset:{placement:W}};let z=(I=N.filter(q=>q.overflows[0]<=0).sort((q,j)=>q.overflows[1]-j.overflows[1])[0])==null?void 0:I.placement;if(!z)switch(p){case"bestFit":{var U;const q=(U=N.filter(j=>{if(k){const P=ur(j.placement);return P===m||P==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(P=>P>0).reduce((P,O)=>P+O,0)]).sort((j,P)=>j[1]-P[1])[0])==null?void 0:U[0];q&&(z=q);break}case"initialPlacement":z=a;break}if(i!==z)return{reset:{placement:z}}}return{}}}};function qp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Gp(e){return X2.some(t=>e[t]>=0)}const lE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=bn(e,t);switch(r){case"referenceHidden":{const s=await to(t,{...i,elementContext:"reference"}),o=qp(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Gp(o)}}}case"escaped":{const s=await to(t,{...i,altBoundary:!0}),o=qp(s,n.floating);return{data:{escapedOffsets:o,escaped:Gp(o)}}}default:return{}}}}};async function cE(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Sn(n),a=Zi(n),l=ur(n)==="y",u=["left","top"].includes(o)?-1:1,d=s&&l?-1:1,f=bn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof x=="number"&&(p=a==="end"?x*-1:x),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const uE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await cE(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},dE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...l}=bn(e,t),u={x:n,y:r},d=await to(t,l),f=ur(Sn(i)),h=Mf(f);let p=u[h],x=u[f];if(s){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+d[w],v=p-d[g];p=Yu(m,p,v)}if(o){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=x+d[w],v=x-d[g];x=Yu(m,x,v)}const y=a.fn({...t,[h]:p,[f]:x});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:s,[f]:o}}}}}},fE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=bn(e,t),d={x:n,y:r},f=ur(i),h=Mf(f);let p=d[h],x=d[f];const y=bn(a,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+w.mainAxis,C=s.reference[h]+s.reference[v]-w.mainAxis;p<S?p=S:p>C&&(p=C)}if(u){var g,m;const v=h==="y"?"width":"height",S=["top","left"].includes(Sn(i)),C=s.reference[f]-s.floating[v]+(S&&((g=o.offset)==null?void 0:g[f])||0)+(S?0:w.crossAxis),k=s.reference[f]+s.reference[v]+(S?0:((m=o.offset)==null?void 0:m[f])||0)-(S?w.crossAxis:0);x<C?x=C:x>k&&(x=k)}return{[h]:p,[f]:x}}}},hE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=bn(e,t),d=await to(t,u),f=Sn(i),h=Zi(i),p=ur(i)==="y",{width:x,height:y}=s.floating;let w,g;f==="top"||f==="bottom"?(w=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,w=h==="end"?"top":"bottom");const m=y-d.top-d.bottom,v=x-d.left-d.right,S=lr(y-d[w],m),C=lr(x-d[g],v),k=!t.middlewareData.shift;let E=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=m),k&&!h){const N=ut(d.left,0),V=ut(d.right,0),I=ut(d.top,0),U=ut(d.bottom,0);p?T=x-2*(N!==0||V!==0?N+V:ut(d.left,d.right)):E=y-2*(I!==0||U!==0?I+U:ut(d.top,d.bottom))}await l({...t,availableWidth:T,availableHeight:E});const A=await o.getDimensions(a.floating);return x!==A.width||y!==A.height?{reset:{rects:!0}}:{}}}};function Ol(){return typeof window<"u"}function Ji(e){return n0(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(n0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function n0(e){return Ol()?e instanceof Node||e instanceof ht(e).Node:!1}function Ht(e){return Ol()?e instanceof Element||e instanceof ht(e).Element:!1}function sn(e){return Ol()?e instanceof HTMLElement||e instanceof ht(e).HTMLElement:!1}function Yp(e){return!Ol()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function Co(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function pE(e){return["table","td","th"].includes(Ji(e))}function Vl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function If(e){const t=Of(),n=Ht(e)?Kt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function mE(e){let t=dr(e);for(;sn(t)&&!Ui(t);){if(If(t))return t;if(Vl(t))return null;t=dr(t)}return null}function Of(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ui(e){return["html","body","#document"].includes(Ji(e))}function Kt(e){return ht(e).getComputedStyle(e)}function _l(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dr(e){if(Ji(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yp(e)&&e.host||an(e);return Yp(t)?t.host:t}function r0(e){const t=dr(e);return Ui(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&Co(t)?t:r0(t)}function no(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=r0(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ht(i);if(s){const a=Xu(o);
vendor: 4,595 bytes, line 231
231return t.concat(o,o.visualViewport||[],Co(i)?i:[],a&&n?no(a):[])}return t.concat(i,no(i,[],n))}function Xu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function i0(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=sn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=tl(n)!==s||tl(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Vf(e){return Ht(e)?e:e.contextElement}function ji(e){const t=Vf(e);if(!sn(t))return cr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=i0(t);let o=(s?tl(n.width):n.width)/r,a=(s?tl(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const gE=cr(0);function s0(e){const t=ht(e);return!Of()||!t.visualViewport?gE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ht(e)?!1:t}function Hr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Vf(e);let o=cr(1);t&&(r?Ht(r)&&(o=ji(r)):o=ji(e));const a=yE(s,n,r)?s0(s):cr(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,d=i.width/o.x,f=i.height/o.y;if(s){const h=ht(s),p=r&&Ht(r)?ht(r):r;let x=h,y=Xu(x);for(;y&&r&&p!==x;){const w=ji(y),g=y.getBoundingClientRect(),m=Kt(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*w.x,S=g.top+(y.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,u*=w.y,d*=w.x,f*=w.y,l+=v,u+=S,x=ht(y),y=Xu(x)}}return rl({width:d,height:f,x:l,y:u})}function vE(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=an(r),a=t?Vl(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=cr(1);const d=cr(0),f=sn(r);if((f||!f&&!s)&&((Ji(r)!=="body"||Co(o))&&(l=_l(r)),sn(r))){const h=Hr(r);u=ji(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function xE(e){return Array.from(e.getClientRects())}function Zu(e,t){const n=_l(e).scrollLeft;return t?t.left+n:Hr(an(e)).left+n}function wE(e){const t=an(e),n=_l(e),r=e.ownerDocument.body,i=ut(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ut(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Zu(e);const a=-n.scrollTop;return Kt(r).direction==="rtl"&&(o+=ut(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function bE(e,t){const n=ht(e),r=an(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=Of();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function SE(e,t){const n=Hr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=sn(e)?ji(e):cr(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function Qp(e,t,n){let r;if(t==="viewport")r=bE(e,n);else if(t==="document")r=wE(an(e));else if(Ht(t))r=SE(t,n);else{const i=s0(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return rl(r)}function o0(e,t){const n=dr(e);return n===t||!Ht(n)||Ui(n)?!1:Kt(n).position==="fixed"||o0(n,t)}function CE(e,t){const n=t.get(e);if(n)return n;let r=no(e,[],!1).filter(a=>Ht(a)&&Ji(a)!=="body"),i=null;const s=Kt(e).position==="fixed";let o=s?dr(e):e;for(;Ht(o)&&!Ui(o);){const a=Kt(o),l=If(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Co(o)&&!l&&o0(e,o))?r=r.filter(d=>d!==o):i=a,o=dr(o)}return t.set(e,r),r}function kE(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Vl(t)?[]:CE(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,d)=>{const f=Qp(t,d,i);return u.top=ut(f.top,u.top),u.right=lr(f.right,u.right),u.bottom=lr(f.bottom,u.bottom),u.left=ut(f.left,u.left),u},Qp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function EE(e){const{width:t,height:n}=i0(e);return{width:t,height:n}}function TE(e,t,n){const r=sn(t),i=an(t),s=n==="fixed",o=Hr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=cr(0);if(r||!r&&!s)if((Ji(t)!=="body"||Co(i))&&(a=_l(t)),r){const p=Hr(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=Zu(i));let u=0,d=0;if(i&&!r&&!s){const p=i.getBoundingClientRect();d=p.top+a.scrollTop,u=p.left+a.scrollLeft-Zu(i,p)}const f=o.left+a.scrollLeft-l.x-u,h=o.top+a.scrollTop-l.y-d;return{x:f,y:h,width:o.width,height:o.height}}function Ac(e){return Kt(e).position==="static"}function Xp(e,t){if(!sn(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function a0(e,t){const n=ht(e);
vendor: 8,894 bytes, line 231
231if(Vl(e))return n;if(!sn(e)){let i=dr(e);for(;i&&!Ui(i);){if(Ht(i)&&!Ac(i))return i;i=dr(i)}return n}let r=Xp(e,t);for(;r&&pE(r)&&Ac(r);)r=Xp(r,t);return r&&Ui(r)&&Ac(r)&&!If(r)?n:r||mE(e)||n}const jE=async function(e){const t=this.getOffsetParent||a0,n=this.getDimensions,r=await n(e.floating);return{reference:TE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function NE(e){return Kt(e).direction==="rtl"}const PE={convertOffsetParentRelativeRectToViewportRelativeRect:vE,getDocumentElement:an,getClippingRect:kE,getOffsetParent:a0,getElementRects:jE,getClientRects:xE,getDimensions:EE,getScale:ji,isElement:Ht,isRTL:NE};function RE(e,t){let n=null,r;const i=an(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:d,width:f,height:h}=e.getBoundingClientRect();if(a||t(),!f||!h)return;const p=ea(d),x=ea(i.clientWidth-(u+f)),y=ea(i.clientHeight-(d+h)),w=ea(u),m={rootMargin:-p+"px "+-x+"px "+-y+"px "+-w+"px",threshold:ut(0,lr(1,l))||1};let v=!0;function S(C){const k=C[0].intersectionRatio;if(k!==l){if(!v)return o();k?o(!1,k):r=setTimeout(()=>{o(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(S,{...m,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,m)}n.observe(e)}return o(!0),s}function AE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Vf(e),d=i||s?[...u?no(u):[],...no(t)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&a?RE(u,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let x,y=l?Hr(e):null;l&&w();function w(){const g=Hr(e);y&&(g.x!==y.x||g.y!==y.y||g.width!==y.width||g.height!==y.height)&&n(),y=g,x=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(m=>{i&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(x)}}const ME=uE,LE=dE,DE=aE,IE=hE,OE=lE,Zp=oE,VE=fE,_E=(e,t,n)=>{const r=new Map,i={platform:PE,...n},s={...i.platform,_c:r};return sE(e,t,{...i,platform:s})};var ba=typeof document<"u"?b.useLayoutEffect:b.useEffect;function il(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,i;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(!il(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!il(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function l0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jp(e,t){const n=l0(e);return Math.round(t*n)/n}function Mc(e){const t=b.useRef(e);return ba(()=>{t.current=e}),t}function FE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=b.useState(r);il(h,r)||p(r);const[x,y]=b.useState(null),[w,g]=b.useState(null),m=b.useCallback(j=>{j!==k.current&&(k.current=j,y(j))},[]),v=b.useCallback(j=>{j!==E.current&&(E.current=j,g(j))},[]),S=s||x,C=o||w,k=b.useRef(null),E=b.useRef(null),T=b.useRef(d),A=l!=null,N=Mc(l),V=Mc(i),I=Mc(u),U=b.useCallback(()=>{if(!k.current||!E.current)return;const j={placement:t,strategy:n,middleware:h};V.current&&(j.platform=V.current),_E(k.current,E.current,j).then(P=>{const O={...P,isPositioned:I.current!==!1};D.current&&!il(T.current,O)&&(T.current=O,xo.flushSync(()=>{f(O)}))})},[h,t,n,V,I]);ba(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(j=>({...j,isPositioned:!1})))},[u]);const D=b.useRef(!1);ba(()=>(D.current=!0,()=>{D.current=!1}),[]),ba(()=>{if(S&&(k.current=S),C&&(E.current=C),S&&C){if(N.current)return N.current(S,C,U);U()}},[S,C,U,N,A]);const W=b.useMemo(()=>({reference:k,floating:E,setReference:m,setFloating:v}),[m,v]),z=b.useMemo(()=>({reference:S,floating:C}),[S,C]),q=b.useMemo(()=>{const j={position:n,left:0,top:0};if(!z.floating)return j;const P=Jp(z.floating,d.x),O=Jp(z.floating,d.y);return a?{...j,transform:"translate("+P+"px, "+O+"px)",...l0(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:O}},[n,a,z.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:U,refs:W,elements:z,floatingStyles:q}),[d,U,W,z,q])}const zE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Zp({element:r.current,padding:i}).fn(n):{}:r?Zp({element:r,padding:i}).fn(n):{}}}},BE=(e,t)=>({...ME(e),options:[e,t]}),$E=(e,t)=>({...LE(e),options:[e,t]}),UE=(e,t)=>({...VE(e),options:[e,t]}),WE=(e,t)=>({...DE(e),options:[e,t]}),HE=(e,t)=>({...IE(e),options:[e,t]}),KE=(e,t)=>({...OE(e),options:[e,t]}),qE=(e,t)=>({...zE(e),options:[e,t]});var GE="Arrow",c0=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return c.jsx(at.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});c0.displayName=GE;var YE=c0;function QE(e){const[t,n]=b.useState(void 0);return ar(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var u0="Popper",[d0,f0]=Ll(u0),[U5,h0]=d0(u0),p0="PopperAnchor",m0=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=h0(p0,n),o=b.useRef(null),a=Wt(t,o);return b.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:c.jsx(at.div,{...i,ref:a})});m0.displayName=p0;var _f="PopperContent",[XE,ZE]=d0(_f),g0=b.forwardRef((e,t)=>{var ne,Xr,kn,vr,En,Zr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:x,...y}=e,w=h0(_f,n),[g,m]=b.useState(null),v=Wt(t,Tn=>m(Tn)),[S,C]=b.useState(null),k=QE(S),E=(k==null?void 0:k.width)??0,T=(k==null?void 0:k.height)??0,A=r+(s!=="center"?"-"+s:""),N=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},V=Array.isArray(u)?u:[u],I=V.length>0,U={padding:N,boundary:V.filter(eT),altBoundary:I},{refs:D,floatingStyles:W,placement:z,isPositioned:q,middlewareData:j}=FE({strategy:"fixed",placement:A,whileElementsMounted:(...Tn)=>AE(...Tn,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[BE({mainAxis:i+T,alignmentAxis:o}),l&&$E({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?UE():void 0,...U}),l&&WE({...U}),HE({...U,apply:({elements:Tn,rects:Ro,availableWidth:Ql,availableHeight:Ao})=>{const{width:Xl,height:os}=Ro.reference,Jr=Tn.floating.style;Jr.setProperty("--radix-popper-available-width",`${Ql}px`),Jr.setProperty("--radix-popper-available-height",`${Ao}px`),Jr.setProperty("--radix-popper-anchor-width",`${Xl}px`),Jr.setProperty("--radix-popper-anchor-height",`${os}px`)}}),S&&qE({element:S,padding:a}),tT({arrowWidth:E,arrowHeight:T}),h&&KE({strategy:"referenceHidden",...U})]}),[P,O]=x0(z),$=or(x);ar(()=>{q&&($==null||$())},[q,$]);const B=(ne=j.arrow)==null?void 0:ne.x,Q=(Xr=j.arrow)==null?void 0:Xr.y,Z=((kn=j.arrow)==null?void 0:kn.centerOffset)!==0,[we,Ve]=b.useState();return ar(()=>{g&&Ve(window.getComputedStyle(g).zIndex)},[g]),c.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:q?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(vr=j.transformOrigin)==null?void 0:vr.x,(En=j.transformOrigin)==null?void 0:En.y].join(" "),...((Zr=j.hide)==null?void 0:Zr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(XE,{scope:n,placedSide:P,onArrowChange:C,arrowX:B,arrowY:Q,shouldHideArrow:Z,children:c.jsx(at.div,{"data-side":P,"data-align":O,...y,ref:v,style:{...y.style,animation:q?void 0:"none"}})})})});g0.displayName=_f;var y0="PopperArrow",JE={top:"bottom",right:"left",bottom:"top",left:"r
231ight"},v0=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=ZE(y0,r),o=JE[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(YE,{...i,ref:n,style:{...i.style,display:"block"}})})});v0.displayName=y0;function eT(e){return e!==null}var tT=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,d]=x0(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let x="",y="";return u==="bottom"?(x=o?f:`${h}px`,y=`${-l}px`):u==="top"?(x=o?f:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,y=o?f:`${p}px`):u==="left"&&(x=`${r.floating.width+l}px`,y=o?f:`${p}px`),{data:{x,y}}}});function x0(e){const[t,n="center"]=e.split("-");return[t,n]}var nT=m0,rT=g0,iT=v0,[Fl,W5]=Ll("Tooltip",[f0]),Ff=f0(),w0="TooltipProvider",sT=700,em="tooltip.open",[oT,b0]=Fl(w0),S0=e=>{const{__scopeTooltip:t,delayDuration:n=sT,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(oT,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};S0.displayName=w0;var C0="Tooltip",[H5,zl]=Fl(C0),Ju="TooltipTrigger",aT=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=zl(Ju,n),s=b0(Ju,n),o=Ff(n),a=b.useRef(null),l=Wt(t,a,i.onTriggerChange),u=b.useRef(!1),d=b.useRef(!1),f=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),c.jsx(nT,{asChild:!0,...o,children:c.jsx(at.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:je(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:je(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:je(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:je(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:je(e.onBlur,i.onClose),onClick:je(e.onClick,i.onClose)})})});aT.displayName=Ju;var lT="TooltipPortal",[K5,cT]=Fl(lT,{forceMount:void 0}),Wi="TooltipContent",k0=b.forwardRef((e,t)=>{const n=cT(Wi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=zl(Wi,e.__scopeTooltip);return c.jsx(Ef,{present:r||o.open,children:o.disableHoverableContent?c.jsx(E0,{side:i,...s,ref:t}):c.jsx(uT,{side:i,...s,ref:t})})}),uT=b.forwardRef((e,t)=>{const n=zl(Wi,e.__scopeTooltip),r=b0(Wi,e.__scopeTooltip),i=b.useRef(null),s=Wt(t,i),[o,a]=b.useState(null),{trigger:l,onClose:u}=n,d=i.current,{onPointerInTransitChange:f}=r,h=b.useCallback(()=>{a(null),f(!1)},[f]),p=b.useCallback((x,y)=>{const w=x.currentTarget,g={x:x.clientX,y:x.clientY},m=mT(g,w.getBoundingClientRect()),v=gT(g,m),S=yT(y.getBoundingClientRect()),C=xT([...v,...S]);a(C),f(!0)},[f]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(l&&d){const x=w=>p(w,d),y=w=>p(w,l);return l.addEventListener("pointerleave",x),d.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",y)}}},[l,d,p,h]),b.useEffect(()=>{if(o){const x=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(w))||(d==null?void 0:d.contains(w)),v=!vT(g,o);m?h():v&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,d,o,u,h]),c.jsx(E0,{...e,ref:s})}),[dT,fT]=Fl(C0,{isInside:!1}),hT=CC("TooltipContent"),E0=b.forwardRef((e,t)=>
231{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=zl(Wi,n),u=Ff(n),{onClose:d}=l;return b.useEffect(()=>(document.addEventListener(em,d),()=>document.removeEventListener(em,d)),[d]),b.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,d]),c.jsx(kf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:c.jsxs(rT,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(hT,{children:r}),c.jsx(dT,{scope:n,isInside:!0,children:c.jsx(GC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});k0.displayName=Wi;var T0="TooltipArrow",pT=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ff(n);return fT(T0,n).isInside?null:c.jsx(iT,{...i,...r,ref:t})});pT.displayName=T0;function mT(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function gT(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 yT(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function vT(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],u=a.x,d=a.y,f=l.x,h=l.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(i=!i)}return i}function xT(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),wT(t)}function wT(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}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 bT=S0,j0=k0;const ST=bT,CT=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>c.jsx(j0,{ref:r,sideOffset:t,className:Se("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));CT.displayName=j0.displayName;var Bl=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(){}},$l=typeof window>"u"||"Deno"in globalThis;function It(){}function kT(e,t){return typeof e=="function"?e(t):e}function ET(e){return typeof e=="number"&&e>=0&&e!==1/0}function TT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ed(e,t){return typeof e=="function"?e(t):e}function jT(e,t){return typeof e=="function"?e(t):e}function tm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==zf(o,t.options))return!1}else if(!io(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function nm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ro(t.options.mutationKey)!==ro(s))return!1}else if(!io(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function zf(e,t){return((t==null?void 0:t.queryKeyHashFn)||ro)(e)}function ro(e){return JSON.stringify(e,(t,n)=>td(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function io(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>io(e[n],t[n])):!1}function N0(e,t){if(e===t)return e;const n=rm(e)&&rm(t);if(n||td(e)&&td(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let d=0;d<o;d++){const f=n?d:s[d];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=N0(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function rm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function td(e){if(!im(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!im(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function im(e){return Object.prototype.toString.call(e)==="[object Object]"}function NT(e){return new Promise(t=>{setTimeout(t,e)})}function PT(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?N0(e,t):t}function RT(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function AT(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Bf=Symbol();function P0(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Bf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Rr,zn,Ni,_g,MT=(_g=class extends Bl{constructor(){super();te(this,Rr);te(this,zn);te(this,Ni);K(this,Ni,t=>{if(!$l&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,zn)||this.setEventListener(R(this,Ni))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,zn))==null||t.call(this),K(this,zn,void 0))}setEventListener(t){var n;K(this,Ni,t),(n=R(this,zn))==null||n.call(this),K(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,Rr)!==t&&(K(this,Rr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,584 bytes, line 231
231this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,Rr)=="boolean"?R(this,Rr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Rr=new WeakMap,zn=new WeakMap,Ni=new WeakMap,_g),R0=new MT,Pi,Bn,Ri,Fg,LT=(Fg=class extends Bl{constructor(){super();te(this,Pi,!0);te(this,Bn);te(this,Ri);K(this,Ri,t=>{if(!$l&&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(){R(this,Bn)||this.setEventListener(R(this,Ri))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Bn))==null||t.call(this),K(this,Bn,void 0))}setEventListener(t){var n;K(this,Ri,t),(n=R(this,Bn))==null||n.call(this),K(this,Bn,t(this.setOnline.bind(this)))}setOnline(t){R(this,Pi)!==t&&(K(this,Pi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,Pi)}},Pi=new WeakMap,Bn=new WeakMap,Ri=new WeakMap,Fg),sl=new LT;function DT(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function IT(e){return Math.min(1e3*2**e,3e4)}function A0(e){return(e??"online")==="online"?sl.isOnline():!0}var M0=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Lc(e){return e instanceof M0}function L0(e){let t=!1,n=0,r=!1,i;const s=DT(),o=y=>{var w;r||(h(new M0(y)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>R0.isFocused()&&(e.networkMode==="always"||sl.isOnline())&&e.canRun(),d=()=>A0(e.networkMode)&&e.canRun(),f=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),i==null||i(),s.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),i==null||i(),s.reject(y))},p=()=>new Promise(y=>{var w;i=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(f).catch(g=>{var k;if(r)return;const m=e.retry??($l?0:3),v=e.retryDelay??IT,S=typeof v=="function"?v(n,g):v,C=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!C){h(g);return}n++,(k=e.onFail)==null||k.call(e,n,g),NT(S).then(()=>u()?void 0:p()).then(()=>{t?h(g):x()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?x():p().then(x),s)}}var OT=e=>setTimeout(e,0);function VT(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=OT;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var qe=VT(),Ar,zg,D0=(zg=class{constructor(){te(this,Ar)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ET(this.gcTime)&&K(this,Ar,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??($l?1/0:5*60*1e3))}clearGcTimeout(){R(this,Ar)&&(clearTimeout(R(this,Ar)),K(this,Ar,void 0))}},Ar=new WeakMap,zg),Ai,Mr,vt,Lr,Be,fo,Dr,Ot,cn,Bg,_T=(Bg=class extends D0{constructor(t){super();te(this,Ot);te(this,Ai);te(this,Mr);te(this,vt);te(this,Lr);te(this,Be);te(this,fo);te(this,Dr);K(this,Dr,!1),K(this,fo,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Lr,t.client),K(this,vt,R(this,Lr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ai,zT(this.options)),this.state=t.state??R(this,Ai),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Be))==null?void 0:t.promise}setOptions(t){this.options={...R(this,fo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,vt).remove(this)}setData(t,n){const r=PT(this.state.data,t,this.options);return _e(this,Ot,cn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){_e(this,Ot,cn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=R(this,Be))==null?void 0:r.promise;return(i=R(this,Be))==null||i.cancel(t),n?n.then(It).catch(It):Prom
vendor: 1,602 bytes, line 231
231ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,Ai))}isActive(){return this.observers.some(t=>jT(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Bf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ed(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:!TT(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Be))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Be))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,vt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Be)&&(R(this,Dr)?R(this,Be).cancel({revert:!0}):R(this,Be).cancelRetry()),this.scheduleGc()),R(this,vt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||_e(this,Ot,cn).call(this,{type:"invalidate"})}
vendor: 17,205 bytes, lines 231-240
231fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,Be))return R(this,Be).continueRetry(),R(this,Be).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(K(this,Dr,!0),r.signal)})},s=()=>{const h=P0(this.options,n),x=(()=>{const y={client:R(this,Lr),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return K(this,Dr,!1),this.options.persister?this.options.persister(h,x,this):h(x)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,Lr),state:this.state,fetchFn:s};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,Mr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&_e(this,Ot,cn).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,x,y,w;Lc(h)&&h.silent||_e(this,Ot,cn).call(this,{type:"error",error:h}),Lc(h)||((x=(p=R(this,vt).config).onError)==null||x.call(p,h,this),(w=(y=R(this,vt).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return K(this,Be,L0({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,x,y,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(x=(p=R(this,vt).config).onSuccess)==null||x.call(p,h,this),(w=(y=R(this,vt).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{_e(this,Ot,cn).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{_e(this,Ot,cn).call(this,{type:"pause"})},onContinue:()=>{_e(this,Ot,cn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,Be).start()}},Ai=new WeakMap,Mr=new WeakMap,vt=new WeakMap,Lr=new WeakMap,Be=new WeakMap,fo=new WeakMap,Dr=new WeakMap,Ot=new WeakSet,cn=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,...FT(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,Mr,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 i=t.error;return Lc(i)&&i.revert&&R(this,Mr)?{...R(this,Mr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,vt).notify({query:this,type:"updated",action:t})})},Bg);function FT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:A0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zT(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 Qt,$g,BT=($g=class extends Bl{constructor(t={}){super();te(this,Qt);this.config=t,K(this,Qt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??zf(i,n);let o=this.get(s);return o||(o=new _T({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){R(this,Qt).has(t.queryHash)||(R(this,Qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,Qt).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,Qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Qt).get(t)}getAll(){return[...R(this,Qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>tm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>tm(t,r)):n}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Qt=new WeakMap,$g),Xt,He,Ir,Zt,Ln,Ug,$T=(Ug=class extends D0{constructor(t){super();te(this,Zt);te(this,Xt);te(this,He);te(this,Ir);this.mutationId=t.mutationId,K(this,He,t.mutationCache),K(this,Xt,[]),this.state=t.state||UT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Xt).includes(t)||(R(this,Xt).push(t),this.clearGcTimeout(),R(this,He).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Xt,R(this,Xt).filter(n=>n!==t)),this.scheduleGc(),R(this,He).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Xt).length||(this.state.status==="pending"?this.scheduleGc():R(this,He).remove(this))}continue(){var t;return((t=R(this,Ir))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,d,f,h,p,x,y,w,g,m,v,S,C,k,E,T;const n=()=>{_e(this,Zt,Ln).call(this,{type:"continue"})};K(this,Ir,L0({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,N)=>{_e(this,Zt,Ln).call(this,{type:"failed",failureCount:A,error:N})},onPause:()=>{_e(this,Zt,Ln).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,He).canRun(this)}));const r=this.state.status==="pending",i=!R(this,Ir).canStart();try{if(r)n();else{_e(this,Zt,Ln).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=R(this,He).config).onMutate)==null?void 0:o.call(s,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&_e(this,Zt,Ln).call(this,{type:"pending",context:N,variables:t,isPaused:i})}const A=await R(this,Ir).start();return await((d=(u=R(this,He).config).onSuccess)==null?void 0:d.call(u,A,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,A,t,this.state.context)),await((x=(p=R(this,He).config).onSettled)==null?void 0:x.call(p,A,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,A,null,t,this.state.context)),_e(this,Zt,Ln).call(this,{type:"success",data:A}),A}catch(A){try{throw await((m=(g=R(this,He).config).onError)==null?void 0:m.call(g,A,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,A,t,this.state.context)),await((k=(C=R(this,He).config).onSettled)==null?void 0:k.call(C,void 0,A,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,A,t,this.state.context)),A}finally{_e(this,Zt,Ln).call(this,{type:"error",error:A})}}finally{R(this,He).runNext(this)}}},Xt=new WeakMap,He=new WeakMap,Ir=new WeakMap,Zt=new WeakSet,Ln=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),qe.batch(()=>{R(this,Xt).forEach(r=>{r.onMutationUpdate(t)}),R(this,He).notify({mutation:this,type:"updated",action:t})})},Ug);function UT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var fn,Vt,ho,Wg,WT=(Wg=class extends Bl{constructor(t={}){super();te(this,fn);te(this,Vt);te(this,ho);this.config=t,K(this,fn,new Set),K(this,Vt,new Map),K(this,ho,0)}build(t,n,r){const i=new $T({mutationCache:this,mutationId:++Lo(this,ho)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){R(this,fn).add(t);const n=ta(t);if(typeof n=="string"){const r=R(this,Vt).get(n);r?r.push(t):R(this,Vt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,fn).delete(t)){const n=ta(t);if(typeof n=="string"){const r=R(this,Vt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&R(this,Vt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ta(t);if(typeof n=="string"){const r=R(this,Vt).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=ta(t);if(typeof n=="string"){const i=(r=R(this,Vt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){qe.batch(()=>{R(this,fn).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,fn).clear(),R(this,Vt).clear()})}getAll(){return Array.from(R(this,fn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>nm(n,r))}findAll(t={}){return this.getAll().filter(n=>nm(t,n))}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qe.batch(()=>Promise.all(t.map(n=>n.continue().catch(It))))}},fn=new WeakMap,Vt=new WeakMap,ho=new WeakMap,Wg);function ta(e){var t;return(t=e.options.scope)==null?void 0:t.id}function sm(e){return{onFetch:(t,n)=>{var d,f,h,p,x;const r=t.options,i=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=P0(t.options,t.fetchOptions),m=async(v,S,C)=>{if(y)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const E=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return w(V),V})(),T=await g(E),{maxPages:A}=t.options,N=C?AT:RT;return{pages:N(v.pages,T,A),pageParams:N(v.pageParams,S,A)}};if(i&&s.length){const v=i==="backward",S=v?HT:om,C={pages:s,pageParams:o},k=S(r,C);a=await m(C,k,v)}else{const v=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:om(r,a);if(l>0&&S==null)break;a=await m(a,S),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function om(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 HT(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 ye,$n,Un,Mi,Li,Wn,Di,Ii,Hg,KT=(Hg=class{constructor(e={}){te(this,ye);te(this,$n);te(this,Un);te(this,Mi);te(this,Li);te(this,Wn);te(this,Di);te(this,Ii);K(this,ye,e.queryCache||new BT),K(this,$n,e.mutationCache||new WT),K(this,Un,e.defaultOptions||{}),K(this,Mi,new Map),K(this,Li,new Map),K(this,Wn,0)}mount(){Lo(this,Wn)._++,R(this,Wn)===1&&(K(this,Di,R0.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ye).onFocus())})),K(this,Ii,sl.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,ye).onOnline())})))}unmount(){var e,t;Lo(this,Wn)._--,R(this,Wn)===0&&((e=R(this,Di))==null||e.call(this),K(this,Di,void 0),(t=R(this,Ii))==null||t.call(this),K(this,Ii,void 0))}isFetching(e){return R(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,$n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ye).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,ye).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ed(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,ye).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=R(this,ye).get(r.queryHash),s=i==null?void 0:i.state.data,o=kT(t,s);if(o!==void 0)return R(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return qe.batch(()=>R(this,ye).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,ye).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,ye);qe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,ye);return qe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=qe.batch(()=>R(this,ye).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(It).catch(It)}invalidateQueries(e,t={}){return qe.batch(()=>(R(this,ye).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=qe.batch(()=>R(this,ye).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(It)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(It)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,ye).build(this,t);return n.isStaleByTime(ed(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(It).catch(It)}fetchInfiniteQuery(e){return e.behavior=sm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(It).catch(It)}ensureInfiniteQueryData(e){return e.behavior=sm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return sl.isOnline()?R(this,$n).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,ye)}getMutationCache(){return R(this,$n)}getDefaultOptions(){return R(this,Un)}setDefaultOptions(e){K(this,Un,e)}setQueryDefaults(e,t){R(this,Mi).set(ro(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,Mi).values()],n={};return t.forEach(r=>{io(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Li).set(ro(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Li).values()],n={};return t.forEach(r=>{io(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Un).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=zf(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===Bf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Un).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,ye).clear(),R(this,$n).clear()}},ye=new WeakMap,$n=new WeakMap,Un=new WeakMap,Mi=new WeakMap,Li=new WeakMap,Wn=new WeakMap,Di=new WeakMap,Ii=new WeakMap,Hg),qT=b.createContext(void 0),GT=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(qT.Provider,{value:e,children:t}));/**
232 * @remix-run/router v1.23.0
233 *
234 * Copyright (c) Remix Software Inc.
235 *
236 * This source code is licensed under the MIT license found in the
237 * LICENSE.md file in the root directory of this source tree.
238 *
239 * @license MIT
240 */function so(){return so=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},so.apply(this,arguments)}var qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}
vendor: 4,657 bytes, line 240
240)(qn||(qn={}));const am="popstate";function YT(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return nd("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:ol(i)}return XT(t,n,null,e)}function ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function I0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function QT(){return Math.random().toString(36).substr(2,8)}function lm(e,t){return{usr:e.state,key:e.key,idx:t}}function nd(e,t,n,r){return n===void 0&&(n=null),so({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?es(t):t,{state:n,key:t&&t.key||r||QT()})}function ol(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 es(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 XT(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=qn.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(so({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function f(){a=qn.Pop;let w=d(),g=w==null?null:w-u;u=w,l&&l({action:a,location:y.location,delta:g})}function h(w,g){a=qn.Push;let m=nd(y.location,w,g);u=d()+1;let v=lm(m,u),S=y.createHref(m);try{o.pushState(v,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(S)}s&&l&&l({action:a,location:y.location,delta:1})}function p(w,g){a=qn.Replace;let m=nd(y.location,w,g);u=d();let v=lm(m,u),S=y.createHref(m);o.replaceState(v,"",S),s&&l&&l({action:a,location:y.location,delta:0})}function x(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof w=="string"?w:ol(w);return m=m.replace(/ $/,"%20"),ke(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(i,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(am,f),l=w,()=>{i.removeEventListener(am,f),l=null}},createHref(w){return t(i,w)},createURL:x,encodeLocation(w){let g=x(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(w){return o.go(w)}};return y}var cm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(cm||(cm={}));function ZT(e,t,n){return n===void 0&&(n="/"),JT(e,t,n,!1)}function JT(e,t,n,r){let i=typeof t=="string"?es(t):t,s=$f(i.pathname||"/",n);if(s==null)return null;let o=O0(e);ej(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=dj(s);a=cj(o[l],u,r)}return a}function O0(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(ke(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=rr([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(ke(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),O0(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:aj(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of V0(s.path))i(s,o,l)}),t}function V0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=V0(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function ej(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:lj(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const tj=/^:[\w-]+$/,nj=3,rj=2,ij=1,sj=10,oj=-2,um=e=>e==="*";function aj(e,t){let n=e.split("/"),r=n.length;return n.some(um)&&(r+=oj),t&&(r+=rj),n.filter(i=>!um(i)).reduce((i,s)=>i+(tj.test(s)?nj:s===""?ij:sj),r)}function lj(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function cj(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",f
vendor: 9,612 bytes, lines 240-249
240=dm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=dm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;Object.assign(i,f.params),o.push({params:i,pathname:rr([s,f.pathname]),pathnameBase:mj(rr([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=rr([s,f.pathnameBase]))}return o}function dm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=uj(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let y=a[f]||"";o=s.slice(0,s.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[f];return p&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function uj(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),I0(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function dj(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return I0(!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 $f(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)||"/"}function fj(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?es(e):e;return{pathname:n?n.startsWith("/")?n:hj(n,t):t,search:gj(r),hash:yj(i)}}function hj(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Dc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function pj(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _0(e,t){let n=pj(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function F0(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=es(e):(i=so({},e),ke(!i.pathname||!i.pathname.includes("?"),Dc("?","pathname","search",i)),ke(!i.pathname||!i.pathname.includes("#"),Dc("#","pathname","hash",i)),ke(!i.search||!i.search.includes("#"),Dc("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=fj(i,a),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const rr=e=>e.join("/").replace(/\/\/+/g,"/"),mj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),gj=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,yj=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const z0=["post","put","patch","delete"];new Set(z0);const xj=["get",...z0];new Set(xj);/**
241 * React Router v6.30.1
242 *
243 * Copyright (c) Remix Software Inc.
244 *
245 * This source code is licensed under the MIT license found in the
246 * LICENSE.md file in the root directory of this source tree.
247 *
248 * @license MIT
249 */function oo(){return oo=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},oo.apply(this,arguments)}const Uf=b.createContext(null),wj=b.createContext(null),Gr=b.createContext(null),Ul=b.createContext(null),Yr=b.createContext({outlet:null,matches:[],isDataRoute:!1}),B0=b.createContext(null);function bj(e,t){let{relative:n}=t===void 0?{}:t;ko()||ke(!1);let{basename:r,navigator:i}=b.useContext(Gr),{hash:s,pathname:o,search:a}=U0(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:rr([r,o])),i.createHref({pathname:l,search:a,hash:s})}function ko(){return b.useContext(Ul)!=null}function Qr(){return ko()||ke(!1),b.useContext(Ul).location}function $0(e){b.useContext(Gr).static||b.useLayoutEffect(e)}function Sj(){let{isDataRoute:e}=b.useContext(Yr);return e?Ij():Cj()}function Cj(){ko()||ke(!1);let e=b.useContext(Uf),{basename:t,future:n,navigator:r}=b.useContext(Gr),{matches:i}=b.useContext(Yr),{pathname:s}=Qr(),o=JSON.stringify(_0(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return $0(()=>{a.current=!0}),b.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=F0(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:rr([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,o,s,e])}function U0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(Gr),{matches:i}=b.useContext(Yr),{pathname:s}=Qr(),o=JSON.stringify(_0(i,r.v7_relativeSplatPath));return b.useMemo(()=>F0(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function kj(e,t){return Ej(e,t)}function Ej(e,t,n,r){ko()||ke(!1);let{navigator:i}=b.useContext(Gr),{matches:s}=b.useContext(Yr),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Qr(),d;if(t){var f;let w=typeof t=="string"?es(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||ke(!1),d=w}else d=u;let h=d.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=ZT(e,{pathname:p}),y=Rj(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:rr([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:rr([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&y?b.createElement(Ul.Provider,{value:{location:oo({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:qn.Pop}},y):y}function Tj(){let e=Dj(),t=vj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const jj=b.createElement(Tj,null);class Nj extends b.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?b.createElement(Yr.Provider,{value:this.props.routeContext},b.createElement(B0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Pj(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Uf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Yr.Provider,{value:t},r)}function Rj(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let d=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||ke(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let f=o[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,x=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||x){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,f,h)=>{let p,x=!1,y=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,y=f.route.errorElement||jj,l&&(u<0&&h===0?(x=!0,w=null):u===h&&(x=!0,w=f.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),m=()=>{let v;return p?v=y:x?v=w:f.route.Component?v=b.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,b.createElement(Pj,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(Nj,{location:n.location,revalidation:n.revalidation,component:y,error:p,children:m(),routeC
249ontext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var W0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(W0||{}),al=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}(al||{});function Aj(e){let t=b.useContext(Uf);return t||ke(!1),t}function Mj(e){let t=b.useContext(wj);return t||ke(!1),t}function Lj(e){let t=b.useContext(Yr);return t||ke(!1),t}function H0(e){let t=Lj(),n=t.matches[t.matches.length-1];return n.route.id||ke(!1),n.route.id}function Dj(){var e;let t=b.useContext(B0),n=Mj(al.UseRouteError),r=H0(al.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Ij(){let{router:e}=Aj(W0.UseNavigateStable),t=H0(al.UseNavigateStable),n=b.useRef(!1);return $0(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,oo({fromRouteId:t},s)))},[e,t])}function Oj(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function lt(e){ke(!1)}function Vj(e){let{basename:t="/",children:n=null,location:r,navigationType:i=qn.Pop,navigator:s,static:o=!1,future:a}=e;ko()&&ke(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:s,static:o,future:oo({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=es(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:x="default"}=r,y=b.useMemo(()=>{let w=$f(d,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:x},navigationType:i}},[l,d,f,h,p,x,i]);return y==null?null:b.createElement(Gr.Provider,{value:u},b.createElement(Ul.Provider,{children:n,value:y}))}function _j(e){let{children:t,location:n}=e;return kj(rd(t),n)}new Promise(()=>{});function rd(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,rd(r.props.children,s));return}r.type!==lt&&ke(!1),!r.props.index||!r.props.children||ke(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=rd(r.props.children,s)),n.push(o)}),n}/**
250 * React Router DOM v6.30.1
251 *
252 * Copyright (c) Remix Software Inc.
253 *
254 * This source code is licensed under the MIT license found in the
255 * LICENSE.md file in the root directory of this source tree.
256 *
257 * @license MIT
258 */function id(){return id=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},id.apply(this,arguments)}function Fj(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function zj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Bj(e,t){return e.button===0&&(!t||t==="_self")&&!zj(e)}const $j=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Uj="6";try{window.__reactRouterVersion=Uj}catch{}const Wj="startTransition",fm=ry[Wj];function Hj(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=YT({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=b.useCallback(f=>{u&&fm?fm(()=>l(f)):l(f)},[l,u]);return b.useLayoutEffect(()=>o.listen(d),[o,d]),b.useEffect(()=>Oj(r),[r]),b.createElement(Vj,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Kj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$e=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:d,viewTransition:f}=t,h=Fj(t,$j),{basename:p}=b.useContext(Gr),x,y=!1;if(typeof u=="string"&&qj.test(u)&&(x=u,Kj))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=$f(S.pathname,p);S.origin===v.origin&&C!=null?u=C+S.search+S.hash:y=!0}catch{}let w=bj(u,{relative:i}),g=Gj(u,{replace:o,state:a,target:l,preventScrollReset:d,relative:i,viewTransition:f});function m(v){r&&r(v),v.defaultPrevented||g(v)}return b.createElement("a",id({},h,{href:x||w,onClick:y||s?r:m,ref:n,target:l}))});var hm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hm||(hm={}));var pm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(pm||(pm={}));function Gj(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=Sj(),u=Qr(),d=U0(e,{relative:o});return b.useCallback(f=>{if(Bj(f,n)){f.preventDefault();let h=r!==void 0?r:ol(u)===ol(d);l(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,d,r,i,n,e,s,o,a])}const Yj=Ox("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-base font-medium transition-all duration-300 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-5 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-soft hover:shadow-medium",pink:"bg-gradient-pink text-pink-foreground hover:opacity-95 shadow-pink hover:shadow-large hover:-translate-y-0.5",yellow:"bg-accent text-accent-foreground hover:bg-accent/90 shadow-soft hover:shadow-medium hover:-translate-y-0.5",teal:"bg-teal text-teal-foreground hover:bg-teal/90 shadow-soft hover:shadow-medium hover:-translate-y-0.5",outline:"border-2 border-primary/30 bg-transparent text-primary hover:border-primary hover:bg-primary/5",outlineLight:"border-2 border-white/40 bg-transparent text-white hover:bg-white/10",glass:"glass text-white hover:bg-white/15",ghost:"hover:bg-muted text-foreground",link:"text-pink underline-offset-4 hover:underline"},size:{default:"h-12 px-6 py-3",sm:"h-10 px-4 text-sm",lg:"h-14 px-8 text-base",xl:"h-16 px-10 text-lg",icon:"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),Ge=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?bC:"button";return c.jsx(o,{className:Se(Yj({variant:t,size:n,className:e})),ref:s,...i})});Ge.displayName="Button";const Qj="/assets/logo-titi-pill-BlQfMX8P.png",K0=({variant:e="dark"})=>{const t=e==="light"?"text-white":"text-titi-navy",n=e==="light"?"text-white/70":"text-muted-foreground";return c.jsxs($e,{to:"/","aria-label":"La Ruta del Cuidado · by TITI",className:"group inline-flex items-center gap-4",children:[c.jsx("span",{className:"inline-flex items-center justify-center bg-white rounded-full shadow-soft ring-1 ring-black/5 px-4 md:px-5 py-1.5 md:py-2 h-14 md:h-16 group-hover:scale-[1.03] transition-transform",children:c.jsx("img",{src:Qj,alt:"Logo TITI · el futuro es plateado",className:"h-full w-auto object-contain"})}),c.jsxs("span",{className:"flex flex-col leading-none",children:[c.jsxs("span",{className:`font-display font-extrabold tracking-tight text-xl md:text-2xl ${t}`,children:["La Ruta del ",c.jsx("span",{className:"text-titi-pink",children:"Cuidado"})]}),c.jsx("span",{className:`mt-1.5 font-sans uppercase tracking-[0.25em] font-semibold text-[10px] md:text-[11px] ${n}`,children:"by TITI"})]})]})},mm=[{label:"La Ruta",to:"/#ruta"},{label:"Productos",to:"/productos"},{label:"Comunidad",to:"/comunidad"},{label:"Noticias",to:"/actualidad"},{label:"Instituciones",to:"/#instituciones"}],ts=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1),{pathname:i}=Qr();b.useEffect(()=>{const a=()=>t(window.scrollY>12);return a(),window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]),b.useEffect(()=>r(!1),[i]);const o=i==="/"&&!e;return c.jsxs("header",{className:Se("fixed top-0 inset-x-0 z-50 transition-all duration-300",e?"bg-background/85 backdrop-blur-xl border-b border-border/60 py-1":"bg-transparent py-2"),children:[c.jsxs("div",{className:"container flex items-center justify-between h-16 md:h-20",children:[c.jsx(K0,{variant:o?"light":"dark"}),c.jsx("nav",{className:"hidden lg:flex items-center gap-1",children:mm.map(a=>c.jsx($e,{to:a.to,className:Se("px-4 py-2 rounded-full text-sm font-medium transition-colors",o?"text-white/85 hover:text-white hover:bg-white/10":"text-foreground
258/70 hover:text-foreground hover:bg-muted"),children:a.label},a.to))}),c.jsx("div",{className:"hidden lg:flex items-center",children:c.jsx(Ge,{variant:"pink",size:"sm",asChild:!0,children:c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",children:"Únete a TITI"})})}),c.jsx("button",{"aria-label":"Abrir menú",className:Se("lg:hidden p-2 rounded-full",o?"text-white":"text-foreground"),onClick:()=>r(a=>!a),children:n?c.jsx(Wx,{className:"h-6 w-6"}):c.jsx(Ak,{className:"h-6 w-6"})})]}),n&&c.jsx("div",{className:"lg:hidden bg-background border-t border-border",children:c.jsxs("div",{className:"container py-4 flex flex-col gap-1",children:[mm.map(a=>c.jsx($e,{to:a.to,className:"px-4 py-3 rounded-xl text-base font-medium text-foreground/80 hover:bg-muted",children:a.label},a.to)),c.jsx(Ge,{variant:"pink",className:"mt-3 w-full",asChild:!0,children:c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",children:"Únete a TITI — Crea tu perfil"})})]})})]})},Wf=b.createContext({});function Hf(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Xj=typeof window<"u",q0=Xj?b.useLayoutEffect:b.useEffect,Wl=b.createContext(null);function Kf(e,t){e.indexOf(t)===-1&&e.push(t)}function ll(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const on=(e,t,n)=>n>t?t:n<e?e:n;let Hl=()=>{},Hi=()=>{};const fr={},G0=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Y0(e){return typeof e=="object"&&e!==null}const Q0=e=>/^0[^.\s]+$/u.test(e);function X0(e){let t;return()=>(t===void 0&&(t=e()),t)}const kt=e=>e,Zj=(e,t)=>n=>t(e(n)),Eo=(...e)=>e.reduce(Zj),ao=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class qf{constructor(){this.subscriptions=[]}add(t){return Kf(this.subscriptions,t),()=>ll(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ot=e=>e*1e3,St=e=>e/1e3;function Z0(e,t){return t?e*(1e3/t):0}const J0=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Jj=1e-7,eN=12;function tN(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=J0(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>Jj&&++a<eN);return o}function To(e,t,n,r){if(e===t&&n===r)return kt;const i=s=>tN(s,0,1,e,n);return s=>s===0||s===1?s:J0(i(s),t,r)}const ew=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tw=e=>t=>1-e(1-t),nw=To(.33,1.53,.69,.99),Gf=tw(nw),rw=ew(Gf),iw=e=>e>=1?1:(e*=2)<1?.5*Gf(e):.5*(2-Math.pow(2,-10*(e-1))),Yf=e=>1-Math.sin(Math.acos(e)),sw=tw(Yf),ow=ew(Yf),nN=To(.42,0,1,1),rN=To(0,0,.58,1),aw=To(.42,0,.58,1),iN=e=>Array.isArray(e)&&typeof e[0]!="number",lw=e=>Array.isArray(e)&&typeof e[0]=="number",gm={linear:kt,easeIn:nN,easeInOut:aw,easeOut:rN,circIn:Yf,circInOut:ow,circOut:sw,backIn:Gf,backInOut:rw,backOut:nw,anticipate:iw},sN=e=>typeof e=="string",ym=e=>{if(lw(e)){Hi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return To(t,n,r,i)}else if(sN(e))return Hi(gm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),gm[e];return e},na=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],vm={value:null,addProjectionMetrics:null};function oN(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(f){o.has(f)&&(d.schedule(f),e()),l++,f(a)}const d={schedule:(f,h=!1,p=!1)=>{const y=p&&i?n:r;return h&&o.add(f),y.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,i){s=!0;return}i=!0;const h=n;n=r,r=h,n.forEach(u),t&&vm.value&&vm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,d.process(f))}};return d}const aN=40;function cw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=na.reduce((v,S)=>(v[S]=oN(s,t?S:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:p,postRender:x}=o,y=()=>{const v=fr.useManualTiming,S=v?i.timestamp:performance.now();n=!1,v||(i.delta=r?1e3/60:Math.max(Math.min(S-i.timestamp,aN),1)),i.timestamp=S,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),d.process(i),f.process(i),h.process(i),p.process(i),x.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},w=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:na.reduce((v,S)=>{const C=o[S];return v[S]=(k,E=!1,T=!1)=>(n||w(),C.schedule(k,E,T)),v},{}),cancel:v=>{for(let S=0;S<na.length;S++)o[na[S]].cancel(v)},state:i,steps:o}}const{schedule:se,cancel:hr,state:Le,steps:Ic}=cw(typeof requestAnimationFrame<"u"?requestAnimationFrame:kt,!0);let Sa;function lN(){Sa=void 0}const Ye={now:()=>(Sa===void 0&&Ye.set(Le.isProcessing||fr.useManualTiming?Le.timestamp:performance.now()),Sa),set:e=>{Sa=e,queueMicrotask(lN)}},uw=e=>t=>typeof t=="string"&&t.startsWith(e),dw=uw("--"),cN=uw("var(--"),Qf=e=>cN(e)?uN.test(e.split("/*")[0].trim()):!1,uN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ns={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},lo={...ns,transform:e=>on(0,1,e)},ra={...ns,default:1},Ds=e=>Math.round(e*1e5)/1e5,Xf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function dN(e){return e==null}const fN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Zf=(e,t)=>
vendor: 25,590 bytes, line 258
258n=>!!(typeof n=="string"&&fN.test(n)&&n.startsWith(e)||t&&!dN(n)&&Object.prototype.hasOwnProperty.call(n,t)),fw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Xf);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},hN=e=>on(0,255,e),Oc={...ns,transform:e=>Math.round(hN(e))},Nr={test:Zf("rgb","red"),parse:fw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Oc.transform(e)+", "+Oc.transform(t)+", "+Oc.transform(n)+", "+Ds(lo.transform(r))+")"};function pN(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const sd={test:Zf("#"),parse:pN,transform:Nr.transform},jo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Dn=jo("deg"),rn=jo("%"),F=jo("px"),mN=jo("vh"),gN=jo("vw"),wm={...rn,parse:e=>rn.parse(e)/100,transform:e=>rn.transform(e*100)},yi={test:Zf("hsl","hue"),parse:fw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rn.transform(Ds(t))+", "+rn.transform(Ds(n))+", "+Ds(lo.transform(r))+")"},be={test:e=>Nr.test(e)||sd.test(e)||yi.test(e),parse:e=>Nr.test(e)?Nr.parse(e):yi.test(e)?yi.parse(e):sd.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Nr.transform(e):yi.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},yN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Xf))==null?void 0:t.length)||0)+(((n=e.match(yN))==null?void 0:n.length)||0)>0}const hw="number",pw="color",xN="var",wN="var(",bm="${}",bN=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ki(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(bN,l=>(be.test(l)?(r.color.push(s),i.push(pw),n.push(be.parse(l))):l.startsWith(wN)?(r.var.push(s),i.push(xN),n.push(l)):(r.number.push(s),i.push(hw),n.push(parseFloat(l))),++s,bm)).split(bm);return{values:n,split:a,indexes:r,types:i}}function SN(e){return Ki(e).values}function mw({split:e,types:t}){const n=e.length;return r=>{let i="";for(let s=0;s<n;s++)if(i+=e[s],r[s]!==void 0){const o=t[s];o===hw?i+=Ds(r[s]):o===pw?i+=be.transform(r[s]):i+=r[s]}return i}}function CN(e){return mw(Ki(e))}const kN=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e,EN=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:kN(e);function TN(e){const t=Ki(e);return mw(t)(t.values.map((r,i)=>EN(r,t.split[i])))}const $t={test:vN,parse:SN,createTransformer:CN,getAnimatableNone:TN};function Vc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function jN({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Vc(l,a,e+1/3),s=Vc(l,a,e),o=Vc(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function cl(e,t){return n=>n>0?t:e}const ce=(e,t,n)=>e+(t-e)*n,_c=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},NN=[sd,Nr,yi],PN=e=>NN.find(t=>t.test(e));function Sm(e){const t=PN(e);if(Hl(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===yi&&(n=jN(n)),n}const Cm=(e,t)=>{const n=Sm(e),r=Sm(t);if(!n||!r)return cl(e,t);const i={...n};return s=>(i.red=_c(n.red,r.red,s),i.green=_c(n.green,r.green,s),i.blue=_c(n.blue,r.blue,s),i.alpha=ce(n.alpha,r.alpha,s),Nr.transform(i))},od=new Set(["none","hidden"]);function RN(e,t){return od.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function AN(e,t){return n=>ce(e,t,n)}function Jf(e){return typeof e=="number"?AN:typeof e=="string"?Qf(e)?cl:be.test(e)?Cm:DN:Array.isArray(e)?gw:typeof e=="object"?be.test(e)?Cm:MN:cl}function gw(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Jf(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function MN(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Jf(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function LN(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const DN=(e,t)=>{const n=$t.createTransformer(t),r=Ki(e),i=Ki(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?od.has(e)&&!i.values.length||od.has(t)&&!r.values.length?RN(e,t):Eo(gw(LN(r,i),i.values),n):(Hl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),cl(e,t))};function yw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ce(e,t,n):Jf(e)(e,t)}const IN=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>hr(t),now:()=>Le.isProcessing?Le.timestamp:Ye.now()}},vw=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ul=2e4;function eh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ul;)t+=n,r=e.next(t);return t>=ul?1/0:t}function ON(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(eh(r),ul);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:St(i)}}const he={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ad(e,t){return e*Math.sqrt(1-t*t)}const VN=12;function _N(e,t,n){let r=n;for(let i=1;i<VN;i++)r=r-e(r)/t(r);return r}const Fc=.001;function FN({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:r=he.mass}){let i,s;Hl(e<=ot(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=on(he.minDamping,he.maxDamping,o),e=on(he.minDuration,he.maxDuration,St(e)),o<1?(i=u=>{const d=u*o,f=d*e,h=d-n,p=ad(u,o),x=Math.exp(-f);return Fc-h/p*x},s=u=>{const f=u*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-f),y=ad(Math.pow(u,2),o);return(-i(u)+Fc>0?-1:1)*((h-p)*x)/y}):(i=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-Fc+d*f},s=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const a=5/e,l=_N(i,s,a);if(e=ot(e),isNaN(l))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const zN=["duration","bounce"],BN=["stiffness","damping","mass"];function km(e,t){return t.some(n=>e[n]!==void 0)}function $N(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!km(e,BN)&&km(e,zN))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*on(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:he.mass,stiffness:i,damping:s}}else{const n=FN({...e,velocity:0});t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function dl(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:p}=$N({...n,velocity:-St(n.velocity||0)}),x=h||0,y=u/(2*Math.sqrt(l*d)),w=o-s,g=St(Math.sqrt(l/d)),m=Math.abs(w)<5;r||(r=m?he.restSpeed.granular:he.restSpeed.default),i||(i=m?he.restDelta.granular:he.restDelta.default);let v,S,C,k,E,T;if(y<1)C=ad(g,y),k=(x+y*g*w)/C,v=N=>{const V=Math.exp(-y*g*N);return o-V*(k*Math.sin(C*N)+w*Math.cos(C*N))},E=y*g*k+w*C,T=y*g*w-k*C,S=N=>Math.exp(-y*g*N)*(E*Math.sin(C*N)+T*Math.cos(C*N));else if(y===1){v=V=>o-Math.exp(-g*V)*(w+(x+g*w)*V);const N=x+g*w;S=V=>Math.exp(-g*V)*(g*N*V-x)}else{const N=g*Math.sqrt(y*y-1);v=D=>{const W=Math.exp(-y*g*D),z=Math.min(N*D,300);return o-W*((x+y*g*w)*Math.sinh(z)+N*w*Math.cosh(z))/N};const V=(x+y*g*w)/N,I=y*g*V-w*N,U=y*g*w-V*N;S=D=>{const W=Math.exp(-y*g*D),z=Math.min(N*D,300);return W*(I*Math.sinh(z)+U*Math.cosh(z))}}const A={calculatedDuration:p&&f||null,velocity:N=>ot(S(N)),next:N=>{if(!p&&y<1){const I=Math.exp(-y*g*N),U=Math.sin(C*N),D=Math.cos(C*N),W=o-I*(k*U+w*D),z=ot(I*(E*U+T*D));return a.done=Math.abs(z)<=r&&Math.abs(o-W)<=i,a.value=a.done?o:W,a}const V=v(N);if(p)a.done=N>=f;else{const I=ot(S(N));a.done=Math.abs(I)<=r&&Math.abs(o-V)<=i}return a.value=a.done?o:V,a},toString:()=>{const N=Math.min(eh(A),ul),V=vw(I=>A.next(N*I).value,N,30);return N+"ms "+V},toTransition:()=>{}};return A}dl.applyToOptions=e=>{const t=ON(e,100,dl);return e.ease=t.ease,e.duration=ot(t.duration),e.type="keyframes",e};const UN=5;function xw(e,t,n){const r=Math.max(t-UN,0);return Z0(n-e(r),t-r)}function ld({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},p=T=>a!==void 0&&T<a||l!==void 0&&T>l,x=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let y=n*t;const w=f+y,g=o===void 0?w:o(w);g!==w&&(y=g-f);const m=T=>-y*Math.exp(-T/r),v=T=>g+m(T),S=T=>{const A=m(T),N=v(T);h.done=Math.abs(A)<=u,h.value=h.done?g:N};let C,k;const E=T=>{p(h.value)&&(C=T,k=dl({keyframes:[h.value,x(h.value)],velocity:xw(v,T,h.value),damping:i,stiffness:s,restDelta:u,restSpeed:d}))};return E(0),{calculatedDuration:null,next:T=>{let A=!1;return!k&&C===void 0&&(A=!0,S(T),E(T)),C!==void 0&&T>=C?k.next(T-C):(!A&&S(T),h)}}}function WN(e,t,n){const r=[],i=n||fr.mix||yw,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||kt:t;a=Eo(l,a)}r.push(a)}return r}function HN(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Hi(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=WN(t,r,i),l=a.length,u=d=>{if(o&&d<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ao(e[f],e[f+1],d);return a[f](h)};return n?d=>u(on(e[0],e[s-1],d)):u}function KN(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ao(0,t,r);e.push(ce(n,1,i))}}function qN(e){const t=[0];return KN(t,e.length-1),t}function GN(e,t){return e.map(n=>n*t)}function YN(e,t){return e.map(()=>t||aw).splice(0,e.length-1)}function Is({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=iN(r)?r.map(ym):ym(r),s={done:!1,value:t[0]},o=GN(n&&n.length===t.length?n:qN(t),e),a=HN(o,t,{ease:Array.isArray(i)?i:YN(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const QN=e=>e!==null;function Kl(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(QN),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const XN={decay:ld,inertia:ld,tween:Is,keyframes:Is,spring:dl};function ww(e){typeof e.type=="string"&&(e.type=XN[e.type])}class th{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const ZN=e=>e/100;class fl extends th{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ye.now()&&this.tick(Ye.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;ww(t);const{type:n=Is,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Is;l!==Is&&typeof a[0]!="number"&&(this.mixKeyframes=Eo(ZN,yw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=eh(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:p,type:x,onUpdate:y,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,S=r;if(f){const T=Math.min(this.currentTime,i)/a;let A=Math.floor(T),N=T%1;!N&&T>=1&&(N=1),N===1&&A--,A=Math.min(A,f+1),!!(A%2)&&(h==="reverse"?(N=1-N,p&&(N-=p/a)):h==="mirror"&&(S=o)),v=on(0,1,N)*a}let C;m?(this.delayState.value=d[0],C=this.delayState):C=S.next(v),s&&!m&&(C.value=s(C.value));let{done:k}=C;!m&&l!==null&&(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return E&&x!==ld&&(C.value=Kl(d,this.options,w,this.speed)),y&&y(C.value),E&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return St(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(this.currentTime)}set time(t){t=ot(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return xw(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ye.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=St(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=IN,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ye.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function JN(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Pr=e=>e*180/Math.PI,cd=e=>{const t=Pr(Math.atan2(e[1],e[0]));return ud(t)},eP={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:cd,rotateZ:cd,skewX:e=>Pr(Math.atan(e[1])),skewY:e=>Pr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ud=e=>(e=e%360,e<0&&(e+=360),e),Em=cd,Tm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),jm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),tP={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Tm,scaleY:jm,scale:e=>(Tm(e)+jm(e))/2,rotateX:e=>ud(Pr(Math.atan2(e[6],e[5]))),rotateY:e=>ud(Pr(Math.atan2(-e[2],e[0]))),rotateZ:Em,rotate:Em,skewX:e=>Pr(Math.atan(e[4])),skewY:e=>Pr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function dd(e){return e.includes("scale")?1:0}function fd(e,t){if(!e||e==="none")return dd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=tP,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eP,i=a}if(!i)return dd(t);const s=r[t],o=i[1].split(",").map(rP);return typeof s=="function"?s(o):o[s]}const nP=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return fd(n,t)};function rP(e){return parseFloat(e.trim())}const rs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],is=new Set(rs),Nm=e=>e===ns||e===F,iP=new Set(["x","y","z"]),sP=rs.filter(e=>!iP.has(e));function oP(e){const t=[];return sP.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Gn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>fd(t,"x"),y:(e,{transform:t})=>fd(t,"y")};Gn.translateX=Gn.x;Gn.translateY=Gn.y;const _r=new Set;let hd=!1,pd=!1,md=!1;function bw(){if(pd){const e=Array.from(_r).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=oP(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}pd=!1,hd=!1,_r.forEach(e=>e.complete(md)),_r.clear()}function Sw(){_r.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(pd=!0)})}function aP(){md=!0,Sw(),bw(),md=!1}class nh{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(_r.add(this),hd||(hd=!0,se.read(Sw),se.resolveKeyframes(bw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}JN(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),_r.delete(this)}cancel(){this.state==="scheduled"&&(_r.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const lP=e=>e.startsWith("--");function Cw(e,t,n){lP(t)?e.style.setProperty(t,n):e.style[t]=n}const cP={};function kw(e,t){const n=X0(e);return()=>cP[t]??n()}const uP=kw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Ew=kw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Cs=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Pm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Cs([0,.65,.55,1]),circOut:Cs([.55,0,1,.45]),backIn:Cs([.31,.01,.66,-.59]),backOut:Cs([.33,1.53,.69,.99])};function Tw(e,t){if(e)return typeof e=="function"?Ew()?vw(e,t):"ease-out":lw(e)?Cs(e):Array.isArray(e)?e.map(n=>Tw(n,t)||Pm.easeOut):Pm[e]}function dP(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const d={[t]:n};l&&(d.offset=l);const f=Tw(a,i);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function jw(e){return typeof e=="function"&&"applyToOptions"in e}function fP({type:e,...t}){return jw(e)&&Ew()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Nw extends th{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Hi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=fP(t);this.animation=dP(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const d=Kl(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Cw(n,r,d),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return St(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+St(t)}get time(){return St(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ot(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&uP()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),kt):i(this)}}const Pw={anticipate:iw,backInOut:rw,circInOut:ow};function hP(e){return e in Pw}function pP(e){typeof e.ease=="string"&&hP(e.ease)&&(e.ease=Pw[e.ease])}const zc=10;class mP extends Nw{constructor(t){pP(t),ww(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new fl({...o,autoplay:!1}),l=Math.max(zc,Ye.now()-this.startTime),u=on(0,zc,l-zc),d=a.sample(l).value,{name:f}=this.options;s&&f&&Cw(s,f,d),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,d,u),a.stop()}}const Rm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($t.test(e)||e==="0")&&!e.startsWith("url("));function gP(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function yP(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Rm(i,t),a=Rm(s,t);return Hl(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:gP(e)||(n==="spring"||jw(n))&&r}function gd(e){e.duration=0,e.type="keyframes"}const Rw=new Set(["opacity","clipPath","filter","transform"]),vP=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xP(e){for(let t=0;t<e.length;
258t++)if(typeof e[t]=="string"&&vP.test(e[t]))return!0;return!1}const wP=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),bP=X0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function SP(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o,keyframes:a}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return bP()&&n&&(Rw.has(n)||wP.has(n)&&xP(a))&&(n!=="transform"||!d)&&!u&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const CP=40;class kP extends th{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:a,name:l,motionValue:u,element:d,...f}){var x;super(),this.stop=()=>{var y,w;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=Ye.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:d,...f},p=(d==null?void 0:d.KeyframeResolver)||nh;this.keyframeResolver=new p(a,(y,w,g)=>this.onKeyframesResolved(y,w,h,!g),l,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,i){var g,m;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Ye.now();let f=!0;yP(t,s,o,a)||(f=!1,(fr.instantAnimations||!l)&&(d==null||d(Kl(t,r,n))),t[0]=t[t.length-1],gd(r),r.repeat=0);const p={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>CP?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},x=f&&!u&&SP(p),y=(m=(g=p.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let w;if(x)try{w=new mP({...p,element:y})}catch{w=new fl(p)}else w=new fl(p);w.finished.then(()=>{this.notifyFinished()}).catch(kt),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),aP()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function Aw(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const EP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function TP(e){const t=EP.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const jP=4;function Mw(e,t,n=1){Hi(n<=jP,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=TP(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return G0(o)?parseFloat(o):o}return Qf(i)?Mw(i,t,n+1):i}const NP={type:"spring",stiffness:500,damping:25,restSpeed:10},PP=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),RP={type:"keyframes",duration:.8},AP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},MP=(e,{keyframes:t})=>t.length>2?RP:is.has(e)?e.startsWith("scale")?PP(t[1]):NP:AP;function Lw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function rh(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Lw(n,e):n}const LP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function DP(e){for(const t in e)if(!LP.has(t))return!0;return!1}const ih=(e,t,n,r={},i,s)=>o=>{const a=rh(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ot(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};DP(a)||Object.assign(d,MP(e,d)),d.duration&&(d.duration=ot(d.duration)),d.repeatDelay&&(d.repeatDelay=ot(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(gd(d),d.delay===0&&(f=!0)),(fr.instantAnimations||fr.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(f=!0,gd(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const h=Kl(d.keyframes,a);if(h!==void 0){se.update(()=>{d.onUpdate(h),d.onComplete()});return}}return a.isSync?new fl(d):new kP(d)};function Am(e){const t=[{},{}];
vendor: 61,996 bytes, line 258
258return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function sh(e,t,n,r){if(typeof t=="function"){const[i,s]=Am(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=Am(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Fr(e,t,n){const r=e.getProps();return sh(r,t,n!==void 0?n:r.custom,e)}const Dw=new Set(["width","height","top","left","right","bottom",...rs]),Mm=30,IP=e=>!isNaN(parseFloat(e));class OP{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Ye.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ye.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=IP(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new qf);const r=this.events[t].add(n);return t==="change"?()=>{r(),se.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Mm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Mm);return Z0(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function qi(e,t){return new OP(e,t)}const yd=e=>Array.isArray(e);function VP(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,qi(n))}function _P(e){return yd(e)?e[e.length-1]||0:e}function FP(e,t){const n=Fr(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=_P(s[o]);VP(e,o,a)}}const De=e=>!!(e&&e.getVelocity);function zP(e){return!!(De(e)&&e.add)}function vd(e,t){const n=e.getValue("willChange");if(zP(n))return n.add(t);if(!n&&fr.WillChange){const r=new fr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function oh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const BP="framerAppearId",Iw="data-"+oh(BP);function Ow(e){return e.props[Iw]}function $P({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Vw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();s=s?Lw(s,l):l;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const d=[],f=i&&e.animationState&&e.animationState.getState()[i];for(const h in a){const p=e.getValue(h,e.latestValues[h]??null),x=a[h];if(x===void 0||f&&$P(f,h))continue;const y={delay:n,...rh(s||{},h)},w=p.get();if(w!==void 0&&!p.isAnimating()&&!Array.isArray(x)&&x===w&&!y.velocity){se.update(()=>p.set(x));continue}let g=!1;if(window.MotionHandoffAnimation){const S=Ow(e);if(S){const C=window.MotionHandoffAnimation(S,h,se);C!==null&&(y.startTime=C,g=!0)}}vd(e,h);const m=u??e.shouldReduceMotion;p.start(ih(h,p,x,m&&Dw.has(h)?{type:!1}:y,e,g));const v=p.animation;v&&d.push(v)}if(o){const h=()=>se.update(()=>{o&&FP(e,o)});d.length?Promise.all(d).then(h):h()}return d}function xd(e,t,n={}){var l;const r=Fr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Vw(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=i;return UP(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,d]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>d())}else return Promise.all([s(),o(n.delay)])}function UP(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(xd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+Aw(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function WP(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>xd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=xd(e,t,n);else{const i=typeof t=="function"?Fr(e,t,n.custom):t;r=Promise.all(Vw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const HP={test:e=>e==="auto",parse:e=>e},_w=e=>t=>t.test(e),Fw=[ns,F,rn,Dn,gN,mN,HP],Lm=e=>Fw.find(_w(e));function KP(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Q0(e):!0}const qP=new Set(["brightness","contrast","saturate","opacity"]);function GP(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Xf)||[];if(!r)return e;const i=n.replace(r,"");let s=qP.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const YP=/\b([a-z-]*)\(.*?\)/gu,wd={...$t,getAnimatableNone:e=>{const t=e.match(YP);return t?t.map(GP).join(" "):e}},bd={...$t,getAnimatableNone:e=>{const t=$t.parse(e);return $t.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Dm={...ns,transform:Math.round},QP={rotate:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:ra,scaleX:ra,scaleY:ra,scaleZ:ra,skew:Dn,skewX:Dn,skewY:Dn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:lo,originX:wm,originY:wm,originZ:F},ah={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...QP,zIndex:Dm,fillOpacity:lo,strokeOpacity:lo,numOctaves:Dm},XP={...ah,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:wd,WebkitFilter:wd,mask:bd,WebkitMask:bd},zw=e=>XP[e],ZP=new Set([wd,bd]);function Bw(e,t){let n=zw(e);return ZP.has(n)||(n=$t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const JP=new Set(["auto","none","0"]);function eR(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!JP.has(s)&&Ki(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=Bw(n,i)}class tR extends nh{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Qf(f))){const h=Mw(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Dw.has(r)||t.length!==2)return;const[i,s]=t,o=Lm(i),a=Lm(s),l=xm(i),u=xm(s);if(l!==u&&Gn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Nm(o)&&Nm(a))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else Gn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||KP(t[i]))&&r.push(i);r.length&&eR(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Gn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Gn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function $w(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const Uw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Ca(e){return Y0(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:lh,cancel:q5}=cw(queueMicrotask,!1),Lt={x:!1,y:!1};function Ww(){return Lt.x||Lt.y}function nR(e){return e==="x"||e==="y"?Lt[e]?null:(Lt[e]=!0,()=>{Lt[e]=!1}):Lt.x||Lt.y?null:(Lt.x=Lt.y=!0,()=>{Lt.x=Lt.y=!1})}function Hw(e,t){const n=$w(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function rR(e){return!(e.pointerType==="touch"||Ww())}function iR(e,t,n={}){const[r,i,s]=Hw(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const d=()=>{o.removeEventListener("pointerleave",x)},f=w=>{u&&(u(w),u=void 0),d()},h=w=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(w))},p=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},x=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},y=w=>{if(!rR(w))return;l=!1;const g=t(o,w);typeof g=="function"&&(u=g,o.addEventListener("pointerleave",x,i))};o.addEventListener("pointerenter",y,i),o.addEventListener("pointerdown",p,i)}),s}const Kw=(e,t)=>t?e===t?!0:Kw(e,t.parentElement):!1,ch=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,sR=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function oR(e){return sR.has(e.tagName)||e.isContentEditable===!0}const aR=new Set(["INPUT","SELECT","TEXTAREA"]);function lR(e){return aR.has(e.tagName)||e.isContentEditable===!0}const ka=new WeakSet;function Im(e){return t=>{t.key==="Enter"&&e(t)}}function Bc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cR=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Im(()=>{if(ka.has(n))return;Bc(n,"down");const i=Im(()=>{Bc(n,"up")}),s=()=>Bc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Om(e){return ch(e)&&!Ww()}const Vm=new WeakSet;function uR(e,t,n={}){const[r,i,s]=Hw(e,n),o=a=>{const l=a.currentTarget;if(!Om(a)||Vm.has(a))return;ka.add(l),n.stopPropagation&&Vm.add(a);const u=t(l,a),d=(p,x)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),ka.has(l)&&ka.delete(l),Om(p)&&typeof u=="function"&&u(p,{success:x})},f=p=>{d(p,l===window||l===document||n.useGlobalTarget||Kw(l,p.target))},h=p=>{d(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Ca(a)&&(a.addEventListener("focus",u=>cR(u,i)),!oR(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function uh(e){return Y0(e)&&"ownerSVGElement"in e}const Ea=new WeakMap;let In;const qw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:uh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],dR=qw("inline","width","offsetWidth"),fR=qw("block","height","offsetHeight");function hR({target:e,borderBoxSize:t}){var n;(n=Ea.get(e))==null||n.forEach(r=>{r(e,{get width(){return dR(e,t)},get height(){return fR(e,t)}})})}function pR(e){e.forEach(hR)}function mR(){typeof ResizeObserver>"u"||(In=new ResizeObserver(pR))}function gR(e,t){In||mR();const n=$w(e);return n.forEach(r=>{let i=Ea.get(r);i||(i=new Set,Ea.set(r,i)),i.add(t),In==null||In.observe(r)}),()=>{n.forEach(r=>{const i=Ea.get(r);i==null||i.delete(t),i!=null&&i.size||In==null||In.unobserve(r)})}}const Ta=new Set;let vi;function yR(){vi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ta.forEach(t=>t(e))},window.addEventListener("resize",vi)}function vR(e){return Ta.add(e),vi||yR(),()=>{Ta.delete(e),!Ta.size&&typeof vi=="function"&&(window.removeEventListener("resize",vi),vi=void 0)}}function _m(e,t){return typeof e=="function"?vR(e):gR(e,t)}function xR(e){return uh(e)&&e.tagName==="svg"}const wR=[...Fw,be,$t],bR=e=>wR.find(_w(e)),Fm=()=>({translate:0,scale:1,origin:0,originPoint:0}),xi=()=>({x:Fm(),y:Fm()}),zm=()=>({min:0,max:0}),Ee=()=>({x:zm(),y:zm()}),SR=new WeakMap;function ql(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function co(e){return typeof e=="string"||Array.isArray(e)}const dh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fh=["initial",...dh];function Gl(e){return ql(e.animate)||fh.some(t=>co(e[t]))}function Gw(e){return!!(Gl(e)||e.variants)}function CR(e,t,n){for(const r in t){const i=t[r],s=n[r];if(De(i))e.addValue(r,i);else if(De(s))e.addValue(r,qi(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,qi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Sd={current:null},Yw={current:!1},kR=typeof window<"u";function ER(){if(Yw.current=!0,!!kR)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Sd.current=e.matches;e.addEventListener("change",t),t()}else Sd.current=!1}const Bm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let hl={};function Qw(e){hl=e}function TR(){return hl}class jR{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=nh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Ye.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,se.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Gl(n),this.isVariantNode=Gw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in h){const x=h[p];u[p]!==void 0&&De(x)&&x.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,SR.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Yw.current||ER(),this.shouldReduceMotion=Sd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),hr(this.notifyUpdate),hr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&Rw.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:d}=n.accelerate,f=new Nw({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:ot(d)}),h=o(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=is.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in hl){const n=hl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ee()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Bm.length;r++){const i=Bm[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=CR(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=qi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(G0(r)||Q0(r))?r=parseFloat(r):!bR(r)&&$t.test(n)&&(r=Bw(t,n)),this.setBaseTarget(t,De(r)?r.get():r)),De(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=sh(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!De(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new qf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){lh.render(this.render)}}class Xw extends jR{constructor(){super(...arguments),this.KeyframeResolver=tR}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;De(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class yr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Zw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function NR({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function PR(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function $c(e){return e===void 0||e===1}function Cd({scale:e,scaleX:t,scaleY:n}){return!$c(e)||!$c(t)||!$c(n)}function kr(e){return Cd(e)||Jw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Jw(e){return $m(e.x)||$m(e.y)}function $m(e){return e&&e!=="0%"}function pl(e,t,n){const r=e-n,i=t*r;return n+i}function Um(e,t,n,r,i){return i!==void 0&&(e=pl(e,i,r)),pl(e,n,r)+t}function kd(e,t=0,n=1,r,i){e.min=Um(e.min,t,n,r,i),e.max=Um(e.max,t,n,r,i)}function e1(e,{x:t,y:n}){kd(e.x,t.translate,t.scale,t.originPoint),kd(e.y,n.translate,n.scale,n.originPoint)}const Wm=.999999999999,Hm=1.0000000000001;function RR(e,t,n,r=!1){var a;const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let l=0;l<i;l++){s=n[l],o=s.projectionDelta;const{visualElement:u}=s.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Jt(e.x,-s.scroll.offset.x),Jt(e.y,-s.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,e1(e,o)),r&&kr(s.latestValues)&&ja(e,s.latestValues,(a=s.layout)==null?void 0:a.layoutBox))}t.x<Hm&&t.x>Wm&&(t.x=1),t.y<Hm&&t.y>Wm&&(t.y=1)}function Jt(e,t){e.min+=t,e.max+=t}function Km(e,t,n,r,i=.5){const s=ce(e.min,e.max,i);kd(e,t,n,s,r)}function qm(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function ja(e,t,n){const r=n??e;Km(e.x,qm(t.x,r.x),t.scaleX,t.scale,t.originX),Km(e.y,qm(t.y,r.y),t.scaleY,t.scale,t.originY)}function t1(e,t){return Zw(PR(e.getBoundingClientRect(),t))}function AR(e,t,n){const r=t1(e,n),{scroll:i}=t;return i&&(Jt(r.x,i.offset.x),Jt(r.y,i.offset.y)),r}const MR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},LR=rs.length;function DR(e,t,n){let r="",i=!0;for(let s=0;s<LR;s++){const o=rs[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);l=o.startsWith("scale")?u===1:u===0}if(!l||n){const u=Uw(a,ah[o]);if(!l){i=!1;const d=MR[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function hh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(is.has(l)){o=!0;continue}else if(dw(l)){i[l]=u;continue}else{const d=Uw(u,ah[l]);l.startsWith("origin")?(a=!0,s[l]=d):r[l]=d}}if(t.transform||(o||n?r.transform=DR(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:d=0}=s;r.transformOrigin=`${l} ${u} ${d}`}}function n1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function Gm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const vs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=Gm(e,t.target.x),r=Gm(e,t.target.y);return`${n}% ${r}%`}},IR={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=$t.parse(e);if(i.length>5)return r;const s=$t.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=ce(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},Ed={borderRadius:{...vs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vs,borderTopRightRadius:vs,borderBottomLeftRadius:vs,borderBottomRightRadius:vs,boxShadow:IR};function r1(e,{layout:t,layoutId:n}){return is.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ed[e]||e==="opacity")}function ph(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(De(r[a])||i&&De(i[a])||r1(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function OR(e){return window.getComputedStyle(e)}class VR extends Xw{constructor(){super(...arguments),this.type="html",this.renderInstance=n1}readValueFromInstance(t,n){var r;if(is.has(n))return(r=this.projection)!=null&&r.isProjecting?dd(n):nP(t,n);{const i=OR(t),s=(dw(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return t1(t,n)}build(t,n,r){hh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return ph(t,n,r)}}const _R={offset:"stroke-dashoffset",array:"stroke-dasharray"},FR={offset:"strokeDashoffset",array:"strokeDasharray"};function zR(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?_R:FR;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const BR=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function i1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,d){if(hh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const p of BR)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&zR(f,i,s,o,!1)}const s1=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),o1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $R(e,t,n,r){n1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(s1.has(i)?i:oh(i),t.attrs[i])}function a1(e,t,n){const r=ph(e,t,n);for(const i in e)if(De(e[i])||De(t[i])){const s=rs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class UR extends Xw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ee}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(is.has(n)){const r=zw(n);return r&&r.default||0}return n=s1.has(n)?n:oh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return a1(t,n,r)}build(t,n,r){i1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){$R(t,n,r,i)}mount(t){this.isSVGTag=o1(t.tagName),super.mount(t)}}const WR=fh.length;function l1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?l1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<WR;n++){const r=fh[n],i=e.props[r];(co(i)||i===!1)&&(t[r]=i)}return t}function c1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const HR=[...dh].reverse(),KR=dh.length;function qR(e){return t=>Promise.all(t.map(({animation:n,options:r})=>WP(e,n,r)))}function GR(e){let t=qR(e),n=Ym(),r=!0,i=!1;const s=u=>(d,f)=>{var p;const h=Fr(e,f,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(h){const{transition:x,transitionEnd:y,...w}=h;d={...d,...w,...y}}return d};function o(u){t=u(e)}function a(u){const{props:d}=e,f=l1(e.parent)||{},h=[],p=new Set;let x={},y=1/0;for(let g=0;g<KR;g++){const m=HR[g],v=n[m],S=d[m]!==void 0?d[m]:f[m],C=co(S),k=m===u?v.isActive:null;k===!1&&(y=g);let E=S===f[m]&&S!==d[m]&&C;if(E&&(r||i)&&e.manuallyAnimateOnMount&&(E=!1),v.protectedKeys={...x},!v.isActive&&k===null||!S&&!v.prevProp||ql(S)||typeof S=="boolean")continue;if(m==="exit"&&v.isActive&&k!==!0){v.prevResolvedValues&&(x={...x,...v.prevResolvedValues});continue}const T=YR(v.prevProp,S);let A=T||m===u&&v.isActive&&!E&&C||g>y&&C,N=!1;const V=Array.isArray(S)?S:[S];let I=V.reduce(s(m),{});k===!1&&(I={});const{prevResolvedValues:U={}}=v,D={...U,...I},W=j=>{A=!0,p.has(j)&&(N=!0,p.delete(j)),v.needsAnimating[j]=!0;const P=e.getValue(j);P&&(P.liveStyle=!1)};for(const j in D){const P=I[j],O=U[j];if(x.hasOwnProperty(j))continue;let $=!1;yd(P)&&yd(O)?$=!c1(P,O):$=P!==O,$?P!=null?W(j):p.add(j):P!==void 0&&p.has(j)?W(j):v.protectedKeys[j]=!0}v.prevProp=S,v.prevResolvedValues=I,v.isActive&&(x={...x,...I}),(r||i)&&e.blockInitialAnimation&&(A=!1);const z=E&&T;A&&(!z||N)&&h.push(...V.map(j=>{const P={type:m};if(typeof j=="string"&&(r||i)&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,$=Fr(O,j);if(O.enteringChildren&&$){const{delayChildren:B}=$.transition||{};P.delay=Aw(O.enteringChildren,e,B)}}return{animation:j,options:P}}))}if(p.size){const g={};if(typeof d.initial!="boolean"){const m=Fr(e,Array.isArray(d.initial)?d.initial[0]:d.initial);m&&m.transition&&(g.transition=m.transition)}p.forEach(m=>{const v=e.getBaseTarget(m),S=e.getValue(m);S&&(S.liveStyle=!0),g[m]=v??null}),h.push({animation:g})}let w=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,i=!1,w?t(h):Promise.resolve()}function l(u,d){var h;if(n[u].isActive===d)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(p=>{var x;return(x=p.animationState)==null?void 0:x.setActive(u,d)}),n[u].isActive=d;const f=a(u);for(const p in n)n[p].protectedKeys={};return f}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Ym(),i=!0}}}function YR(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!c1(t,e):!1}function br(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ym(){return{animate:br(!0),whileInView:br(),whileHover:br(),whileTap:br(),whileDrag:br(),whileFocus:br(),exit:br()}}function Td(e,t){e.min=t.min,e.max=t.max}function Mt(e,t){Td(e.x,t.x),Td(e.y,t.y)}function Qm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const u1=1e-4,QR=1-u1,XR=1+u1,d1=.01,ZR=0-d1,JR=0+d1;function Qe(e){return e.max-e.min}function eA(e,t,n){return Math.abs(e-t)<=n}function Xm(e,t,n,r=.5){e.origin=r,e.originPoint=ce(t.min,t.max,e.origin),e.scale=Qe(n)/Qe(t),e.translate=ce(n.min,n.max,e.origin)-e.originPoint,(e.scale>=QR&&e.scale<=XR||isNaN(e.scale))&&(e.scale=1),(e.translate>=ZR&&e.translate<=JR||isNaN(e.translate))&&(e.translate=0)}function Os(e,t,n,r){Xm(e.x,t.x,n.x,r?r.originX:void 0),Xm(e.y,t.y,n.y,r?r.originY:void 0)}function Zm(e,t,n,r=0){const i=r?ce(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Qe(t)}function tA(e,t,n,r){Zm(e.x,t.x,n.x,r==null?void 0:r.x),Zm(e.y,t.y,n.y,r==null?void 0:r.y)}function Jm(e,t,n,r=0){const i=r?ce(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Qe(t)}function ml(e,t,n,r){Jm(e.x,t.x,n.x,r==null?void 0:r.x),Jm(e.y,t.y,n.y,r==null?void 0:r.y)}function eg(e,t,n,r,i){return e-=t,e=pl(e,1/n,r),i!==void 0&&(e=pl(e,1/i,r)),e}function nA(e,t=0,n=1,r=.5,i,s=e,o=e){if(rn.test(t)&&(t=parseFloat(t),t=ce(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ce(s.min,s.max,r);e===s&&(a-=t),e.min=eg(e.min,t,n,a,i),e.max=eg(e.max,t,n,a,i)}function tg(e,t,[n,r,i],s,o){nA(e,t[n],t[r],t[i],t.scale,s,o)}const rA=["x","scaleX","originX"],iA=["y","scaleY","originY"];function ng(e,t,n,r){tg(e.x,t,rA,n?n.x:void 0,r?r.x:void 0),tg(e.y,t,iA,n?n.y:void 0,r?r.y:void 0)}function rg(e){return e.translate===0&&e.scale===1}function f1(e){return rg(e.x)&&rg(e.y)}function ig(e,t){return e.min===t.min&&e.max===t.max}function sA(e,t){return ig(e.x,t.x)&&ig(e.y,t.y)}function sg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function h1(e,t){return sg(e.x,t.x)&&sg(e.y,t.y)}function og(e){return Qe(e.x)/Qe(e.y)}function ag(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Yt(e){return[e("x"),e("y")]}function oA(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const p1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],aA=p1.length,lg=e=>typeof e=="string"?parseFloat(e):e,cg=e=>typeof e=="number"||F.test(e);function lA(e,t,n,r,i,s){i?(e.opacity=ce(0,n.opacity??1,cA(r)),e.opacityExit=ce(t.opacity??1,0,uA(r))):s&&(e.opacity=ce(t.opacity??1,n.opacity??1,r));for(let o=0;o<aA;o++){const a=p1[o];let l=ug(t,a),u=ug(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cg(l)===cg(u)?(e[a]=Math.max(ce(lg(l),lg(u),r),0),(rn.test(u)||rn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=ce(t.rotate||0,n.rotate||0,r))}function ug(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const cA=m1(0,.5,sw),uA=m1(.5,.95,kt);function m1(e,t,n){return r=>r<e?0:r>t?1:n(ao(e,t,r))}function dA(e,t,n){const r=De(e)?e:qi(e);return r.start(ih("",r,t,n)),r.animation}function uo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const fA=(e,t)=>e.depth-t.depth;class hA{constructor(){this.children=[],this.isDirty=!1}add(t){Kf(this.children,t),this.isDirty=!0}remove(t){ll(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(fA),this.isDirty=!1,this.children.forEach(t)}}function pA(e,t){const n=Ye.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(hr(r),e(s-t))};return se.setup(r,!0),()=>hr(r)}function Na(e){return De(e)?e.get():e}class mA{constructor(){this.members=[]}add(t){Kf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(ll(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(ll(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:s}=r.options,{layoutDependency:o}=t.options;(s===void 0||s!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,s,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(i=t.resumingFrom)==null?void 0:(s=i.options).onExitComplete)==null||o.call(s)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Pa={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Uc=["","X","Y","Z"],gA=1e3;let yA=0;function Wc(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function g1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ow(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&g1(r)}function y1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=yA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(wA),this.nodes.forEach(TA),this.nodes.forEach(jA),this.nodes.forEach(bA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new hA)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new qf),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=uh(o)&&!xR(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;se.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,d&&d(),d=pA(h,250),Pa.hasAnimatedSinceResize&&(Pa.hasAnimatedSinceResize=!1,this.nodes.forEach(hg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||MA,{onLayoutAnimationStart:y,onLayoutAnimationComplete:w}=u.getProps(),g=!this.targetLayout||!h1(this.targetLayout,p),m=!f&&h;if(this.options.layoutRoot||this.resumeFrom||m||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...rh(x,"layout"),onPlay:y,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,m)}else f||hg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),hr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(NA),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&g1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(CA),this.nodes.forEach(dg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(fg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(kA),this.nodes.forEach(EA),this.nodes.forEach(vA),this.nodes.forEach(xA)):this.nodes.forEach(fg),this.clearAllSnapshots();const a=Ye.now();Le.delta=on(0,1e3/60,a-Le.timestamp),Le.timestamp=a,Le.isProcessing=!0,Ic.update.process(Le),Ic.preRender.process(Le),Ic.render.process(Le),Le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(SA),this.sharedNodes.forEach(PA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Qe(this.snapshot.measuredBox.x)&&!Qe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ee()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!f1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||kr(this.latestValues)||d)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),LA(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Ee();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(DA))){const{scroll:d}=this.root;d&&(Jt(a.x,d.offset.x),Jt(a.y,d.offset.y))}return a}removeElementScroll(o){var l;const a=Ee();if(Mt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Mt(a,o),Jt(a.x,f.offset.x),Jt(a.y,f.offset.y))}return a}applyTransform(o,a=!1,l){var d,f;const u=l||Ee();Mt(u,o);for(let h=0;h<this.path.length;h++){const p=this.path[h];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Jt(u.x,-p.scroll.offset.x),Jt(u.y,-p.scroll.offset.y)),kr(p.latestValues)&&ja(u,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return kr(this.latestValues)&&ja(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(o){var l;const a=Ee();Mt(a,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!kr(d.latestValues))continue;let f;d.instance&&(Cd(d.latestValues)&&d.updateSnapshot(),f=Ee(),Mt(f,d.measurePageBox())),ng(a,d.latestValues,(l=d.snapshot)==null?void 0:l.layoutBox,f)}return kr(this.latestValues)&&ng(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Le.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ee(),this.targetWithTransforms=Ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tA(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Mt(this.target,this.layout.layoutBox),e1(this.target,this.targetDelta)):Mt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Cd(this.parent.latestValues)||Jw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),ml(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Mt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Le.timestamp&&(l=!1),l)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Mt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;RR(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Ee());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Qm(this.prevProjectionDelta.x,this.projectionDelta.x),Qm(this.prevProjectionDelta.y,this.projectionDelta.y)),Os(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!ag(this.projectionDelta.x,this.prevProjectionDelta.x)||!ag(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xi(),this.projectionDelta=xi(),this.projectionDeltaWithTransform=xi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},d={...this.latestValues},f=xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Ee(),p=l?l.source:void 0,x=this.layout?this.layout.source:void 0,y=p!==x,w=this.getStack(),g=!w||w.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(AA));this.animationProgress=0;let v;this.mixTargetDelta=S=>{const C=S/1e3;pg(f.x,o.x,C),pg(f.y,o.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ml(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),RA(this.relativeTarget,this.relativeTargetOrigin,h,C),v&&sA(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ee()),Mt(v,this.relativeTarget)),y&&(this.animationValues=d,lA(d,u,this.latestValues,C,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(hr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Pa.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=qi(0)),this.motionValue.jump(0,!1),this.currentAnimation=dA(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(gA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:d}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&v1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ee();const f=Qe(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=Qe(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}Mt(a,l),ja(a,d),Os(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new mA),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Wc("z",o,u,this.animationValues);for(let d=0;d<Uc.length;d++)Wc(`rotate${Uc[d]}`,o,u,this.animationValues),Wc(`skew${Uc[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Na(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Na(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!kr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=oA(this.projectionDeltaWithTransform,this.treeScale,d);l&&(f=l(d,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in Ed){if(d[x]===void 0)continue;const{correct:y,applyTo:w,isCSSVariable:g}=Ed[x],m=f==="none"?d[x]:y(d[x],u);if(w){const v=w.length;for(let S=0;S<v;S++)o[w[S]]=m}else g?this.options.visualElement.renderState.vars[x]=m:o[x]=m}this.options.layoutId&&(o.pointerEvents=u===this?Na(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(dg),this.root.sharedNodes.clear()}}}function vA(e){e.updateLayout()}function xA(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;if(s==="size")Yt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Qe(h);h.min=r[f].min,h.max=h.min+p});else if(s==="x"||s==="y"){const f=s==="x"?"y":"x";Td(o?t.measuredBox[f]:t.layoutBox[f],r[f])}else v1(s,t.layoutBox,r)&&Yt(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=Qe(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=xi();Os(a,r,t.layoutBox);const l=xi();o?Os(l,e.applyTransform(i,!0),t.measuredBox):Os(l,r,t.layoutBox);const u=!f1(a);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const x=e.options.layoutAnchor||void 0,y=Ee();ml(y,t.layoutBox,h.layoutBox,x);const w=Ee();ml(w,r,p.layoutBox,x),h1(y,w)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function wA(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function bA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function SA(e){e.clearSnapshot()}function dg(e){e.clearMeasurements()}function CA(e){e.isLayoutDirty=!0,e.updateLayout()}function fg(e){e.isLayoutDirty=!1}function kA(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function EA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function hg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function TA(e){e.resolveTargetDelta()}function jA(e){e.calcProjection()}function NA(e){e.resetSkewAndRotation()}function PA(e){e.removeLeadSnapshot()}function pg(e,t,n){e.translate=ce(t.translate,0,n),e.scale=ce(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mg(e,t,n,r){e.min=ce(t.min,n.min,r),e.max=ce(t.max,n.max,r)}function RA(e,t,n,r){mg(e.x,t.x,n.x,r),mg(e.y,t.y,n.y,r)}function AA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const MA={duration:.45,ease:[.4,0,.1,1]},gg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),yg=gg("applewebkit/")&&!gg("chrome/")?Math.round:kt;function vg(e){e.min=yg(e.min),e.max=yg(e.max)}function LA(e){vg(e.x),vg(e.y)}function v1(e,t,n){return e==="position"||e==="preserve-aspect"&&!eA(og(t),og(n),.2)}function DA(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const IA=y1({attachResizeListener:(e,t)=>uo(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Hc={current:void 0},x1=y1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Hc.current){const e=new IA({});e.mount(window),e.setOptions({layoutScroll:!0}),Hc.current=e}return Hc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),mh=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function xg(e,t){if(typeof e=="function")return e(t);
vendor: 7,908 bytes, lines 258-266
258e!=null&&(e.current=t)}function OA(...e){return t=>{let n=!1;const r=e.map(i=>{const s=xg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():xg(e[i],null)}}}}function VA(...e){return b.useCallback(OA(...e),e)}class _A extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Ca(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Ca(r)&&r.offsetWidth||0,s=Ca(r)&&r.offsetHeight||0,o=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left,a.bottom=s-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function FA({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var h;const o=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(mh),d=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),f=VA(a,d);return b.useInsertionEffect(()=>{const{width:p,height:x,top:y,left:w,right:g,bottom:m}=l.current;if(t||s===!1||!a.current||!p||!x)return;const v=n==="left"?`left: ${w}`:`right: ${g}`,S=r==="bottom"?`bottom: ${m}`:`top: ${y}`;a.current.dataset.motionPopId=o;const C=document.createElement("style");u&&(C.nonce=u);const k=i??document.head;return k.appendChild(C),C.sheet&&C.sheet.insertRule(`
259          [data-motion-pop-id="${o}"] {
260            position: absolute !important;
261            width: ${p}px !important;
262            height: ${x}px !important;
263            ${v}px !important;
264            ${S}px !important;
265          }
266        `),()=>{var E;(E=a.current)==null||E.removeAttribute("data-motion-pop-id"),k.contains(C)&&k.removeChild(C)}},[t]),c.jsx(_A,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:b.cloneElement(e,{ref:f})})}const zA=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const d=Hf(BA),f=b.useId();let h=!0,p=b.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:x=>{d.set(x,!0);for(const y of d.values())if(!y)return;r&&r()},register:x=>(d.set(x,!1),()=>d.delete(x))}),[n,d,r]);return s&&h&&(p={...p}),b.useMemo(()=>{d.forEach((x,y)=>d.set(y,!1))},[n]),b.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=c.jsx(FA,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),c.jsx(Wl.Provider,{value:p,children:e})};function BA(){return new Map}function w1(e=!0){const t=b.useContext(Wl);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{if(e)return i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const ia=e=>e.key||"";function wg(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const $A=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[d,f]=w1(o),h=b.useMemo(()=>wg(e),[e]),p=o&&!d?[]:h.map(ia),x=b.useRef(!0),y=b.useRef(h),w=Hf(()=>new Map),g=b.useRef(new Set),[m,v]=b.useState(h),[S,C]=b.useState(h);q0(()=>{x.current=!1,y.current=h;for(let T=0;T<S.length;T++){const A=ia(S[T]);p.includes(A)?(w.delete(A),g.current.delete(A)):w.get(A)!==!0&&w.set(A,!1)}},[S,p.length,p.join("-")]);const k=[];if(h!==m){let T=[...h];for(let A=0;A<S.length;A++){const N=S[A],V=ia(N);p.includes(V)||(T.splice(A,0,N),k.push(N))}return s==="wait"&&k.length&&(T=k),C(wg(T)),v(h),null}const{forceRender:E}=b.useContext(Wf);return c.jsx(c.Fragment,{children:S.map(T=>{const A=ia(T),N=o&&!d?!1:h===S||p.includes(A),V=()=>{if(g.current.has(A))return;if(w.has(A))g.current.add(A),w.set(A,!0);else return;let I=!0;w.forEach(U=>{U||(I=!1)}),I&&(E==null||E(),C(y.current),o&&(f==null||f()),r&&r())};return c.jsx(zA,{isPresent:N,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:N?void 0:V,anchorX:a,anchorY:l,children:T},A)})})},b1=b.createContext({strict:!1}),bg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Sg=!1;function UA(){if(Sg)return;const e={};for(const t in bg)e[t]={isEnabled:n=>bg[t].some(r=>!!n[r])};Qw(e),Sg=!0}function S1(){return UA(),TR()}function WA(e){const t=S1();for(const n in e)t[n]={...t[n],...e[n]};Qw(t)}const HA=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function gl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||HA.has(e)}let C1=e=>!gl(e);function KA(e){typeof e=="function"&&(C1=t=>t.startsWith("on")?!gl(t):e(t))}try{KA(require("@emotion/is-prop-valid").default)}catch{}function qA(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||De(e[i])||(C1(i)||n===!0&&gl(i)||!t&&!gl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Yl=b.createContext({});function GA(e,t){if(Gl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||co(n)?n:void 0,animate:co(r)?r:void 0}}return e.inherit!==!1?t:{}}function YA(e){const{initial:t,animate:n}=GA(e,b.useContext(Yl));return b.useMemo(()=>({initial:t,animate:n}),[Cg(t),Cg(n)])}function Cg(e){return Array.isArray(e)?e.join(" "):e}const gh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function k1(e,t,n){for(const r in t)!De(t[r])&&!r1(r,n)&&(e[r]=t[r])}function QA({transformTemplate:e},t){return b.useMemo(()=>{const n=gh();return hh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function XA(e,t){const n=e.style||{},r={};return k1(r,n,e),Object.assign(r,QA(e,t)),r}function ZA(e,t){const n={},r=XA(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const E1=()=>({...gh(),attrs:{}});function JA(e,t,n,r){const i=b.useMemo(()=>{const s=E1();return i1(s,t,o1(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};k1(s,e.style,e),i.style={...s,...i.style}}return i}const eM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function yh(e){return typeof e!="string"||e.includes("-")?!1:!!(eM.indexOf(e)>-1||/[A-Z]/u.test(e))}function tM(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??yh(e)?JA:ZA)(t,r,i,e),u=qA(t,typeof e=="string",s),d=e!==b.Fragment?{...u,...l,ref:n}:{},{children:f}=t,h=b.useMemo(()=>De(f)?f.get():f,[f]);return b.createElement(e,{...d,children:h})}function nM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:rM(n,r,i,e),renderState:t()}}function rM(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=Na(s[h]);let{initial:o,animate:a}=e;const l=Gl(e),u=Gw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const f=d?a:o;
vendor: 22,253 bytes, line 266
266if(f&&typeof f!="boolean"&&!ql(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const x=sh(e,h[p]);if(x){const{transitionEnd:y,transition:w,...g}=x;for(const m in g){let v=g[m];if(Array.isArray(v)){const S=d?v.length-1:0;v=v[S]}v!==null&&(i[m]=v)}for(const m in y)i[m]=y[m]}}}return i}const T1=e=>(t,n)=>{const r=b.useContext(Yl),i=b.useContext(Wl),s=()=>nM(e,t,r,i);return n?s():Hf(s)},iM=T1({scrapeMotionValuesFromProps:ph,createRenderState:gh}),sM=T1({scrapeMotionValuesFromProps:a1,createRenderState:E1}),oM=Symbol.for("motionComponentSymbol");function aM(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const i=b.useRef(null);return b.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s));const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s);t&&(s?t.mount(s):t.unmount())},[t])}const j1=b.createContext({});function ii(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lM(e,t,n,r,i,s){var v,S;const{visualElement:o}=b.useContext(Yl),a=b.useContext(b1),l=b.useContext(Wl),u=b.useContext(mh),d=u.reducedMotion,f=u.skipAnimations,h=b.useRef(null),p=b.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:s}),p.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const x=h.current,y=b.useContext(j1);x&&!x.projection&&i&&(x.type==="html"||x.type==="svg")&&cM(h.current,n,i,y);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,l)});const g=n[Iw],m=b.useRef(!!g&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,g))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,g)));return q0(()=>{p.current=!0,x&&(w.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),m.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!m.current&&x.animationState&&x.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,g)}),m.current=!1),x.enteringChildren=void 0)}),x}function cM(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:N1(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&ii(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}function N1(e){if(e)return e.options.allowProjection!==!1?e.projection:N1(e.parent)}function Kc(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&WA(r);const s=n?n==="svg":yh(e),o=s?sM:iM;function a(u,d){let f;const h={...b.useContext(mh),...u,layoutId:uM(u)},{isStatic:p}=h,x=YA(u),y=o(u,p);if(!p&&typeof window<"u"){dM();const w=fM(h);f=w.MeasureLayout,x.visualElement=lM(e,y,h,i,w.ProjectionNode,s)}return c.jsxs(Yl.Provider,{value:x,children:[f&&x.visualElement?c.jsx(f,{visualElement:x.visualElement,...h}):null,tM(e,u,aM(y,x.visualElement,d),y,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[oM]=e,l}function uM({layoutId:e}){const t=b.useContext(Wf).id;return t&&e!==void 0?t+"-"+e:e}function dM(e,t){b.useContext(b1).strict}function fM(e){const t=S1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function hM(e,t){if(typeof Proxy>"u")return Kc;const n=new Map,r=(s,o)=>Kc(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Kc(o,void 0,e,t)),n.get(o))})}const pM=(e,t)=>t.isSVG??yh(e)?new UR(t):new VR(t,{allowProjection:e!==b.Fragment});class mM extends yr{constructor(t){super(t),t.animationState||(t.animationState=GR(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ql(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let gM=0;class yM extends yr{constructor(){super(...arguments),this.id=gM++,this.isExitComplete=!1}update(){var s;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o=="string"){const l=Fr(this.node,o,a);if(l){const{transition:u,transitionEnd:d,...f}=l;for(const h in f)(s=this.node.getValue(h))==null||s.jump(f[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const vM={animation:{Feature:mM},exit:{Feature:yM}};function No(e){return{point:{x:e.pageX,y:e.pageY}}}const xM=e=>t=>ch(t)&&e(t,No(t));function Vs(e,t,n,r){return uo(e,t,xM(n),r)}const P1=({current:e})=>e?e.ownerDocument.defaultView:null,kg=(e,t)=>Math.abs(e-t);function wM(e,t){const n=kg(e.x,t.x),r=kg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Eg=new Set(["auto","scroll"]);class R1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=sa(this.lastRawMoveEventInfo,this.transformPagePoint));const p=qc(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=wM(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!y)return;const{point:w}=p,{timestamp:g}=Le;this.history.push({...w,timestamp:g});const{onStart:m,onMove:v}=this.handlers;x||(m&&m(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=x,this.lastMoveEventInfo=sa(x,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{this.end();const{onEnd:y,onSessionEnd:w,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=qc(p.type==="pointercancel"?this.lastMoveEventInfo:sa(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(p,m),w&&w(p,m)},!ch(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=No(t),u=sa(l,this.transformPagePoint),{point:d}=u,{timestamp:f}=Le;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,qc(u,this.history)),this.removeListeners=Eo(Vs(this.contextWindow,"pointermove",this.handlePointerMove),Vs(this.contextWindow,"pointerup",this.handlePointerUp),Vs(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Eg.has(r.overflowX)||Eg.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),hr(this.updatePoint)}}function sa(e,t){return t?{point:t(e.point)}:e}function Tg(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qc({point:e},t){return{point:e,delta:Tg(e,A1(t)),offset:Tg(e,bM(t)),velocity:SM(t,.1)}}function bM(e){return e[0]}function A1(e){return e[e.length-1]}function SM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=A1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ot(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>ot(t)*2&&(r=e[1]);const s=St(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function CM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ce(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ce(n,e,r.max):Math.min(e,n)),e}function jg(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function kM(e,{top:t,left:n,bottom:r,right:i}){return{x:jg(e.x,n,i),y:jg(e.y,t,r)}}function Ng(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function EM(e,t){return{x:Ng(e.x,t.x),y:Ng(e.y,t.y)}}function TM(e,t){let n=.5;const r=Qe(e),i=Qe(t);return i>r?n=ao(t.min,t.max-r,e.min):r>i&&(n=ao(e.min,e.max-i,t.min)),on(0,1,n)}function jM(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const jd=.35;function NM(e=jd){return e===!1?e=0:e===!0&&(e=jd),{x:Pg(e,"left","right"),y:Pg(e,"top","bottom")}}function Pg(e,t,n){return{min:Rg(e,t),max:Rg(e,n)}}function Rg(e,t){return typeof e=="number"?e:e[t]||0}const PM=new WeakMap;class RM{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n&&this.snapToCursor(No(f).point),this.stopAnimation()},o=(f,h)=>{const{drag:p,dragPropagation:x,onDragStart:y}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=nR(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(rn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const S=v.layout.layoutBox[g];S&&(m=Qe(S)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&se.update(()=>y(f,h),!1,!0),vd(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:y,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(x&&this.currentDirection===null){this.currentDirection=MM(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),w&&se.update(()=>w(f,h),!1,!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new R1(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:P1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&se.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!oa(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=CM(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&ii(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=kM(r.layoutBox,t):this.constraints=!1,this.elastic=NM(n),i!==this.constraints&&!ii(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Yt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=jM(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ii(t))return!1;const r=t.current;Hi(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=AR(r,i.root,this.visualElement.getTransformPagePoint());let o=EM(i.layout.layoutBox,s);if(n){const a=n(NR(o));this.hasMutatedConstraints=!!a,a&&(o=Zw(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Yt(d=>{if(!oa(d,n,this.currentDirection))return;let f=l&&l[d]||{};(o===!0||o===d)&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return vd(this.visualElement,t),r.start(ih(t,r,0,n,this.visualElement,!1))}stopAnimation(){Yt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Yt(n=>{const{drag:r}=this.getProps();if(!oa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-ce(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ii(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Yt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=TM({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Yt(o=>{if(!oa(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(ce(l,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;PM.set(this.visualElement,this);const t=this.visualElement.current,n=Vs(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,p=h!==t&&lR(h);d&&f&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();ii(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=AM(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),se.read(i);const a=uo(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Yt(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=jd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function Ag(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function AM(e,t,n){const r=_m(e,Ag(n)),i=_m(t,Ag(n));return()=>{r(),i()}}function oa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function MM(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class LM extends yr{constructor(t){super(t),this.removeGroupControls=kt,this.removeListeners=kt,this.controls=new RM(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||kt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Gc=e=>(t,n)=>{e&&se.update(()=>e(t,n),!1,!0)};class DM extends yr{constructor(){super(...arguments),this.removePointerDownListener=kt}onPointerDown(t){this.session=new R1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:P1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Gc(t),onStart:Gc(n),onMove:Gc(r),onEnd:(s,o)=>{delete this.session,i&&se.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Vs(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Yc=!1;class IM extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Yc&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Pa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Yc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||se.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),lh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Yc=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function M1(e){const[t,n]=w1(),r=b.useContext(Wf);return c.jsx(IM,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(j1),isPresent:t,safeToRemove:n})}const OM={pan:{Feature:DM},drag:{Feature:LM,ProjectionNode:x1,MeasureLayout:M1}};function Mg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&se.postRender(()=>s(t,No(t)))}class VM extends yr{mount(){const{current:t}=this.node;t&&(this.unmount=iR(t,(n,r)=>(Mg(this.node,r,"Start"),i=>Mg(this.node,i,"End"))))}unmount(){}}class _M extends yr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Eo(uo(this.node.current,"focus",()=>this.onFocus()),uo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lg(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&se.postRender(()=>s(t,No(t)))}class FM extends yr{mount(){const{current:t}=this.node;if(!t)return;
266const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=uR(t,(i,s)=>(Lg(this.node,s,"Start"),(o,{success:a})=>Lg(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Nd=new WeakMap,Qc=new WeakMap,zM=e=>{const t=Nd.get(e.target);t&&t(e)},BM=e=>{e.forEach(zM)};function $M({root:e,...t}){const n=e||document;Qc.has(n)||Qc.set(n,{});const r=Qc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(BM,{root:e,...t})),r[i]}function UM(e,t,n){const r=$M(t);return Nd.set(e,n),r.observe(e),()=>{Nd.delete(e),r.unobserve(e)}}const WM={some:0,all:1};class HM extends yr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:WM[i]},a=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),p=d?f:h;p&&p(u)};this.stopObserver=UM(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(KM(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function KM({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const qM={inView:{Feature:HM},tap:{Feature:FM},focus:{Feature:_M},hover:{Feature:VM}},GM={layout:{ProjectionNode:x1,MeasureLayout:M1}},YM={...vM,...qM,...OM,...GM},Y=hM(YM,pM),QM="/assets/hero-care-BvrJI9sr.jpg",XM=()=>c.jsxs("section",{className:"relative min-h-[100svh] flex items-center overflow-hidden bg-titi-navy",children:[c.jsxs("div",{className:"absolute inset-0",children:[c.jsx("img",{src:QM,alt:"Persona cuidadora en un momento íntimo al amanecer",className:"w-full h-full object-cover animate-slow-zoom"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-titi-navy/55 via-titi-navy/70 to-titi-navy/95"})]}),c.jsx("div",{className:"container relative z-10 pt-28 pb-20",children:c.jsxs("div",{className:"max-w-4xl",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"inline-flex items-center gap-2 px-4 py-2 rounded-full glass text-white/90 text-[11px] font-semibold uppercase tracking-[0.18em] mb-7",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-titi-yellow"}),"La Ruta del Cuidado · by TITI · El cuidado es humano"]}),c.jsxs(Y.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white font-display font-black text-balance leading-[1.02] text-[clamp(2.5rem,6.5vw,5rem)]",children:["El cuidado"," ",c.jsx("span",{className:"text-gradient-warm",children:"comienza en silencio."})]}),c.jsxs(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"mt-6 max-w-2xl text-base md:text-lg text-white/75 leading-relaxed",children:["Algo está cambiando en tu casa. Hay responsabilidades que asumiste sin decidirlo y un cansancio que nadie ve. ",c.jsx("span",{className:"text-white font-medium",children:"No tienes que hacerlo solo."})]}),c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"mt-9 flex flex-col sm:flex-row gap-3",children:[c.jsxs($e,{to:"/productos#empieza",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-titi-pink hover:bg-titi-pink/90 text-white text-sm font-semibold rounded-full shadow-pink transition-smooth hover:-translate-y-0.5",children:["Conoce la ruta del cuidado",c.jsx(Pe,{className:"h-4 w-4"})]}),c.jsxs("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex flex-col items-center justify-center px-6 py-2.5 rounded-full bg-white/10 hover:bg-white/15 border border-white/20 text-white text-sm font-semibold transition-smooth hover:-translate-y-0.5",children:[c.jsxs("span",{className:"inline-flex items-center gap-2",children:["Únete a la comunidad TITI ",c.jsx(Pe,{className:"h-4 w-4"})]}),c.jsx("span",{className:"text-[10px] font-normal text-white/60 mt-0.5",children:"Es gratis y toma 2 minutos"})]})]})]})})]}),Dg=[{key:"reconocer",number:"01",title:"Reconocer",badge:"El despertar",scene:"Duermo con un oído despierto. Nadie me dijo que esto era cuidar.",promise:"Ponle nombre a lo que vives. Aquí empieza tu ruta.",hex:"hsl(345 84% 65%)",bgTint:"hsl(345 84% 65% / 0.06)",product:{title:"Diagnóstico guiado para cuidadores",price:"$7",url:"https://go.hotmart.com/C103693976T",bullets:["Entiende qué te está pasando","Ponle nombre a tu situación","Primer paso claro en 15 minutos"]},group:{title:"Acabo de darme cuenta de que soy cuidador",url:"https://titi.social/groups/?acabo-de-darme-cuenta-de-que-soy-cuidador/",locked:!0}},{key:"ordenar",number:"02",title:"Ordenar",badge:"El sistema",scene:"Medicamentos, citas, turnos, papeles. Todo está en mi cabeza y ya no cabe.",promise:"Deja de improvisar. Construye tu sistema mínimo en 7 días.",hex:"hsl(44 99% 53%)",bgTint:"hsl(44 99% 53% / 0.08)",product:{title:"Sistema mínimo + Plan 7 días",price:"$8",url:"https://go.hotmart.com/E103694929A",bullets:["Plantillas listas para usar","Turnos, medicación y trámites","Baja el desgaste real esta semana"]},group:{title:"Mi cabeza es un caos, necesito ordenarme",url:"https://titi.social/groups/?mi-cabeza-es-un-caos-necesito-ordenarme/"}},{key:"transformar",number:"03",title:"Transformar",badge:"La conversación",scene:"Ya lo intenté todo y sigo agotado/a. No puedo seguir hacié
266ndolo solo/a.",promise:"Aprende a cuidar sin desaparecer. Con acompañamiento real.",hex:"hsl(22 92% 56%)",bgTint:"hsl(22 92% 56% / 0.07)",product:{title:"Curso: No Desaparecer Mientras Cuido",price:"$20",url:"https://go.hotmart.com/D103681872L",bullets:["Método paso a paso probado","Cohorte con pares que viven lo mismo","Cambia la dinámica, no solo las tareas"]},group:{title:"No puedo seguir haciéndolo solo/a",url:"https://titi.social/groups/?no-puedo-seguir-haciendolo-solo-a/"}},{key:"sostener",number:"04",title:"Sostener",badge:"La red",scene:"Ya no improviso, pero necesito no perderme yo en el proceso.",promise:"Sostén el cuidado a largo plazo sin desaparecer tú.",hex:"hsl(187 47% 44%)",bgTint:"hsl(187 47% 44% / 0.07)",product:{title:"Playlist para cuidadores",price:"$10",url:"https://go.hotmart.com/E103693548F",bullets:["Espacio emocional curado","Música que sostiene en lo difícil","Acceso permanente + comunidad"]},group:{title:"Encontré mi red y me sostiene",url:"https://titi.social/groups/?encontre-mi-red-y-me-sostiene/"}},{key:"articular",number:"05",title:"Articular",badge:"El ecosistema",scene:"Necesito profesionales, servicios, respuestas rápidas en momentos críticos.",promise:"Ten los recursos listos antes de que llegue la emergencia.",hex:"hsl(230 42% 32%)",bgTint:"hsl(230 42% 32% / 0.06)",product:{title:"Guía de emergencia para cuidadores",price:"$4",url:"https://go.hotmart.com/E103694651N",bullets:["Contactos y protocolos listos","Qué hacer cuando no puedes más","Descarga y ten a la mano hoy"]},group:{title:"Conecté con profesionales y cambió todo",url:"https://titi.social/groups/?conecte-con-profesionales-y-cambio-todo/"}}],ZM=()=>{const[e,t]=b.useState(0),n=Dg[e];return c.jsx("section",{id:"ruta",className:"relative py-20 md:py-24 bg-titi-bg",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-10 md:mb-12",children:[c.jsx("p",{className:"text-titi-pink font-semibold mb-3 uppercase tracking-[0.2em] text-[11px]",children:"La Ruta del Cuidado · Producto + Comunidad"}),c.jsxs("h2",{className:"text-titi-navy text-balance",children:["Empieza desde ",c.jsx("span",{className:"text-titi-pink",children:"donde estás."})," No estás solo/a."]}),c.jsx("p",{className:"mt-4 text-base md:text-lg text-titi-navy/65 max-w-2xl",children:"Cinco estados reales del cuidado. En cada uno: una herramienta concreta para actuar hoy y una comunidad de pares que ya lo está viviendo."})]}),c.jsx("div",{className:"mb-8 -mx-4 px-4 overflow-x-auto scrollbar-hide",children:c.jsx("div",{className:"flex gap-3 min-w-max md:grid md:grid-cols-5 md:min-w-0",children:Dg.map((r,i)=>{const s=i===e;return c.jsxs("button",{onClick:()=>t(i),className:Se("group relative flex-1 text-left p-4 rounded-2xl bg-white border transition-all duration-300 overflow-hidden",s?"shadow-medium -translate-y-1":"border-border/50 hover:-translate-y-0.5 hover:shadow-soft"),style:{borderColor:s?r.hex:void 0,borderWidth:s?2:1,backgroundColor:s?r.bgTint:void 0,boxShadow:s?`0 10px 30px -14px ${r.hex}`:void 0},children:[c.jsx("span",{className:"absolute top-0 left-0 right-0 h-1.5 transition-opacity",style:{backgroundColor:r.hex}}),c.jsxs("div",{className:"flex items-center gap-2.5 mb-2",children:[c.jsx("span",{className:Se("w-9 h-9 rounded-full flex items-center justify-center font-display font-bold text-sm transition-all text-white",s&&"ring-2 ring-white/70"),style:{backgroundColor:r.hex,boxShadow:s?"0 6px 16px -6px rgba(0,0,0,0.35)":`0 6px 16px -6px ${r.hex}`},children:r.number}),c.jsx("h3",{className:"font-display font-bold text-base text-titi-navy transition-colors",children:r.title})]}),c.jsx("p",{className:"text-[10px] uppercase tracking-[0.18em] font-semibold text-titi-navy/60 transition-colors",children:r.badge}),c.jsx(Pe,{className:Se("absolute bottom-3 right-3 h-3.5 w-3.5 transition-all",s?"translate-x-0 opacity-100":"-translate-x-1 opacity-0 group-hover:translate-x-0 group-hover:opacity-100"),style:{color:r.hex}})]},r.key)})})}),c.jsx($A,{mode:"wait",children:c.jsxs(Y.div,{initial:{opacity:0,y:16}
266,animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.35},className:"grid lg:grid-cols-5 gap-5",children:[c.jsx("div",{className:"lg:col-span-2 rounded-2xl p-6 md:p-8 border border-border/50 flex flex-col justify-between",style:{backgroundColor:n.bgTint},children:c.jsxs("div",{children:[c.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full text-white text-[10px] font-semibold uppercase tracking-[0.18em] mb-5",style:{backgroundColor:n.hex},children:["Estado ",n.number," · ",n.badge]}),c.jsxs("p",{className:"font-display font-bold text-xl md:text-2xl text-titi-navy leading-snug text-balance mb-5",children:['"',n.scene,'"']}),c.jsx("p",{className:"text-titi-navy/70 text-sm md:text-base leading-relaxed",children:n.promise})]})}),c.jsxs("div",{className:"lg:col-span-2 rounded-2xl bg-white p-6 md:p-8 border-2 shadow-medium flex flex-col",style:{borderColor:n.hex},children:[c.jsx("div",{className:"flex items-center gap-2 mb-4",children:c.jsx("span",{className:"text-[10px] uppercase tracking-[0.2em] font-bold",style:{color:n.hex},children:"Herramienta · Actúa hoy"})}),c.jsx("h4",{className:"font-display font-bold text-lg md:text-xl text-titi-navy leading-snug mb-4",children:n.product.title}),c.jsx("ul",{className:"space-y-2.5 mb-6 flex-1",children:n.product.bullets.map(r=>c.jsxs("li",{className:"flex items-start gap-2.5 text-sm text-titi-navy/75",children:[c.jsx("span",{className:"flex-shrink-0 w-5 h-5 rounded-full flex items-center justify-center mt-0.5",style:{backgroundColor:`${n.hex}22`,color:n.hex},children:c.jsx(Bx,{className:"h-3 w-3",strokeWidth:3})}),c.jsx("span",{children:r})]},r))}),c.jsxs("div",{className:"flex items-end justify-between pt-5 border-t border-border/60",children:[c.jsxs("div",{children:[c.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-semibold mb-0.5",children:"Precio único"}),c.jsx("p",{className:"font-display font-bold text-3xl",style:{color:n.hex},children:n.product.price})]}),c.jsxs("a",{href:n.product.url,target:"_blank",rel:"noopener noreferrer",className:"group inline-flex items-center gap-2 px-5 py-3 bg-titi-pink hover:bg-titi-pink/90 text-white text-sm font-bold rounded-full shadow-pink transition-smooth hover:-translate-y-0.5",children:["Quiero empezar",c.jsx(Pe,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]})]})]}),c.jsxs("div",{className:"lg:col-span-1 rounded-2xl bg-white p-6 border border-border/70 flex flex-col",children:[c.jsx("div",{className:"w-11 h-11 rounded-2xl bg-titi-teal/10 text-titi-teal flex items-center justify-center mb-4",children:c.jsx(So,{className:"h-5 w-5"})}),c.jsxs("p",{className:"text-[10px] uppercase tracking-[0.18em] font-bold text-titi-teal mb-2 flex items-center gap-1.5",children:["Comunidad",n.group.locked&&c.jsx(bo,{className:"h-3 w-3"})]}),c.jsx("h5",{className:"font-display font-bold text-titi-navy text-base leading-snug mb-3 flex-1",children:n.group.title}),c.jsx("p",{className:"text-foreground/60 text-xs leading-relaxed mb-5",children:"Pares que viven exactamente este estado. Entra al grupo y no lo hagas solo/a."}),c.jsxs("a",{href:n.group.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-titi-teal hover:text-titi-teal/80 font-semibold text-sm group",children:["Entrar al grupo",c.jsx(Pe,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]})]})]},n.key)}),c.jsxs("div",{className:"mt-10 flex flex-col md:flex-row items-center justify-between gap-4 rounded-2xl bg-white border border-border/60 px-6 py-5 shadow-soft",children:[c.jsxs("p",{className:"text-sm md:text-base text-titi-navy/75 text-center md:text-left",children:[c.jsx("span",{className:"font-semibold text-titi-navy",children:"¿No sabes por dónde empezar?"})," ","El diagnóstico de $7 te lleva al estado correcto."]}),c.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[c.jsxs("a",{href:"https://go.hotmart.com/C103693976T",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 bg-titi-navy hover:bg-titi-navy/90 text-white text-sm font-semibold rounded-full transition-smooth hover:-translate-y-0.5",children:["Hacer diagnóstico · $7 ",c.jsx(Pe,{className:"h-4 w-4"})]}),c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 border border-titi-teal text-titi-teal hover:bg-titi-teal hover:text-white text-sm font-semibold rounded-full transition-smooth",children:"Unirme a la comunidad gratis"})]})]})]})})},JM=[{title:"Cuido a alguien de mi familia",copy:"Hijo/a, pareja, hermano/a, nieto/a que cuida. No estás solo/a.",cta:"Encuentra tu tribu",url:"https://titi.social/groups/?cuido-a-alguien-de-mi-familia/",locked:!0},{title:"Mi salud mental mientras cuido",copy:"Ansiedad, culpa, agotamiento. Tu salud mental importa tanto como la de quien cuidas.",cta:"Entra al grupo",url:"https://titi.social/groups/?mi-salud-mental-mientras-cuido/",locked:!0},{title:"Cuidadores de toda LATAM",copy:"La red continental. Siempre hay alguien que vivió lo mismo que tú.",cta:"Conecta con pares",url:"https://titi.social/groups/?cuidadores-de-toda-latam/"}],e5=()=>c.jsx("section",{id:"conexion",className:"py-20 md:py-24 bg-background-alt",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-12",children:[c.jsx("p",{className:"text-titi-pink font-semibold mb-3 uppercase tracking-[0.2em] text-[11px]",children:"Antes que cualquier sistema"}),c.jsxs("h2",{className:"text-balance",children:["No estás solo/a."," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"Hay una comunidad esperándote."})]}),c.jsx("p",{className:"mt-4 text-base md:text-lg text-titi-navy/65 max-w-2xl",children:"Elige por dónde entrar y conecta con personas que viven exactamente lo mismo que tú."})]}),c.jsx("div",{className:"grid md:grid-cols-3 gap-5",children:JM.map((e,t)=>c.jsxs(Y.a,{href:e.url,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},className:"group flex flex-col bg-white rounded-2xl p-6 md:p-7 border border-border/70 hover:border-titi-teal/40 hover:shadow-medium hover:-translate-y-1 transition-all",children:[e.locked&&c.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-widest text-titi-teal font-semibold mb-3",children:[c.jsx(bo,{className:"h-3 w-3"})," Cerrado"]}),c.jsx("h3",{className:"font-display font-bold text-lg md:text-xl text-titi-navy leading-snug mb-3",children:e.title}
266),c.jsx("p",{className:"text-foreground/65 text-sm md:text-base leading-relaxed flex-1 mb-5",children:e.copy}),c.jsxs("span",{className:"inline-flex items-center gap-1.5 text-titi-pink font-semibold text-sm group-hover:gap-2.5 transition-all",children:[e.cta," ",c.jsx(Pe,{className:"h-4 w-4"})]})]},e.title))})]})}),t5="/assets/community-hands-CI-Oqwma.jpg",n5=()=>c.jsxs("section",{className:"relative py-24 md:py-36 overflow-hidden bg-primary text-primary-foreground",children:[c.jsxs("div",{className:"absolute inset-0",children:[c.jsx("img",{src:t5,alt:"",className:"w-full h-full object-cover opacity-25"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary-deep via-primary/85 to-primary/70"})]}),c.jsx("div",{className:"container relative z-10",children:c.jsx("div",{className:"max-w-3xl mx-auto text-center",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"space-y-8",children:[c.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full glass text-sm",children:[c.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),"Lo que cambia con TITI"]}),c.jsxs("h2",{className:"text-white text-balance",children:["El cuidado no es individual."," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"Es red."})]}),c.jsxs("div",{className:"space-y-5 text-lg md:text-xl text-white/80 max-w-2xl mx-auto",children:[c.jsx("p",{children:"Familias. Cuidadores. Profesionales. Salud. Gobierno. Comunidad."}),c.jsx("p",{className:"text-white font-medium",children:"Cuando se articulan, el desgaste disminuye."}),c.jsxs("p",{children:["TITI no se posiciona como dueño del conocimiento del cuidado. Se posiciona como ",c.jsx("em",{className:"text-accent not-italic font-medium",children:"articulador del ecosistema"}),"."]})]})]})})})]}),r5={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4",5:"sm:grid-cols-2 lg:grid-cols-5",6:"sm:grid-cols-2 lg:grid-cols-3"},Ig=({eyebrow:e,heading:t,cards:n,cols:r=3,bgClass:i="",footerCta:s})=>c.jsxs("div",{className:`${i}`,children:[(e||t)&&c.jsxs("div",{className:"max-w-3xl mb-8",children:[e&&c.jsx("p",{className:"text-titi-pink font-semibold uppercase tracking-[0.2em] text-[11px] mb-3",children:e}),t&&c.jsx("h3",{className:"font-display font-bold text-2xl md:text-3xl text-titi-navy text-balance",children:t})]}),c.jsx("div",{className:`grid ${r5[r]} gap-4`,children:n.map((o,a)=>c.jsxs(Y.a,{href:o.url,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:a*.05},className:"group flex flex-col bg-white rounded-2xl p-5 md:p-6 border border-border/70 hover:border-titi-teal/40 hover:shadow-medium hover:-translate-y-1 transition-all",children:[c.jsxs("div",{className:"flex items-start gap-2 mb-2",children:[o.locked&&c.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-widest text-titi-teal font-semibold",children:[c.jsx(bo,{className:"h-3 w-3"})," Cerrado"]}),o.variant==="product"&&c.jsx("span",{className:"inline-flex items-center gap-1 text-[10px] uppercase tracking-widest text-titi-pink font-semibold",children:"Producto"})]}),c.jsx("h4",{className:"font-display font-bold text-base md:text-lg text-titi-navy leading-snug mb-2",children:o.title}),c.jsx("p",{className:"text-foreground/65 text-sm leading-relaxed flex-1 mb-4",children:o.copy}),c.jsxs("span",{className:"inline-flex items-center gap-1.5 text-titi-pink font-semibold text-sm group-hover:gap-2.5 transition-all",children:[o.cta," ",c.jsx(Pe,{className:"h-4 w-4"})]})]},o.title+a))}),s&&c.jsx("div",{className:"mt-8 text-center",children:c.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-titi-pink hover:bg-titi-pink/90 text-white text-sm font-semibold rounded-full shadow-pink transition-smooth hover:-translate-y-0.5",children:[s.label," ",c.jsx(Pe,{className:"h-4 w-4"})]})})]}),i5=[{title:"Alzheimer o demencia",copy:"Comunidad de cuidadores que acompañan a personas con Alzheimer u otras demencias.",cta:"Encontrar mi grupo",url:"https://titi.social/groups/?cuido-a-alguien-con-alzheimer-o-demencia/",locked:!0},{title:"Enfermedad crónica",copy:"Vivir el cuidado a largo plazo cuando la enfermedad no tiene fecha de fin.",cta:"Encontrar mi grupo",url:"https://titi.social/groups/?cuido-a-alguien-con-enfermedad-cronica/"},{title:"Discapacidad",copy:"Cuidar a alguien con discapacidad — derechos, ap
266oyos, rutinas y comunidad.",cta:"Encontrar mi grupo",url:"https://titi.social/groups/?cuido-a-alguien-con-discapacidad/"},{title:"Final de vida",copy:"Espacio protegido para quienes acompañan el final de la vida de alguien amado.",cta:"Encontrar mi grupo",url:"https://titi.social/groups/?acompano-un-final-de-vida/",locked:!0}],s5=[{title:"Cuidadores en Colombia",copy:"Recursos locales, EPS, IPS, servicios, leyes y subsidios en Colombia.",cta:"Entrar al grupo",url:"https://titi.social/groups/?cuidadores-en-colombia/"},{title:"Cuidadores en México",copy:"Contexto mexicano del cuidado: instituciones, apoyos y redes territoriales.",cta:"Entrar al grupo",url:"https://titi.social/groups/?cuidadores-en-mexico/"},{title:"Cuidadores en el Cono Sur",copy:"Argentina, Chile, Uruguay: cuidado con contexto regional propio.",cta:"Entrar al grupo",url:"https://titi.social/groups/?cuidadores-en-el-cono-sur/"},{title:"Cuidadores de toda LATAM",copy:"La red continental. Porque el cuidado no tiene fronteras.",cta:"Entrar al grupo",url:"https://titi.social/groups/?cuidadores-de-toda-latam/"}],o5=[{icon:Rf,label:"Noticias y actualizaciones",url:"https://titi.social/blog-noticias-titi/"},{icon:Pf,label:"Estudios e informes",url:"https://titi.social/memorias-eventos-estudios-e-informes/"},{icon:kk,label:"Galería de la comunidad",url:"https://titi.social/photos/"},{icon:vk,label:"Páginas institucionales",url:"https://titi.social/pages/"}],a5=()=>c.jsx("section",{id:"comunidad-viva",className:"py-20 md:py-28 bg-background-alt",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-12",children:[c.jsx("p",{className:"text-titi-teal font-semibold uppercase tracking-[0.2em] text-[11px] mb-3",children:"Comunidad Viva"}),c.jsxs("h2",{className:"text-titi-navy text-balance",children:["Lo que está pasando en la ",c.jsx("span",{className:"text-titi-pink",children:"Ruta del Cuidado."})]}),c.jsx("p",{className:"mt-4 text-base md:text-lg text-titi-navy/65 max-w-2xl",children:"Conversaciones reales, cuidadores reales. Elige por dónde entrar a la comunidad TITI."})]}),c.jsxs("div",{className:"mb-14",children:[c.jsx("h3",{className:"font-display font-bold text-xl md:text-2xl text-titi-navy mb-5",children:"Grupos por condición de cuidado"}),c.jsx(Ig,{cards:i5,cols:4,footerCta:{label:"Encuentra tu realidad",url:"https://titi.social/groups/"}})]}),c.jsxs("div",{className:"mb-14",children:[c.jsx("h3",{className:"font-display font-bold text-xl md:text-2xl text-titi-navy mb-5",children:"Grupos territoriales"}),c.jsx(Ig,{cards:s5,cols:4,footerCta:{label:"Encuentra tu territorio",url:"https://titi.social/groups/"}})]}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-display font-bold text-xl md:text-2xl text-titi-navy mb-5",children:"Recursos rápidos de la comunidad"}),c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:o5.map(e=>c.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-4 p-5 bg-white rounded-2xl border border-border/70 hover:border-titi-teal/40 hover:shadow-medium hover:-translate-y-0.5 transition-all",children:[c.jsx("div",{className:"w-11 h-11 rounded-2xl bg-titi-teal/10 text-titi-teal flex items-center justify-center flex-shrink-0",children:c.jsx(e.icon,{className:"h-5 w-5"})}),c.jsxs("div",{className:"flex-1 min-w-0",children:[c.jsx("p",{className:"font-semibold text-sm text-titi-navy leading-tight",children:e.label}),c.jsxs("span",{className:"inline-flex items-center gap-1 text-xs text-titi-pink mt-1 group-hover:gap-1.5 transition-all",children:["Abrir ",c.jsx(Pe,{className:"h-3 w-3"})]})]})]},e.label))})]})]})}),l5=[{icon:Fx,label:"Centros y residencias",value:"Modelos operativos basados en la Ruta del Cuidado para tus residentes y familias.",boxes:[{title:"Cuidar es mi profesión",copy:"Comunidad de cuidadores profesionales y gerontólogos. Metodología, supervisión, casos, tarifas.",url:"https://titi.social/groups/?cuidar-es-mi-profesion/"}
266,{title:"Conecté con profesionales y cambió todo",copy:"Red de profesionales verificados que pueden apoyar a tus residentes y sus familias.",url:"https://titi.social/groups/?conecte-con-profesionales-y-cambio-todo/"}]},{icon:Lk,label:"EPS y aseguradoras",value:"Acompañamiento integral al cuidador como factor clave de adherencia y bienestar.",boxes:[{title:"Mi salud mental mientras cuido",copy:"Acompañamiento emocional a cuidadores afiliados. Reduce costos por cuidadores agotados que colapsan.",url:"https://titi.social/groups/?mi-salud-mental-mientras-cuido/",locked:!0},{title:"Cuidadores de toda LATAM",copy:"Red continental de cuidadores. Data de impacto para justificar inversión en cuidado.",url:"https://titi.social/groups/?cuidadores-de-toda-latam/"}]},{icon:Ik,label:"Empresas y RRHH",value:"Beneficios de cuidado para colaboradores que sostienen a un familiar.",boxes:[{title:"Cuidar y trabajar al mismo tiempo",copy:"Beneficios de cuidado para colaboradores. Licencias, flexibilidad, hablar con tu jefe, no perder tu empleo.",url:"https://titi.social/groups/?cuidar-y-trabajar-al-mismo-tiempo/"},{title:"Cuidadores en Colombia / México / Cono Sur",copy:"Recursos locales, EPS, IPS, servicios, leyes, subsidios. El cuidado con contexto territorial.",url:"https://titi.social/groups/?cuidadores-en-colombia/"}]},{icon:Tk,label:"Gobiernos y municipios",value:"Programas territoriales de cuidado con ruta, comunidad y métricas.",boxes:[{title:"Cuidadores en tu país",copy:"Data estructurada para políticas públicas sobre cuidado. Mapeo de necesidades y capacidades en territorio.",url:"https://titi.social/groups/?cuidadores-en-colombia/"},{title:"Cuidadores de toda LATAM",copy:"Modelos operativos replicables y escalables. Estudios de impacto sobre el ecosistema de cuidado.",url:"https://titi.social/groups/?cuidadores-de-toda-latam/"}]}],c5=()=>c.jsx("section",{id:"instituciones",className:"py-20 md:py-32 bg-background",children:c.jsxs("div",{className:"container",children:[c.jsx("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-16 mb-14",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"lg:col-span-12",children:[c.jsx("p",{className:"text-teal font-medium mb-4 uppercase tracking-[0.2em] text-xs",children:"Para quien construye cuidado"}),c.jsxs("h2",{className:"text-balance mb-6",children:["Soluciones para ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"articular el ecosistema."})]}),c.jsx("p",{className:"text-lg text-foreground/65 mb-6 text-pretty max-w-3xl",children:"TITI une a quienes ya tienen soluciones de cuidado y los conecta con familias, cuidadores y comunidades. La unidad de negocio no es un curso: es construir, activar y monetizar comunidades de cuidado."}),c.jsx("div",{className:"flex flex-wrap gap-3",children:c.jsx(Ge,{variant:"default",size:"lg",asChild:!0,children:c.jsxs("a",{href:"https://titi.social/",target:"_blank",rel:"noopener noreferrer",children:["Entrar al Ecosistema TITI",c.jsx(wn,{className:"h-5 w-5"})]})})})]})}),c.jsx("div",{className:"grid lg:grid-cols-2 gap-6",children:l5.map((e,t)=>c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.06},className:"bg-card rounded-3xl p-7 md:p-8 border border-border/60",children:[c.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-2xl bg-gradient-to-br from-primary to-teal text-white flex-shrink-0",children:c.jsx(e.icon,{className:"h-6 w-6"})}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-display text-xl mb-1",children:e.label}),c.jsx("p",{className:"text-foreground/65 leading-relaxed text-sm",children:e.value})]})]}),c.jsx("div",{className:"grid sm:grid-cols-2 gap-3 mt-5",children:e.boxes.map(n=>c.jsxs("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col p-4 rounded-2xl bg-background-alt hover:bg-white border border-border/60 hover:border-titi-teal/40 hover:shadow-soft transition-all",children:[c.jsxs("div",{className:"flex items-start justify-between gap-2 mb-2",children:[c.jsx("p",{className:"font-display font-bold text-sm text-titi-navy leading-snug",children:n.title}),n.locked&&c.jsx(bo,{className:"h-3.5 w-3.5 text-titi-teal flex-shrink-0 mt-0.5"})]}
266),c.jsx("p",{className:"text-foreground/65 text-xs leading-relaxed mb-3 flex-1",children:n.copy}),c.jsxs("span",{className:"inline-flex items-center gap-1 text-titi-pink text-xs font-semibold group-hover:gap-2 transition-all",children:["Explorar ",c.jsx(wn,{className:"h-3 w-3"})]})]},n.title))})]},e.label))})]})}),u5=[{icon:bk,name:"Geronto10X",tagline:"Gerontología que se ejerce.",href:"https://geronto10x.com/",accent:"hsl(345 84% 65%)"},{icon:_x,name:"Senior10X",tagline:"Experiencia activa el territorio.",href:"https://senior10x.lovable.app/",accent:"hsl(44 99% 53%)"},{icon:Sk,name:"SilverIA10X",tagline:"Alfabetización digital + IA.",href:"https://silveria10x.lovable.app/",accent:"hsl(22 92% 56%)"},{icon:Ux,name:"Vigencia 10X",tagline:"La experiencia no se jubila.",href:"https://vigencia10x.lovable.app/",accent:"hsl(230 42% 32%)"}],d5=[{icon:jk,label:"Todos los grupos",url:"https://titi.social/groups/"},{icon:So,label:"Miembros activos",url:"https://titi.social/members/"},{icon:zx,label:"Próximos eventos",url:"https://titi.social/eventos-titi/"},{icon:_x,label:"Empleo del cuidado",url:"https://titi.social/oferta-de-empleo/"},{icon:Rf,label:"Noticias y blog",url:"https://titi.social/blog-noticias-titi/"},{icon:Pf,label:"Estudios e informes",url:"https://titi.social/memorias-eventos-estudios-e-informes/"}],f5=()=>c.jsxs("section",{id:"ecosistema",className:"relative py-20 md:py-24 bg-background-alt overflow-hidden",children:[c.jsx("div",{className:"absolute -top-24 -right-24 w-96 h-96 rounded-full opacity-20 blur-3xl pointer-events-none",style:{background:"radial-gradient(circle, hsl(187 47% 44%) 0%, transparent 70%)"}}),c.jsx("div",{className:"absolute -bottom-24 -left-24 w-96 h-96 rounded-full opacity-15 blur-3xl pointer-events-none",style:{background:"radial-gradient(circle, hsl(345 84% 65%) 0%, transparent 70%)"}}),c.jsxs("div",{className:"container relative",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-12",children:[c.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-titi-teal/10 border border-titi-teal/20 mb-4",children:[c.jsxs("span",{className:"relative flex h-2 w-2",children:[c.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-titi-teal opacity-75"}),c.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-titi-teal"})]}),c.jsx("span",{className:"text-titi-teal font-semibold uppercase tracking-[0.18em] text-[10px]",children:"Red viva · Cuidadores conectándose ahora"})]}),c.jsxs("h2",{className:"text-balance mb-4",children:["TITI Care es una puerta."," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"Detrás hay una red completa."})]}),c.jsx("p",{className:"text-base md:text-lg text-titi-navy/65 max-w-2xl",children:"Cuando entras a la comunidad, no llegas a un producto: llegas a un tejido de programas, expertos y pares que ya están trabajando por un cuidado digno en LATAM."})]}),c.jsxs("div",{className:"grid lg:grid-cols-12 gap-5 mb-6",children:[c.jsxs(Y.a,{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"group relative lg:col-span-5 rounded-3xl p-8 md:p-10 overflow-hidden text-white flex flex-col justify-between min-h-[320px] hover:-translate-y-1 transition-all shadow-medium hover:shadow-strong",style:{background:"linear-gradient(135deg, hsl(230 42% 32%) 0%, hsl(187 47% 44%) 100%)"},children:[c.jsx("div",{className:"absolute inset-0 opacity-20 pointer-events-none",style:{backgroundImage:"radial-gradient(circle at 20% 20%, white 1px, transparent 1px), radial-gradient(circle at 80% 60%, white 1px, transparent 1px)",backgroundSize:"40px 40px, 60px 60px"}}),c.jsxs("div",{className:"relative",children:[c.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-white/15 backdrop-blur-sm border border-white/20 mb-6",children:[c.jsx(So,{className:"h-3.5 w-3.5"}),c.jsx("span",{className:"text-[10px] uppercase tracking-[0.18em] font-bold",children:"Empieza aquí · Gratis"})]}),c.jsx("h3",{className:"font-display font-bold text-3xl md:text-4xl leading-tight mb-3",children:"Comunidad TITI"}),c.jsx("p",{className:"text-white/85 text-base md:text-lg leading-relaxed max-w-md",children:"El corazón vivo del ecosistema. Grupos por estado, condición y territorio. Conversaciones reales, pares que entienden y expertos disponibles."})]}),c.jsxs("div",{className:"relative flex items-center justify-between mt-8",children:[c.jsxs("span",{className:"inline-flex items-center gap-2 px-5 py-3 rounded-full bg-titi-pink text-white text-sm font-bold shadow-pink group-hover:-translate-y-0.5 transition-transform",children:["Unirme ahora",c.jsx(Pe,{className:"h-4 w-4"})]}),c.jsx("span",{className:"text-xs text-white/70 uppercase tracking-widest font-semibold",children:"titi.social"})]})]}),c.jsx("div",{className:"lg:col-span-7 grid grid-cols-2 gap-4",children:u5.map((e,t)=>c.jsxs(Y.a,{href:e.href,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1+t*.06},className:"group relative bg-white rounded-2xl p-5 md:p-6 border border-border/60 hover:border-transparent hover:shadow-medium hover:-translate-y-1 transition-all overflow-hidden",children:[c.jsx("div",{className:"absolute inset-x-0 top-0 h-1 opacity-0 group-hover:opacity-100 transition-opacity",style:{backgroundColor:e.accent}}),c.jsxs("div",{className:"flex items-start justify-between gap-3 mb-4",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-11 h-11 rounded-xl",style:{backgroundColor:`${e.accent}15`,color:e.accent},children:c.jsx(e.icon,{className:"h-5 w-5"})}
266),c.jsx(wn,{className:"h-4 w-4 text-foreground/30 group-hover:text-titi-pink group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-all"})]}),c.jsx("h4",{className:"font-display font-bold text-base md:text-lg text-titi-navy mb-1.5",children:e.name}),c.jsx("p",{className:"text-foreground/65 text-sm leading-snug",children:e.tagline})]},e.name))})]}),c.jsxs(Y.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"mt-10 rounded-2xl bg-white border border-border/60 p-5 md:p-6 shadow-soft",children:[c.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-3 mb-5",children:[c.jsxs("div",{children:[c.jsx("p",{className:"text-titi-pink font-semibold uppercase tracking-[0.2em] text-[10px] mb-1",children:"Lo que está pasando adentro"}),c.jsx("h3",{className:"font-display font-bold text-lg md:text-xl text-titi-navy",children:"Todo esto te espera al entrar"})]}),c.jsxs("a",{href:"https://titi.social/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-titi-teal hover:text-titi-teal/80 font-semibold text-sm group",children:["Ver todo ",c.jsx(Pe,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]})]}),c.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-2.5",children:d5.map(e=>c.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col items-start gap-2 p-3.5 bg-background-alt hover:bg-white rounded-xl border border-transparent hover:border-titi-pink/30 hover:shadow-soft transition-all",children:[c.jsx("div",{className:"w-9 h-9 rounded-lg bg-titi-navy/5 text-titi-navy flex items-center justify-center group-hover:bg-titi-pink/10 group-hover:text-titi-pink transition-colors",children:c.jsx(e.icon,{className:"h-4 w-4"})}),c.jsx("span",{className:"text-xs md:text-sm font-semibold text-titi-navy leading-tight",children:e.label})]},e.label))})]})]})]}),h5=()=>c.jsxs("section",{className:"relative py-24 md:py-32 bg-titi-navy text-white overflow-hidden",children:[c.jsx("div",{"aria-hidden":!0,className:"absolute -top-40 left-1/2 -translate-x-1/2 w-[600px] h-[600px] rounded-full bg-titi-pink/15 blur-3xl"}),c.jsx("div",{"aria-hidden":!0,className:"absolute bottom-0 right-0 w-[400px] h-[400px] rounded-full bg-titi-teal/10 blur-3xl"}),c.jsx("div",{className:"container relative z-10",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"max-w-3xl mx-auto text-center",children:[c.jsx("p",{className:"text-titi-yellow font-semibold uppercase tracking-[0.25em] text-[11px] mb-5",children:"La Ruta del Cuidado · by TITI"}),c.jsxs("h2",{className:"text-white text-balance mb-6",children:["Hay una forma de cuidar ",c.jsx("span",{className:"text-titi-yellow",children:"mejor."})]}),c.jsx("p",{className:"text-base md:text-lg text-white/75 max-w-xl mx-auto mb-10",children:"No tienes que tener todo claro. Solo necesitas dar el primer paso. La Ruta hace el resto, y la comunidad camina contigo."}),c.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center mb-6",children:c.jsxs($e,{to:"/productos#empieza",className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 bg-titi-pink hover:bg-titi-pink/90 text-white text-sm font-semibold rounded-full shadow-pink transition-smooth hover:-translate-y-0.5",children:["Empezar ahora",c.jsx(Pe,{className:"h-4 w-4"})]})}),c.jsxs("p",{className:"text-white/70 text-sm mb-10",children:["¿Ya adquiriste tu producto?"," ",c.jsxs("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"text-titi-yellow font-semibold hover:underline inline-flex items-center gap-1",children:["Únete a la comunidad ",c.jsx(Pe,{className:"h-3.5 w-3.5"})]})]}),c.jsx("div",{className:"flex justify-center max-w-2xl mx-auto",children:c.jsx("a",{href:"https://geronto10x.com",target:"_blank",rel:"noopener noreferrer",className:"px-5 py-3 rounded-xl bg-white/5 hover:bg-white/10 border border-white/10 text-sm text-white/85 transition-smooth",children:"Soy profesional del cuidado →"})})]})})]}),ss=()=>c.jsx("footer",{className:"bg-titi-navy text-white",children:c.jsxs("div",{className:"container py-16",children:[c.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12",children:[c.jsxs("div",{children:[c.jsx(K0,{variant:"light"}),c.jsx("p",{className:"font-script text-2xl text-titi-yellow mt-4",children:"el futuro es plateado"}),c.jsx("p",{className:"text-sm text-white/70 mt-4 leading-relaxed",children:"La Ruta del Cuidado, by TITI. El ecosistema humano del cuidado en LATAM y el mund
266o."})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-display font-bold text-titi-yellow mb-4 text-sm uppercase tracking-wider",children:"Los 5 Estados"}),c.jsxs("ul",{className:"space-y-2 text-sm",children:[c.jsx("li",{children:c.jsx($e,{to:"/reconocer",className:"text-white/80 hover:text-white transition-smooth",children:"01 · Reconocer"})}),c.jsx("li",{children:c.jsx($e,{to:"/ordenar",className:"text-white/80 hover:text-white transition-smooth",children:"02 · Ordenar"})}),c.jsx("li",{children:c.jsx($e,{to:"/transformar",className:"text-white/80 hover:text-white transition-smooth",children:"03 · Transformar"})}),c.jsx("li",{children:c.jsx($e,{to:"/sostener",className:"text-white/80 hover:text-white transition-smooth",children:"04 · Sostener"})}),c.jsx("li",{children:c.jsx($e,{to:"/articular",className:"text-white/80 hover:text-white transition-smooth",children:"05 · Articular"})}),c.jsx("li",{className:"pt-2",children:c.jsx($e,{to:"/productos",className:"text-titi-pink font-semibold hover:text-white transition-smooth",children:"→ Ver productos"})})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-display font-bold text-titi-yellow mb-4 text-sm uppercase tracking-wider",children:"Ecosistema TITI"}),c.jsxs("ul",{className:"space-y-2 text-sm",children:[c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Comunidad TITI"})}),c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Únete — Crea tu perfil"})}),c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/groups/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Todos los grupos"})}),c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/eventos-titi/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Eventos"})}),c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/oferta-de-empleo/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Oportunidades"})}),c.jsx("li",{children:c.jsx("a",{href:"https://titi.social/blog-noticias-titi/",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Noticias"})}),c.jsx("li",{className:"pt-2",children:c.jsx($e,{to:"/comunidad",className:"text-titi-pink font-semibold hover:text-white transition-smooth",children:"→ Página Comunidad"})})]})]}),c.jsxs("div",{children:[c.jsx("h4",{className:"font-display font-bold text-titi-yellow mb-4 text-sm uppercase tracking-wider",children:"Conectemos"}),c.jsxs("ul",{className:"space-y-2 text-sm mb-5",children:[c.jsx("li",{children:c.jsx($e,{to:"/actualidad",className:"text-white/80 hover:text-white transition-smooth",children:"Actualidad"})}),c.jsx("li",{children:c.jsx($e,{to:"/productos",className:"text-white/80 hover:text-white transition-smooth",children:"Catálogo completo"})}),c.jsx("li",{children:c.jsx("a",{href:"https://geronto10x.com",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth",children:"Profesional del cuidado"})}),c.jsx("li",{children:c.jsxs("a",{href:"https://titi.social",target:"_blank",rel:"noopener noreferrer",className:"text-white/80 hover:text-white transition-smooth inline-flex items-center gap-2",children:[c.jsx(Pk,{className:"w-3.5 h-3.5"})," titi.social"]})})]}),c.jsx("div",{className:"flex gap-3 mb-5",children:[{Icon:Ek,href:"https://instagram.com",label:"Instagram"},{Icon:Nk,href:"https://linkedin.com",label:"LinkedIn"},{Icon:Ck,href:"https://facebook.com",label:"Facebook"},{Icon:Ok,href:"https://youtube.com",label:"YouTube"}].map(({Icon:e,href:t,label:n})=>c.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,className:"w-10 h-10 rounded-full bg-white/10 hover:bg-titi-pink flex items-center justify-center transition-smooth hover:-translate-y-0.5",children:c.jsx(e,{className:"w-4 h-4"})},n))}),c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-5 py-2.5 bg-titi-yellow text-titi-navy text-sm font-bold rounded-full hover:shadow-glow-yellow transition-smooth",children:"Únete a TITI — Crea tu perfil →"}),c.jsx("p",{className:"text-[11px] text-white/50 mt-2",children:"Es gratis y toma 2 minutos."})]})]}),c.jsxs("div",{className:"border-t border-white/10 mt-12 pt-6 flex flex-col md:flex-row justify-between items-center gap-4 text-xs text-white/60",children:[c.jsxs("p",{children:["© ",new Date().getFullYear()," La Ruta del Cuidado · Powered by TITI · Ecosistema humano del cuidado"]}),c.jsxs("div",{className:"flex gap-6",children:[c.jsx("a",{href:"#",className:"hover:text-white transition-smooth",children:"Habeas Data"}),c.jsx("a",{href:"#",className:"hover:text-white transition-smooth",children:"Términos"}),c.jsx("a",{href:"#",className:"hover:text-white transition-smooth",children:"Privacidad"})]})]})]})}),p5=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(ts,{}),c.jsxs("main",{children:[c.jsx(XM,{}),c.jsx(ZM,{}),c.jsx(e5,{}),c.jsx(n5,{}),c.jsx(a5,{}),c.jsx(c5,{}),c.jsx(f5,{}),c.jsx(h5,{})]}),c.jsx(ss,{})]}),m5=()=>{const e=Qr();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),c.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:c.jsxs("div",{className:"text-center",children:[c.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),c.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),c.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},g5=[{product:"Diagnóstico guiado",group:"Acabo de darme cuenta de que soy cuidador",copy:"Después del diagnóstico, continúa el proceso con pares que viven lo mismo.",url:"https://titi.social/groups/?acabo-de-darme-cuenta-de-que-soy-cuidador/",locked:!0},{product:"Sistema mínimo de orden",group:"Mi cabeza es un caos, necesito ordenarme",copy:"Comparte plantillas, hacks y sistemas con otros cuida
266dores que están organizando su cuidado.",url:"https://titi.social/groups/?mi-cabeza-es-un-caos-necesito-ordenarme/"},{product:"Plan de 7 días",group:"El sistema operativo de mi casa",copy:"Construye tu sistema con el apoyo de una comunidad que ya lo logró.",url:"https://titi.social/groups/?el-sistema-operativo-de-mi-casa/"},{product:"Curso NDMC",group:"Cohorte: No Desaparecer Mientras Cuido",copy:"No haces el curso solo. Tienes compañeros de cohorte, tareas, dudas, avances, celebraciones.",url:"https://titi.social/groups/?cohorte-no-desaparecer-mientras-cuido/",locked:!0},{product:"Playlist para cuidadores",group:"Encontré mi red y me sostiene",copy:"Comparte tu playlist, descubre la de otros, sostente con música y comunidad.",url:"https://titi.social/groups/?encontre-mi-red-y-me-sostiene/"},{product:"Guía de emergencia",group:"Conecté con profesionales y cambió todo",copy:"Cuando la emergencia pasa, conecta con profesionales y comparte tu experiencia.",url:"https://titi.social/groups/?conecte-con-profesionales-y-cambio-todo/"}],Og=[{state:"reconocer",label:"Reconocer",hex:"hsl(345 84% 65%)",items:[{title:"Diagnóstico guiado para cuidadores",desc:"Entiende qué te está pasando y ponle nombre a tu situación.",price:"$7",url:"https://go.hotmart.com/C103693976T"}]},{state:"ordenar",label:"Ordenar",hex:"hsl(44 99% 53%)",items:[{title:"Sistema mínimo de orden",desc:"Organiza lo básico para dejar de improvisar.",price:"$4",url:"https://go.hotmart.com/E103694929A"},{title:"Plan de 7 días",desc:"Empieza a tomar control con acciones pequeñas y reales.",price:"$4",url:"https://go.hotmart.com/R103694746I"}]},{state:"transformar",label:"Transformar",hex:"hsl(22 92% 56%)",items:[{title:"Curso: No desaparecer mientras cuidas",desc:"Aprende a cuidar sin perderte en el proceso.",price:"$20",url:"https://go.hotmart.com/D103681872L"}]},{state:"sostener",label:"Sostener",hex:"hsl(187 47% 44%)",items:[{title:"Playlist para cuidadores",desc:"Un espacio emocional para acompañarte en momentos difíciles.",price:"$10",url:"https://go.hotmart.com/E103693548F"}]},{state:"crisis",label:"Crisis",hex:"hsl(0 72% 55%)",items:[{title:"Guía de emergencia",desc:"Para cuando sientes que no puedes más.",price:"$4",url:"https://go.hotmart.com/E103694651N"}]}],y5=({filterState:e,hideHeader:t})=>{const n=e?Og.filter(r=>r.state===e):Og;return c.jsxs("section",{id:"soluciones",className:"py-20 md:py-28 bg-white",children:[c.jsx("div",{id:"empieza",className:"absolute -mt-24","aria-hidden":!0}),c.jsxs("div",{className:"container",children:[!t&&c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mx-auto text-center mb-16",children:[c.jsx("p",{className:"text-titi-pink font-semibold mb-4 uppercase tracking-[0.2em] text-[11px]",children:"Soluciones · Productos"}),c.jsxs("h2",{className:"text-titi-navy text-balance",children:["Empieza desde ",c.jsx("span",{className:"text-titi-pink",children:"donde estás."})]}),c.jsx("p",{className:"mt-5 text-base md:text-lg text-titi-navy/65 max-w-xl mx-auto",children:"No necesitas hacerlo todo. Solo necesitas empezar por el punto correcto de tu Ruta."})]}),c.jsx("div",{className:"max-w-6xl mx-auto space-y-10",children:n.map((r,i)=>c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:i*.05},children:[c.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[c.jsx("span",{className:"w-2.5 h-2.5 rounded-full",style:{backgroundColor:r.hex}}),c.jsx("h3",{className:"font-display font-bold text-lg md:text-xl",style:{color:r.hex},children:r.label}),c.jsx("span",{className:"flex-1 h-px bg-border ml-2"}),c.jsxs("span",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-semibold tabular-nums",children:[r.items.length," ",r.items.length===1?"producto":"productos"]})]}),c.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:r.items.map(s=>c.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col bg-white rounded-2xl p-6 border border-border/70 hover:border-titi-navy/2
2660 hover:shadow-medium hover:-translate-y-1 transition-smooth",children:[c.jsxs("div",{className:"flex items-start justify-between gap-4 mb-3",children:[c.jsx("h4",{className:"font-display font-bold text-base text-titi-navy leading-snug flex-1",children:s.title}),c.jsx(wn,{className:"h-4 w-4 flex-shrink-0 text-foreground/30 group-hover:text-titi-pink transition-colors"})]}),c.jsx("p",{className:"text-foreground/65 text-sm mb-6 flex-1 leading-relaxed",children:s.desc}),c.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-border/60",children:[c.jsx("span",{className:"font-display text-2xl font-bold",style:{color:r.hex},children:s.price}),c.jsx("span",{className:"px-4 py-2 rounded-full bg-titi-pink text-white text-xs font-semibold group-hover:shadow-pink transition-smooth",children:"Comprar"})]})]},s.title))})]},r.state))}),!e&&c.jsxs("div",{className:"max-w-6xl mx-auto mt-20 pt-12 border-t border-border/60",children:[c.jsxs("div",{className:"text-center max-w-2xl mx-auto mb-10",children:[c.jsx("p",{className:"text-titi-teal font-semibold uppercase tracking-[0.2em] text-[11px] mb-3",children:"Cada producto te conecta con una comunidad"}),c.jsxs("h3",{className:"font-display font-bold text-2xl md:text-3xl text-titi-navy text-balance",children:["No estás comprando un producto. Estás entrando a una ",c.jsx("span",{className:"text-titi-pink",children:"comunidad."})]})]}),c.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:g5.map(r=>c.jsxs("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col bg-white rounded-2xl p-6 border border-border/70 hover:border-titi-teal/40 hover:shadow-medium hover:-translate-y-1 transition-all",children:[c.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[c.jsx("span",{className:"text-[10px] uppercase tracking-widest font-semibold text-titi-pink",children:"Producto"}),c.jsx("span",{className:"text-foreground/30",children:"→"}),c.jsx("span",{className:"text-[10px] uppercase tracking-widest font-semibold text-titi-teal",children:"Grupo"}),r.locked&&c.jsx(bo,{className:"h-3 w-3 text-titi-teal ml-auto"})]}),c.jsx("h4",{className:"font-display font-bold text-base text-titi-navy leading-snug mb-1",children:r.product}),c.jsxs("p",{className:"text-titi-teal font-semibold text-sm mb-3",children:["→ ",r.group]}),c.jsx("p",{className:"text-foreground/65 text-sm leading-relaxed flex-1 mb-4",children:r.copy}),c.jsxs("span",{className:"inline-flex items-center gap-1.5 text-titi-pink font-semibold text-sm group-hover:gap-2.5 transition-all",children:["Entrar al grupo ",c.jsx(Pe,{className:"h-4 w-4"})]})]},r.product))}),c.jsx("div",{className:"mt-8 text-center",children:c.jsxs("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 bg-titi-pink hover:bg-titi-pink/90 text-white text-sm font-semibold rounded-full shadow-pink transition-smooth hover:-translate-y-0.5",children:["Regístrate en TITI para acceder a todos los grupos ",c.jsx(Pe,{className:"h-4 w-4"})]})})]})]})]})},Po=({number:e,state:t,label:n,accentClass:r,bgAccentClass:i,bgSoftClass:s,headline:o,emotional:a,explanation:l,image:u,imageAlt:d,filterStateKey:f,nextTo:h,nextLabel:p,hideSolutions:x,primaryCta:y})=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(ts,{}),c.jsx("section",{className:Se("pt-28 md:pt-36 pb-16 md:pb-24",s),children:c.jsxs("div",{className:"container",children:[c.jsxs($e,{to:"/",className:"inline-flex items-center gap-2 text-sm text-foreground/60 hover:text-foreground mb-8",children:[c.jsx(gk,{className:"h-4 w-4"})," Volver al ecosistema"]}),c.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"space-y-6",children:[c.jsxs("div",{className:"flex items-center gap-3",children:[c.jsx("span",{className:Se("w-3 h-3 rounded-full",i)}),c.jsxs("span",{className:Se("font-mono text-sm",r),children:[e," · La Ruta del Cuidado"]})]}),c.jsx("h1",{children:c.jsxs("span",{className:Se("italic font-display",r),children:[n,"."]})}
266),c.jsx("p",{className:"text-xl md:text-2xl text-foreground/80 leading-relaxed",children:o})]}),c.jsx(Y.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.7,delay:.2},className:"rounded-[2rem] overflow-hidden shadow-large aspect-[4/5]",children:c.jsx("img",{src:u,alt:d,className:"w-full h-full object-cover",width:1024,height:1280})})]})]})}),c.jsx("section",{className:"py-20 md:py-28 bg-background",children:c.jsx("div",{className:"container max-w-3xl",children:c.jsx(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"space-y-6 text-lg md:text-xl text-foreground/80 leading-relaxed",children:a})})}),c.jsx("section",{className:Se("py-20 md:py-28",s),children:c.jsx("div",{className:"container max-w-4xl",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[c.jsxs("p",{className:Se("text-sm font-medium uppercase tracking-wider mb-4",r),children:["Qué es ",n.toLowerCase()]}),c.jsxs("h2",{className:"mb-8",children:["El estado de ",c.jsx("span",{className:"italic font-display",children:n.toLowerCase()})]}),c.jsx("div",{className:"prose prose-lg max-w-none text-foreground/80 space-y-5",children:l})]})})}),!x&&c.jsx(y5,{filterState:f,hideHeader:!0}),c.jsx("section",{className:"py-20 md:py-28 bg-primary text-primary-foreground",children:c.jsxs("div",{className:"container max-w-3xl text-center space-y-6",children:[c.jsx($x,{className:"h-12 w-12 mx-auto text-pink"}),c.jsx("h2",{className:"text-primary-foreground",children:"No tienes que hacerlo solo."}),c.jsx("p",{className:"text-lg text-primary-foreground/80",children:"En la comunidad TITI hay personas viviendo lo mismo, profesionales que pueden orientarte y herramientas para avanzar a tu ritmo."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:[c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsx("a",{href:(y==null?void 0:y.href)??"https://titi.social/",target:"_blank",rel:"noopener noreferrer",children:(y==null?void 0:y.label)??"Entrar al Ecosistema TITI"})}),h&&c.jsx(Ge,{variant:"outlineLight",size:"lg",asChild:!0,children:c.jsxs($e,{to:h,children:[p??"Siguiente estado"," ",c.jsx(Pe,{className:"h-5 w-5"})]})})]})]})}),c.jsx(ss,{})]}),v5="/assets/care-recognize-imB0OnUv.jpg",x5=()=>c.jsx(Po,{number:"01",state:"recognize",label:"Reconocer",accentClass:"text-state-recognize",bgAccentClass:"bg-state-recognize",bgSoftClass:"bg-[hsl(var(--state-recognize)/0.06)]",image:v5,imageAlt:"Mujer cuidadora pensativa al amanecer",headline:c.jsx(c.Fragment,{children:"Algo cambió en tu casa. Y nadie lo está nombrando. Aquí empiezas por nombrarlo."}),emotional:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Duermes con un oído despierto."}),c.jsx("p",{children:"Vives en alerta sin saber desde cuándo."}),c.jsx("p",{children:'Respondes "sí, todo bien" cuando hace tiempo no estás bien.'}),c.jsx("p",{className:"text-foreground font-medium",children:"Reconocer no es debilida
266d. Es el primer acto de cuidado hacia ti."})]}),explanation:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Reconocer es el momento en el que dejas de minimizar lo que estás viviendo. Es ponerle nombre al cansancio, a la sobrecarga, al rol que asumiste sin haberlo decidido."}),c.jsx("p",{children:"No necesitas tener todo claro. Solo necesitas un lugar donde lo que sientes deje de ser invisible."}),c.jsx("p",{children:"En este estado, TITI te ofrece un diagnóstico guiado para que puedas mirar tu situación con honestidad y, sobre todo, sin culpa."})]}),filterStateKey:"reconocer",nextTo:"/ordenar",nextLabel:"Pasar a Ordenar"}),w5="/assets/care-organize-BTlwpz06.jpg",b5=()=>c.jsx(Po,{number:"02",state:"organize",label:"Ordenar",accentClass:"text-state-organize",bgAccentClass:"bg-state-organize",bgSoftClass:"bg-[hsl(var(--state-organize)/0.06)]",image:w5,imageAlt:"Manos organizando una agenda y medicamentos",headline:c.jsx(c.Fragment,{children:"Todo está en tu cabeza. Y ya pesa. Aquí empiezas a sacarlo de ahí."}),emotional:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Medicamentos, citas, turnos, llamadas, recados."}),c.jsx("p",{children:"Todo lo cargas tú. Todo lo recuerdas tú."}),c.jsx("p",{children:"Si te enfermas un día, la casa entera se detiene."}),c.jsx("p",{className:"text-foreground font-medium",children:"Ordenar no es ser perfecta. Es dejar de improvisar."})]}),explanation:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Ordenar es construir un sistema mínimo para que el cuidado deje de depender únicamente de tu memoria y de tu energía."}),c.jsx("p",{children:"No se trata de planillas ni de productividad. Se trata de bajar la carga mental y de empezar a tomar decisiones desde la calma, no desde la urgencia."}),c.jsx("p",{children:"En este estado, TITI te entrega herramientas concretas y un plan corto para que avances paso a paso."})]}),filterStateKey:"ordenar",nextTo:"/transformar",nextLabel:"Pasar a Transformar"}),S5="/assets/care-transform-UxgCaERo.jpg",C5=()=>c.jsx(Po,{number:"03",state:"transform",label:"Transformar",accentClass:"text-state-transform",bgAccentClass:"bg-state-transform",bgSoftClass:"bg-[hsl(var(--state-transform)/0.10)]",image:S5,imageAlt:"Familia conversando alrededor de la mesa",headline:c.jsx(c.Fragment,{children:"Hay conversaciones pendientes que necesitas abrir. No para pelear: para repartir."}),emotional:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Sabes quién aparece y quién no."}),c.jsx("p",{children:"Sabes lo que cada quien debería estar haciendo y no está haciendo."}),c.jsx("p",{children:"Y también sabes que abrir esa conversación da miedo."}),c.jsx("p",{className:"text-foreground font-medium",children:"Transformar no es romper la familia. Es dejar de cargarla solo."})]}),explanation:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Transformar es el estado en el que las dinámicas cambian. Donde se nombran los acuerdos invisibles, las cargas desiguales y las expectativas que nadie habló."}),c.jsx("p",{children:"Es también el momento en el que empiezas a recuperar tu vida personal sin sentir culpa por hacerlo."}),c.jsx("p",{children:'El curso "No desaparecer mientras cuidas" es la herramienta central de este estado.'})]}),filterStateKey:"transformar",nextTo:"/sostener",nextLabel:"Pasar a Sostener"}),k5="/assets/care-sustain-DyU3eXXv.jpg",E5=()=>c.jsx(Po,{number:"04",state:"sustain",label:"Sostener",accentClass:"text-state-sustain",bgAccentClass:"bg-state-sustain",bgSoftClass:"bg-[hsl(var(--state-sustain)/0.06)]",image:k5,imageAlt:"Grupo de personas apoyándose mutuamente en comunidad",headline:c.jsx(c.Fragment,{children:"El cuidado no se sostiene solo. Se sostiene en red, en pares, en comunidad."}),emotional:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"No siempre necesitas una solución."}),c.jsx("p",{children:"A veces necesitas a alguien que entienda sin que tengas que explicar."}),c.jsx("p",{children:"A veces necesitas un espacio donde respirar."}),c.jsx("p",{className:"text-foreground font-medium",children:"Sostener es permitir que otros te sostengan a ti."})]}),explanation:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Sostener es el estado en el que el cuidado deja de ser un esfuerzo aislado y se convierte en una práctica continua, acompañada y emocionalmente sostenible."}),c.jsx("p",{children:"Aquí entran las playlists emocionales, las conversaciones con pares, el acompañamiento profesional y las herramientas para los momentos de crisis."}),c.jsx("p",{children:"La comunidad TITI es el corazón de este estado."})]}),filterStateKey:"sostener",nextTo:"/articular",nextLabel:"Pasar a Articular"}),T5="/assets/care-articulate-DHjvYSfS.jpg",j5=()=>c.jsx(Po,{number:"05",state:"articulate",label:"Articular",accentClass:"text-state-articulate",bgAccentClass:"bg-state-articulate",bgSoftClass:"bg-[hsl(var(--state-articulate)/0.06)]",image:T5,imageAlt:"Profesionales de salud colaborando en torno a una mesa",headline:c.jsx(c.Fragment,{children:"Cuando el cuidado crece, necesita estructura. Autorizado no es articulado."}),emotional:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Tienes profesionales, instituciones, autorizaciones, citas, informes."}),c.jsx("p",{children:"Y aún así, cada gestión la haces tú, desde cero, otra vez."}),c.jsx("p",{children:"Cada actor sabe su parte. Nadie ve el todo."}),c.jsx("p",{className:"text-foreground font-medium",children:"Articular es conectar lo que ya existe para que el cuidado funcione como un sistema."})]}),explanation:c.jsxs(c.Fragment,{children:[c.jsx("p",{children:"Articular es el estado más avanzado de la Ruta. Es donde TITI conecta personas, profesionales, centros, sistemas de salud y gobiernos para construir modelos de cuidado replicables y sostenibles."}),c.jsx("p",{children:"Aquí TITI no es el dueño del conocimiento: es el articulador del ecosistema. Trae soluciones propias y de terceros, y las hace funcionar como una sola red."}),c.jsx("p",{children:"Si representas un centro, una empresa, una EPS o un gobierno, este es tu punto de entrada."})]}),filterStateKey:"reconocer",hideSolutions:!0,primaryCta:{label:"Entrar al Ecosistema TITI",href:"https://titi.social/"}
266,nextTo:"/",nextLabel:"Volver al ecosistema"}),N5=[{title:"Diagnóstico guiado para cuidadores",desc:"Entiende qué te está pasando y ponle nombre a tu situación.",price:"$7",url:"https://go.hotmart.com/C103693976T",state:"reconocer",stateLabel:"Reconocer",hex:"hsl(345 84% 65%)"},{title:"Sistema mínimo de orden",desc:"Organiza lo básico para dejar de improvisar.",price:"$4",url:"https://go.hotmart.com/E103694929A",state:"ordenar",stateLabel:"Ordenar",hex:"hsl(44 99% 53%)"},{title:"Plan de 7 días",desc:"Empieza a tomar control con acciones pequeñas y reales.",price:"$4",url:"https://go.hotmart.com/R103694746I",state:"ordenar",stateLabel:"Ordenar",hex:"hsl(44 99% 53%)"},{title:"No desaparecer mientras cuidas",desc:"Aprende a cuidar sin perderte en el proceso.",price:"$20",url:"https://go.hotmart.com/D103681872L",state:"transformar",stateLabel:"Transformar",hex:"hsl(22 92% 56%)"},{title:"Playlist para cuidadores",desc:"Un espacio emocional para acompañarte en momentos difíciles.",price:"$10",url:"https://go.hotmart.com/E103693548F",state:"sostener",stateLabel:"Sostener",hex:"hsl(187 47% 44%)"},{title:"Guía de emergencia",desc:"Para cuando sientes que no puedes más.",price:"$4",url:"https://go.hotmart.com/E103694651N",state:"reconocer",stateLabel:"Crisis",hex:"hsl(0 72% 55%)"}],P5=()=>{const e=N5;return c.jsxs("div",{className:"min-h-screen bg-titi-bg",children:[c.jsx(ts,{}),c.jsx("section",{className:"pt-32 md:pt-36 pb-12 bg-white border-b border-border/60",children:c.jsx("div",{className:"container",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl",children:[c.jsx("p",{className:"text-titi-pink font-semibold mb-3 uppercase tracking-[0.2em] text-[11px]",children:"Productos · La Ruta del Cuidado"}),c.jsxs("h1",{className:"text-titi-navy text-balance",children:["Empieza desde ",c.jsx("span",{className:"text-titi-pink",children:"donde estás."})]}),c.jsx("p",{className:"mt-5 text-base md:text-lg text-titi-navy/65 max-w-2xl",children:"Cada producto está diseña
266do para un estado específico de la Ruta. No necesitas hacerlo todo, solo empezar por el punto correcto."})]})})}),c.jsx("section",{id:"empieza",className:"pt-14 md:pt-20 pb-24 scroll-mt-24",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-10",children:[c.jsx("p",{className:"text-titi-pink font-semibold mb-3 uppercase tracking-[0.2em] text-[11px]",children:"Catálogo"}),c.jsxs("h2",{className:"text-titi-navy text-balance",children:["Por ",c.jsx("span",{className:"text-titi-pink",children:"estado de la Ruta"})]}),c.jsx("p",{className:"mt-3 text-titi-navy/65 text-base md:text-lg",children:"Elige el que se parece a lo que vives ahora."})]}),c.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:e.map((t,n)=>c.jsxs(Y.a,{href:t.url,target:t.url.startsWith("http")?"_blank":void 0,rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:n*.05},className:"group flex flex-col bg-white rounded-2xl p-6 border border-border/70 hover:border-titi-navy/20 hover:shadow-medium hover:-translate-y-1 transition-smooth",children:[c.jsxs("div",{className:"flex items-center justify-between mb-5",children:[c.jsx("span",{className:"px-3 py-1 rounded-full text-[10px] uppercase tracking-[0.15em] font-bold text-white",style:{backgroundColor:t.hex},children:t.stateLabel}),c.jsx(wn,{className:"h-4 w-4 text-foreground/30 group-hover:text-titi-pink transition-colors"})]}),c.jsx("h3",{className:"font-display font-bold text-base text-titi-navy mb-2 leading-snug",children:t.title}),c.jsx("p",{className:"text-foreground/65 text-sm mb-6 flex-1 leading-relaxed",children:t.desc}),c.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-border/60",children:[c.jsx("span",{className:"font-display font-extrabold text-2xl",style:{color:t.hex},children:t.price}),c.jsx("span",{className:"px-4 py-2 rounded-full bg-titi-pink text-white text-xs font-semibold group-hover:shadow-pink transition-smooth",children:"Comprar"})]})]},t.title))})]})}),c.jsx(ss,{})]})},R5="/assets/course-hero-CVOMNP_c.jpg",A5=[{n:"01",t:"Reconocer tu rol",d:"Nombrar lo que vives sin culpa ni minimización."},{n:"02",t:"Ordenar el caos",d:"Sistemas mínimos para dejar de improvisar."},{n:"03",t:"Cuidar sin desaparecer",d:"Cómo sostenerte mientras sostienes a otros."},{n:"04",t:"Conversaciones difíciles",d:"Familia, dinero, decisiones. Lo que nadie habla."},{n:"05",t:"Comunidad y red",d:"Construir tu red de apoyo real, no improvisada."},{n:"06",t:"Articular el cuidado",d:"Conectar con profesionales, instituciones y ecosistema."}],M5=[{icon:Pf,t:"6 módulos en video",d:"Acceso de por vida"},{icon:So,t:"Comunidad TITI",d:"Acompañamiento entre pares y profesionales"},{icon:wk,t:"A tu ritmo",d:"Sin fechas, sin presión"},{icon:yk,t:"Certificado",d:"Reconocimiento de finalización"}],L5=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(ts,{}),c.jsxs("section",{className:"relative min-h-[100svh] flex items-center overflow-hidden bg-primary-deep",children:[c.jsxs("div",{className:"absolute inset-0",children:[c.jsx("img",{src:R5,alt:"",className:"w-full h-full object-cover animate-slow-zoom"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-hero-overlay"})]}),c.jsx("div",{"aria-hidden":!0,className:"absolute -bottom-32 -right-32 w-[500px] h-[500px] rounded-full bg-pink/25 blur-3xl"}),c.jsx("div",{className:"container relative z-10 pt-28 pb-20",children:c.jsxs("div",{className:"max-w-4xl",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"inline-flex items-center gap-2.5 px-4 py-2 rounded-full glass text-white/90 text-sm font-medium mb-8",children:[c.jsx(Ux,{className:"h-3.5 w-3.5 text-accent"}),"Producto ancla · La Ruta del Cuidado"]}),c.jsxs(Y.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-white text-balance",children:["El Arte del"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"Cuidado."})]}),c.jsx(Y.p,{initial:{opacity:0,y:20}
266,animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},className:"mt-8 max-w-2xl text-lg md:text-xl text-white/80 leading-relaxed text-pretty",children:"Aprende a acompañar a quien envejece sin desaparecer en el camino. Un curso completo que recorre los 5 estados de la Ruta del Cuidado."}),c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"mt-10 flex flex-col sm:flex-row gap-3 items-start sm:items-center",children:[c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsxs("a",{href:"https://go.hotmart.com/D103681872L",target:"_blank",rel:"noopener noreferrer",children:["Inscribirme ahora ",c.jsx(Pe,{className:"h-5 w-5"})]})}),c.jsxs("div",{className:"flex items-center gap-3 text-white/80",children:[c.jsx("span",{className:"font-display text-3xl text-accent",children:"$97"}),c.jsx("span",{className:"text-sm",children:"/ acceso de por vida"})]})]})]})})]}),c.jsx("section",{className:"py-20 md:py-28 bg-background",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-14",children:[c.jsx("p",{className:"text-pink font-medium mb-4 uppercase tracking-[0.2em] text-xs",children:"Incluye"}),c.jsxs("h2",{className:"text-balance",children:["Todo lo que necesitas para"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"recorrer la Ruta."})]})]}),c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-
2665",children:M5.map((e,t)=>c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.08},className:"bg-card rounded-3xl p-6 border border-border/60",children:[c.jsx("div",{className:"w-12 h-12 rounded-2xl bg-gradient-pink flex items-center justify-center mb-4",children:c.jsx(e.icon,{className:"h-6 w-6 text-white"})}),c.jsx("p",{className:"font-display text-lg mb-1",children:e.t}),c.jsx("p",{className:"text-sm text-foreground/60",children:e.d})]},e.t))})]})}),c.jsx("section",{className:"py-20 md:py-28 bg-background-alt",children:c.jsxs("div",{className:"container",children:[c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-3xl mb-14",children:[c.jsx("p",{className:"text-pink font-medium mb-4 uppercase tracking-[0.2em] text-xs",children:"Programa"}),c.jsxs("h2",{className:"text-balance",children:["6 módulos. Un"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"camino completo."})]})]}),c.jsx("div",{className:"grid md:grid-cols-2 gap-5 max-w-5xl",children:A5.map((e,t)=>c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:t*.06},className:"group bg-card rounded-3xl p-6 md:p-7 border border-border/60 hover:border-pink/40 hover:shadow-medium transition-all duration-300 flex gap-5 items-start",children:[c.jsx("span",{className:"font-display text-3xl text-pink group-hover:scale-110 transition-transform",children:e.n}),c.jsxs("div",{children:[c.jsx("h3",{className:"font-display text-xl mb-2",children:e.t}),c.jsx("p",{className:"text-foreground/65 leading-relaxed",children:e.d})]})]},e.n))})]})}),c.jsx("section",{className:"py-20 md:py-28 bg-background",children:c.jsx("div",{className:"container max-w-4xl",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[c.jsx("p",{className:"text-pink font-medium mb-4 uppercase tracking-[0.2em] text-xs",children:"¿Es para ti?"}),c.jsxs("h2",{className:"text-balance mb-10",children:["Si te ves aquí,"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"este curso es tuyo."})]}),c.jsx("ul",{className:"space-y-4",children:["Estás cuidando a alguien y nadie te enseñó cómo.","Sientes que cargas todo en tu cabeza y ya pesa.","Quieres pedir ayuda pero no sabes cómo abrir esa conversación.","Eres profesional del cuidado y necesitas un marco humano y replicable.","Trabajas en una institución y buscas un modelo real para acompañar familias."].map(e=>c.jsxs("li",{className:"flex items-start gap-4 p-5 rounded-2xl bg-card border border-border/60",children:[c.jsx(Bx,{className:"h-6 w-6 text-pink shrink-0 mt-0.5"}),c.jsx("span",{className:"text-lg text-foreground/80",children:e})]},e))})]})})}),c.jsxs("section",{className:"relative py-24 md:py-32 overflow-hidden bg-gradient-dawn text-white",children:[c.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 bg-mesh opacity-50"}),c.jsxs("div",{className:"container relative z-10 max-w-3xl text-center space-y-8",children:[c.jsx($x,{className:"h-12 w-12 mx-auto text-accent"}),c.jsxs("h2",{className:"text-white text-balance",children:["Empieza hoy."," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"Avanza a tu ritmo."})]}),c.jsx("p",{className:"text-lg md:text-xl text-white/80 text-pretty",children:"Acceso de por vida. Comunidad incluida. Sin fechas, sin presión."}),c.jsx("div",{className:"flex items-center justify-center gap-4 pt-2",children:c.jsx("span",{className:"font-display text-5xl text-accent",children:"$97"})}),c.jsx(Ge,{variant:"pink",size:"xl",asChild:!0,children:c.jsxs("a",{href:"https://go.hotmart.com/D103681872L",target:"_blank",rel:"noopener noreferrer",children:["Inscribirme ahora ",c.jsx(Pe,{className:"h-5 w-5"})]})})]})]}),c.jsx(ss,{})]}),D5=[{icon:xk,title:"Perfiles sociales y profesionales",desc:"Tu identidad completa, sin reducirte a un CV."},{icon:Mk,title:"Mensajería privada",desc:"Conversaciones 1:1 con quien sume a tu propósito."},{icon:zx,title:"Eventos en vivo",desc:"Webinars, encuentros presenciales y comunidades temáticas."},{icon:Dk,title:"Retos & gamificación",desc:"Badges, reconocimientos y métricas que validan tu ap
266orte."},{icon:Rk,title:"Grupos territoriales",desc:"Conexión por ciudad, país y región iberoamericana."},{icon:Fx,title:"Páginas organizacionales",desc:"Empresas Age Friendly con identidad propia en la comunidad."}],I5=[{name:"Cuidadores en Acción",desc:"Profesionales formales e informales del cuidado."},{name:"Emprendedores 50+",desc:"Founders senior compartiendo cicatrices y oportunidades."},{name:"Mentores Intergeneracionales",desc:"Mentoría bidireccional entre generaciones."},{name:"Gerontólogos Iberoamérica",desc:"Comunidad profesional de la disciplina rectora."},{name:"Silver Tech Lovers",desc:"Tecnología, IA y herramientas digitales para todos."},{name:"Inversionistas Ángeles",desc:"Capital inteligente para la silver economy."}],O5=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(ts,{}),c.jsxs("main",{className:"pt-28 md:pt-36 pb-20",children:[c.jsx("section",{className:"container",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl",children:[c.jsx("p",{className:"text-teal font-semibold uppercase tracking-[0.2em] text-xs mb-4",children:"Comunidad TITI · La Ruta del Cuidado"}),c.jsxs("h1",{className:"text-balance mb-6",children:["El cuidado se"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"acompaña."})]}),c.jsx("p",{className:"text-lg text-foreground/70 mb-8",children:"La Comunidad TITI es donde cuidadores, familias, profesionales e instituciones se encuentran. Aquí la Ruta del Cuidado se convierte en conversación viva."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsxs("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",children:["Únete a TITI — Crea tu perfil",c.jsx(wn,{className:"h-5 w-5"})]})}),c.jsx(Ge,{variant:"outline",size:"lg",asChild:!0,children:c.jsx("a",{href:"https://titi.social/",target:"_blank",rel:"noopener noreferrer",children:"Explora la comunidad"})})]}),c.jsx("p",{className:"text-xs text-foreground/50 mt-3",children:"Es gratis y toma 2 minutos."})]})}),c.jsxs("section",{className:"container mt-24",children:[c.jsx("p",{className:"text-xs font-bold tracking-[0.2em] text-foreground/40 mb-2",children:"QUÉ ENCUENTRAS DENTRO"}),c.jsx("h2",{className:"text-balance mb-12",children:"Todo lo que una comunidad con propósito debería ser."}),c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:D5.map((e,t)=>c.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05},className:"bg-card rounded-3xl p-6 border border-border/60 hover:border-transparent hover:shadow-medium hover:-translate-y-1 hover:border-t-4 hover:border-t-titi-teal transition-all",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-11 h-11 rounded-2xl bg-gradient-to-br from-primary to-teal text-white mb-4",children:c.jsx(e.icon,{className:"h-5 w-5"})}),c.jsx("h3",{className:"font-display text-lg mb-1.5",children:e.title}),c.jsx("p",{className:"text-sm text-foreground/65 leading-relaxed",children:e.desc})]},e.title))})]}),c.jsxs("section",{className:"container mt-24",children:[c.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-4 mb-12",children:[c.jsxs("div",{children:[c.jsx("p",{className:"text-xs font-bold tracking-[0.2em] text-foreground/40 mb-2",children:"GRUPOS QUE ESTÁN VIBRANDO"}),c.jsx("h2",{className:"text-balance",children:"Encuentra tu tribu."})]}),c.jsxs("a",{href:"https://titi.social/groups/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-titi-pink font-semibold text-sm hover:gap-3 transition-all",children:["Todos los grupos ",c.jsx(wn,{className:"h-4 w-4"})]})]}),c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:I5.map((e,t)=>c.jsxs(Y.a,{href:"https://titi.social/groups/",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05},className:"group bg-card rounded-3xl p-6 border border-border/60 hover:border-transparent hover:shadow-medium hover:-translate-y-1 hover:border-t-4 hover:border-t-titi-teal transition-all",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-11 h-11 rounded-2xl bg-titi-pink/10 text-titi-pink mb-4",children:c.jsx(So,{className:"h-5 w-5"})}),c.jsx("h3",{className:"font-display text-lg mb-1",children:e.name}
266),c.jsx("p",{className:"text-sm text-foreground/65 leading-relaxed mb-3",children:e.desc}),c.jsx("span",{className:"text-titi-pink text-sm font-semibold",children:"Unirme →"})]},e.name))})]}),c.jsx("section",{className:"container mt-24",children:c.jsxs("div",{className:"bg-titi-navy text-white rounded-3xl p-10 md:p-14 text-center",children:[c.jsxs("h2",{className:"text-white text-balance mb-4",children:["¿Listo para ",c.jsx("span",{className:"text-titi-yellow",children:"caminar acompañado"}),"?"]}),c.jsx("p",{className:"text-white/70 max-w-xl mx-auto mb-8",children:"Crea tu perfil gratis en 2 minutos y entra a la Comunidad TITI."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",children:"Únete a TITI — Crea tu perfil"})}),c.jsx(Ge,{variant:"yellow",size:"lg",asChild:!0,children:c.jsx("a",{href:"https://titi.social/groups/",target:"_blank",rel:"noopener noreferrer",children:"Ver todos los grupos"})})]})]})})]}),c.jsx(ss,{})]}),V5=[{title:"Rutas de cuidado en LATAM",desc:"Cómo se está articulando el cuidado en la región."},{title:"Historias de cuidadores",desc:"Voces reales que sostienen el ecosistema."},{title:"Novedades del ecosistema TITI",desc:"Alianzas, lanzamientos y momentos clave."},{title:"Silver Economy en movimiento",desc:"Datos y tendencias del envejecimiento activo."},{title:"Innovación y cuidado",desc:"Tecnología con sentido humano."},{title:"Eventos y encuentros",desc:"Lo que está pasando presencial y virtualmente."}],Vg=()=>c.jsxs("div",{className:"min-h-screen bg-background",children:[c.jsx(ts,{}),c.jsxs("main",{className:"pt-28 md:pt-36 pb-20",children:[c.jsx("section",{className:"container",children:c.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"max-w-3xl",children:[c.jsx("p",{className:"text-teal font-semibold uppercase tracking-[0.2em] text-xs mb-4",children:"Actualidad · Lo último del ecosistema TITI"}),c.jsxs("h1",{className:"text-balance mb-6",children:["Lo que está"," ",c.jsx("span",{className:"italic font-display text-gradient-warm",children:"pasando ahora"}),"."]}),c.jsx("p",{className:"text-lg text-foreground/70 mb-8",children:"Noticias, historias y aprendizajes del ecosistema TITI. Todo se publica y actualiza en el blog central de la comunidad."}),c.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsxs("a",{href:"https://titi.social/blog-noticias-titi/",target:"_blank",rel:"noopener noreferrer",children:["Ver todas las noticias",c.jsx(wn,{className:"h-5 w-5"})]})}),c.jsx(Ge,{variant:"outline",size:"lg",asChild:!0,children:c.jsx("a",{href:"https://titi.social/",target:"_blank",rel:"noopener noreferrer",children:"Explora la comunidad"})})]})]})}),c.jsx("section",{className:"container mt-20",children:c.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:V5.map((e,t)=>c.jsxs(Y.a,{href:"https://titi.social/blog-noticias-titi/",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:t*.05},className:"group bg-card rounded-3xl p-7 border border-border/60 hover:border-transparent hover:shadow-medium hover:-translate-y-1 hover:border-t-4 hover:border-t-titi-teal transition-all",children:[c.jsx("div",{className:"inline-flex items-center justify-center w-11 h-11 rounded-2xl bg-gradient-to-br from-primary to-teal text-white mb-4",children:c.jsx(Rf,{className:"h-5 w-5"})}),c.jsxs("h3",{className:"font-display text-lg mb-2 flex items-center gap-2",children:[e.title,c.jsx(wn,{className:"h-4 w-4 text-foreground/40 group-hover:text-titi-pink transition-colors"})]}),c.jsx("p",{className:"text-sm text-foreground/65 leading-relaxed",children:e.desc})]},e.title))})}),c.jsx("section",{className:"container mt-24",children:c.jsxs("div",{className:"bg-titi-navy text-white rounded-3xl p-10 md:p-14 text-center",children:[c.jsxs("h2",{className:"text-white text-balance mb-4",children:["No te pierdas"," ",c.jsx("span",{className:"text-titi-yellow",children:"nada del ecosistema"}),"."]}),c.jsx("p",{className:"text-white/70 max-w-xl mx-auto mb-8",children:"Únete a la Comunidad TITI y recibe las novedades directo en tu perfil."}),c.jsx(Ge,{variant:"pink",size:"lg",asChild:!0,children:c.jsx("a",{href:"https://titi.social/registro/",target:"_blank",rel:"noopener noreferrer",children:"Únete a TITI — Crea tu perfil"})}),c.jsx("p",{className:"text-xs text-white/50 mt-3",children:"Es gratis y toma 2 minutos."})]})})]}),c.jsx(ss,{})]}),_5=new KT,F5=()=>{const{pathname:e,hash:t}=Qr();return b.useEffect(()=>{if(t){const n=document.querySelector(t);if(n){setTimeout(()=>n.scrollIntoView({behavior:"smooth"}),50);return}}window.scrollTo({top:0,behavior:"instant"})},[e,t]),null},z5=()=>c.jsx(GT,{client:_5,children:c.jsxs(ST,{children:[c.jsx(v2,{}),c.jsx(Q2,{}),c.jsxs(Hj,{children:[c.jsx(F5,{}),c.jsxs(_j,{children:[c.jsx(lt,{path:"/",element:c.jsx(p5,{})}),c.jsx(lt,{path:"/reconocer",element:c.jsx(x5,{})}),c.jsx(lt,{path:"/ordenar",element:c.jsx(b5,{})}),c.jsx(lt,{path:"/transformar",element:c.jsx(C5,{})}),c.jsx(lt,{path:"/sostener",element:c.jsx(E5,{})}),c.jsx(lt,{path:"/articular",element:c.jsx(j5,{})}),c.jsx(lt,{path:"/productos",element:c.jsx(P5,{})}),c.jsx(lt,{path:"/curso",element:c.jsx(L5,{})}),c.jsx(lt,{path:"/comunidad",element:c.jsx(O5,{})}),c.jsx(lt,{path:"/actualidad",element:c.jsx(Vg,{})}),c.jsx(lt,{path:"/noticias",element:c.jsx(Vg,{})}),c.jsx(lt,{path:"*",element:c.jsx(m5,{})})]})]})]})});ax(document.getElementById("root")).render(c.jsx(z5,{}));

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.