1var uh=n=>{throw TypeError(n)};var dh=(n,e,i)=>e.has(n)||uh("Cannot "+i);var lt=(n,e,i)=>(dh(n,e,"read from private field"),i?i.call(n):e.get(n)),fh=(n,e,i)=>e.has(n)?uh("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,i),$c=(n,e,i,s)=>(dh(n,e,"write to private field"),s?s.call(n,i):e.set(n,i),i);function Pb(n,e){for(var i=0;i<e.length;i++){const s=e[i];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in n)){const c=Object.getOwnPropertyDescriptor(s,a);c&&Object.defineProperty(n,a,c.get?c:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))s(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(a){if(a.ep)return;a.ep=!0;const c=i(a);fetch(a.href,c)}})();function ji(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var qc={exports:{}},hs={},Hc={exports:{}},ge={};var ph;function kb(){if(ph)return ge;ph=1;var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),v=Symbol.iterator;function y(A){return A===null||typeof A!="object"?null:(A=v&&A[v]||A["@@iterator"],typeof A=="function"?A:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,N={};function j(A,F,fe){this.props=A,this.context=F,this.refs=N,this.updater=fe||S}j.prototype.isReactComponent={},j.prototype.setState=function(A,F){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,F,"setState")},j.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function T(){}T.prototype=j.prototype;function O(A,F,fe){this.props=A,this.context=F,this.refs=N,this.updater=fe||S}var k=O.prototype=new T;k.constructor=O,E(k,j.prototype),k.isPureReactComponent=!0;var _=Array.isArray,D=Object.prototype.hasOwnProperty,B={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function K(A,F,fe){var pe,xe={},we=null,Te=null;if(F!=null)for(pe in F.ref!==void 0&&(Te=F.ref),F.key!==void 0&&(we=""+F.key),F)D.call(F,pe)&&!W.hasOwnProperty(pe)&&(xe[pe]=F[pe]);var Ne=arguments.length-2;if(Ne===1)xe.children=fe;else if(1<Ne){for(var Ie=Array(Ne),Ct=0;Ct<Ne;Ct++)Ie[Ct]=arguments[Ct+2];xe.children=Ie}if(A&&A.defaultProps)for(pe in Ne=A.defaultProps,Ne)xe[pe]===void 0&&(xe[pe]=Ne[pe]);return{$$typeof:n,type:A,key:we,ref:Te,props:xe,_owner:B.current}}function re(A,F){return{$$typeof:n,type:A.type,key:F,ref:A.ref,props:A.props,_owner:A._owner}}function ce(A){return typeof A=="object"&&A!==null&&A.$$typeof===n}function ve(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(fe){return F[fe]})}var Y=/\/+/g;function he(A,F){return typeof A=="object"&&A!==null&&A.key!=null?ve(""+A.key):F.toString(36)}function ye(A,F,fe,pe,xe){var we=typeof A;(we==="undefined"||we==="boolean")&&(A=null);var Te=!1;if(A===null)Te=!0;else switch(we){case"string":case"number":Te=!0;break;case"object":switch(A.$$typeof){case n:case e:Te=!0}}if(Te)return Te=A,xe=xe(Te),A=pe===""?"."+he(Te,0):pe,_(xe)?(fe="",A!=null&&(fe=A.replace(Y,"$&/")+"/"),ye(xe,F,fe,"",function(Ct){return Ct})):xe!=null&&(ce(xe)&&(xe=re(xe,fe+(!xe.key||Te&&Te.key===xe.key?"":(""+xe.key).replace(Y,"$&/")+"/")+A)),F.push(xe)),1;if(Te=0,pe=pe===""?".":pe+":",_(A))for(var Ne=0;Ne<A.length;Ne++){we=A[Ne];var Ie=pe+he(we,Ne);Te+=ye(we,F,fe,Ie,xe)}else if(Ie=y(A),typeof Ie=="function")for(A=Ie.call(A),Ne=0;!(we=A.next()).done;)we=we.value,Ie=pe+he(we,Ne++),Te+=ye(we,F,fe,Ie,xe);else if(we==="object")throw F=String(A),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return Te}function Se(A,F,fe){if(A==null)return A;var pe=[],xe=0;return ye(A,pe,"","",function(we){return F.call(fe,we,xe++)}),pe}function ie(A){if(A._status===-1){var F=A._result;F=F(),F.then(function(fe){(A._status===0||A._status===-1)&&(A._status=1,A._result=fe)},function(fe){(A._status===0||A._status===-1)&&(A._status=2,A._result=fe)}),A._status===-1&&(A._status=0,A._result=F)}if(A._status===1)return A._result.default;throw A._result}var ee={current:null},$={transition:null},J={ReactCurrentDispatcher:ee,ReactCurrentBatchConfig:$,ReactCurrentOwner:B};function G(){throw Error("act(...) is not supported in production builds of React.")}return ge.Children={map:Se,forEach:function(A,F,fe){Se(A,function(){F.apply(this,arguments)},fe)},count:function(A){var F=0;return Se(A,function(){F++}),F},toArray:function(A){return Se(A,function(F){return F})||[]},only:function(A){if(!ce(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},ge.Component=j,ge.Fragment=i,ge.Profiler=a,ge.PureComponent=O,ge.StrictMode=s,ge.Suspense=p,ge.__SECRET_INT
vendor: 4,383 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,ge.act=G,ge.cloneElement=function(A,F,fe){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var pe=E({},A.props),xe=A.key,we=A.ref,Te=A._owner;if(F!=null){if(F.ref!==void 0&&(we=F.ref,Te=B.current),F.key!==void 0&&(xe=""+F.key),A.type&&A.type.defaultProps)var Ne=A.type.defaultProps;for(Ie in F)D.call(F,Ie)&&!W.hasOwnProperty(Ie)&&(pe[Ie]=F[Ie]===void 0&&Ne!==void 0?Ne[Ie]:F[Ie])}var Ie=arguments.length-2;if(Ie===1)pe.children=fe;else if(1<Ie){Ne=Array(Ie);for(var Ct=0;Ct<Ie;Ct++)Ne[Ct]=arguments[Ct+2];pe.children=Ne}return{$$typeof:n,type:A.type,key:xe,ref:we,props:pe,_owner:Te}},ge.createContext=function(A){return A={$$typeof:d,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:c,_context:A},A.Consumer=A},ge.createElement=K,ge.createFactory=function(A){var F=K.bind(null,A);return F.type=A,F},ge.createRef=function(){return{current:null}},ge.forwardRef=function(A){return{$$typeof:f,render:A}},ge.isValidElement=ce,ge.lazy=function(A){return{$$typeof:x,_payload:{_status:-1,_result:A},_init:ie}},ge.memo=function(A,F){return{$$typeof:h,type:A,compare:F===void 0?null:F}},ge.startTransition=function(A){var F=$.transition;$.transition={};try{A()}finally{$.transition=F}},ge.unstable_act=G,ge.useCallback=function(A,F){return ee.current.useCallback(A,F)},ge.useContext=function(A){return ee.current.useContext(A)},ge.useDebugValue=function(){},ge.useDeferredValue=function(A){return ee.current.useDeferredValue(A)},ge.useEffect=function(A,F){return ee.current.useEffect(A,F)},ge.useId=function(){return ee.current.useId()},ge.useImperativeHandle=function(A,F,fe){return ee.current.useImperativeHandle(A,F,fe)},ge.useInsertionEffect=function(A,F){return ee.current.useInsertionEffect(A,F)},ge.useLayoutEffect=function(A,F){return ee.current.useLayoutEffect(A,F)},ge.useMemo=function(A,F){return ee.current.useMemo(A,F)},ge.useReducer=function(A,F,fe){return ee.current.useReducer(A,F,fe)},ge.useRef=function(A){return ee.current.useRef(A)},ge.useState=function(A){return ee.current.useState(A)},ge.useSyncExternalStore=function(A,F,fe){return ee.current.useSyncExternalStore(A,F,fe)},ge.useTransition=function(){return ee.current.useTransition()},ge.version="18.3.1",ge}var mh;function Ma(){return mh||(mh=1,Hc.exports=kb()),Hc.exports}var hh;function Rb(){if(hh)return hs;hh=1;var n=Ma(),e=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(f,p,h){var x,v={},y=null,S=null;h!==void 0&&(y=""+h),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(S=p.ref);for(x in p)s.call(p,x)&&!c.hasOwnProperty(x)&&(v[x]=p[x]);if(f&&f.defaultProps)for(x in p=f.defaultProps,p)v[x]===void 0&&(v[x]=p[x]);return{$$typeof:e,type:f,key:y,ref:S,props:v,_owner:a.current}}return hs.Fragment=i,hs.jsx=d,hs.jsxs=d,hs}var gh;function Ab(){return gh||(gh=1,qc.exports=Rb()),qc.exports}var l=Ab(),b=Ma();const pi=ji(b),_a=Pb({__proto__:null,default:pi},[b]);var aa={},Wc={exports:{}},St={},Kc={exports:{}},Gc={};var xh;function Ob(){return xh||(xh=1,(function(n){function e($,J){var G=$.length;$.push(J);e:for(;0<G;){var A=G-1>>>1,F=$[A];if(0<a(F,J))$[A]=J,$[G]=F,G=A;else break e}}function i($){return $.length===0?null:$[0]}function s($){if($.length===0)return null;var J=$[0],G=$.pop();if(G!==J){$[0]=G;e:for(var A=0,F=$.length,fe=F>>>1;A<fe;){var pe=2*(A+1)-1,xe=$[pe],we=pe+1,Te=$[we];if(0>a(xe,G))we<F&&0>a(Te,xe)?($[A]=Te,$[we]=G,A=we):($[A]=xe,$[pe]=G,A=pe);else if(we<F&&0>a(Te,G))$[A]=Te,$[we]=G,A=we;else break e}}return J}function a($,J){var G=$.sortIndex-J.sortIndex;return G!==0?G:$.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var d=Date,f=d.now();n.unstable_now=function(){return d.now()-f}}var p=[],h=[],x=1,v=null,y=3,S=!1,E=!1,N=!1,j=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);
vendor: 51,499 bytes, lines 1-6
1function k($){for(var J=i(h);J!==null;){if(J.callback===null)s(h);else if(J.startTime<=$)s(h),J.sortIndex=J.expirationTime,e(p,J);else break;J=i(h)}}function _($){if(N=!1,k($),!E)if(i(p)!==null)E=!0,ie(D);else{var J=i(h);J!==null&&ee(_,J.startTime-$)}}function D($,J){E=!1,N&&(N=!1,T(K),K=-1),S=!0;var G=y;try{for(k(J),v=i(p);v!==null&&(!(v.expirationTime>J)||$&&!ve());){var A=v.callback;if(typeof A=="function"){v.callback=null,y=v.priorityLevel;var F=A(v.expirationTime<=J);J=n.unstable_now(),typeof F=="function"?v.callback=F:v===i(p)&&s(p),k(J)}else s(p);v=i(p)}if(v!==null)var fe=!0;else{var pe=i(h);pe!==null&&ee(_,pe.startTime-J),fe=!1}return fe}finally{v=null,y=G,S=!1}}var B=!1,W=null,K=-1,re=5,ce=-1;function ve(){return!(n.unstable_now()-ce<re)}function Y(){if(W!==null){var $=n.unstable_now();ce=$;var J=!0;try{J=W(!0,$)}finally{J?he():(B=!1,W=null)}}else B=!1}var he;if(typeof O=="function")he=function(){O(Y)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,Se=ye.port2;ye.port1.onmessage=Y,he=function(){Se.postMessage(null)}}else he=function(){j(Y,0)};function ie($){W=$,B||(B=!0,he())}function ee($,J){K=j(function(){$(n.unstable_now())},J)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function($){$.callback=null},n.unstable_continueExecution=function(){E||S||(E=!0,ie(D))},n.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<$?Math.floor(1e3/$):5},n.unstable_getCurrentPriorityLevel=function(){return y},n.unstable_getFirstCallbackNode=function(){return i(p)},n.unstable_next=function($){switch(y){case 1:case 2:case 3:var J=3;break;default:J=y}var G=y;y=J;try{return $()}finally{y=G}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function($,J){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var G=y;y=$;try{return J()}finally{y=G}},n.unstable_scheduleCallback=function($,J,G){var A=n.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?A+G:A):G=A,$){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=G+F,$={id:x++,callback:J,priorityLevel:$,startTime:G,expirationTime:F,sortIndex:-1},G>A?($.sortIndex=G,e(h,$),i(p)===null&&$===i(h)&&(N?(T(K),K=-1):N=!0,ee(_,G-A))):($.sortIndex=F,e(p,$),E||S||(E=!0,ie(D))),$},n.unstable_shouldYield=ve,n.unstable_wrapCallback=function($){var J=y;return function(){var G=y;y=J;try{return $.apply(this,arguments)}finally{y=G}}}})(Gc)),Gc}var vh;function Ib(){return vh||(vh=1,Kc.exports=Ob()),Kc.exports}var yh;function Lb(){if(yh)return St;yh=1;var n=Ma(),e=Ib();function i(t){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+t+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,a={};function c(t,r){d(t,r),d(t+"Capture",r)}function d(t,r){for(a[t]=r,t=0;t<r.length;t++)s.add(r[t])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,h=/^[: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]*$/,x={},v={};function y(t){return p.call(v,t)?!0:p.call(x,t)?!1:h.test(t)?v[t]=!0:(x[t]=!0,!1)}function S(t,r,o,u){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:o!==null?!o.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function E(t,r,o,u){if(r===null||typeof r>"u"||S(t,r,o,u))return!0;if(u)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function N(t,r,o,u,m,g,w){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=m,this.mustUseProperty=o,this.propertyName=t,this.type=r,this.sanitizeURL=g,this.removeEmptyString=w}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){j[t]=new N(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var r=t[0];j[r]=new N(r,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){j[t]=new N(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){j[t]=new N(t,2,!1,t,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(t){j[t]=new N(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){j[t]=new N(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){j[t]=new N(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){j[t]=new N(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){j[t]=new N(t,5,!1,t.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function O(t){return t[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(t){var r=t.replace(T,O);j[r]=new N(r,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var r=t.replace(T,O);j[r]=new N(r,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var r=t.replace(T,O);j[r]=new N(r,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){j[t]=new N(t,1,!1,t.toLowerCase(),null,!1,!1)}),j.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){j[t]=new N(t,1,!1,t.toLowerCase(),null,!0,!0)});function k(t,r,o,u){var m=j.hasOwnProperty(r)?j[r]:null;(m!==null?m.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(E(r,o,m,u)&&(o=null),u||m===null?y(r)&&(o===null?t.removeAttribute(r):t.setAttribute(r,""+o)):m.mustUseProperty?t[m.propertyName]=o===null?m.type===3?!1:"":o:(r=m.attributeName,u=m.attributeNamespace,o===null?t.removeAttribute(r):(m=m.type,o=m===3||m===4&&o===!0?"":""+o,u?t.setAttributeNS(u,r,o):t.setAttribute(r,o))))}var _=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D=Symbol.for("react.element"),B=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),ve=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),ye=Symbol.for("react.suspense_list"),Se=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ee=Symbol.for("react.offscreen"),$=Symbol.iterator;function J(t){return t===null||typeof t!="object"?null:(t=$&&t[$]||t["@@iterator"],typeof t=="function"?t:null)}var G=Object.assign,A;function F(t){if(A===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return` 2`+A+t}var fe=!1;function pe(t,r){if(!t||fe)return"";fe=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(M){var u=M}Reflect.construct(t,[],r)}else{try{r.call()}catch(M){u=M}t.call(r.prototype)}else{try{throw Error()}catch(M){u=M}t()}}catch(M){if(M&&u&&typeof M.stack=="string"){for(var m=M.stack.split(` 3`),g=u.stack.split(` 4`),w=m.length-1,C=g.length-1;1<=w&&0<=C&&m[w]!==g[C];)C--;for(;1<=w&&0<=C;w--,C--)if(m[w]!==g[C]){if(w!==1||C!==1)do if(w--,C--,0>C||m[w]!==g[C]){var P=` 5`+m[w].replace(" at new "," at ");return t.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",t.displayName)),P}while(1<=w&&0<=C);break}}}finally{fe=!1,Error.prepareStackTrace=o}return(t=t?t.displayName||t.name:"")?F(t):""}function xe(t){switch(t.tag){case 5:return F(t.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return t=pe(t.type,!1),t;case 11:return t=pe(t.type.render,!1),t;case 1:return t=pe(t.type,!0),t;default:return""}}function we(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case W:return"Fragment";case B:return"Portal";case re:return"Profiler";case K:return"StrictMode";case he:return"Suspense";case ye:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case ve:return(t.displayName||"Context")+".Consumer";case ce:return(t._context.displayName||"Context")+".Provider";case Y:var r=t.render;return t=t.displayName,t||(t=r.displayName||r.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Se:return r=t.displayName||null,r!==null?r:we(t.type)||"Memo";case ie:r=t._payload,t=t._init;try{return we(t(r))}catch{}}return null}function Te(t){var r=t.type;switch(t.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=r.render,t=t.displayName||t.name||"",r.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return we(r);case 8:return r===K?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Ne(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ie(t){var r=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ct(t){var r=Ie(t)?"checked":"value",o=Object.getOwnPropertyDescriptor(t.constructor.prototype,r),u=""+t[r];if(!t.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var m=o.get,g=o.set;return Object.defineProperty(t,r,{configurable:!0,get:function(){return m.call(this)},set:function(w){u=""+w,g.call(this,w)}}),Object.defineProperty(t,r,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(w){u=""+w},stopTracking:function(){t._valueTracker=null,delete t[r]}}}}function Qs(t){t._valueTracker||(t._valueTracker=Ct(t))}function gf(t){if(!t)return!1;var r=t._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return t&&(u=Ie(t)?t.checked?"true":"false":t.value),t=u,t!==o?(r.setValue(t),!0):!1}function Xs(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Qa(t,r){var o=r.checked;return G({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??t._wrapperState.initialChecked})}function xf(t,r){var o=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;o=Ne(r.value!=null?r.value:o),t._wrapperState={initialChecked:u,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function vf(t,r){r=r.checked,r!=null&&k(t,"checked",r,!1)}function Xa(t,r){vf(t,r);var o=Ne(r.value),u=r.type;if(o!=null)u==="number"?(o===0&&t.value===""||t.value!=o)&&(t.value=""+o):t.value!==""+o&&(t.value=""+o);else if(u==="submit"||u==="reset"){t.removeAttribute("value");return}r.hasOwnProperty("value")?Ja(t,r.type,o):r.hasOwnProperty("defaultValue")&&Ja(t,r.type,Ne(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(t.defaultChecked=!!r.defaultChecked)}function yf(t,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+t._wrapperState.initialValue,o||r===t.value||(t.value=r),t.defaultValue=r}o=t.name,o!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,o!==""&&(t.name=o)}function Ja(t,r,o){(r!=="number"||Xs(t.ownerDocument)!==t)&&(o==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+o&&(t.defaultValue=""+o))}var Ri=Array.isArray;function Ir(t,r,o,u){if(t=t.options,r){r={};for(var m=0;m<o.length;m++)r["$"+o[m]]=!0;for(o=0;o<t.length;o++)m=r.hasOwnProperty("$"+t[o].value),t[o].selected!==m&&(t[o].selected=m),m&&u&&(t[o].defaultSelected=!0)}else{for(o=""+Ne(o),r=null,m=0;m<t.length;m++){if(t[m].value===o){t[m].selected=!0,u&&(t[m].defaultSelected=!0);return}r!==null||t[m].disabled||(r=t[m])}r!==null&&(r.selected=!0)}}function Za(t,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return G({},r,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function wf(t,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(Ri(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}t._wrapperState={initialValue:Ne(o)}}function bf(t,r){var o=Ne(r.value),u=Ne(r.defaultValue);o!=null&&(o=""+o,o!==t.value&&(t.value=o),r.defaultValue==null&&t.defaultValue!==o&&(t.defaultValue=o)),u!=null&&(t.defaultValue=""+u)}function jf(t){var r=t.textContent;r===t._wrapperState.initialValue&&r!==""&&r!==null&&(t.value=r)}function Sf(t){switch(t){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 el(t,r){return t==null||t==="http://www.w3.org/1999/xhtml"?Sf(r):t==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Js,Nf=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,u,m){MSApp.execUnsafeLocalFunction(function(){return t(r,o,u,m)})}:t})(function(t,r){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=r;else{for(Js=Js||document.createElement("div"),Js.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Js.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;r.firstChild;)t.appendChild(r.firstChild)}});function Ai(t,r){if(r){var o=t.firstChild;if(o&&o===t.lastChild&&o.nodeType===3){o.nodeValue=r;return}}t.textContent=r}var Oi={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},O0=["Webkit","ms","Moz","O"];Object.keys(Oi).forEach(function(t){O0.forEach(function(r){r=r+t.charAt(0).toUpperCase()+t.substring(1),Oi[r]=Oi[t]})});function Ef(t,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||Oi.hasOwnProperty(t)&&Oi[t]?(""+r).trim():r+"px"}function Cf(t,r){t=t.style;for(var o in r)if(r.hasOwnProperty(o)){var u=o.indexOf("--")===0,m=Ef(o,r[o],u);o==="float"&&(o="cssFloat"),u?t.setProperty(o,m):t[o]=m}}var I0=G({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 tl(t,r){if(r){if(I0[t]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,t));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function nl(t,r){if(t.indexOf("-")===-1)return typeof r.is=="string";switch(t){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 rl=null;function il(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sl=null,Lr=null,Mr=null;function Tf(t){if(t=es(t)){if(typeof sl!="function")throw Error(i(280));var r=t.stateNode;r&&(r=jo(r),sl(t.stateNode,t.type,r))}}function Pf(t){Lr?Mr?Mr.push(t):Mr=[t]:Lr=t}function kf(){if(Lr){var t=Lr,r=Mr;if(Mr=Lr=null,Tf(t),r)for(t=0;t<r.length;t++)Tf(r[t])}}function Rf(t,r){return t(r)}function Af(){}var ol=!1;function Of(t,r,o){if(ol)return t(r,o);ol=!0;try{return Rf(t,r,o)}finally{ol=!1,(Lr!==null||Mr!==null)&&(Af(),kf())}}function Ii(t,r){var o=t.stateNode;if(o===null)return null;var u=jo(o);if(u===null)return null;o=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(t=t.type,u=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!u;break e;default:t=!1}if(t)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var al=!1;if(f)try{var Li={};Object.defineProperty(Li,"passive",{get:function(){al=!0}}),window.addEventListener("test",Li,Li),window.removeEventListener("test",Li,Li)}catch{al=!1}function L0(t,r,o,u,m,g,w,C,P){var M=Array.prototype.slice.call(arguments,3);try{r.apply(o,M)}catch(U){this.onError(U)}}var Mi=!1,Zs=null,eo=!1,ll=null,M0={onError:function(t){Mi=!0,Zs=t}};function _0(t,r,o,u,m,g,w,C,P){Mi=!1,Zs=null,L0.apply(M0,arguments)}function D0(t,r,o,u,m,g,w,C,P){if(_0.apply(this,arguments),Mi){if(Mi){var M=Zs;Mi=!1,Zs=null}else throw Error(i(198));eo||(eo=!0,ll=M)}}function cr(t){var r=t,o=t;if(t.alternate)for(;r.return;)r=r.return;else{t=r;do r=t,(r.flags&4098)!==0&&(o=r.return),t=r.return;while(t)}return r.tag===3?o:null}function If(t){if(t.tag===13){var r=t.memoizedState;if(r===null&&(t=t.alternate,t!==null&&(r=t.memoizedState)),r!==null)return r.dehydrated}return null}function Lf(t){if(cr(t)!==t)throw Error(i(188))}function V0(t){var r=t.alternate;if(!r){if(r=cr(t),r===null)throw Error(i(188));return r!==t?null:t}for(var o=t,u=r;;){var m=o.return;if(m===null)break;var g=m.alternate;if(g===null){if(u=m.return,u!==null){o=u;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===o)return Lf(m),t;if(g===u)return Lf(m),r;g=g.sibling}throw Error(i(188))}if(o.return!==u.return)o=m,u=g;else{for(var w=!1,C=m.child;C;){if(C===o){w=!0,o=m,u=g;break}if(C===u){w=!0,u=m,o=g;break}C=C.sibling}if(!w){for(C=g.child;C;){if(C===o){w=!0,o=g,u=m;break}if(C===u){w=!0,u=g,o=m;break}C=C.sibling}if(!w)throw Error(i(189))}}if(o.alternate!==u)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?t:r}function Mf(t){return t=V0(t),t!==null?_f(t):null}function _f(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var r=_f(t);if(r!==null)return r;t=t.sibling}return null}var Df=e.unstable_scheduleCallback,Vf=e.unstable_cancelCallback,F0=e.unstable_shouldYield,z0=e.unstable_requestPaint,$e=e.unstable_now,U0=e.unstable_getCurrentPriorityLevel,cl=e.unstable_ImmediatePriority,Ff=e.unstable_UserBlockingPriority,to=e.unstable_NormalPriority,B0=e.unstable_LowPriority,zf=e.unstable_IdlePriority,no=null,an=null;function $0(t){if(an&&typeof an.onCommitFiberRoot=="function")try{an.onCommitFiberRoot(no,t,void 0,(t.current.flags&128)===128)}catch{}}var Gt=Math.clz32?Math.clz32:W0,q0=Math.log,H0=Math.LN2;function W0(t){return t>>>=0,t===0?32:31-(q0(t)/H0|0)|0}var ro=64,io=4194304;function _i(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function so(t,r){var o=t.pendingLanes;if(o===0)return 0;var u=0,m=t.suspendedLanes,g=t.pingedLanes,w=o&268435455;if(w!==0){var C=w&~m;C!==0?u=_i(C):(g&=w,g!==0&&(u=_i(g)))}else w=o&~m,w!==0?u=_i(w):g!==0&&(u=_i(g));if(u===0)return 0;if(r!==0&&r!==u&&(r&m)===0&&(m=u&-u,g=r&-r,m>=g||m===16&&(g&4194240)!==0))return r;if((u&4)!==0&&(u|=o&16),r=t.entangledLanes,r!==0)for(t=t.entanglements,r&=u;0<r;)o=31-Gt(r),m=1<<o,u|=t[o],r&=~m;return u}function K0(t,r){switch(t){case 1:case 2:case 4:return r+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 r+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 G0(t,r){for(var o=t.suspendedLanes,u=t.pingedLanes,m=t.expirationTimes,g=t.pendingLanes;0<g;){var w=31-Gt(g),C=1<<w,P=m[w];P===-1?((C&o)===0||(C&u)!==0)&&(m[w]=K0(C,r)):P<=r&&(t.expiredLanes|=C),g&=~C}}function ul(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Uf(){var t=ro;return ro<<=1,(ro&4194240)===0&&(ro=64),t}function dl(t){for(var r=[],o=0;31>o;o++)r.push(t);return r}function Di(t,r,o){t.pendingLanes|=r,r!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,r=31-Gt(r),t[r]=o}function Y0(t,r){var o=t.pendingLanes&~r;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=r,t.mutableReadLanes&=r,t.entangledLanes&=r,r=t.entanglements;var u=t.eventTimes;for(t=t.expirationTimes;0<o;){var m=31-Gt(o),g=1<<m;r[m]=0,u[m]=-1,t[m]=-1,o&=~g}}function fl(t,r){var o=t.entangledLanes|=r;for(t=t.entanglements;o;){var u=31-Gt(o),m=1<<u;m&r|t[u]&r&&(t[u]|=r),o&=~m}}var Ee=0;function Bf(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var $f,pl,qf,Hf,Wf,ml=!1,oo=[],On=null,In=null,Ln=null,Vi=new Map,Fi=new Map,Mn=[],Q0="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 Kf(t,r){switch(t){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":In=null;break;case"mouseover":case"mouseout":Ln=null;break;case"pointerover":case"pointerout":Vi.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fi.delete(r.pointerId)}}function zi(t,r,o,u,m,g){return t===null||t.nativeEvent!==g?(t={blockedOn:r,domEventName:o,eventSystemFlags:u,nativeEvent:g,targetContainers:[m]},r!==null&&(r=es(r),r!==null&&pl(r)),t):(t.eventSystemFlags|=u,r=t.targetContainers,m!==null&&r.indexOf(m)===-1&&r.push(m),t)}function X0(t,r,o,u,m){switch(r){case"focusin":return On=zi(On,t,r,o,u,m),!0;case"dragenter":return In=zi(In,t,r,o,u,m),!0;case"mouseover":return Ln=zi(Ln,t,r,o,u,m),!0;case"pointerover":var g=m.pointerId;return Vi.set(g,zi(Vi.get(g)||null,t,r,o,u,m)),!0;case"gotpointercapture":return g=m.pointerId,Fi.set(g,zi(Fi.get(g)||null,t,r,o,u,m)),!0}return!1}function Gf(t){var r=ur(t.target);if(r!==null){var o=cr(r);if(o!==null){if(r=o.tag,r===13){if(r=If(o),r!==null){t.blockedOn=r,Wf(t.priority,function(){qf(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){t.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ao(t){if(t.blockedOn!==null)return!1;for(var r=t.targetContainers;0<r.length;){var o=gl(t.domEventName,t.eventSystemFlags,r[0],t.nativeEvent);if(o===null){o=t.nativeEvent;var u=new o.constructor(o.type,o);rl=u,o.target.dispatchEvent(u),rl=null}else return r=es(o),r!==null&&pl(r),t.blockedOn=o,!1;r.shift()}return!0}function Yf(t,r,o){ao(t)&&o.delete(r)}function J0(){ml=!1,On!==null&&ao(On)&&(On=null),In!==null&&ao(In)&&(In=null),Ln!==null&&ao(Ln)&&(Ln=null),Vi.forEach(Yf),Fi.forEach(Yf)}function Ui(t,r){t.blockedOn===r&&(t.blockedOn=null,ml||(ml=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,J0)))}function Bi(t){function r(m){return Ui(m,t)}if(0<oo.length){Ui(oo[0],t);for(var o=1;o<oo.length;o++){var u=oo[o];u.blockedOn===t&&(u.blockedOn=null)}}for(On!==null&&Ui(On,t),In!==null&&Ui(In,t),Ln!==null&&Ui(Ln,t),Vi.forEach(r),Fi.forEach(r),o=0;o<Mn.length;o++)u=Mn[o],u.blockedOn===t&&(u.blockedOn=null);for(;0<Mn.length&&(o=Mn[0],o.blockedOn===null);)Gf(o),o.blockedOn===null&&Mn.shift()}var _r=_.ReactCurrentBatchConfig,lo=!0;function Z0(t,r,o,u){var m=Ee,g=_r.transition;_r.transition=null;try{Ee=1,hl(t,r,o,u)}finally{Ee=m,_r.transition=g}}function ew(t,r,o,u){var m=Ee,g=_r.transition;_r.transition=null;try{Ee=4,hl(t,r,o,u)}finally{Ee=m,_r.transition=g}}function hl(t,r,o,u){if(lo){var m=gl(t,r,o,u);if(m===null)Il(t,r,u,co,o),Kf(t,u);else if(X0(m,t,r,o,u))u.stopPropagation();else if(Kf(t,u),r&4&&-1<Q0.indexOf(t)){for(;m!==null;){var g=es(m);if(g!==null&&$f(g),g=gl(t,r,o,u),g===null&&Il(t,r,u,co,o),g===m)break;m=g}m!==null&&u.stopPropagation()}else Il(t,r,u,null,o)}}var co=null;function gl(t,r,o,u){if(co=null,t=il(u),t=ur(t),t!==null)if(r=cr(t),r===null)t=null;else if(o=r.tag,o===13){if(t=If(r),t!==null)return t;t=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null);return co=t,null}function Qf(t){switch(t){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(U0()){case cl:return 1;case Ff:return 4;case to:case B0:return 16;case zf:return 536870912;default:return 16}default:return 16}}var _n=null,xl=null,uo=null;function Xf(){if(uo)return uo;var t,r=xl,o=r.length,u,m="value"in _n?_n.value:_n.textContent,g=m.length;for(t=0;t<o&&r[t]===m[t];t++);var w=o-t;for(u=1;u<=w&&r[o-u]===m[g-u];u++);return uo=m.slice(t,1<u?1-u:void 0)}function fo(t){var r=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&r===13&&(t=13)):t=r,t===10&&(t=13),32<=t||t===13?t:0}function po(){return!0}function Jf(){return!1}function Tt(t){function r(o,u,m,g,w){this._reactName=o,this._targetInst=m,this.type=u,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var C in t)t.hasOwnProperty(C)&&(o=t[C],this[C]=o?o(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?po:Jf,this.isPropagationStopped=Jf,this}return G(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=po)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=po)},persist:function(){},isPersistent:po}),r}var Dr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vl=Tt(Dr),$i=G({},Dr,{view:0,detail:0}),tw=Tt($i),yl,wl,qi,mo=G({},$i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jl,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==qi&&(qi&&t.type==="mousemove"?(yl=t.screenX-qi.screenX,wl=t.screenY-qi.screenY):wl=yl=0,qi=t),yl)},movementY:function(t){return"movementY"in t?t.movementY:wl}}),Zf=Tt(mo),nw=G({},mo,{dataTransfer:0}),rw=Tt(nw),iw=G({},$i,{relatedTarget:0}),bl=Tt(iw),sw=G({},Dr,{animationName:0,elapsedTime:0,pseudoElement:0}),ow=Tt(sw),aw=G({},Dr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),lw=Tt(aw),cw=G({},Dr,{data:0}),ep=Tt(cw),uw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dw={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"},fw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pw(t){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(t):(t=fw[t])?!!r[t]:!1}function jl(){return pw}var mw=G({},$i,{key:function(t){if(t.key){var r=uw[t.key]||t.key;if(r!=="Unidentified")return r}return t.type==="keypress"?(t=fo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?dw[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jl,charCode:function(t){return t.type==="keypress"?fo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?fo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),hw=Tt(mw),gw=G({},mo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tp=Tt(gw),xw=G({},$i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jl}),vw=Tt(xw),yw=G({},Dr,{propertyName:0,elapsedTime:0,pseudoElement:0}),ww=Tt(yw),bw=G({},mo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),jw=Tt(bw),Sw=[9,13,27,32],Sl=f&&"CompositionEvent"in window,Hi=null;f&&"documentMode"in document&&(Hi=document.documentMode);var Nw=f&&"TextEvent"in window&&!Hi,np=f&&(!Sl||Hi&&8<Hi&&11>=Hi),rp=" ",ip=!1;function sp(t,r){switch(t){case"keyup":return Sw.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Vr=!1;function Ew(t,r){switch(t){case"compositionend":return op(r);case"keypress":return r.which!==32?null:(ip=!0,rp);case"textInput":return t=r.data,t===rp&&ip?null:t;default:return null}}function Cw(t,r){if(Vr)return t==="compositionend"||!Sl&&sp(t,r)?(t=Xf(),uo=xl=_n=null,Vr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return np&&r.locale!=="ko"?null:r.data;default:return null}}var Tw={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 ap(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r==="input"?!!Tw[t.type]:r==="textarea"}function lp(t,r,o,u){Pf(u),r=yo(r,"onChange"),0<r.length&&(o=new vl("onChange","change",null,o,u),t.push({event:o,listeners:r}))}var Wi=null,Ki=null;function Pw(t){Cp(t,0)}function ho(t){var r=$r(t);if(gf(r))return t}function kw(t,r){if(t==="change")return r}var cp=!1;if(f){var Nl;if(f){var El="oninput"in document;if(!El){var up=document.createElement("div");up.setAttribute("oninput","return;"),El=typeof up.oninput=="function"}Nl=El}else Nl=!1;cp=Nl&&(!document.documentMode||9<document.documentMode)}function dp(){Wi&&(Wi.detachEvent("onpropertychange",fp),Ki=Wi=null)}function fp(t){if(t.propertyName==="value"&&ho(Ki)){var r=[];lp(r,Ki,t,il(t)),Of(Pw,r)}}function Rw(t,r,o){t==="focusin"?(dp(),Wi=r,Ki=o,Wi.attachEvent("onpropertychange",fp)):t==="focusout"&&dp()}function Aw(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ho(Ki)}function Ow(t,r){if(t==="click")return ho(r)}function Iw(t,r){if(t==="input"||t==="change")return ho(r)}function Lw(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var Yt=typeof Object.is=="function"?Object.is:Lw;function Gi(t,r){if(Yt(t,r))return!0;if(typeof t!="object"||t===null||typeof r!="object"||r===null)return!1;var o=Object.keys(t),u=Object.keys(r);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var m=o[u];if(!p.call(r,m)||!Yt(t[m],r[m]))return!1}return!0}function pp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function mp(t,r){var o=pp(t);t=0;for(var u;o;){if(o.nodeType===3){if(u=t+o.textContent.length,t<=r&&u>=r)return{node:o,offset:r-t};t=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=pp(o)}}function hp(t,r){return t&&r?t===r?!0:t&&t.nodeType===3?!1:r&&r.nodeType===3?hp(t,r.parentNode):"contains"in t?t.contains(r):t.compareDocumentPosition?!!(t.compareDocumentPosition(r)&16):!1:!1}function gp(){for(var t=window,r=Xs();r instanceof t.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)t=r.contentWindow;else break;r=Xs(t.document)}return r}function Cl(t){var r=t&&t.nodeName&&t.nodeName.toLowerCase();return r&&(r==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||r==="textarea"||t.contentEditable==="true")}function Mw(t){var r=gp(),o=t.focusedElem,u=t.selectionRange;if(r!==o&&o&&o.ownerDocument&&hp(o.ownerDocument.documentElement,o)){if(u!==null&&Cl(o)){if(r=u.start,t=u.end,t===void 0&&(t=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(t,o.value.length);else if(t=(r=o.ownerDocument||document)&&r.defaultView||window,t.getSelection){t=t.getSelection();var m=o.textContent.length,g=Math.min(u.start,m);u=u.end===void 0?g:Math.min(u.end,m),!t.extend&&g>u&&(m=u,u=g,g=m),m=mp(o,g);var w=mp(o,u);m&&w&&(t.rangeCount!==1||t.anchorNode!==m.node||t.anchorOffset!==m.offset||t.focusNode!==w.node||t.focusOffset!==w.offset)&&(r=r.createRange(),r.setStart(m.node,m.offset),t.removeAllRanges(),g>u?(t.addRange(r),t.extend(w.node,w.offset)):(r.setEnd(w.node,w.offset),t.addRange(r)))}}for(r=[],t=o;t=t.parentNode;)t.nodeType===1&&r.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)t=r[o],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var _w=f&&"documentMode"in document&&11>=document.documentMode,Fr=null,Tl=null,Yi=null,Pl=!1;function xp(t,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Pl||Fr==null||Fr!==Xs(u)||(u=Fr,"selectionStart"in u&&Cl(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Yi&&Gi(Yi,u)||(Yi=u,u=yo(Tl,"onSelect"),0<u.length&&(r=new vl("onSelect","select",null,r,o),t.push({event:r,listeners:u}),r.target=Fr)))}function go(t,r){var o={};return o[t.toLowerCase()]=r.toLowerCase(),o["Webkit"+t]="webkit"+r,o["Moz"+t]="moz"+r,o}var zr={animationend:go("Animation","AnimationEnd"),animationiteration:go("Animation","AnimationIteration"),animationstart:go("Animation","AnimationStart"),transitionend:go("Transition","TransitionEnd")},kl={},vp={};f&&(vp=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);function xo(t){if(kl[t])return kl[t];if(!zr[t])return t;var r=zr[t],o;for(o in r)if(r.hasOwnProperty(o)&&o in vp)return kl[t]=r[o];return t}var yp=xo("animationend"),wp=xo("animationiteration"),bp=xo("animationstart"),jp=xo("transitionend"),Sp=new Map,Np="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 Dn(t,r){Sp.set(t,r),c(r,[t])}for(var Rl=0;Rl<Np.length;Rl++){var Al=Np[Rl],Dw=Al.toLowerCase(),Vw=Al[0].toUpperCase()+Al.slice(1);Dn(Dw,"on"+Vw)}Dn(yp,"onAnimationEnd"),Dn(wp,"onAnimationIteration"),Dn(bp,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(jp,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qi="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(" "),Fw=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qi));function Ep(t,r,o){var u=t.type||"unknown-event";t.currentTarget=o,D0(u,r,void 0,t),t.currentTarget=null}function Cp(t,r){r=(r&4)!==0;for(var o=0;o<t.length;o++){var u=t[o],m=u.event;u=u.listeners;e:{var g=void 0;if(r)for(var w=u.length-1;0<=w;w--){var C=u[w],P=C.instance,M=C.currentTarget;if(C=C.listener,P!==g&&m.isPropagationStopped())break e;Ep(m,C,M),g=P}else for(w=0;w<u.length;w++){if(C=u[w],P=C.instance,M=C.currentTarget,C=C.listener,P!==g&&m.isPropagationStopped())break e;Ep(m,C,M),g=P}}}if(eo)throw t=ll,eo=!1,ll=null,t}function ke(t,r){var o=r[Fl];o===void 0&&(o=r[Fl]=new Set);var u=t+"__bubble";o.has(u)||(Tp(r,t,2,!1),o.add(u))}function Ol(t,r,o){var u=0;r&&(u|=4),Tp(o,t,u,r)}var vo="_reactListening"+Math.random().toString(36).slice(2);function Xi(t){if(!t[vo]){t[vo]=!0,s.forEach(function(o){o!=="selectionchange"&&(Fw.has(o)||Ol(o,!1,t),Ol(o,!0,t))});var r=t.nodeType===9?t:t.ownerDocument;r===null||r[vo]||(r[vo]=!0,Ol("selectionchange",!1,r))}}function Tp(t,r,o,u){switch(Qf(r)){case 1:var m=Z0;break;case 4:m=ew;break;default:m=hl}o=m.bind(null,r,o,t),m=void 0,!al||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(m=!0),u?m!==void 0?t.addEventListener(r,o,{capture:!0,passive:m}):t.addEventListener(r,o,!0):m!==void 0?t.addEventListener(r,o,{passive:m}):t.addEventListener(r,o,!1)}function Il(t,r,o,u,m){var g=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var w=u.tag;if(w===3||w===4){var C=u.stateNode.containerInfo;if(C===m||C.nodeType===8&&C.parentNode===m)break;if(w===4)for(w=u.return;w!==null;){var P=w.tag;if((P===3||P===4)&&(P=w.stateNode.containerInfo,P===m||P.nodeType===8&&P.parentNode===m))return;w=w.return}for(;C!==null;){if(w=ur(C),w===null)return;if(P=w.tag,P===5||P===6){u=g=w;continue e}C=C.parentNode}}u=u.return}Of(function(){var M=g,U=il(o),q=[];e:{var z=Sp.get(t);if(z!==void 0){var Q=vl,Z=t;switch(t){case"keypress":if(fo(o)===0)break e;case"keydown":case"keyup":Q=hw;break;case"focusin":Z="focus",Q=bl;break;case"focusout":Z="blur",Q=bl;break;case"beforeblur":case"afterblur":Q=bl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=Zf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=rw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=vw;break;case yp:case wp:case bp:Q=ow;break;case jp:Q=ww;break;case"scroll":Q=tw;break;case"wheel":Q=jw;break;case"copy":case"cut":case"paste":Q=lw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=tp}var te=(r&4)!==0,qe=!te&&t==="scroll",I=te?z!==null?z+"Capture":null:z;te=[];for(var R=M,L;R!==null;){L=R;var H=L.stateNode;if(L.tag===5&&H!==null&&(L=H,I!==null&&(H=Ii(R,I),H!=null&&te.push(Ji(R,H,L)))),qe)break;R=R.return}0<te.length&&(z=new Q(z,Z,null,o,U),q.push({event:z,listeners:te}))}}if((r&7)===0){e:{if(z=t==="mouseover"||t==="pointerover",Q=t==="mouseout"||t==="pointerout",z&&o!==rl&&(Z=o.relatedTarget||o.fromElement)&&(ur(Z)||Z[xn]))break e;if((Q||z)&&(z=U.window===U?U:(z=U.ownerDocument)?z.defaultView||z.parentWindow:window,Q?(Z=o.relatedTarget||o.toElement,Q=M,Z=Z?ur(Z):null,Z!==null&&(qe=cr(Z),Z!==qe||Z.tag!==5&&Z.tag!==6)&&(Z=null)):(Q=null,Z=M),Q!==Z)){if(te=Zf,H="onMouseLeave",I="onMouseEnter",R="mouse",(t==="pointerout"||t==="pointerover")&&(te=tp,H="onPointerLeave",I="onPointerEnter",R="pointer"),qe=Q==null?z:$r(Q),L=Z==null?z:$r(Z),z=new te(H,R+"leave",Q,o,U),z.target=qe,z.relatedTarget=L,H=null,ur(U)===M&&(te=new te(I,R+"enter",Z,o,U),te.target=L,te.relatedTarget=qe,H=te),qe=H,Q&&Z)t:{for(te=Q,I=Z,R=0,L=te;L;L=Ur(L))R++;for(L=0,H=I;H;H=Ur(H))L++;for(;0<R-L;)te=Ur(te),R--;for(;0<L-R;)I=Ur(I),L--;for(;R--;){if(te===I||I!==null&&te===I.alternate)break t;te=Ur(te),I=Ur(I)}te=null}else te=null;Q!==null&&Pp(q,z,Q,te,!1),Z!==null&&qe!==null&&Pp(q,qe,Z,te,!0)}}e:{if(z=M?$r(M):window,Q=z.nodeName&&z.nodeName.toLowerCase(),Q==="select"||Q==="input"&&z.type==="file")var ne=kw;else if(ap(z))if(cp)ne=Iw;else{ne=Aw;var se=Rw}else(Q=z.nodeName)&&Q.toLowerCase()==="input"&&(z.type==="checkbox"||z.type==="radio")&&(ne=Ow);if(ne&&(ne=ne(t,M))){lp(q,ne,o,U);break e}se&&se(t,z,M),t==="focusout"&&(se=z._wrapperState)&&se.controlled&&z.type==="number"&&Ja(z,"number",z.value)}switch(se=M?$r(M):window,t){case"focusin":(ap(se)||se.contentEditable==="true")&&(Fr=se,Tl=M,Yi=null);break;case"focusout":Yi=Tl=Fr=null;break;case"mousedown":Pl=!0;break;case"contextmenu":case"mouseup":case"dragend":Pl=!1,xp(q,o,U);break;case"selectionchange":if(_w)break;case"keydown":case"keyup":xp(q,o,U)}var oe;if(Sl)e:{switch(t){case"compositionstart":var ue="onCompositionStart";break e;case"compositionend":ue="onCompositionEnd";break e;case"compositionupdate":ue="onCompositionUpdate";break e}ue=void 0}else Vr?sp(t,o)&&(ue="onCompositionEnd"):t==="keydown"&&o.keyCode===229&&(ue="onCompositionStart");ue&&(np&&o.locale!=="ko"&&(Vr||ue!=="onCompositionStart"?ue==="onCompositionEnd"&&Vr&&(oe=Xf()):(_n=U,xl="value"in _n?_n.value:_n.textContent,Vr=!0)),se=yo(M,ue),0<se.length&&(ue=new ep(ue,t,null,o,U),q.push({event:ue,listeners:se}),oe?ue.data=oe:(oe=op(o),oe!==null&&(ue.data=oe)))),(oe=Nw?Ew(t,o):Cw(t,o))&&(M=yo(M,"onBeforeInput"),0<M.length&&(U=new ep("onBeforeInput","beforeinput",null,o,U),q.push({event:U,listeners:M}),U.data=oe))}Cp(q,r)})}function Ji(t,r,o){return{instance:t,listener:r,currentTarget:o}}function yo(t,r){for(var o=r+"Capture",u=[];t!==null;){var m=t,g=m.stateNode;m.tag===5&&g!==null&&(m=g,g=Ii(t,o),g!=null&&u.unshift(Ji(t,g,m)),g=Ii(t,r),g!=null&&u.push(Ji(t,g,m))),t=t.return}return u}function Ur(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Pp(t,r,o,u,m){for(var g=r._reactName,w=[];o!==null&&o!==u;){var C=o,P=C.alternate,M=C.stateNode;if(P!==null&&P===u)break;C.tag===5&&M!==null&&(C=M,m?(P=Ii(o,g),P!=null&&w.unshift(Ji(o,P,C))):m||(P=Ii(o,g),P!=null&&w.push(Ji(o,P,C)))),o=o.return}w.length!==0&&t.push({event:r,listeners:w})}var zw=/\r\n?/g,Uw=/\u0000|\uFFFD/g;function kp(t){return(typeof t=="string"?t:""+t).replace(zw,` 6`).replace(Uw,"")}function wo(t,r,o){if(r=kp(r),kp(t)!==r&&o)throw Error(i(425))}function bo(){}var Ll=null,Ml=null;function _l(t,r){return t==="textarea"||t==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Dl=typeof setTimeout=="function"?setTimeout:void 0,Bw=typeof clearTimeout=="function"?clearTimeout:void 0,Rp=typeof Promise=="function"?Promise:void 0,$w=typeof queueMicrotask=="function"?queueMicrotask:typeof Rp<"u"?function(t){return Rp.resolve(null).then(t).catch(qw)}:Dl;function qw(t){setTimeout(function(){throw t})}function Vl(t,r){var o=r,u=0;do{var m=o.nextSibling;if(t.removeChild(o),m&&m.nodeType===8)if(o=m.data,o==="/$"){if(u===0){t.removeChild(m),Bi(r);return}u--}else o!=="$"&&o!=="$?"&&o!=="$!"||u++;o=m}while(o);Bi(r)}function Vn(t){for(;t!=null;t=t.nextSibling){var r=t.nodeType;if(r===1||r===3)break;if(r===8){if(r=t.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return t}function Ap(t){t=t.previousSibling;for(var r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return t;r--}else o==="/$"&&r++}t=t.previousSibling}return null}var Br=Math.random().toString(36).slice(2),ln="__reactFiber$"+Br,Zi="__reactProps$"+Br,xn="__reactContainer$"+Br,Fl="__reactEvents$"+Br,Hw="__reactListeners$"+Br,Ww="__reactHandles$"+Br;function ur(t){var r=t[ln];if(r)return r;for(var o=t.parentNode;o;){if(r=o[xn]||o[ln]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(t=Ap(t);t!==null;){if(o=t[ln])return o;t=Ap(t)}return r}t=o,o=t.parentNode}return null}function es(t){return t=t[ln]||t[xn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function $r(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(i(33))}function jo(t){return t[Zi]||null}var zl=[],qr=-1;function Fn(t){return{current:t}}function Re(t){0>qr||(t.current=zl[qr],zl[qr]=null,qr--)}function Pe(t,r){qr++,zl[qr]=t.current,t.current=r}var zn={},it=Fn(zn),vt=Fn(!1),dr=zn;function Hr(t,r){var o=t.type.contextTypes;if(!o)return zn;var u=t.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var m={},g;for(g in o)m[g]=r[g];return u&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=m),m}function yt(t){return t=t.childContextTypes,t!=null}function So(){Re(vt),Re(it)}function Op(t,r,o){if(it.current!==zn)throw Error(i(168));Pe(it,r),Pe(vt,o)}function Ip(t,r,o){var u=t.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return o;u=u.getChildContext();for(var m in u)if(!(m in r))throw Error(i(108,Te(t)||"Unknown",m));return G({},o,u)}function No(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||zn,dr=it.current,Pe(it,t),Pe(vt,vt.current),!0}function Lp(t,r,o){var u=t.stateNode;if(!u)throw Error(i(169));o?(t=Ip(t,r,dr),u.__reactInternalMemoizedMergedChildContext=t,Re(vt),Re(it),Pe(it,t)):Re(vt),Pe(vt,o)}var vn=null,Eo=!1,Ul=!1;function Mp(t){vn===null?vn=[t]:vn.push(t)}function Kw(t){Eo=!0,Mp(t)}function Un(){if(!Ul&&vn!==null){Ul=!0;var t=0,r=Ee;try{var o=vn;for(Ee=1;t<o.length;t++){var u=o[t];do u=u(!0);while(u!==null)}vn=null,Eo=!1}catch(m){throw vn!==null&&(vn=vn.slice(t+1)),Df(cl,Un),m}finally{Ee=r,Ul=!1}}return null}var Wr=[],Kr=0,Co=null,To=0,Dt=[],Vt=0,fr=null,yn=1,wn="";function pr(t,r){Wr[Kr++]=To,Wr[Kr++]=Co,Co=t,To=r}function _p(t,r,o){Dt[Vt++]=yn,Dt[Vt++]=wn,Dt[Vt++]=fr,fr=t;var u=yn;t=wn;var m=32-Gt(u)-1;u&=~(1<<m),o+=1;var g=32-Gt(r)+m;if(30<g){var w=m-m%5;g=(u&(1<<w)-1).toString(32),u>>=w,m-=w,yn=1<<32-Gt(r)+m|o<<m|u,wn=g+t}else yn=1<<g|o<<m|u,wn=t}function Bl(t){t.return!==null&&(pr(t,1),_p(t,1,0))}function $l(t){for(;t===Co;)Co=Wr[--Kr],Wr[Kr]=null,To=Wr[--Kr],Wr[Kr]=null;for(;t===fr;)fr=Dt[--Vt],Dt[Vt]=null,wn=Dt[--Vt],Dt[Vt]=null,yn=Dt[--Vt],Dt[Vt]=null}var Pt=null,kt=null,Le=!1,Qt=null;function Dp(t,r){var o=Bt(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=t,r=t.deletions,r===null?(t.deletions=[o],t.flags|=16):r.push(o)}function Vp(t,r){switch(t.tag){case 5:var o=t.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(t.stateNode=r,Pt=t,kt=Vn(r.firstChild),!0):!1;
vendor: 4,709 bytes, line 6
6case 6:return r=t.pendingProps===""||r.nodeType!==3?null:r,r!==null?(t.stateNode=r,Pt=t,kt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=fr!==null?{id:yn,overflow:wn}:null,t.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=Bt(18,null,null,0),o.stateNode=r,o.return=t,t.child=o,Pt=t,kt=null,!0):!1;default:return!1}}function ql(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Hl(t){if(Le){var r=kt;if(r){var o=r;if(!Vp(t,r)){if(ql(t))throw Error(i(418));r=Vn(o.nextSibling);var u=Pt;r&&Vp(t,r)?Dp(u,o):(t.flags=t.flags&-4097|2,Le=!1,Pt=t)}}else{if(ql(t))throw Error(i(418));t.flags=t.flags&-4097|2,Le=!1,Pt=t}}}function Fp(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Pt=t}function Po(t){if(t!==Pt)return!1;if(!Le)return Fp(t),Le=!0,!1;var r;if((r=t.tag!==3)&&!(r=t.tag!==5)&&(r=t.type,r=r!=="head"&&r!=="body"&&!_l(t.type,t.memoizedProps)),r&&(r=kt)){if(ql(t))throw zp(),Error(i(418));for(;r;)Dp(t,r),r=Vn(r.nextSibling)}if(Fp(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,r=0;t;){if(t.nodeType===8){var o=t.data;if(o==="/$"){if(r===0){kt=Vn(t.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}t=t.nextSibling}kt=null}}else kt=Pt?Vn(t.stateNode.nextSibling):null;return!0}function zp(){for(var t=kt;t;)t=Vn(t.nextSibling)}function Gr(){kt=Pt=null,Le=!1}function Wl(t){Qt===null?Qt=[t]:Qt.push(t)}var Gw=_.ReactCurrentBatchConfig;function ts(t,r,o){if(t=o.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var u=o.stateNode}if(!u)throw Error(i(147,t));var m=u,g=""+t;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===g?r.ref:(r=function(w){var C=m.refs;w===null?delete C[g]:C[g]=w},r._stringRef=g,r)}if(typeof t!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,t))}return t}function ko(t,r){throw t=Object.prototype.toString.call(r),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":t))}function Up(t){var r=t._init;return r(t._payload)}function Bp(t){function r(I,R){if(t){var L=I.deletions;L===null?(I.deletions=[R],I.flags|=16):L.push(R)}}function o(I,R){if(!t)return null;for(;R!==null;)r(I,R),R=R.sibling;return null}function u(I,R){for(I=new Map;R!==null;)R.key!==null?I.set(R.key,R):I.set(R.index,R),R=R.sibling;return I}function m(I,R){return I=Yn(I,R),I.index=0,I.sibling=null,I}function g(I,R,L){return I.index=L,t?(L=I.alternate,L!==null?(L=L.index,L<R?(I.flags|=2,R):L):(I.flags|=2,R)):(I.flags|=1048576,R)}function w(I){return t&&I.alternate===null&&(I.flags|=2),I}function C(I,R,L,H){return R===null||R.tag!==6?(R=Dc(L,I.mode,H),R.return=I,R):(R=m(R,L),R.return=I,R)}function P(I,R,L,H){var ne=L.type;return ne===W?U(I,R,L.props.children,H,L.key):R!==null&&(R.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===ie&&Up(ne)===R.type)?(H=m(R,L.props),H.ref=ts(I,R,L),H.return=I,H):(H=Zo(L.type,L.key,L.props,null,I.mode,H),H.ref=ts(I,R,L),H.return=I,H)}function M(I,R,L,H){return R===null||R.tag!==4||R.stateNode.containerInfo!==L.containerInfo||R.stateNode.implementation!==L.implementation?(R=Vc(L,I.mode,H),R.return=I,R):(R=m(R,L.children||[]),R.return=I,R)}function U(I,R,L,H,ne){return R===null||R.tag!==7?(R=br(L,I.mode,H,ne),R.return=I,R):(R=m(R,L),R.return=I,R)}function q(I,R,L){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Dc(""+R,I.mode,L),R.return=I,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case D:return L=Zo(R.type,R.key,R.props,null,I.mode,L),L.ref=ts(I,null,R),L.return=I,L;case B:return R=Vc(R,I.mode,L),R.return=I,R;case ie:var H=R._init;return q(I,H(R._payload),L)}if(Ri(R)||J(R))return R=br(R,I.mode,L,null),R.return=I,R;ko(I,R)}return null}function z(I,R,L,H){var ne=R!==null?R.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return ne!==null?null:C(I,R,""+L,H);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case D:return L.key===ne?P(I,R,L,H):null;case B:return L.key===ne?M(I,R,L,H):null;case ie:return ne=L._init,z(I,R,ne(L._payload),H)}if(Ri(L)||J(L))return ne!==null?null:U(I,R,L,H,null);ko(I,L)}return null}function Q(I,R,L,H,ne){if(typeof H=="string"&&H!==""||typeof H=="number")return I=I.get(L)||null,C(R,I,""+H,ne);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case D:return I=I.get(H.key===null?L:H.key)||null,P(R,I,H,ne);case B:return I=I.get(H.key===null?L:H.key)||null,M(R,I,H,ne);case ie:var se=H._init;return Q(I,R,L,se(H._payload),ne)}if(Ri(H)||J(H))return I=I.get(L)||null,U(R,I,H,ne,null);ko(R,H)}return null}function Z(I,R,L,H){for(var ne=null,se=null,oe=R,ue=R=0,Ze=null;oe!==null&&ue<L.length;ue++){oe.index>
vendor: 21,211 bytes, lines 6-8
6ue?(Ze=oe,oe=null):Ze=oe.sibling;var je=z(I,oe,L[ue],H);if(je===null){oe===null&&(oe=Ze);break}t&&oe&&je.alternate===null&&r(I,oe),R=g(je,R,ue),se===null?ne=je:se.sibling=je,se=je,oe=Ze}if(ue===L.length)return o(I,oe),Le&&pr(I,ue),ne;if(oe===null){for(;ue<L.length;ue++)oe=q(I,L[ue],H),oe!==null&&(R=g(oe,R,ue),se===null?ne=oe:se.sibling=oe,se=oe);return Le&&pr(I,ue),ne}for(oe=u(I,oe);ue<L.length;ue++)Ze=Q(oe,I,ue,L[ue],H),Ze!==null&&(t&&Ze.alternate!==null&&oe.delete(Ze.key===null?ue:Ze.key),R=g(Ze,R,ue),se===null?ne=Ze:se.sibling=Ze,se=Ze);return t&&oe.forEach(function(Qn){return r(I,Qn)}),Le&&pr(I,ue),ne}function te(I,R,L,H){var ne=J(L);if(typeof ne!="function")throw Error(i(150));if(L=ne.call(L),L==null)throw Error(i(151));for(var se=ne=null,oe=R,ue=R=0,Ze=null,je=L.next();oe!==null&&!je.done;ue++,je=L.next()){oe.index>ue?(Ze=oe,oe=null):Ze=oe.sibling;var Qn=z(I,oe,je.value,H);if(Qn===null){oe===null&&(oe=Ze);break}t&&oe&&Qn.alternate===null&&r(I,oe),R=g(Qn,R,ue),se===null?ne=Qn:se.sibling=Qn,se=Qn,oe=Ze}if(je.done)return o(I,oe),Le&&pr(I,ue),ne;if(oe===null){for(;!je.done;ue++,je=L.next())je=q(I,je.value,H),je!==null&&(R=g(je,R,ue),se===null?ne=je:se.sibling=je,se=je);return Le&&pr(I,ue),ne}for(oe=u(I,oe);!je.done;ue++,je=L.next())je=Q(oe,I,ue,je.value,H),je!==null&&(t&&je.alternate!==null&&oe.delete(je.key===null?ue:je.key),R=g(je,R,ue),se===null?ne=je:se.sibling=je,se=je);return t&&oe.forEach(function(Tb){return r(I,Tb)}),Le&&pr(I,ue),ne}function qe(I,R,L,H){if(typeof L=="object"&&L!==null&&L.type===W&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case D:e:{for(var ne=L.key,se=R;se!==null;){if(se.key===ne){if(ne=L.type,ne===W){if(se.tag===7){o(I,se.sibling),R=m(se,L.props.children),R.return=I,I=R;break e}}else if(se.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===ie&&Up(ne)===se.type){o(I,se.sibling),R=m(se,L.props),R.ref=ts(I,se,L),R.return=I,I=R;break e}o(I,se);break}else r(I,se);se=se.sibling}L.type===W?(R=br(L.props.children,I.mode,H,L.key),R.return=I,I=R):(H=Zo(L.type,L.key,L.props,null,I.mode,H),H.ref=ts(I,R,L),H.return=I,I=H)}return w(I);case B:e:{for(se=L.key;R!==null;){if(R.key===se)if(R.tag===4&&R.stateNode.containerInfo===L.containerInfo&&R.stateNode.implementation===L.implementation){o(I,R.sibling),R=m(R,L.children||[]),R.return=I,I=R;break e}else{o(I,R);break}else r(I,R);R=R.sibling}R=Vc(L,I.mode,H),R.return=I,I=R}return w(I);case ie:return se=L._init,qe(I,R,se(L._payload),H)}if(Ri(L))return Z(I,R,L,H);if(J(L))return te(I,R,L,H);ko(I,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,R!==null&&R.tag===6?(o(I,R.sibling),R=m(R,L),R.return=I,I=R):(o(I,R),R=Dc(L,I.mode,H),R.return=I,I=R),w(I)):o(I,R)}return qe}var Yr=Bp(!0),$p=Bp(!1),Ro=Fn(null),Ao=null,Qr=null,Kl=null;function Gl(){Kl=Qr=Ao=null}function Yl(t){var r=Ro.current;Re(Ro),t._currentValue=r}function Ql(t,r,o){for(;t!==null;){var u=t.alternate;if((t.childLanes&r)!==r?(t.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),t===o)break;t=t.return}}function Xr(t,r){Ao=t,Kl=Qr=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&r)!==0&&(wt=!0),t.firstContext=null)}function Ft(t){var r=t._currentValue;if(Kl!==t)if(t={context:t,memoizedValue:r,next:null},Qr===null){if(Ao===null)throw Error(i(308));Qr=t,Ao.dependencies={lanes:0,firstContext:t}}else Qr=Qr.next=t;return r}var mr=null;function Xl(t){mr===null?mr=[t]:mr.push(t)}function qp(t,r,o,u){var m=r.interleaved;return m===null?(o.next=o,Xl(r)):(o.next=m.next,m.next=o),r.interleaved=o,bn(t,u)}function bn(t,r){t.lanes|=r;var o=t.alternate;for(o!==null&&(o.lanes|=r),o=t,t=t.return;t!==null;)t.childLanes|=r,o=t.alternate,o!==null&&(o.childLanes|=r),o=t,t=t.return;return o.tag===3?o.stateNode:null}var Bn=!1;function Jl(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hp(t,r){t=t.updateQueue,r.updateQueue===t&&(r.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function jn(t,r){return{eventTime:t,lane:r,tag:0,payload:null,callback:null,next:null}}function $n(t,r,o){var u=t.updateQueue;if(u===null)return null;if(u=u.shared,(be&2)!==0){var m=u.pending;return m===null?r.next=r:(r.next=m.next,m.next=r),u.pending=r,bn(t,o)}return m=u.interleaved,m===null?(r.next=r,Xl(u)):(r.next=m.next,m.next=r),u.interleaved=r,bn(t,o)}function Oo(t,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var u=r.lanes;u&=t.pendingLanes,o|=u,r.lanes=o,fl(t,o)}}function Wp(t,r){var o=t.updateQueue,u=t.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var m=null,g=null;if(o=o.firstBaseUpdate,o!==null){do{var w={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};g===null?m=g=w:g=g.next=w,o=o.next}while(o!==null);g===null?m=g=r:g=g.next=r}else m=g=r;o={baseState:u.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:u.shared,effects:u.effects},t.updateQueue=o;return}t=o.lastBaseUpdate,t===null?o.firstBaseUpdate=r:t.next=r,o.lastBaseUpdate=r}function Io(t,r,o,u){var m=t.updateQueue;Bn=!1;var g=m.firstBaseUpdate,w=m.lastBaseUpdate,C=m.shared.pending;if(C!==null){m.shared.pending=null;var P=C,M=P.next;P.next=null,w===null?g=M:w.next=M,w=P;var U=t.alternate;U!==null&&(U=U.updateQueue,C=U.lastBaseUpdate,C!==w&&(C===null?U.firstBaseUpdate=M:C.next=M,U.lastBaseUpdate=P))}if(g!==null){var q=m.baseState;w=0,U=M=P=null,C=g;do{var z=C.lane,Q=C.eventTime;if((u&z)===z){U!==null&&(U=U.next={eventTime:Q,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var Z=t,te=C;switch(z=r,Q=o,te.tag){case 1:if(Z=te.payload,typeof Z=="function"){q=Z.call(Q,q,z);break e}q=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=te.payload,z=typeof Z=="function"?Z.call(Q,q,z):Z,z==null)break e;q=G({},q,z);break e;case 2:Bn=!0}}C.callback!==null&&C.lane!==0&&(t.flags|=64,z=m.effects,z===null?m.effects=[C]:z.push(C))}else Q={eventTime:Q,lane:z,tag:C.tag,payload:C.payload,callback:C.callback,next:null},U===null?(M=U=Q,P=q):U=U.next=Q,w|=z;if(C=C.next,C===null){if(C=m.shared.pending,C===null)break;z=C,C=z.next,z.next=null,m.lastBaseUpdate=z,m.shared.pending=null}}while(!0);if(U===null&&(P=q),m.baseState=P,m.firstBaseUpdate=M,m.lastBaseUpdate=U,r=m.shared.interleaved,r!==null){m=r;do w|=m.lane,m=m.next;while(m!==r)}else g===null&&(m.shared.lanes=0);xr|=w,t.lanes=w,t.memoizedState=q}}function Kp(t,r,o){if(t=r.effects,r.effects=null,t!==null)for(r=0;r<t.length;r++){var u=t[r],m=u.callback;if(m!==null){if(u.callback=null,u=o,typeof m!="function")throw Error(i(191,m));m.call(u)}}}var ns={},cn=Fn(ns),rs=Fn(ns),is=Fn(ns);function hr(t){if(t===ns)throw Error(i(174));return t}function Zl(t,r){switch(Pe(is,r),Pe(rs,t),Pe(cn,ns),t=r.nodeType,t){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:el(null,"");break;default:t=t===8?r.parentNode:r,r=t.namespaceURI||null,t=t.tagName,r=el(r,t)}Re(cn),Pe(cn,r)}function Jr(){Re(cn),Re(rs),Re(is)}function Gp(t){hr(is.current);var r=hr(cn.current),o=el(r,t.type);r!==o&&(Pe(rs,t),Pe(cn,o))}function ec(t){rs.current===t&&(Re(cn),Re(rs))}var Ve=Fn(0);function Lo(t){for(var r=t;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var tc=[];function nc(){for(var t=0;t<tc.length;t++)tc[t]._workInProgressVersionPrimary=null;tc.length=0}var Mo=_.ReactCurrentDispatcher,rc=_.ReactCurrentBatchConfig,gr=0,Fe=null,Ge=null,Xe=null,_o=!1,ss=!1,os=0,Yw=0;function st(){throw Error(i(321))}function ic(t,r){if(r===null)return!1;for(var o=0;o<r.length&&o<t.length;o++)if(!Yt(t[o],r[o]))return!1;return!0}function sc(t,r,o,u,m,g){if(gr=g,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Mo.current=t===null||t.memoizedState===null?Zw:eb,t=o(u,m),ss){g=0;do{if(ss=!1,os=0,25<=g)throw Error(i(301));g+=1,Xe=Ge=null,r.updateQueue=null,Mo.current=tb,t=o(u,m)}while(ss)}if(Mo.current=Fo,r=Ge!==null&&Ge.next!==null,gr=0,Xe=Ge=Fe=null,_o=!1,r)throw Error(i(300));return t}function oc(){var t=os!==0;return os=0,t}function un(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Fe.memoizedState=Xe=t:Xe=Xe.next=t,Xe}function zt(){if(Ge===null){var t=Fe.alternate;t=t!==null?t.memoizedState:null}else t=Ge.next;var r=Xe===null?Fe.memoizedState:Xe.next;if(r!==null)Xe=r,Ge=t;else{if(t===null)throw Error(i(310));Ge=t,t={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},Xe===null?Fe.memoizedState=Xe=t:Xe=Xe.next=t}return Xe}function as(t,r){return typeof r=="function"?r(t):r}function ac(t){var r=zt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var u=Ge,m=u.baseQueue,g=o.pending;if(g!==null){if(m!==null){var w=m.next;m.next=g.next,g.next=w}u.baseQueue=m=g,o.pending=null}if(m!==null){g=m.next,u=u.baseState;var C=w=null,P=null,M=g;do{var U=M.lane;if((gr&U)===U)P!==null&&(P=P.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),u=M.hasEagerState?M.eagerState:t(u,M.action);else{var q={lane:U,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};P===null?(C=P=q,w=u):P=P.next=q,Fe.lanes|=U,xr|=U}M=M.next}while(M!==null&&M!==g);P===null?w=u:P.next=C,Yt(u,r.memoizedState)||(wt=!0),r.memoizedState=u,r.baseState=w,r.baseQueue=P,o.lastRenderedState=u}if(t=o.interleaved,t!==null){m=t;do g=m.lane,Fe.lanes|=g,xr|=g,m=m.next;while(m!==t)}else m===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function lc(t){var r=zt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=t;var u=o.dispatch,m=o.pending,g=r.memoizedState;if(m!==null){o.pending=null;var w=m=m.next;do g=t(g,w.action),w=w.next;while(w!==m);Yt(g,r.memoizedState)||(wt=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),o.lastRenderedState=g}return[g,u]}function Yp(){}function Qp(t,r){var o=Fe,u=zt(),m=r(),g=!Yt(u.memoizedState,m);if(g&&(u.memoizedState=m,wt=!0),u=u.queue,cc(Zp.bind(null,o,u,t),[t]),u.getSnapshot!==r||g||Xe!==null&&Xe.memoizedState.tag&1){if(o.flags|=2048,ls(9,Jp.bind(null,o,u,m,r),void 0,null),Je===null)throw Error(i(349));(gr&30)!==0||Xp(o,r,m)}return m}function Xp(t,r,o){t.flags|=16384,t={getSnapshot:r,value:o},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.stores=[t]):(o=r.stores,o===null?r.stores=[t]:o.push(t))}function Jp(t,r,o,u){r.value=o,r.getSnapshot=u,em(r)&&tm(t)}function Zp(t,r,o){return o(function(){em(r)&&tm(t)})}function em(t){var r=t.getSnapshot;t=t.value;try{var o=r();return!Yt(t,o)}catch{return!0}}function tm(t){var r=bn(t,1);r!==null&&en(r,t,1,-1)}function nm(t){var r=un();return typeof t=="function"&&(t=t()),r.memoizedState=r.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:t},r.queue=t,t=t.dispatch=Jw.bind(null,Fe,t),[r.memoizedState,t]}function ls(t,r,o,u){return t={tag:t,create:r,destroy:o,deps:u,next:null},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.lastEffect=t.next=t):(o=r.lastEffect,o===null?r.lastEffect=t.next=t:(u=o.next,o.next=t,t.next=u,r.lastEffect=t)),t}function rm(){return zt().memoizedState}function Do(t,r,o,u){var m=un();Fe.flags|=t,m.memoizedState=ls(1|r,o,void 0,u===void 0?null:u)}function Vo(t,r,o,u){var m=zt();u=u===void 0?null:u;var g=void 0;if(Ge!==null){var w=Ge.memoizedState;if(g=w.destroy,u!==null&&ic(u,w.deps)){m.memoizedState=ls(r,o,g,u);return}}Fe.flags|=t,m.memoizedState=ls(1|r,o,g,u)}function im(t,r){return Do(8390656,8,t,r)}function cc(t,r){return Vo(2048,8,t,r)}function sm(t,r){return Vo(4,2,t,r)}function om(t,r){return Vo(4,4,t,r)}function am(t,r){if(typeof r=="function")return t=t(),r(t),function(){r(null)};if(r!=null)return t=t(),r.current=t,function(){r.current=null}}function lm(t,r,o){return o=o!=null?o.concat([t]):null,Vo(4,4,am.bind(null,r,t),o)}function uc(){}function cm(t,r){var o=zt();r=r===void 0?null:r;var u=o.memoizedState;return u!==null&&r!==null&&ic(r,u[1])?u[0]:(o.memoizedState=[t,r],t)}function um(t,r){var o=zt();r=r===void 0?null:r;var u=o.memoizedState;return u!==null&&r!==null&&ic(r,u[1])?u[0]:(t=t(),o.memoizedState=[t,r],t)}function dm(t,r,o){return(gr&21)===0?(t.baseState&&(t.baseState=!1,wt=!0),t.memoizedState=o):(Yt(o,r)||(o=Uf(),Fe.lanes|=o,xr|=o,t.baseState=!0),r)}function Qw(t,r){var o=Ee;Ee=o!==0&&4>o?o:4,t(!0);var u=rc.transition;rc.transition={};try{t(!1),r()}finally{Ee=o,rc.transition=u}}function fm(){return zt().memoizedState}function Xw(t,r,o){var u=Kn(t);if(o={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null},pm(t))mm(r,o);else if(o=qp(t,r,o,u),o!==null){var m=ht();en(o,t,u,m),hm(o,r,u)}}function Jw(t,r,o){var u=Kn(t),m={lane:u,action:o,hasEagerState:!1,eagerState:null,next:null};if(pm(t))mm(r,m);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var w=r.lastRenderedState,C=g(w,o);if(m.hasEagerState=!0,m.eagerState=C,Yt(C,w)){var P=r.interleaved;P===null?(m.next=m,Xl(r)):(m.next=P.next,P.next=m),r.interleaved=m;return}}catch{}o=qp(t,r,m,u),o!==null&&(m=ht(),en(o,t,u,m),hm(o,r,u))}}function pm(t){var r=t.alternate;return t===Fe||r!==null&&r===Fe}function mm(t,r){ss=_o=!0;var o=t.pending;o===null?r.next=r:(r.next=o.next,o.next=r),t.pending=r}function hm(t,r,o){if((o&4194240)!==0){var u=r.lanes;u&=t.pendingLanes,o|=u,r.lanes=o,fl(t,o)}}var Fo={readContext:Ft,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useInsertionEffect:st,useLayoutEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useMutableSource:st,useSyncExternalStore:st,useId:st,unstable_isNewReconciler:!1},Zw={readContext:Ft,useCallback:function(t,r){return un().memoizedState=[t,r===void 0?null:r],t},useContext:Ft,useEffect:im,useImperativeHandle:function(t,r,o){return o=o!=null?o.concat([t]):null,Do(4194308,4,am.bind(null,r,t),o)},useLayoutEffect:function(t,r){return Do(4194308,4,t,r)},useInsertionEffect:function(t,r){return Do(4,2,t,r)},useMemo:function(t,r){var o=un();return r=r===void 0?null:r,t=t(),o.memoizedState=[t,r],t},useReducer:function(t,r,o){var u=un();return r=o!==void 0?o(r):r,u.memoizedState=u.baseState=r,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},u.queue=t,t=t.dispatch=Xw.bind(null,Fe,t),[u.memoizedState,t]},useRef:function(t){var r=un();return t={current:t},r.memoizedState=t},useState:nm,useDebugValue:uc,useDeferredValue:function(t){return un().memoizedState=t},useTransition:function(){var t=nm(!1),r=t[0];return t=Qw.bind(null,t[1]),un().memoizedState=t,[r,t]},useMutableSource:function(){},useSyncExternalStore:function(t,r,o){var u=Fe,m=un();if(Le){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),Je===null)throw Error(i(349));(gr&30)!==0||Xp(u,r,o)}m.memoizedState=o;var g={value:o,getSnapshot:r};return m.queue=g,im(Zp.bind(null,u,g,t),[t]),u.flags|=2048,ls(9,Jp.bind(null,u,g,o,r),void 0,null),o},useId:function(){var t=un(),r=Je.identifierPrefix;if(Le){var o=wn,u=yn;o=(u&~(1<<32-Gt(u)-1)).toString(32)+o,r=":"+r+"R"+o,o=os++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=Yw++,r=":"+r+"r"+o.toString(32)+":";return t.memoizedState=r},unstable_isNewReconciler:!1},eb={readContext:Ft,useCallback:cm,useContext:Ft,useEffect:cc,useImperativeHandle:lm,useInsertionEffect:sm,useLayoutEffect:om,useMemo:um,useReducer:ac,useRef:rm,useState:function(){return ac(as)},useDebugValue:uc,useDeferredValue:function(t){var r=zt();return dm(r,Ge.memoizedState,t)},useTransition:function(){var t=ac(as)[0],r=zt().memoizedState;return[t,r]},useMutableSource:Yp,useSyncExternalStore:Qp,useId:fm,unstable_isNewReconciler:!1},tb={readContext:Ft,useCallback:cm,useContext:Ft,useEffect:cc,useImperativeHandle:lm,useInsertionEffect:sm,useLayoutEffect:om,useMemo:um,useReducer:lc,useRef:rm,useState:function(){return lc(as)},useDebugValue:uc,useDeferredValue:function(t){var r=zt();return Ge===null?r.memoizedState=t:dm(r,Ge.memoizedState,t)},useTransition:function(){var t=lc(as)[0],r=zt().memoizedState;return[t,r]},useMutableSource:Yp,useSyncExternalStore:Qp,useId:fm,unstable_isNewReconciler:!1};function Xt(t,r){if(t&&t.defaultProps){r=G({},r),t=t.defaultProps;for(var o in t)r[o]===void 0&&(r[o]=t[o]);return r}return r}function dc(t,r,o,u){r=t.memoizedState,o=o(u,r),o=o==null?r:G({},r,o),t.memoizedState=o,t.lanes===0&&(t.updateQueue.baseState=o)}var zo={isMounted:function(t){return(t=t._reactInternals)?cr(t)===t:!1},enqueueSetState:function(t,r,o){t=t._reactInternals;var u=ht(),m=Kn(t),g=jn(u,m);g.payload=r,o!=null&&(g.callback=o),r=$n(t,g,m),r!==null&&(en(r,t,m,u),Oo(r,t,m))},enqueueReplaceState:function(t,r,o){t=t._reactInternals;var u=ht(),m=Kn(t),g=jn(u,m);g.tag=1,g.payload=r,o!=null&&(g.callback=o),r=$n(t,g,m),r!==null&&(en(r,t,m,u),Oo(r,t,m))},enqueueForceUpdate:function(t,r){t=t._reactInternals;var o=ht(),u=Kn(t),m=jn(o,u);m.tag=2,r!=null&&(m.callback=r),r=$n(t,m,u),r!==null&&(en(r,t,u,o),Oo(r,t,u))}};function gm(t,r,o,u,m,g,w){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(u,g,w):r.prototype&&r.prototype.isPureReactComponent?!Gi(o,u)||!Gi(m,g):!0}function xm(t,r,o){var u=!1,m=zn,g=r.contextType;return typeof g=="object"&&g!==null?g=Ft(g):(m=yt(r)?dr:it.current,u=r.contextTypes,g=(u=u!=null)?Hr(t,m):zn),r=new r(o,g),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=zo,t.stateNode=r,r._reactInternals=t,u&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=m,t.__reactInternalMemoizedMaskedChildContext=g),r}function vm(t,r,o,u){t=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,u),r.state!==t&&zo.enqueueReplaceState(r,r.state,null)}function fc(t,r,o,u){var m=t.stateNode;m.props=o,m.state=t.memoizedState,m.refs={},Jl(t);var g=r.contextType;typeof g=="object"&&g!==null?m.context=Ft(g):(g=yt(r)?dr:it.current,m.context=Hr(t,g)),m.state=t.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(dc(t,r,g,o),m.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(r=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),r!==m.state&&zo.enqueueReplaceState(m,m.state,null),Io(t,o,m,u),m.state=t.memoizedState),typeof m.componentDidMount=="function"&&(t.flags|=4194308)}function Zr(t,r){try{var o="",u=r;do o+=xe(u),u=u.return;while(u);var m=o}catch(g){m=` 7Error generating stack: `+g.message+` 8`+g.stack}return{value:t,source:r,stack:m,digest:null}}function pc(t,r,o){return{value:t,source:null,stack:o??null,digest:r??null}}function mc(t,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var nb=typeof WeakMap=="function"?WeakMap:Map;function ym(t,r,o){o=jn(-1,o),o.tag=3,o.payload={element:null};var u=r.value;return o.callback=function(){Ko||(Ko=!0,kc=u),mc(t,r)},o}function wm(t,r,o){o=jn(-1,o),o.tag=3;var u=t.type.getDerivedStateFromError;if(typeof u=="function"){var m=r.value;o.payload=function(){return u(m)},o.callback=function(){mc(t,r)}}var g=t.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(o.callback=function(){mc(t,r),typeof u!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var w=r.stack;this.componentDidCatch(r.value,{componentStack:w!==null?w:""})}),o}function bm(t,r,o){var u=t.pingCache;if(u===null){u=t.pingCache=new nb;var m=new Set;u.set(r,m)}else m=u.get(r),m===void 0&&(m=new Set,u.set(r,m));m.has(o)||(m.add(o),t=gb.bind(null,t,r,o),r.then(t,t))}function jm(t){do{var r;if((r=t.tag===13)&&(r=t.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return t;t=t.return}while(t!==null);return null}function Sm(t,r,o,u,m){return(t.mode&1)===0?(t===r?t.flags|=65536:(t.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=jn(-1,1),r.tag=2,$n(o,r,1))),o.lanes|=1),t):(t.flags|=65536,t.lanes=m,t)}var rb=_.ReactCurrentOwner,wt=!1;function mt(t,r,o,u){r.child=t===null?$p(r,null,o,u):Yr(r,t.child,o,u)}function Nm(t,r,o,u,m){o=o.render;var g=r.ref;return Xr(r,m),u=sc(t,r,o,u,g,m),o=oc(),t!==null&&!wt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~m,Sn(t,r,m)):(Le&&o&&Bl(r),r.flags|=1,mt(t,r,u,m),r.child)}function Em(t,r,o,u,m){if(t===null){var g=o.type;return typeof g=="function"&&!_c(g)&&g.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=g,Cm(t,r,g,u,m)):(t=Zo(o.type,null,u,r,r.mode,m),t.ref=r.ref,t.return=r,r.child=t)}if(g=t.child,(t.lanes&m)===0){var w=g.memoizedProps;
vendor: 9,462 bytes, line 8
8if(o=o.compare,o=o!==null?o:Gi,o(w,u)&&t.ref===r.ref)return Sn(t,r,m)}return r.flags|=1,t=Yn(g,u),t.ref=r.ref,t.return=r,r.child=t}function Cm(t,r,o,u,m){if(t!==null){var g=t.memoizedProps;if(Gi(g,u)&&t.ref===r.ref)if(wt=!1,r.pendingProps=u=g,(t.lanes&m)!==0)(t.flags&131072)!==0&&(wt=!0);else return r.lanes=t.lanes,Sn(t,r,m)}return hc(t,r,o,u,m)}function Tm(t,r,o){var u=r.pendingProps,m=u.children,g=t!==null?t.memoizedState:null;if(u.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pe(ti,Rt),Rt|=o;else{if((o&1073741824)===0)return t=g!==null?g.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:t,cachePool:null,transitions:null},r.updateQueue=null,Pe(ti,Rt),Rt|=t,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=g!==null?g.baseLanes:o,Pe(ti,Rt),Rt|=u}else g!==null?(u=g.baseLanes|o,r.memoizedState=null):u=o,Pe(ti,Rt),Rt|=u;return mt(t,r,m,o),r.child}function Pm(t,r){var o=r.ref;(t===null&&o!==null||t!==null&&t.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function hc(t,r,o,u,m){var g=yt(o)?dr:it.current;return g=Hr(r,g),Xr(r,m),o=sc(t,r,o,u,g,m),u=oc(),t!==null&&!wt?(r.updateQueue=t.updateQueue,r.flags&=-2053,t.lanes&=~m,Sn(t,r,m)):(Le&&u&&Bl(r),r.flags|=1,mt(t,r,o,m),r.child)}function km(t,r,o,u,m){if(yt(o)){var g=!0;No(r)}else g=!1;if(Xr(r,m),r.stateNode===null)Bo(t,r),xm(r,o,u),fc(r,o,u,m),u=!0;else if(t===null){var w=r.stateNode,C=r.memoizedProps;w.props=C;var P=w.context,M=o.contextType;typeof M=="object"&&M!==null?M=Ft(M):(M=yt(o)?dr:it.current,M=Hr(r,M));var U=o.getDerivedStateFromProps,q=typeof U=="function"||typeof w.getSnapshotBeforeUpdate=="function";q||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==u||P!==M)&&vm(r,w,u,M),Bn=!1;var z=r.memoizedState;w.state=z,Io(r,u,w,m),P=r.memoizedState,C!==u||z!==P||vt.current||Bn?(typeof U=="function"&&(dc(r,o,U,u),P=r.memoizedState),(C=Bn||gm(r,o,C,u,z,P,M))?(q||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(r.flags|=4194308)):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=P),w.props=u,w.state=P,w.context=M,u=C):(typeof w.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{w=r.stateNode,Hp(t,r),C=r.memoizedProps,M=r.type===r.elementType?C:Xt(r.type,C),w.props=M,q=r.pendingProps,z=w.context,P=o.contextType,typeof P=="object"&&P!==null?P=Ft(P):(P=yt(o)?dr:it.current,P=Hr(r,P));var Q=o.getDerivedStateFromProps;(U=typeof Q=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(C!==q||z!==P)&&vm(r,w,u,P),Bn=!1,z=r.memoizedState,w.state=z,Io(r,u,w,m);var Z=r.memoizedState;C!==q||z!==Z||vt.current||Bn?(typeof Q=="function"&&(dc(r,o,Q,u),Z=r.memoizedState),(M=Bn||gm(r,o,M,u,z,Z,P)||!1)?(U||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(u,Z,P),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(u,Z,P)),typeof w.componentDidUpdate=="function"&&(r.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof w.componentDidUpdate!="function"||C===t.memoizedProps&&z===t.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&z===t.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Z),w.props=u,w.state=Z,w.context=P,u=M):(typeof w.componentDidUpdate!="function"||C===t.memoizedProps&&z===t.memoizedState||(r.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||C===t.memoizedProps&&z===t.memoizedState||(r.flags|=1024),u=!1)}return gc(t,r,o,u,g,m)}function gc(t,r,o,u,m,g){Pm(t,r);var w=(r.flags&128)!==0;if(!u&&!w)return m&&Lp(r,o,!1),Sn(t,r,g);u=r.stateNode,rb.current=r;var C=w&&typeof o.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,t!==null&&w?(r.child=Yr(r,t.child,null,g),r.child=Yr(r,null,C,g)):mt(t,r,C,g),r.memoizedState=u.state,m&&Lp(r,o,!0),r.child}function Rm(t){var r=t.stateNode;r.pendingContext?Op(t,r.pendingContext,r.pendingContext!==r.context):r.context&&Op(t,r.context,!1),Zl(t,r.containerInfo)}function Am(t,r,o,u,m){return Gr(),Wl(m),r.flags|=256,mt(t,r,o,u),r.child}var xc={dehydrated:null,treeContext:null,retryLane:0};function vc(t){return{baseLanes:t,cachePool:null,transitions:null}}function Om(t,r,o){var u=r.pendingProps,m=Ve.current,g=!1,w=(r.flags&128)!==0,C;if((C=w)||(C=t!==null&&t.memoizedState===null?!1:(m&2)!==0),C?(g=!0,r.flags&=-129):(t===null||t.memoizedState!==null)&&(m|=1),Pe(Ve,m&1),t===null)return Hl(r),t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((r.mode&1)===0?r.lanes=1:t.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(w=u.children,t=u.fallback,g?(u=r.mode,g=r.child,w={mode:"hidden",children:w},(u&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=w):g=ea(w,u,0,null),t=br(t,u,o,null),g.return=r,t.return=r,g.sibling=t,r.child=g,r.child.memoizedState=vc(o),r.memoizedState=xc,t):yc(r,w));if(m=t.memoizedState,m!==null&&(C=m.dehydrated,C!==null))return ib(t,r,w,u,C,m,o);if(g){g=u.fallback,w=r.mode,m=t.child,C=m.sibling;var P={mode:"hidden",children:u.children};return(w&1)===0&&r.child!==m?(u=r.child,u.childLanes=0,u.pendingProps=P,r.deletions=null):(u=Yn(m,P),u.subtreeFlags=m.subtreeFlags&14680064),C!==null?g=Yn(C,g):(g=br(g,w,o,null),g.flags|=2),g.return=r,u.return=r,u.sibling=g,r.child=u,u=g,g=r.child,w=t.child.memoizedState,w=w===null?vc(o):{baseLanes:w.baseLanes|o,cachePool:null,transitions:w.transitions},g.memoizedState=w,g.childLanes=t.childLanes&~o,r.memoizedState=xc,u}return g=t.child,t=g.sibling,u=Yn(g,{mode:"visible",children:u.children}),(r.mode&1)===0&&(u.lanes=o),u.return=r,u.sibling=null,t!==null&&(o=r.deletions,o===null?(r.deletions=[t],r.flags|=16):o.push(t)),r.child=u,r.memoizedState=null,u}function yc(t,r){return r=ea({mode:"visible",children:r},t.mode,0,null),r.return=t,t.child=r}function Uo(t,r,o,u){return u!==null&&Wl(u),Yr(r,t.child,null,o),t=yc(r,r.pendingProps.children),t.flags|=2,r.memoizedState=null,t}function ib(t,r,o,u,m,g,w){if(o)return r.flags&256?(r.flags&=-257,u=pc(Error(i(422))),Uo(t,r,w,u)):r.memoizedState!==null?(r.child=t.child,r.flags|=128,null):(g=u.fallback,m=r.mode,u=ea({mode:"visible",children:u.children},m,0,null),g=br(g,m,w,null),g.flags|=2,u.return=r,g.return=r,u.sibling=g,r.child=u,(r.mode&1)!==0&&Yr(r,t.child,null,w),r.child.memoizedState=vc(w),r.memoizedState=xc,g);if((r.mode&1)===0)return Uo(t,r,w,null);if(m.data==="$!"){if(u=m.nextSibling&&m.nextSibling.dataset,u)var C=u.dgst;return u=C,g=Error(i(419)),u=pc(g,u,void 0),Uo(t,r,w,u)}if(C=(w&t.childLanes)!==0,wt||C){if(u=Je,u!==null){switch(w&-w){case 4:m=2;break;case 16:m=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:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(u.suspendedLanes|w))!==0?0:m,m!==0&&m!==g.retryLane&&(g.retryLane=m,bn(t,m),en(u,t,m,-1))}return Mc(),u=pc(Error(i(421))),Uo(t,r,w,u)}return m.data==="$?"?(r.flags|=128,r.child=t.child,r=xb.bind(null,t),m._reactRetry=r,null):(t=g.treeContext,kt=Vn(m.nextSibling),Pt=r,Le=!0,Qt=null,t!==null&&(Dt[Vt++]=yn,Dt[Vt++]=wn,Dt[Vt++]=fr,yn=t.id,wn=t.overflow,fr=r),r=yc(r,u.children),r.flags|=4096,r)}function Im(t,r,o){t.lanes|=r;var u=t.alternate;u!==null&&(u.lanes|=r),Ql(t.return,r,o)}function wc(t,r,o,u,m){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:m}:(g.isBackwards=r,g.rendering=null,g.renderingStartTime=0,g.last=u,g.tail=o,g.tailMode=m)}function Lm(t,r,o){var u=r.pendingProps,m=u.revealOrder,g=u.tail;if(mt(t,r,u.children,o),u=Ve.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=r.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Im(t,o,r);else if(t.tag===19)Im(t,o,r);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===r)break e;for(;t.sibling===null;){if(t.return===null||t.return===r)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}u&=1}if(Pe(Ve,u),(r.mode&1)===0)r.memoizedState=null;else switch(m){case"forwards":for(o=r.child,m=null;o!==null;)t=o.alternate,t!==null&&Lo(t)===null&&(m=o),o=o.sibling;o=m,o===null?(m=r.child,r.child=null):(m=o.sibling,o.sibling=null),wc(r,!1,m,o,g);break;case"backwards":for(o=null,m=r.child,r.child=null;m!==null;){if(t=m.alternate,t!==null&&Lo(t)===null){r.child=m;break}t=m.sibling,m.sibling=o,o=m,m=t}wc(r,!0,o,null,g);break;case"together":wc(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Bo(t,r){(r.mode&1)===0&&t!==null&&(t.alternate=null,r.alternate=null,r.flags|=2)}function Sn(t,r,o){if(t!==null&&(r.dependencies=t.dependencies),xr|=r.lanes,(o&r.childLanes)===0)return null;if(t!==null&&r.child!==t.child)throw Error(i(153));if(r.child!==null){for(t=r.child,o=Yn(t,t.pendingProps),r.child=o,o.return=r;t.sibling!==null;)t=t.sibling,o=o.sibling=Yn(t,t.pendingProps),o.return=r;o.sibling=null}return r.child}
vendor: 5,267 bytes, line 8
8function sb(t,r,o){switch(r.tag){case 3:Rm(r),Gr();break;case 5:Gp(r);break;case 1:yt(r.type)&&No(r);break;case 4:Zl(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,m=r.memoizedProps.value;Pe(Ro,u._currentValue),u._currentValue=m;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Pe(Ve,Ve.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Om(t,r,o):(Pe(Ve,Ve.current&1),t=Sn(t,r,o),t!==null?t.sibling:null);Pe(Ve,Ve.current&1);break;case 19:if(u=(o&r.childLanes)!==0,(t.flags&128)!==0){if(u)return Lm(t,r,o);r.flags|=128}if(m=r.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),Pe(Ve,Ve.current),u)break;return null;case 22:case 23:return r.lanes=0,Tm(t,r,o)}return Sn(t,r,o)}var Mm,bc,_m,Dm;Mm=function(t,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)t.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},bc=function(){},_m=function(t,r,o,u){var m=t.memoizedProps;if(m!==u){t=r.stateNode,hr(cn.current);var g=null;switch(o){case"input":m=Qa(t,m),u=Qa(t,u),g=[];break;case"select":m=G({},m,{value:void 0}),u=G({},u,{value:void 0}),g=[];break;case"textarea":m=Za(t,m),u=Za(t,u),g=[];break;default:typeof m.onClick!="function"&&typeof u.onClick=="function"&&(t.onclick=bo)}tl(o,u);var w;o=null;for(M in m)if(!u.hasOwnProperty(M)&&m.hasOwnProperty(M)&&m[M]!=null)if(M==="style"){var C=m[M];for(w in C)C.hasOwnProperty(w)&&(o||(o={}),o[w]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(a.hasOwnProperty(M)?g||(g=[]):(g=g||[]).push(M,null));for(M in u){var P=u[M];if(C=m?.[M],u.hasOwnProperty(M)&&P!==C&&(P!=null||C!=null))if(M==="style")if(C){for(w in C)!C.hasOwnProperty(w)||P&&P.hasOwnProperty(w)||(o||(o={}),o[w]="");for(w in P)P.hasOwnProperty(w)&&C[w]!==P[w]&&(o||(o={}),o[w]=P[w])}else o||(g||(g=[]),g.push(M,o)),o=P;else M==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,C=C?C.__html:void 0,P!=null&&C!==P&&(g=g||[]).push(M,P)):M==="children"?typeof P!="string"&&typeof P!="number"||(g=g||[]).push(M,""+P):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(a.hasOwnProperty(M)?(P!=null&&M==="onScroll"&&ke("scroll",t),g||C===P||(g=[])):(g=g||[]).push(M,P))}o&&(g=g||[]).push("style",o);var M=g;(r.updateQueue=M)&&(r.flags|=4)}},Dm=function(t,r,o,u){o!==u&&(r.flags|=4)};function cs(t,r){if(!Le)switch(t.tailMode){case"hidden":r=t.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t.tail=null:o.sibling=null;break;case"collapsed":o=t.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?r||t.tail===null?t.tail=null:t.tail.sibling=null:u.sibling=null}}function ot(t){var r=t.alternate!==null&&t.alternate.child===t.child,o=0,u=0;if(r)for(var m=t.child;m!==null;)o|=m.lanes|m.childLanes,u|=m.subtreeFlags&14680064,u|=m.flags&14680064,m.return=t,m=m.sibling;else for(m=t.child;m!==null;)o|=m.lanes|m.childLanes,u|=m.subtreeFlags,u|=m.flags,m.return=t,m=m.sibling;return t.subtreeFlags|=u,t.childLanes=o,r}function ob(t,r,o){var u=r.pendingProps;switch($l(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ot(r),null;case 1:return yt(r.type)&&So(),ot(r),null;case 3:return u=r.stateNode,Jr(),Re(vt),Re(it),nc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(t===null||t.child===null)&&(Po(r)?r.flags|=4:t===null||t.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Qt!==null&&(Oc(Qt),Qt=null))),bc(t,r),ot(r),null;case 5:ec(r);var m=hr(is.current);if(o=r.type,t!==null&&r.stateNode!=null)_m(t,r,o,u,m),t.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(i(166));return ot(r),null}if(t=hr(cn.current),Po(r)){u=r.stateNode,o=r.type;var g=r.memoizedProps;switch(u[ln]=r,u[Zi]=g,t=(r.mode&1)!==0,o){case"dialog":ke("cancel",u),ke("close",u);break;case"iframe":case"object":case"embed":ke("load",u);break;case"video":case"audio":for(m=0;m<Qi.length;m++)ke(Qi[m],u);break;case"source":ke("error",u);break;case"img":case"image":case"link":ke("error",u),ke("load",u);break;case"details":ke("toggle",u);break;case"input":xf(u,g),ke("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!g.multiple},ke("invalid",u);break;case"textarea":wf(u,g),ke("invalid",u)}tl(o,g),m=null;for(var w in g)if(g.hasOwnProperty(w)){var C=g[w];w==="children"?typeof C=="string"?u.textContent!==C&&(g.suppressHydrationWarning!==!0&&wo(u.textContent,C,t),m=["children",C]):typeof C=="number"&&u.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&wo(u.textContent,C,t),m=["children",""+C]):a.hasOwnProperty(w)&&C!=null&&w==="onScroll"&&ke("scroll",u)}switch(o){case"input":Qs(u),yf(u,g,!0);break;case"textarea":Qs(u),jf(u);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(u.onclick=bo)}u=m,r.updateQueue=u,u!==null&&(r.flags|=4)}else{w=m.nodeType===9?m:m.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Sf(o)),t==="http://www.w3.org/1999/xhtml"?o==="script"?(t=w.createElement("div"),t.innerHTML="<script><\/script>
8",t=t.removeChild(t.firstChild)):typeof u.is=="string"?t=w.createElement(o,{is:u.is}):(t=w.createElement(o),o==="select"&&(w=t,u.multiple?w.multiple=!0:u.size&&(w.size=u.size))):t=w.createElementNS(t,o),t[ln]=r,t[Zi]=u,Mm(t,r,!1,!1),r.stateNode=t;e:{switch(w=nl(o,u),o){case"dialog":ke("cancel",t),ke("close",t),m=u;break;case"iframe":case"object":case"embed":ke("load",t),m=u;break;case"video":case"audio":for(m=0;m<Qi.length;m++)ke(Qi[m],t);m=u;break;case"source":ke("error",t),m=u;break;case"img":case"image":case"link":ke("error",t),ke("load",t),m=u;break;case"details":ke("toggle",t),m=u;break;case"input":xf(t,u),m=Qa(t,u),ke("invalid",t);break;case"option":m=u;break;case"select":t._wrapperState={wasMultiple:!!u.multiple},m=G({},u,{value:void 0}),ke("invalid",t);break;case"textarea":wf(t,u),m=Za(t,u),ke("invalid",t);break;default:m=u}tl(o,m),C=m;for(g in C)if(C.hasOwnProperty(g)){var P=C[g];g==="style"?Cf(t,P):g==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&Nf(t,P)):g==="children"?typeof P=="string"?(o!=="textarea"||P!=="")&&Ai(t,P):typeof P=="number"&&Ai(t,""+P):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(a.hasOwnProperty(g)?P!=null&&g==="onScroll"&&ke("scroll",t):P!=null&&k(t,g,P,w))}switch(o){case"input":Qs(t),yf(t,u,!1);break;case"textarea":Qs(t),jf(t);break;case"option":u.value!=null&&t.setAttribute("value",""+Ne(u.value));break;case"select":t.multiple=!!u.multiple,g=u.value,g!=null?Ir(t,!!u.multiple,g,!1):u.defaultValue!=null&&Ir(t,!!u.multiple,u.defaultValue,!0);break;default:typeof m.onClick=="function"&&(t.onclick=bo)}switch(o){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return ot(r),null;case 6:if(t&&r.stateNode!=null)Dm(t,r,t.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(i(166));if(o=hr(is.current),hr(cn.current),Po(r)){if(u=r.stateNode,o=r.memoizedProps,u[ln]=r,(g=u.nodeValue!==o)&&(t=Pt,t!==null))switch(t.tag){case 3:wo(u.nodeValue,o,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&wo(u.nodeValue,o,(t.mode&1)!==0)}g&&(r.flags|=4)}else u=(o.nodeType===9?o:o.ownerDocument).createTextNode(u),u[ln]=r,r.stateNode=u}return ot(r),null;case 13:if(Re(Ve),u=r.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Le&&kt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)zp(),Gr(),r.flags|=98560,g=!1;else if(g=Po(r),u!==null&&u.dehydrated!==null){if(t===null){if(!g)throw Error(i(318));if(g=r.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(i(317));g[ln]=r}else Gr(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;ot(r),g=!1}else Qt!==null&&(Oc(Qt),Qt=null),g=!0;if(!g)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(u=u!==null,u!==(t!==null&&t.memoizedState!==null)&&u&&(r.child.flags|=8192,(r.mode&1)!==0&&(t===null||(Ve.current&1)!==0?Ye===0&&(Ye=3):Mc())),r.updateQueue!==null&&(r.flags|=4),ot(r),null);case 4:return Jr(),bc(t,r),t===null&&Xi(r.stateNode.containerInfo),ot(r),null;case 10:return Yl(r.type._context),ot(r),null;case 17:return yt(r.type)&&So(),ot(r),null;case 19:if(Re(Ve),g=r.memoizedState,g===null)return ot(r),null;if(u=(r.flags&128)!==0,w=g.rendering,w===null)if(u)cs(g,!1);else{if(Ye!==0||t!==null&&(t.flags&128)!==0)for(t=r.child;t!==null;){if(w=Lo(t),w!==null){for(r.flags|=128,cs(g,!1),u=w.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=o,o=r.child;o!==null;)g=o,t=u,g.flags&=14680066,w=g.alternate,w===null?(g.childLanes=0,g.lanes=t,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=w.childLanes,g.lanes=w.lanes,g.child=w.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=w.memoizedProps,g.memoizedState=w.memoizedState,g.updateQueue=w.updateQueue,g.type=w.type,t=w.dependencies,g.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),o=o.sibling;return Pe(Ve,Ve.current&1|2),r.child}t=t.sibling}g.tail!==null&&$e()>ni&&(r.flags|=128,u=!0,cs(g,!1),r.lanes=4194304)}else{if(!u)if(t=Lo(w),t!==null){if(r.flags|=128,u=!0,o=t.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),cs(g,!0),g.tail===null&&g.tailMode==="hidden"&&!w.alternate&&!Le)return ot(r),null}else 2*$e()-g.renderingStartTime>ni&&o!==1073741824&&(r.flags|=128,u=!0,cs(g,!1),r.lanes=4194304);g.isBackwards?(w.sibling=r.child,r.child=w):(o=g.last,o!==null?o.sibling=w:r.child=w,g.last=w)}return g.tail!==null?(r=g.tail,g.rendering=r,g.tail=r.sibling,g.renderingStartTime=$e(),r.sibling=null,o=Ve.current,Pe(Ve,u?o&1|2:o&1),r):(ot(r),null);case 22:case 23:return Lc(),u=r.memoizedState!==null,t!==null&&t.memoizedState!==null!==u&&(r.flags|=8192),u&&(r.mode&1)!==0?(Rt&1073741824)!==0&&(ot(r),r.subtreeFlags&6&&(r.flags|=8192)):ot(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function ab(t,r){switch($l(r),r.tag){case 1:return yt(r.type)&&So(),t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 3:return Jr(),Re(vt),Re(it),nc(),t=r.flags,(t&65536)!==0&&(t&128)===0?(r.flags=t&-65537|128,r):null;case 5:return ec(r),null;case 13:if(Re(Ve),t=r.memoizedState,t!==null&&t.dehydrated!==null){if(r.alternate===null)throw Error(i(340));Gr()}return t=r.flags,t&65536?(r.flags=t&-65537|128,r):null;case 19:return Re(Ve),null;case 4:return Jr(),null;case 10:return Yl(r.type._context),null;case 22:case 23:return Lc(),null;case 24:return null;default:return null}}var $o=!1,at=!1,lb=typeof WeakSet=="function"?WeakSet:Set,X=null;function ei(t,r){var o=t.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(u){Ue(t,r,u)}else o.current=null}function jc(t,r,o){try{o()}catch(u){Ue(t,r,u)}}var Vm=!1;function cb(t,r){if(Ll=lo,t=gp(),Cl(t)){if("selectionStart"in t)var o={start:t.selectionStart,end:t.selectionEnd};else e:{o=(o=t.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;
vendor: 4,315 bytes, line 8
8var m=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{o.nodeType,g.nodeType}catch{o=null;break e}var w=0,C=-1,P=-1,M=0,U=0,q=t,z=null;t:for(;;){for(var Q;q!==o||m!==0&&q.nodeType!==3||(C=w+m),q!==g||u!==0&&q.nodeType!==3||(P=w+u),q.nodeType===3&&(w+=q.nodeValue.length),(Q=q.firstChild)!==null;)z=q,q=Q;for(;;){if(q===t)break t;if(z===o&&++M===m&&(C=w),z===g&&++U===u&&(P=w),(Q=q.nextSibling)!==null)break;q=z,z=q.parentNode}q=Q}o=C===-1||P===-1?null:{start:C,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ml={focusedElem:t,selectionRange:o},lo=!1,X=r;X!==null;)if(r=X,t=r.child,(r.subtreeFlags&1028)!==0&&t!==null)t.return=r,X=t;else for(;X!==null;){r=X;try{var Z=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Z!==null){var te=Z.memoizedProps,qe=Z.memoizedState,I=r.stateNode,R=I.getSnapshotBeforeUpdate(r.elementType===r.type?te:Xt(r.type,te),qe);I.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var L=r.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(H){Ue(r,r.return,H)}if(t=r.sibling,t!==null){t.return=r.return,X=t;break}X=r.return}return Z=Vm,Vm=!1,Z}function us(t,r,o){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var m=u=u.next;do{if((m.tag&t)===t){var g=m.destroy;m.destroy=void 0,g!==void 0&&jc(r,o,g)}m=m.next}while(m!==u)}}function qo(t,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var u=o.create;o.destroy=u()}o=o.next}while(o!==r)}}function Sc(t){var r=t.ref;if(r!==null){var o=t.stateNode;t.tag,t=o,typeof r=="function"?r(t):r.current=t}}function Fm(t){var r=t.alternate;r!==null&&(t.alternate=null,Fm(r)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(r=t.stateNode,r!==null&&(delete r[ln],delete r[Zi],delete r[Fl],delete r[Hw],delete r[Ww])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function zm(t){return t.tag===5||t.tag===3||t.tag===4}function Um(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||zm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Nc(t,r,o){var u=t.tag;if(u===5||u===6)t=t.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(t,r):o.insertBefore(t,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(t,o)):(r=o,r.appendChild(t)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=bo));else if(u!==4&&(t=t.child,t!==null))for(Nc(t,r,o),t=t.sibling;t!==null;)Nc(t,r,o),t=t.sibling}function Ec(t,r,o){var u=t.tag;if(u===5||u===6)t=t.stateNode,r?o.insertBefore(t,r):o.appendChild(t);else if(u!==4&&(t=t.child,t!==null))for(Ec(t,r,o),t=t.sibling;t!==null;)Ec(t,r,o),t=t.sibling}var tt=null,Jt=!1;function qn(t,r,o){for(o=o.child;o!==null;)Bm(t,r,o),o=o.sibling}function Bm(t,r,o){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(no,o)}catch{}switch(o.tag){case 5:at||ei(o,r);case 6:var u=tt,m=Jt;tt=null,qn(t,r,o),tt=u,Jt=m,tt!==null&&(Jt?(t=tt,o=o.stateNode,t.nodeType===8?t.parentNode.removeChild(o):t.removeChild(o)):tt.removeChild(o.stateNode));break;case 18:tt!==null&&(Jt?(t=tt,o=o.stateNode,t.nodeType===8?Vl(t.parentNode,o):t.nodeType===1&&Vl(t,o),Bi(t)):Vl(tt,o.stateNode));break;case 4:u=tt,m=Jt,tt=o.stateNode.containerInfo,Jt=!0,qn(t,r,o),tt=u,Jt=m;break;case 0:case 11:case 14:case 15:if(!at&&(u=o.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){m=u=u.next;do{var g=m,w=g.destroy;g=g.tag,w!==void 0&&((g&2)!==0||(g&4)!==0)&&jc(o,r,w),m=m.next}while(m!==u)}qn(t,r,o);break;case 1:if(!at&&(ei(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=o.memoizedProps,u.state=o.memoizedState,u.componentWillUnmount()}catch(C){Ue(o,r,C)}qn(t,r,o);break;case 21:qn(t,r,o);break;case 22:o.mode&1?(at=(u=at)||o.memoizedState!==null,qn(t,r,o),at=u):qn(t,r,o);break;default:qn(t,r,o)}}function $m(t){var r=t.updateQueue;if(r!==null){t.updateQueue=null;var o=t.stateNode;o===null&&(o=t.stateNode=new lb),r.forEach(function(u){var m=vb.b
vendor: 16,406 bytes, line 8
8ind(null,t,u);o.has(u)||(o.add(u),u.then(m,m))})}}function Zt(t,r){var o=r.deletions;if(o!==null)for(var u=0;u<o.length;u++){var m=o[u];try{var g=t,w=r,C=w;e:for(;C!==null;){switch(C.tag){case 5:tt=C.stateNode,Jt=!1;break e;case 3:tt=C.stateNode.containerInfo,Jt=!0;break e;case 4:tt=C.stateNode.containerInfo,Jt=!0;break e}C=C.return}if(tt===null)throw Error(i(160));Bm(g,w,m),tt=null,Jt=!1;var P=m.alternate;P!==null&&(P.return=null),m.return=null}catch(M){Ue(m,r,M)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)qm(r,t),r=r.sibling}function qm(t,r){var o=t.alternate,u=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Zt(r,t),dn(t),u&4){try{us(3,t,t.return),qo(3,t)}catch(te){Ue(t,t.return,te)}try{us(5,t,t.return)}catch(te){Ue(t,t.return,te)}}break;case 1:Zt(r,t),dn(t),u&512&&o!==null&&ei(o,o.return);break;case 5:if(Zt(r,t),dn(t),u&512&&o!==null&&ei(o,o.return),t.flags&32){var m=t.stateNode;try{Ai(m,"")}catch(te){Ue(t,t.return,te)}}if(u&4&&(m=t.stateNode,m!=null)){var g=t.memoizedProps,w=o!==null?o.memoizedProps:g,C=t.type,P=t.updateQueue;if(t.updateQueue=null,P!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&vf(m,g),nl(C,w);var M=nl(C,g);for(w=0;w<P.length;w+=2){var U=P[w],q=P[w+1];U==="style"?Cf(m,q):U==="dangerouslySetInnerHTML"?Nf(m,q):U==="children"?Ai(m,q):k(m,U,q,M)}switch(C){case"input":Xa(m,g);break;case"textarea":bf(m,g);break;case"select":var z=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!g.multiple;var Q=g.value;Q!=null?Ir(m,!!g.multiple,Q,!1):z!==!!g.multiple&&(g.defaultValue!=null?Ir(m,!!g.multiple,g.defaultValue,!0):Ir(m,!!g.multiple,g.multiple?[]:"",!1))}m[Zi]=g}catch(te){Ue(t,t.return,te)}}break;case 6:if(Zt(r,t),dn(t),u&4){if(t.stateNode===null)throw Error(i(162));m=t.stateNode,g=t.memoizedProps;try{m.nodeValue=g}catch(te){Ue(t,t.return,te)}}break;case 3:if(Zt(r,t),dn(t),u&4&&o!==null&&o.memoizedState.isDehydrated)try{Bi(r.containerInfo)}catch(te){Ue(t,t.return,te)}break;case 4:Zt(r,t),dn(t);break;case 13:Zt(r,t),dn(t),m=t.child,m.flags&8192&&(g=m.memoizedState!==null,m.stateNode.isHidden=g,!g||m.alternate!==null&&m.alternate.memoizedState!==null||(Pc=$e())),u&4&&$m(t);break;case 22:if(U=o!==null&&o.memoizedState!==null,t.mode&1?(at=(M=at)||U,Zt(r,t),at=M):Zt(r,t),dn(t),u&8192){if(M=t.memoizedState!==null,(t.stateNode.isHidden=M)&&!U&&(t.mode&1)!==0)for(X=t,U=t.child;U!==null;){for(q=X=U;X!==null;){switch(z=X,Q=z.child,z.tag){case 0:case 11:case 14:case 15:us(4,z,z.return);break;case 1:ei(z,z.return);var Z=z.stateNode;if(typeof Z.componentWillUnmount=="function"){u=z,o=z.return;try{r=u,Z.props=r.memoizedProps,Z.state=r.memoizedState,Z.componentWillUnmount()}catch(te){Ue(u,o,te)}}break;case 5:ei(z,z.return);break;case 22:if(z.memoizedState!==null){Km(q);continue}}Q!==null?(Q.return=z,X=Q):Km(q)}U=U.sibling}e:for(U=null,q=t;;){if(q.tag===5){if(U===null){U=q;try{m=q.stateNode,M?(g=m.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=q.stateNode,P=q.memoizedProps.style,w=P!=null&&P.hasOwnProperty("display")?P.display:null,C.style.display=Ef("display",w))}catch(te){Ue(t,t.return,te)}}}else if(q.tag===6){if(U===null)try{q.stateNode.nodeValue=M?"":q.memoizedProps}catch(te){Ue(t,t.return,te)}}else if((q.tag!==22&&q.tag!==23||q.memoizedState===null||q===t)&&q.child!==null){q.child.return=q,q=q.child;continue}if(q===t)break e;for(;q.sibling===null;){if(q.return===null||q.return===t)break e;U===q&&(U=null),q=q.return}U===q&&(U=null),q.sibling.return=q.return,q=q.sibling}}break;case 19:Zt(r,t),dn(t),u&4&&$m(t);break;case 21:break;default:Zt(r,t),dn(t)}}function dn(t){var r=t.flags;if(r&2){try{e:{for(var o=t.return;o!==null;){if(zm(o)){var u=o;break e}o=o.return}throw Error(i(160))}switch(u.tag){case 5:var m=u.stateNode;u.flags&32&&(Ai(m,""),u.flags&=-33);var g=Um(t);Ec(t,g,m);break;case 3:case 4:var w=u.stateNode.containerInfo,C=Um(t);Nc(t,C,w);break;default:throw Error(i(161))}}catch(P){Ue(t,t.return,P)}t.flags&=-3}r&4096&&(t.flags&=-4097)}function ub(t,r,o){X=t,Hm(t)}function Hm(t,r,o){for(var u=(t.mode&1)!==0;X!==null;){var m=X,g=m.child;if(m.tag===22&&u){var w=m.memoizedState!==null||$o;if(!w){var C=m.alternate,P=C!==null&&C.memoizedState!==null||at;C=$o;var M=at;if($o=w,(at=P)&&!M)for(X=m;X!==null;)w=X,P=w.child,w.tag===22&&w.memoizedState!==null?Gm(m):P!==null?(P.return=w,X=P):Gm(m);for(;g!==null;)X=g,Hm(g),g=g.sibling;X=m,$o=C,at=M}Wm(t)}else(m.subtreeFlags&8772)!==0&&g!==null?(g.return=m,X=g):Wm(t)}}function Wm(t){for(;X!==null;){var r=X;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:at||qo(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!at)if(o===null)u.componentDidMount();else{var m=r.elementType===r.type?o.memoizedProps:Xt(r.type,o.memoizedProps);u.componentDidUpdate(m,o.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var g=r.updateQueue;g!==null&&Kp(r,g,u);break;case 3:var w=r.updateQueue;if(w!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}Kp(r,w,o)}break;case 5:var C=r.stateNode;if(o===null&&r.flags&4){o=C;var P=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":P.autoFocus&&o.focus();break;case"img":P.src&&(o.src=P.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var M=r.alternate;if(M!==null){var U=M.memoizedState;if(U!==null){var q=U.dehydrated;q!==null&&Bi(q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}at||r.flags&512&&Sc(r)}catch(z){Ue(r,r.return,z)}}if(r===t){X=null;break}if(o=r.sibling,o!==null){o.return=r.return,X=o;break}X=r.return}}function Km(t){for(;X!==null;){var r=X;if(r===t){X=null;break}var o=r.sibling;if(o!==null){o.return=r.return,X=o;break}X=r.return}}function Gm(t){for(;X!==null;){var r=X;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{qo(4,r)}catch(P){Ue(r,o,P)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var m=r.return;try{u.componentDidMount()}catch(P){Ue(r,m,P)}}var g=r.return;try{Sc(r)}catch(P){Ue(r,g,P)}break;case 5:var w=r.return;try{Sc(r)}catch(P){Ue(r,w,P)}}}catch(P){Ue(r,r.return,P)}if(r===t){X=null;break}var C=r.sibling;if(C!==null){C.return=r.return,X=C;break}X=r.return}}var db=Math.ceil,Ho=_.ReactCurrentDispatcher,Cc=_.ReactCurrentOwner,Ut=_.ReactCurrentBatchConfig,be=0,Je=null,We=null,nt=0,Rt=0,ti=Fn(0),Ye=0,ds=null,xr=0,Wo=0,Tc=0,fs=null,bt=null,Pc=0,ni=1/0,Nn=null,Ko=!1,kc=null,Hn=null,Go=!1,Wn=null,Yo=0,ps=0,Rc=null,Qo=-1,Xo=0;function ht(){return(be&6)!==0?$e():Qo!==-1?Qo:Qo=$e()}function Kn(t){return(t.mode&1)===0?1:(be&2)!==0&&nt!==0?nt&-nt:Gw.transition!==null?(Xo===0&&(Xo=Uf()),Xo):(t=Ee,t!==0||(t=window.event,t=t===void 0?16:Qf(t.type)),t)}function en(t,r,o,u){if(50<ps)throw ps=0,Rc=null,Error(i(185));Di(t,o,u),((be&2)===0||t!==Je)&&(t===Je&&((be&2)===0&&(Wo|=o),Ye===4&&Gn(t,nt)),jt(t,u),o===1&&be===0&&(r.mode&1)===0&&(ni=$e()+500,Eo&&Un()))}function jt(t,r){var o=t.callbackNode;G0(t,r);var u=so(t,t===Je?nt:0);if(u===0)o!==null&&Vf(o),t.callbackNode=null,t.callbackPriority=0;else if(r=u&-u,t.callbackPriority!==r){if(o!=null&&Vf(o),r===1)t.tag===0?Kw(Qm.bind(null,t)):Mp(Qm.bind(null,t)),$w(function(){(be&6)===0&&Un()}),o=null;else{switch(Bf(u)){case 1:o=cl;break;case 4:o=Ff;break;case 16:o=to;break;case 536870912:o=zf;break;default:o=to}o=ih(o,Ym.bind(null,t))}t.callbackPriority=r,t.callbackNode=o}}function Ym(t,r){if(Qo=-1,Xo=0,(be&6)!==0)throw Error(i(327));var o=t.callbackNode;if(ri()&&t.callbackNode!==o)return null;var u=so(t,t===Je?nt:0);if(u===0)return null;if((u&30)!==0||(u&t.expiredLanes)!==0||r)r=Jo(t,u);else{r=u;var m=be;be|=2;var g=Jm();(Je!==t||nt!==r)&&(Nn=null,ni=$e()+500,yr(t,r));do try{mb();break}catch(C){Xm(t,C)}while(!0);Gl(),Ho.current=g,be=m,We!==null?r=0:(Je=null,nt=0,r=Ye)}if(r!==0){if(r===2&&(m=ul(t),m!==0&&(u=m,r=Ac(t,m))),r===1)throw o=ds,yr(t,0),Gn(t,u),jt(t,$e()),o;if(r===6)Gn(t,u);else{if(m=t.current.alternate,(u&30)===0&&!fb(m)&&(r=Jo(t,u),r===2&&(g=ul(t),g!==0&&(u=g,r=Ac(t,g))),r===1))throw o=ds,yr(t,0),Gn(t,u),jt(t,$e()),o;switch(t.finishedWork=m,t.finishedLanes=u,r){case 0:case 1:throw Error(i(345));case 2:wr(t,bt,Nn);break;case 3:if(Gn(t,u),(u&130023424)===u&&(r=Pc+500-$e(),10<r)){if(so(t,0)!==0)break;if(m=t.suspendedLanes,(m&u)!==u){ht(),t.pingedLanes|=t.suspendedLanes&m;break}t.timeoutHandle=Dl(wr.bind(null,t,bt,Nn),r);break}wr(t,bt,Nn);break;case 4:if(Gn(t,u),(u&4194240)===u)break;for(r=t.eventTimes,m=-1;0<u;){var w=31-Gt(u);g=1<<w,w=r[w],w>m&&(m=w),u&=~g}if(u=m,u=$e()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*db(u/1960))-u,10<u){t.timeoutHandle=Dl(wr.bind(null,t,bt,Nn),u);break}wr(t,bt,Nn);break;case 5:wr(t,bt,Nn);break;default:throw Error(i(329))}}}return jt(t,$e()),t.callbackNode===o?Ym.bind(null,t):null}function Ac(t,r){var o=fs;return t.current.memoizedState.isDehydrated&&(yr(t,r).flags|=256),t=Jo(t,r),t!==2&&(r=bt,bt=o,r!==null&&Oc(r)),t}function Oc(t){bt===null?bt=t:bt.push.apply(bt,t)}function fb(t){for(var r=t;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var u=0;u<o.length;u++){var m=o[u],g=m.getSnapshot;m=m.value;try{if(!Yt(g(),m))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Gn(t,r){for(r&=~Tc,r&=~Wo,t.suspendedLanes|=r,t.pingedLanes&=~r,t=t.expirationTimes;0<r;){var o=31-Gt(r),u=1<<o;t[o]=-1,r&=~u}}function Qm(t){if((be&6)!==0)throw Error(i(327));ri();var r=so(t,0);if((r&1)===0)return jt(t,$e()),null;var o=Jo(t,r);if(t.tag!==0&&o===2){var u=ul(t);u!==0&&(r=u,o=Ac(t,u))}if(o===1)throw o=ds,yr(t,0),Gn(t,r),jt(t,$e()),o;if(o===6)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=r,wr(t,bt,Nn),jt(t,$e()),null}function Ic(t,r){var o=be;be|=1;try{return t(r)}finally{be=o,be===0&&(ni=$e()+500,Eo&&Un())}}function vr(t){Wn!==null&&Wn.tag===0&&(be&6)===0&&ri();var r=be;be|=1;var o=Ut.transition,u=Ee;try{if(Ut.transition=null,Ee=1,t)return t()}finally{Ee=u,Ut.transition=o,be=r,(be&6)===0&&Un()}}function Lc(){Rt=ti.current,Re(ti)}function yr(t,r){t.finishedWork=null,t.finishedLanes=0;var o=t.timeoutHandle;if(o!==-1&&(t.timeoutHandle=-1,Bw(o)),We!==null)for(o=We.return;o!==null;){var u=o;switch($l(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&So();break;case 3:Jr(),Re(vt),Re(it),nc();break;case 5:ec(u);break;case 4:Jr();break;case 13:Re(Ve);break;case 19:Re(Ve);break;case 10:Yl(u.type._context);break;case 22:case 23:Lc()}o=o.return}if(Je=t,We=t=Yn(t.current,null),nt=Rt=r,Ye=0,ds=null,Tc=Wo=xr=0,bt=fs=null,mr!==null){for(r=0;r<mr.length;r++)if(o=mr[r],u=o.interleaved,u!==null){o.interleaved=null;var m=u.next,g=o.pending;if(g!==null){var w=g.next;g.next=m,u.next=w}o.pending=u}mr=null}return t}function Xm(t,r){do{var o=We;try{if(Gl(),Mo.current=Fo,_o){for(var u=Fe.memoizedState;u!==null;){var m=u.queue;m!==null&&(m.pending=null),u=u.next}_o=!1}if(gr=0,Xe=Ge=Fe=null,ss=!1,os=0,Cc.current=null,o===null||o.return===null){Ye=1,ds=r,We=null;break}e:{var g=t,w=o.return,C=o,P=r;if(r=nt,C.flags|=32768,P!==null&&typeof P=="object"&&typeof P.then=="function"){var M=P,U=C,q=U.tag;if((U.mode&1)===0&&(q===0||q===11||q===15)){var z=U.alternate;z?(U.updateQueue=z.updateQueue,U.memoizedState=z.memoizedState,U.lanes=z.lanes):(U.updateQueue=null,U.memoizedState=null)}var Q=jm(w);if(Q!==null){Q.flags&=-257,Sm(Q,w,C,g,r),Q.mode&1&&bm(g,M,r),r=Q,P=M;var Z=r.updateQueue;if(Z===null){var te=new Set;te.add(P),r.updateQueue=te}else Z.add(P);break e}else{if((r&1)===0){bm(g,M,r),Mc();break e}P=Error(i(426))}}else if(Le&&C.mode&1){var qe=jm(w);if(qe!==null){(qe.flags&65536)===0&&(qe.flags|=256),Sm(qe,w,C,g,r),Wl(Zr(P,C));break e}}g=P=Zr(P,C),Ye!==4&&(Ye=2),fs===null?fs=[g]:fs.push(g),g=w;do{switch(g.tag){case 3:g.flags|=65536,r&=-r,g.lanes|=r;var I=ym(g,P,r);Wp(g,I);break e;case 1:C=P;var R=g.type,L=g.stateNode;if((g.flags&128)===0&&(typeof R.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(Hn===null||!Hn.has(L)))){g.flags|=65536,r&=-r,g.lanes|=r;var H=wm(g,C,r);Wp(g,H);break e}}g=g.return}while(g!==null)}eh(o)}catch(ne){r=ne,We===o&&o!==null&&(We=o=o.return);continue}break}while(!0)}function Jm(){var t=Ho.current;return Ho.current=Fo,t===null?Fo:t}function Mc(){(Ye===0||Ye===3||Ye===2)&&(Ye=4),Je===null||(xr&268435455)===0&&(Wo&268435455)===0||Gn(Je,nt)}function Jo(t,r){var o=be;be|=2;var u=Jm();(Je!==t||nt!==r)&&(Nn=null,yr(t,r));do try{pb();break}catch(m){Xm(t,m)}while(!0);if(Gl(),be=o,Ho.current=u,We!==null)throw Error(i(261));return Je=null,nt=0,Ye}function pb(){for(;We!==null;)Zm(We)}function mb(){for(;We!==null&&!F0();)Zm(We)}function Zm(t){var r=rh(t.alternate,t,Rt);t.memoizedProps=t.pendingProps,r===null?eh(t):We=r,Cc.current=null}function eh(t){var r=t;do{var o=r.alternate;if(t=r.return,(r.flags&32768)===0){if(o=ob(o,r,Rt),o!==null){We=o;return}}else{if(o=ab(o,r),o!==null){o.flags&=32767,We=o;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Ye=6,We=null;return}}if(r=r.sibling,r!==null){We=r;return}We=r=t}while(r!==null);Ye===0&&(Ye=5)}function wr(t,r,o){var u=Ee,m=Ut.transition;try{Ut.transition=null,Ee=1,hb(t,r,o,u)}finally{Ut.transition=m,Ee=u}return null}function hb(t,r,o,u){do ri();while(Wn!==null);if((be&6)!==0)throw Error(i(327));o=t.finishedWork;var m=t.finishedLanes;if(o===null)return null;if(t.finishedWork=null,t.finishedLanes=0,o===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var g=o.lanes|o.childLanes;if(Y0(t,g),t===Je&&(We=Je=null,nt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Go||(Go=!0,ih(to,function(){return ri(),null})),g=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||g){g=Ut.transition,Ut.transition=null;var w=Ee;Ee=1;var C=be;be|=4,Cc.current=null,cb(t,o),qm(o,t),Mw(Ml),lo=!!Ll,Ml=Ll=null,t.current=o,ub(o),z0(),be=C,Ee=w,Ut.transition=g}else t.current=o;if(Go&&(Go=!1,Wn=t,Yo=m),g=t.pendingLanes,g===0&&(Hn=null),$0(o.stateNode),jt(t,$e()),r!==null)for(u=t.onRecoverableError,o=0;o<r.length;o++)m=r[o],u(m.value,{componentStack:m.stack,digest:m.digest});if(Ko)throw Ko=!1,t=kc,kc=null,t;return(Yo&1)!==0&&t.tag!==0&&ri(),g=t.pendingLanes,(g&1)!==0?t===Rc?ps++:(ps=0,Rc=t):ps=0,Un(),null}function ri(){if(Wn!==null){var t=Bf(Yo),r=Ut.transition,o=Ee;try{if(Ut.transition=null,Ee=16>t?16:t,Wn===null)var u=!1;else{if(t=Wn,Wn=null,Yo=0,(be&6)!==0)throw Error(i(331));var m=be;for(be|=4,X=t.current;X!==null;){var g=X,w=g.child;if((X.flags&16)!==0){var C=g.deletions;if(C!==null){for(var P=0;P<C.length;P++){var M=C[P];for(X=M;X!==null;){var U=X;switch(U.tag){case 0:case 11:case 15:us(8,U,g)}var q=U.child;if(q!==null)q.return=U,X=q;else for(;X!==null;){U=X;var z=U.sibling,Q=U.return;if(Fm(U),U===M){X=null;break}if(z!==null){z.return=Q,X=z;break}X=Q}}}var Z=g.alternate;if(Z!==null){var te=Z.child;if(te!==null){Z.child=null;do{var qe=te.sibling;te.sibling=null,te=qe}while(te!==null)}}X=g}}if((g.subtreeFlags&2064)!==0&&w!==null)w.return=g,X=w;else e:for(;X!==null;){if(g=X,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:us(9,g,g.return)}var I=g.sibling;if(I!==null){I.return=g.return,X=I;break e}X=g.return}}var R=t.current;for(X=R;X!==null;){w=X;var L=w.child;if((w.subtreeFlags&2064)!==0&&L!==null)L.return=w,X=L;else e:for(w=R;X!==null;){if(C=X,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:qo(9,C)}}catch(ne){Ue(C,C.return,ne)}if(C===w){X=null;break e}var H=C.sibling;if(H!==null){H.return=C.return,X=H;break e}X=C.return}}if(be=m,Un(),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(no,t)}catch{}u=!0}return u}finally{Ee=o,Ut.transition=r}}return!1}function th(t,r,o){r=Zr(o,r),r=ym(t,r,1),t=$n(t,r,1),r=ht(),t!==null&&(Di(t,1,r),jt(t,r))}function Ue(t,r,o){if(t.tag===3)th(t,t,o);else for(;r!==null;){if(r.tag===3){th(r,t,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Hn===null||!Hn.has(u))){t=Zr(o,t),t=wm(r,t,1),r=$n(r,t,1),t=ht(),r!==null&&(Di(r,1,t),jt(r,t));break}}r=r.return}}function gb(t,r,o){var u=t.pingCache;u!==null&&u.delete(r),r=ht(),t.pingedLanes|=t.suspendedLanes&o,Je===t&&(nt&o)===o&&(Ye===4||Ye===3&&(nt&130023424)===nt&&500>
vendor: 4,508 bytes, line 8
8$e()-Pc?yr(t,0):Tc|=o),jt(t,r)}function nh(t,r){r===0&&((t.mode&1)===0?r=1:(r=io,io<<=1,(io&130023424)===0&&(io=4194304)));var o=ht();t=bn(t,r),t!==null&&(Di(t,r,o),jt(t,o))}function xb(t){var r=t.memoizedState,o=0;r!==null&&(o=r.retryLane),nh(t,o)}function vb(t,r){var o=0;switch(t.tag){case 13:var u=t.stateNode,m=t.memoizedState;m!==null&&(o=m.retryLane);break;case 19:u=t.stateNode;break;default:throw Error(i(314))}u!==null&&u.delete(r),nh(t,o)}var rh;rh=function(t,r,o){if(t!==null)if(t.memoizedProps!==r.pendingProps||vt.current)wt=!0;else{if((t.lanes&o)===0&&(r.flags&128)===0)return wt=!1,sb(t,r,o);wt=(t.flags&131072)!==0}else wt=!1,Le&&(r.flags&1048576)!==0&&_p(r,To,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;Bo(t,r),t=r.pendingProps;var m=Hr(r,it.current);Xr(r,o),m=sc(null,r,u,t,m,o);var g=oc();return r.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,yt(u)?(g=!0,No(r)):g=!1,r.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,Jl(r),m.updater=zo,r.stateNode=m,m._reactInternals=r,fc(r,u,t,o),r=gc(null,r,u,!0,g,o)):(r.tag=0,Le&&g&&Bl(r),mt(null,r,m,o),r=r.child),r;case 16:u=r.elementType;e:{switch(Bo(t,r),t=r.pendingProps,m=u._init,u=m(u._payload),r.type=u,m=r.tag=wb(u),t=Xt(u,t),m){case 0:r=hc(null,r,u,t,o);break e;case 1:r=km(null,r,u,t,o);break e;case 11:r=Nm(null,r,u,t,o);break e;case 14:r=Em(null,r,u,Xt(u.type,t),o);break e}throw Error(i(306,u,""))}return r;case 0:return u=r.type,m=r.pendingProps,m=r.elementType===u?m:Xt(u,m),hc(t,r,u,m,o);case 1:return u=r.type,m=r.pendingProps,m=r.elementType===u?m:Xt(u,m),km(t,r,u,m,o);case 3:e:{if(Rm(r),t===null)throw Error(i(387));u=r.pendingProps,g=r.memoizedState,m=g.element,Hp(t,r),Io(r,u,null,o);var w=r.memoizedState;if(u=w.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){m=Zr(Error(i(423)),r),r=Am(t,r,u,o,m);break e}else if(u!==m){m=Zr(Error(i(424)),r),r=Am(t,r,u,o,m);break e}else for(kt=Vn(r.stateNode.containerInfo.firstChild),Pt=r,Le=!0,Qt=null,o=$p(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Gr(),u===m){r=Sn(t,r,o);break e}mt(t,r,u,o)}r=r.child}return r;case 5:return Gp(r),t===null&&Hl(r),u=r.type,m=r.pendingProps,g=t!==null?t.memoizedProps:null,w=m.children,_l(u,m)?w=null:g!==null&&_l(u,g)&&(r.flags|=32),Pm(t,r),mt(t,r,w,o),r.child;case 6:return t===null&&Hl(r),null;case 13:return Om(t,r,o);case 4:return Zl(r,r.stateNode.containerInfo),u=r.pendingProps,t===null?r.child=Yr(r,null,u,o):mt(t,r,u,o),r.child;case 11:return u=r.type,m=r.pendingProps,m=r.elementType===u?m:Xt(u,m),Nm(t,r,u,m,o);case 7:return mt(t,r,r.pendingProps,o),r.child;case 8:return mt(t,r,r.pendingProps.children,o),r.child;case 12:return mt(t,r,r.pendingProps.children,o),r.child;case 10:e:{if(u=r.type._context,m=r.pendingProps,g=r.memoizedProps,w=m.value,Pe(Ro,u._currentValue),u._currentValue=w,g!==null)if(Yt(g.value,w)){if(g.children===m.children&&!vt.current){r=Sn(t,r,o);break e}}else for(g=r.child,g!==null&&(g.return=r);g!==null;){var C=g.dependencies;if(C!==null){w=g.child;for(var P=C.firstContext;P!==null;){if(P.context===u){if(g.tag===1){P=jn(-1,o&-o),P.tag=2;var M=g.updateQueue;if(M!==null){M=M.shared;var U=M.pending;U===null?P.next=P:(P.next=U.next,U.next=P),M.pending=P}}g.lanes|=o,P=g.alternate,P!==null&&(P.lanes|=o),Ql(g.return,o,r),C.lanes|=o;break}P=P.next}}else if(g.tag===10)w=g.type===r.type?null:g.child;else if(g.tag===18){if(w=g.return,w===null)throw Error(i(341));w.lanes|=o,C=w.alternate,C!==null&&(C.lanes|=o),Ql(w,o,r),w=g.sibling}else w=g.child;if(w!==null)w.return=g;else for(w=g;w!==null;){if(w===r){w=null;break}if(g=w.sibling,g!==null){g.return=w.return,w=g;break}w=w.return}g=w}mt(t,r,m.children,o),r=r.child}return r;case 9:return m=r.type,u=r.pendingProps.children,Xr(r,o),m=Ft(m),u=u(m),r.flags|=1,mt(t,r,u,o),r.child;case 14:return u=r.type,m=Xt(u,r.pendingProps),m=Xt(u.type,m),Em(t,r,u,m,o);case 15:return Cm(t,r,r.type,r.pendingProps,o);case 17:return u=r.type,m=r.pendingProps,m=r.elementType===u?m:Xt(u,m),Bo(t,r),r.tag=1,yt(u)?(t=!0,No(r)):t=!1,Xr(r,o),xm(r,u,m),fc(r,u,m,o),gc(null,r,u,!0,t,o);case 19:return Lm(t,r,o);case 22:return Tm(t,r,o)}throw Error(i(156,r.tag))};function ih(t,r){return Df(t,r)}function yb(t,r,o,u){this.tag=t,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 6,099 bytes, line 8
8ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(t,r,o,u){return new yb(t,r,o,u)}function _c(t){return t=t.prototype,!(!t||!t.isReactComponent)}function wb(t){if(typeof t=="function")return _c(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Y)return 11;if(t===Se)return 14}return 2}function Yn(t,r){var o=t.alternate;return o===null?(o=Bt(t.tag,r,t.key,t.mode),o.elementType=t.elementType,o.type=t.type,o.stateNode=t.stateNode,o.alternate=t,t.alternate=o):(o.pendingProps=r,o.type=t.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=t.flags&14680064,o.childLanes=t.childLanes,o.lanes=t.lanes,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,r=t.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=t.sibling,o.index=t.index,o.ref=t.ref,o}function Zo(t,r,o,u,m,g){var w=2;if(u=t,typeof t=="function")_c(t)&&(w=1);else if(typeof t=="string")w=5;else e:switch(t){case W:return br(o.children,m,g,r);case K:w=8,m|=8;break;case re:return t=Bt(12,o,r,m|2),t.elementType=re,t.lanes=g,t;case he:return t=Bt(13,o,r,m),t.elementType=he,t.lanes=g,t;case ye:return t=Bt(19,o,r,m),t.elementType=ye,t.lanes=g,t;case ee:return ea(o,m,g,r);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ce:w=10;break e;case ve:w=9;break e;case Y:w=11;break e;case Se:w=14;break e;case ie:w=16,u=null;break e}throw Error(i(130,t==null?t:typeof t,""))}return r=Bt(w,o,r,m),r.elementType=t,r.type=u,r.lanes=g,r}function br(t,r,o,u){return t=Bt(7,t,u,r),t.lanes=o,t}function ea(t,r,o,u){return t=Bt(22,t,u,r),t.elementType=ee,t.lanes=o,t.stateNode={isHidden:!1},t}function Dc(t,r,o){return t=Bt(6,t,null,r),t.lanes=o,t}function Vc(t,r,o){return r=Bt(4,t.children!==null?t.children:[],t.key,r),r.lanes=o,r.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},r}function bb(t,r,o,u,m){this.tag=r,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=dl(0),this.expirationTimes=dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dl(0),this.identifierPrefix=u,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Fc(t,r,o,u,m,g,w,C,P){return t=new bb(t,r,o,C,P),r===1?(r=1,g===!0&&(r|=8)):r=0,g=Bt(3,null,null,r),t.current=g,g.stateNode=t,g.memoizedState={element:u,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jl(g),t}function jb(t,r,o){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B,key:u==null?null:""+u,children:t,containerInfo:r,implementation:o}}function sh(t){if(!t)return zn;t=t._reactInternals;e:{if(cr(t)!==t||t.tag!==1)throw Error(i(170));var r=t;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(yt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(t.tag===1){var o=t.type;if(yt(o))return Ip(t,o,r)}return r}function oh(t,r,o,u,m,g,w,C,P){return t=Fc(o,u,!0,t,m,g,w,C,P),t.context=sh(null),o=t.current,u=ht(),m=Kn(o),g=jn(u,m),g.callback=r??null,$n(o,g,m),t.current.lanes=m,Di(t,m,u),jt(t,u),t}function ta(t,r,o,u){var m=r.current,g=ht(),w=Kn(m);return o=sh(o),r.context===null?r.context=o:r.pendingContext=o,r=jn(g,w),r.payload={element:t},u=u===void 0?null:u,u!==null&&(r.callback=u),t=$n(m,r,w),t!==null&&(en(t,m,w,g),Oo(t,m,w)),w}function na(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function ah(t,r){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var o=t.retryLane;t.retryLane=o!==0&&o<r?o:r}}function zc(t,r){ah(t,r),(t=t.alternate)&&ah(t,r)}function Sb(){return null}var lh=typeof reportError=="function"?reportError:function(t){console.error(t)};function Uc(t){this._internalRoot=t}ra.prototype.render=Uc.prototype.render=function(t){var r=this._internalRoot;if(r===null)throw Error(i(409));ta(t,r,null,null)},ra.prototype.unmount=Uc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var r=t.containerInfo;vr(function(){ta(null,t,null,null)}),r[xn]=null}};function ra(t){this._internalRoot=t}ra.prototype.unstable_scheduleHydration=function(t){if(t){var r=Hf();t={blockedOn:null,target:t,priority:r};for(var o=0;o<Mn.length&&r!==0&&r<Mn[o].priority;o++);Mn.splice(o,0,t),o===0&&Gf(t)}};function Bc(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function ia(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function ch(){}function Nb(t,r,o,u,m){if(m){if(typeof u=="function"){var g=u;u=function(){var M=na(w);g.call(M)}}var w=oh(r,u,t,0,null,!1,!1,"",ch);return t._reactRootContainer=w,t[xn]=w.current,Xi(t.nodeType===8?t.parentNode:t),vr(),w}for(;m=t.lastChild;)t.removeChild(m);if(typeof u=="function"){var C=u;u=function(){var M=na(P);C.call(M)}}var P=Fc(t,0,!1,null,null,!1,!1,"",ch);return t._reactRootContainer=P,t[xn]=P.current,Xi(t.nodeType===8?t.parentNode:t),vr(function(){ta(r,P,o,u)}),P}function sa(t,r,o,u,m){var g=o._reactRootContainer;if(g){var w=g;if(typeof m=="function"){var C=m;m=function(){var P=na(w);C.call(P)}}ta(r,w,t,m)}else w=Nb(o,r,t,m,u);return na(w)}$f=function(t){switch(t.tag){case 3:var r=t.stateNode;if(r.current.memoizedState.isDehydrated){var o=_i(r.pendingLanes);o!==0&&(fl(r,o|1),jt(r,$e()),(be&6)===0&&(ni=$e()+500,Un()))}break;case 13:vr(function(){var u=bn(t,1);if(u!==null){var m=ht();en(u,t,1,m)}}),zc(t,1)}},pl=function(t){if(t.tag===13){var r=bn(t,134217728);if(r!==null){var o=ht();en(r,t,134217728,o)}zc(t,134217728)}},qf=function(t){if(t.tag===13){var r=Kn(t),o=bn(t,r);
8if(o!==null){var u=ht();en(o,t,r,u)}zc(t,r)}},Hf=function(){return Ee},Wf=function(t,r){var o=Ee;try{return Ee=t,r()}finally{Ee=o}},sl=function(t,r,o){switch(r){case"input":if(Xa(t,o),r=o.name,o.type==="radio"&&r!=null){for(o=t;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==t&&u.form===t.form){var m=jo(u);if(!m)throw Error(i(90));gf(u),Xa(u,m)}}}break;case"textarea":bf(t,o);break;case"select":r=o.value,r!=null&&Ir(t,!!o.multiple,r,!1)}},Rf=Ic,Af=vr;var Eb={usingClientEntryPoint:!1,Events:[es,$r,jo,Pf,kf,Ic]},ms={findFiberByHostInstance:ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Cb={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:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Mf(t),t===null?null:t.stateNode},findFiberByHostInstance:ms.findFiberByHostInstance||Sb,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 oa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oa.isDisabled&&oa.supportsFiber)try{no=oa.inject(Cb),an=oa}catch{}}return St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Eb,St.createPortal=function(t,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bc(r))throw Error(i(200));return jb(t,r,null,o)},St.createRoot=function(t,r){if(!Bc(t))throw Error(i(299));var o=!1,u="",m=lh;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(m=r.onRecoverableError)),r=Fc(t,1,!1,null,null,o,!1,u,m),t[xn]=r.current,Xi(t.nodeType===8?t.parentNode:t),new Uc(r)},St.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var r=t._reactInternals;if(r===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=Mf(r),t=t===null?null:t.stateNode,t},St.flushSync=function(t){return vr(t)},St.hydrate=function(t,r,o){if(!ia(r))throw Error(i(200));return sa(null,t,r,!0,o)},St.hydrateRoot=function(t,r,o){if(!Bc(t))throw Error(i(405));var u=o!=null&&o.hydratedSources||null,m=!1,g="",w=lh;if(o!=null&&(o.unstable_strictMode===!0&&(m=!0),o.identifierPrefix!==void 0&&(g=o.identifierPrefix),o.onRecoverableError!==void 0&&(w=o.onRecoverableError)),r=oh(r,null,t,1,o??null,m,!1,g,w),t[xn]=r.current,Xi(t),u)for(t=0;t<u.length;t++)o=u[t],m=o._getVersion,m=m(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,m]:r.mutableSourceEagerHydrationData.push(o,m);return new ra(r)},St.render=function(t,r,o){if(!ia(r))throw Error(i(200));return sa(null,t,r,!1,o)},St.unmountComponentAtNode=function(t){if(!ia(t))throw Error(i(40));return t._reactRootContainer?(vr(function(){sa(null,null,t,!1,function(){t._reactRootContainer=null,t[xn]=null})}),!0):!1},St.unstable_batchedUpdates=Ic,St.unstable_renderSubtreeIntoContainer=function(t,r,o,u){if(!ia(o))throw Error(i(200));if(t==null||t._reactInternals===void 0)throw Error(i(38));return sa(t,r,o,!1,u)},St.version="18.3.1-next-f1338f8080-20240426",St}var wh;function Sx(){if(wh)return Wc.exports;wh=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),Wc.exports=Lb(),Wc.exports}var bh;function Mb(){if(bh)return aa;bh=1;var n=Sx();return aa.createRoot=n.createRoot,aa.hydrateRoot=n.hydrateRoot,aa}var _b=Mb();const Db=ji(_b);var ad=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Nx=/^[\\/]{2}/;function Vb(n,e){return e+n.replace(/\\/g,"/")}var jh="popstate";function Sh(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function Fb(n={}){function e(s,a){let c=a.state?.masked,{pathname:d,search:f,hash:p}=c||s.location;return Pu("",{pathname:d,search:f,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default",c?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}
8function i(s,a){return typeof a=="string"?a:Rr(a)}return Ub(e,i,null,n)}function De(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function sn(n,e){if(!n){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function zb(){return Math.random().toString(36).substring(2,10)}function Nh(n,e){return{usr:n.state,key:n.key,idx:e,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function Pu(n,e,i=null,s,a){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof e=="string"?Si(e):e,state:i,key:e&&e.key||s||zb(),mask:a}}function Rr({pathname:n="/",search:e="",hash:i=""}){return e&&e!=="?"&&(n+=e.charAt(0)==="?"?e:"?"+e),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Si(n){let e={};if(n){let i=n.indexOf("#");i>=0&&(e.hash=n.substring(i),n=n.substring(0,i));let s=n.indexOf("?");s>=0&&(e.search=n.substring(s),n=n.substring(0,s)),n&&(e.pathname=n)}return e}function Ub(n,e,i,s={}){let{window:a=document.defaultView,v5Compat:c=!1}=s,d=a.history,f="POP",p=null,h=x();h==null&&(h=0,d.replaceState({...d.state,idx:h},""));function x(){return(d.state||{idx:null}).idx}function v(){f="POP";let j=x(),T=j==null?null:j-h;h=j,p&&p({action:f,location:N.location,delta:T})}function y(j,T){f="PUSH";let O=Sh(j)?j:Pu(N.location,j,T);h=x()+1;let k=Nh(O,h),_=N.createHref(O.mask||O);try{d.pushState(k,"",_)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(_)}c&&p&&p({action:f,location:N.location,delta:1})}function S(j,T){f="REPLACE";let O=Sh(j)?j:Pu(N.location,j,T);h=x();let k=Nh(O,h),_=N.createHref(O.mask||O);d.replaceState(k,"",_),c&&p&&p({action:f,location:N.location,delta:0})}function E(j){return Bb(a,j)}let N={get action(){return f},get location(){return n(a,d)},listen(j){if(p)throw new Error("A history only accepts one active listener");return a.addEventListener(jh,v),p=j,()=>{a.removeEventListener(jh,v),p=null}},createHref(j){return e(a,j)},createURL:E,encodeLocation(j){let T=E(j);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:y,replace:S,go(j){return d.go(j)}};return N}function Bb(n,e,i=!1){let s="http://localhost";n&&(s=n.location.origin!=="null"?n.location.origin:n.location.href),De(s,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Rr(e);return a=a.replace(/ $/,"%20"),!i&&Nx.test(a)&&(a=s+a),new URL(a,s)}function Ex(n,e,i="/"){return $b(n,e,i,!1)}function $b(n,e,i,s,a){let c=typeof e=="string"?Si(e):e,d=kn(c.pathname||"/",i);if(d==null)return null;let f=qb(n),p=null,h=t1(d);for(let x=0;p==null&&x<f.length;++x)p=e1(f[x],h,s);return p}function qb(n){let e=Cx(n);return Hb(e),e}function Cx(n,e=[],i=[],s="",a=!1){let c=(d,f,p=a,h)=>{let x={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:f,route:d};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(s)&&p)return;De(x.relativePath.startsWith(s),`Absolute route path "${x.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(s.length)}let v=rn([s,x.relativePath]),y=i.concat(x);d.children&&d.children.length>0&&(De(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Cx(d.children,e,y,v,p)),!(d.path==null&&!d.index)&&e.push({path:v,score:Jb(v,d.index),routesMeta:y.map((S,E)=>{let[N,j]=kx(S.relativePath,S.caseSensitive,E===y.length-1);return{...S,matcher:N,compiledParams:j}})})};return n.forEach((d,f)=>{if(d.path===""||!d.path?.includes("?"))c(d,f);else for(let p of Tx(d.path))c(d,f,!0,p)}),e}function Tx(n){let e=n.split("/");if(e.length===0)return[];let[i,...s]=e,a=i.endsWith("?"),c=i.replace(/\?$/,"");if(s.length===0)return a?[c,""]:[c];let d=Tx(s.join("/")),f=[];return f.push(...d.map(p=>p===""?c:[c,p].join("/"))),a&&f.push(...d),f.map(p=>n.startsWith("/")&&p===""?"/":p)}function Hb(n){n.sort((e,i)=>e.score!==i.score?i.score-e.score:Zb(e.routesMeta.map(s=>s.childrenIndex),i.routesMeta.map(s=>s.childrenIndex)))}var Wb=/^:[\w-]+$/,Kb=3,Gb=2,Yb=1,Qb=10,Xb=-2,Eh=n=>n==="*";function Jb(n,e){let i=n.split("/"),s=i.length;return i.some(Eh)&&(s+=Xb),e&&(s+=Gb),i.filter(a=>!Eh(a)).reduce((a,c)=>a+(Wb.test(c)?Kb:c===""?Yb:Qb),s)}function Zb(n,e){return n.length===e.length&&n.slice(0,-1).every((s,a)=>s===e[a])?n[n.length-1]-e[e.length-1]:0}function e1(n,e,i=!1){let{routesMeta:s}=n,a={},c="/",d=[];for(let f=0;f<s.length;++f){let p=s[f],h=f===s.length-1,x=c==="/"?e:e.slice(c.length)||"/",v={path:p.relativePath,caseSensitive:p.caseSensitive,end:h},y=p.matcher&&p.compiledParams?Px(v,x,p.matcher,p.compiledParams):Ca(v,x),S=p.route;if(!y&&h&&i&&!s[s.length-1].route.index&&(y=Ca({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},x)),!y)return null;
8Object.assign(a,y.params),d.push({params:a,pathname:rn([c,y.pathname]),pathnameBase:i1(rn([c,y.pathnameBase])),route:S}),y.pathnameBase!=="/"&&(c=rn([c,y.pathnameBase]))}return d}function Ca(n,e){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,s]=kx(n.path,n.caseSensitive,n.end);return Px(n,e,i,s)}function Px(n,e,i,s){let a=e.match(i);if(!a)return null;let c=a[0],d=xi(c,1),f=a.slice(1);return{params:s.reduce((h,{paramName:x,isOptional:v},y)=>{if(x==="*"){let E=f[y]||"";d=xi(c.slice(0,c.length-E.length),1)}const S=f[y];return v&&!S?h[x]=void 0:h[x]=(S||"").replace(/%2F/g,"/"),h},{}),pathname:c,pathnameBase:d,pattern:n}}function kx(n,e=!1,i=!0){sn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let s=[],a="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,f,p,h,x)=>{if(s.push({paramName:f,isOptional:p!=null}),p){let v=x.charAt(h+d.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(s.push({paramName:"*"}),a+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?a+="\\/*$":n!==""&&n!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),s]}function t1(n){try{return n.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return sn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),n}}function kn(n,e){if(e==="/")return n;if(!n.toLowerCase().startsWith(e.toLowerCase()))return null;let i=e.endsWith("/")?e.length-1:e.length,s=n.charAt(i);return s&&s!=="/"?null:n.slice(i)||"/"}function n1(n,e="/"){let{pathname:i,search:s="",hash:a=""}=typeof n=="string"?Si(n):n,c;return i?(i=Rx(i),i.startsWith("/")||i.startsWith("\\")?c=Ch(i.substring(1),"/"):c=Ch(i,e)):c=e,{pathname:c,search:s1(s),hash:o1(a)}}function Ch(n,e){let i=xi(e).split("/");return n.split("/").forEach(a=>{a===".."?i.length>1&&i.pop():a!=="."&&i.push(a)}),i.length>1?i.join("/"):"/"}function Yc(n,e,i,s){return`Cannot include a '${n}' character in a manually specified \`to.${e}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function r1(n){return n.filter((e,i)=>i===0||e.route.path&&e.route.path.length>0)}function ld(n){let e=r1(n);return e.map((i,s)=>s===e.length-1?i.pathname:i.pathnameBase)}function Da(n,e,i,s=!1){let a;typeof n=="string"?a=Si(n):(a={...n},De(!a.pathname||!a.pathname.includes("?"),Yc("?","pathname","search",a)),De(!a.pathname||!a.pathname.includes("#"),Yc("#","pathname","hash",a)),De(!a.search||!a.search.includes("#"),Yc("#","search","hash",a)));let c=n===""||a.pathname==="",d=c?"/":a.pathname,f;if(d==null)f=i;else{let v=e.length-1;if(!s&&d.startsWith("..")){let y=d.split("/");for(;y[0]==="..";)y.shift(),v-=1;a.pathname=y.join("/")}f=v>=0?e[v]:"/"}let p=n1(a,f),h=d&&d!=="/"&&d.endsWith("/"),x=(c||d===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(h||x)&&(p.pathname+="/"),p}var Rx=n=>n.replace(/[\\/]{2,}/g,"/"),rn=n=>Rx(n.join("/"));function xi(n,e=0){let i=n.length;for(;i>e&&n.charCodeAt(i-1)===47;)i--;return i===n.length?n:n.slice(0,i)}var i1=n=>xi(n).replace(/^\/*/,"/"),s1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,o1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,a1=class{constructor(n,e,i,s=!1){this.status=n,this.statusText=e||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function l1(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function c1(n){let e=n.map(i=>i.route.path).filter(Boolean);return rn(e)||"/"}var Ax=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ox(n,e){let i=n;
8if(typeof i!="string"||!ad.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let s=i,a=!1;if(Ax)try{let c=new URL(window.location.href),d=Nx.test(i)?new URL(Vb(i,c.protocol)):new URL(i),f=kn(d.pathname,e);d.origin===c.origin&&f!=null?i=f+d.search+d.hash:a=!0}catch{sn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:a,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Th=new URL("http://localhost");function cd(n){if(n.createURL)return n.createURL("/");try{return new URL(n.createHref("/"),Th)}catch{return Th}}function Qc(n,e){return n.origin===e.origin&&(n.origin!=="null"||n.protocol===e.protocol&&n.host===e.host)}function u1(n,e){if(n.startsWith("//"))return!0;let i=e.protocol.toLowerCase();return n.toLowerCase().startsWith(i)?e.host===""||n.slice(i.length).startsWith("//"):!1}function ud(n,e,i,s){let a=null;try{a=n==null?null:new URL(n,i)}catch{}let c=new URL(e,i),d=a!=null&&!Qc(a,i),f=!Qc(c,i);if(s==="reject"){if(d||f)throw new Error("External navigation is not allowed")}else if(f&&(a==null||!u1(n,a)||!Qc(a,c)))throw new Error("External navigation is not allowed")}var Ix=["POST","PUT","PATCH","DELETE"];new Set(Ix);var d1=["GET",...Ix];new Set(d1);var f1=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function p1(n){try{return f1.includes(new URL(n).protocol)}catch{return!1}}var Ni=b.createContext(null);Ni.displayName="DataRouter";var Va=b.createContext(null);Va.displayName="DataRouterState";var Lx=b.createContext(!1);function m1(){return b.useContext(Lx)}var Mx=b.createContext({isTransitioning:!1});Mx.displayName="ViewTransition";var h1=b.createContext(new Map);h1.displayName="Fetchers";var g1=b.createContext(null);g1.displayName="Await";var Mt=b.createContext(null);Mt.displayName="Navigation";var Bs=b.createContext(null);Bs.displayName="Location";var hn=b.createContext({outlet:null,matches:[],isDataRoute:!1});hn.displayName="Route";var dd=b.createContext(null);dd.displayName="RouteError";var _x="REACT_ROUTER_ERROR",x1="REDIRECT",v1="ROUTE_ERROR_RESPONSE";function y1(n){if(n.startsWith(`${_x}:${x1}:{`))try{let e=JSON.parse(n.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function w1(n){if(n.startsWith(`${_x}:${v1}:{`))try{let e=JSON.parse(n.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new a1(e.status,e.statusText,e.data)}catch{}}function b1(n,{relative:e}={}){De(Ei(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:s}=b.useContext(Mt),{hash:a,pathname:c,search:d}=$s(n,{relative:e}),f=c;return i!=="/"&&(f=c==="/"?i:rn([i,c])),s.createHref({pathname:f,search:d,hash:a})}function Ei(){return b.useContext(Bs)!=null}function Kt(){return De(Ei(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Bs).location}var Dx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vx(n){b.useContext(Mt).static||b.useLayoutEffect(n)}function Fx(){let{isDataRoute:n}=b.useContext(hn);return n?L1():j1()}function j1(){De(Ei(),"useNavigate() may be used only in the context of a <Router> component.");let n=b.useContext(Ni),{basename:e,navigator:i}=b.useContext(Mt),{matches:s}=b.useContext(hn),{pathname:a}=Kt(),c=JSON.stringify(ld(s)),d=b.useRef(!1);return Vx(()=>{d.current=!0}),b.useCallback((p,h={})=>
8{if(sn(d.current,Dx),!d.current)return;if(typeof p=="number"){i.go(p);return}let x=Da(p,JSON.parse(c),a,h.relative==="path");n==null&&e!=="/"&&(x.pathname=x.pathname==="/"?e:rn([e,x.pathname])),ud(typeof p=="string"?p:Rr(p),i.createHref(x),cd(i),"reject"),(h.replace?i.replace:i.push)(x,h.state,h)},[e,i,c,a,n])}b.createContext(null);function $s(n,{relative:e}={}){let{matches:i}=b.useContext(hn),{pathname:s}=Kt(),a=JSON.stringify(ld(i));return b.useMemo(()=>Da(n,JSON.parse(a),s,e==="path"),[n,a,s,e])}function S1(n,e){return zx(n,e)}function zx(n,e,i){De(Ei(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=b.useContext(Mt),{matches:a}=b.useContext(hn),c=a[a.length-1],d=c?c.params:{},f=c?c.pathname:"/",p=c?c.pathnameBase:"/",h=c&&c.route;{let j=h&&h.path||"";Bx(f,!h||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${j}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 9 10Please change the parent <Route path="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let x=Kt(),v;if(e){let j=typeof e=="string"?Si(e):e;De(p==="/"||j.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${j.pathname}" was given in the \`location\` prop.`),v=j}else v=x;let y=v.pathname||"/",S=y;if(p!=="/"){let j=p.replace(/^\//,"").split("/");S="/"+y.replace(/^\//,"").split("/").slice(j.length).join("/")}let E=i&&i.state.matches.length?i.state.matches.map(j=>Object.assign(j,{route:i.manifest[j.route.id]||j.route})):Ex(n,{pathname:S});sn(h||E!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),sn(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let N=P1(E&&E.map(j=>Object.assign({},j,{params:Object.assign({},d,j.params),pathname:rn([p,s.encodeLocation?s.encodeLocation(j.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?p:rn([p,s.encodeLocation?s.encodeLocation(j.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),a,i);return e&&N?b.createElement(Bs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},N):N}function N1(){let n=I1(),e=l1(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,s="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:s},c={padding:"2px 4px",backgroundColor:s},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=b.createElement(b.Fragment,null,b.createElement("p",null,"ð¿ Hey developer ð"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},e),i?b.createElement("pre",{style:a},i):null,d)}var E1=b.createElement(N1,null),Ux=class extends b.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,e){return e.location!==n.location||e.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:e.error,location:e.location,revalidation:n.revalidation||e.revalidation}}componentDidCatch(n,e){this.props.onError?this.props.onError(n,e):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const i=w1(n.digest);i&&(n=i)}let e=n!==void 0?b.createElement(hn.Provider,{value:this.props.routeContext},b.createElement(dd.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?b.createElement(C1,{error:n},e):e}};Ux.contextType=Lx;var Xc=new WeakMap;function C1({children:n,error:e}){let{basename:i,navigator:s}=b.useContext(Mt);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let a=y1(e.digest);if(a){let c=Xc.get(e);if(c)throw c;let d=Ox(a.location,i),f=d.absoluteURL||d.to;if(ud(a.location,f,cd(s),"allow-explicit"),p1(f))throw new Error("Invalid redirect location");if(Ax&&!Xc.get(e))if(d.isExternal||a.reloadDocument)window.location.href=f;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:a.replace}));throw Xc.set(e,p),p}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f}`})}}return n}function T1({routeContext:n,match:e,children:i}){let s=b.useContext(Ni);return s&&s.static&&s.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=e.route.id),b.createElement(hn.Provider,{value:n},i)}function P1(n,e=[],i){let s=i?.state;if(n==null){if(!s)return null;if(s.errors)n=s.matches;else if(e.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}let a=n,c=s?.errors;if(c!=null){let x=a.findIndex(v=>v.route.id&&c?.[v.route.id]!==void 0);De(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),a=a.slice(0,Math.min(a.length,x+1))}let d=!1,f=-1;if(i&&s){d=s.renderFallback;for(let x=0;x<a.length;x++){let v=a[x];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(f=x),v.route.id){let{loaderData:y,errors:S}
10=s,E=v.route.loader&&!y.hasOwnProperty(v.route.id)&&(!S||S[v.route.id]===void 0);if(v.route.lazy||E){i.isStatic&&(d=!0),f>=0?a=a.slice(0,f+1):a=[a[0]];break}}}}let p=i?.onError,h=s&&p?(x,v)=>{p(x,{location:s.location,params:s.matches?.[0]?.params??{},pattern:c1(s.matches),errorInfo:v})}:void 0;return a.reduceRight((x,v,y)=>{let S,E=!1,N=null,j=null;s&&(S=c&&v.route.id?c[v.route.id]:void 0,N=v.route.errorElement||E1,d&&(f<0&&y===0?(Bx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,j=null):f===y&&(E=!0,j=v.route.hydrateFallbackElement||null)));let T=e.concat(a.slice(0,y+1)),O=()=>{let k;return S?k=N:E?k=j:v.route.Component?k=b.createElement(v.route.Component,null):v.route.element?k=v.route.element:k=x,b.createElement(T1,{match:v,routeContext:{outlet:x,matches:T,isDataRoute:s!=null},children:k})};return s&&(v.route.ErrorBoundary||v.route.errorElement||y===0)?b.createElement(Ux,{location:s.location,revalidation:s.revalidation,component:N,error:S,children:O(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:h}):O()},null)}function fd(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k1(n){let e=b.useContext(Ni);return De(e,fd(n)),e}function R1(n){let e=b.useContext(Va);return De(e,fd(n)),e}function A1(n){let e=b.useContext(hn);return De(e,fd(n)),e}function pd(n){let e=A1(n),i=e.matches[e.matches.length-1];return De(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function O1(){return pd("useRouteId")}function I1(){let n=b.useContext(dd),e=R1("useRouteError"),i=pd("useRouteError");return n!==void 0?n:e.errors?.[i]}function L1(){let{router:n}=k1("useNavigate"),e=pd("useNavigate"),i=b.useRef(!1);return Vx(()=>{i.current=!0}),b.useCallback(async(a,c={})=>{sn(i.current,Dx),i.current&&(typeof a=="number"?await n.navigate(a):await n.navigate(a,{fromRouteId:e,...c}))},[n,e])}var Ph={};function Bx(n,e,i){!e&&!Ph[n]&&(Ph[n]=!0,sn(!1,i))}b.memo(M1);function M1({routes:n,manifest:e,future:i,state:s,isStatic:a,onError:c}){return zx(n,void 0,{manifest:e,state:s,isStatic:a,onError:c})}function _1({to:n,replace:e,state:i,relative:s}){De(Ei(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a,navigator:c}=b.useContext(Mt);sn(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=b.useContext(hn),{pathname:f}=Kt(),p=Fx(),h=Da(n,ld(d),f,s==="path");ud(typeof n=="string"?n:Rr(n),c.createHref(h),cd(c),"reject");let x=JSON.stringify(h);return b.useEffect(()=>{p(JSON.parse(x),{replace:e,state:i,relative:s})},[p,x,s,e,i]),null}function ct(n){De(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function D1({basename:n="/",children:e=null,location:i,navigationType:s="POP",navigator:a,static:c=!1,useTransitions:d}){De(!Ei(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=n.replace(/^\/*/,"/"),p=b.useMemo(()=>({basename:f,navigator:a,static:c,useTransitions:d,future:{}}),[f,a,c,d]);typeof i=="string"&&(i=Si(i));let{pathname:h="/",search:x="",hash:v="",state:y=null,key:S="default",mask:E}=i,N=b.useMemo(()=>{let j=kn(h,f);return j==null?null:{location:{pathname:j,search:x,hash:v,state:y,key:S,mask:E},navigationType:s}},[f,h,x,v,y,S,s,E]);return sn(N!=null,`<Router basename="${f}"> is not able to match the URL "${h}${x}${v}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:b.createElement(Mt.Provider,{value:p},b.createElement(Bs.Provider,{children:e,value:N}))}function V1({children:n,location:e}){return S1(ku(n),e)}function ku(n,e=[]){let i=[];return b.Children.forEach(n,(s,a)=>{if(!b.isValidElement(s))return;let c=[...e,a];if(s.type===b.Fragment){i.push.apply(i,ku(s.props.children,c));return}De(s.type===ct,`[${typeof s.type=="string"?s.type:s.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),De(!s.props.index||!s.props.children,"An index route cannot have child routes.");let d={id:s.props.id||c.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,
10shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(d.children=ku(s.props.children,c)),i.push(d)}),i}var ga="get",xa="application/x-www-form-urlencoded";function Fa(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function F1(n){return Fa(n)&&n.tagName.toLowerCase()==="button"}function z1(n){return Fa(n)&&n.tagName.toLowerCase()==="form"}function U1(n){return Fa(n)&&n.tagName.toLowerCase()==="input"}function B1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function $1(n,e){return n.button===0&&(!e||e==="_self")&&!B1(n)}var la=null;function q1(){if(la===null)try{new FormData(document.createElement("form"),0),la=!1}catch{la=!0}return la}var H1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Jc(n){return n!=null&&!H1.has(n)?(sn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xa}"`),null):n}function W1(n,e){let i,s,a,c,d;if(z1(n)){let f=n.getAttribute("action");s=f?kn(f,e):null,i=n.getAttribute("method")||ga,a=Jc(n.getAttribute("enctype"))||xa,c=new FormData(n)}else if(F1(n)||U1(n)&&(n.type==="submit"||n.type==="image")){let f=n.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||f.getAttribute("action");if(s=p?kn(p,e):null,i=n.getAttribute("formmethod")||f.getAttribute("method")||ga,a=Jc(n.getAttribute("formenctype"))||Jc(f.getAttribute("enctype"))||xa,c=new FormData(f,n),!q1()){let{name:h,type:x,value:v}=n;if(x==="image"){let y=h?`${h}.`:"";c.append(`${y}x`,"0"),c.append(`${y}y`,"0")}else h&&c.append(h,v)}}else{if(Fa(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=ga,s=null,a=xa,d=n}return c&&a==="text/plain"&&(d=c,c=void 0),{action:s,method:i.toLowerCase(),encType:a,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function md(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function $x(n,e,i,s){let a=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return i?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${s}`:a.pathname=`${a.pathname}.${s}`:a.pathname==="/"?a.pathname=`_root.${s}`:e&&kn(a.pathname,e)==="/"?a.pathname=`${xi(e)}/_root.${s}`:a.pathname=`${xi(a.pathname)}.${s}`,a}async function K1(n,e){if(n.id in e)return e[n.id];try{let i=await import(n.module);return e[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function G1(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function Y1(n,e,i){let s=await Promise.all(n.map(async a=>{let c=e.routes[a.route.id];if(c){let d=await K1(c,i);return d.links?d.links():[]}return[]}));return Z1(s.flat(1).filter(G1).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function kh(n,e,i,s,a,c){let d=(p,h)=>i[h]?p.route.id!==i[h].route.id:!0,f=(p,h)=>i[h].pathname!==p.pathname||i[h].route.path?.endsWith("*")&&i[h].params["*"]!==p.params["*"];return c==="assets"?e.filter((p,h)=>d(p,h)||f(p,h)):c==="data"?e.filter((p,h)=>{let x=s.routes[p.route.id];if(!x||!x.hasLoader)return!1;if(d(p,h)||f(p,h))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function Q1(n,e,{includeHydrateFallback:i}={}){return X1(n.map(s=>{let a=e.routes[s.route.id];if(!a)return[];let c=[a.module];return a.clientActionModule&&(c=c.concat(a.clientActionModule)),a.clientLoaderModule&&(c=c.concat(a.clientLoaderModule)),i&&a.hydrateFallbackModule&&(c=c.concat(a.hydrateFallbackModule)),a.imports&&(c=c.concat(a.imports)),c}).flat(1))}function X1(n){return[...new Set(n)]}function J1(n){let e={},i=Object.keys(n).sort();for(let s of i)e[s]=n[s];return e}function Z1(n,e){let i=new Set;return new Set(e),n.reduce((s,a)=>{let c=JSON.stringify(J1(a));return i.has(c)||(i.add(c),s.push({key:c,link:a})),s},[])}function hd(){let n=b.useContext(Ni);return md(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function ej(){let n=b.useContext(Va);return md(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var gd=b.createContext(void 0);gd.displayName="FrameworkContext";function za(){let n=b.useContext(gd);return md(n,"You must render this element inside a <HydratedRouter> element"),n}function tj(n,e){let i=b.useContext(gd),[s,a]=b.useState(!1),[c,d]=b.useState(!1),{onFocus:f,onBlur:p,onMouseEnter:h,onMouseLeave:x,onTouchStart:v}=e,y=b.useRef(null);b.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let N=T=>{T.forEach(O=>{d(O.isIntersecting)})},j=new IntersectionObserver(N,{threshold:.5});return y.current&&j.observe(y.current),()=>{j.disconnect()}}},[n]),b.useEffect(()=>{if(s){let N=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(N)}}},[s]);let S=()=>{a(!0)},E=()=>{a(!1),d(!1)};return i?n!=="intent"?[c,y,{}]:[c,y,{onFocus:gs(f,S),onBlur:gs(p,E),onMouseEnter:gs(h,S),onMouseLeave:gs(x,E),onTouchStart:gs(v,S)}]:[!1,y,{}]}function gs(n,e){return i=>{n&&n(i),i.defaultPrevented||e(i)}}function nj({page:n,...e}){let i=m1(),{nonce:s}=za(),{router:a}=hd(),c=b.useMemo(()=>
10Ex(a.routes,n,a.basename),[a.routes,n,a.basename]);return c?(e.nonce==null&&s&&(e={...e,nonce:s}),i?b.createElement(ij,{page:n,matches:c,...e}):b.createElement(sj,{page:n,matches:c,...e})):null}function rj(n){let{manifest:e,routeModules:i}=za(),[s,a]=b.useState([]);return b.useEffect(()=>{let c=!1;return Y1(n,e,i).then(d=>{c||a(d)}),()=>{c=!0}},[n,e,i]),s}function ij({page:n,matches:e,...i}){let s=Kt(),{future:a}=za(),{basename:c}=hd(),d=b.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let f=$x(n,c,a.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,h=[];for(let x of e)typeof x.route.shouldRevalidate=="function"?p=!0:h.push(x.route.id);return p&&h.length>0&&f.searchParams.set("_routes",h.join(",")),[f.pathname+f.search]},[c,a.v8_trailingSlashAwareDataRequests,n,s,e]);return b.createElement(b.Fragment,null,d.map(f=>b.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...i})))}function sj({page:n,matches:e,...i}){let s=Kt(),{future:a,manifest:c,routeModules:d}=za(),{basename:f}=hd(),{loaderData:p,matches:h}=ej(),x=b.useMemo(()=>kh(n,e,h,c,s,"data"),[n,e,h,c,s]),v=b.useMemo(()=>kh(n,e,h,c,s,"assets"),[n,e,h,c,s]),y=b.useMemo(()=>{if(n===s.pathname+s.search+s.hash)return[];let N=new Set,j=!1;if(e.forEach(O=>{let k=c.routes[O.route.id];!k||!k.hasLoader||(!x.some(_=>_.route.id===O.route.id)&&O.route.id in p&&d[O.route.id]?.shouldRevalidate||k.hasClientLoader?j=!0:N.add(O.route.id))}),N.size===0)return[];let T=$x(n,f,a.v8_trailingSlashAwareDataRequests,"data");return j&&N.size>0&&T.searchParams.set("_routes",e.filter(O=>N.has(O.route.id)).map(O=>O.route.id).join(",")),[T.pathname+T.search]},[f,a.v8_trailingSlashAwareDataRequests,p,s,c,x,e,n,d]),S=b.useMemo(()=>Q1(v,c),[v,c]),E=rj(v);return b.createElement(b.Fragment,null,y.map(N=>b.createElement("link",{key:N,rel:"prefetch",as:"fetch",href:N,...i})),S.map(N=>b.createElement("link",{key:N,rel:"modulepreload",href:N,...i})),E.map(({key:N,link:j})=>b.createElement("link",{key:N,nonce:i.nonce,...j,crossOrigin:j.crossOrigin??i.crossOrigin})))}function oj(...n){return e=>{n.forEach(i=>{typeof i=="function"?i(e):i!=null&&(i.current=e)})}}var aj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{aj&&(window.__reactRouterVersion="7.18.3")}catch{}function lj({basename:n,children:e,useTransitions:i,window:s}){let a=b.useRef();a.current==null&&(a.current=Fb({window:s,v5Compat:!0}));let c=a.current,[d,f]=b.useState({action:c.action,location:c.location}),p=b.useCallback(h=>{i===!1?f(h):b.startTransition(()=>f(h))},[i]);return b.useLayoutEffect(()=>c.listen(p),[c,p]),b.createElement(D1,{basename:n,children:e,location:d.location,navigationType:d.action,navigator:c,useTransitions:i})}var ae=b.forwardRef(function({onClick:e,discover:i="render",prefetch:s="none",relative:a,reloadDocument:c,replace:d,mask:f,state:p,target:h,to:x,preventScrollReset:v,viewTransition:y,defaultShouldRevalidate:S,...E},N){let{basename:j,navigator:T,useTransitions:O}=b.useContext(Mt),k=typeof x=="string"&&ad.test(x),_=Ox(x,j);x=_.to;let D=b1(x,{relative:a}),B=Kt(),W=null;if(f){let Se=Da(f,[],B.mask?B.mask.pathname:"/",!0);j!=="/"&&(Se.pathname=Se.pathname==="/"?j:rn([j,Se.pathname])),W=T.createHref(Se)}let[K,re,ce]=tj(s,E),ve=fj(x,{replace:d,mask:f,state:p,target:h,preventScrollReset:v,relative:a,viewTransition:y,defaultShouldRevalidate:S,useTransitions:O});function Y(Se){e&&e(Se),Se.defaultPrevented||ve(Se)}let he=!(_.isExternal||c),ye=b.createElement("a",{...E,...ce,href:(he?W:void 0)||_.absoluteURL||D,onClick:he?Y:e,ref:oj(N,re),target:h,"data-discover":!k&&i==="render"?"true":void 0});return K&&!k?b.createElement(b.Fragment,null,ye,b.createElement(nj,{page:D})):ye});ae.displayName="Link";var cj=b.forwardRef(function({"aria-current":e="page",caseSensitive:i=!1,className:s="",end:a=!1,style:c,to:d,viewTransition:f,children:p,...h},x){let v=$s(d,{relative:h.relative}),y=Kt(),S=b.useContext(Va),{navigator:E,basename:N}=b.useContext(Mt),j=S!=null&&xj(v)&&f===!0,T=E.encodeLocation?E.encodeLocation(v).pathname:v.pathname,O=y.pathname,k=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;i||(O=O.toLowerCase(),k=k?k.toLowerCase():null,T=T.toLowerCase()),k&&N&&(k=kn(k,N)||k);const _=T!=="/"&&T.endsWith("/")?T.length-1:T.length;let D=O===T||!a&&O.startsWith(T)&&O.charAt(_)==="/",B=k!=null&&(k===T||!a&&k.startsWith(T)&&k.charAt(T.length)==="/"),W={isActive:D,isPending:B,isTransitioning:j},K=D?e:void 0,re;typeof s=="function"?re=s(W):re=[s,D?"active":null,B?"pending":null,j?"transitioning":null].filter(
10Boolean).join(" ");let ce=typeof c=="function"?c(W):c;return b.createElement(ae,{...h,"aria-current":K,className:re,ref:x,style:ce,to:d,viewTransition:f},typeof p=="function"?p(W):p)});cj.displayName="NavLink";var uj=b.forwardRef(({discover:n="render",fetcherKey:e,navigate:i,reloadDocument:s,replace:a,state:c,method:d=ga,action:f,onSubmit:p,relative:h,preventScrollReset:x,viewTransition:v,defaultShouldRevalidate:y,...S},E)=>{let{useTransitions:N}=b.useContext(Mt),j=hj(),T=gj(f,{relative:h}),O=d.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&ad.test(f),_=D=>{if(p&&p(D),D.defaultPrevented)return;D.preventDefault();let B=D.nativeEvent.submitter,W=B?.getAttribute("formmethod")||d,K=()=>j(B||D.currentTarget,{fetcherKey:e,method:W,navigate:i,replace:a,state:c,relative:h,preventScrollReset:x,viewTransition:v,defaultShouldRevalidate:y});N&&i!==!1?b.startTransition(()=>K()):K()};return b.createElement("form",{ref:E,method:O,action:T,onSubmit:s?p:_,...S,"data-discover":!k&&n==="render"?"true":void 0})});uj.displayName="Form";function dj(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function qx(n){let e=b.useContext(Ni);return De(e,dj(n)),e}function fj(n,{target:e,replace:i,mask:s,state:a,preventScrollReset:c,relative:d,viewTransition:f,defaultShouldRevalidate:p,useTransitions:h}={}){let x=Fx(),v=Kt(),y=$s(n,{relative:d});return b.useCallback(S=>{if($1(S,e)){S.preventDefault();let E=i!==void 0?i:Rr(v)===Rr(y),N=()=>x(n,{replace:E,mask:s,state:a,preventScrollReset:c,relative:d,viewTransition:f,defaultShouldRevalidate:p});h?b.startTransition(()=>N()):N()}},[v,x,y,i,s,a,e,n,c,d,f,p,h])}var pj=0,mj=()=>`__${String(++pj)}__`;function hj(){let{router:n}=qx("useSubmit"),{basename:e}=b.useContext(Mt),i=O1(),s=n.fetch,a=n.navigate;return b.useCallback(async(c,d={})=>{let{action:f,method:p,encType:h,formData:x,body:v}=W1(c,e);if(d.navigate===!1){let y=d.fetcherKey||mj();await s(y,i,d.action||f,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:x,body:v,formMethod:d.method||p,formEncType:d.encType||h,flushSync:d.flushSync})}else await a(d.action||f,{defaultShouldRevalidate:d.defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:x,body:v,formMethod:d.method||p,formEncType:d.encType||h,replace:d.replace,state:d.state,fromRouteId:i,flushSync:d.flushSync,viewTransition:d.viewTransition})},[s,a,e,i])}function gj(n,{relative:e}={}){let{basename:i}=b.useContext(Mt),s=b.useContext(hn);De(s,"useFormAction must be used inside a RouteContext");let[a]=s.matches.slice(-1),c={...$s(n||".",{relative:e})},d=Kt();if(n==null){c.search=d.search;let f=new URLSearchParams(c.search),p=f.getAll("index");if(p.some(x=>x==="")){f.delete("index"),p.filter(v=>v).forEach(v=>f.append("index",v));let x=f.toString();c.search=x?`?${x}`:""}}return(!n||n===".")&&a.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(c.pathname=c.pathname==="/"?i:rn([i,c.pathname])),Rr(c)}function xj(n,{relative:e}={}){let i=b.useContext(Mx);De(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=qx("useViewTransitionState"),a=$s(n,{relative:e});if(!i.isTransitioning)return!1;let c=kn(i.currentLocation.pathname,s)||i.currentLocation.pathname,d=kn(i.nextLocation.pathname,s)||i.nextLocation.pathname;return Ca(a.pathname,d)!=null||Ca(a.pathname,c)!=null}var xd=Sx();const vj=()=>{const{pathname:n}=Kt();return b.useLayoutEffect(()=>{window.scrollTo({top:0,left:0,behavior:"instant"})},[n]),null};const yj=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hx=(...n)=>n.filter((e,i,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===i).join(" ").trim();var wj={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"};const bj=b.forwardRef(({color:n="currentColor",size:e=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:a="",children:c,iconNode:d,...f},p)=>b.createElement("svg",{ref:p,...wj,width:e,height:e,stroke:n,strokeWidth:s?Number(i)*24/Number(e):i,className:Hx("lucide",a),...f},[...d.map(([h,x])=>
vendor: 33,101 bytes, lines 10-18
10b.createElement(h,x)),...Array.isArray(c)?c:[c]]));const Ua=(n,e)=>{const i=b.forwardRef(({className:s,...a},c)=>b.createElement(bj,{ref:c,iconNode:e,className:Hx(`lucide-${yj(n)}`,s),...a}));return i.displayName=`${n}`,i};const jj=Ua("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"}]]);const Sj=Ua("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"}]]);const Nj=Ua("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);const Wx=Ua("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),vd=b.createContext({});function yd(n){const e=b.useRef(null);return e.current===null&&(e.current=n()),e.current}const Ba=b.createContext(null),wd=b.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});class Ej extends b.Component{getSnapshotBeforeUpdate(e){const i=this.props.childRef.current;if(i&&e.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=i.offsetHeight||0,s.width=i.offsetWidth||0,s.top=i.offsetTop,s.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Cj({children:n,isPresent:e}){const i=b.useId(),s=b.useRef(null),a=b.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=b.useContext(wd);return b.useInsertionEffect(()=>{const{width:d,height:f,top:p,left:h}=a.current;if(e||!s.current||!d||!f)return;s.current.dataset.motionPopId=i;const x=document.createElement("style");return c&&(x.nonce=c),document.head.appendChild(x),x.sheet&&x.sheet.insertRule(` 11 [data-motion-pop-id="${i}"] { 12 position: absolute !important; 13 width: ${d}px !important; 14 height: ${f}px !important; 15 top: ${p}px !important; 16 left: ${h}px !important; 17 } 18 `),()=>{document.head.removeChild(x)}},[e]),l.jsx(Ej,{isPresent:e,childRef:s,sizeRef:a,children:b.cloneElement(n,{ref:s})})}const Tj=({children:n,initial:e,isPresent:i,onExitComplete:s,custom:a,presenceAffectsLayout:c,mode:d})=>{const f=yd(Pj),p=b.useId(),h=b.useCallback(v=>{f.set(v,!0);for(const y of f.values())if(!y)return;s&&s()},[f,s]),x=b.useMemo(()=>({id:p,initial:e,isPresent:i,custom:a,onExitComplete:h,register:v=>(f.set(v,!1),()=>f.delete(v))}),c?[Math.random(),h]:[i,h]);return b.useMemo(()=>{f.forEach((v,y)=>f.set(y,!1))},[i]),b.useEffect(()=>{!i&&!f.size&&s&&s()},[i]),d==="popLayout"&&(n=l.jsx(Cj,{isPresent:i,children:n})),l.jsx(Ba.Provider,{value:x,children:n})};function Pj(){return new Map}function Kx(n=!0){const e=b.useContext(Ba);if(e===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:a}=e,c=b.useId();b.useEffect(()=>{n&&a(c)},[n]);const d=b.useCallback(()=>n&&s&&s(c),[c,s,n]);return!i&&s?[!1,d]:[!0]}const ca=n=>n.key||"";function Rh(n){const e=[];return b.Children.forEach(n,i=>{b.isValidElement(i)&&e.push(i)}),e}const bd=typeof window<"u",Gx=bd?b.useLayoutEffect:b.useEffect,kj=({children:n,custom:e,initial:i=!0,onExitComplete:s,presenceAffectsLayout:a=!0,mode:c="sync",propagate:d=!1})=>{const[f,p]=Kx(d),h=b.useMemo(()=>Rh(n),[n]),x=d&&!f?[]:h.map(ca),v=b.useRef(!0),y=b.useRef(h),S=yd(()=>new Map),[E,N]=b.useState(h),[j,T]=b.useState(h);Gx(()=>{v.current=!1,y.current=h;for(let _=0;_<j.length;_++){const D=ca(j[_]);x.includes(D)?S.delete(D):S.get(D)!==!0&&S.set(D,!1)}},[j,x.length,x.join("-")]);const O=[];if(h!==E){let _=[...h];for(let D=0;D<j.length;D++){const B=j[D],W=ca(B);x.includes(W)||(_.splice(D,0,B),O.push(B))}c==="wait"&&O.length&&(_=O),T(Rh(_)),N(h);return}const{forceRender:k}=b.useContext(vd);return l.jsx(l.Fragment,{children:j.map(_=>{const D=ca(_),B=d&&!f?!1:h===j||x.includes(D),W=()=>{if(S.has(D))S.set(D,!0);else return;let K=!0;S.forEach(re=>{re||(K=!1)}),K&&(k?.(),T(y.current),d&&p?.(),s&&s())};return l.jsx(Tj,{isPresent:B,initial:!v.current||i?void 0:!1,custom:B?void 0:e,presenceAffectsLayout:a,mode:c,onExitComplete:B?void 0:W,children:_},D)})})},Ot=n=>n;let Yx=Ot;function jd(n){let e;return()=>(e===void 0&&(e=n()),e)}const vi=(n,e,i)=>{const s=e-n;return s===0?1:(i-n)/s},Tn=n=>n*1e3,Pn=n=>n/1e3,Rj={useManualTiming:!1};function Aj(n){let e=new Set,i=new Set,s=!1,a=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function f(h){c.has(h)&&(p.schedule(h),n()),h(d)}const p={schedule:(h,x=!1,v=!1)=>{const S=v&&s?e:i;return x&&c.add(h),S.has(h)||S.add(h),h},cancel:h=>{i.delete(h),c.delete(h)},process:h=>{if(d=h,s){a=!0;return}s=!0,[e,i]=[i,e],e.forEach(f),e.clear(),s=!1,a&&(a=!1,p.process(h))}};return p}const ua=["read","resolveKeyframes","update","preRender","render","postRender"],Oj=40;function Qx(n,e){let i=!1,s=!0;const a={delta:0,timestamp:0,isProcessing:!1},c=()=>i=!0,d=ua.reduce((T,O)=>(T[O]=Aj(c),T),{}),{read:f,resolveKeyframes:p,update:h,preRender:x,render:v,postRender:y}=d,S=()=>{const T=performance.now();i=!1,a.delta=s?1e3/60:Math.max(Math.min(T-a.timestamp,Oj),1),a.timestamp=T,a.isProcessing=!0,f.process(a),p.process(a),h.process(a),x.process(a),v.process(a),y.process(a),a.isProcessing=!1,i&&e&&(s=!1,n(S))},E=()=>{i=!0,s=!0,a.isProcessing||n(S)};return{schedule:ua.reduce((T,O)=>{const k=d[O];return T[O]=(_,D=!1,B=!1)=>(i||E(),k.schedule(_,D,B)),T},{}),cancel:T=>{for(let O=0;O<ua.length;O++)d[ua[O]].cancel(T)},state:a,steps:d}}const{schedule:Oe,cancel:rr,state:rt,steps:Zc}=Qx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ot,!0),Xx=b.createContext({strict:!1}),Ah={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"]},yi={};for(const n in Ah)yi[n]={isEnabled:e=>Ah[n].some(i=>!!e[i])};function Ij(n){for(const e in n)yi[e]={...yi[e],...n[e]}}const Lj=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","ignoreStrict","viewport"]);function Ta(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||Lj.has(n)}let Jx=n=>!Ta(n);function Mj(n){n&&(Jx=e=>e.startsWith("on")?!Ta(e):n(e))}try{Mj(require("@emotion/is-prop-valid").default)}catch{}function _j(n,e,i){const s={};for(const a in n)a==="values"&&typeof n.values=="object"||(Jx(a)||i===!0&&Ta(a)||!e&&!Ta(a)||n.draggable&&a.startsWith("onDrag"))&&(s[a]=n[a]);return s}function Dj(n){if(typeof Proxy>"u")return n;const e=new Map,i=(...s)=>n(...s);return new Proxy(i,{get:(s,a)=>a==="create"?n:(e.has(a)||e.set(a,n(a)),e.get(a))})}const $a=b.createContext({});function _s(n){return typeof n=="string"||Array.isArray(n)}function qa(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}const Sd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nd=["initial",...Sd];function Ha(n){return qa(n.animate)||Nd.some(e=>_s(n[e]))}function Zx(n){return!!(Ha(n)||n.variants)}function Vj(n,e){if(Ha(n)){const{initial:i,animate:s}=n;return{initial:i===!1||_s(i)?i:void 0,animate:_s(s)?s:void 0}}return n.inherit!==!1?e:{}}function Fj(n){const{initial:e,animate:i}=Vj(n,b.useContext($a));return b.useMemo(()=>({initial:e,animate:i}),[Oh(e),Oh(i)])}function Oh(n){return Array.isArray(n)?n.join(" "):n}const zj=Symbol.for("motionComponentSymbol");function li(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function Uj(n,e,i){return b.useCallback(s=>{s&&n.onMount&&n.onMount(s),e&&(s?e.mount(s):e.unmount()),i&&(typeof i=="function"?i(s):li(i)&&(i.current=s))},[e])}const Ed=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Bj="framerAppearId",ev="data-"+Ed(Bj),{schedule:Cd}=Qx(queueMicrotask,!1),tv=b.createContext({});function $j(n,e,i,s,a){var c,d;const{visualElement:f}=b.useContext($a),p=b.useContext(Xx),h=b.useContext(Ba),x=b.useContext(wd).reducedMotion,v=b.useRef(null);s=s||p.renderer,!v.current&&s&&(v.current=s(n,{visualState:e,parent:f,props:i,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:x}));const y=v.current,S=b.useContext(tv);y&&!y.projection&&a&&(y.type==="html"||y.type==="svg")&&qj(v.current,i,a,S);const E=b.useRef(!1);b.useInsertionEffect(()=>{y&&E.current&&y.update(i,h)});const N=i[ev],j=b.useRef(!!N&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,N))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,N)));return Gx(()=>{y&&(E.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),Cd.render(y.render),j.current&&y.animationState&&y.animationState.animateChanges())}),b.useEffect(()=>{y&&(!j.current&&y.animationState&&y.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)===null||T===void 0||T.call(window,N)}),j.current=!1))}),y}function qj(n,e,i,s){const{layoutId:a,layout:c,drag:d,dragConstraints:f,layoutScroll:p,layoutRoot:h}=e;n.projection=new i(n.latestValues,e["data-framer-portal-id"]?void 0:nv(n.parent)),n.projection.setOptions({layoutId:a,layout:c,alwaysMeasureLayout:!!d||f&&li(f),visualElement:n,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,layoutScroll:p,layoutRoot:h})}function nv(n){if(n)return n.options.allowProjection!==!1?n.projection:nv(n.parent)}function Hj({preloadedFeatures:n,createVisualElement:e,useRender:i,useVisualState:s,Component:a}){var c,d;n&&Ij(n);function f(h,x){let v;const y={...b.useContext(wd),...h,layoutId:Wj(h)},{isStatic:S}=y,E=Fj(h),N=s(h,S);if(!S&&bd){Kj();const j=Gj(y);v=j.MeasureLayout,E.visualElement=$j(a,N,y,e,j.ProjectionNode)}return l.jsxs($a.Provider,{value:E,children:[v&&E.visualElement?l.jsx(v,{visualElement:E.visualElement,...y}):null,i(a,h,Uj(N,E.visualElement,x),N,S,E.visualElement)]})}f.displayName=`motion.${typeof a=="string"?a:`create(${(d=(c=a.displayName)!==null&&c!==void 0?c:a.name)!==null&&d!==void 0?d:""})`}`;const p=b.forwardRef(f);return p[zj]=a,p}function Wj({layoutId:n}){const e=b.useContext(vd).id;return e&&n!==void 0?e+"-"+n:n}function Kj(n,e){b.useContext(Xx).strict}function Gj(n){const{drag:e,layout:i}=yi;if(!e&&!i)return{};const s={...e,...i};return{MeasureLayout:e?.isEnabled(n)||i?.isEnabled(n)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Yj=["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 Td(n){return typeof n!="string"||n.includes("-")?!1:!!(Yj.indexOf(n)>-1||/[A-Z]/u.test(n))}function Ih(n){const e=[{},{}];return n?.values.forEach((i,s)=>{e[0][s]=i.get(),e[1][s]=i.getVelocity()}),e}function Pd(n,e,i,s){if(typeof e=="function"){const[a,c]=Ih(s);e=e(i!==void 0?i:n.custom,a,c)}if(typeof e=="string"&&(e=n.variants&&n.variants[e]),typeof e=="function"){const[a,c]=Ih(s);e=e(i!==void 0?i:n.custom,a,c)}return e}const Ru=n=>Array.isArray(n),Qj=n=>!!(n&&typeof n=="object"&&n.mix&&n.toValue),Xj=n=>Ru(n)?n[n.length-1]||0:n,ft=n=>!!(n&&n.getVelocity);function va(n){const e=ft(n)?n.get():n;return Qj(e)?e.toValue():e}function Jj({scrapeMotionValuesFromProps:n,createRenderState:e,onUpdate:i},s,a,c){const d={latestValues:Zj(s,a,c,n),renderState:e()};return i&&(d.onMount=f=>i({props:s,current:f,...d}),d.onUpdate=f=>i(f)),d}const rv=n=>(e,i)=>{const s=b.useContext($a),a=b.useContext(Ba),c=()=>Jj(n,e,s,a);return i?c():yd(c)};function Zj(n,e,i,s){const a={},c=s(n,{});for(const y in c)a[y]=va(c[y]);let{initial:d,animate:f}=n;const p=Ha(n),h=Zx(n);e&&h&&!p&&n.inherit!==!1&&(d===void 0&&(d=e.initial),f===void 0&&(f=e.animate));let x=i?i.initial===!1:!1;x=x||d===!1;const v=x?f:d;if(v&&typeof v!="boolean"&&!qa(v)){const y=Array.isArray(v)?v:[v];for(let S=0;S<y.length;S++){const E=Pd(n,y[S]);if(E){const{transitionEnd:N,transition:j,...T}=E;for(const O in T){let k=T[O];if(Array.isArray(k)){const _=x?k.length-1:0;k=k[_]}k!==null&&(a[O]=k)}for(const O in N)a[O]=N[O]}}}return a}const Ci=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Or=new Set(Ci),iv=n=>e=>typeof e=="string"&&e.startsWith(n),sv=iv("--"),eS=iv("var(--"),kd=n=>eS(n)?tS.test(n.split("/*")[0].trim()):!1,tS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ov=(n,e)=>e&&typeof n=="number"?e.transform(n):n,Rn=(n,e,i)=>i>e?e:i<n?n:i,Ti={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Ds={...Ti,transform:n=>Rn(0,1,n)},da={...Ti,default:1},qs=n=>({test:e=>typeof e=="string"&&e.endsWith(n)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${n}`}),nr=qs("deg"),pn=qs("%"),le=qs("px"),nS=qs("vh"),rS=qs("vw"),Lh={...pn,parse:n=>pn.parse(n)/100,transform:n=>pn.transform(n*100)},iS={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,radius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,backgroundPositionX:le,backgroundPositionY:le},sS={rotate:nr,rotateX:nr,rotateY:nr,rotateZ:nr,scale:da,scaleX:da,scaleY:da,scaleZ:da,skew:nr,skewX:nr,skewY:nr,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:Ds,originX:Lh,originY:Lh,originZ:le},Mh={...Ti,transform:Math.round},Rd={...iS,...sS,zIndex:Mh,size:le,fillOpacity:Ds,strokeOpacity:Ds,numOctaves:Mh},oS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},aS=Ci.length;function lS(n,e,i){let s="",a=!0;for(let c=0;c<aS;c++){const d=Ci[c],f=n[d];if(f===void 0)continue;let p=!0;if(typeof f=="number"?p=f===(d.startsWith("scale")?1:0):p=parseFloat(f)===0,!p||i){const h=ov(f,Rd[d]);if(!p){a=!1;const x=oS[d]||d;s+=`${x}(${h}) `}i&&(e[d]=h)}}return s=s.trim(),i?s=i(e,a?"":s):a&&(s="none"),s}function Ad(n,e,i){const{style:s,vars:a,transformOrigin:c}=n;let d=!1,f=!1;for(const p in e){const h=e[p];if(Or.has(p)){d=!0;continue}else if(sv(p)){a[p]=h;continue}else{const x=ov(h,Rd[p]);p.startsWith("origin")?(f=!0,c[p]=x):s[p]=x}}if(e.transform||(d||i?s.transform=lS(e,n.transform,i):s.transform&&(s.transform="none")),f){const{originX:p="50%",originY:h="50%",originZ:x=0}=c;s.transformOrigin=`${p} ${h} ${x}`}}const cS={offset:"stroke-dashoffset",array:"stroke-dasharray"},uS={offset:"strokeDashoffset",array:"strokeDasharray"};function dS(n,e,i=1,s=0,a=!0){n.pathLength=1;const c=a?cS:uS;n[c.offset]=le.transform(-s);const d=le.transform(e),f=le.transform(i);n[c.array]=`${d} ${f}`}function _h(n,e,i){return typeof n=="string"?n:le.transform(e+i*n)}function fS(n,e,i){const s=_h(e,n.x,n.width),a=_h(i,n.y,n.height);return`${s} ${a}`}function Od(n,{attrX:e,attrY:i,attrScale:s,originX:a,originY:c,pathLength:d,pathSpacing:f=1,pathOffset:p=0,...h},x,v){if(Ad(n,h,v),x){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:y,style:S,dimensions:E}=n;y.transform&&(E&&(S.transform=y.transform),delete y.transform),E&&(a!==void 0||c!==void 0||S.transform)&&(S.transformOrigin=fS(E,a!==void 0?a:.5,c!==void 0?c:.5)),e!==void 0&&(y.x=e),i!==void 0&&(y.y=i),s!==void 0&&(y.scale=s),d!==void 0&&dS(y,d,f,p,!1)}const Id=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),av=()=>({...Id(),attrs:{}}),Ld=n=>typeof n=="string"&&n.toLowerCase()==="svg";function lv(n,{style:e,vars:i},s,a){Object.assign(n.style,e,a&&a.getProjectionStyles(s));for(const c in i)n.style.setProperty(c,i[c])}const cv=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"]);function uv(n,e,i,s){lv(n,e,void 0,s);for(const a in e.attrs)n.setAttribute(cv.has(a)?a:Ed(a),e.attrs[a])}const Pa={};function pS(n){Object.assign(Pa,n)}function dv(n,{layout:e,layoutId:i}){return Or.has(n)||n.startsWith("origin")||(e||i!==void 0)&&(!!Pa[n]||n==="opacity")}function Md(n,e,i){var s;const{style:a}=n,c={};for(const d in a)(ft(a[d])||e.style&&ft(e.style[d])||dv(d,n)||((s=i?.getValue(d))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(c[d]=a[d]);return c}function fv(n,e,i){const s=Md(n,e,i);for(const a in n)if(ft(n[a])||ft(e[a])){const c=Ci.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;s[c]=n[a]}return s}function mS(n,e){try{e.dimensions=typeof n.getBBox=="function"?n.getBBox():n.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const Dh=["x","y","width","height","cx","cy","r"],hS={useVisualState:rv({scrapeMotionValuesFromProps:fv,createRenderState:av,onUpdate:({props:n,prevProps:e,current:i,renderState:s,latestValues:a})=>{if(!i)return;let c=!!n.drag;if(!c){for(const f in a)if(Or.has(f)){c=!0;break}}if(!c)return;let d=!e;if(e)for(let f=0;f<Dh.length;f++){const p=Dh[f];n[p]!==e[p]&&(d=!0)}d&&Oe.read(()=>{mS(i,s),Oe.render(()=>{Od(s,a,Ld(i.tagName),n.transformTemplate),uv(i,s)})})}})},gS={useVisualState:rv({scrapeMotionValuesFromProps:Md,createRenderState:Id})};function pv(n,e,i){for(const s in e)!ft(e[s])&&!dv(s,i)&&(n[s]=e[s])}function xS({transformTemplate:n},e){return b.useMemo(()=>{const i=Id();return Ad(i,e,n),Object.assign({},i.vars,i.style)},[e])}function vS(n,e){const i=n.style||{},s={};return pv(s,i,n),Object.assign(s,xS(n,e)),s}function yS(n,e){const i={},s=vS(n,e);return n.drag&&n.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(i.tabIndex=0),i.style=s,i}function wS(n,e,i,s){const a=b.useMemo(()=>{const c=av();return Od(c,e,Ld(s),n.transformTemplate),{...c.attrs,style:{...c.style}}},[e]);if(n.style){const c={};pv(c,n.style,n),a.style={...c,...a.style}}return a}function bS(n=!1){return(i,s,a,{latestValues:c},d)=>{const p=(Td(i)?wS:yS)(s,c,d,i),h=_j(s,typeof i=="string",n),x=i!==b.Fragment?{...h,...p,ref:a}:{},{children:v}=s,y=b.useMemo(()=>ft(v)?v.get():v,[v]);return b.createElement(i,{...x,children:y})}}function jS(n,e){return function(s,{forwardMotionProps:a}={forwardMotionProps:!1}){const d={...Td(s)?hS:gS,preloadedFeatures:n,useRender:bS(a),createVisualElement:e,Component:s};return Hj(d)}}function mv(n,e){if(!Array.isArray(e))return!1;const i=e.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(e[s]!==n[s])return!1;return!0}function Wa(n,e,i){const s=n.getProps();return Pd(s,e,i!==void 0?i:s.custom,n)}const SS=jd(()=>window.ScrollTimeline!==void 0);class NS{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,i){for(let s=0;s<this.animations.length;s++)this.animations[s][e]=i}attachTimeline(e,i){const s=this.animations.map(a=>{if(SS()&&a.attachTimeline)return a.attachTimeline(e);if(typeof i=="function")return i(a)});return()=>{s.forEach((a,c)=>{a&&a(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let i=0;i<this.animations.length;i++)e=Math.max(e,this.animations[i].duration);return e}runAll(e){this.animations.forEach(i=>i[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ES extends NS{then(e,i){return Promise.all(this.animations).then(e).catch(i)}}function _d(n,e){return n?n[e]||n.default||n:void 0}const Au=2e4;function hv(n){let e=0;const i=50;let s=n.next(e);for(;!s.done&&e<Au;)e+=i,s=n.next(e);return e>=Au?1/0:e}function Dd(n){return typeof n=="function"}function Vh(n,e){n.timeline=e,n.onfinish=null}const Vd=n=>Array.isArray(n)&&typeof n[0]=="number",CS={linearEasing:void 0};function TS(n,e){const i=jd(n);return()=>{var s;return(s=CS[e])!==null&&s!==void 0?s:i()}}const ka=TS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gv=(n,e,i=10)=>{let s="";const a=Math.max(Math.round(e/i),2);for(let c=0;c<a;c++)s+=n(vi(0,a-1,c))+", ";return`linear(${s.substring(0,s.length-2)})`};function xv(n){return!!(typeof n=="function"&&ka()||!n||typeof n=="string"&&(n in Ou||ka())||Vd(n)||Array.isArray(n)&&n.every(xv))}const Ts=([n,e,i,s])=>`cubic-bezier(${n}, ${e}, ${i}, ${s})`,Ou={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ts([0,.65,.55,1]),circOut:Ts([.55,0,1,.45]),backIn:Ts([.31,.01,.66,-.59]),backOut:Ts([.33,1.53,.69,.99])};function vv(n,e){if(n)return typeof n=="function"&&ka()?gv(n,e):Vd(n)?Ts(n):Array.isArray(n)?n.map(i=>vv(i,e)||Ou.easeOut):Ou[n]}const tn={x:!1,y:!1};function yv(){return tn.x||tn.y}function PS(n,e,i){var s;if(n instanceof Element)return[n];if(typeof n=="string"){let a=document;const c=(s=void 0)!==null&&s!==void 0?s:a.querySelectorAll(n);return c?Array.from(c):[]}return Array.from(n)}function wv(n,e){const i=PS(n),s=new AbortController,a={passive:!0,...e,signal:s.signal};return[i,a,()=>s.abort()]}function Fh(n){return e=>{e.pointerType==="touch"||yv()||n(e)}}function kS(n,e,i={}){const[s,a,c]=wv(n,i),d=Fh(f=>{const{target:p}=f,h=e(f);if(typeof h!="function"||!p)return;const x=Fh(v=>{h(v),p.removeEventListener("pointerleave",x)});p.addEventListener("pointerleave",x,a)});return s.forEach(f=>{f.addEventListener("pointerenter",d,a)}),c}const bv=(n,e)=>e?n===e?!0:bv(n,e.parentElement):!1,Fd=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,RS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function AS(n){return RS.has(n.tagName)||n.tabIndex!==-1}const Ps=new WeakSet;function zh(n){return e=>{e.key==="Enter"&&n(e)}}function eu(n,e){n.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const OS=(n,e)=>{const i=n.currentTarget;if(!i)return;const s=zh(()=>{if(Ps.has(i))return;eu(i,"down");const a=zh(()=>{eu(i,"up")}),c=()=>eu(i,"cancel");i.addEventListener("keyup",a,e),i.addEventListener("blur",c,e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)};function Uh(n){return Fd(n)&&!yv()}function IS(n,e,i={}){const[s,a,c]=wv(n,i),d=f=>{const p=f.currentTarget;if(!Uh(f)||Ps.has(p))return;Ps.add(p);const h=e(f),x=(S,E)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",y),!(!Uh(S)||!Ps.has(p))&&(Ps.delete(p),typeof h=="function"&&h(S,{success:E}))},v=S=>{x(S,i.useGlobalTarget||bv(p,S.target))},y=S=>{x(S,!1)};window.addEventListener("pointerup",v,a),window.addEventListener("pointercancel",y,a)};return s.forEach(f=>{!AS(f)&&f.getAttribute("tabindex")===null&&(f.tabIndex=0),(i.useGlobalTarget?window:f).addEventListener("pointerdown",d,a),f.addEventListener("focus",h=>OS(h,a),a)}),c}function LS(n){return n==="x"||n==="y"?tn[n]?null:(tn[n]=!0,()=>{tn[n]=!1}):tn.x||tn.y?null:(tn.x=tn.y=!0,()=>{tn.x=tn.y=!1})}const jv=new Set(["width","height","top","left","right","bottom",...Ci]);let ya;function MS(){ya=void 0}const mn={now:()=>(ya===void 0&&mn.set(rt.isProcessing||Rj.useManualTiming?rt.timestamp:performance.now()),ya),set:n=>{ya=n,queueMicrotask(MS)}};function zd(n,e){n.indexOf(e)===-1&&n.push(e)}function Ud(n,e){const i=n.indexOf(e);i>-1&&n.splice(i,1)}class Bd{constructor(){this.subscriptions=[]}add(e){return zd(this.subscriptions,e),()=>Ud(this.subscriptions,e)}notify(e,i,s){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](e,i,s);else for(let c=0;c<a;c++){const d=this.subscriptions[c];d&&d(e,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Sv(n,e){return e?n*(1e3/e):0}const Bh=30,_S=n=>!isNaN(parseFloat(n));class DS{constructor(e,i={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,a=!0)=>{const c=mn.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=i.owner}setCurrent(e){this.current=e,this.updatedAt=mn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=_S(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,i){this.events[e]||(this.events[e]=new Bd);const s=this.events[e].add(i);return e==="change"?()=>{s(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,i){this.passiveEffect=e,this.stopPassiveEffect=i}set(e,i=!0){!i||!this.passiveEffect?this.updateAndNotify(e,i):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,i=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Bh)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Bh);return Sv(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(e){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=e(i),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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Vs(n,e){return new DS(n,e)}function VS(n,e,i){n.hasValue(e)?n.getValue(e).set(i):n.addValue(e,Vs(i))}function FS(n,e){const i=Wa(n,e);let{transitionEnd:s={},transition:a={},...c}=i||{};c={...c,...s};for(const d in c){const f=Xj(c[d]);VS(n,d,f)}}function zS(n){return!!(ft(n)&&n.add)}function Iu(n,e){const i=n.getValue("willChange");if(zS(i))return i.add(e)}function Nv(n){return n.props[ev]}const Ev=(n,e,i)=>(((1-3*i+3*e)*n+(3*i-6*e))*n+3*e)*n,US=1e-7,BS=12;function $S(n,e,i,s,a){let c,d,f=0;do d=e+(i-e)/2,c=Ev(d,s,a)-n,c>0?i=d:e=d;while(Math.abs(c)>US&&++f<BS);return d}function Hs(n,e,i,s){if(n===e&&i===s)return Ot;const a=c=>$S(c,0,1,n,i);return c=>c===0||c===1?c:Ev(a(c),e,s)}const Cv=n=>e=>e<=.5?n(2*e)/2:(2-n(2*(1-e)))/2,Tv=n=>e=>1-n(1-e),Pv=Hs(.33,1.53,.69,.99),$d=Tv(Pv),kv=Cv($d),Rv=n=>(n*=2)<1?.5*$d(n):.5*(2-Math.pow(2,-10*(n-1))),qd=n=>1-Math.sin(Math.acos(n)),Av=Tv(qd),Ov=Cv(qd),Iv=n=>/^0[^.\s]+$/u.test(n);function qS(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||Iv(n):!0}const As=n=>Math.round(n*1e5)/1e5,Hd=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function HS(n){return n==null}const WS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wd=(n,e)=>i=>!!(typeof i=="string"&&WS.test(i)&&i.startsWith(n)||e&&!HS(i)&&Object.prototype.hasOwnProperty.call(i,e)),Lv=(n,e,i)=>s=>{if(typeof s!="string")return s;const[a,c,d,f]=s.match(Hd);return{[n]:parseFloat(a),[e]:parseFloat(c),[i]:parseFloat(d),alpha:f!==void 0?parseFloat(f):1}},KS=n=>Rn(0,255,n),tu={...Ti,transform:n=>Math.round(KS(n))},Tr={test:Wd("rgb","red"),parse:Lv("red","green","blue"),transform:({red:n,green:e,blue:i,alpha:s=1})=>"rgba("+tu.transform(n)+", "+tu.transform(e)+", "+tu.transform(i)+", "+As(Ds.transform(s))+")"};function GS(n){let e="",i="",s="",a="";return n.length>5?(e=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),a=n.substring(7,9)):(e=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),a=n.substring(4,5),e+=e,i+=i,s+=s,a+=a),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:a?parseInt(a,16)/255:1}}const Lu={test:Wd("#"),parse:GS,transform:Tr.transform},ci={test:Wd("hsl","hue"),parse:Lv("hue","saturation","lightness"),transform:({hue:n,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+pn.transform(As(e))+", "+pn.transform(As(i))+", "+As(Ds.transform(s))+")"},ut={test:n=>Tr.test(n)||Lu.test(n)||ci.test(n),parse:n=>Tr.test(n)?Tr.parse(n):ci.test(n)?ci.parse(n):Lu.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Tr.transform(n):ci.transform(n)},YS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function QS(n){var e,i;return isNaN(n)&&typeof n=="string"&&(((e=n.match(Hd))===null||e===void 0?void 0:e.length)||0)+(((i=n.match(YS))===null||i===void 0?void 0:i.length)||0)>0}const Mv="number",_v="color",XS="var",JS="var(",$h="${}",ZS=/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 Fs(n){const e=n.toString(),i=[],s={color:[],number:[],var:[]},a=[];let c=0;const f=e.replace(ZS,p=>(ut.test(p)?(s.color.push(c),a.push(_v),i.push(ut.parse(p))):p.startsWith(JS)?(s.var.push(c),a.push(XS),i.push(p)):(s.number.push(c),a.push(Mv),i.push(parseFloat(p))),++c,$h)).split($h);return{values:i,split:f,indexes:s,types:a}}function Dv(n){return Fs(n).values}function Vv(n){const{split:e,types:i}=Fs(n),s=e.length;return a=>{let c="";for(let d=0;d<s;d++)if(c+=e[d],a[d]!==void 0){const f=i[d];f===Mv?c+=As(a[d]):f===_v?c+=ut.transform(a[d]):c+=a[d]}return c}}const eN=n=>typeof n=="number"?0:n;function tN(n){const e=Dv(n);return Vv(n)(e.map(eN))}const ir={test:QS,parse:Dv,createTransformer:Vv,getAnimatableNone:tN},nN=new Set(["brightness","contrast","saturate","opacity"]);function rN(n){const[e,i]=n.slice(0,-1).split("(");if(e==="drop-shadow")return n;const[s]=i.match(Hd)||[];if(!s)return n;const a=i.replace(s,"");let c=nN.has(e)?1:0;return s!==i&&(c*=100),e+"("+c+a+")"}const iN=/\b([a-z-]*)\(.*?\)/gu,Mu={...ir,getAnimatableNone:n=>{const e=n.match(iN);return e?e.map(rN).join(" "):n}},sN={...Rd,color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Mu,WebkitFilter:Mu},Kd=n=>sN[n];function Fv(n,e){let i=Kd(n);return i!==Mu&&(i=ir),i.getAnimatableNone?i.getAnimatableNone(e):void 0}const oN=new Set(["auto","none","0"]);function aN(n,e,i){let s=0,a;for(;s<n.length&&!a;){const c=n[s];typeof c=="string"&&!oN.has(c)&&Fs(c).values.length&&(a=n[s]),s++}if(a&&i)for(const c of e)n[c]=Fv(i,a)}const qh=n=>n===Ti||n===le,Hh=(n,e)=>parseFloat(n.split(", ")[e]),Wh=(n,e)=>(i,{transform:s})=>{if(s==="none"||!s)return 0;const a=s.match(/^matrix3d\((.+)\)$/u);if(a)return Hh(a[1],e);{const c=s.match(/^matrix\((.+)\)$/u);return c?Hh(c[1],n):0}},lN=new Set(["x","y","z"]),cN=Ci.filter(n=>!lN.has(n));function uN(n){const e=[];return cN.forEach(i=>{const s=n.getValue(i);s!==void 0&&(e.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),e}const wi={width:({x:n},{paddingLeft:e="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(e)-parseFloat(i),height:({y:n},{paddingTop:e="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(e)-parseFloat(i),top:(n,{top:e})=>parseFloat(e),left:(n,{left:e})=>parseFloat(e),bottom:({y:n},{top:e})=>parseFloat(e)+(n.max-n.min),right:({x:n},{left:e})=>parseFloat(e)+(n.max-n.min),x:Wh(4,13),y:Wh(5,14)};wi.translateX=wi.x;wi.translateY=wi.y;const Pr=new Set;let _u=!1,Du=!1;function zv(){if(Du){const n=Array.from(Pr).filter(s=>s.needsMeasurement),e=new Set(n.map(s=>s.element)),i=new Map;e.forEach(s=>{const a=uN(s);a.length&&(i.set(s,a),s.render())}
vendor: 14,625 bytes, line 18
18),n.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const a=i.get(s);a&&a.forEach(([c,d])=>{var f;(f=s.getValue(c))===null||f===void 0||f.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Du=!1,_u=!1,Pr.forEach(n=>n.complete()),Pr.clear()}function Uv(){Pr.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Du=!0)})}function dN(){Uv(),zv()}class Gd{constructor(e,i,s,a,c,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=i,this.name=s,this.motionValue=a,this.element=c,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Pr.add(this),_u||(_u=!0,Oe.read(Uv),Oe.resolveKeyframes(zv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:i,element:s,motionValue:a}=this;for(let c=0;c<e.length;c++)if(e[c]===null)if(c===0){const d=a?.get(),f=e[e.length-1];if(d!==void 0)e[0]=d;else if(s&&i){const p=s.readValue(i,f);p!=null&&(e[0]=p)}e[0]===void 0&&(e[0]=f),a&&d===void 0&&a.set(e[0])}else e[c]=e[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Pr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Pr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Bv=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),fN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pN(n){const e=fN.exec(n);if(!e)return[,];const[,i,s,a]=e;return[`--${i??s}`,a]}function $v(n,e,i=1){const[s,a]=pN(n);if(!s)return;const c=window.getComputedStyle(e).getPropertyValue(s);if(c){const d=c.trim();return Bv(d)?parseFloat(d):d}return kd(a)?$v(a,e,i+1):a}const qv=n=>e=>e.test(n),mN={test:n=>n==="auto",parse:n=>n},Hv=[Ti,le,pn,nr,rS,nS,mN],Kh=n=>Hv.find(qv(n));class Wv extends Gd{constructor(e,i,s,a,c){super(e,i,s,a,c,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<e.length;p++){let h=e[p];if(typeof h=="string"&&(h=h.trim(),kd(h))){const x=$v(h,i.current);x!==void 0&&(e[p]=x),p===e.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!jv.has(s)||e.length!==2)return;const[a,c]=e,d=Kh(a),f=Kh(c);if(d!==f)if(qh(d)&&qh(f))for(let p=0;p<e.length;p++){const h=e[p];typeof h=="string"&&(e[p]=parseFloat(h))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:i}=this,s=[];for(let a=0;a<e.length;a++)qS(e[a])&&s.push(a);s.length&&aN(e,s,i)}measureInitialState(){const{element:e,unresolvedKeyframes:i,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=wi[s](e.measureViewportBox(),window.getComputedStyle(e.current)),i[0]=this.measuredOrigin;const a=i[i.length-1];a!==void 0&&e.getValue(s,a).jump(a,!1)}measureEndState(){var e;const{element:i,name:s,unresolvedKeyframes:a}=this;if(!i||!i.current)return;const c=i.getValue(s);c&&c.jump(this.measuredOrigin,!1);const d=a.length-1,f=a[d];a[d]=wi[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEach(([p,h])=>{i.getValue(p).set(h)}),this.resolveNoneKeyframes()}}const Gh=(n,e)=>e==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(ir.test(n)||n==="0")&&!n.startsWith("url("));function hN(n){const e=n[0];if(n.length===1)return!0;for(let i=0;i<n.length;i++)if(n[i]!==e)return!0}function gN(n,e,i,s){const a=n[0];if(a===null)return!1;if(e==="display"||e==="visibility")return!0;const c=n[n.length-1],d=Gh(a,e),f=Gh(c,e);return!d||!f?!1:hN(n)||(i==="spring"||Dd(i))&&s}const xN=n=>n!==null;function Ka(n,{repeat:e,repeatType:i="loop"},s){const a=n.filter(xN),c=e&&i!=="loop"&&e%2===1?0:a.length-1;return!c||s===void 0?a[c]:s}const vN=40;class Kv{constructor({autoplay:e=!0,delay:i=0,type:s="keyframes",repeat:a=0,repeatDelay:c=0,repeatType:d="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=mn.now(),this.options={autoplay:e,delay:i,type:s,repeat:a,repeatDelay:c,repeatType:d,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>vN?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&dN(),this._resolved}onKeyframesResolved(e,i){this.resolvedAt=mn.now(),this.hasAttemptedResolve=!0;const{name:s,type:a,velocity:c,delay:d,onComplete:f,onUpdate:p,isGenerator:h}=this.options;if(!h&&!gN(e,s,a,c))if(d)this.options.duration=0;else{p&&p(Ka(e,this.options,i)),f&&f(),this.resolveFinishedPromise();return}const x=this.initPlayback(e,i);x!==!1&&(this._resolved={keyframes:e,finalKeyframe:i,...x},this.onPostResolved())}onPostResolved(){}then(e,i){return this.currentFinishedPromise.then(e,i)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const ze=(n,e,i)=>n+(e-n)*i;function nu(n,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(e-n)*6*i:i<1/2?e:i<2/3?n+(e-n)*(2/3-i)*6:n}function yN({hue:n,saturation:e,lightness:i,alpha:s}){n/=360,e/=100,i/=100;let a=0,c=0,d=0;if(!e)a=c=d=i;else{const f=i<.5?i*(1+e):i+e-i*e,p=2*i-f;a=nu(p,f,n+1/3),c=nu(p,f,n),d=nu(p,f,n-1/3)}return{red:Math.round(a*255),green:Math.round(c*255),blue:Math.round(d*255),alpha:s}}function Ra(n,e){return i=>i>0?e:n}const ru=(n,e,i)=>{const s=n*n,a=i*(e*e-s)+s;return a<0?0:Math.sqrt(a)},wN=[Lu,Tr,ci],bN=n=>wN.find(e=>e.test(n));function Yh(n){const e=bN(n);if(!e)return!1;let i=e.parse(n);return e===ci&&(i=yN(i)),i}const Qh=(n,e)=>{const i=Yh(n),s=Yh(e);if(!i||!s)return Ra(n,e);const a={...i};return c=>(a.red=ru(i.red,s.red,c),a.green=ru(i.green,s.green,c),a.blue=ru(i.blue,s.blue,c),a.alpha=ze(i.alpha,s.alpha,c),Tr.transform(a))},jN=(n,e)=>i=>e(n(i)),Ws=(...n)=>n.reduce(jN),Vu=new Set(["none","hidden"]);function SN(n,e){return Vu.has(n)?i=>i<=0?n:e:i=>i>=1?e:n}function NN(n,e){return i=>ze(n,e,i)}function Yd(n){return typeof n=="number"?NN:typeof n=="string"?kd(n)?Ra:ut.test(n)?Qh:TN:Array.isArray(n)?Gv:typeof n=="object"?ut.test(n)?Qh:EN:Ra}function Gv(n,e){const i=[...n],s=i.length,a=n.map((c,d)=>Yd(c)(c,e[d]));return c=>{for(let d=0;d<s;d++)i[d]=a[d](c);return i}}function EN(n,e){const i={...n,...e},s={};for(const a in i)n[a]!==void 0&&e[a]!==void 0&&(s[a]=Yd(n[a])(n[a],e[a]));return a=>{for(const c in s)i[c]=s[c](a);return i}}function CN(n,e){var i;const s=[],a={color:0,var:0,number:0};for(let c=0;c<e.values.length;c++){const d=e.types[c],f=n.indexes[d][a[d]],p=(i=n.values[f])!==null&&i!==void 0?i:0;s[c]=p,a[d]++}return s}const TN=(n,e)=>{const i=ir.createTransformer(e),s=Fs(n),a=Fs(e);return s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length?Vu.has(n)&&!a.values.length||Vu.has(e)&&!s.values.length?SN(n,e):Ws(Gv(CN(s,a),a.values),i):Ra(n,e)};function Yv(n,e,i){return typeof n=="number"&&typeof e=="number"&&typeof i=="number"?ze(n,e,i):Yd(n)(n,e)}const PN=5;function Qv(n,e,i){const s=Math.max(e-PN,0);return Sv(i-n(s),e-s)}const Be={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},iu=.001;function kN({duration:n=Be.duration,bounce:e=Be.bounce,velocity:i=Be.velocity,mass:s=Be.mass}){let a,c,d=1-e;d=Rn(Be.minDamping,Be.maxDamping,d),n=Rn(Be.minDuration,Be.maxDuration,Pn(n)),d<1?(a=h=>{const x=h*d,v=x*n,y=x-i,S=Fu(h,d),E=Math.exp(-v);return iu-y/S*E},c=h=>{const v=h*d*n,y=v*i+i,S=Math.pow(d,2)*Math.pow(h,2)*n,E=Math.exp(-v),N=Fu(Math.pow(h,2),d);return(-a(h)+iu>0?-1:1)*((y-S)*E)/N}):(a=h=>{const x=Math.exp(-h*n),v=(h-i)*n+1;return-iu+x*v},c=h=>{const x=Math.exp(-h*n),v=(i-h)*(n*n);return x*v});const f=5/n,p=AN(a,c,f);if(n=Tn(n),isNaN(p))return{stiffness:Be.stiffness,damping:Be.damping,duration:n};{const h=Math.pow(p,2)*s;return{stiffness:h,damping:d*2*Math.sqrt(s*h),duration:n}}}const RN=12;function AN(n,e,i){let s=i;for(let a=1;a<RN;a++)s=s-n(s)/e(s);return s}function Fu(n,e){return n*Math.sqrt(1-e*e)}const ON=["duration","bounce"],IN=["stiffness","damping","mass"];function Xh(n,e){return e.some(i=>n[i]!==void 0)}function LN(n){let e={velocity:Be.velocity,stiffness:Be.stiffness,damping:Be.damping,mass:Be.mass,isResolvedFromDuration:!1,...n};if(!Xh(n,IN)&&Xh(n,ON))if(n.visualDuration){const i=n.visualDuration,s=2*Math.PI/(i*1.2),a=s*s,c=2*Rn(.05,1,1-(n.bounce||0))*Math.sqrt(a);e={...e,mass:Be.mass,stiffness:a,damping:c}}else{const i=kN(n);e={...e,...i,mass:Be.mass},e.isResolvedFromDuration=!0}return e}function Xv(n=Be.visualDuration,e=Be.bounce){const i=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:e}:n;let{restSpeed:s,restDelta:a}=i;const c=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],f={done:!1,value:c},{stiffness:p,damping:h,mass:x,duration:v,velocity:y,isResolvedFromDuration:S}=LN({...i,velocity:-Pn(i.velocity||0)}),E=y||0,N=h/(2*Math.sqrt(p*x)),j=d-c,T=Pn(Math.sqrt(p/x)),O=Math.abs(j)<5;s||(s=O?Be.restSpeed.granular:Be.restSpeed.default),a||(a=O?Be.restDelta.granular:Be.restDelta.default);let k;if(N<1){const D=Fu(T,N);k=B=>{const W=Math.exp(-N*T*B);return d-W*((E+N*T*j)/D*Math.sin(D*B)+j*Math.cos(D*B))}}else if(N===1)k=D=>d-Math.exp(-T*D)*(j+(E+T*j)*D);else{const D=T*Math.sqrt(N*N-1);k=B=>{const W=Math.exp(-N*T*B),K=Math.min(D*B,300);return d-W*((E+N*T*j)*Math.sinh(K)+D*j*Math.cosh(K))/D}}const _={calculatedDuration:S&&v||null,next:D=>{const B=k(D);if(S)f.done=D>=v;else{let W=0;N<1&&(W=D===0?Tn(E):Qv(k,D,B));const K=Math.abs(W)<=s,re=Math.abs(d-B)<=a;f.done=K&&re}return f.value=f.done?d:B,f},toString:()=>{const D=Math.min(hv(_),Au),B=gv(W=>_.next(D*W).value,D,30);return D+"ms "+B}};return _}function Jh({keyframes:n,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:a=10,bounceStiffness:c=500,modifyTarget:d,min:f,max:p,restDelta:h=.5,restSpeed:x}){const v=n[0],y={done:!1,value:v},S=K=>f!==void 0&&K<f||p!==void 0&&K>p,E=K=>f===void 0?p:p===void 0||Math.abs(f-K)<Math.abs(p-K)?f:p;let N=i*e;const j=v+N,T=d===void 0?j:d(j);T!==j&&(N=T-v);const O=K=>-N*Math.exp(-K/s),k=K=>T+O(K),_=K=>{const re=O(K),ce=k(K);y.done=Math.abs(re)<=h,y.value=y.done?T:ce};let D,B;const W=K=>{S(y.value)&&(D=K,B=Xv({keyframes:[y.value,E(y.value)],velocity:Qv(k,K,y.value),damping:a,stiffness:c,restDelta:h,restSpeed:x}))};return W(0),{calculatedDuration:null,next:K=>{let re=!1;return!B&&D===void 0&&(re=!0,_(K),W(K)),D!==void 0&&K>=D?B.next(K-D):(!re&&_(K),y)}}}const MN=Hs(.42,0,1,1),_N=Hs(0,0,.58,1),Jv=Hs(.42,0,.58,1),DN=n=>Array.isArray(n)&&typeof n[0]!="number",VN={linear:Ot,easeIn:MN,easeInOut:Jv,easeOut:_N,circIn:qd,circInOut:Ov,circOut:Av,backIn:$d,backInOut:kv,backOut:Pv,anticipate:Rv},Zh=n=>{if(Vd(n)){Yx(n.length===4);const[e,i,s,a]=n;return Hs(e,i,s,a)}else if(typeof n=="string")return VN[n];return n};function FN(n,e,i){const s=[],a=i||Yv,c=n.length-1;for(let d=0;d<c;d++){let f=a(n[d],n[d+1]);if(e){const p=Array.isArray(e)?e[d]||Ot:e;f=Ws(p,f)}s.push(f)}return s}function zN(n,e,{clamp:i=!0,ease:s,mixer:a}={}){const c=n.length;if(Yx(c===e.length),c===1)return()=>e[0];if(c===2&&e[0]===e[1])return()=>e[1];const d=n[0]===n[1];n[0]>n[c-1]&&(n=[...n].reverse(),e=[...e].reverse());const f=FN(e,s,a),p=f.length,h=x=>{if(d&&x<n[0])return e[0];let v=0;if(p>1)for(;v<n.length-2&&!(x<n[v+1]);v++);const y=vi(n[v],n[v+1],x);return f[v](y)};return i?x=>h(Rn(n[0],n[c-1],x)):h}function UN(n,e){const i=n[n.length-1];for(let s=1;s<=e;s++){const a=vi(0,e,s);n.push(ze(i,1,a))}}function BN(n){const e=[0];return UN(e,n.length-1),e}function $N(n,e){return n.map(i=>i*e)}function qN(n,e){return n.map(()=>e||Jv).splice(0,n.length-1)}function Aa({duration:n=300,keyframes:e,times:i,ease:s="easeInOut"}){const a=DN(s)?s.map(Zh):Zh(s),c={done:!1,value:e[0]},d=$N(i&&i.length===e.length?i:BN(e),n),f=zN(d,e,{ease:Array.isArray(a)?a:qN(e,a)});return{calculatedDuration:n,next:p=>(c.value=f(p),c.done=p>=n,c)}}const HN=n=>{const e=({timestamp:i})=>n(i);return{start:()=>Oe.update(e,!0),stop:()=>rr(e),now:()=>rt.isProcessing?rt.timestamp:mn.now()}},WN={decay:Jh,inertia:Jh,tween:Aa,keyframes:Aa,spring:Xv},KN=n=>n/100;class Qd extends Kv{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:p}=this.options;p&&p()};const{name:i,motionValue:s,element:a,keyframes:c}=this.options,d=a?.KeyframeResolver||Gd,f=(p,h)=>this.onKeyframesResolved(p,h);this.resolver=new d(c,f,i,s,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:i="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c,velocity:d=0}=this.options,f=Dd(i)?i:WN[i]||Aa;let p,h;f!==Aa&&typeof e[0]!="number"&&(p=Ws(KN,Yv(e[0],e[1])),e=[0,100]);const x=f({...this.options,keyframes:e});c==="mirror"&&(h=f({...this.options,keyframes:[...e].reverse(),velocity:-d})),x.calculatedDuration===null&&(x.calculatedDuration=hv(x));const{calculatedDuration:v}=x,y=v+a,S=y*(s+1)-a;return{generator:x,mirroredGenerator:h,mapPercentToKeyframes:p,calculatedDuration:v,resolvedDuration:y,totalDuration:S}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,i=!1){const{resolved:s}=this;if(!s){const{keyframes:K}=this.options;return{done:!0,value:K[K.length-1]}}const{finalKeyframe:a,generator:c,mirroredGenerator:d,mapPercentToKeyframes:f,keyframes:p,calculatedDuration:h,totalDuration:x,resolvedDuration:v}=s;if(this.startTime===null)return c.next(0);const{delay:y,repeat:S,repeatType:E,repeatDelay:N,onUpdate:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-x/this.speed,this.startTime)),i?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const T=this.currentTime-y*(this.speed>=0?1:-1),O=this.speed>=0?T<0:T>x;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=x);let k=this.currentTime,_=c;
vendor: 4,951 bytes, line 18
18if(S){const K=Math.min(this.currentTime,x)/v;let re=Math.floor(K),ce=K%1;!ce&&K>=1&&(ce=1),ce===1&&re--,re=Math.min(re,S+1),re%2&&(E==="reverse"?(ce=1-ce,N&&(ce-=N/v)):E==="mirror"&&(_=d)),k=Rn(0,1,ce)*v}const D=O?{done:!1,value:p[0]}:_.next(k);f&&(D.value=f(D.value));let{done:B}=D;!O&&h!==null&&(B=this.speed>=0?this.currentTime>=x:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&B);return W&&a!==void 0&&(D.value=Ka(p,this.options,a)),j&&j(D.value),W&&this.finish(),D}get duration(){const{resolved:e}=this;return e?Pn(e.calculatedDuration):0}get time(){return Pn(this.currentTime)}set time(e){e=Tn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const i=this.playbackSpeed!==e;this.playbackSpeed=e,i&&(this.time=Pn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=HN,onPlay:i,startTime:s}=this.options;this.driver||(this.driver=e(c=>this.tick(c))),i&&i();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const GN=new Set(["opacity","clipPath","filter","transform"]);function YN(n,e,i,{delay:s=0,duration:a=300,repeat:c=0,repeatType:d="loop",ease:f="easeInOut",times:p}={}){const h={[e]:i};p&&(h.offset=p);const x=vv(f,a);return Array.isArray(x)&&(h.easing=x),n.animate(h,{delay:s,duration:a,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:c+1,direction:d==="reverse"?"alternate":"normal"})}const QN=jd(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Oa=10,XN=2e4;function JN(n){return Dd(n.type)||n.type==="spring"||!xv(n.ease)}function ZN(n,e){const i=new Qd({...e,keyframes:n,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:n[0]};const a=[];let c=0;for(;!s.done&&c<XN;)s=i.sample(c),a.push(s.value),c+=Oa;return{times:void 0,keyframes:a,duration:c-Oa,ease:"linear"}}const Zv={anticipate:Rv,backInOut:kv,circInOut:Ov};function eE(n){return n in Zv}class eg extends Kv{constructor(e){super(e);const{name:i,motionValue:s,element:a,keyframes:c}=this.options;this.resolver=new Wv(c,(d,f)=>this.onKeyframesResolved(d,f),i,s,a),this.resolver.scheduleResolve()}initPlayback(e,i){let{duration:s=300,times:a,ease:c,type:d,motionValue:f,name:p,startTime:h}=this.options;if(!f.owner||!f.owner.current)return!1;if(typeof c=="string"&&ka()&&eE(c)&&(c=Zv[c]),JN(this.options)){const{onComplete:v,onUpdate:y,motionValue:S,element:E,...N}=this.options,j=ZN(e,N);e=j.keyframes,e.length===1&&(e[1]=e[0]),s=j.duration,a=j.times,c=j.ease,d="keyframes"}const x=YN(f.owner.current,p,e,{...this.options,duration:s,times:a,ease:c});return x.startTime=h??this.calcStartTime(),this.pendingTimeline?(Vh(x,this.pendingTimeline),this.pendingTimeline=void 0):x.onfinish=()=>{const{onComplete:v}=this.options;f.set(Ka(e,this.options,i)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:x,duration:s,times:a,type:d,ease:c,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:i}=e;return Pn(i)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:i}=e;return Pn(i.currentTime||0)}set time(e){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.currentTime=Tn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:i}=e;return i.playbackRate}set speed(e){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:i}=e;return i.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:i}=e;return i.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:i}=this;if(!i)return Ot;const{animation:s}=i;Vh(s,e)}return Ot}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:i}=e;
vendor: 1,584 bytes, line 18
18i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:i}=e;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:i,keyframes:s,duration:a,type:c,ease:d,times:f}=e;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:h,onUpdate:x,onComplete:v,element:y,...S}=this.options,E=new Qd({...S,keyframes:s,duration:a,type:c,ease:d,times:f,isGenerator:!0}),N=Tn(this.time);h.setWithVelocity(E.sample(N-Oa).value,E.sample(N).value,Oa)}const{onStop:p}=this.options;p&&p(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:i,name:s,repeatDelay:a,repeatType:c,damping:d,type:f}=e;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:h}=i.owner.getProps();return QN()&&s&&GN.has(s)&&!p&&!h&&!a&&c!=="mirror"&&d!==0&&f!=="inertia"}}const tE={type:"spring",stiffness:500,damping:25,restSpeed:10},nE=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),rE={type:"keyframes",duration:.8},iE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sE=(n,{keyframes:e})=>e.length>2?rE:Or.has(n)?n.startsWith("scale")?nE(e[1]):tE:iE;function oE({when:n,delay:e,delayChildren:i,staggerChildren:s,staggerDirection:a,repeat:c,repeatType:d,repeatDelay:f,from:p,elapsed:
vendor: 47,930 bytes, line 18
18h,...x}){return!!Object.keys(x).length}const Xd=(n,e,i,s={},a,c)=>d=>{const f=_d(s,n)||{},p=f.delay||s.delay||0;let{elapsed:h=0}=s;h=h-Tn(p);let x={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...f,delay:-h,onUpdate:y=>{e.set(y),f.onUpdate&&f.onUpdate(y)},onComplete:()=>{d(),f.onComplete&&f.onComplete()},name:n,motionValue:e,element:c?void 0:a};oE(f)||(x={...x,...sE(n,x)}),x.duration&&(x.duration=Tn(x.duration)),x.repeatDelay&&(x.repeatDelay=Tn(x.repeatDelay)),x.from!==void 0&&(x.keyframes[0]=x.from);let v=!1;if((x.type===!1||x.duration===0&&!x.repeatDelay)&&(x.duration=0,x.delay===0&&(v=!0)),v&&!c&&e.get()!==void 0){const y=Ka(x.keyframes,f);if(y!==void 0)return Oe.update(()=>{x.onUpdate(y),x.onComplete()}),new ES([])}return!c&&eg.supports(x)?new eg(x):new Qd(x)};function aE({protectedKeys:n,needsAnimating:e},i){const s=n.hasOwnProperty(i)&&e[i]!==!0;return e[i]=!1,s}function ey(n,e,{delay:i=0,transitionOverride:s,type:a}={}){var c;let{transition:d=n.getDefaultTransition(),transitionEnd:f,...p}=e;s&&(d=s);const h=[],x=a&&n.animationState&&n.animationState.getState()[a];for(const v in p){const y=n.getValue(v,(c=n.latestValues[v])!==null&&c!==void 0?c:null),S=p[v];if(S===void 0||x&&aE(x,v))continue;const E={delay:i,..._d(d||{},v)};let N=!1;if(window.MotionHandoffAnimation){const T=Nv(n);if(T){const O=window.MotionHandoffAnimation(T,v,Oe);O!==null&&(E.startTime=O,N=!0)}}Iu(n,v),y.start(Xd(v,y,S,n.shouldReduceMotion&&jv.has(v)?{type:!1}:E,n,N));const j=y.animation;j&&h.push(j)}return f&&Promise.all(h).then(()=>{Oe.update(()=>{f&&FS(n,f)})}),h}function zu(n,e,i={}){var s;const a=Wa(n,e,i.type==="exit"?(s=n.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:c=n.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(c=i.transitionOverride);const d=a?()=>Promise.all(ey(n,a,i)):()=>Promise.resolve(),f=n.variantChildren&&n.variantChildren.size?(h=0)=>{const{delayChildren:x=0,staggerChildren:v,staggerDirection:y}=c;return lE(n,e,x+h,v,y,i)}:()=>Promise.resolve(),{when:p}=c;if(p){const[h,x]=p==="beforeChildren"?[d,f]:[f,d];return h().then(()=>x())}else return Promise.all([d(),f(i.delay)])}function lE(n,e,i=0,s=0,a=1,c){const d=[],f=(n.variantChildren.size-1)*s,p=a===1?(h=0)=>h*s:(h=0)=>f-h*s;return Array.from(n.variantChildren).sort(cE).forEach((h,x)=>{h.notify("AnimationStart",e),d.push(zu(h,e,{...c,delay:i+p(x)}).then(()=>h.notify("AnimationComplete",e)))}),Promise.all(d)}function cE(n,e){return n.sortNodePosition(e)}function uE(n,e,i={}){n.notify("AnimationStart",e);let s;if(Array.isArray(e)){const a=e.map(c=>zu(n,c,i));s=Promise.all(a)}else if(typeof e=="string")s=zu(n,e,i);else{const a=typeof e=="function"?Wa(n,e,i.custom):e;s=Promise.all(ey(n,a,i))}return s.then(()=>{n.notify("AnimationComplete",e)})}const dE=Nd.length;function ty(n){if(!n)return;if(!n.isControllingVariants){const i=n.parent?ty(n.parent)||{}:{};return n.props.initial!==void 0&&(i.initial=n.props.initial),i}const e={};for(let i=0;i<dE;i++){const s=Nd[i],a=n.props[s];(_s(a)||a===!1)&&(e[s]=a)}return e}const fE=[...Sd].reverse(),pE=Sd.length;function mE(n){return e=>Promise.all(e.map(({animation:i,options:s})=>uE(n,i,s)))}function hE(n){let e=mE(n),i=tg(),s=!0;const a=p=>(h,x)=>{var v;const y=Wa(n,x,p==="exit"?(v=n.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(y){const{transition:S,transitionEnd:E,...N}=y;h={...h,...N,...E}}return h};function c(p){e=p(n)}function d(p){const{props:h}=n,x=ty(n.parent)||{},v=[],y=new Set;let S={},E=1/0;for(let j=0;j<pE;j++){const T=fE[j],O=i[T],k=h[T]!==void 0?h[T]:x[T],_=_s(k),D=T===p?O.isActive:null;D===!1&&(E=j);let B=k===x[T]&&k!==h[T]&&_;if(B&&s&&n.manuallyAnimateOnMount&&(B=!1),O.protectedKeys={...S},!O.isActive&&D===null||!k&&!O.prevProp||qa(k)||typeof k=="boolean")continue;const W=gE(O.prevProp,k);let K=W||T===p&&O.isActive&&!B&&_||j>E&&_,re=!1;const ce=Array.isArray(k)?k:[k];let ve=ce.reduce(a(T),{});D===!1&&(ve={});const{prevResolvedValues:Y={}}=O,he={...Y,...ve},ye=ee=>{K=!0,y.has(ee)&&(re=!0,y.delete(ee)),O.needsAnimating[ee]=!0;const $=n.getValue(ee);$&&($.liveStyle=!1)};for(const ee in he){const $=ve[ee],J=Y[ee];if(S.hasOwnProperty(ee))continue;let G=!1;Ru($)&&Ru(J)?G=!mv($,J):G=$!==J,G?$!=null?ye(ee):y.add(ee):$!==void 0&&y.has(ee)?ye(ee):O.protectedKeys[ee]=!0}O.prevProp=k,O.prevResolvedValues=ve,O.isActive&&(S={...S,...ve}),s&&n.blockInitialAnimation&&(K=!1),K&&(!(B&&W)||re)&&v.push(...ce.map(ee=>({animation:ee,options:{type:T}})))}if(y.size){const j={};y.forEach(T=>{const O=n.getBaseTarget(T),k=n.getValue(T);k&&(k.liveStyle=!0),j[T]=O??null}),v.push({animation:j})}let N=!!v.length;return s&&(h.initial===!1||h.initial===h.animate)&&!n.manuallyAnimateOnMount&&(N=!1),s=!1,N?e(v):Promise.resolve()}function f(p,h){var x;if(i[p].isActive===h)return Promise.resolve();(x=n.variantChildren)===null||x===void 0||x.forEach(y=>{var S;return(S=y.animationState)===null||S===void 0?void 0:S.setActive(p,h)}),i[p].isActive=h;const v=d(p);for(const y in i)i[y].protectedKeys={};return v}return{animateChanges:d,setActive:f,setAnimateFunction:c,getState:()=>i,reset:()=>{i=tg(),s=!0}}}function gE(n,e){return typeof e=="string"?e!==n:Array.isArray(e)?!mv(e,n):!1}function jr(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tg(){return{animate:jr(!0),whileInView:jr(),whileHover:jr(),whileTap:jr(),whileDrag:jr(),whileFocus:jr(),exit:jr()}}class lr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class xE extends lr{constructor(e){super(e),e.animationState||(e.animationState=hE(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();qa(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:i}=this.node.prevProps||{};e!==i&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let vE=0;class yE extends lr{constructor(){super(...arguments),this.id=vE++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const a=this.node.animationState.setActive("exit",!e);i&&!e&&a.then(()=>i(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const wE={animation:{Feature:xE},exit:{Feature:yE}};function zs(n,e,i,s={passive:!0}){return n.addEventListener(e,i,s),()=>n.removeEventListener(e,i)}function Ks(n){return{point:{x:n.pageX,y:n.pageY}}}const bE=n=>e=>Fd(e)&&n(e,Ks(e));function Os(n,e,i,s){return zs(n,e,bE(i),s)}const ng=(n,e)=>Math.abs(n-e);function jE(n,e){const i=ng(n.x,e.x),s=ng(n.y,e.y);return Math.sqrt(i**2+s**2)}class ny{constructor(e,i,{transformPagePoint:s,contextWindow:a,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=ou(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,S=jE(v.offset,{x:0,y:0})>=3;if(!y&&!S)return;const{point:E}=v,{timestamp:N}=rt;this.history.push({...E,timestamp:N});const{onStart:j,onMove:T}=this.handlers;y||(j&&j(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,v)},this.handlePointerMove=(v,y)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=su(y,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(v,y)=>{this.end();const{onEnd:S,onSessionEnd:E,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=ou(v.type==="pointercancel"?this.lastMoveEventInfo:su(y,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,j),E&&E(v,j)},!Fd(e))return;this.dragSnapToOrigin=c,this.handlers=i,this.transformPagePoint=s,this.contextWindow=a||window;const d=Ks(e),f=su(d,this.transformPagePoint),{point:p}=f,{timestamp:h}=rt;this.history=[{...p,timestamp:h}];const{onSessionStart:x}=i;x&&x(e,ou(f,this.history)),this.removeListeners=Ws(Os(this.contextWindow,"pointermove",this.handlePointerMove),Os(this.contextWindow,"pointerup",this.handlePointerUp),Os(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),rr(this.updatePoint)}}function su(n,e){return e?{point:e(n.point)}:n}function rg(n,e){return{x:n.x-e.x,y:n.y-e.y}}function ou({point:n},e){return{point:n,delta:rg(n,ry(e)),offset:rg(n,SE(e)),velocity:NE(e,.1)}}function SE(n){return n[0]}function ry(n){return n[n.length-1]}function NE(n,e){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const a=ry(n);for(;i>=0&&(s=n[i],!(a.timestamp-s.timestamp>Tn(e)));)i--;if(!s)return{x:0,y:0};const c=Pn(a.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const d={x:(a.x-s.x)/c,y:(a.y-s.y)/c};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}const iy=1e-4,EE=1-iy,CE=1+iy,sy=.01,TE=0-sy,PE=0+sy;function Lt(n){return n.max-n.min}function kE(n,e,i){return Math.abs(n-e)<=i}function ig(n,e,i,s=.5){n.origin=s,n.originPoint=ze(e.min,e.max,n.origin),n.scale=Lt(i)/Lt(e),n.translate=ze(i.min,i.max,n.origin)-n.originPoint,(n.scale>=EE&&n.scale<=CE||isNaN(n.scale))&&(n.scale=1),(n.translate>=TE&&n.translate<=PE||isNaN(n.translate))&&(n.translate=0)}function Is(n,e,i,s){ig(n.x,e.x,i.x,s?s.originX:void 0),ig(n.y,e.y,i.y,s?s.originY:void 0)}function sg(n,e,i){n.min=i.min+e.min,n.max=n.min+Lt(e)}function RE(n,e,i){sg(n.x,e.x,i.x),sg(n.y,e.y,i.y)}function og(n,e,i){n.min=e.min-i.min,n.max=n.min+Lt(e)}function Ls(n,e,i){og(n.x,e.x,i.x),og(n.y,e.y,i.y)}function AE(n,{min:e,max:i},s){return e!==void 0&&n<e?n=s?ze(e,n,s.min):Math.max(n,e):i!==void 0&&n>i&&(n=s?ze(i,n,s.max):Math.min(n,i)),n}function ag(n,e,i){return{min:e!==void 0?n.min+e:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function OE(n,{top:e,left:i,bottom:s,right:a}){return{x:ag(n.x,i,a),y:ag(n.y,e,s)}}function lg(n,e){let i=e.min-n.min,s=e.max-n.max;return e.max-e.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function IE(n,e){return{x:lg(n.x,e.x),y:lg(n.y,e.y)}}function LE(n,e){let i=.5;const s=Lt(n),a=Lt(e);return a>s?i=vi(e.min,e.max-s,n.min):s>a&&(i=vi(n.min,n.max-a,e.min)),Rn(0,1,i)}function ME(n,e){const i={};return e.min!==void 0&&(i.min=e.min-n.min),e.max!==void 0&&(i.max=e.max-n.min),i}const Uu=.35;function _E(n=Uu){return n===!1?n=0:n===!0&&(n=Uu),{x:cg(n,"left","right"),y:cg(n,"top","bottom")}}function cg(n,e,i){return{min:ug(n,e),max:ug(n,i)}}function ug(n,e){return typeof n=="number"?n:n[e]||0}const dg=()=>({translate:0,scale:1,origin:0,originPoint:0}),ui=()=>({x:dg(),y:dg()}),fg=()=>({min:0,max:0}),He=()=>({x:fg(),y:fg()});function Ht(n){return[n("x"),n("y")]}function oy({top:n,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:n,max:s}}}function DE({x:n,y:e}){return{top:e.min,right:n.max,bottom:e.max,left:n.min}}function VE(n,e){if(!e)return n;const i=e({x:n.left,y:n.top}),s=e({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function au(n){return n===void 0||n===1}function Bu({scale:n,scaleX:e,scaleY:i}){return!au(n)||!au(e)||!au(i)}function Er(n){return Bu(n)||ay(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function ay(n){return pg(n.x)||pg(n.y)}function pg(n){return n&&n!=="0%"}function Ia(n,e,i){const s=n-i,a=e*s;return i+a}function mg(n,e,i,s,a){return a!==void 0&&(n=Ia(n,a,s)),Ia(n,i,s)+e}function $u(n,e=0,i=1,s,a){n.min=mg(n.min,e,i,s,a),n.max=mg(n.max,e,i,s,a)}function ly(n,{x:e,y:i}){$u(n.x,e.translate,e.scale,e.originPoint),$u(n.y,i.translate,i.scale,i.originPoint)}const hg=.999999999999,gg=1.0000000000001;function FE(n,e,i,s=!1){const a=i.length;if(!a)return;e.x=e.y=1;let c,d;for(let f=0;f<a;f++){c=i[f],d=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&fi(n,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),d&&(e.x*=d.x.scale,e.y*=d.y.scale,ly(n,d)),s&&Er(c.latestValues)&&fi(n,c.latestValues))}e.x<gg&&e.x>hg&&(e.x=1),e.y<gg&&e.y>hg&&(e.y=1)}function di(n,e){n.min=n.min+e,n.max=n.max+e}function xg(n,e,i,s,a=.5){const c=ze(n.min,n.max,a);$u(n,e,i,c,s)}function fi(n,e){xg(n.x,e.x,e.scaleX,e.scale,e.originX),xg(n.y,e.y,e.scaleY,e.scale,e.originY)}function cy(n,e){return oy(VE(n.getBoundingClientRect(),e))}function zE(n,e,i){const s=cy(n,i),{scroll:a}=e;return a&&(di(s.x,a.offset.x),di(s.y,a.offset.y)),s}const uy=({current:n})=>n?n.ownerDocument.defaultView:null,UE=new WeakMap;class BE{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=He(),this.visualElement=e}start(e,{snapToCursor:i=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const a=x=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(Ks(x).point)},c=(x,v)=>{const{drag:y,dragPropagation:S,onDragStart:E}=this.getProps();if(y&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=LS(y),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ht(j=>{let T=this.getAxisMotionValue(j).get()||0;if(pn.test(T)){const{projection:O}=this.visualElement;if(O&&O.layout){const k=O.layout.layoutBox[j];k&&(T=Lt(k)*(parseFloat(T)/100))}}this.originPoint[j]=T}),E&&Oe.postRender(()=>E(x,v)),Iu(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},d=(x,v)=>{const{dragPropagation:y,dragDirectionLock:S,onDirectionLock:E,onDrag:N}=this.getProps();if(!y&&!this.openDragLock)return;const{offset:j}=v;if(S&&this.currentDirection===null){this.currentDirection=$E(j),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",v.point,j),this.updateAxis("y",v.point,j),this.visualElement.render(),N&&N(x,v)},f=(x,v)=>this.stop(x,v),p=()=>Ht(x=>{var v;return this.getAnimationState(x)==="paused"&&((v=this.getAxisMotionValue(x).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new ny(e,{onSessionStart:a,onStart:c,onMove:d,onSessionEnd:f,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:uy(this.visualElement)})}stop(e,i){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:a}=i;this.startAnimation(a);const{onDragEnd:c}=this.getProps();c&&Oe.postRender(()=>c(e,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:i}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(e,i,s){const{drag:a}=this.getProps();if(!s||!fa(e,a,this.currentDirection))return;const c=this.getAxisMotionValue(e);let d=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(d=AE(d,this.constraints[e],this.elastic[e])),c.set(d)}resolveConstraints(){var e;const{dragConstraints:i,dragElastic:s}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,c=this.constraints;i&&li(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&a?this.constraints=OE(a.layoutBox,i):this.constraints=!1,this.elastic=_E(s),c!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Ht(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=ME(a.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!li(e))return!1;const s=e.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const c=zE(s,a.root,this.visualElement.getTransformPagePoint());let d=IE(a.layout.layoutBox,c);if(i){const f=i(DE(d));this.hasMutatedConstraints=!!f,f&&(d=oy(f))}return d}startAnimation(e){const{drag:i,dragMomentum:s,dragElastic:a,dragTransition:c,dragSnapToOrigin:d,onDragTransitionEnd:f}=this.getProps(),p=this.constraints||{},h=Ht(x=>{if(!fa(x,i,this.currentDirection))return;let v=p&&p[x]||{};d&&(v={min:0,max:0});const y=a?200:1e6,S=a?40:1e7,E={type:"inertia",velocity:s?e[x]:0,bounceStiffness:y,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(x,E)});return Promise.all(h).then(f)}startAxisValueAnimation(e,i){const s=this.getAxisMotionValue(e);return Iu(this.visualElement,e),s.start(Xd(e,s,0,i,this.visualElement,!1))}stopAnimation(){Ht(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Ht(e=>{var i;return(i=this.getAxisMotionValue(e).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(e){var i;return(i=this.getAxisMotionValue(e).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(e){const i=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),a=s[i];return a||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){Ht(i=>{const{drag:s}=this.getProps();if(!fa(i,s,this.currentDirection))return;const{projection:a}=this.visualElement,c=this.getAxisMotionValue(i);if(a&&a.layout){const{min:d,max:f}=a.layout.layoutBox[i];c.set(e[i]-ze(d,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!li(i)||!s||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};Ht(d=>{const f=this.getAxisMotionValue(d);if(f&&this.constraints!==!1){const p=f.get();a[d]=LE({min:p,max:p},this.constraints[d])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Ht(d=>{if(!fa(d,e,null))return;const f=this.getAxisMotionValue(d),{min:p,max:h}=this.constraints[d];f.set(ze(p,h,a[d]))})}addListeners(){if(!this.visualElement.current)return;UE.set(this.visualElement,this);const e=this.visualElement.current,i=Os(e,"pointerdown",p=>{const{drag:h,dragListener:x=!0}=this.getProps();h&&x&&this.start(p)}),s=()=>{const{dragConstraints:p}=this.getProps();li(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,c=a.addEventListener("measure",s);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Oe.read(s);const d=zs(window,"resize",()=>this.scalePositionWithinConstraints()),f=a.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:h})=>{this.isDragging&&h&&(Ht(x=>{const v=this.getAxisMotionValue(x);v&&(this.originPoint[x]+=p[x].translate,v.set(v.get()+p[x].translate))}),this.visualElement.render())}));return()=>{d(),i(),c(),f&&f()}}getProps(){const e=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:a=!1,dragConstraints:c=!1,dragElastic:d=Uu,dragMomentum:f=!0}=e;return{...e,drag:i,dragDirectionLock:s,dragPropagation:a,dragConstraints:c,dragElastic:d,dragMomentum:f}}}function fa(n,e,i){return(e===!0||e===n)&&(i===null||i===n)}function $E(n,e=10){let i=null;return Math.abs(n.y)>e?i="y":Math.abs(n.x)>e&&(i="x"),i}class qE extends lr{constructor(e){super(e),this.removeGroupControls=Ot,this.removeListeners=Ot,this.controls=new BE(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ot}unmount(){this.removeGroupControls(),this.removeListeners()}}const vg=n=>(e,i)=>{n&&Oe.postRender(()=>n(e,i))};class HE extends lr{constructor(){super(...arguments),this.removePointerDownListener=Ot}onPointerDown(e){this.session=new ny(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:uy(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:i,onPan:s,onPanEnd:a}=this.node.getProps();return{onSessionStart:vg(e),onStart:vg(i),onMove:s,onEnd:(c,d)=>{delete this.session,a&&Oe.postRender(()=>a(c,d))}}}mount(){this.removePointerDownListener=Os(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const wa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yg(n,e){return e.max===e.min?0:n/(e.max-e.min)*100}const xs={correct:(n,e)=>{if(!e.target)return n;if(typeof n=="string")if(le.test(n))n=parseFloat(n);else return n;const i=yg(n,e.target.x),s=yg(n,e.target.y);return`${i}% ${s}%`}},WE={correct:(n,{treeScale:e,projectionDelta:i})=>{const s=n,a=ir.parse(n);if(a.length>5)return s;const c=ir.createTransformer(n),d=typeof a[0]!="number"?1:0,f=i.x.scale*e.x,p=i.y.scale*e.y;a[0+d]/=f,a[1+d]/=p;const h=ze(f,p,.5);return typeof a[2+d]=="number"&&(a[2+d]/=h),typeof a[3+d]=="number"&&(a[3+d]/=h),c(a)}};class KE extends b.Component{componentDidMount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:s,layoutId:a}=this.props,{projection:c}=e;pS(GE),c&&(i.group&&i.group.add(c),s&&s.register&&a&&s.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),wa.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:i,visualElement:s,drag:a,isPresent:c}=this.props,d=s.projection;return d&&(d.isPresent=c,a||e.layoutDependency!==i||i===void 0?d.willUpdate():this.safeToRemove(),e.isPresent!==c&&(c?d.promote():d.relegate()||Oe.postRender(()=>{const f=d.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Cd.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:a}=e;a&&(a.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(a),s&&s.deregister&&s.deregister(a))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function dy(n){const[e,i]=Kx(),s=b.useContext(vd);return l.jsx(KE,{...n,layoutGroup:s,switchLayoutGroup:b.useContext(tv),isPresent:e,safeToRemove:i})}const GE={borderRadius:{...xs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xs,borderTopRightRadius:xs,borderBottomLeftRadius:xs,borderBottomRightRadius:xs,boxShadow:WE};function YE(n,e,i){const s=ft(n)?n:Vs(n);return s.start(Xd("",s,e,i)),s.animation}function QE(n){return n instanceof SVGElement&&n.tagName!=="svg"}const XE=(n,e)=>n.depth-e.depth;class JE{constructor(){this.children=[],this.isDirty=!1}add(e){zd(this.children,e),this.isDirty=!0}remove(e){Ud(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(XE),this.isDirty=!1,this.children.forEach(e)}}function ZE(n,e){const i=mn.now(),s=({timestamp:a})=>{const c=a-i;c>=e&&(rr(s),n(c-e))};return Oe.read(s,!0),()=>rr(s)}const fy=["TopLeft","TopRight","BottomLeft","BottomRight"],eC=fy.length,wg=n=>typeof n=="string"?parseFloat(n):n,bg=n=>typeof n=="number"||le.test(n);function tC(n,e,i,s,a,c){a?(n.opacity=ze(0,i.opacity!==void 0?i.opacity:1,nC(s)),n.opacityExit=ze(e.opacity!==void 0?e.opacity:1,0,rC(s))):c&&(n.opacity=ze(e.opacity!==void 0?e.opacity:1,i.opacity!==void 0?i.opacity:1,s));for(let d=0;d<eC;d++){const f=`border${fy[d]}Radius`;let p=jg(e,f),h=jg(i,f);if(p===void 0&&h===void 0)continue;p||(p=0),h||(h=0),p===0||h===0||bg(p)===bg(h)?(n[f]=Math.max(ze(wg(p),wg(h),s),0),(pn.test(h)||pn.test(p))&&(n[f]+="%")):n[f]=h}(e.rotate||i.rotate)&&(n.rotate=ze(e.rotate||0,i.rotate||0,s))}function jg(n,e){return n[e]!==void 0?n[e]:n.borderRadius}const nC=py(0,.5,Av),rC=py(.5,.95,Ot);function py(n,e,i){return s=>s<n?0:s>e?1:i(vi(n,e,s))}function Sg(n,e){n.min=e.min,n.max=e.max}function $t(n,e){Sg(n.x,e.x),Sg(n.y,e.y)}function Ng(n,e){n.translate=e.translate,n.scale=e.scale,n.originPoint=e.originPoint,n.origin=e.origin}function Eg(n,e,i,s,a){return n-=e,n=Ia(n,1/i,s),a!==void 0&&(n=Ia(n,1/a,s)),n}function iC(n,e=0,i=1,s=.5,a,c=n,d=n){if(pn.test(e)&&(e=parseFloat(e),e=ze(d.min,d.max,e/100)-d.min),typeof e!="number")return;let f=ze(c.min,c.max,s);n===c&&(f-=e),n.min=Eg(n.min,e,i,f,a),n.max=Eg(n.max,e,i,f,a)}function Cg(n,e,[i,s,a],c,d){iC(n,e[i],e[s],e[a],e.scale,c,d)}const sC=["x","scaleX","originX"],oC=["y","scaleY","originY"];function Tg(n,e,i,s){Cg(n.x,e,sC,i?i.x:void 0,s?s.x:void 0),Cg(n.y,e,oC,i?i.y:void 0,s?s.y:void 0)}function Pg(n){return n.translate===0&&n.scale===1}function my(n){return Pg(n.x)&&Pg(n.y)}function kg(n,e){return n.min===e.min&&n.max===e.max}function aC(n,e){return kg(n.x,e.x)&&kg(n.y,e.y)}function Rg(n,e){return Math.round(n.min)===Math.round(e.min)&&Math.round(n.max)===Math.round(e.max)}function hy(n,e){return Rg(n.x,e.x)&&Rg(n.y,e.y)}function Ag(n){return Lt(n.x)/Lt(n.y)}function Og(n,e){return n.translate===e.translate&&n.scale===e.scale&&n.originPoint===e.originPoint}class lC{constructor(){this.members=[]}add(e){zd(this.members,e),e.scheduleRender()}remove(e){if(Ud(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(e){const i=this.members.findIndex(a=>e===a);if(i===0)return!1;let s;for(let a=i;a>=0;a--){const c=this.members[a];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(e,i){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,i&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:a}=e.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:i,resumingFrom:s}=e;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function cC(n,e,i){let s="";const a=n.x.translate/e.x,c=n.y.translate/e.y,d=i?.z||0;if((a||c||d)&&(s=`translate3d(${a}px, ${c}px, ${d}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:h,rotate:x,rotateX:v,rotateY:y,skewX:S,skewY:E}=i;h&&(s=`perspective(${h}px) ${s}`),x&&(s+=`rotate(${x}deg) `),v&&(s+=`rotateX(${v}deg) `),y&&(s+=`rotateY(${y}deg) `),S&&(s+=`skewX(${S}deg) `),E&&(s+=`skewY(${E}deg) `)}const f=n.x.scale*e.x,p=n.y.scale*e.y;return(f!==1||p!==1)&&(s+=`scale(${f}, ${p})`),s||"none"}const Cr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ks=typeof window<"u"&&window.MotionDebug!==void 0,lu=["","X","Y","Z"],uC={visibility:"hidden"},Ig=1e3;let dC=0;function cu(n,e,i,s){const{latestValues:a}=e;a[n]&&(i[n]=a[n],e.setStaticValue(n,0),s&&(s[n]=0))}function gy(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:e}=n.options;if(!e)return;const i=Nv(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:a,layoutId:c}=n.options;window.MotionCancelOptimisedAnimation(i,"transform",Oe,!(a||c))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&gy(s)}function xy({attachResizeListener:n,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:a}){return class{constructor(d={},f=e?.()){this.id=dC++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ks&&(Cr.totalNodes=Cr.resolvedTargetDeltas=Cr.recalculatedProjection=0),this.nodes.forEach(mC),this.nodes.forEach(yC),this.nodes.forEach(wC),this.nodes.forEach(hC),ks&&window.MotionDebug.record(Cr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new JE)}addEventListener(d,f){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Bd),this.eventHandlers.get(d).add(f)}notifyListeners(d,...f){const p=this.eventHandlers.get(d);p&&p.notify(...f)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=QE(d),this.instance=d;const{layoutId:p,layout:h,visualElement:x}=this.options;if(x&&!x.current&&x.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(h||p)&&(this.isLayoutDirty=!0),n){let v;const y=()=>this.root.updateBlockedByResize=!1;n(d,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=ZE(y,250),wa.hasAnimatedSinceResize&&(wa.hasAnimatedSinceResize=!1,this.nodes.forEach(Mg))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&x&&(p||h)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:y,hasRelativeTargetChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||x.getDefaultTransition()||EC,{onLayoutAnimationStart:j,onLayoutAnimationComplete:T}=x.getProps(),O=!this.targetLayout||!hy(this.targetLayout,E)||S,k=!y&&S;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||k||y&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,k);const _={..._d(N,"layout"),onPlay:j,onComplete:T};(x.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_)}else y||Mg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,rr(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(bC),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let x=0;x<this.path.length;x++){const v=this.path[x];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:f,layout:p}=this.options;if(f===void 0&&!p)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Lg);return}this.isUpdating||this.nodes.forEach(xC),this.isUpdating=!1,this.nodes.forEach(vC),this.nodes.forEach(fC),this.nodes.forEach(pC),this.clearAllSnapshots();const f=mn.now();rt.delta=Rn(0,1e3/60,f-rt.timestamp),rt.timestamp=f,rt.isProcessing=!0,Zc.update.process(rt),Zc.preRender.process(rt),Zc.render.process(rt),rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Cd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gC),this.sharedNodes.forEach(jC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=He(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(f=!1),f){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!a)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!my(this.projectionDelta),p=this.getTransformTemplate(),h=p?p(this.latestValues,""):void 0,x=h!==this.prevTransformTemplateValue;d&&(f||Er(this.latestValues)||x)&&(a(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const f=this.measurePageBox();let p=this.removeElementScroll(f);return d&&(p=this.removeTransform(p)),CC(p),{animationId:this.root.animationId,measuredBox:f,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:f}=this.options;if(!f)return He();const p=f.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(TC))){const{scroll:x}=this.root;x&&(di(p.x,x.offset.x),di(p.y,x.offset.y))}return p}removeElementScroll(d){var f;const p=He();if($t(p,d),!((f=this.scroll)===null||f===void 0)&&f.wasRoot)return p;for(let h=0;h<this.path.length;h++){const x=this.path[h],{scroll:v,options:y}=x;x!==this.root&&v&&y.layoutScroll&&(v.wasRoot&&$t(p,d),di(p.x,v.offset.x),di(p.y,v.offset.y))}return p}applyTransform(d,f=!1){const p=He();$t(p,d);for(let h=0;h<this.path.length;h++){const x=this.path[h];!f&&x.options.layoutScroll&&x.scroll&&x!==x.root&&fi(p,{x:-x.scroll.offset.x,y:-x.scroll.offset.y}),Er(x.latestValues)&&fi(p,x.latestValues)}return Er(this.latestValues)&&fi(p,this.latestValues),p}removeTransform(d){const f=He();$t(f,d);for(let p=0;p<this.path.length;p++){const h=this.path[p];if(!h.instance||!Er(h.latestValues))continue;Bu(h.latestValues)&&h.updateSnapshot();const x=He(),v=h.measurePageBox();$t(x,v),Tg(f,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,x)}return Er(this.latestValues)&&Tg(f,this.latestValues),f}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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!==rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var f;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==p;if(!(d||h&&this.isSharedProjectionDirty||this.isProjectionDirty||!((f=this.parent)===null||f===void 0)&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:y}=this.options;if(!(!this.layout||!(v||y))){if(this.resolvedRelativeTargetAt=rt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Ls(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),$t(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=He(),this.targetWithTransforms=He()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),RE(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$t(this.target,this.layout.layoutBox),ly(this.target,this.targetDelta)):$t(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=He(),this.relativeTargetOrigin=He(),Ls(this.relativeTargetOrigin,this.target,S.target),$t(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ks&&Cr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Bu(this.parent.latestValues)||ay(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;const f=this.getLead(),p=!!this.resumingFrom||this!==f;let h=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(h=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===rt.timestamp&&(h=!1),h)return;const{layout:x,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(x||v))return;$t(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,S=this.treeScale.y;FE(this.layoutCorrected,this.treeScale,this.path,p),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=He());const{target:E}=f;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ng(this.prevProjectionDelta.x,this.projectionDelta.x),Ng(this.prevProjectionDelta.y,this.projectionDelta.y)),Is(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==S||!Og(this.projectionDelta.x,this.prevProjectionDelta.x)||!Og(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E)),ks&&Cr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var f;if((f=this.options.visualElement)===null||f===void 0||f.scheduleRender(),d){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ui(),this.projectionDelta=ui(),this.projectionDeltaWithTransform=ui()}setAnimationOrigin(d,f=!1){const p=this.snapshot,h=p?p.latestValues:{},x={...this.latestValues},v=ui();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const y=He(),S=p?p.source:void 0,E=this.layout?this.layout.source:void 0,N=S!==E,j=this.getStack(),T=!j||j.members.length<=1,O=!!(N&&!T&&this.options.crossfade===!0&&!this.path.some(NC));this.animationProgress=0;let k;this.mixTargetDelta=_=>{const D=_/1e3;_g(v.x,d.x,D),_g(v.y,d.y,D),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ls(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),SC(this.relativeTarget,this.relativeTargetOrigin,y,D),k&&aC(this.relativeTarget,k)&&(this.isProjectionDirty=!1),k||(k=He()),$t(k,this.relativeTarget)),N&&(this.animationValues=x,tC(x,h,this.latestValues,D,O,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(rr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{wa.hasAnimatedSinceResize=!0,this.currentAnimation=YE(0,Ig,{...d,onUpdate:f=>{this.mixTargetDelta(f),d.onUpdate&&d.onUpdate(f)},onComplete:()=>{d.onComplete&&d.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 d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ig),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:f,target:p,layout:h,latestValues:x}=d;if(!(!f||!p||!h)){if(this!==d&&this.layout&&h&&vy(this.options.animationType,this.layout.layoutBox,h.layoutBox)){p=this.target||He();const v=Lt(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+v;const y=Lt(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+y}$t(f,p),fi(f,x),Is(this.projectionDeltaWithTransform,this.layoutCorrected,f,x)}}registerSharedNode(d,f){this.sharedNodes.has(d)||this.sharedNodes.set(d,new lC),this.sharedNodes.get(d).add(f);const h=f.options.initialPromotionConfig;f.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(f):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var d;const{layoutId:f}=this.options;return f?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:f}=this.options;return f?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:f,preserveFollowOpacity:p}={}){const h=this.getStack();h&&h.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let f=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(f=!0),!f)return;const h={};p.z&&cu("z",d,h,this.animationValues);for(let x=0;x<lu.length;x++)cu(`rotate${lu[x]}`,d,h,this.animationValues),cu(`skew${lu[x]}`,d,h,this.animationValues);d.render();for(const x in h)d.setStaticValue(x,h[x]),this.animationValues&&(this.animationValues[x]=h[x]);d.scheduleRender()}getProjectionStyles(d){var f,p;if(!this.instance||this.isSVG)return;if(!this.isVisible)return uC;const h={visibility:""},x=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=va(d?.pointerEvents)||"",h.transform=x?x(this.latestValues,""):"none",h;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const N={};return this.options.layoutId&&(N.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,N.pointerEvents=va(d?.pointerEvents)||""),this.hasProjected&&!Er(this.latestValues)&&(N.transform=x?x({},""):"none",this.hasProjected=!1),N}const y=v.animationValues||v.latestValues;this.applyTransformsToTarget(),h.transform=cC(this.projectionDeltaWithTransform,this.treeScale,y),x&&(h.transform=x(y,h.transform));const{x:S,y:E}=this.projectionDelta;h.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,v.animationValues?h.opacity=v===this?(p=(f=y.opacity)!==null&&f!==void 0?f:this.latestValues.opacity)!==null&&p!==void 0?p:1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:h.opacity=v===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const N in Pa){if(y[N]===void 0)continue;const{correct:j,applyTo:T}=Pa[N],O=h.transform==="none"?y[N]:j(y[N],v);if(T){const k=T.length;for(let _=0;_<k;_++)h[T[_]]=O}else h[N]=O}return this.options.layoutId&&(h.pointerEvents=v===this?va(d?.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var f;return(f=d.currentAnimation)===null||f===void 0?void 0:f.stop()}),this.root.nodes.forEach(Lg),this.root.sharedNodes.clear()}}}function fC(n){n.updateLayout()}function pC(n){var e;const i=((e=n.resumeFrom)===null||e===void 0?void 0:e.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:a}=n.layout,{animationType:c}=n.options,d=i.source!==n.layout.source;c==="size"?Ht(v=>{const y=d?i.measuredBox[v]:i.layoutBox[v],S=Lt(y);y.min=s[v].min,y.max=y.min+S}):vy(c,i.layoutBox,s)&&Ht(v=>{const y=d?i.measuredBox[v]:i.layoutBox[v],S=Lt(s[v]);y.max=y.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+S)});const f=ui();Is(f,s,i.layoutBox);const p=ui();d?Is(p,n.applyTransform(a,!0),i.measuredBox):Is(p,s,i.layoutBox);const h=!my(f);let x=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:y,layout:S}=v;if(y&&S){const E=He();Ls(E,i.layoutBox,y.layoutBox);const N=He();Ls(N,s,S.layoutBox),hy(E,N)||(x=!0),v.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=E,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:p,layoutDelta:f,hasLayoutChanged:h,hasRelativeTargetChanged:x})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function mC(n){ks&&Cr.totalNodes++,n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}
vendor: 9,881 bytes, line 18
18function hC(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function gC(n){n.clearSnapshot()}function Lg(n){n.clearMeasurements()}function xC(n){n.isLayoutDirty=!1}function vC(n){const{visualElement:e}=n.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),n.resetTransform()}function Mg(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function yC(n){n.resolveTargetDelta()}function wC(n){n.calcProjection()}function bC(n){n.resetSkewAndRotation()}function jC(n){n.removeLeadSnapshot()}function _g(n,e,i){n.translate=ze(e.translate,0,i),n.scale=ze(e.scale,1,i),n.origin=e.origin,n.originPoint=e.originPoint}function Dg(n,e,i,s){n.min=ze(e.min,i.min,s),n.max=ze(e.max,i.max,s)}function SC(n,e,i,s){Dg(n.x,e.x,i.x,s),Dg(n.y,e.y,i.y,s)}function NC(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const EC={duration:.45,ease:[.4,0,.1,1]},Vg=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Fg=Vg("applewebkit/")&&!Vg("chrome/")?Math.round:Ot;function zg(n){n.min=Fg(n.min),n.max=Fg(n.max)}function CC(n){zg(n.x),zg(n.y)}function vy(n,e,i){return n==="position"||n==="preserve-aspect"&&!kE(Ag(e),Ag(i),.2)}function TC(n){var e;return n!==n.root&&((e=n.scroll)===null||e===void 0?void 0:e.wasRoot)}const PC=xy({attachResizeListener:(n,e)=>zs(n,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),uu={current:void 0},yy=xy({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!uu.current){const n=new PC({});n.mount(window),n.setOptions({layoutScroll:!0}),uu.current=n}return uu.current},resetTransform:(n,e)=>{n.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),kC={pan:{Feature:HE},drag:{Feature:qE,ProjectionNode:yy,MeasureLayout:dy}};function Ug(n,e,i){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",i==="Start");const a="onHover"+i,c=s[a];c&&Oe.postRender(()=>c(e,Ks(e)))}class RC extends lr{mount(){const{current:e}=this.node;e&&(this.unmount=kS(e,i=>(Ug(this.node,i,"Start"),s=>Ug(this.node,s,"End"))))}unmount(){}}class AC extends lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=Ws(zs(this.node.current,"focus",()=>this.onFocus()),zs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Bg(n,e,i){const{props:s}=n;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",i==="Start");const a="onTap"+(i==="End"?"":i),c=s[a];c&&Oe.postRender(()=>c(e,Ks(e)))}class OC extends lr{mount(){const{current:e}=this.node;e&&(this.unmount=IS(e,i=>(Bg(this.node,i,"Start"),(s,{success:a})=>Bg(this.node,s,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const qu=new WeakMap,du=new WeakMap,IC=n=>{const e=qu.get(n.target);e&&e(n)},LC=n=>{n.forEach(IC)};function MC({root:n,...e}){const i=n||document;du.has(i)||du.set(i,{});const s=du.get(i),a=JSON.stringify(e);return s[a]||(s[a]=new IntersectionObserver(LC,{root:n,...e})),s[a]}function _C(n,e,i){const s=MC(e);return qu.set(n,i),s.observe(n),()=>{qu.delete(n),s.unobserve(n)}}const DC={some:0,all:1};class VC extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:i,margin:s,amount:a="some",once:c}=e,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof a=="number"?a:DC[a]},f=p=>{const{isIntersecting:h}=p;if(this.isInView===h||(this.isInView=h,c&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:x,onViewportLeave:v}=this.node.getProps(),y=h?x:v;y&&y(p)};return _C(this.node.current,d,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:i}=this.node;["amount","margin","root"].some(FC(e,i))&&this.startObserver()}unmount(){}}function FC({viewport:n={}},{viewport:e={}}={}){return i=>n[i]!==e[i]}const zC={inView:{Feature:VC},tap:{Feature:OC},focus:{Feature:AC},hover:{Feature:RC}},UC={layout:{ProjectionNode:yy,MeasureLayout:dy}},Hu={current:null},wy={current:!1};function BC(){if(wy.current=!0,!!bd)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),e=()=>Hu.current=n.matches;n.addListener(e),e()}else Hu.current=!1}const $C=[...Hv,ut,ir],qC=n=>$C.find(qv(n)),$g=new WeakMap;function HC(n,e,i){for(const s in e){const a=e[s],c=i[s];if(ft(a))n.addValue(s,a);else if(ft(c))n.addValue(s,Vs(a,{owner:n}));else if(c!==a)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(a):d.hasAnimated||d.set(a)}else{const d=n.getStaticValue(s);n.addValue(s,Vs(d!==void 0?d:a,{owner:n}))}}for(const s in i)e[s]===void 0&&n.removeValue(s);return e}const qg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class WC{scrapeMotionValuesFromProps(e,i,s){return{}}constructor({parent:e,props:i,presenceContext:s,reducedMotionConfig:a,blockInitialAnimation:c,visualState:d},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Gd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 S=mn.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Oe.render(this.render,!1,!0))};const{latestValues:p,renderState:h,onUpdate:x}=d;this.onUpdate=x,this.latestValues=p,this.baseTarget={...p},this.initialValues=i.initial?{...p}:{},this.renderState=h,this.parent=e,this.props=i,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.options=f,this.blockInitialAnimation=!!c,this.isControllingVariants=Ha(i),this.isVariantNode=Zx(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:v,...y}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in y){const E=y[S];p[S]!==void 0&&ft(E)&&E.set(p[S],!1)}}mount(e){this.current=e,$g.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),wy.current||BC(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Hu.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){$g.delete(this.current),this.projection&&this.projection.unmount(),rr(this.notifyUpdate),rr(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const i=this.features[e];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(e,i){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=Or.has(e),a=i.on("change",f=>{this.latestValues[e]=f,this.props.onUpdate&&Oe.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),c=i.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,e,i)),this.valueSubscriptions.set(e,()=>{a(),c(),d&&d(),i.owner&&i.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in yi){const i=yi[e];if(!i)continue;const{isEnabled:s,Feature:a}=i;if(!this.features[e]&&a&&s(this.props)&&(this.features[e]=new a(this)),this.features[e]){const c=this.features[e];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):He()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,i){this.latestValues[e]=i}update(e,i){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<qg.length;s++){const a=qg[s];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const c="on"+a,d=e[c];d&&(this.propEventSubscriptions[a]=this.on(a,d))}this.prevMotionValues=HC(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
18addVariantChild(e){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(e),()=>i.variantChildren.delete(e)}addValue(e,i){const s=this.values.get(e);i!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,i),this.values.set(e,i),this.latestValues[e]=i.get())}removeValue(e){this.values.delete(e);const i=this.valueSubscriptions.get(e);i&&(i(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,i){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&i!==void 0&&(s=Vs(i===null?void 0:i,{owner:this}),this.addValue(e,s)),s}readValue(e,i){var s;let a=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return a!=null&&(typeof a=="string"&&(Bv(a)||Iv(a))?a=parseFloat(a):!qC(a)&&ir.test(i)&&(a=Fv(e,i)),this.setBaseTarget(e,ft(a)?a.get():a)),ft(a)?a.get():a}setBaseTarget(e,i){this.baseTarget[e]=i}getBaseTarget(e){var i;const{initial:s}=this.props;let a;if(typeof s=="string"||typeof s=="object"){const d=Pd(this.props,s,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);d&&(a=d[e])}if(s&&a!==void 0)return a;const c=this.getBaseTargetFromProps(this.props,e);return c!==void 0&&!ft(c)?c:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,i){return this.events[e]||(this.events[e]=new Bd),this.events[e].add(i)}notify(e,...i){this.events[e]&&this.events[e].notify(...i)}}class by extends WC{constructor(){super(...arguments),this.KeyframeResolver=Wv}sortInstanceNodePosition(e,i){return e.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(e,i){return e.style?e.style[i]:void 0}removeValueFromRenderState(e,{vars:i,style:s}){delete i[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;ft(e)&&(this.childSubscription=e.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function KC(n){return window.getComputedStyle(n)}class GC extends by{constructor(){super(...arguments),this.type="html",this.renderInstance=lv}readValueFromInstance(e,i){if(Or.has(i)){const s=Kd(i);return s&&s.default||0}else{const s=KC(e),a=(sv(i)?s.getPropertyValue(i):s[i])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:i}){return cy(e,i)}build(e,i,s){Ad(e,i,s.transformTemplate)}scrapeMotionValuesFromProps(e,i,s){return Md(e,i,s)}}class YC extends by{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=He}getBaseTargetFromProps(e,i){return e[i]}readValueFromInstance(e,i){if(Or.has(i)){const s=Kd(i);return s&&s.default||0}return i=cv.has(i)?i:Ed(i),e.getAttribute(i)}scrapeMotionValuesFromProps(e,i,s){return fv(e,i,s)}build(e,i,s){Od(e,i,this.isSVGTag,s.transformTemplate)}renderInstance(e,i,s,a){uv(e,i,s,a)}mount(e){this.isSVGTag=Ld(e.tagName),super.mount(e)}}const QC=(n,e)=>Td(n)?new YC(e):new GC(e,{allowProjection:n!==b.Fragment}),XC=jS({...wE,...zC,...kC,...UC},QC),V=Dj(XC),xt=({className:n="",variant:e="primary",size:i="default",showIcon:s=!1,label:a="Reservar cita",href:c="https://www.doctoralia.es/clinicas/armonic-body",openInNewTab:d=!0})=>{const f="inline-flex items-center justify-center font-serif uppercase tracking-[0.15em] transition-all duration-500 rounded-sm",p={primary:"bg-[#335474] text-white hover:bg-[#203a54] hover:shadow-lg hover:-translate-y-0.5 border border-transparent",outline:"border border-[#335474] text-[#335474] hover:bg-[#335474] hover:text-white hover:shadow-md",light:"bg-white text-[#335474] hover:bg-gray-50 hover:shadow-lg border border-gray-100"},h={sm:"text-[10px] px-4 py-2",default:"text-[11px] px-6 py-3",lg:"text-[13px] px-8 py-4",full:"text-[12px] px-6 py-3.5 w-full"};return l.jsxs("a",{href:c,target:d?"_blank":void 0,rel:d?"noopener noreferrer":void 0,className:`${f} ${p[e]} ${h[i]} ${n}`,children:[s&&l.jsx(jj,{className:"w-4 h-4 mr-2",strokeWidth:1.5}),a]})},JC=()=>{const[n,e]=b.useState(!1),i=Kt(),s=[{path:"/",label:"Home"},{path:"/noelia-mar",label:"Noèlia Mar"},{path:"/metodo-noelia-mar",label:"Método Noèlia Mar"},{path:"/areas-terapeuticas",label:"Ãreas terapéuticas"},{path:"/equipo",label:"Equipo"},{path:"/contacto",label:"Contacto"}],a=c=>i.pathname===c;return l.jsxs("header",{className:"bg-white/95 backdrop-blur-sm border-b border-gray-100 sticky top-0 z-50",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"flex items-center justify-between py-4",children:[l.jsx(ae,{to:"/",className:"flex-shrink-0",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/e80c896abf052a6c98e6240c6de4175e.png",alt:"Armonic Body Logo",className:"h-[115px] w-auto object-contain"})}),l.jsxs("nav",{className:"hidden md:flex items-center space-x-6 lg:space-x-8",children:[s.map(c=>l.jsx(ae,{to:c.path,className:`text-[15px] font-normal transition-colors duration-200 ${a(c.path)?"text-primary":"text-foreground hover:text-primary"}`,children:c.label},c.path)),l.jsx("div",{className:"pl-6 border-l border-border/60 flex items-center",children:l.jsx(xt,{})})]}),l.jsx("button",{onClick:()=>e(!n),className:"md:hidden p-2 -mr-2 text-foreground hover:text-primary transition-colors","aria-label":"Toggle menu",children:n?l.jsx(Wx,{className:"w-5 h-5"}):l.jsx(Sj,{className:"w-5 h-5"})})]})}),l.jsx(kj,{children:n&&l.jsx(V.div,{initial:{opacity:0,height:0}
18,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"md:hidden bg-white border-t border-gray-50 overflow-hidden shadow-lg",children:l.jsxs("nav",{className:"px-6 py-6 flex flex-col space-y-4",children:[s.map(c=>l.jsx(ae,{to:c.path,onClick:()=>e(!1),className:`text-[16px] font-normal transition-colors py-2 ${a(c.path)?"text-primary":"text-foreground hover:text-primary"}`,children:c.label},c.path)),l.jsx("div",{className:"pt-6 mt-4 border-t border-border/50",children:l.jsx(xt,{size:"full"})})]})})})]})},ZC=()=>{const n=new Date().getFullYear();return l.jsx("footer",{className:"bg-[#335474] text-white py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12",children:[l.jsxs("div",{className:"md:col-span-12 lg:col-span-4",children:[l.jsx(ae,{to:"/",className:"inline-block mb-8",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/b10f344b4222a859aa198d89bc07e30a.png",alt:"Armonic Body Logo",className:"h-[52px] w-auto object-contain"})}),l.jsx("p",{className:"text-white/80 text-[15px] font-light leading-relaxed max-w-sm mb-8",children:"Centro de fisioterapia integral en Barcelona. Diagnóstico preciso y comprensión del cuerpo como un sistema interconectado."}),l.jsx("div",{className:"inline-block w-full max-w-xs",children:l.jsx(xt,{variant:"light",size:"full"})})]}),l.jsxs("div",{className:"md:col-span-6 lg:col-span-3 lg:col-start-6",children:[l.jsx("span",{className:"text-[13px] tracking-widest text-white/50 uppercase font-medium mb-6 block",children:"Navegación"}),l.jsxs("nav",{className:"flex flex-col space-y-3",children:[l.jsx(ae,{to:"/",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Home"}),l.jsx(ae,{to:"/noelia-mar",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Noèlia Mar"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Método Noelia Mar"}),l.jsx(ae,{to:"/areas-terapeuticas",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Ãreas terapéuticas"}),l.jsx(ae,{to:"/equipo",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Equipo"}),l.jsx(ae,{to:"/contacto",className:"text-white/80 hover:text-white transition-colors text-[15px] font-light",children:"Contacto"})]})]}),l.jsxs("div",{className:"md:col-span-6 lg:col-span-4",children:[l.jsx("span",{className:"text-[13px] tracking-widest text-white/50 uppercase font-medium mb-6 block",children:"Contacto"}),l.jsxs("div",{className:"flex flex-col space-y-6",children:[l.jsxs("div",{children:[l.jsx("h4",{className:"text-[11px] uppercase tracking-wider text-white/50 mb-1",children:"Dirección"}),l.jsxs("p",{className:"text-[15px] text-white/80 font-light leading-relaxed",children:["Johann Sebastian Bach, 14",l.jsx("br",{}),"08021 Barcelona"]})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"text-[11px] uppercase tracking-wider text-white/50 mb-1",children:"Información + Reservas"}),l.jsxs("p",{className:"text-[15px] text-white/80 font-light",children:["+34 607 453 596",l.jsx("br",{}),"+34 932 009 407",l.jsx("br",{}),"[email protected]"]})]}),l.jsxs("div",{children:[l.jsx("h4",{className:"text-[11px] uppercase tracking-wider text-white/50 mb-1",children:"Horarios"}),l.jsxs("p",{className:"text-[15px] text-white/80 font-light",children:["Lunes a viernes 07:30h â 21:00h",l.jsx("br",{}),"Sábado y domingo Cerrado"]})]})]})]})]}),l.jsxs("div",{className:"border-t border-white/10 mt-16 pt-8 flex flex-col md:flex-row justify-between items-center gap-4 text-center md:text-left",children:[l.jsxs("p",{className:"text-[13px] text-white/50 font-light",children:["© ",n," Armonic Body. Todos los derechos reservados."]}),l.jsxs("div",{className:"flex gap-6 text-[13px] text-white/50 font-light justify-center",children:[l.jsx(ae,{to:"/aviso-legal",className:"hover:text-white transition-colors",children:"Aviso Legal"}),l.jsx(ae,{to:"/politica-privacidad",className:"hover:text-white transition-colors",children:"PolÃtica de Privacidad"})]})]})]})})},Et=n=>new URLSearchParams(window.location.search).get(n),Jd=async n=>{try{const e=await fetch("https://white-gorilla-470706.hostingersite.com/wp-json/kloser/v1/lead",{method:"POST",headers:{"Content-Type":"application/json","X-Kloser-Key":"a6e016a348af6394fcb03e13c79ceddae94cef368b1a6835"},body:JSON.stringify(n)});if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const i=await e.json();if(!i.success)throw new Error(i.message||"Kloser API returned success: false");return i}catch(e){throw e}},eT=()=>{const n=async()=>{try{const s={nombre:"",email:"",telefono:"",mensaje:"",origen:"WhatsApp Button",property_reference:document.body.dataset.propertyId||"",tags:["whatsapp"],meta:{page_url:window.location.href,page_title:document.title,referrer:document.referrer,utm_source:Et("utm_source"),utm_medium:Et("utm_medium"),utm_campaign:Et("utm_campaign")}};Jd(s).catch(()=>{})}catch{}const e=encodeURIComponent("Hola, necesito información sobre vuestros servicios.");window.open(`https://wa.me/34607453596?text=${e}`,"_blank")};return l.jsx("button",{onClick:n,className:"fixed bottom-6 right-6 z-50 flex h-14 w-14 items-center justify-center rounded-full bg-green-500 text-white shadow-lg transition-all duration-300 hover:bg-green-600 hover:scale-110 hover:shadow-xl focus:outline-none focus:ring-4 focus:ring-green-300 md:h-16 md:w-16","aria-label":"Contactar por WhatsApp",children:l.jsx(Nj,{className:"h-7 w-7 md:h-8 md:w-8"})})},fu="cookieConsent",Hg={technical:!0,analytics:!1,preferences:!1};function tT(){const[n,e]=b.useState(Hg),[i,s]=b.useState(!1),[a,c]=b.useState(!1);return b.useEffect(()=>{try{const p=localStorage.getItem(fu);p&&(e(JSON.parse(p)),s(!0))}catch(p){console.error("Error reading cookie preferences",p)}c(!0)},[]),{preferences:n,savePreferences:p=>{const h={...p,technical:!0};try{localStorage.setItem(fu,JSON.stringify(h)),e(h),s(!0)}catch(x){console.error("Error saving cookie preferences",x)}},hasConsent:i,resetConsent:()=>{try{localStorage.removeItem(fu),e(Hg),s(!1)}catch(p){console.error("Error resetting cookie preferences",p)}},isInitialized:a}}var nT=Object.defineProperty,Pi=(n,e)=>nT(n,"name",{value:e,configurable:!0}),jy=!!(typeof window<"u"&&window.document&&window.document.createElement);function dt(n,e,{checkForDefaultPrevented:i=!0}={}
18){return Pi(function(a){if(n?.(a),i===!1||!a||!a.defaultPrevented)return e?.(a)},"handleEvent")}Pi(dt,"composeEventHandlers");function rT(n){if(!jy)throw new Error("Cannot access window outside of the DOM");return n?.ownerDocument?.defaultView??window}Pi(rT,"getOwnerWindow");function Wu(n){if(!jy)throw new Error("Cannot access document outside of the DOM");return n?.ownerDocument??document}Pi(Wu,"getOwnerDocument");function Sy(n,e=!1){const{activeElement:i}=Wu(n);if(!i?.nodeName)return null;if(Ny(i)&&i.contentDocument)return Sy(i.contentDocument.body,e);if(e){const s=i.getAttribute("aria-activedescendant");if(s){const a=Wu(i).getElementById(s);if(a)return a}}return i}Pi(Sy,"getActiveElement");function Ny(n){return n.tagName==="IFRAME"}Pi(Ny,"isFrame");var iT=Object.defineProperty,Zd=(n,e)=>iT(n,"name",{value:e,configurable:!0});function Ku(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}Zd(Ku,"setRef");function Ey(...n){return e=>{let i=!1;const s=n.map(a=>{const c=Ku(a,e);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let a=0;a<s.length;a++){const c=s[a];typeof c=="function"?c():Ku(n[a],null)}}}}Zd(Ey,"composeRefs");function It(...n){return b.useCallback(Ey(...n),n)}Zd(It,"useComposedRefs");var sT=Object.defineProperty,Wt=(n,e)=>sT(n,"name",{value:e,configurable:!0});function oT(n,e){const i=b.createContext(e);i.displayName=n+"Context";const s=Wt(c=>{const{children:d,...f}=c,p=b.useMemo(()=>f,Object.values(f));return l.jsx(i.Provider,{value:p,children:d})},"Provider");s.displayName=n+"Provider";function a(c,d={}){const{optional:f=!1}=d,p=b.useContext(i);if(p)return p;if(e!==void 0)return e;if(!f)throw new Error(`\`${c}\` must be used within \`${n}\``)}return Wt(a,"useContext"),[s,a]}Wt(oT,"createContext");function Gs(n,e=[]){let i=[];function s(c,d){const f=b.createContext(d);f.displayName=c+"Context";const p=i.length;i=[...i,d];const h=Wt(v=>{const{scope:y,children:S,...E}=v,N=y?.[n]?.[p]||f,j=b.useMemo(()=>E,Object.values(E));return l.jsx(N.Provider,{value:j,children:S})},"Provider");h.displayName=c+"Provider";function x(v,y,S={}){const{optional:E=!1}=S,N=y?.[n]?.[p]||f,j=b.useContext(N);if(j)return j;if(d!==void 0)return d;if(!E)throw new Error(`\`${v}\` must be used within \`${c}\``)}return Wt(x,"useContext"),[h,x]}Wt(s,"createContext");const a=Wt(()=>{const c=i.map(d=>b.createContext(d));return Wt(function(f){const p=f?.[n]||c;return b.useMemo(()=>({[`__scope${n}`]:{...f,[n]:p}}),[f,p])},"useScope")},"createScope");return a.scopeName=n,[s,Cy(a,...e)]}Wt(Gs,"createContextScope");function Cy(...n){const e=n[0];if(n.length===1)return e;const i=Wt(()=>{const s=n.map(a=>({useScope:a(),scopeName:a.scopeName}));return Wt(function(c){const d=s.reduce((f,{useScope:p,scopeName:h})=>{const v=p(c)[`__scope${h}`];return{...f,...v}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:d}),[d])},"useComposedScopes")},"createScope");return i.scopeName=e.scopeName,i}Wt(Cy,"composeContextScopes");var Ar=globalThis?.document?b.useLayoutEffect:()=>{},aT=Object.defineProperty,lT=(n,e)=>aT(n,"name",{value:e,configurable:!0}),Wg=_a[" useEffectEvent ".trim().toString()],Kg=_a[" useInsertionEffect ".trim().toString()];function Ty(n){if(typeof Wg=="function")return Wg(n);const e=b.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Kg=="function"?Kg(()=>{e.current=n}):Ar(()=>{e.current=n}),b.useMemo(()=>((...i)=>e.current?.(...i)),[])}lT(Ty,"useEffectEvent");var cT=Object.defineProperty,Ys=(n,e)=>cT(n,"name",{value:e,configurable:!0}),uT=_a[" useInsertionEffect ".trim().toString()]||Ar;function ef({prop:n,defaultProp:e,onChange:i=Ys(()=>{},"onChange"),caller:s}){const[a,c,d]=Py({defaultProp:e,onChange:i}),f=n!==void 0,p=f?n:a,h=b.useCallback(x=>{if(f){const v=ky(x)?x(n):x;v!==n&&d.current?.(v)}else c(x)},[f,n,c,d]);return[p,h]}Ys(ef,"useControllableState");function Py({defaultProp:n,onChange:e}){const[i,s]=b.useState(n),a=b.useRef(i),c=b.useRef(e);return uT(()=>{c.current=e},[e]),b.useEffect(()=>{a.current!==i&&(c.current?.(i),a.current=i)},[i,a]),[i,s,c]}Ys(Py,"useUncontrolledState");function ky(n){return typeof n=="function"}Ys(ky,"isFunction");var Gg=Symbol("RADIX:SYNC_STATE");function dT(n,e,i,s){const{prop:a,defaultProp:c,onChange:d,caller:f}=e,p=a!==void 0,h=Ty(d),x=[{...i,state:c}];s&&x.push(s);const[v,y]=b.useReducer((j,T)=>{if(T.type===Gg)return{...j,state:T.state};const O=n(j,T);return p&&!Object.is(O.state,j.state)&&h(O.state),O},...x),S=v.state,E=b.useRef(S);b.useEffect(()=>{E.current!==S&&(E.current=S,p||h(S))},[S,E,p]);const N=b.useMemo(()=>a!==void 0?{...v,state:a}:v,[v,a]);return b.useEffect(()=>{p&&!Object.is(a,v.state)&&y({type:Gg,state:a})},[a,v.state,p]),[N,y]}Ys(dT,"useControllableStateReducer");var fT=Object.defineProperty,pT=(n,e)=>fT(n,"name",{value:e,configurable:!0});function Ry(n){const[e,i]=b.useState(void 0);return Ar(()=>{if(n){i({width:n.offsetWidth,height:n.offsetHeight});const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const c=a[0];let d,f;if("borderBoxSize"in c){const p=c.borderBoxSize,h=Array.isArray(p)?p[0]:p;d=h.inlineSize,f=h.blockSize}else d=n.offsetWidth,f=n.offsetHeight;i({width:d,height:f})});return s.observe(n,{box:"border-box"}),()=>s.unobserve(n)}else i(void 0)},[n]),e}pT(Ry,"useSize");var mT=Object.defineProperty,on=(n,e)=>
18mT(n,"name",{value:e,configurable:!0});function bi(n){const e=b.forwardRef((i,s)=>{let{children:a,...c}=i,d=null,f=!1;const p=[];Gu(a)&&typeof pa=="function"&&(a=pa(a._payload)),b.Children.forEach(a,y=>{if(Ly(y)){f=!0;const S=y;let E="child"in S.props?S.props.child:S.props.children;Gu(E)&&typeof pa=="function"&&(E=pa(E._payload)),d=gT(S,E),p.push(d?.props?.children)}else p.push(y)}),d?d=b.cloneElement(d,void 0,p):!f&&b.Children.count(a)===1&&b.isValidElement(a)&&(d=a);const h=d?Iy(d):void 0,x=It(s,h);if(!d){if(a||a===0)throw new Error(f?yT(n):vT(n));return a}const v=Oy(c,d.props??{});return d.type!==b.Fragment&&(v.ref=s?x:h),b.cloneElement(d,v)});return e.displayName=`${n}.Slot`,e}on(bi,"createSlot");var Ay=Symbol.for("radix.slottable");function hT(n){const e=on(i=>"child"in i?i.children(i.child):i.children,"Slottable");return e.displayName=`${n}.Slottable`,e.__radixId=Ay,e}on(hT,"createSlottable");var gT=on((n,e)=>{if("child"in n.props){const i=n.props.child;return b.isValidElement(i)?b.cloneElement(i,void 0,n.props.children(i.props.children)):null}return b.isValidElement(e)?e:null},"getSlottableElementFromSlottable");function Oy(n,e){const i={...e};for(const s in e){const a=n[s],c=e[s];/^on[A-Z]/.test(s)?a&&c?i[s]=(...f)=>{const p=c(...f);return a(...f),p}:a&&(i[s]=a):s==="style"?i[s]={...a,...c}:s==="className"&&(i[s]=[a,c].filter(Boolean).join(" "))}return{...n,...i}}on(Oy,"mergeProps");function Iy(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=e&&"isReactWarning"in e&&e.isReactWarning;return i?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=e&&"isReactWarning"in e&&e.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}on(Iy,"getElementRef");function Ly(n){return b.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===Ay}on(Ly,"isSlottable");var xT=Symbol.for("react.lazy");function Gu(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===xT&&"_payload"in n&&My(n._payload)}on(Gu,"isLazyComponent");function My(n){return typeof n=="object"&&n!==null&&"then"in n}on(My,"isPromiseLike");var vT=on(n=>`${n} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),yT=on(n=>`${n} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),pa=_a[" use ".trim().toString()],wT=Object.defineProperty,bT=(n,e)=>wT(n,"name",{value:e,configurable:!0}),jT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_t=jT.reduce((n,e)=>{const i=bi(`Primitive.${e}`),s=b.forwardRef((a,c)=>{const{asChild:d,...f}=a,p=d?i:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(p,{...f,ref:c})});return s.displayName=`Primitive.${e}`,{...n,[e]:s}},{});function tf(n,e){n&&xd.flushSync(()=>n.dispatchEvent(e))}bT(tf,"dispatchDiscreteCustomEvent");var ST=Object.defineProperty,sr=(n,e)=>ST(n,"name",{value:e,configurable:!0}),nf="Switch",[NT,_R]=Gs(nf),[ET,rf]=NT(nf);function _y(n){const{__scopeSwitch:e,checked:i,children:s,defaultChecked:a,disabled:c,form:d,name:f,onCheckedChange:p,required:h,value:x="on",internal_do_not_use_render:v}=n,[y,S]=ef({prop:i,defaultProp:a??!1,onChange:p,caller:nf}),[E,N]=b.useState(null),[j,T]=b.useState(null),O=b.useRef(!1),[k,_]=b.useReducer(W=>W+1,0),D=E?!!d||!!E.closest("form"):!0,B={checked:y,setChecked:S,disabled:c,control:E,setControl:N,name:f,form:d,value:x,hasConsumerStoppedPropagationRef:O,userInteractionCount:k,onUserInteraction:_,required:h,defaultChecked:a,isFormControl:D,bubbleInput:j,setBubbleInput:T};return l.jsx(ET,{scope:e,...B,children:Vy(v)?v(B):s})}sr(_y,"SwitchProvider");var CT="SwitchTrigger",TT=b.forwardRef(sr(function({__scopeSwitch:e,onClick:i,...s},a){const{control:c,form:d,value:f,disabled:p,checked:h,required:x,setControl:v,setChecked:y,hasConsumerStoppedPropagationRef:S,onUserInteraction:E,isFormControl:N,bubbleInput:j}=rf(CT,e),T=It(a,v),O=b.useRef(h);return b.useEffect(()=>{const k=d?c?.ownerDocument.getElementById(d):c?.form;if(k instanceof HTMLFormElement){const _=sr(()=>y(O.current),"reset");return k.addEventListener("reset",_),()=>k.removeEventListener("reset",_)}},[c,d,y]),l.jsx(_t.button,{type:"button",role:"switch","aria-checked":h,"aria-required":x,"data-state":sf(h),"data-disabled":p?"":void 0,disabled:p,value:f,...s,ref:T,onClick:dt(i,k=>{E(),y(_=>!_),j&&N&&(S.current=k.isPropagationStopped(),S.current||k.stopPropagation())})})},"SwitchTrigger")),Dy=b.forwardRef(sr(function(e,i){const{__scopeSwitch:s,name:a,checked:c,defaultChecked:d,required:f,disabled:p,value:h,onCheckedChange:x,form:v,...y}=e;return l.jsx(_y,{__scopeSwitch:s,checked:c,defaultChecked:d,disabled:p,required:f,onCheckedChange:x,name:a,form:v,value:h,internal_do_not_use_render:({isFormControl:S})=>l.jsxs(l.Fragment,{children:[l.jsx(TT,{...y,ref:i,__scopeSwitch:s}),S&&l.jsx(AT,{__scopeSwitch:s})]})})},"Switch")),PT="SwitchThumb",kT=b.forwardRef(sr(function(e,i){const{__scopeSwitch:s,...a}=e,c=rf(PT,s);return l.jsx(_t.span,{"data-state":sf(c.checked),"data-disabled":c.disabled?"":void 0,...a,ref:i}
18)},"SwitchThumb")),RT="SwitchBubbleInput",AT=b.forwardRef(sr(function({__scopeSwitch:e,onClick:i,...s},a){const{control:c,hasConsumerStoppedPropagationRef:d,userInteractionCount:f,checked:p,defaultChecked:h,required:x,disabled:v,name:y,value:S,form:E,bubbleInput:N,setBubbleInput:j}=rf(RT,e),T=It(a,j),O=Ry(c),k=b.useRef(!1),_=b.useRef(p),D=b.useRef(f);b.useEffect(()=>{const W=N;if(!W)return;const K=window.HTMLInputElement.prototype,ce=Object.getOwnPropertyDescriptor(K,"checked").set,ve=f!==D.current;D.current=f;const Y=_.current!==p;_.current=p;const he=!(ve&&d.current);if(Y&&ce){k.current=!ve;const ye=new Event("click",{bubbles:he});ce.call(W,p),W.dispatchEvent(ye),k.current=!1}},[N,p,d,f]);const B=b.useRef(p);return l.jsx(_t.input,{type:"checkbox","aria-hidden":!0,defaultChecked:h??B.current,required:x,disabled:v,name:y,value:S,form:E,...s,tabIndex:-1,ref:T,onClick:dt(i,W=>{k.current&&W.stopPropagation()}),style:{...s.style,...O,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function Vy(n){return typeof n=="function"}sr(Vy,"isFunction");function sf(n){return n?"checked":"unchecked"}sr(sf,"getState");function Fy(n){var e,i,s="";if(typeof n=="string"||typeof n=="number")s+=n;else if(typeof n=="object")if(Array.isArray(n)){var a=n.length;for(e=0;e<a;e++)n[e]&&(i=Fy(n[e]))&&(s&&(s+=" "),s+=i)}else for(i in n)n[i]&&(s&&(s+=" "),s+=i);return s}function zy(){for(var n,e,i=0,s="",a=arguments.length;i<a;i++)(n=arguments[i])&&(e=Fy(n))&&(s&&(s+=" "),s+=e);return s}const of="-",OT=n=>{const e=LT(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=n;return{getClassGroupId:d=>{const f=d.split(of);return f[0]===""&&f.length!==1&&f.shift(),Uy(f,e)||IT(d)},getConflictingClassGroupIds:(d,f)=>{const p=i[d]||[];return f&&s[d]?[...p,...s[d]]:p}}},Uy=(n,e)=>{if(n.length===0)return e.classGroupId;const i=n[0],s=e.nextPart.get(i),a=s?Uy(n.slice(1),s):void 0;if(a)return a;if(e.validators.length===0)return;const c=n.join(of);return e.validators.find(({validator:d})=>d(c))?.classGroupId},Yg=/^\[(.+)\]$/,IT=n=>{if(Yg.test(n)){const e=Yg.exec(n)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}},LT=n=>{const{theme:e,prefix:i}=n,s={nextPart:new Map,validators:[]};return _T(Object.entries(n.classGroups),i).forEach(([c,d])=>{Yu(d,s,c,e)}),s},Yu=(n,e,i,s)=>{n.forEach(a=>{if(typeof a=="string"){const c=a===""?e:Qg(e,a);c.classGroupId=i;return}if(typeof a=="function"){if(MT(a)){Yu(a(s),e,i,s);return}e.validators.push({validator:a,classGroupId:i});return}Object.entries(a).forEach(([c,d])=>{Yu(d,Qg(e,c),i,s)})})},Qg=(n,e)=>{let i=n;return e.split(of).forEach(s=>{i.nextPart.has(s)||i.nextPart.set(s,{nextPart:new Map,validators:[]}),i=i.nextPart.get(s)}),i},MT=n=>n.isThemeGetter,_T=(n,e)=>e?n.map(([i,s])=>{const a=s.map(c=>typeof c=="string"?e+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([d,f])=>[e+d,f])):c);return[i,a]}):n,DT=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,i=new Map,s=new Map;const a=(c,d)=>{i.set(c,d),e++,e>n&&(e=0,s=i,i=new Map)};return{get(c){let d=i.get(c);if(d!==void 0)return d;if((d=s.get(c))!==void 0)return a(c,d),d},set(c,d){i.has(c)?i.set(c,d):a(c,d)}}},By="!",VT=n=>{const{separator:e,experimentalParseClassName:i}=n,s=e.length===1,a=e[0],c=e.length,d=f=>{const p=[];let h=0,x=0,v;for(let j=0;j<f.length;j++){let T=f[j];if(h===0){if(T===a&&(s||f.slice(j,j+c)===e)){p.push(f.slice(x,j)),x=j+c;continue}if(T==="/"){v=j;continue}}T==="["?h++:T==="]"&&h--}const y=p.length===0?f:f.substring(x),S=y.startsWith(By),E=S?y.substring(1):y,N=v&&v>x?v-x:void 0;return{modifiers:p,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:N}};return i?f=>i({className:f,parseClassName:d}):d},FT=n=>{if(n.length<=1)return n;const e=[];let i=[];return n.forEach(s=>{s[0]==="["?(e.push(...i.sort(),s),i=[]):i.push(s)}),e.push(...i.sort()),e},zT=n=>({cache:DT(n.cacheSize),parseClassName:VT(n),...OT(n)}),UT=/\s+/,BT=(n,e)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:a}=e,c=[],d=n.trim().split(UT);let f="";for(let p=d.length-1;p>=0;p-=1){const h=d[p],{modifiers:x,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:S}=i(h);let E=!!S,N=s(E?y.substring(0,S):y);if(!N){if(!E){f=h+(f.length>0?" "+f:f);continue}if(N=s(y),!N){f=h+(f.length>0?" "+f:f);continue}E=!1}const j=FT(x).join(":"),T=v?j+By:j,O=T+N;if(c.includes(O))continue;c.push(O);const k=a(N,E);for(let _=0;_<k.length;++_){const D=k[_];c.push(T+D)}f=h+(f.length>0?" "+f:f)}return f};function $T(){let n=0,e,i,s="";for(;n<arguments.length;)(e=arguments[n++])&&(i=$y(e))&&(s&&(s+=" "),s+=i);return s}const $y=n=>{if(typeof n=="string")return n;let e,i="";for(let s=0;s<n.length;s++)n[s]&&(e=$y(n[s]))&&(i&&(i+=" "),i+=e);return i};function qT(n,...e){let i,s,a,c=d;function d(p){const h=e.reduce((x,v)=>v(x),n());return i=zT(h),s=i.cache.get,a=i.cache.set,c=f,f(p)}function f(p){const h=s(p);if(h)return h;const x=BT(p,i);return a(p,x),x}return function(){return c($T.apply(null,arguments))}}const Ae=n=>{const e=i=>i[n]||[];return e.isThemeGetter=!0,e},qy=/^\[(?:([a-z-]+):)?(.+)\]$/i,HT=/^\d+\/\d+$/,WT=new Set(["px","full","screen"]),KT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,GT=/\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$/,YT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,QT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,XT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,En=n=>mi(n)||WT.has(n)||HT.test(n),Xn=n=>
vendor: 4,076 bytes, line 18
18ki(n,"length",sP),mi=n=>!!n&&!Number.isNaN(Number(n)),pu=n=>ki(n,"number",mi),vs=n=>!!n&&Number.isInteger(Number(n)),JT=n=>n.endsWith("%")&&mi(n.slice(0,-1)),me=n=>qy.test(n),Jn=n=>KT.test(n),ZT=new Set(["length","size","percentage"]),eP=n=>ki(n,ZT,Hy),tP=n=>ki(n,"position",Hy),nP=new Set(["image","url"]),rP=n=>ki(n,nP,aP),iP=n=>ki(n,"",oP),ys=()=>!0,ki=(n,e,i)=>{const s=qy.exec(n);return s?s[1]?typeof e=="string"?s[1]===e:e.has(s[1]):i(s[2]):!1},sP=n=>GT.test(n)&&!YT.test(n),Hy=()=>!1,oP=n=>QT.test(n),aP=n=>XT.test(n),lP=()=>{const n=Ae("colors"),e=Ae("spacing"),i=Ae("blur"),s=Ae("brightness"),a=Ae("borderColor"),c=Ae("borderRadius"),d=Ae("borderSpacing"),f=Ae("borderWidth"),p=Ae("contrast"),h=Ae("grayscale"),x=Ae("hueRotate"),v=Ae("invert"),y=Ae("gap"),S=Ae("gradientColorStops"),E=Ae("gradientColorStopPositions"),N=Ae("inset"),j=Ae("margin"),T=Ae("opacity"),O=Ae("padding"),k=Ae("saturate"),_=Ae("scale"),D=Ae("sepia"),B=Ae("skew"),W=Ae("space"),K=Ae("translate"),re=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],ve=()=>["auto",me,e],Y=()=>[me,e],he=()=>["",En,Xn],ye=()=>["auto",mi,me],Se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",me],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>[mi,me];return{cacheSize:500,separator:":",theme:{colors:[ys],spacing:[En,Xn],blur:["none","",Jn,me],brightness:A(),borderColor:[n],borderRadius:["none","","full",Jn,me],borderSpacing:Y(),borderWidth:he(),contrast:A(),grayscale:J(),hueRotate:A(),invert:J(),gap:Y(),gradientColorStops:[n],gradientColorStopPositions:[JT,Xn],inset:ve(),margin:ve(),opacity:A(),padding:Y(),saturate:A(),scale:A(),sepia:J(),skew:A(),space:Y(),translate:Y()},classGroups:{aspect:[{aspect:["auto","square","video",me]}],container:["container"],columns:[{columns:[Jn]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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:[...Se(),me]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:re()}],"overscroll-x":[{"overscroll-x":re()}],"overscroll-y":[{"overscroll-y":re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vs,me]}],basis:[{basis:ve()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",me]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",vs,me]}],"grid-cols":[{"grid-cols":[ys]}],"col-start-end":[{col:["auto",{span:["full",vs,me]},me]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[ys]}],"row-start-end":[{row:["auto",{span:[vs,me]},me]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}
vendor: 9,256 bytes, line 18
18],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",me]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",me]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[O]}],px:[{px:[O]}],py:[{py:[O]}],ps:[{ps:[O]}],pe:[{pe:[O]}],pt:[{pt:[O]}],pr:[{pr:[O]}],pb:[{pb:[O]}],pl:[{pl:[O]}],m:[{m:[j]}],mx:[{mx:[j]}],my:[{my:[j]}],ms:[{ms:[j]}],me:[{me:[j]}],mt:[{mt:[j]}],mr:[{mr:[j]}],mb:[{mb:[j]}],ml:[{ml:[j]}],"space-x":[{"space-x":[W]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[W]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",me,e]}],"min-w":[{"min-w":[me,e,"min","max","fit"]}],"max-w":[{"max-w":[me,e,"none","full","min","max","fit","prose",{screen:[Jn]},Jn]}],h:[{h:[me,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[me,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[me,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Jn,Xn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pu]}],"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",me]}],"line-clamp":[{"line-clamp":["none",mi,pu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",En,me]}],"list-image":[{"list-image":["none",me]}],"list-style-type":[{list:["none","disc","decimal",me]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",En,Xn]}],"underline-offset":[{"underline-offset":["auto",En,me]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me]}],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",me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Se(),tP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rP]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[f]}],"border-w-x":[{"border-x":[f]}],"border-w-y":[{"border-y":[f]}],"border-w-s":[{"border-s":[f]}],"border-w-e":[{"border-e":[f]}],"border-w-t":[{"border-t":[f]}],"border-w-r":[{"border-r":[f]}],"border-w-b":[{"border-b":[f]}],"border-w-l":[{"border-l":[f]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[f]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[f]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:ie()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[En,me]}],"outline-w":[{outline:[En,Xn]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[En,Xn]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",Jn,iP]}],"shadow-color":[{shadow:[ys]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[s]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",Jn,me]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[v]}],saturate:[{saturate:[k]}],sepia:[{sepia:[D]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[D]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",me]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",me]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",me]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[vs,me]}],"translate-x":[{"translate-x":[K]}],"translate-y":[{"translate-y":[K]}],"skew-x":[{"skew-x":[B]}],"skew-y":[{"skew-y":[B]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",me]}],accent:[{accent:["auto",n]}],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",me]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Y()}],"scroll-mx":[{"scroll-mx":Y()}],"scroll-my":[{"scroll-my":Y()}],"scroll-ms":[{"scroll-ms":Y()}],"scroll-me":[{"scroll-me":Y()}],"scroll-mt":[{"scroll-mt":Y()}],"scroll-mr":[{"scroll-mr":Y()}],"scroll-mb":[{"scroll-mb":Y()}],"scroll-ml":[{"scroll-ml":Y()}],"scroll-p":[{"scroll-p":Y()}],"scroll-px":[{"scroll-px":Y()}],"scroll-py":[{"scroll-py":Y()}],"scroll-ps":[{"scroll-ps":Y()}],"scroll-pe":[{"scroll-pe":Y()}],"scroll-pt":[{"scroll-pt":Y()}],"scroll-pr":[{"scroll-pr":Y()}],"scroll-pb":[{"scroll-pb":Y()}],"scroll-pl":[{"scroll-pl":Y()}],"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"]}
18],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",me]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[En,Xn,pu]}],stroke:[{stroke:[n,"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"]}}},cP=qT(lP);function or(...n){return cP(zy(n))}const ba=b.forwardRef(({className:n,...e},i)=>l.jsx(Dy,{className:or("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n),...e,ref:i,children:l.jsx(kT,{className:or("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));ba.displayName=Dy.displayName;const uP=({initialPreferences:n,onSave:e,onClose:i})=>{const[s,a]=b.useState(n),c=h=>{h!=="technical"&&a(x=>({...x,[h]:!x[h]}))},d=()=>{e(s),i()},f=()=>{e({technical:!0,analytics:!0,preferences:!0}),i()},p=()=>{e({technical:!0,analytics:!1,preferences:!1}),i()};return l.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center bg-foreground
18/20 backdrop-blur-sm p-4",children:l.jsxs("div",{className:"bg-background w-full max-w-lg rounded-lg shadow-xl p-8 md:p-10 max-h-[90vh] overflow-y-auto",children:[l.jsx("h2",{className:"text-2xl font-serif text-accent mb-6",children:"Configuración de cookies"}),l.jsxs("div",{className:"space-y-6 mb-8",children:[l.jsxs("div",{className:"flex items-start justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"font-medium text-[15px] text-foreground",children:"Técnicas"}),l.jsx("p",{className:"text-[13px] text-muted-foreground mt-1 leading-relaxed",children:"Cookies necesarias para el funcionamiento del sitio web."})]}),l.jsx(ba,{checked:!0,disabled:!0})]}),l.jsxs("div",{className:"flex items-start justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"font-medium text-[15px] text-foreground",children:"AnalÃticas"}),l.jsx("p",{className:"text-[13px] text-muted-foreground mt-1 leading-relaxed",children:"Cookies para analizar el uso de la web de forma anónima."})]}),l.jsx(ba,{checked:s.analytics,onCheckedChange:()=>c("analytics")})]}),l.jsxs("div",{className:"flex items-start justify-between gap-4",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"font-medium text-[15px] text-foreground",children:"Preferencias"}),l.jsx("p",{className:"text-[13px] text-muted-foreground mt-1 leading-relaxed",children:"Cookies para recordar preferencias del usuario."})]}),l.jsx(ba,{checked:s.preferences,onCheckedChange:()=>c("preferences")})]})]}),l.jsxs("div",{className:"flex flex-col gap-3",children:[l.jsx("button",{onClick:d,className:"w-full py-3 bg-primary text-primary-foreground text-[14px] font-medium transition-colors hover:bg-primary/90 rounded-sm",children:"Guardar preferencias"}),l.jsxs("div",{className:"flex justify-between items-center px-2",children:[l.jsx("button",{onClick:p,className:"text-[13px] text-muted-foreground hover:text-foreground transition-colors underline underline-offset-4",children:"Rechazar opcionales"}),l.jsx("button",{onClick:f,className:"text-[13px] text-muted-foreground hover:text-foreground transition-colors underline underline-offset-4",children:"Aceptar todas"})]})]})]})})},dP=()=>{const{hasConsent:n,isInitialized:e,savePreferences:i,preferences:s}=tT(),[a,c]=b.useState(!1);if(!e||n)return null;const d=()=>{i({technical:!0,analytics:!0,preferences:!0})},f=()=>{i({technical:!0,analytics:!1,preferences:!1})};return l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"fixed bottom-0 left-0 w-full bg-background border-t-2 border-primary z-50 p-6 md:px-8 shadow-[0_-4px_20px_rgba(0,0,0,0.05)]",children:l.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row items-center justify-between gap-6",children:[l.jsx("p",{className:"text-[14px] text-foreground/80 leading-relaxed max-w-3xl",children:"Utilizamos cookies para mejorar la experiencia de navegación y analizar el uso de la web de forma anónima."}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-3 w-full md:w-auto shrink-0",children:[l.jsx("button",{onClick:()=>c(!0),className:"text-[13px] text-foreground/70 hover:text-foreground transition-colors underline underline-offset-4 w-full sm:w-auto text-center order-3 sm:order-1",children:"Configurar cookies"}),l.jsx("button",{onClick:f,className:"px-6 py-2.5 border border-primary text-primary hover:bg-primary/5 transition-colors text-[13px] font-medium w-full sm:w-auto text-center order-2",children:"Rechazar"}),l.jsx("button",{onClick:d,className:"px-6 py-2.5 bg-primary text-primary-foreground hover:bg-primary/90 transition-colors text-[13px] font-medium w-full sm:w-auto text-center order-1 sm:order-3",children:"Aceptar"})]})]})}),a&&l.jsx(uP,{initialPreferences:s,onSave:i,onClose:()=>c(!1)})]})};var mu={exports:{}},hu,Xg;function fP(){if(Xg)return hu;Xg=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return hu=n,hu}var gu,Jg;function pP(){if(Jg)return gu;Jg=1;var n=fP();function e(){}function i(){}return i.resetWarningCache=e,gu=function(){function s(d,f,p,h,x,v){if(v!==n){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}s.isRequired=s;function a(){return s}var c={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:a,element:s,elementType:s,instanceOf:a,node:s,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:e};return c.PropTypes=c,c},gu}var Zg;function mP(){return Zg||(Zg=1,mu.exports=pP()()),mu.exports}var hP=mP();const Me=ji(hP);var xu,ex;function gP(){if(ex)return xu;ex=1;function n(f){return f&&typeof f=="object"&&"default"in f?f.default:f}var e=Ma(),i=n(e);
18function s(f,p,h){return p in f?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h,f}function a(f,p){f.prototype=Object.create(p.prototype),f.prototype.constructor=f,f.__proto__=p}var c=!!(typeof window<"u"&&window.document&&window.document.createElement);function d(f,p,h){if(typeof f!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof p!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof h<"u"&&typeof h!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function x(v){return v.displayName||v.name||"Component"}return function(y){if(typeof y!="function")throw new Error("Expected WrappedComponent to be a React component.");var S=[],E;function N(){E=f(S.map(function(T){return T.props})),j.canUseDOM?p(E):h&&(E=h(E))}var j=(function(T){a(O,T);function O(){return T.apply(this,arguments)||this}O.peek=function(){return E},O.rewind=function(){if(O.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var D=E;return E=void 0,S=[],D};var k=O.prototype;return k.UNSAFE_componentWillMount=function(){S.push(this),N()},k.componentDidUpdate=function(){N()},k.componentWillUnmount=function(){var D=S.indexOf(this);S.splice(D,1),N()},k.render=function(){return i.createElement(y,this.props)},O})(e.PureComponent);return s(j,"displayName","SideEffect("+x(y)+")"),s(j,"canUseDOM",c),j}}return xu=d,xu}var xP=gP();const vP=ji(xP);var vu,tx;function yP(){if(tx)return vu;tx=1;var n=typeof Element<"u",e=typeof Map=="function",i=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function a(c,d){if(c===d)return!0;if(c&&d&&typeof c=="object"&&typeof d=="object"){if(c.constructor!==d.constructor)return!1;var f,p,h;if(Array.isArray(c)){if(f=c.length,f!=d.length)return!1;for(p=f;p--!==0;)if(!a(c[p],d[p]))return!1;return!0}var x;if(e&&c instanceof Map&&d instanceof Map){if(c.size!==d.size)return!1;for(x=c.entries();!(p=x.next()).done;)if(!d.has(p.value[0]))return!1;for(x=c.entries();!(p=x.next()).done;)if(!a(p.value[1],d.get(p.value[0])))return!1;return!0}if(i&&c instanceof Set&&d instanceof Set){if(c.size!==d.size)return!1;for(x=c.entries();!(p=x.next()).done;)if(!d.has(p.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(d)){if(f=c.length,f!=d.length)return!1;for(p=f;p--!==0;)if(c[p]!==d[p])return!1;return!0}if(c.constructor===RegExp)return c.source===d.source&&c.flags===d.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof d.valueOf=="function")return c.valueOf()===d.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof d.toString=="function")return c.toString()===d.toString();if(h=Object.keys(c),f=h.length,f!==Object.keys(d).length)return!1;for(p=f;p--!==0;)if(!Object.prototype.hasOwnProperty.call(d,h[p]))return!1;if(n&&c instanceof Element)return!1;for(p=f;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&c.$$typeof)&&!a(c[h[p]],d[h[p]]))return!1;return!0}return c!==c&&d!==d}return vu=function(d,f){try{return a(d,f)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},vu}var wP=yP();const bP=ji(wP);var yu,nx;function jP(){if(nx)return yu;nx=1;var n=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function s(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function a(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var p=Object.getOwnPropertyNames(d).map(function(x){return d[x]});if(p.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(x){h[x]=x}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return yu=a()?Object.assign:function(c,d){for(var f,p=s(c),h,x=1;x<arguments.length;x++){f=Object(arguments[x]);for(var v in f)e.call(f,v)&&(p[v]=f[v]);if(n){h=n(f);for(var y=0;
18y<h.length;y++)i.call(f,h[y])&&(p[h[y]]=f[h[y]])}}return p},yu}var SP=jP();const NP=ji(SP);var kr={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},de={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(de).map(function(n){return de[n]});var _e={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},La={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Us={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},EP=Object.keys(La).reduce(function(n,e){return n[La[e]]=e,n},{}),CP=[de.NOSCRIPT,de.SCRIPT,de.STYLE],nn="data-react-helmet",TP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},PP=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")},kP=(function(){function n(e,i){for(var s=0;s<i.length;s++){var a=i[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(e,i,s){return i&&n(e.prototype,i),s&&n(e,s),e}})(),Nt=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},RP=function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)},rx=function(n,e){var i={};for(var s in n)e.indexOf(s)>=0||Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s]);return i},AP=function(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:n},Qu=function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return i===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},OP=function(e){var i=hi(e,de.TITLE),s=hi(e,Us.TITLE_TEMPLATE);if(s&&i)return s.replace(/%s/g,function(){return Array.isArray(i)?i.join(""):i});var a=hi(e,Us.DEFAULT_TITLE);return i||a||void 0},IP=function(e){return hi(e,Us.ON_CHANGE_CLIENT_STATE)||function(){}},wu=function(e,i){return i.filter(function(s){return typeof s[e]<"u"}).map(function(s){return s[e]}).reduce(function(s,a){return Nt({},s,a)},{})},LP=function(e,i){return i.filter(function(s){return typeof s[de.BASE]<"u"}).map(function(s){return s[de.BASE]}).reverse().reduce(function(s,a){if(!s.length)for(var c=Object.keys(a),d=0;d<c.length;d++){var f=c[d],p=f.toLowerCase();if(e.indexOf(p)!==-1&&a[p])return s.concat(a)}return s},[])},ws=function(e,i,s){var a={};return s.filter(function(c){return Array.isArray(c[e])?!0:(typeof c[e]<"u"&&VP("Helmet: "+e+' should be of type "Array". Instead found type "'+TP(c[e])+'"'),!1)}).map(function(c){return c[e]}).reverse().reduce(function(c,d){var f={};d.filter(function(y){for(var S=void 0,E=Object.keys(y),N=0;N<E.length;N++){var j=E[N],T=j.toLowerCase();i.indexOf(T)!==-1&&!(S===_e.REL&&y[S].toLowerCase()==="canonical")&&!(T===_e.REL&&y[T].toLowerCase()==="stylesheet")&&(S=T),i.indexOf(j)!==-1&&(j===_e.INNER_HTML||j===_e.CSS_TEXT||j===_e.ITEM_PROP)&&(S=j)}if(!S||!y[S])return!1;var O=y[S].toLowerCase();return a[S]||(a[S]={}),f[S]||(f[S]={}),a[S][O]?!1:(f[S][O]=!0,!0)}).reverse().forEach(function(y){return c.push(y)});for(var p=Object.keys(f),h=0;h<p.length;h++){var x=p[h],v=NP({},a[x],f[x]);a[x]=v}return c},[]).reverse()},hi=function(e,i){for(var s=e.length-1;s>=0;s--){var a=e[s];if(a.hasOwnProperty(i))return a[i]}return null},MP=function(e){return{baseTag:LP([_e.HREF,_e.TARGET],e),bodyAttributes:wu(kr.BODY,e),defer:hi(e,Us.DEFER),encode:hi(e,Us.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:wu(kr.HTML,e),linkTags:ws(de.LINK,[_e.REL,_e.HREF],e),metaTags:ws(de.META,[_e.NAME,_e.CHARSET,_e.HTTPEQUIV,_e.PROPERTY,_e.ITEM_PROP],e),noscriptTags:ws(de.NOSCRIPT,[_e.INNER_HTML],e),onChangeClientState:IP(e),scriptTags:ws(de.SCRIPT,[_e.SRC,_e.INNER_HTML],e),styleTags:ws(de.STYLE,[_e.CSS_TEXT],e),title:OP(e),titleAttributes:wu(kr.TITLE,e)}},Xu=(function(){var n=Date.now();return function(e){var i=Date.now();i-n>16?(n=i,e(i)):setTimeout(function(){Xu(e)},0)}})(),ix=function(e){return clearTimeout(e)},_P=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Xu:global.requestAnimationFrame||Xu,DP=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ix:global.cancelAnimationFrame||ix,VP=function(e){return console&&typeof console.warn=="function"&&console.warn(e)},bs=null,FP=function(e){bs&&DP(bs),e.defer?bs=_P(function(){sx(e,function(){bs=null})}):(sx(e),bs=null)},sx=function(e,i){var s=e.baseTag,a=e.bodyAttributes,c=e.htmlAttributes,d=e.linkTags,f=e.metaTags,p=e.noscriptTags,h=e.onChangeClientState,x=e.scriptTags,v=e.styleTags,y=e.title,S=e.titleAttributes;Ju(de.BODY,a),Ju(de.HTML,c),zP(y,S);var E={baseTag:ii(de.BASE,s),linkTags:ii(de.LINK,d),metaTags:ii(de.META,f),noscriptTags:ii(de.NOSCRIPT,p),scriptTags:ii(de.SCRIPT,x),styleTags:ii(de.STYLE,v)},N={},j={};
18Object.keys(E).forEach(function(T){var O=E[T],k=O.newTags,_=O.oldTags;k.length&&(N[T]=k),_.length&&(j[T]=E[T].oldTags)}),i&&i(),h(e,N,j)},Wy=function(e){return Array.isArray(e)?e.join(""):e},zP=function(e,i){typeof e<"u"&&document.title!==e&&(document.title=Wy(e)),Ju(de.TITLE,i)},Ju=function(e,i){var s=document.getElementsByTagName(e)[0];if(s){for(var a=s.getAttribute(nn),c=a?a.split(","):[],d=[].concat(c),f=Object.keys(i),p=0;p<f.length;p++){var h=f[p],x=i[h]||"";s.getAttribute(h)!==x&&s.setAttribute(h,x),c.indexOf(h)===-1&&c.push(h);var v=d.indexOf(h);v!==-1&&d.splice(v,1)}for(var y=d.length-1;y>=0;y--)s.removeAttribute(d[y]);c.length===d.length?s.removeAttribute(nn):s.getAttribute(nn)!==f.join(",")&&s.setAttribute(nn,f.join(","))}},ii=function(e,i){var s=document.head||document.querySelector(de.HEAD),a=s.querySelectorAll(e+"["+nn+"]"),c=Array.prototype.slice.call(a),d=[],f=void 0;return i&&i.length&&i.forEach(function(p){var h=document.createElement(e);for(var x in p)if(p.hasOwnProperty(x))if(x===_e.INNER_HTML)h.innerHTML=p.innerHTML;else if(x===_e.CSS_TEXT)h.styleSheet?h.styleSheet.cssText=p.cssText:h.appendChild(document.createTextNode(p.cssText));else{var v=typeof p[x]>"u"?"":p[x];h.setAttribute(x,v)}h.setAttribute(nn,"true"),c.some(function(y,S){return f=S,h.isEqualNode(y)})?c.splice(f,1):d.push(h)}),c.forEach(function(p){return p.parentNode.removeChild(p)}),d.forEach(function(p){return s.appendChild(p)}),{oldTags:c,newTags:d}},Ky=function(e){return Object.keys(e).reduce(function(i,s){var a=typeof e[s]<"u"?s+'="'+e[s]+'"':""+s;return i?i+" "+a:a},"")},UP=function(e,i,s,a){var c=Ky(s),d=Wy(i);return c?"<"+e+" "+nn+'="true" '+c+">"+Qu(d,a)+"</"+e+">":"<"+e+" "+nn+'="true">'+Qu(d,a)+"</"+e+">"},BP=function(e,i,s){return i.reduce(function(a,c){var d=Object.keys(c).filter(function(h){return!(h===_e.INNER_HTML||h===_e.CSS_TEXT)}).reduce(function(h,x){var v=typeof c[x]>"u"?x:x+'="'+Qu(c[x],s)+'"';return h?h+" "+v:v},""),f=c.innerHTML||c.cssText||"",p=CP.indexOf(e)===-1;return a+"<"+e+" "+nn+'="true" '+d+(p?"/>":">"+f+"</"+e+">")},"")},Gy=function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(s,a){return s[La[a]||a]=e[a],s},i)},$P=function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(e).reduce(function(s,a){return s[EP[a]||a]=e[a],s},i)},qP=function(e,i,s){var a,c=(a={key:i},a[nn]=!0,a),d=Gy(s,c);return[pi.createElement(de.TITLE,d,i)]},HP=function(e,i){return i.map(function(s,a){var c,d=(c={key:a},c[nn]=!0,c);return Object.keys(s).forEach(function(f){var p=La[f]||f;if(p===_e.INNER_HTML||p===_e.CSS_TEXT){var h=s.innerHTML||s.cssText;d.dangerouslySetInnerHTML={__html:h}}else d[p]=s[f]}),pi.createElement(e,d)})},Cn=function(e,i,s){switch(e){case de.TITLE:return{toComponent:function(){return qP(e,i.title,i.titleAttributes)},toString:function(){return UP(e,i.title,i.titleAttributes,s)}};case kr.BODY:case kr.HTML:return{toComponent:function(){return Gy(i)},toString:function(){return Ky(i)}};default:return{toComponent:function(){return HP(e,i)},toString:function(){return BP(e,i,s)}}}},Yy=function(e){var i=e.baseTag,s=e.bodyAttributes,a=e.encode,c=e.htmlAttributes,d=e.linkTags,f=e.metaTags,p=e.noscriptTags,h=e.scriptTags,x=e.styleTags,v=e.title,y=v===void 0?"":v,S=e.titleAttributes;return{base:Cn(de.BASE,i,a),bodyAttributes:Cn(kr.BODY,s,a),htmlAttributes:Cn(kr.HTML,c,a),link:Cn(de.LINK,d,a),meta:Cn(de.META,f,a),noscript:Cn(de.NOSCRIPT,p,a),script:Cn(de.SCRIPT,h,a),style:Cn(de.STYLE,x,a),title:Cn(de.TITLE,{title:y,titleAttributes:S},a)}},WP=function(e){var i,s;return s=i=(function(a){RP(c,a);function c(){return PP(this,c),AP(this,a.apply(this,arguments))}return c.prototype.shouldComponentUpdate=function(f){return!bP(this.props,f)},c.prototype.mapNestedChildrenToProps=function(f,p){if(!p)return null;switch(f.type){case de.SCRIPT:case de.NOSCRIPT:return{innerHTML:p};case de.STYLE:return{cssText:p}}throw new Error("<"+f.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},c.prototype.flattenArrayTypeChildren=function(f){var p,h=f.child,x=f.arrayTypeChildren,v=f.newChildProps,y=f.nestedChildren;return Nt({},x,(p={},p[h.type]=[].concat(x[h.type]||[],[Nt({},v,this.mapNestedChildrenToProps(h,y))]),p))},c.prototype.mapObjectTypeChildren=function(f){var p,h,x=f.child,v=f.newProps,y=f.newChildProps,S=f.nestedChildren;switch(x.type){case de.TITLE:return Nt({},v,(p={},p[x.type]=S,p.titleAttributes=Nt({},y),p));case de.BODY:return Nt({},v,{bodyAttributes:Nt({},y)});case de.HTML:return Nt({},v,{htmlAttributes:Nt({},y)})}return Nt({},v,(h={},h[x.type]=Nt({},y),h))},c.prototype.mapArrayTypeChildrenToProps=function(f,p){var h=Nt({},p);return Object.keys(f).forEach(function(x){var v;h=Nt({},h,(v={},v[x]=f[x],v))}),h}
18,c.prototype.warnOnInvalidChildren=function(f,p){return!0},c.prototype.mapChildrenToProps=function(f,p){var h=this,x={};return pi.Children.forEach(f,function(v){if(!(!v||!v.props)){var y=v.props,S=y.children,E=rx(y,["children"]),N=$P(E);switch(h.warnOnInvalidChildren(v,S),v.type){case de.LINK:case de.META:case de.NOSCRIPT:case de.SCRIPT:case de.STYLE:x=h.flattenArrayTypeChildren({child:v,arrayTypeChildren:x,newChildProps:N,nestedChildren:S});break;default:p=h.mapObjectTypeChildren({child:v,newProps:p,newChildProps:N,nestedChildren:S});break}}}),p=this.mapArrayTypeChildrenToProps(x,p),p},c.prototype.render=function(){var f=this.props,p=f.children,h=rx(f,["children"]),x=Nt({},h);return p&&(x=this.mapChildrenToProps(p,x)),pi.createElement(e,x)},kP(c,null,[{key:"canUseDOM",set:function(f){e.canUseDOM=f}}]),c})(pi.Component),i.propTypes={base:Me.object,bodyAttributes:Me.object,children:Me.oneOfType([Me.arrayOf(Me.node),Me.node]),defaultTitle:Me.string,defer:Me.bool,encodeSpecialCharacters:Me.bool,htmlAttributes:Me.object,link:Me.arrayOf(Me.object),meta:Me.arrayOf(Me.object),noscript:Me.arrayOf(Me.object),onChangeClientState:Me.func,script:Me.arrayOf(Me.object),style:Me.arrayOf(Me.object),title:Me.string,titleAttributes:Me.object,titleTemplate:Me.string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=e.peek,i.rewind=function(){var a=e.rewind();return a||(a=Yy({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),a},s},KP=function(){return null},GP=vP(MP,FP,Yy)(KP),pt=WP(GP);pt.renderStatic=pt.rewind;const qt={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:1.2,ease:[.21,.47,.32,.98]}}},js={hidden:{opacity:0,scale:.98},visible:{opacity:1,scale:1,transition:{duration:1.4,ease:"easeOut"}}},YP=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Armonic Body - ClÃnica de Fisioterapia Avanzada"}),l.jsx("meta",{name:"description",content:"En Armonic Body analizamos el cuerpo desde una visión clÃnica global para identificar los mecanismos que mantienen el problema y construir tratamientos personalizados."}),l.jsx("meta",{property:"og:title",content:"Armonic Body - ClÃnica de Fisioterapia Avanzada"}),l.jsx("meta",{property:"og:description",content:"En Armonic Body analizamos el cuerpo desde una visión clÃnica global para identificar los mecanismos que mantienen el problema y construir tratamientos personalizados."})]}),l.jsx("section",{className:"pt-20 pb-16 md:pt-28 md:pb-28 bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-20 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:qt,className:"md:col-span-6 lg:col-span-6 order-2 md:order-1 max-w-[600px]",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary/70 uppercase mb-8 md:mb-12",children:"NOÃLIA MAR · ARMONIC BODY"}),l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-[3.5rem] font-serif text-accent mb-10 leading-[1.1] tracking-[-0.02em]",children:"Casi 30 años de experiencia clÃnica"}),l.jsxs("p",{className:"text-[15px] md:text-[16px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:["Durante casi tres décadas hemos desarrollado una forma de trabajar basada en la experiencia, el conocimiento y la observación clÃnica. Cada caso requiere una valoración individual: comprender qué está ocurriendo, identificar los factores que pueden estar influyendo y determinar cuál es la mejor manera de intervenir. Esta experiencia nos permite abordar cada tratamiento con criterio, precisión y una visión clara de las necesidades de cada paciente. ",l.jsx("strong",{children:"Comprender, Valorar, Intervenir."})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 mt-8",children:[l.jsx(xt,{size:"lg"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial btn-editorial-secondary inline-block sm:self-ce
18nter",children:"Conocer el Método NOÃLIA MAR"})]})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:js,className:"md:col-span-6 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/7-E85KS.png",alt:"Manos clÃnicas examinando postura con luz natural",className:"w-full h-auto aspect-[3/4] md:aspect-[4/5] object-cover grayscale-[15%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,children:l.jsx("p",{className:"elegant-quote text-balance",children:"Comprender el origen del sÃntoma nos permite ofrecer un tratamiento más preciso y personalizado."})})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:js,className:"md:col-span-6 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3598-oQ5OA.jpg",alt:"Retrato elegante e institucional de profesional clÃnico",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,className:"md:col-span-6 lg:col-span-6 lg:col-start-7",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary/70 uppercase mb-8",children:"MODELO NOÃLIA MAR"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-10 leading-[1.15] tracking-[-0.01em]",children:"Una manera distinta de entender la práctica clÃnica"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-12",children:"El modelo Noèlia Mar nace de una necesidad clÃnica real: abordar aquellos casos donde el enfoque convencional resulta insuficiente. No se define por una técnica concreta, sino por una forma de interpretar el cuerpo, conectar sistemas y tomar decisiones clÃnicas desde una comprensión global del paciente."}),l.jsx(ae,{to:"/noelia-mar",className:"btn-editorial btn-editorial-primary",children:"Explorar Modelo Noèlia Mar"})]})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,className:"md:col-span-6 lg:col-span-6 order-2 md:order-1",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-secondary-foreground/70 uppercase mb-8",children:"MÃTODO NOÃLIA MAE"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-black mb-10 leading-[1.15] tracking-[-0.01em]",children:"Primero entendemos. Después tratamos."}),l.jsx("p",{className:"text-[15px] text-black font-light editorial-text mb-12",children:"El Método Noélia Mar integra evaluación clÃnica avanzada, razonamiento funcional y diferentes herramientas terapéuticas para comprender qué está manteniendo el problema y cómo intervenir con mayor precisión. No tratamos sÃntomas aislados. Buscamos relaciones, compensaciones y mecanismos que expliquen por qué el cuerpo no termina de recuperarse."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 mt-6",children:[l.jsx(xt,{size:"lg"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial border-b border-secondary-foreground
18/30 text-secondary-foreground hover:border-secondary-foreground hover:text-secondary-foreground/80 inline-block sm:self-center",children:"Conocer Método NOELIA MAR"})]})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:js,className:"md:col-span-6 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 p-4 md:p-6 bg-background/50 backdrop-blur-sm",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3503-mMHX8.jpg",alt:"Evaluación clÃnica y movimiento funcional",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,className:"editorial-reading-width text-center mb-24 md:mb-32",children:l.jsx("p",{className:"text-[16px] md:text-[18px] text-foreground/90 font-light editorial-text text-balance",children:l.jsx("span",{style:{color:"rgba(50, 84, 116, 0.9)"},children:l.jsx("strong",{children:l.jsx("span",{style:{fontSize:"28px",lineHeight:"normal"},children:l.jsx("span",{style:{fontFamily:"Inter, sans-serif"},children:l.jsx("em",{children:l.jsx("span",{style:{lineHeight:"normal"},children:"Combinamos distintas disciplinas para entender mejor cada caso y ofrecer a cada paciente un tratamiento adaptado a sus necesidades."})})})})})})})}),l.jsxs("div",{className:"editorial-grid",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:qt,className:"flex flex-col",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-6",children:"Fisioterapia avanzada"}),l.jsx("p",{className:"text-[14px] text-foreground/80 font-light editorial-text mb-8 flex-grow",children:"Valoración funcional, control neuromuscular y tratamiento preciso orientado a comprender qué está fallando realmente."}),l.jsx("div",{className:"mt-auto",children:l.jsx(ae,{to:"/areas-terapeuticas",className:"btn-editorial btn-editorial-secondary text-[10px]",children:"Explorar fisioterapia avanzada"})})]}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:qt,className:"flex flex-col",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-6",children:"OsteopatÃa integrativa"}),l.jsx("p",{className:"text-[14px] text-foreground/80 font-light editorial-text mb-8 flex-grow",children:"Abordaje manual orientado a mejorar movilidad, adaptación y función dentro de un razonamiento clÃnico global."}),l.jsx("div",{className:"mt-auto",children:l.jsx(ae,{to:"/areas-terapeuticas",className:"btn-editorial btn-editorial-secondary text-[10px]",children:"Explorar osteopatÃa integrativa"})})]}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:qt,className:"flex flex-col",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-6",children:"PsiconeuroinmunologÃa clÃnica"}),l.jsx("p",{className:"text-[14px] text-foreground/80 font-light editorial-text mb-8 flex-grow",children:"Comprender cómo inflamación, sistema nervioso, metabolismo y recuperación interactúan en cada paciente."}),l.jsx("div",{className:"mt-auto",children:l.jsx(ae,{to:"/areas-terapeuticas",className:"btn-editorial btn-editorial-secondary text-[10px]",children:"Explorar PNI clÃnica"})})]}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:qt,className:"flex flex-col",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-6",children:"Ejercicio terapéutico y readaptación"}),l.jsx("p",{className:"text-[14px] text-foreground/80 font-light editorial-text mb-8 flex-grow",children:"Recuperar movimiento, fuerza y capacidad funcional para reducir recaÃdas y mejorar adaptación."}),l.jsx("div",{className:"mt-auto",children:l.jsx(ae,{to:"/areas-terapeuticas",className:"btn-editorial btn-editorial-secondary text-[10px]",children:"Explorar readaptación clÃnica"})})]})]})]})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:js,className:"md:col-span-6 lg:col-span-6",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-1-MBIL7.JPG",alt:"Equipo profesional trabajando coordinadamente",className:"w-full h-auto aspect-[4/5] md:aspect-[4/3] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,className:"md:col-span-6 lg:col-span-5 lg:col-start-8",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary/70 uppercase mb-8",children:"EQUIPO"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-10 leading-[1.15] tracking-[-0.01em]",children:"Una visión compartida sobre la recuperación"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-12",children:"El trabajo clÃnico solo tiene sentido cuando existe una mirada compartida. Diferentes profesionales trabajan de forma coordinada bajo un mismo criterio clÃnico para construir tratamientos más coherentes, personalizados y estables."}),l.jsx(ae,{to:"/equipo",className:"btn-editorial btn-editorial-primary",children:"Conocer el equipo"})]})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,className:"md:col-span-7 lg:col-span-6 order-1",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-6",children:l.jsx("strong",{children:"NUEVO SERVICIO"})}),l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-secondary-foreground mb-8 leading-[1.15] tracking-[-0.01em]",children:"Nutrición"}),l.jsx("p",{className:"text-[15px] text-secondary-foreground/90 font-light editorial-text mb-10 text-balance",children:"En el Método Noelia Mar entendemos el cuerpo como un todo. Cómo nos alimentamos, nuestro estado metabólico, la salud digestiva y el equilibrio nutricional también pueden influir en nuestra salud, recuperación y bienestar. Por eso incorporamos la Nutrición a nuestro método, con un abordaje integral, individualizado y basado en las necesidades reales de cada persona."}),l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-6 sm:gap-10",children:[l.jsx(ae,{to:"/areas-terapeuticas/nutricion",className:"text-[11px] font-medium tracking-[0.2em] text-secondary-foreground/70 hover:text-secondary-foreground uppercase border-b border-secondary-foreground/20 hover:border-secondary-foreground pb-1 transition-all duration-500 w-fit",children:"Explorar Nutrición"}),l.jsx(xt,{label:"Reservar nutrición",href:"https://calendly.com/teamarmonic/visita-nutricio",size:"default",variant:"primary"})]})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:js,className:"md:col-span-5 lg:col-span-5 lg:col-start-8 order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 bg-background/50 backdrop-blur-sm p-4 md:p-6",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/chatgpt-image-15-de-set.-del-2026-18_20_57-Cyet4.png",alt:"Servicio de nutrición integrada",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center mx-auto",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:qt,children:[l.jsx("p",{className:"text-[17px] md:text-[20px] font-serif text-accent leading-relaxed text-balance mb-12",children:l.jsx("span",{style:{fontSize:"32px",lineHeight:"normal"},children:l.jsx("span",{style:{lineHeight:"normal"},children:"Cuando el cuerpo se entiende mejor, el tratamiento cambia completamente."})})}),l.jsxs("div",{className:"mt-12 flex flex-col items-center justify-center space-y-6",children:[l.jsx(xt,{size:"lg"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"text-[12px] tracking-widest text-foreground
18/70 hover:text-foreground uppercase border-b border-foreground/20 hover:border-foreground/60 pb-1 transition-all",children:"Explorar Método noèlia mar"})]})]})})})]}),Sr={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:1.2,ease:[.21,.47,.32,.98]}}},ma={hidden:{opacity:0,scale:.98},visible:{opacity:1,scale:1,transition:{duration:1.4,ease:"easeOut"}}},QP=()=>l.jsxs("div",{className:"min-h-screen bg-background selection:bg-primary/10 selection:text-primary",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"El Método | Armonic Body"}),l.jsx("meta",{name:"description",content:"Comprender antes de intervenir. En Armonic Body cada tratamiento comienza evaluando y relacionando para comprender qué está condicionando la recuperación."})]}),l.jsx("section",{className:"pt-24 pb-16 md:pt-32 md:pb-24 bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-20 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Sr,className:"md:col-span-7 lg:col-span-7 order-2 md:order-1",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-8 md:mb-12",children:"EL MÃTODO"}),l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-serif text-accent mb-10 leading-[1.1] tracking-[-0.02em]",children:"Comprender antes de intervenir"}),l.jsx("p",{className:"text-[15px] md:text-[16px] text-foreground/90 font-light editorial-text mb-12 text-balance max-w-2xl",children:"En Armonic Body cada tratamiento comienza con una pregunta: ¿qué está manteniendo el problema? El objetivo no es actuar únicamente sobre el sÃntoma, sino comprender las relaciones que explican por qué el cuerpo no termina de recuperarse."}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial border-b border-primary/30 text-primary hover:border-primary hover:text-primary/80",children:"Conocer Método Noèlia Mar"})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:ma,className:"md:col-span-5 lg:col-span-5 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto editorial-image-wrap bg-secondary/40",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1633893669122-a34e430e193b",alt:"Exploración clÃnica y observación contemplativa",className:"w-full h-auto aspect-[3/4] object-cover grayscale-[15%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,children:l.jsx("p",{className:"text-[17px] md:text-[20px] text-foreground/90 font-light editorial-text text-balance leading-relaxed",children:"El cuerpo funciona como un sistema integrado donde movimiento, sistema nervioso, función oral, postura, inflamación y capacidad de adaptación interactúan constantemente. Por eso cada caso requiere una mirada clÃnica amplia capaz de relacionar distintos sistemas y comprender qué está condicionando la recuperación."})})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:ma,className:"md:col-span-5 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1675270714610-11a5cadcc7b3",alt:"Evaluación clÃnica funcional",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,className:"md:col-span-7 lg:col-span-6 lg:col-start-7",children:[l.jsx("span",{className:"block text-[12px] font-medium text-primary mb-6 tracking-widest",children:"01"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"Evaluar"}
18),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"Todo proceso comienza con una valoración funcional avanzada orientada a comprender el origen del problema y no únicamente la zona dolorosa. La evaluación integra movimiento, control neuromuscular, postura, función oral y otros factores que pueden estar condicionando la recuperación."}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"text-[11px] font-medium tracking-[0.2em] text-foreground/60 hover:text-foreground uppercase border-b border-foreground/20 hover:border-foreground pb-1 transition-all duration-500",children:"Explorar Método Noèlia Mar"})]})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,className:"md:col-span-7 lg:col-span-6 order-2 md:order-1",children:[l.jsx("span",{className:"block text-[12px] font-medium text-primary mb-6 tracking-widest",children:"02"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-secondary-foreground mb-8 leading-[1.15] tracking-[-0.01em]",children:"Relacionar"}),l.jsx("p",{className:"text-[15px] text-secondary-foreground/90 font-light editorial-text mb-10 text-balance",children:"Las distintas disciplinas no funcionan de manera independiente. La fisioterapia, la osteopatÃa, la PsiconeuroinmunologÃa clÃnica o el ejercicio terapéutico se integran dentro de un mismo razonamiento clÃnico orientado a comprender qué necesita cada paciente."}),l.jsx(ae,{to:"/areas-terapeuticas",className:"text-[11px] font-medium tracking-[0.2em] text-secondary-foreground/70 hover:text-secondary-foreground uppercase border-b border-secondary-foreground/20 hover:border-secondary-foreground pb-1 transition-all duration-500",children:"Explorar áreas terapéuticas"})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:ma,className:"md:col-span-5 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 bg-background/50 backdrop-blur-sm p-4 md:p-6",children:l.jsx("img",{src:"https://images.unsplash.com/photo-1605523343303-95885e3be220",alt:"Interacción terapéutica y terapia manual",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:ma,className:"md:col-span-5 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://images.unsplash.com/flagged/photo-1579473454383-438c60283b48",alt:"Ejercicio terapéutico y recuperación funcional",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,className:"md:col-span-7 lg:col-span-6 lg:col-start-7",children:[l.jsx("span",{className:"block text-[12px] font-medium text-primary mb-6 tracking-widest",children:"03"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"Intervenir"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"El tratamiento se construye de forma personalizada para recuperar función, mejorar adaptación y reducir recaÃdas. Cada intervención forma parte de una estrategia global diseñada especÃficamente para las necesidades de cada paciente."}),l.jsx(ae,{to:"/contacto",className:"text-[11px] font-medium tracking-[0.2em] text-foreground
18/60 hover:text-foreground uppercase border-b border-foreground/20 hover:border-foreground pb-1 transition-all duration-500",children:"Solicitar valoración clÃnica avanzada"})]})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,children:[l.jsx("p",{className:"text-[17px] md:text-[20px] text-foreground/90 font-light editorial-text text-balance leading-relaxed mb-10",children:"El trabajo clÃnico solo tiene sentido cuando existe una visión compartida. Diferentes profesionales trabajan de forma coordinada bajo un mismo criterio clÃnico para construir tratamientos más coherentes, precisos y estables."}),l.jsx(ae,{to:"/equipo",className:"btn-editorial border-b border-foreground/20 text-foreground/70 hover:border-foreground/60 hover:text-foreground",children:"Conocer el equipo"})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Sr,children:[l.jsx("p",{className:"text-[17px] md:text-[20px] font-serif text-secondary-foreground leading-relaxed text-balance mb-16",children:"Comprender el cuerpo cambia completamente la manera de tratarlo. Por eso el método no se define por una técnica concreta, sino por la capacidad de integrar información, interpretar relaciones y construir decisiones clÃnicas más precisas."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-8 sm:gap-12 items-center justify-center",children:[l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial border-b border-secondary-foreground/30 text-secondary-foreground hover:border-secondary-foreground hover:text-secondary-foreground/80",children:"Conocer Método Noèlia Mar"}),l.jsx(ae,{to:"/contacto",className:"btn-editorial border-b border-secondary-foreground/20 text-secondary-foreground/70 hover:border-secondary-foreground/60 hover:text-secondary-foreground",children:"Solicitar valoración clÃnica avanzada"})]})]})})})]}),si={hidden:{opacity:0,y:40},visible:{opacity:1,y:0,transition:{duration:1.2,ease:[.21,.47,.32,.98]}}},bu={hidden:{opacity:0,scale:.96,y:20},visible:{opacity:1,scale:1,y:0,transition:{duration:1.4,ease:"easeOut"}}},XP=()=>{const n=e=>{e.preventDefault(),document.getElementById("experiencia")?.scrollIntoView({behavior:"smooth"})};return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Noèlia Mar | Visión ClÃnica Integrativa"}),l.jsx("meta",{name:"description",content:"Conoce a Noèlia Mar. Más de dos décadas dedicadas a comprender el cuerpo desde una visión integrativa, rigurosa y profundamente humana."})]}),l.jsx("section",{className:"pt-24 pb-16 md:pt-32 md:pb-28 bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-20 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:si,className:"md:col-span-6 lg:col-span-6 order-2 md:order-1 max-w-[600px]",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] uppercase text-primary mb-6",children:"NOÃLIA MAR"}),l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-[3.5rem] font-serif text-accent mb-8 leading-[1.1] tracking-[-0.02em]",children:"Una mirada clÃnica construida desde la experiencia."}),l.jsx("p",{className:"text-[16px] md:text-[17px] text-foreground/80 font-light editorial-text mb-12 text-balance",children:"Más de 25 años dedicándome a la salud me han enseñado que cada persona necesita ser entendida de manera diferente."}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center gap-6",children:[l.jsx(xt,{}),l.jsx("a",{href:"#experiencia",onClick:n,className:"text-[11px] tracking-[0.2em] text-foreground/70 hover:text-foreground uppercase border-b border-foreground
18/20 hover:border-foreground/60 pb-1 transition-all",children:"Explorar visión"})]})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:bu,className:"md:col-span-6 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-2-RDkJx.JPG",alt:"Noèlia Mar, clinical professional portrait",className:"w-full h-auto aspect-[3/4] md:aspect-[4/5] object-cover grayscale-[15%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{id:"experiencia",className:"editorial-section bg-background pt-24 pb-32",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center mx-auto max-w-[800px]",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:si,className:"space-y-8",children:[l.jsxs("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:["Soy enfermera, psiconeuroinmunóloga clÃnica y posturóloga clÃnica. Hace más de 20 años fundé mi clÃnica con el objetivo de ofrecer una forma de atención basada en el conocimiento, la experiencia y una visión completa de cada persona. Durante todos estos años he seguido formándome y trabajando con pacientes muy diferentes. Esta experiencia me ha permitido desarrollar ",l.jsx("strong",{children:"mi propia forma de valorar y tratar cada caso."})]}),l.jsx("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",style:{textAlign:"center"},children:"No creo en aplicar el mismo tratamiento a todo el mund
18o. Primero necesito entender qué le ocurre a cada persona, qué puede estar influyendo en sus sÃntomas y qué necesita realmente. A partir de ahÃ, decido cómo abordar su caso."}),l.jsxs("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:["Mi manera de trabajar es el resultado de casi tres décadas de experiencia, formación continua y aprendizaje junto a mis pacientes. Y aunque la medicina y el conocimiento han evolucionado mucho durante estos años, hay algo que para mà sigue siendo fundamental: ",l.jsx("strong",{children:"escuchar, dedicar tiempo a cada persona y tratarla con el mismo rigor con el que me gustarÃa que me trataran a mÃ"}),". Hoy pongo toda esa experiencia al servicio de cada paciente, con un objetivo muy claro:",l.jsx("strong",{children:"entender mejor lo que está ocurriendo para poder ofrecer un tratamiento preciso, personalizado y basado en el conocimiento cientÃfico."})]})]})})}),l.jsx("section",{className:"editorial-section bg-secondary/30",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:bu,className:"md:col-span-6 lg:col-span-5 order-1",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap bg-white/50",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/2026.2-n6S5g.png",alt:"Clinical professional interaction, therapeutic care",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:si,className:"md:col-span-6 lg:col-span-6 lg:col-start-7 order-2",children:[l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-10 leading-[1.15] tracking-[-0.01em]",children:"Entender antes de intervenir."}),l.jsxs("div",{className:"space-y-6",children:[l.jsx("p",{className:"text-[16px] text-foreground/80 font-light editorial-text",children:"Entendiendo que la complejidad del paciente requiere una mirada amplia, he construido un equipo de grandes profesionales que complementan y enriquecen esta visión."}),l.jsx("p",{className:"text-[16px] text-foreground/80 font-light editorial-text",children:"Profesionales altamente cualificados, comprometidos con la excelencia clÃnica y con una forma de trabajo coordinada y centrada en la persona."}),l.jsx("div",{className:"pt-8",children:l.jsx(xt,{})})]})]})]})})}),l.jsx("section",{className:"editorial-section bg-[#EFECE6] py-32",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center mx-auto max-w-[800px]",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:si,children:[l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-10 leading-[1.15] tracking-[-0.01em]",children:"Una mirada clÃnica compartida."}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:["He desarrollado un modelo propio de trabajo en el que diferentes profesionales de la salud comparten sus conocimientos y experiencia para valorar cada caso de forma conjunta.",l.jsx("strong",{children:"Todo comienza por escuchar y conocer bien a la persona."})," Realizamos una valoración clÃnica completa para entender qué está ocurriendo, qué puede estar influyendo en sus sÃntomas y cómo se relacionan los distintos factores de su caso."]}),l.jsxs("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:["A partir de esta valoración, decidimos qué necesita cada paciente y cuál es la mejor manera de abordarlo. No aplicamos las mismas herramientas a todo el mund
18o: ",l.jsx("strong",{children:"cada intervención tiene un motivo y forma parte de un plan pensado para esa persona"}),". Este modelo es el resultado de años de experiencia clÃnica, formación continuada y trabajo junto a otros profesionales de la salud.",l.jsx("strong",{children:"Porque trabajar de forma multidisciplinar no es sumar diferentes especialidades, sino ponerlas en común para entender mejor a cada persona y ofrecerle una atención más precisa, segura y personalizada."})]})]})]})})}),l.jsx("section",{className:"editorial-section bg-background pt-32 pb-24",children:l.jsxs("div",{className:"editorial-reading-width px-6 lg:px-8 text-center mx-auto max-w-[800px]",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:si,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-serif text-accent mb-8 tracking-[-0.01em]",children:"La dimensión humana también forma parte del cuidado."}),l.jsxs("div",{className:"space-y-6 mb-24",children:[l.jsx("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:"Más allá de mi vocación sanitaria, soy madre, amante de la naturaleza, de los viajes y de la lectura."}),l.jsx("p",{className:"text-[17px] md:text-[19px] text-foreground/85 font-light editorial-text text-balance leading-relaxed",children:"Estas pasiones forman parte de mi manera de entender la vida y, también, de acompañar a las personas: con una mirada humana, cercana y respetuosa con los procesos individuales."})]})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:bu,className:"editorial-image-wrap max-w-5xl mx-auto",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3548-mPjyw.jpg",alt:"Serene nature landscape, soft light",className:"w-full h-auto aspect-[16/9] md:aspect-[21/9] object-cover opacity-90 hover:opacity-100 transition-opacity duration-700"})})]})}),l.jsx("section",{className:"pt-24 pb-32 md:pt-32 md:pb-48 bg-secondary/10 border-t border-gray-100",children:l.jsx("div",{className:"max-w-[850px] mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:si,children:[l.jsx("h3",{className:"text-2xl md:text-3xl lg:text-4xl font-serif text-accent leading-[1.6] md:leading-[1.7] tracking-[-0.01em] mb-12 text-balance",children:"Entender mejor para tratar mejor."}),l.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6 mt-12",children:[l.jsx(xt,{size:"lg"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"text-[12px] tracking-widest text-foreground/70 hover:text-foreground uppercase border-b border-foreground
18/20 hover:border-foreground/60 pb-1 transition-all",children:"Conocer Método NOÃLIA MAR"})]})]})})})]})},fn={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:1.2,ease:[.21,.47,.32,.98]}}},Zn={hidden:{opacity:0,scale:.98},visible:{opacity:1,scale:1,transition:{duration:1.4,ease:"easeOut"}}},JP=()=>l.jsxs("div",{className:"min-h-screen bg-background selection:bg-primary/10 selection:text-primary",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Ãreas Terapéuticas | Armonic Body"}),l.jsx("meta",{name:"description",content:"En Armonic Body las distintas disciplinas no funcionan de manera independiente. Cada herramienta terapéutica se integra dentro de una estrategia clÃnica global."})]}),l.jsx("section",{className:"pt-24 pb-16 md:pt-32 md:pb-24 bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-20 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:fn,className:"md:col-span-7 lg:col-span-7 order-2 md:order-1",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-8 md:mb-12",children:"ÃREAS TERAPÃUTICAS"}),l.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-serif text-accent mb-10 leading-[1.1] tracking-[-0.02em]",children:l.jsxs("span",{style:{fontSize:"56px",lineHeight:"normal"},children:["Diferentes herramientas.",l.jsx("br",{}),"Un mismo razonamiento clÃnico."]})}),l.jsx("p",{className:"text-[15px] md:text-[16px] text-foreground/90 font-light editorial-text mb-12 text-balance max-w-2xl",children:"En Armonic Body las distintas disciplinas no funcionan de manera independiente. Cada herramienta terapéutica se integra dentro de una estrategia clÃnica global orientada a comprender el origen del problema, recuperar función y mejorar la capacidad de adaptación del cuerpo."}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial border-b border-primary/30 text-primary hover:border-primary hover:text-primary/80",children:"Explorar Método Noèlia Mar"})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:Zn,className:"md:col-span-5 lg:col-span-5 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto editorial-image-wrap bg-secondary/40",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/2026.3-nlr6U.jpg",alt:"Gesto clÃnico contemplativo con luz natural",className:"w-full h-auto aspect-[3/4] object-cover grayscale-[15%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,children:l.jsx("p",{className:"text-[17px] md:text-[20px] text-foreground/90 font-light editorial-text text-balance leading-relaxed",children:"No trabajamos desde protocolos estándar ni desde tratamientos aislados. La fisioterapia, la osteopatÃa, la PsiconeuroinmunologÃa clÃnica, el ejercicio terapéutico o la posturologÃa forman parte de un mismo sistema de razonamiento clÃnico. El objetivo no es acumular técnicas. Es comprender qué necesita cada paciente y cuándo utilizar cada herramienta dentro de una estrategia terapéutica coherente."})})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-3-liBEI.jpg",alt:"Tratamiento clÃnico de fisioterapia",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}
18),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 lg:col-start-7",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"Fisioterapia avanzada"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"La fisioterapia avanzada permite analizar movimiento, control neuromuscular, cadenas funcionales y compensaciones que pueden estar manteniendo el dolor o limitando la recuperación. El tratamiento se orienta a comprender cómo se comporta el cuerpo, no únicamente dónde aparece el sÃntoma."}),l.jsx(ae,{to:"/areas-terapeuticas/fisioterapia-avanzada",className:"text-[11px] font-medium tracking-[0.2em] text-foreground/60 hover:text-foreground uppercase border-b border-foreground/20 hover:border-foreground pb-1 transition-all duration-500",children:"Explorar fisioterapia avanzada"})]})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 order-2 md:order-1",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-secondary-foreground mb-8 leading-[1.15] tracking-[-0.01em]",children:"OsteopatÃa integrativa"}),l.jsx("p",{className:"text-[15px] text-secondary-foreground/90 font-light editorial-text mb-10 text-balance",children:"La osteopatÃa se integra dentro del razonamiento clÃnico global para mejorar movilidad, adaptación y equilibrio funcional entre las distintas estructuras del cuerpo. No se aborda únicamente la zona dolorosa, sino las relaciones que pueden estar condicionando la recuperación."}),l.jsx(ae,{to:"/areas-terapeuticas/osteopatia-integrativa",className:"text-[11px] font-medium tracking-[0.2em] text-secondary-foreground/70 hover:text-secondary-foreground uppercase border-b border-secondary-foreground/20 hover:border-secondary-foreground pb-1 transition-all duration-500",children:"Explorar osteopatÃa integrativa"})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 bg-background/50 backdrop-blur-sm p-4 md:p-6",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-5-vh2XH.JPG",alt:"Tratamiento de osteopatÃa",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-7-saVSn.jpg",alt:"Evaluación clÃnica",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 lg:col-start-7",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"PsiconeuroinmunologÃa clÃnica"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"En determinados pacientes, factores relacionados con inflamación, sistema nervioso, metabolismo, descanso o regulación fisiológica pueden influir directamente en la evolución clÃnica y en la capacidad de recuperación. La PsiconeuroinmunologÃa clÃnica permite integrar estos factores dentro de una comprensión más global del organismo."}),l.jsx(ae,{to:"/areas-terapeuticas/psiconeuroinmunologia-clinica",className:"text-[11px] font-medium tracking-[0.2em] text-foreground
18/60 hover:text-foreground uppercase border-b border-foreground/20 hover:border-foreground pb-1 transition-all duration-500",children:"Explorar PNI clÃnica"})]})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 order-2 md:order-1",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"Ejercicio terapéutico y readaptación"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"La recuperación no termina cuando desaparece el dolor. El ejercicio terapéutico y la readaptación clÃnica ayudan a recuperar función, movimiento y capacidad de adaptación para reducir recaÃdas y mejorar estabilidad a largo plazo. Cada proceso se adapta a las necesidades funcionales de cada paciente."}),l.jsx(ae,{to:"/areas-terapeuticas/ejercicio-terapeutico",className:"text-[11px] font-medium tracking-[0.2em] text-foreground/60 hover:text-foreground uppercase border-b border-foreground
18/20 hover:border-foreground pb-1 transition-all duration-500",children:"Explorar readaptación clÃnica"})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5 lg:col-start-8 order-1 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 editorial-image-wrap bg-secondary/30",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/_26a9891-3Uq4M.jpg",alt:"Terapia de ejercicio en rehabilitación",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-95 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-[#F5F3EF]",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:mr-auto md:ml-0 bg-white/50 backdrop-blur-sm p-4 md:p-6",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/34-4aRWu.jpg",alt:"Alineación postural",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 lg:col-start-7",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"PosturologÃa y función craneomandibular"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"La mandibula y la función oral tienen un impacto directo y profundo sobre el control postural, la biomecánica del movimiento y la capacidad de recuperación neuromuscular. Estudiamos la interacción entre la boca, la articulación temporo-mandibular, la musculatura cervical, la respiración y otros sistemas corporales que participan en la adaptación y recuperación del organismo."}),l.jsx(ae,{to:"/areas-terapeuticas/posturologia-craneomandibular",className:"text-[11px] font-medium tracking-[0.2em] text-foreground/60 hover:text-foreground uppercase border-b border-foreground
18/20 hover:border-foreground pb-1 transition-all duration-500",children:"Explorar función craneomandibular"})]})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-8 leading-[1.15] tracking-[-0.01em]",children:"Readaptación clÃnica del movimiento"}),l.jsx("p",{className:"text-[15px] text-foreground/90 font-light editorial-text mb-10 text-balance",children:"La verdadera recuperación significa mucho más que el simple alivio del dolor. Significa restaurar la función perdida, corregir patrones compensatorios arraigados y reeducar al sistema nervioso para garantizar un movimiento eficiente y seguro, devolviendo la autonomÃa y la confianza fÃsica al paciente."})]}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5 lg:col-start-8",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/2026.2-W49Op.png",alt:"Readaptación mediante movimiento funcional",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-95 hover:grayscale-0 hover:opacity-100 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-secondary",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Zn,className:"md:col-span-5 lg:col-span-5 lg:col-start-8 order-2 md:order-2",children:l.jsx("div",{className:"w-[90%] md:w-full mx-auto md:ml-auto md:mr-0 bg-background/50 backdrop-blur-sm p-4 md:p-6",children:l.jsx("img",{src:"https://images.hostinger.com/37152533-a532-4d26-92d6-fa457e5c5357.png",alt:"Servicio de nutrición integrada",className:"w-full h-auto aspect-[4/5] object-cover opacity-95 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,className:"md:col-span-7 lg:col-span-6 order-1 md:order-1",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-6",children:"NUEVO SERVICIO"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-secondary-foreground mb-8 leading-[1.15] tracking-[-0.01em]",children:"Nutrición"}),l.jsx("p",{className:"text-[15px] text-secondary-foreground/90 font-light editorial-text mb-10 text-balance",children:"En el Método Noelia Mar entendemos el cuerpo como un todo. Cómo nos alimentamos, nuestro estado metabólico, la salud digestiva y el equilibrio nutricional también pueden influir en nuestra salud, recuperación y bienestar. Por eso incorporamos la Nutrición a nuestro método, con un abordaje integral, individualizado y basado en las necesidades reales de cada persona."}),l.jsx(ae,{to:"/areas-terapeuticas/nutricion",className:"text-[11px] font-medium tracking-[0.2em] text-secondary-foreground/70 hover:text-secondary-foreground uppercase border-b border-secondary-foreground/20 hover:border-secondary-foreground pb-1 transition-all duration-500",children:"Explorar Nutrición"})]})]})})}),l.jsx("section",{className:"editorial-section bg-background",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:fn,children:[l.jsx("p",{className:"text-[17px] md:text-[20px] font-serif text-accent leading-relaxed text-balance mb-16",children:"Las distintas disciplinas no definen el tratamiento. Lo define la capacidad de comprender qué está manteniendo el problema y cómo intervenir de forma coherente dentro de una estrategia clÃnica global. Porque cuando el cuerpo se entiende como un sistema integrado, el tratamiento deja de fragmentarse."}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-8 sm:gap-12 items-center justify-center",children:[l.jsx(ae,{to:"/contacto",className:"btn-editorial border-b border-primary/30 text-primary hover:border-primary hover:text-primary/80",children:"Solicitar valoración clÃnica avanzada"}),l.jsx(ae,{to:"/metodo-noelia-mar",className:"btn-editorial border-b border-foreground
18/20 text-foreground/70 hover:border-foreground/60 hover:text-foreground",children:"Conocer Método Noèlia Mar"})]})]})})})]}),er={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:1,ease:[.21,.47,.32,.98]}}},ju={hidden:{opacity:0,scale:.98},visible:{opacity:1,scale:1,transition:{duration:1.2,ease:"easeOut"}}},ZP=[{name:"Ixone Zudaire",specialty:"Fisioterapeuta y INEF",col1:"Nº colegiada: 12492",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/18c00f9abf165c9948691494750e7987.png",alt:"Ixone Zudaire - profesional con uniforme teal"},{name:"Marta Moreno",specialty:"Fisioterapeuta y readaptadora deportiva",col1:"Nº colegiada: 12615",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/5fa4cd851029282f2afc090fb835d569.png",alt:"Marta Moreno - profesional con uniforme teal"},{name:"Raquel Monteagudo",specialty:"Fisioterapeuta",col1:"Nº colegiada: 12774",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/119effa7458953fd7ad2fe3f12388331.png",alt:"Raquel Monteagudo - profesional con uniforme teal"},{name:"Lucas Cabella",specialty:"Fisioterapeuta y Osteópata",col1:"Nº colegiado: 17297",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/6f9025ae1f8052d65740c3df6b4cb6d0.png",alt:"Lucas Cabella - profesional con uniforme teal"},{name:"Tomás Delaflor",specialty:"Fisioterapeuta y Osteópata",col1:"Nº colegiado: 16039",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/e084a6b650418eafc3f7f2dc7573be30.png",alt:"Tomás Delaflor - profesional con uniforme teal"},{name:"Joaquim Oriol",specialty:"Osteópata",col1:"Nº col. OsteopatÃa: 617",col2:"Nº col. INEF: 54726",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/1671bc74bf0e82c3dbbb6fb18ceab888.png",alt:"Joaquim Oriol - profesional con uniforme teal"},{name:"Mireia Arellano",specialty:"Monitor deportivo profesional",col1:"Inscrita en REP 007796",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/f3458069b7cbd33cc03fbf073b0768dd.png",alt:"Mireia Arellano - profesional con uniforme teal"},{name:"Adriano do Santos",specialty:"Técnico de Pilates",image:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/018d3f5140fe8e2f01b47ce46c63bc22.png",alt:"Adriano do Santos - profesional con uniforme teal"}],ek=()=>l.jsxs("div",{className:"min-h-screen bg-white selection:bg-[#305172]/10 selection:text-[#305172]",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Equipo | Armonic Body"}),l.jsx("meta",{name:"description",content:"En Armonic Body, diferentes profesionales trabajan de forma coordinada bajo un mismo criterio clÃnico: comprender el origen del problema antes de intervenir."})]}),l.jsx("section",{className:"pt-20 pb-16 md:pt-24 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-12 md:gap-16 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:er,className:"md:col-span-6 lg:col-span-5 lg:pr-8",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-[#305172]/70 uppercase mb-10",children:"EQUIPO"}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-12 leading-[1.15] tracking-[-0.02em]",children:l.jsx("span",{style:{fontSize:"56px",lineHeight:"normal"},children:"Una misma visión. Un método"})}),l.jsx("p",{className:"text-[15px] text-foreground font-light editorial-text text-balance",children:"En Armonic Body trabajamos de forma coordinada porque entendemos que cada caso requiere una mirada global. Nuestros profesionales comparten una misma forma de entender el cuerpo y el tratamiento: observar, comprender el origen del problema y diseñar una estrategia personalizada. Porque un buen tratamiento no es la suma de técnicas, sino el resultado de un equipo que trabaja en la misma dirección."})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:ju,className:"md:col-span-6 lg:col-span-6 lg:col-start-7",children:l.jsx("div",{className:"w-[85%] md:w-full mx-auto editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-9-s5Maf.jpg",alt:"Interacción clÃnica real y espacio profesional",className:"w-full h-auto aspect-[3/4] object-cover grayscale-[15%] opacity-90 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsx(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:er,children:l.jsx("p",{className:"text-[16px] md:text-[18px] text-foreground font-light editorial-text",children:l.jsx("strong",{children:l.jsx("span",{style:{fontSize:"56px",lineHeight:"normal"},children:l.jsx("span",{style:{lineHeight:"normal",color:"rgb(50, 84, 116)"},children:"Distintas especialidades. Una misma mirada."})})})})})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:ju,className:"md:col-span-6 lg:col-span-6",children:l.jsx("div",{className:"w-[85%] md:w-[90%] mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/35-L81Nr.png",alt:"Retrato elegante de Noèlia MartÃnez",className:"w-full h-auto aspect-[4/5] object-cover mix-blend-multiply opacity-90 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:er,className:"md:col-span-6 lg:col-span-5 lg:col-start-8",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-2 tracking-[-0.01em]",children:"Noèlia MartÃnez"}),l.jsx("span",{className:"block text-[12px] font-medium tracking-[0.15em] text-[#305172] uppercase mb-8",children:"Directora clÃnica Armonic Body"}),l.jsx("p",{className:"text-[15px] text-foreground font-light editorial-text mb-8",children:"Enfermera, Psiconeuroinmunóloga clÃnica y posturóloga clÃnica. Nº colegiada: 08-042649. Con más de 25 años de experiencia en el ámbito de la salud, desarrolla un enfoque clÃnico integrativo basado en evidencia cientÃfica y en la comprensión global del paciente. Su trabajo se centra en el razonamiento clÃnico avanzado, la valoración funcional y la integración entre estructura, sistema nervioso y capacidad de adaptación del organismo."}),l.jsx("blockquote",{className:"border-l-2 border-[#305172]/20 pl-6 mt-8",children:l.jsx("p",{className:"text-[17px] font-serif italic text-accent leading-relaxed",children:'"Comprender qué mantiene el problema cambia completamente la manera de intervenir."'})})]})]})})}),l.jsx("section",{className:"editorial-section bg-white pb-24 md:pb-32",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:er,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-x-8 gap-y-16",children:ZP.map((n,e)=>l.jsxs("div",{className:"flex flex-col items-center text-center group",children:[l.jsx("div",{className:"w-full aspect-[4/5] bg-gray-50 mb-6 overflow-hidden relative rounded-sm",children:l.jsx("img",{src:n.image,alt:n.alt,className:"w-full h-full object-cover grayscale-[10%] group-hover:grayscale-0 group-hover:scale-[1.02] transition-all duration-700"})}),l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-2",children:n.name}),l.jsx("p",{className:"text-[10px] md:text-[11px] font-medium tracking-[0.15em] text-[#305172]/80 uppercase mb-2",children:n.specialty}),n.col1&&l.jsx("p",{className:"text-[13px] md:text-[14px] text-foreground/80 font-light mt-1",children:n.col1}),n.col2&&l.jsx("p",{className:"text-[13px] md:text-[14px] text-foreground/80 font-light mt-0.5",children:n.col2})]},e))}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:er,className:"mt-16 flex justify-center",children:l.jsxs("div",{className:"w-full sm:w-1/2 lg:w-[calc((100%-6rem)/4)] flex flex-col items-center text-center group",children:[l.jsx("div",{className:"w-full aspect-[4/5] bg-gray-50 mb-6 overflow-hidden relative rounded-sm",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/whatsapp-image-2026-09-12-at-12.01.42-3QgeP.jpeg",alt:"Sonia Castellanos, responsable de atención al paciente",className:"w-full h-full object-cover grayscale-[10%] group-hover:grayscale-0 group-hover:scale-[1.02] transition-all duration-700"})}),l.jsx("h3",{className:"text-xl md:text-2xl font-serif text-accent mb-2",children:"Sonia Castellanos"}),l.jsx("p",{className:"text-[10px] md:text-[11px] font-medium tracking-[0.15em] text-[#305172]/80 uppercase mb-2",children:"responsable de atención al paciente"})]})})]})}),l.jsx("section",{className:"editorial-section bg-[#EFECE6]/50",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[l.jsx("div",{className:"editorial-reading-width text-center mb-16",children:l.jsx(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:er,children:l.jsx("p",{className:"text-[16px] md:text-[18px] text-foreground font-light editorial-text",children:"La atención al paciente comienza mucho antes de la consulta. La organización, la coordinación y el acompañamiento forman parte de la experiencia asistencial de Armonic Body."})})}),l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:ju,children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3603-coipia-NX4Gj.jpg",alt:"Espacio clÃnico moderno y minimalista",className:"w-full h-[50vh] md:h-[65vh] object-cover rounded-sm mb-16 opacity-95"})}),l.jsx("div",{className:"editorial-reading-width text-center",children:l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:er,children:l.jsx("p",{className:"text-[15px] text-[#305172]/90 font-light editorial-text",children:"El espacio también forma parte de la experiencia terapéutica. Cada consulta, cada sala de trabajo y cada entorno del centro están pensados para favorecer una práctica clÃnica precisa, tranquila y centrada en la persona."})})})]})}),l.jsx("section",{className:"pt-24 pb-32 md:pt-32 md:pb-48 bg-white border-t border-gray-50",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:er,children:[l.jsx("p",{className:"text-[16px] md:text-[18px] text-accent font-serif leading-[1.8] mb-16 text-balance",children:"La coordinación entre profesionales no busca acumular tratamientos. Busca comprender mejor cada caso para intervenir con más coherencia, precisión y continuidad clÃnica. Porque cuando existe una visión compartida, el tratamiento deja de fragmentarse y el paciente deja de sentirse tratado por partes."}),l.jsx("div",{className:"inline-block mt-8",children:l.jsx(ae,{to:"/metodo-noelia-mar",className:"text-[11px] tracking-[0.2em] font-medium text-[#305172]/70 hover:text-[#305172] uppercase border-b border-[#305172]/20 hover:border-[#305172] pb-1 transition-all duration-500",children:"Conocer el Método Noèlia Mar"})})]})})})]});class gt extends Error{constructor(e){super("ClientResponseError"),this.url="",this.status=0,this.response={},this.isAbort=!1,this.originalError=null,Object.setPrototypeOf(this,gt.prototype),e!==null&&typeof e=="object"&&(this.originalError=e.originalError,this.url=typeof e.url=="string"?e.url:"",this.status=typeof e.status=="number"?e.status:0,this.isAbort=!!e.isAbort||e.name==="AbortError"||e.message==="Aborted",e.response!==null&&typeof e.response=="object"?this.response=e.response:e.data!==null&&typeof e.data=="object"?this.response=e.data:this.response={}),this.originalError||e instanceof gt||(this.originalError=e),this.name="ClientResponseError "+this.status,this.message=this.response?.message,this.message||(this.isAbort?this.message="The request was aborted (most likely autocancelled; you can find more info in https://github.com/pocketbase/js-sdk#auto-cancellation).":this.originalError?.cause?.message?.includes("ECONNREFUSED ::1")?this.message="Failed to connect to the PocketBase server. Try changing the SDK URL from localhost to 127.0.0.1 (https://github.com/pocketbase/js-sdk/issues/21).":this.message="Something went wrong."),this.cause=this.originalError}get data(){return this.response}toJSON(){return{...this}}}const ha=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function tk(n,e){const i={};if(typeof n!="string")return i;const s=Object.assign({},{}).decode||nk;let a=0;for(;a<n.length;){const c=n.indexOf("=",a);if(c===-1)break;let d=n.indexOf(";",a);if(d===-1)d=n.length;else if(d<c){a=n.lastIndexOf(";",c-1)+1;continue}const f=n.slice(a,c).trim();if(i[f]===void 0){let p=n.slice(c+1,d).trim();p.charCodeAt(0)===34&&(p=p.slice(1,-1));try{i[f]=s(p)}catch{i[f]=p}}a=d+1}return i}function ox(n,e,i){const s=Object.assign({},i||{}),a=s.encode||rk;
18if(!ha.test(n))throw new TypeError("argument name is invalid");const c=a(e);if(c&&!ha.test(c))throw new TypeError("argument val is invalid");let d=n+"="+c;if(s.maxAge!=null){const f=s.maxAge-0;if(isNaN(f)||!isFinite(f))throw new TypeError("option maxAge is invalid");d+="; Max-Age="+Math.floor(f)}if(s.domain){if(!ha.test(s.domain))throw new TypeError("option domain is invalid");d+="; Domain="+s.domain}if(s.path){if(!ha.test(s.path))throw new TypeError("option path is invalid");d+="; Path="+s.path}if(s.expires){if(!(function(p){return Object.prototype.toString.call(p)==="[object Date]"||p instanceof Date})(s.expires)||isNaN(s.expires.valueOf()))throw new TypeError("option expires is invalid");d+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(d+="; HttpOnly"),s.secure&&(d+="; Secure"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():s.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw new TypeError("option priority is invali
18d")}if(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite){case!0:d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"strict":d+="; SameSite=Strict";break;case"none":d+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return d}function nk(n){return n.indexOf("%")!==-1?decodeURIComponent(n):n}function rk(n){return encodeURIComponent(n)}const ik=typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal;let Qy;function gi(n){if(n)try{const e=decodeURIComponent(Qy(n.split(".")[1]).split("").map((function(i){return"%"+("00"+i.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(e)||{}}catch{}return{}}function Xy(n,e=0){let i=gi(n);return!(Object.keys(i).length>0&&(!i.exp||i.exp-e>Date.now()/1e3))}Qy=typeof atob!="function"||ik?n=>{let e=String(n).replace(/=+$/,"");if(e.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,s,a=0,c=0,d="";s=e.charAt(c++);~s&&(i=a%4?64*i+s:s,a++%4)?d+=String.fromCharCode(255&i>>(-2*a&6)):0)s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(s);return d}:atob;const ax="pb_auth";class af{constructor(){this.baseToken="",this.baseModel=null,this._onChangeCallbacks=[]}get token(){return this.baseToken}get record(){return this.baseModel}get model(){return this.baseModel}get isValid(){return!Xy(this.token)}get isSuperuser(){let e=gi(this.token);return e.type=="auth"&&(this.record?.collectionName=="_superusers"||!this.record?.collectionName&&e.collectionId=="pbc_3142635823")}get isAdmin(){return console.warn("Please replace pb.authStore.isAdmin with pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),this.isSuperuser}get isAuthRecord(){return console.warn("Please replace pb.authStore.isAuthRecord with !pb.authStore.isSuperuser OR simply check the value of pb.authStore.record?.collectionName"),gi(this.token).type=="auth"&&!this.isSuperuser}save(e,i){this.baseToken=e||"",this.baseModel=i||null,this.triggerChange()}clear(){this.baseToken="",this.baseModel=null,this.triggerChange()}loadFromCookie(e,i=ax){const s=tk(e||"")[i]||"";let a={};try{a=JSON.parse(s),(typeof a===null||typeof a!="object"||Array.isArray(a))&&(a={})}catch{}this.save(a.token||"",a.record||a.model||null)}exportToCookie(e,i=ax){const s={secure:!0,sameSite:!0,httpOnly:!0,path:"/"},a=gi(this.token);s.expires=a?.exp?new Date(1e3*a.exp):new Date("1970-01-01"),e=Object.assign({},s,e);const c={token:this.token,record:this.record?JSON.parse(JSON.stringify(this.record)):null};let d=ox(i,JSON.stringify(c),e);const f=typeof Blob<"u"?new Blob([d]).size:d.length;if(c.record&&f>4096){c.record={id:c.record?.id,email:c.record?.email};const p=["collectionId","collectionName","verified"];for(const h in this.record)p.includes(h)&&(c.record[h]=this.record[h]);d=ox(i,JSON.stringify(c),e)}return d}onChange(e,i=!1){return this._onChangeCallbacks.push(e),i&&e(this.token,this.record),()=>{for(let s=this._onChangeCallbacks.length-1;s>=0;s--)if(this._onChangeCallbacks[s]==e)return delete this._onChangeCallbacks[s],void this._onChangeCallbacks.splice(s,1)}}triggerChange(){for(const e of this._onChangeCallbacks)e&&e(this.token,this.record)}}class sk extends af{constructor(e="pocketbase_auth"){super(),this.storageFallback={},this.storageKey=e,this._bindStorageEvent()}get token(){return(this._storageGet(this.storageKey)||{}).token||""}get record(){const e=this._storageGet(this.storageKey)||{};return e.record||e.model||null}get model(){return this.record}save(e,i){this._storageSet(this.storageKey,{token:e,record:i}),super.save(e,i)}clear(){this._storageRemove(this.storageKey),super.clear()}_storageGet(e){if(typeof window<"u"&&window?.localStorage){const i=window.localStorage.getItem(e)||"";try{return JSON.parse(i)}catch{return i}}return this.storageFallback[e]}_storageSet(e,i){if(typeof window<"u"&&window?.localStorage){let s=i;typeof i!="string"&&(s=JSON.stringify(i)),window.localStorage.setItem(e,s)}else this.storageFallback[e]=i}_storageRemove(e){typeof window<"u"&&window?.localStorage&&window.localStorage?.removeItem(e),delete this.storageFallback[e]}_bindStorageEvent(){typeof window<"u"&&window?.localStorage&&window.addEventListener&&window.addEventListener("storage",(e=>{if(e.key!=this.storageKey)return;const i=this._storageGet(this.storageKey)||{};super.save(i.token||"",i.record||i.model||null)}))}}class gn{constructor(e){this.client=e}}class ok extends gn{async getAll(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/settings",e)}async update(e,i){return i=Object.assign({method:"PATCH",body:e},i),this.client.send("/api/settings",i)}
vendor: 22,703 bytes, line 18
18async testS3(e="storage",i){return i=Object.assign({method:"POST",body:{filesystem:e}},i),this.client.send("/api/settings/test/s3",i).then((()=>!0))}async testEmail(e,i,s,a){return a=Object.assign({method:"POST",body:{email:i,template:s,collection:e}},a),this.client.send("/api/settings/test/email",a).then((()=>!0))}async generateAppleClientSecret(e,i,s,a,c,d){return d=Object.assign({method:"POST",body:{clientId:e,teamId:i,keyId:s,privateKey:a,duration:c}},d),this.client.send("/api/settings/apple/generate-client-secret",d)}}const ak=["requestKey","$cancelKey","$autoCancel","fetch","headers","body","query","params","cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","signal","window"];function lf(n){if(n){n.query=n.query||{};for(let e in n)ak.includes(e)||(n.query[e]=n[e],delete n[e])}}function cf(n){const e=[];for(const i in n){const s=encodeURIComponent(i),a=Array.isArray(n[i])?n[i]:[n[i]];for(let c of a)c=lk(c),c!==null&&e.push(s+"="+c)}return e.join("&")}function lk(n){return n==null?null:n instanceof Date?encodeURIComponent(n.toISOString().replace("T"," ")):encodeURIComponent(typeof n=="object"?JSON.stringify(n):n)}class Jy extends gn{constructor(){super(...arguments),this.clientId="",this.eventSource=null,this.subscriptions={},this.lastSentSubscriptions=[],this.maxConnectTimeout=15e3,this.reconnectAttempts=0,this.maxReconnectAttempts=1/0,this.predefinedReconnectIntervals=[200,300,500,1e3,1200,1500,2e3],this.pendingConnects=[],this.pendingSubmits=[],this.isProcessingPendingSubmits=!1}get isConnected(){return!!this.eventSource&&!!this.clientId&&!this.pendingConnects.length}async subscribe(e,i,s){if(!e)throw new Error("topic must be set.");let a=e;if(s){lf(s=Object.assign({},s));const d="options="+encodeURIComponent(JSON.stringify({query:s.query,headers:s.headers}));a+=(a.includes("?")?"&":"?")+d}const c=function(d){const f=d;let p;try{p=JSON.parse(f?.data)}catch{}i(p||{})};return this.subscriptions[a]||(this.subscriptions[a]=[]),this.subscriptions[a].push(c),this.isConnected?this.subscriptions[a].length===1?await this.submitSubscriptions():this.eventSource?.addEventListener(a,c):await this.connect(),async()=>this.unsubscribeByTopicAndListener(e,c)}async unsubscribe(e){if(e){const i=this.getSubscriptionsByTopic(e);for(let s in i)if(this.hasSubscriptionListeners(s)){for(let a of this.subscriptions[s])this.eventSource?.removeEventListener(s,a);delete this.subscriptions[s]}}else this.subscriptions={};await this.submitSubscriptions()}async unsubscribeByPrefix(e){let i=!1;for(let s in this.subscriptions)if((s+"?").startsWith(e)){i=!0;for(let a of this.subscriptions[s])this.eventSource?.removeEventListener(s,a);delete this.subscriptions[s]}i&&await this.submitSubscriptions()}async unsubscribeByTopicAndListener(e,i){const s=this.getSubscriptionsByTopic(e);for(let a in s){if(!Array.isArray(this.subscriptions[a])||!this.subscriptions[a].length)continue;let c=!1;for(let d=this.subscriptions[a].length-1;d>=0;d--)this.subscriptions[a][d]===i&&(c=!0,delete this.subscriptions[a][d],this.subscriptions[a].splice(d,1),this.eventSource?.removeEventListener(a,i));c&&(this.subscriptions[a].length||delete this.subscriptions[a])}await this.submitSubscriptions()}hasSubscriptionListeners(e){if(this.subscriptions=this.subscriptions||{},e)return!!this.subscriptions[e]?.length;for(let i in this.subscriptions)if(this.subscriptions[i]?.length)return!0;return!1}async submitSubscriptions(){return new Promise(((e,i)=>{this.pendingSubmits.push({resolve:e,reject:i}),this.pendingSubmits.length==1&&queueMicrotask((()=>this.finalizePendingSubscriptions()))}))}async finalizePendingSubscriptions(){if(this.isProcessingPendingSubmits||!this.pendingSubmits.length)return;const e=this.pendingSubmits.slice();this.pendingSubmits=[],this.isProcessingPendingSubmits=!0;try{await this.sendSubscriptions();for(let i of e)i.resolve()}catch(i){for(let s of e)i?s.reject(i):s.resolve()}finally{this.isProcessingPendingSubmits=!1,this.pendingSubmits.length>0&&await this.finalizePendingSubscriptions()}}getSubscriptionsCancelKey(){return"realtime_"+this.clientId}getSubscriptionsByTopic(e){const i={};e=e.includes("?")?e:e+"?";for(let s in this.subscriptions)(s+"?").startsWith(e)&&(i[s]=this.subscriptions[s]);return i}getNonEmptySubscriptionKeys(){const e=[];for(let i in this.subscriptions)this.subscriptions[i].length&&e.push(i);return e}hasUnsentSubscriptions(){const e=this.getNonEmptySubscriptionKeys();if(e.length!=this.lastSentSubscriptions.length)return!0;for(const i of e)if(!this.lastSentSubscriptions.includes(i))return!0;return!1}async sendSubscriptions(){if(this.clientId){if(!this.hasSubscriptionListeners())return this.disconnect();if(this.hasUnsentSubscriptions())return this.addAllSubscriptionListeners(),this.lastSentSubscriptions=this.getNonEmptySubscriptionKeys(),this.client.send("/api/realtime",{method:"POST",body:{clientId:this.clientId,subscriptions:this.lastSentSubscriptions},requestKey:this.getSubscriptionsCancelKey()}).catch((e=>{if(!e?.isAbort)throw e}))}}addAllSubscriptionListeners(){if(this.eventSource){this.removeAllSubscriptionListeners();for(let e in this.subscriptions)for(let i of this.subscriptions[e])this.eventSource.addEventListener(e,i)}}removeAllSubscriptionListeners(){if(this.eventSource)for(let e in this.subscriptions)for(let i of this.subscriptions[e])this.eventSource.removeEventListener(e,i)}async connect(){if(!(this.reconnectAttempts>0))return new Promise(((e,i)=>{this.pendingConnects.push({resolve:e,reject:i}),this.pendingConnects.length==1&&queueMicrotask((()=>this.initConnect()))}))}initConnect(){this.disconnect(!0),clearTimeout(this.connectTimeoutId),this.connectTimeoutId=setTimeout((()=>{this.connectErrorHandler(new Error("EventSource connect took too long."))}),this.maxConnectTimeout),this.eventSource=new EventSource(this.client.buildURL("/api/realtime")),this.eventSource.onerror=e=>{this.connectErrorHandler(new Error("Failed to establish realtime connection."))},this.eventSource.addEventListener("PB_CONNECT",(e=>{const i=e;this.clientId=i?.lastEventId,this.lastSentSubscriptions=[],this.submitSubscriptions().then((async()=>{let s=3;for(;this.hasUnsentSubscriptions()&&s>0;)s--,await this.submitSubscriptions();for(let c of this.pendingConnects)c.resolve();this.pendingConnects=[],this.reconnectAttempts=0,clearTimeout(this.reconnectTimeoutId),clearTimeout(this.connectTimeoutId);const a=this.getSubscriptionsByTopic("PB_CONNECT");for(let c in a)for(let d of a[c])d(e);this.hasUnsentSubscriptions()&&await this.submitSubscriptions()})).catch((s=>{this.clientId="",this.lastSentSubscriptions=[],this.connectErrorHandler(s)}))}))}connectErrorHandler(e){if(clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),!this.clientId&&!this.reconnectAttempts||this.reconnectAttempts>this.maxReconnectAttempts){for(let s of this.pendingConnects)s.reject(new gt(e));return this.pendingConnects=[],void this.disconnect()}this.disconnect(!0);const i=this.predefinedReconnectIntervals[this.reconnectAttempts]||this.predefinedReconnectIntervals[this.predefinedReconnectIntervals.length-1];this.reconnectAttempts++,this.reconnectTimeoutId=setTimeout((()=>{this.initConnect()}),i)}disconnect(e=!1){if(this.clientId&&this.onDisconnect&&this.onDisconnect(Object.keys(this.subscriptions)),clearTimeout(this.connectTimeoutId),clearTimeout(this.reconnectTimeoutId),this.removeAllSubscriptionListeners(),this.client.cancelRequest(this.getSubscriptionsCancelKey()),this.eventSource?.close(),this.eventSource=null,this.clientId="",this.lastSentSubscriptions=[],!e){this.reconnectAttempts=0;for(let i of this.pendingConnects)i.resolve();this.pendingConnects=[]}}}class Zy extends gn{decode(e){return e}async getFullList(e,i){if(typeof e=="number")return this._getFullList(e,i);let s=1e3;return(i=Object.assign({},e,i)).batch&&(s=i.batch,delete i.batch),this._getFullList(s,i)}async getList(e=1,i=30,s){return(s=Object.assign({method:"GET"},s)).query=Object.assign({page:e,perPage:i},s.query),this.client.send(this.baseCrudPath,s).then((a=>(a.items=a.items?.map((c=>this.decode(c)))||[],a)))}async getFirstListItem(e,i){return(i=Object.assign({requestKey:"one_by_filter_"+this.baseCrudPath+"_"+e},i)).query=Object.assign({filter:e,skipTotal:1},i.query),this.getList(1,1,i).then((s=>{if(!s?.items?.length)throw new gt({status:404,response:{code:404,message:"The requested resource wasn't found.",data:{}}});return s.items[0]}))}async getOne(e,i){if(!e)throw new gt({url:this.client.buildURL(this.baseCrudPath+"/"),status:404,response:{code:404,message:"Missing required record id.",data:{}}});return i=Object.assign({method:"GET"},i),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),i).then((s=>this.decode(s)))}async create(e,i){return i=Object.assign({method:"POST",body:e},i),this.client.send(this.baseCrudPath,i).then((s=>this.decode(s)))}async update(e,i,s){return s=Object.assign({method:"PATCH",body:i},s),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),s).then((a=>this.decode(a)))}async delete(e,i){return i=Object.assign({method:"DELETE"},i),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e),i).then((()=>!0))}_getFullList(e=1e3,i){(i=i||{}).query=Object.assign({skipTotal:1},i.query);let s=[],a=async c=>this.getList(c,e||1e3,i).then((d=>{const f=d.items;return s=s.concat(f),f.length==d.perPage?a(c+1):s}));return a(1)}}function tr(n,e,i,s){const a=s!==void 0;return a||i!==void 0?a?(console.warn(n),e.body=Object.assign({},e.body,i),e.query=Object.assign({},e.query,s),e):Object.assign(e,i):e}function Su(n){n._resetAutoRefresh?.()}class ck extends Zy{constructor(e,i){super(e),this.collectionIdOrName=i}get baseCrudPath(){return this.baseCollectionPath+"/records"}get baseCollectionPath(){return"/api/collections/"+encodeURIComponent(this.collectionIdOrName)}get isSuperusers(){return this.collectionIdOrName=="_superusers"||this.collectionIdOrName=="_pbc_2773867675"}async subscribe(e,i,s){if(!e)throw new Error("Missing topic.");if(!i)throw new Error("Missing subscription callback.");return this.client.realtime.subscribe(this.collectionIdOrName+"/"+e,i,s)}async unsubscribe(e){return e?this.client.realtime.unsubscribe(this.collectionIdOrName+"/"+e):this.client.realtime.unsubscribeByPrefix(this.collectionIdOrName)}async getFullList(e,i){if(typeof e=="number")return super.getFullList(e,i);const s=Object.assign({},e,i);return super.getFullList(s)}async getList(e=1,i=30,s){return super.getList(e,i,s)}async getFirstListItem(e,i){return super.getFirstListItem(e,i)}async getOne(e,i){return super.getOne(e,i)}async create(e,i){return super.create(e,i)}async update(e,i,s){return super.update(e,i,s).then((a=>{if(this.client.authStore.record?.id===a?.id&&(this.client.authStore.record?.collectionId===this.collectionIdOrName||this.client.authStore.record?.collectionName===this.collectionIdOrName)){let c=Object.assign({},this.client.authStore.record.expand),d=Object.assign({},this.client.authStore.record,a);c&&(d.expand=Object.assign(c,a.expand)),this.client.authStore.save(this.client.authStore.token,d)}return a}))}async delete(e,i){return super.delete(e,i).then((s=>(!s||this.client.authStore.record?.id!==e||this.client.authStore.record?.collectionId!==this.collectionIdOrName&&this.client.authStore.record?.collectionName!==this.collectionIdOrName||this.client.authStore.clear(),s)))}authResponse(e){const i=this.decode(e?.record||{});return this.client.authStore.save(e?.token,i),Object.assign({},e,{token:e?.token||"",record:i})}async listAuthMethods(e){return e=Object.assign({method:"GET",fields:"mfa,otp,password,oauth2"},e),this.client.send(this.baseCollectionPath+"/auth-methods",e)}async authWithPassword(e,i,s){let a;s=Object.assign({method:"POST",body:{identity:e,password:i}},s),this.isSuperusers&&(a=s.autoRefreshThreshold,delete s.autoRefreshThreshold,s.autoRefresh||Su(this.client));let c=await this.client.send(this.baseCollectionPath+"/auth-with-password",s);return c=this.authResponse(c),a&&this.isSuperusers&&(function(f,p,h,x){Su(f);const v=f.beforeSend,y=f.authStore.record,S=f.authStore.onChange(((E,N)=>{(!E||N?.id!=y?.id||(N?.collectionId||y?.collectionId)&&N?.collectionId!=y?.collectionId)&&Su(f)}));f._resetAutoRefresh=function(){S(),f.beforeSend=v,delete f._resetAutoRefresh},f.beforeSend=async(E,N)=>{const j=f.authStore.token;if(N.query?.autoRefresh)return v?v(E,N):{url:E,sendOptions:N};let T=f.authStore.isValid;if(T&&Xy(f.authStore.token,p))try{await h()}catch{T=!1}T||await x();const O=N.headers||{};for(let k in O)if(k.toLowerCase()=="authorization"&&j==O[k]&&f.authStore.token){O[k]=f.authStore.token;break}return N.headers=O,v?v(E,N):{url:E,sendOptions:N}}})(this.client,a,(()=>this.authRefresh({autoRefresh:!0})),(()=>this.authWithPassword(e,i,Object.assign({autoRefresh:!0},s)))),c}async authWithOAuth2Code(e,i,s,a,c,d,f){let p={method:"POST",body:{provider:e,code:i,codeVerifier:s,redirectURL:a,createData:c}};return p=tr("This form of authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectURL, createData?, options?).",p,d,f),this.client.send(this.baseCollectionPath+"/auth-with-oauth2",p).then((h=>this.authResponse(h)))}authWithOAuth2(...e){if(e.length>1||typeof e?.[0]=="string")return console.warn("PocketBase: This form of authWithOAuth2() is deprecated and may get removed in the future. Please replace with authWithOAuth2Code() OR use the authWithOAuth2() realtime form as shown in https://pocketbase.io/docs/authentication/#oauth2-integration."),this.authWithOAuth2Code(e?.[0]||"",e?.[1]||"",e?.[2]||"",e?.[3]||"",e?.[4]||{},e?.[5]||{},e?.[6]||{});const i=e?.[0]||{};let s=null;i.urlCallback||(s=lx(void 0));const a=new Jy(this.client);function c(){s?.close(),a.unsubscribe()}const d={},f=i.requestKey;return f&&(d.requestKey=f),this.listAuthMethods(d).then((p=>{const h=p.oauth2.providers.find((v=>v.name===i.provider));if(!h)throw new gt(new Error(`Missing or invalid provider "${i.provider}".`));const x=this.client.buildURL("/api/oauth2-redirect");return new Promise((async(v,y)=>{const S=f?this.client.cancelControllers?.[f]:void 0;S&&(S.signal.onabort=()=>{c(),y(new gt({isAbort:!0,message:"manually cancelled"}))}),a.onDisconnect=E=>{E.length&&y&&(c(),y(new gt(new Error("realtime connection interrupted"))))};try{await a.subscribe("@oauth2",(async T=>{const O=a.clientId;try{if(!T.state||O!==T.state)throw new Error("State parameters don't match.");if(T.error||!T.code)throw new Error("OAuth2 redirect error or missing code: "+T.error);const k=Object.assign({},i);delete k.provider,delete k.scopes,delete k.createData,delete k.urlCallback,S?.signal?.onabort&&(S.signal.onabort=null);const _=await this.authWithOAuth2Code(h.name,T.code,h.codeVerifier,x,i.createData,k);v(_)}catch(k){y(new gt(k))}c()}));const E={state:a.clientId};i.scopes?.length&&(E.scope=i.scopes.join(" "));const N=this._replaceQueryParams(h.authURL+x,E);await(i.urlCallback||function(T){s?s.location.href=T:s=lx(T)})(N)}catch(E){S?.signal?.onabort&&(S.signal.onabort=null),c(),y(new gt(E))}}))})).catch((p=>{throw c(),p}))}async authRefresh(e,i){let s={method:"POST"};return s=tr("This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).",s,e,i),this.client.send(this.baseCollectionPath+"/auth-refresh",s).then((a=>this.authResponse(a)))}async requestPasswordReset(e,i,s){let a={method:"POST",body:{email:e}};return a=tr("This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).",a,i,s),this.client.send(this.baseCollectionPath+"/request-password-reset",a).then((()=>!0))}async confirmPasswordReset(e,i,s,a,c){let d={method:"POST",body:{token:e,password:i,passwordConfirm:s}};return d=tr("This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).",d,a,c),this.client.send(this.baseCollectionPath+"/confirm-password-reset",d).then((()=>!0))}async requestVerification(e,i,s){let a={method:"POST",body:{email:e}};return a=tr("This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).",a,i,s),this.client.send(this.baseCollectionPath+"/request-verification",a).then((()=>!0))}async confirmVerification(e,i,s){let a={method:"POST",body:{token:e}};return a=tr("This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).",a,i,s),this.client.send(this.baseCollectionPath+"/confirm-verification",a).then((()=>{const c=gi(e),d=this.client.authStore.record;return d&&!d.verified&&d.id===c.id&&d.collectionId===c.collectionId&&(d.verified=!0,this.client.authStore.save(this.client.authStore.token,d)),!0}))}async requestEmailChange(e,i,s){let a={method:"POST",body:{newEmail:e}};return a=tr("This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).",a,i,s),this.client.send(this.baseCollectionPath+"/request-email-change",a).then((()=>!0))}async confirmEmailChange(e,i,s,a){let c={method:"POST",body:{token:e,password:i}};return c=tr("This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).",c,s,a),this.client.send(this.baseCollectionPath+"/confirm-email-change",c).then((()=>{const d=gi(e),f=this.client.authStore.record;return f&&f.id===d.id&&f.collectionId===d.collectionId&&this.client.authStore.clear(),!0}))}async listExternalAuths(e,i){return this.client.collection("_externalAuths").getFullList(Object.assign({},i,{filter:this.client.filter("recordRef = {:id}",{id:e})}))}async unlinkExternalAuth(e,i,s){const a=await this.client.collection("_externalAuths").getFirstListItem(this.client.filter("recordRef = {:recordId} && provider = {:provider}",{recordId:e,provider:i}));return this.client.collection("_externalAuths").delete(a.id,s).then((()=>!0))}async requestOTP(e,i){return i=Object.assign({method:"POST",body:{email:e}},i),this.client.send(this.baseCollectionPath+"/request-otp",i)}async authWithOTP(e,i,s){return s=Object.assign({method:"POST",body:{otpId:e,password:i}},s),this.client.send(this.baseCollectionPath+"/auth-with-otp",s).then((a=>this.authResponse(a)))}async impersonate(e,i,s){(s=Object.assign({method:"POST",body:{duration:i}},s)).headers=s.headers||{},s.headers.Authorization||(s.headers.Authorization=this.client.authStore.token);const a=new e0(this.client.baseURL,new af,this.client.lang),c=await a.send(this.baseCollectionPath+"/impersonate/"+encodeURIComponent(e),s);return a.authStore.save(c?.token,this.decode(c?.record||{})),a}_replaceQueryParams(e,i={}){let s=e,a="";e.indexOf("?")>=0&&(s=e.substring(0,e.indexOf("?")),a=e.substring(e.indexOf("?")+1));const c={},d=a.split("&");for(const f of d){if(f=="")continue;const p=f.split("=");c[decodeURIComponent(p[0].replace(/\+/g," "))]=decodeURIComponent((p[1]||"").replace(/\+/g," "))}for(let f in i)i.hasOwnProperty(f)&&(i[f]==null?delete c[f]:c[f]=i[f]);a="";for(let f in c)c.hasOwnProperty(f)&&(a!=""&&(a+="&"),a+=encodeURIComponent(f.replace(/%20/g,"+"))+"="+encodeURIComponent(c[f].replace(/%20/g,"+")));return a!=""?s+"?"+a:s}}function lx(n){if(typeof window>"u"||!window?.open)throw new gt(new Error("Not in a browser context - please pass a custom urlCallback function."));let e=1024,i=768,s=window.innerWidth,a=window.innerHeight;e=e>s?s:e,i=i>a?a:i;let c=s/2-e/2,d=a/2-i/2;return window.open(n,"popup_window","width="+e+",height="+i+",top="+d+",left="+c+",resizable,menubar=no")}class uk extends Zy{get baseCrudPath(){return"/api/collections"}async import(e,i=!1,s){return s=Object.assign({method:"PUT",body:{collections:e,deleteMissing:i}},s),this.client.send(this.baseCrudPath+"/import",s).then((()=>!0))}async truncate(e,i){return i=Object.assign({method:"DELETE"},i),this.client.send(this.baseCrudPath+"/"+encodeURIComponent(e)+"/truncate",i).then((()=>!0))}async getScaffolds(e){return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/meta/scaffolds",e)}async getAllOAuth2Providers(e){return e=Object.assign({method:"GET"},e),this.client.send(this.baseCrudPath+"/meta/oauth2-providers",e)}async dryRunViewQuery(e,i){return i=Object.assign({method:"POST",body:{query:e}},i),this.client.send(this.baseCrudPath+"/meta/dry-run-view",i)}}class dk extends gn{async getList(e=1,i=30,s){return(s=Object.assign({method:"GET"},s)).query=Object.assign({page:e,perPage:i},s.query),this.client.send("/api/logs",s)}async getOne(e,i){if(!e)throw new gt({url:this.client.buildURL("/api/logs/"),status:404,response:{code:404,message:"Missing required log id.",data:{}}});return i=Object.assign({method:"GET"},i),this.client.send("/api/logs/"+encodeURIComponent(e),i)}async getStats(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/logs/stats",e)}async truncate(e){return e=Object.assign({method:"DELETE"},e),this.client.send("/api/logs",e).then((()=>!0))}}class fk extends gn{async check(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/health",e)}}class pk extends gn{getUrl(e,i,s={}){return console.warn("Please replace pb.files.getUrl() with pb.files.getURL()"),this.getURL(e,i,s)}getURL(e,i,s={}){if(!i||!e?.id||!e?.collectionId&&!e?.collectionName)return"";const a=[];a.push("api"),a.push("files"),a.push(encodeURIComponent(e.collectionId||e.collectionName)),a.push(encodeURIComponent(e.id)),a.push(encodeURIComponent(i));let c=this.client.buildURL(a.join("/"));s.download===!1&&delete s.download;const d=cf(s);return d&&(c+=(c.includes("?")?"&":"?")+d),c}async getToken(e){return e=Object.assign({method:"POST"},e),this.client.send("/api/files/token",e).then((i=>i?.token||""))}}class mk extends gn{async getFullList(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/backups",e)}async create(e,i){return i=Object.assign({method:"POST",body:{name:e}},i),this.client.send("/api/backups",i).then((()=>!0))}async upload(e,i){return i=Object.assign({method:"POST",body:e},i),this.client.send("/api/backups/upload",i).then((()=>!0))}async delete(e,i){return i=Object.assign({method:"DELETE"},i),this.client.send(`/api/backups/${encodeURIComponent(e)}`,i).then((()=>!0))}async restore(e,i){return i=Object.assign({method:"POST"},i),this.client.send(`/api/backups/${encodeURIComponent(e)}/restore`,i).then((()=>!0))}getDownloadUrl(e,i){return console.warn("Please replace pb.backups.getDownloadUrl(
18) with pb.backups.getDownloadURL()"),this.getDownloadURL(e,i)}getDownloadURL(e,i){return this.client.buildURL(`/api/backups/${encodeURIComponent(i)}?token=${encodeURIComponent(e)}`)}}class hk extends gn{async getFullList(e){return e=Object.assign({method:"GET"},e),this.client.send("/api/crons",e)}async run(e,i){return i=Object.assign({method:"POST"},i),this.client.send(`/api/crons/${encodeURIComponent(e)}`,i).then((()=>!0))}}class gk extends gn{async run(e,i){return i=Object.assign({method:"POST",body:{query:e}},i),this.client.send("/api/sql",i)}}function Zu(n){return typeof Blob<"u"&&n instanceof Blob||typeof File<"u"&&n instanceof File||n!==null&&typeof n=="object"&&n.uri&&(typeof navigator<"u"&&navigator.product==="ReactNative"||typeof global<"u"&&global.HermesInternal)}function ed(n){return n&&(n.constructor?.name==="FormData"||typeof FormData<"u"&&n instanceof FormData)}function cx(n){for(const e in n){const i=Array.isArray(n[e])?n[e]:[n[e]];for(const s of i)if(Zu(s))return!0}return!1}const xk=/^[\-\.\d]+$/;function ux(n){if(typeof n!="string")return n;if(n=="true")return!0;if(n=="false")return!1;if((n[0]==="-"||n[0]>="0"&&n[0]<="9")&&xk.test(n)){let e=+n;if(""+e===n)return e}return n}class vk extends gn{constructor(){super(...arguments),this.requests=[],this.subs={}}collection(e){return this.subs[e]||(this.subs[e]=new yk(this.requests,e)),this.subs[e]}async send(e){const i=new FormData,s=[];for(let a=0;a<this.requests.length;a++){const c=this.requests[a];if(s.push({method:c.method,url:c.url,headers:c.headers,body:c.json}),c.files)for(let d in c.files){const f=c.files[d]||[];for(let p of f)i.append("requests."+a+"."+d,p)}}return i.append("@jsonPayload",JSON.stringify({requests:s})),e=Object.assign({method:"POST",body:i},e),this.client.send("/api/batch",e)}}class yk{constructor(e,i){this.requests=[],this.requests=e,this.collectionIdOrName=i}upsert(e,i){i=Object.assign({body:e||{}},i);const s={method:"PUT",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(s,i),this.requests.push(s)}create(e,i){i=Object.assign({body:e||{}},i);const s={method:"POST",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records"};this.prepareRequest(s,i),this.requests.push(s)}update(e,i,s){s=Object.assign({body:i||{}},s);const a={method:"PATCH",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(a,s),this.requests.push(a)}delete(e,i){i=Object.assign({},i);const s={method:"DELETE",url:"/api/collections/"+encodeURIComponent(this.collectionIdOrName)+"/records/"+encodeURIComponent(e)};this.prepareRequest(s,i),this.requests.push(s)}prepareRequest(e,i){if(lf(i),e.headers=i.headers,e.json={},e.files={},i.query!==void 0){const a=cf(i.query);a&&(e.url+=(e.url.includes("?")?"&":"?")+a)}let s=i.body;ed(s)&&(s=(function(c){let d={};return c.forEach(((f,p)=>{if(p==="@jsonPayload"&&typeof f=="string")try{let h=JSON.parse(f);Object.assign(d,h)}catch(h){console.warn("@jsonPayload error:",h)}else d[p]!==void 0?(Array.isArray(d[p])||(d[p]=[d[p]]),d[p].push(ux(f))):d[p]=ux(f)})),d})(s));for(const a in s){const c=s[a];if(Zu(c))e.files[a]=e.files[a]||[],e.files[a].push(c);else if(Array.isArray(c)){const d=[],f=[];for(const p of c)Zu(p)?d.push(p):f.push(p);if(d.length>0&&d.length==c.length){e.files[a]=e.files[a]||[];for(let p of d)e.files[a].push(p)}else if(e.json[a]=f,d.length>0){let p=a;a.startsWith("+")||a.endsWith("+")||(p+="+"),e.files[p]=e.files[p]||[];for(let h of d)e.files[p].push(h)}}else e.json[a]=c}}}RegExp.escape||(RegExp.escape=function(n){return n.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")});class e0{get baseUrl(){return this.baseURL}set baseUrl(e){this.baseURL=e}constructor(e="/",i,s="en-US"){this.cancelControllers={},this.recordServices={},this.enableAutoCancellation=!0,this.baseURL=e,this.lang=s,i?this.authStore=i:typeof window<"u"&&window.Deno?this.authStore=new af:this.authStore=new sk,this.collections=new uk(this),this.files=new pk(this),this.logs=new dk(this),this.settings=new ok(this),this.realtime=new Jy(this),this.health=new fk(this),this.backups=new mk(this),this.crons=new hk(this),this.sql=ne
18w gk(this)}get admins(){return this.collection("_superusers")}createBatch(){return new vk(this)}collection(e){return this.recordServices[e]||(this.recordServices[e]=new ck(this,e)),this.recordServices[e]}autoCancellation(e){return this.enableAutoCancellation=!!e,this}cancelRequest(e){return this.cancelControllers[e]&&(this.cancelControllers[e].abort(),delete this.cancelControllers[e]),this}cancelAllRequests(){for(let e in this.cancelControllers)this.cancelControllers[e].abort();return this.cancelControllers={},this}filter(e,i){if(!i)return e;const s={};for(const c in i)s["{:"+c+"}"]=i[c];const a=Object.keys(s).map((c=>RegExp.escape(c))).join("|");return a?e.replace(new RegExp(a,"g"),(c=>(function(f){switch(typeof f){case"boolean":case"number":return""+f;case"string":return JSON.stringify(f);default:if(f==null)return"null";if(f instanceof Date)return JSON.stringify(f.toISOString().replace("T"," "));const p=JSON.stringify(f);return p.startsWith("[")||p.startsWith("{")?JSON.stringify(p):p}})(s[c]))):e}getFileUrl(e,i,s={}){return console.warn("Please replace pb.getFileUrl() with pb.files.getURL()"),this.files.getURL(e,i,s)}buildUrl(e){return console.warn("Please replace pb.buildUrl() with pb.buildURL()"),this.buildURL(e)}buildURL(e){let i=this.baseURL;return typeof window>"u"||!window.location||i.startsWith("https://")||i.startsWith("http://")||(i=window.location.origin?.endsWith("/")?window.location.origin.substring(0,window.location.origin.length-1):window.location.origin||"",this.baseURL.startsWith("/")||(i+=window.location.pathname||"/",i+=i.endsWith("/")?"":"/"),i+=this.baseURL),e&&(i+=i.endsWith("/")?"":"/",i+=e.startsWith("/")?e.substring(1):e),i}async send(e,i){i=this.initSendOptions(e,i);let s=this.buildURL(e);if(this.beforeSend){const a=Object.assign({},await this.beforeSend(s,i));a.url!==void 0||a.options!==void 0?(s=a.url||s,i=a.options||i):Object.keys(a).length&&(i=a,console?.warn&&console.warn("Deprecated format of beforeSend return: please use `return { url, options }`, instead of `return options`."))}if(i.query!==void 0){const a=cf(i.query);a&&(s+=(s.includes("?")?"&":"?")+a),delete i.query}return this.getHeader(i.headers,"Content-Type")=="application/json"&&i.body&&typeof i.body!="string"&&(i.body=JSON.stringify(i.body)),(i.fetch||fetch)(s,i).then((async a=>{let c={};try{c=await a.json()}catch(d){if(i.signal?.aborted||d?.name=="AbortError"||d?.message=="Aborted")throw d}if(this.afterSend&&(c=await this.afterSend(a,c,i)),a.status>=400)throw new gt({url:a.url,status:a.status,data:c});return c})).catch((a=>{throw new gt(a)}))}initSendOptions(e,i){if((i=Object.assign({method:"GET"},i)).body=(function(a){if(typeof FormData>"u"||a===void 0||typeof a!="object"||a===null||ed(a)||!cx(a))return a;const c=new FormData;for(const d in a){const f=a[d];if(f!==void 0)if(typeof f!="object"||cx({data:f})){const p=Array.isArray(f)?f:[f];for(let h of p)c.append(d,h)}else{let p={};p[d]=f,c.append("@jsonPayload",JSON.stringify(p))}}return c})(i.body),lf(i),i.query=Object.assign({},i.params,i.query),i.requestKey===void 0&&(i.$autoCancel===!1||i.query.$autoCancel===!1?i.requestKey=null:(i.$cancelKey||i.query.$cancelKey)&&(i.requestKey=i.$cancelKey||i.query.$cancelKey)),delete i.$autoCancel,delete i.query.$autoCancel,delete i.$cancelKey,delete i.query.$cancelKey,this.getHeader(i.headers,"Content-Type")!==null||ed(i.body)||(i.headers=Object.assign({},i.headers,{"Content-Type":"application/json"})),this.getHeader(i.headers,"Accept-Language")===null&&(i.headers=Object.assign({},i.headers,{"Accept-Language":this.lang})),this.authStore.token&&this.getHeader(i.headers,"Authorization")===null&&(i.headers=Object.assign({},i.headers,{Authorization:this.authStore.token})),this.enableAutoCancellation&&i.requestKey!==null){const s=i.requestKey||(i.method||"GET")+e;delete i.requestKey,this.cancelRequest(s);const a=new AbortController;this.cancelControllers[s]=a,i.signal=a.signal}return i}getHeader(e,i){e=e||{},i=i.toLowerCase();for(let s in e)if(s.toLowerCase()==i)return e[s];return null}}const wk="/hcgi/platform",bk=new e0(wk),jk=1,Sk=1e6;let Nu=0;function Nk(){return Nu=(Nu+1)%Number.MAX_SAFE_INTEGER,Nu.toString()}const Eu=new Map,dx=n=>{if(Eu.has(n))return;const e=setTimeout(()=>{Eu.delete(n),Ms({type:"REMOVE_TOAST",toastId:n})},Sk);Eu.set(n,e)},Ek=(n,e)=>{switch(e.type){case"ADD_TOAST":return{...n,toasts:[e.toast,...n.toasts].slice(0,jk)};case"UPDATE_TOAST":return{...n,toasts:n.toasts.map(i=>i.id===e.toast.id?{...i,...e.toast}:i)};case"DISMISS_TOAST":{const{toastId:i}=e;
18return i?dx(i):n.toasts.forEach(s=>{dx(s.id)}),{...n,toasts:n.toasts.map(s=>s.id===i||i===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return e.toastId===void 0?{...n,toasts:[]}:{...n,toasts:n.toasts.filter(i=>i.id!==e.toastId)}}},ja=[];let Sa={toasts:[]};function Ms(n){Sa=Ek(Sa,n),ja.forEach(e=>{e(Sa)})}function Ck({...n}){const e=Nk(),i=a=>Ms({type:"UPDATE_TOAST",toast:{...a,id:e}}),s=()=>Ms({type:"DISMISS_TOAST",toastId:e});return Ms({type:"ADD_TOAST",toast:{...n,id:e,open:!0,onOpenChange:a=>{a||s()}}}),{id:e,dismiss:s,update:i}}function uf(){const[n,e]=b.useState(Sa);return b.useEffect(()=>(ja.push(e),()=>{const i=ja.indexOf(e);i>-1&&ja.splice(i,1)}),[n]),{...n,toast:Ck,dismiss:i=>Ms({type:"DISMISS_TOAST",toastId:i})}}const Tk={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},Pk=()=>{const{toast:n}=uf(),[e,i]=b.useState(!1),s=async a=>{a.preventDefault();const c=a.target,d=c.querySelector('[name="name"]')?.value?.trim()||"",f=c.querySelector('[name="email"]')?.value?.trim()||"",p=c.querySelector('[name="phone"]')?.value?.trim()||"",h=c.querySelector('[name="message"]')?.value?.trim()||"";if(!d||!f||!h){n({title:"Faltan datos",description:"Por favor, completa los campos obligatorios.",variant:"destructive"});return}i(!0);let x=!1;try{await bk.collection("contact_submissions").create({name:d,email:f,phone:p,message:h,source:"Formulario de contacto",page_url:window.location.href}),x=!0}catch{}try{await Jd({nombre:d,email:f,telefono:p,mensaje:h,origen:"Horizons Website",tags:[],meta:{page_url:window.location.href,page_title:document.title,referrer:document.referrer,utm_source:Et("utm_source"),utm_medium:Et("utm_medium"),utm_campaign:Et("utm_campaign"),utm_term:Et("utm_term"),utm_content:Et("utm_content"),language:navigator.language,user_agent:navigator.userAgent}})}catch{}i(!1),x?(c.reset(),n({title:"Solicitud recibida",description:"Gracias. Hemos recibido tu solicitud y nos pondremos en contacto contigo."})):n({title:"Error",description:"Ha ocurrido un error. Inténtalo de nuevo o escrÃbenos a [email protected].",variant:"destructive"})};return l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Contacto - Armonic Body"}),l.jsx("meta",{name:"description",content:"Póngase en contacto con nuestra clÃnica en Barcelona."})]}),l.jsx("section",{className:"pt-24 pb-16 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 lg:gap-24",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Tk,children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6",children:"Evaluación inicial"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-10",children:"Quiero conocerte y entender qué necesitas de
18sde el primer momento. Reserva tu cita online, cuéntame brevemente el motivo de tu consulta y me pondré en contacto contigo."}),l.jsxs("div",{className:"mb-12 p-6 bg-secondary/30 rounded-lg border border-border/50",children:[l.jsx("h3",{className:"text-lg font-serif text-accent mb-4",children:"La forma más rápida de agendar:"}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[l.jsx(xt,{size:"lg",className:"w-full sm:w-auto",showIcon:!0}),l.jsx(xt,{size:"lg",className:"w-full sm:w-auto",label:"Reservar nutrición",href:"https://calendly.com/teamarmonic/visita-nutricio"})]})]}),l.jsxs("div",{className:"space-y-8",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-accent font-medium mb-2 text-[15px]",children:"Ubicación"}),l.jsxs("p",{className:"text-foreground font-light text-[15px]",children:["Johann Sebastian Bach, 14",l.jsx("br",{}),"08021 Barcelona"]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-accent font-medium mb-2 text-[15px]",children:"Comunicación directa"}),l.jsxs("p",{className:"text-foreground font-light text-[15px]",children:["+34 607 453 596",l.jsx("br",{}),"+34 932 009 407",l.jsx("br",{}),"[email protected]"]})]})]})]}),l.jsx(V.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},children:l.jsxs("div",{className:"bg-secondary/50 p-8 md:p-12 border border-border/50 rounded-sm",children:[l.jsx("h3",{className:"text-xl font-serif text-accent mb-8",children:"Formulario de contacto"}),l.jsxs("form",{className:"space-y-8",onSubmit:s,"data-no-kloser":!0,children:[l.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx("label",{htmlFor:"name",className:"text-[13px] text-accent font-medium tracking-wide uppercase",children:"Nombre completo *"}),l.jsx("input",{type:"text",id:"name",name:"name",required:!0,className:"w-full bg-transparent border-b border-border pb-2 text-accent text-[15px] font-light focus:outline-none focus:border-primary transition-colors"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx("label",{htmlFor:"phone",className:"text-[13px] text-accent font-medium tracking-wide uppercase",children:"Teléfono"}),l.jsx("input",{type:"tel",id:"phone",name:"phone",className:"w-full bg-transparent border-b border-border pb-2 text-accent text-[15px] font-light focus:outline-none focus:border-primary transition-colors"})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx("label",{htmlFor:"email",className:"text-[13px] text-accent font-medium tracking-wide uppercase",children:"Correo electrónico *"}),l.jsx("input",{type:"email",id:"email",name:"email",required:!0,className:"w-full bg-transparent border-b border-border pb-2 text-accent text-[15px] font-light focus:outline-none focus:border-primary transition-colors"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx("label",{htmlFor:"message",className:"text-[13px] text-accent font-medium tracking-wide uppercase",children:"Motivo de consulta *"}),l.jsx("textarea",{id:"message",name:"message",required:!0,rows:"4",className:"w-full bg-transparent border-b border-border pb-2 text-accent text-[15px] font-light focus:outline-none focus:border-primary transition-colors resize-none"})]}),l.jsx("div",{className:"pt-4",children:l.jsx("button",{type:"submit",disabled:e,className:"w-full md:w-auto inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors disabled:opacity-60 disabled:cursor-not-allowed",children:e?"Enviando...":"Enviar solicitud"})})]})]})})]})})})]})},Ss={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},fx="inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors text-center",kk=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Fisioterapia Avanzada - Armonic Body"}),l.jsx("meta",{name:"description",content:"Fisioterapia avanzada con enfoque estructural preciso. Abordamos el dolor y la función desde la biomecánica clÃnica."})]}),l.jsx("section",{className:"pt-24 pb-20 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Ss,className:"max-w-lg",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6 leading-tight",children:"Fisioterapia avanzada con enfoque estructural preciso"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-8",children:"Nuestra intervención en fisioterapia se fundamenta en un razonamiento clÃnico exhaustivo. No aplicamos protocolos genéricos, sino que buscamos la alteración mecánica primaria que está perpetuando el sÃntoma para devolver la homeostasis al tejido."})]}),l.jsx(V.div,{initial:{opacity:0,x:20}
18,animate:{opacity:1,x:0},transition:{duration:.8},className:"relative aspect-square md:aspect-[4/5] w-full",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/10-JsIfV.png",alt:"Enfoque estructural en fisioterapia",className:"w-full h-full object-cover rounded-sm"})})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/3] w-full order-2 md:order-1",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/2-3MBj3.png",alt:"Evaluación biomecánica clÃnica",className:"w-full h-full object-cover rounded-sm"})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ss,className:"max-w-lg order-1 md:order-2 md:ml-auto",children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Qué evaluamos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-8",children:"El diagnóstico diferencial es el pilar de nuestro éxito terapéutico. Analizamos detalladamente las estructuras implicadas:"}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Biomecánica articular"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Patrones de carga y compensación"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Control motor"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Restricciones miofasciales"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Dolor agudo y crónico"]})]})]})]})})}),l.jsx("section",{className:"py-20 bg-white text-center",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ss,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Cómo intervenimos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-12",children:"Utilizamos terapia manual ortopédica, neurodinámica y técnicas conservadoras e invasivas avaladas por la evidencia cientÃfica para modular la respuesta nerviosa, recuperar el rango de movimiento óptimo y crear una ventana de oportunidad analgésica."}),l.jsx(ae,{to:"/contacto",className:fx,children:"Solicitar valoración funcional avanzada"})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ss,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-8",children:"Aplicaciones clÃnicas frecuentes"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-2xl mx-auto",children:[l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Lesiones deportivas"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," TendinopatÃas"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Lumbalgias"]})]}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Cervicalgias"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Dolor persistente"]})]})]})]})})}),l.jsx("section",{className:"py-24 bg-secondary",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0},variants:Ss,children:[l.jsx("p",{className:"text-lg text-accent font-light leading-relaxed mb-10",children:"Nuestro objetivo es que recupere su máxima capacidad funcional en el menor tiempo posible, dotándole de las herramientas necesarias para mantener su salud estructural a largo plazo."}),l.jsx(ae,{to:"/contacto",className:fx,children:"Reservar primera valoración clÃnica"})]})})})]}),Ns={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},px="inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors text-center",Rk=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"OsteopatÃa Integrativa - Armonic Body"}),l.jsx("meta",{name:"description",content:"OsteopatÃa integrativa orientada al equilibrio estructural, craneal y visceral para restaurar la función global del organismo."})]}),l.jsx("section",{className:"pt-24 pb-20 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Ns,className:"max-w-lg",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6 leading-tight",children:"OsteopatÃa integrativa: equilibrio estructural y visceral"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-8",children:"La osteopatÃa concibe el cuerpo como una unidad funcional indivisible. Una alteración en la movilidad visceral o craneal puede generar un sÃntoma distante en la estructura musculoesquelética. Nuestro abordaje manual profundo restaura esta comunicación sistémica."})]}),l.jsx(V.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8},className:"relative aspect-square md:aspect-[4/5] w-full",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/a7bf250891e4d009064cea1f33eb4efa.png",alt:"Terapia manual osteopática",className:"w-full h-full object-cover rounded-sm"})})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/3] w-full order-2 md:order-1",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-6-Ev2SP.jpg",alt:"Evaluación osteopática profunda",className:"w-full h-full object-cover rounded-sm"})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ns,className:"max-w-lg order-1 md:order-2 md:ml-auto",children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Qué evaluamos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-8",children:"Mediante una palpación clÃnica precisa, identificamos las zonas de hipomovilidad que están obligando al resto del cuerpo a compensar, evaluando:"}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Movilidad visceral"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Sistema craneal"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Restricciones fasciales profundas"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Relación estructura-función"]})]})]})]})})}),l.jsx("section",{className:"py-20 bg-white text-center",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8",children:l.jsxs(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0},variants:Ns,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Cómo intervenimos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-12",children:"A través de técnicas manuales muy especÃficas, respetando siempre los lÃmites fisiológicos del tejido, liberamos las tensiones fasciales y articulares. Esto normaliza el tono neurovegetativo y mejora la vascularización de las zonas afectadas."}),l.jsx(ae,{to:"/contacto",className:px,children:"Consultar caso osteopático"})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ns,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-8",children:"Aplicaciones clÃnicas frecuentes"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-2xl mx-auto",children:[l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Trastornos digestivos funcionales"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Cefaleas"]})]}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Dolor crónico inespecÃfico"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Restricciones postquirúrgicas"]})]})]})]})})}),l.jsx("section",{className:"py-24 bg-secondary",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Ns,children:[l.jsx("p",{className:"text-lg text-accent font-light leading-relaxed mb-10",children:"Un diagnóstico osteopático adecuado puede ser la clave para resolver dolores recurrentes que no han respondido a enfoques terapéuticos convencionales o localizados."}),l.jsx(ae,{to:"/contacto",className:px,children:"Solicitar estudio osteopático"})]})})})]}),Es={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},mx="inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors text-center",Ak=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"PsiconeuroinmunologÃa ClÃnica - Armonic Body"}),l.jsx("meta",{name:"description",content:"PsiconeuroinmunologÃa clÃnica aplicada. Regulamos los sistemas endocrino e inmunológico para combatir la inflamación y el dolor persistente."})]}),l.jsx("section",{className:"pt-24 pb-20 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Es,className:"max-w-lg",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6 leading-tight",children:"PsiconeuroinmunologÃa clÃnica aplicada"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-8",children:"El entorno metabólico y bioquÃmico del paciente determina su capacidad de curación. La PNI clÃnica estudia cómo el estilo de vida, la nutrición, el descanso y el sistema digestivo modulan la respuesta del sistema inmune y nervioso ante el dolor o la lesión."})]}),l.jsx(V.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8},className:"relative aspect-square md:aspect-[4/5] w-full",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/8611c0108fa763adfdcb4c6cf3716172.png",alt:"Consulta de PsiconeuroinmunologÃa ClÃnica",className:"w-full h-full object-cover rounded-sm"})})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/3] w-full order-2 md:order-1",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/eff4521d087a12b5577910fdde2e0c0c.png",alt:"Análisis metabólico y clÃnico",className:"w-full h-full object-cover rounded-sm"})}
18),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Es,className:"max-w-lg order-1 md:order-2 md:ml-auto",children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Qué evaluamos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-8",children:"Analizamos el contexto general del organismo para identificar el origen inflamatorio de base, centrando nuestra evaluación en:"}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Estrés crónico"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Ritmos biológicos"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Alimentación y metabolismo"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Procesos inflamatorios"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Fatiga persistente"]})]})]})]})})}),l.jsx("section",{className:"py-20 bg-white text-center",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Es,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Cómo intervenimos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-12",children:"Diseñamos pautas individualizadas de nutrición antiinflamatoria, regulación de los ritmos circadianos, gestión del estrés y, cuando es necesario, prescripción de suplementación ortomolecular, todo ello para facilitar un terreno biológico óptimo que permita la regeneración tisular."}),l.jsx(ae,{to:"/contacto",className:mx,children:"Solicitar estudio funcional integrativo"})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Es,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-8",children:"Aplicaciones clÃnicas frecuentes"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-2xl mx-auto",children:[l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," SÃndrome de fatiga"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Procesos inflamatorios recurrentes"]})]}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Dolor persistente sin causa estructural clara"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Alteraciones digestivas"]})]})]})]})})}),l.jsx("section",{className:"py-24 bg-secondary",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Es,children:[l.jsx("p",{className:"text-lg text-accent font-light leading-relaxed mb-10",children:"Proporcionamos las condiciones internas necesarias para que las intervenciones mecánicas perduren en el tiempo, abordando la patologÃa desde su verdadera raÃz celular."}),l.jsx(ae,{to:"/contacto",className:mx,children:"Iniciar evaluación en PNI clÃnica"})]})})})]}),Cs={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},hx="inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors text-center",Ok=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Ejercicio Terapéutico - Armonic Body"}),l.jsx("meta",{name:"description",content:"Programas de readaptación y ejercicio terapéutico supervisado para recuperar la autonomÃa y prevenir lesiones."})]}),l.jsx("section",{className:"pt-24 pb-20 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Cs,className:"max-w-lg",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6 leading-tight",children:"Ejercicio terapéutico y recuperación activa"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-8",children:"El tratamiento en camilla es solo el comienzo. Para generar adaptaciones duraderas en el tejido conectivo y neurológico, el cuerpo debe ser sometido a estÃmulos mecánicos progresivos y controlados. La función se recupera moviéndose con propósito."})]}),l.jsx(V.div,{initial:{opacity:0,x:20}
18,animate:{opacity:1,x:0},transition:{duration:.8},className:"relative aspect-square md:aspect-[4/5] w-full",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/foto-8-iKuiM.JPG",alt:"Recuperación activa y ejercicio guiado",className:"w-full h-full object-cover rounded-sm"})})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/3] w-full order-2 md:order-1",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/6-I7tAA.png",alt:"Análisis biomecánico en movimiento",className:"w-full h-full object-cover rounded-sm"})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Cs,className:"max-w-lg order-1 md:order-2 md:ml-auto",children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Qué evaluamos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-8",children:"Antes de iniciar la readaptación, establecemos la lÃnea base funcional del paciente mediante una exhaustiva valoración de:"}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Control motor"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Estabilidad central"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Fuerza funcional"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Coordinación"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Tolerancia a la carga"]})]})]})]})})}),l.jsx("section",{className:"py-20 bg-white text-center",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Cs,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Cómo intervenimos"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-12",children:"Pautamos ejercicios de exposición gradual para superar la inhibición motora y el miedo al dolor (kinesiofobia). Enseñar al sistema nervioso que el movimiento vuelve a ser seguro es fundamental para consolidar cualquier intervención previa."}),l.jsx(ae,{to:"/contacto",className:hx,children:"Iniciar programa de recuperación activa"})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:Cs,children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-8",children:"Aplicaciones clÃnicas frecuentes"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-2xl mx-auto",children:[l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Recuperación post-lesión"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Reincorporación deportiva"]})]}),l.jsxs("ul",{className:"space-y-4 text-foreground font-light text-[16px]",children:[l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Prevención de recaÃdas"]}),l.jsxs("li",{className:"flex items-start",children:[l.jsx("span",{className:"mr-3 text-primary",children:"â¢"})," Mejora del rendimiento funcional"]})]})]})]})})}),l.jsx("section",{className:"py-24 bg-secondary",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0},variants:Cs,children:[l.jsx("p",{className:"text-lg text-accent font-light leading-relaxed mb-10",children:"Nuestro objetivo definitivo es dotar a cada paciente de autonomÃa corporal, reduciendo la dependencia del tratamiento pasivo y empoderando su proceso de curación."}),l.jsx(ae,{to:"/contacto",className:hx,children:"Solicitar plan de readaptación personalizado"})]})})})]}),oi={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:"easeOut"}}},gx="inline-block border border-primary text-primary hover:bg-primary hover:text-white px-8 py-3 text-[14px] tracking-wider uppercase transition-colors text-center",Ik=[{n:"01",titulo:"Salud digestiva",texto:"SÃndrome de intestino irritable, distensión abdominal, gases, estreñimiento, diarrea recurrente, reflujo, dispepsia, intolerancias alimentarias diagnosticadas y apoyo nutricional en alteraciones de la microbiota."},{n:"02",titulo:"Inflamación y salud metabólica",texto:"Resistencia a la insulina, prediabetes, diabetes tipo 2 âen coordinación con el tratamiento médicoâ, sÃndrome metabólico, hÃgado graso, colesterol y triglicéridos elevados."},{n:"03",titulo:"PatologÃas autoinmunes e inflamatorias",texto:"Acompañamiento nutricional como complemento del seguimiento y tratamiento médico."},{n:"04",titulo:"Salud musculoesquelética y recuperación",texto:"Osteoporosis, osteopenia, sarcopenia y pérdida de masa muscular. Nutrición adaptada a procesos de lesión, recuperación y rehabilitación, actividad fÃsica y prevención de nuevas lesiones."},{n:"05",titulo:"Fatiga y déficits nutricionales",texto:"Valoración nutricional ante déficits de hierro, vitamina B12, folato, vitamina D u otros nutrientes, apoyándonos en la valoración clÃnica y analÃtica cuando sea necesario."},{n:"06",titulo:"Salud cardiovascular",texto:"Hipertensión, colesterol, triglicéridos y otros factores de riesgo cardiovascular sobre los que podemos actuar mediante alimentación y estilo de vida."},{n:"07",titulo:"Salud hormonal y etapas vitales",texto:"Fertilidad, embarazo, lactancia, perimenopausia, menopausia y envejecimiento saludable. Acompañamiento nutricional en alteraciones tiroideas, sÃndrome de ovario poliquÃstico (SOP), endometriosis y amenorrea, siempre en coordinación con el seguimiento médico cuando corresponda."},{n:"08",titulo:"Nutrición deportiva y rendimiento",texto:"Mejora del rendimiento y la recuperación, mantenimiento o aumento de masa muscular, hidratación, disponibilidad energética, preparación de competiciones y estrategia nutricional antes, durante y después del ejercicio. También trabajamos la nutrición como parte de la prevención de lesiones y la recuperación deportiva."}],Lk=()=>l.jsxs("div",{className:"min-h-screen bg-white",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Nutrición - Armonic Body"}),l.jsx("meta",{name:"description",content:"Nutrición integrada en el Método Noelia Mar: un abordaje integral e individualizado para la salud digestiva, metabólica, musculoesquelética y deportiva."})]}),l.jsx("section",{className:"pt-24 pb-20 md:pt-32 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:oi,
18className:"max-w-lg",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-6",children:"NUEVO SERVICIO DE NUTRICIÃN"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6 leading-tight",children:"Nutrición integrada en el Método Noelia Mar"}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-6",children:"En el Método Noelia Mar entendemos el cuerpo como un todo. Cuando existe una lesión, dolor o un proceso de rehabilitación, nos importa cómo nos movemos o cómo tratamos nuestros tejidos."}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed mb-6",children:"Cómo nos alimentamos, nuestro estado metabólico, la salud digestiva y el equilibrio nutricional también pueden influir en nuestra salud, recuperación y bienestar. Por eso incorporamos la Nutrición a nuestro método."}),l.jsx("p",{className:"text-[16px] text-foreground font-light leading-relaxed",children:"Un nuevo servicio que nace con la misma filosofÃa con la que trabajamos cada dÃa: buscar un abordaje integral, individualizado y basado en las necesidades reales de cada persona."})]}),l.jsx(V.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8},className:"relative aspect-square md:aspect-[4/5] w-full",children:l.jsx("img",{src:"https://images.hostinger.com/4e4e0588-71b8-4768-80df-f32b74911aa6.png",alt:"Consulta de nutrición en Armonic Body",className:"w-full h-full object-cover rounded-sm"})})]})})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0}
18,variants:oi,children:l.jsx("p",{className:"text-lg md:text-xl text-accent font-light leading-relaxed",children:"La nutrición puede ser una gran aliada para favorecer una alimentación adecuada durante los procesos de recuperación y rehabilitación, preservar y recuperar masa muscular, cubrir las necesidades energéticas y nutricionales y acompañar situaciones relacionadas con la inflamación y la salud metabólica."})})})}),l.jsx("section",{className:"py-20 bg-secondary",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:oi,className:"text-center mb-16",children:[l.jsx("h2",{className:"text-3xl md:text-4xl font-serif text-accent mb-6",children:"¿En qué podemos ayudarte?"}),l.jsx("p",{className:"text-foreground/80 font-light leading-relaxed text-[16px] max-w-2xl mx-auto",children:"Ãreas en las que la nutrición integrada puede acompañar tu recuperación y tu salud."})]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-x-16 gap-y-12",children:Ik.map(n=>l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-80px"}
18,variants:oi,className:"flex gap-6",children:[l.jsx("span",{className:"text-[13px] font-medium tracking-[0.2em] text-primary/60 pt-1 shrink-0",children:n.n}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-xl font-serif text-accent mb-3 leading-snug",children:n.titulo}),l.jsx("p",{className:"text-[15px] text-foreground/80 font-light leading-relaxed",children:n.texto})]})]},n.n))})]})}),l.jsx("section",{className:"py-20 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative aspect-[4/3] w-full order-2 md:order-1",children:l.jsx("img",{src:"https://images.hostinger.com/50dfd172-02c8-48eb-9c71-0020cf9e07ed.png",alt:"Valoración nutricional en Armonic Body",className:"w-full h-full object-cover rounded-sm"})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0}
18,variants:oi,className:"max-w-lg order-1 md:order-2 md:ml-auto",children:[l.jsx("h2",{className:"text-3xl font-serif text-accent mb-6",children:"Un abordaje individualizado"}),l.jsx("p",{className:"text-foreground font-light leading-relaxed text-[16px] mb-6",children:"Cada proceso nutricional se adapta a las necesidades reales de cada persona, integrando la alimentación dentro de una estrategia clÃnica global junto a la fisioterapia, la osteopatÃa y el ejercicio terapéutico."}),l.jsx("a",{href:"https://calendly.com/teamarmonic/visita-nutricio",target:"_blank",rel:"noopener noreferrer",className:gx,children:"Solicitar valoración nutricional"})]})]})})}),l.jsx("section",{className:"py-24 bg-secondary",children:l.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:oi,children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-primary uppercase mb-8",children:"UN PASO MÃS EN EL MÃTODO NOELIA MAR"}),l.jsx("p",{className:"text-lg md:text-xl text-accent font-light leading-relaxed mb-6",children:"Fisioterapia, osteopatÃa, ejercicio, rehabilitación y ahora también nutrición."}),l.jsx("p",{className:"text-[16px] text-foreground/80 font-light leading-relaxed mb-10",children:"Porque nuestro objetivo sigue siendo el mismo: no centrarnos únicamente en dónde duele, sino acompañar a la persona de una forma global para recuperar salud, movimiento, fuerza y calidad de vida."}),l.jsx("p",{className:"text-lg md:text-xl text-accent font-serif italic leading-relaxed mb-12",children:"Cuidar cómo te mueves también implica cuidar cómo nutres tu cuerpo."}),l.jsx("a",{href:"https://calendly.com/teamarmonic/visita-nutricio",target:"_blank",rel:"noopener noreferrer",className:gx,children:"Reservar primera valoración"})]})})})]}),Nr={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:1,ease:[.21,.47,.32,.98]}}},Cu={hidden:{opacity:0,scale:.98},visible:{opacity:1,scale:1,transition:{duration:1.2,ease:"easeOut"}}},Mk=()=>l.jsxs("div",{className:"min-h-screen bg-white selection:bg-[#305172]/10 selection:text-[#305172]",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Método Noèlia Mar | Armonic Body"}),l.jsx("meta",{name:"description",content:"El Método Noèlia Mar integra evaluación clÃnica avanzada, razonamiento funcional y distintas herramientas terapéuticas para comprender qué mantiene el problema y cómo intervenir con precisión."}),l.jsx("link",{rel:"canonical",href:"https://noeliamar.com/metodo-noelia-mar"})]}),l.jsx("section",{className:"pt-20 pb-16 md:pt-24 md:pb-24 bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-12 md:gap-16 items-center",children:[l.jsxs(V.div,{initial:"hidden",animate:"visible",variants:Nr,className:"md:col-span-6 lg:col-span-5 lg:pr-8",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-[#305172]/70 uppercase mb-10",children:"MÃTODO noélia mar"}),l.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-12 leading-[1.15] tracking-[-0.02em]",children:l.jsx("span",{style:{fontSize:"56px",lineHeight:"normal"},children:"Primero entendemos. Después tratamos"})}),l.jsx("p",{className:"text-[15px] text-foreground font-light editorial-text text-balance mb-12",children:"El método Noèlia Mar nace de una necesidad clÃnica real: ayudar a personas que conviven con un dolor persistente o con limitaciones que no han conseguido resolver con los tratamientos habituales. Nuestro enfoque no se limita a tratar la zona donde aparece el dolor. Buscamos entender qué está provocando el problema y qué factores pueden estar haciendo que se mantenga en el tiempo. Para ello, estudiamos cada caso de forma individual, teniendo en cuenta cómo funciona el cuerpo en su conjunto y cómo pueden estar relacionadas diferentes zonas y sistemas. Porque para solucionar un problema que lleva tiempo contigo, no siempre basta con tratar dónde duele. Primero hay que entender por qué ocurre."}),l.jsx(xt,{})]}),l.jsx(V.div,{initial:"hidden",animate:"visible",variants:Cu,className:"md:col-span-6 lg:col-span-6 lg:col-start-7",children:l.jsx("div",{className:"w-[85%] md:w-full mx-auto editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/captura-de-pantalla-2026-09-01-a-les-9.07.24-xHZMZ.png",alt:"Tratamiento manual clÃnico en consulta",className:"w-full h-auto aspect-[3/4] object-cover grayscale-[15%] opacity-90 hover:opacity-100 hover:grayscale-0 transition-all duration-700"})})})]})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",
18whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,children:[l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-serif text-accent mb-8 tracking-[-0.01em]",children:"Primero entendemos. Después tratamos."}),l.jsx("p",{className:"text-[16px] md:text-[18px] text-foreground font-light editorial-text mb-16",children:"El Método Noélia Mar analiza el cuerpo como un sistema global. Integra:"}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-8 md:gap-4 mb-24",children:["Sistema estructural","Sistema neurológico","Sistema craneomandibular","Factores bioquÃmicos","Estilo de vida"].map((n,e)=>l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:"w-14 h-14 md:w-16 md:h-16 rounded-full bg-primary flex items-center justify-center mb-6 shadow-sm",children:l.jsx("span",{className:"text-2xl font-serif italic text-primary-foreground",children:"N"})}),l.jsx("span",{className:"text-[13px] font-medium tracking-[0.1em] text-accent uppercase text-center leading-snug",children:n})]},e))}),l.jsx("p",{className:"elegant-quote text-balance mx-auto max-w-4xl",children:"Cuando el cuerpo se entiende mejor, el tratamiento cambia completamente."})]})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Cu,className:"md:col-span-6 lg:col-span-6",children:l.jsx("div",{className:"w-[85%] md:w-[90%] mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3499-I7p2l.jpg",alt:"Evaluación y exploración clÃnica avanzada",className:"w-full h-auto aspect-[4/5] object-cover opacity-90 hover:opacity-100 transition-opacity duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,className:"md:col-span-6 lg:col-span-5 lg:col-start-8",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-serif text-accent mb-8 tracking-[-0.01em]",children:"Evaluación clÃnica avanzada"}),l.jsx("p",{className:"text-[15px] text-foreground font-light editorial-text mb-10",children:"Una valoración exhaustiva es el punto de partida de cualquier intervención eficaz. En el Método Noelia Mar no buscamos únicamente dónde aparece el dolor, sino qué factores pueden estar dificultando la recuperación del paciente. Para ello realizamos una evaluación integrada que analiza la postura, el movimiento, el control neuromuscular, la oclusión dental, el apoyo plantar y las cadenas funcionales. También valoramos cómo el organismo responde al estrés, al descanso, al esfuerzo fÃsico y a los procesos de recuperación, especialmente en pacientes con dolor persistente, lesiones recurrentes o rehabilitaciones que no terminan de mejorar."}),l.jsx(xt,{variant:"outline"})]})]})})}),l.jsx("section",{className:"editorial-section bg-[#EFECE6]/50",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-serif text-accent mb-10 tracking-[-0.01em]",children:"El cuerpo no funciona por partes"}),l.jsxs("p",{className:"text-[15px] md:text-[16px] text-foreground font-light editorial-text",children:["El dolor y la capacidad de recuperación no dependen únicamente de la zona en la que aparece el problema. El sueñ
18o, el estrés, la respiración, la digestión, el sistema nervioso, la regulación hormonal y otros factores pueden influir en cómo nuestro cuerpo responde y se recupera. Por eso, nuestra forma de rehabilitar parte de una mirada global: no solo tratamos dónde duele, sino que buscamos comprender qué puede estar influyendo en el problema y cómo funciona el conjunto y asà tratar para que los resultados se mantengan en el tiempo. ",l.jsx("strong",{children:"Recuperarse es el objetivo. Entender cómo conseguir que los resultados se mantengan, también."})]})]})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:l.jsxs("div",{className:"grid md:grid-cols-12 gap-16 lg:gap-24 items-center",children:[l.jsx(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Cu,className:"md:col-span-6 lg:col-span-6",children:l.jsx("div",{className:"w-[85%] md:w-[90%] mx-auto md:mr-auto md:ml-0 editorial-image-wrap",children:l.jsx("img",{src:"https://horizons-cdn.hostinger.com/3757da36-5a65-4c7e-8b5f-95153e8a974a/932a3429-dvgLA.jpg",alt:"Terapia de movimiento y ejercicio clÃnico",className:"w-full h-auto aspect-[4/5] object-cover grayscale-[10%] opacity-90 hover:grayscale-0 hover:opacity-100 transition-all duration-700"})})}),l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,className:"md:col-span-6 lg:col-span-5 lg:col-start-8",children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-serif text-accent mb-8 tracking-[-0.01em]",children:"Herramientas clÃnicas integradas"}),l.jsx("p",{className:"text-[15px] text-foreground font-light editorial-text",children:"Fisioterapia, osteopatÃa, psiconeuroinmunologÃa clÃnica, posturologÃa y ejercicio terapéutico no son disciplinas aisladas en nuestro modelo. Son herramientas integradas al servicio de un razonamiento clÃnico global. La eficacia no reside en la acumulación de técnicas, sino en la precisión de combinarlas en el momento y lugar adecuados para cada individuo."})]})]})})}),l.jsx("section",{className:"editorial-section bg-white",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,children:[l.jsx("h2",{className:"text-2xl md:text-3xl font-serif text-accent mb-10 tracking-[-0.01em]",children:"TecnologÃa al servicio del razonamiento clÃnico"}),l.jsx("p",{className:"text-[15px] md:text-[16px] text-foreground font-light editorial-text",children:"Empleamos ecografÃa musculoesquelética avanzada, radiofrecuencia Winback y tecnologÃa de polea cónica. Sin embargo, estas herramientas no actúan de forma aislada; siempre se subordinan a una estrategia clÃnica profunda y rigurosa, diseñada para potenciar y acelerar el enfoque terapéutico individualizado."})]})})}),l.jsx("section",{className:"editorial-section bg-[#EFECE6]/50 border-t border-gray-100",children:l.jsx("div",{className:"editorial-reading-width px-6 lg:px-8 text-center",children:l.jsxs(V.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:Nr,children:[l.jsx("p",{className:"text-[17px] md:text-[19px] text-accent font-serif leading-[1.8] mb-12 text-balance",children:l.jsx("span",{style:{color:"rgb(50, 84, 116)"},children:l.jsx("span",{style:{fontSize:"32px",lineHeight:"normal"},children:"No tratamos sÃntomas aislados. Cuando el cuerpo se entiende como un sistema integrado, el tratamiento deja de fragmentarse."})})}),l.jsxs("div",{className:"mt-12 flex flex-col items-center justify-center space-y-6",children:[l.jsx(xt,{size:"lg"}),l.jsx(ae,{to:"/contacto",className:"text-[11px] tracking-[0.2em] font-medium text-[#305172]/70 hover:text-[#305172] uppercase border-b border-[#305172]/20 hover:border-[#305172] pb-1 transition-all duration-500",children:"O contáctenos para más información"})]})]})})})]}),_k=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"PolÃtica de Privacidad | Armonic Body"}),l.jsx("meta",{name:"description",content:"Información sobre el tratamiento y protección de datos personales en Noèlia Mar · Armonic Body."})]}),l.jsx("section",{className:"pt-32 pb-16 md:pt-40 md:pb-24 bg-background border-b border-border/40",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-muted-foreground uppercase mb-6",children:"INFORMACIÃN LEGAL"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6",children:"PolÃtica de Privacidad"}
18),l.jsx("p",{className:"text-[16px] text-foreground/80 font-light max-w-2xl mx-auto text-balance",children:"Información sobre el tratamiento y protección de datos personales en Noèlia Mar · Armonic Body."})]})}),l.jsx("section",{className:"py-20 md:py-32",children:l.jsxs("div",{className:"legal-content-container",children:[l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"1. Responsable del tratamiento"}),l.jsxs("p",{className:"legal-paragraph",children:["El responsable del tratamiento de sus datos personales es Noèlia Mar, titular de Armonic Body, con correo electrónico de contacto: ",l.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline underline-offset-4",children:"[email protected]"}),"."]})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"2. Finalidad de los datos"}),l.jsx("p",{className:"legal-paragraph",children:"Los datos personales proporcionados a través de nuestro sitio web serán tratados con la finalidad de gestionar las solicitudes de información, coordinar citas para valoraciones clÃnicas y mejorar la experiencia de navegación. No se elaborarán perfiles automatizados ni se tomarán decisiones basadas en dicho tratamiento sin su consentimiento explÃcito."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"3. Legitimación"}),l.jsx("p",{className:"legal-paragraph",children:"La base legal para el tratamiento de sus datos es el consentimiento expreso otorgado al aceptar esta polÃtica de privacidad mediante los formularios de contacto, asà como la necesidad del tratamiento para la ejecución de servicios clÃnicos solicitados."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"4. Conservación"}),l.jsx("p",{className:"legal-paragraph",children:"Los datos personales proporcionados se conservarán mientras se mantenga la relación profesional y clÃnica, o hasta que el interesado solicite su supresión. Posteriormente, se mantendrán debidamente bloqueados durante el tiempo necesario para cumplir con las obligaciones legales aplicables al sector sanitario."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"5. Derechos del usuario"}),l.jsx("p",{className:"legal-paragraph",children:"Todo usuario tiene derecho a obtener confirmación sobre si en Armonic Body estamos tratando datos personales que le conciernan. Usted tiene derecho a acceder a sus datos personales, solicitar la rectificación de los datos inexactos, o en su caso, solicitar su supresión cuando los datos ya no sean necesarios para los fines que fueron recogidos. Asimismo, puede ejercer los derechos de limitación del tratamiento, portabilidad de los datos y oposición."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"6. Cookies"}),l.jsx("p",{className:"legal-paragraph",children:"Este sitio web utiliza cookies técnicas necesarias y, sujeto a su consentimiento, cookies analÃticas para mejorar la experiencia de navegación. Puede consultar o modificar sus preferencias en cualquier momento a través del panel de configuración de cookies disponible en el pie de página del sitio web."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"7. Seguridad"}),l.jsx("p",{className:"legal-paragraph",children:"Armonic Body ha adoptado las medidas técnicas y organizativas necesarias para garantizar la seguridad de los datos personales y evitar su alteración, pérdida, tratamiento o acceso no autorizado, habida cuenta del estado de la tecnologÃa, la naturaleza de los datos almacenados y los riesgos a los que están expuestos."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"8. Contacto"}),l.jsxs("p",{className:"legal-paragraph",children:["Para cualquier consulta relacionada con la protección de datos o para ejercer sus derechos, puede contactarnos enviando un correo electrónico a ",l.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline underline-offset-4",children:"[email protected]"}),', indicando en el asunto "Protección de Datos".']})]})]})})]}),Dk=()=>l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsxs(pt,{children:[l.jsx("title",{children:"Aviso Legal | Armonic Body"}),l.jsx("meta",{name:"description",content:"Información general sobre el uso, acceso y responsabilidad del sitio web de Armonic Body."})]}),l.jsx("section",{className:"pt-32 pb-16 md:pt-40 md:pb-24 bg-background border-b border-border/40",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[l.jsx("span",{className:"block text-[11px] font-medium tracking-[0.2em] text-muted-foreground uppercase mb-6",children:"INFORMACIÃN LEGAL"}),l.jsx("h1",{className:"text-4xl md:text-5xl font-serif text-accent mb-6",children:"Aviso Legal"}
18),l.jsx("p",{className:"text-[16px] text-foreground/80 font-light max-w-2xl mx-auto text-balance",children:"Información general sobre el uso, acceso y responsabilidad del sitio web."})]})}),l.jsx("section",{className:"py-20 md:py-32",children:l.jsxs("div",{className:"legal-content-container",children:[l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"1. Identificación del titular"}),l.jsxs("p",{className:"legal-paragraph",children:["En cumplimiento de la normativa vigente, se informa que el titular de este sitio web es Noèlia Mar, operando bajo la marca Armonic Body. Para cualquier comunicación, puede dirigirse al correo electrónico ",l.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline underline-offset-4",children:"[email protected]"}),"."]})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"2. Condiciones de uso"}),l.jsx("p",{className:"legal-paragraph",children:"El acceso y uso de este sitio web atribuye la condición de Usuario, implicando la aceptación plena y sin reservas de todas las disposiciones incluidas en este Aviso Legal. El Usuario se compromete a utilizar el sitio web, sus contenidos y servicios de conformidad con la ley, la moral, las buenas costumbres y el orden público."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"3. Propiedad intelectual"}),l.jsx("p",{className:"legal-paragraph",children:"Todos los contenidos de este sitio web, incluyendo textos, fotografÃas, gráficos, imágenes, iconos, tecnologÃa, software, asà como su diseño gráfico y códigos fuente, constituyen una obra cuya propiedad pertenece a Armonic Body, sin que puedan entenderse cedidos al Usuario ninguno de los derechos de explotación sobre los mismos más allá de lo estrictamente necesario para el correcto uso de la web."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"4. Responsabilidad"}),l.jsx("p",{className:"legal-paragraph",children:"Armonic Body no se hace responsable de los daños o perjuicios de cualquier naturaleza que pudieran derivarse de la disponibilidad y continuidad técnica del funcionamiento del sitio web. Asimismo, la información clÃnica proporcionada en este sitio web tiene carácter puramente informativo y no sustituye en ningún caso una valoración clÃnica profesional personalizada."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"5. Enlaces externos"}),l.jsx("p",{className:"legal-paragraph",children:"En caso de que en el sitio web se dispusiesen enlaces o hipervÃnculos hacÃa otros sitios de Internet, Armonic Body no ejercerá ningún tipo de control sobre dichos sitios y contenidos. En ningún caso asumirá responsabilidad alguna por los contenidos de algún enlace perteneciente a un sitio web ajeno."})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"6. Protección de datos"}),l.jsxs("p",{className:"legal-paragraph",children:["El tratamiento de los datos personales facilitados a través de este sitio web se rige por lo establecido en nuestra ",l.jsx("a",{href:"/politica-privacidad",className:"text-primary hover:underline underline-offset-4",children:"PolÃtica de Privacidad"}),", donde se detalla el uso, finalidad y derechos de los usuarios respecto a su información personal."]})]}),l.jsxs("div",{className:"legal-section",children:[l.jsx("h2",{className:"legal-heading",children:"7. Legislación aplicable"}),l.jsx("p",{className:"legal-paragraph",children:"Para la resolución de todas las controversias o cuestiones relacionadas con el presente sitio web o de las actividades en él desarrolladas, será de aplicación la legislación española, a la que se someten expresamente las partes."})]})]})})]});var Vk=Object.defineProperty,et=(n,e)=>Vk(n,"name",{value:e,configurable:!0});function t0(n){const e=n+"CollectionProvider",[i,s]=Gs(e),[a,c]=i(e,{collectionRef:{current:null},itemMap:new Map}),d=et(N=>{const{scope:j,children:T}=N,O=b.useRef(null),k=b.useRef(new Map).current;return l.jsx(a,{scope:j,itemMap:k,collectionRef:O,children:T})},"CollectionProvider");d.displayName=e;const f=n+"CollectionSlot",p=bi(f),h=b.forwardRef((N,j)=>{const{scope:T,children:O}=N,k=c(f,T),_=It(j,k.collectionRef);return l.jsx(p,{ref:_,children:O})});h.displayName=f;const x=n+"CollectionItemSlot",v="data-radix-collection-item",y=bi(x),S=b.forwardRef((N,j)=>{const{scope:T,children:O,...k}=N,_=b.useRef(null),D=It(j,_),B=c(x,T);return b.useEffect(()=>(B.itemMap.set(_,{ref:_,...k}),()=>{B.itemMap.delete(_)})),l.jsx(y,{[v]:"",ref:D,children:O})});S.displayName=x;function E(N){const j=c(n+"CollectionConsumer",N);return b.useCallback(()=>{const O=j.collectionRef.current;if(!O)return[];const k=Array.from(O.querySelectorAll(`[${v}
18]`));return Array.from(j.itemMap.values()).sort((B,W)=>k.indexOf(B.ref.current)-k.indexOf(W.ref.current))},[j.collectionRef,j.itemMap])}return et(E,"useCollection"),[{Provider:d,Slot:h,ItemSlot:S},E,s]}et(t0,"createCollection");var xx=new WeakMap,Ke,At,Tu=(At=class extends Map{constructor(i){super(i);fh(this,Ke);$c(this,Ke,[...super.keys()]),xx.set(this,!0)}set(i,s){return xx.get(this)&&(this.has(i)?lt(this,Ke)[lt(this,Ke).indexOf(i)]=i:lt(this,Ke).push(i)),super.set(i,s),this}insert(i,s,a){const c=this.has(s),d=lt(this,Ke).length,f=df(i);let p=f>=0?f:d+f;const h=p<0||p>=d?-1:p;if(h===this.size||c&&h===this.size-1||h===-1)return this.set(s,a),this;const x=this.size+(c?0:1);f<0&&p++;const v=[...lt(this,Ke)];let y,S=!1;for(let E=p;E<x;E++)if(p===E){let N=v[E];v[E]===s&&(N=v[E+1]),c&&this.delete(s),y=this.get(N),this.set(s,a)}else{!S&&v[E-1]===s&&(S=!0);const N=v[S?E:E-1],j=y;y=this.get(N),this.delete(N),this.set(N,j)}return this}with(i,s,a){const c=new At(this);return c.insert(i,s,a),c}before(i){const s=lt(this,Ke).indexOf(i)-1;if(!(s<0))return this.entryAt(s)}setBefore(i,s,a){const c=lt(this,Ke).indexOf(i);return c===-1?this:this.insert(c,s,a)}after(i){let s=lt(this,Ke).indexOf(i);if(s=s===-1||s===this.size-1?-1:s+1,s!==-1)return this.entryAt(s)}setAfter(i,s,a){const c=lt(this,Ke).indexOf(i);return c===-1?this:this.insert(c+1,s,a)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return $c(this,Ke,[]),super.clear()}delete(i){const s=super.delete(i);return s&<(this,Ke).splice(lt(this,Ke).indexOf(i),1),s}deleteAt(i){const s=this.keyAt(i);return s!==void 0?this.delete(s):!1}at(i){const s=Na(lt(this,Ke),i);if(s!==void 0)return this.get(s)}entryAt(i){const s=Na(lt(this,Ke),i);if(s!==void 0)return[s,this.get(s)]}indexOf(i){return lt(this,Ke).indexOf(i)}keyAt(i){return Na(lt(this,Ke),i)}from(i,s){const a=this.indexOf(i);if(a===-1)return;let c=a+s;return c<0&&(c=0),c>=this.size&&(c=this.size-1),this.at(c)}keyFrom(i,s){const a=this.indexOf(i);if(a===-1)return;let c=a+s;return c<0&&(c=0),c>=this.size&&(c=this.size-1),this.keyAt(c)}find(i,s){let a=0;for(const c of this){if(Reflect.apply(i,s,[c,a,this]))return c;a++}}findIndex(i,s){let a=0;for(const c of this){if(Reflect.apply(i,s,[c,a,this]))return a;a++}return-1}filter(i,s){const a=[];let c=0;for(const d of this)Reflect.apply(i,s,[d,c,this])&&a.push(d),c++;return new At(a)}map(i,s){const a=[];let c=0;for(const d of this)a.push([d[0],Reflect.apply(i,s,[d,c,this])]),c++;return new At(a)}reduce(...i){const[s,a]=i;let c=0,d=a??this.at(0);for(const f of this)c===0&&i.length===1?d=f:d=Reflect.apply(s,this,[d,f,c,this]),c++;return d}reduceRight(...i){const[s,a]=i;let c=a??this.at(-1);for(let d=this.size-1;d>=0;d--){const f=this.at(d);d===this.size-1&&i.length===1?c=f:c=Reflect.apply(s,this,[c,f,d,this])}return c}toSorted(i){const s=[...this.entries()].sort(i);return new At(s)}toReversed(){const i=new At;for(let s=this.size-1;s>=0;s--){const a=this.keyAt(s),c=this.get(a);i.set(a,c)}return i}toSpliced(...i){const s=[...this.entries()];return s.splice(...i),new At(s)}slice(i,s){const a=new At;let c=this.size-1;if(i===void 0)return a;i<0&&(i=i+this.size),s!==void 0&&s>0&&(c=s-1);for(let d=i;d<=c;d++){const f=this.keyAt(d),p=this.get(f);a.set(f,p)}return a}every(i,s){let a=0;for(const c of this){if(!Reflect.apply(i,s,[c,a,this]))return!1;a++}return!0}some(i,s){let a=0;for(const c of this){if(Reflect.apply(i,s,[c,a,this]))return!0;a++}return!1}},Ke=new WeakMap,et(At,"OrderedDict"),At);function Na(n,e){if("at"in Array.prototype)return Array.prototype.at.call(n,e);const i=n0(n,e);return i===-1?void 0:n[i]}et(Na,"at");function n0(n,e){const i=n.length,s=df(e),a=s>=0?s:i+s;return a<0||a>=i?-1:a}et(n0,"toSafeIndex");function df(n){return n!==n||n===0?0:Math.trunc(n)}et(df,"toSafeInteger");function Fk(n){const e=n+"CollectionProvider",[i,s]=Gs(e),[a,c]=i(e,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Tu,setItemMap:et(()=>{},"setItemMap")}),d=et(({state:k,..._})=>k?l.jsx(p,{..._,state:k}):l.jsx(f,{..._}),"CollectionProvider");d.displayName=e;const f=et(k=>{const _=j();return l.jsx(p,{...k,state:_})},"CollectionInit");f.displayName=e+"Init";const p=et(k=>{const{scope:_,children:D,state:B}=k,W=b.useRef(null),[K,re]=b.useState(null),ce=It(W,re),[ve,Y]=B;return b.useEffect(()=>{if(!K)return;const he=s0(()=>{});return he.observe(K,{childList:!0,subtree:!0}),()=>{he.disconnect()}},[K]),l.jsx(a,{scope:_,itemMap:ve,setItemMap:Y,collectionRef:ce,collectionRefObject:W,collectionElement:K,children:D})},"CollectionProviderImpl");p.displayName=e+"Impl";const h=n+"CollectionSlot",x=bi(h),v=b.forwardRef((k,_)=>{const{scope:D,children:B}=k,W=c(h,D),K=It(_,W.collectionRef);return l.jsx(x,{ref:K,children:B})});v.displayName=h;const y=n+"CollectionItemSlot",S="data-radix-collection-item",E=bi(y),N=b.forwardRef((k,_)=>{const{scope:D,children:B,...W}=k,K=b.useRef(null),[re,ce]=b.useState(null),ve=It(_,K,ce),Y=c(y,D),{setItemMap:he}=Y,ye=b.useRef(W);r0(ye.current,W)||(ye.current=W);const Se=ye.current;return b.useEffect(()=>{const ie=Se;return he(ee=>re?ee.has(re)?ee.set(re,{...ie,element:re}).toSorted(td):(ee.set(re,{...ie,element:re}),ee.toSorted(td)):ee),()=>{he(ee=>!re||!ee.has(re)?ee:(ee.delete(re),new Tu(ee)))}},[re,Se,he]),l.jsx(E,{[S]:"",ref:ve,children:B})});N.displayName=y;function j(){return b.useState(new Tu)}et(j,"useInitCollection");function T(k){const{itemMap:_}=c(n+"CollectionConsumer",k);return _}return et(T,"useCollection"),[{Provider:d,Slot:v,ItemSlot:N},{createCollectionScope:s,useCollection:T,useInitCollection:j}]}et(Fk,"createCollection");function r0(n,e){if(n===e)return!0;
18if(typeof n!="object"||typeof e!="object"||n==null||e==null)return!1;const i=Object.keys(n),s=Object.keys(e);if(i.length!==s.length)return!1;for(const a of i)if(!Object.prototype.hasOwnProperty.call(e,a)||n[a]!==e[a])return!1;return!0}et(r0,"shallowEqual");function i0(n,e){return!!(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING)}et(i0,"isElementPreceding");function td(n,e){return!n[1].element||!e[1].element?0:i0(n[1].element,e[1].element)?-1:1}et(td,"sortByDocumentPosition");function s0(n){return new MutationObserver(i=>{for(const s of i)if(s.type==="childList"){n();return}})}et(s0,"getChildListObserver");var zk=Object.defineProperty,Uk=(n,e)=>zk(n,"name",{value:e,configurable:!0});function ar(n){const e=b.useRef(n);return b.useEffect(()=>{e.current=n}),b.useMemo(()=>((...i)=>e.current?.(...i)),[])}Uk(ar,"useCallbackRef");var Bk=Object.defineProperty,Qe=(n,e)=>Bk(n,"name",{value:e,configurable:!0}),nd="dismissableLayer.update",$k="dismissableLayer.pointerDownOutside",qk="dismissableLayer.focusOutside",vx,ff=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Hk=b.forwardRef(Qe(function(e,i){const{disableOutsidePointerEvents:s=!1,deferPointerDownOutside:a=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,...x}=e,v=b.useContext(ff),[y,S]=b.useState(null),E=y?.ownerDocument??globalThis?.document,[,N]=b.useState({}),j=It(i,S),T=Array.from(v.layers),[O]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),k=O?T.indexOf(O):-1,_=y?T.indexOf(y):-1,D=v.layersWithOutsidePointerEventsDisabled.size>0,B=_>=k,W=b.useRef(!1),K=o0(Y=>{d?.(Y),p?.(Y),Y.defaultPrevented||h?.()},{ownerDocument:E,deferPointerDownOutside:a,isDeferredPointerDownOutsideRef:W,dismissableSurfaces:v.dismissableSurfaces,shouldHandlePointerDownOutside:b.useCallback(Y=>{if(!(Y instanceof Node))return!1;const he=[...v.branches].some(ye=>ye.contains(Y));return B&&!he},[v.branches,B])}),re=a0(Y=>{if(a&&W.current)return;const he=Y.target;[...v.branches].some(Se=>Se.contains(he))||(f?.(Y),p?.(Y),Y.defaultPrevented||h?.())},E),ce=y?_===T.length-1:!1,ve=ar(Y=>{Y.key==="Escape"&&(c?.(Y),!Y.defaultPrevented&&h&&(Y.preventDefault(),h()))});return b.useEffect(()=>{if(ce)return E.addEventListener("keydown",ve,{capture:!0}),()=>E.removeEventListener("keydown",ve,{capture:!0})},[E,ce,ve]),b.useEffect(()=>{if(y)return s&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(vx=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(y)),v.layers.add(y),rd(),()=>{s&&(v.layersWithOutsidePointerEventsDisabled.delete(y),v.layersWithOutsidePointerEventsDisabled.size===0&&(E.body.style.pointerEvents=vx))}},[y,E,s,v]),b.useEffect(()=>()=>{y&&(v.layers.delete(y),v.layersWithOutsidePointerEventsDisabled.delete(y),rd())},[y,v]),b.useEffect(()=>{const Y=Qe(()=>N({}),"handleUpdate");return document.addEventListener(nd,Y),()=>document.removeEventListener(nd,Y)},[]),l.jsx(_t.div,{...x,ref:j,style:{pointerEvents:D?B?"auto":"none":void 0,...e.style},onFocusCapture:dt(e.onFocusCapture,re.onFocusCapture),onBlurCapture:dt(e.onBlurCapture,re.onBlurCapture),onPointerDownCapture:dt(e.onPointerDownCapture,K.onPointerDownCapture)})},"DismissableLayer")),Wk=b.forwardRef(Qe(function(e,i){const s=b.useContext(ff),a=b.useRef(null),c=It(i,a);return b.useEffect(()=>{const d=a.current;if(d)return s.branches.add(d),()=>{s.branches.delete(d)}},[s.branches]),l.jsx(_t.div,{...e,ref:c})},"DismissableLayerBranch"));function Kk(){const n=b.useContext(ff),[e,i]=b.useState(null);return b.useEffect(()=>{if(e)return n.dismissableSurfaces.add(e),()=>{n.dismissableSurfaces.delete(e)}},[e,n.dismissableSurfaces]),i}Qe(Kk,"useDismissableLayerSurface");var Gk=Qe(()=>!0,"IS_TRUE");function o0(n,e){const{ownerDocument:i=globalThis?.document,deferPointerDownOutside:s=!1,isDeferredPointerDownOutsideRef:a,dismissableSurfaces:c,shouldHandlePointerDownOutside:d=Gk}=e,f=ar(n),p=b.useRef(!1),h=b.useRef(!1),x=b.useRef(new Map),v=b.useRef(()=>{});return b.useEffect(()=>{function y(){h.current=!1,a.current=!1,x.current.clear()}Qe(y,"resetOutsideInteraction");function S(){return Array.from(x.current.values()).some(Boolean)}Qe(S,"isOutsideInteractionIntercepted");function E(k){if(!h.current)return;const _=k.target;_ instanceof Node&&[...c].some(B=>B.contains(_))||x.current.set(k.type,!0),k.type==="click"&&window.setTimeout(()=>{h.current&&v.current()},0)}Qe(E,"handleInteractionCapture");function N(k){h.current&&x.current.set(k.type,!1)}Qe(N,"handleInteractionBubble");const j=Qe(k=>{if(k.target&&!p.current){let _=function(){i.removeEventListener("click",v.current);const B=S();y(),B||pf($k,f,D,{discrete:!0})};if(Qe(_,"handleAndDispatchPointerDownOutsideEvent"),!d(k.target)){i.removeEventListener("click",v.current),y(),p.current=!1;return}const D={originalEvent:k};h.current=!0,a.current=s&&k.button===0,x.current.clear(),!s||k.button!==0?_():(i.removeEventListener("click",v.current),v.current=_,i.addEventListener("click",v.current,{once:!0}))}else i.removeEventListener("click",v.current),y();p.current=!1},"handlePointerDown"),T=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const k of T)i.addEventListener(k,E,!0),i.addEventListener(k,N);const O=window.setTimeout(()=>{i.addEventListener("pointerdown",j)},0);return()=>{window.clearTimeout(O),i.removeEventListener("pointerdown",j),i.removeEventListener("click",v.current);for(const k of T)i.removeEventListener(k,E,!0),i.removeEventListener(k,N)}},[i,f,s,a,c,d]),{onPointerDownCapture:Qe(()=>p.current=!0,"onPointerDownCapture")}}Qe(o0,"usePointerDownOutside");function a0(n,e=globalThis?.document){const i=ar(n),s=b.useRef(!1);return b.useEffect(()=>{const a=Qe(c=>{c.target&&!s.current&&pf(qk,i,{originalEvent:c},{discrete:!1})},"handleFocus");return e.addEventListener("focusin",a),()=>e.removeEventListener("focusin",a)},[e,i]),{onFocusCapture:Qe(()=>s.current=!0,"onFocusCapture"),onBlurCapture:Qe(()=>s.current=!1,"onBlurCapture")}}Qe(a0,"useFocusOutside");function rd(){const n=new CustomEvent(nd);document.dispatchEvent(n)}Qe(rd,"dispatchUpdate");function pf(n,e,i,{discrete:s}){const a=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});e&&a.addEventListener(n,e,{once:!0}),s?tf(a,c):a.dispatchEvent(c)}Qe(pf,"handleAndDispatchCustomEvent");var Yk=Hk,Qk=Wk,Xk=Object.defineProperty,Jk=(n,e)=>Xk(n,"name",{value:e,configurable:!0}),Zk=b.forwardRef(Jk(function(e,i){const{container:s,...a}=e,[c,d]=b.useState(!1);Ar(()=>d(!0),[]);
18const f=s||c&&globalThis?.document?.body;return f?xd.createPortal(l.jsx(_t.div,{...a,ref:i}),f):null},"Portal")),eR=Object.defineProperty,An=(n,e)=>eR(n,"name",{value:e,configurable:!0});function l0(n,e){return b.useReducer((i,s)=>e[i][s]??i,n)}An(l0,"useStateMachine");var tR=An(n=>{const{present:e,children:i}=n,s=c0(e),a=typeof i=="function"?i({present:s.isPresent}):b.Children.only(i),c=u0(s.ref,d0(a));return typeof i=="function"||s.isPresent?b.cloneElement(a,{ref:c}):null},"Presence");function c0(n){const[e,i]=b.useState(),s=b.useRef(null),a=b.useRef(n),c=b.useRef("none"),d=b.useRef(void 0),f=n?"mounted":"unmounted",[p,h]=l0(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{p==="mounted"?(c.current=d.current??ai(s.current),d.current=void 0):c.current="none"},[p]),Ar(()=>{const x=s.current,v=a.current;if(v!==n){const S=c.current,E=ai(x);n?(d.current=E,h("MOUNT")):E==="none"||x?.display==="none"?h("UNMOUNT"):h(v&&S!==E?"ANIMATION_OUT":"UNMOUNT"),a.current=n}},[n,h]),Ar(()=>{if(e){let x;const v=e.ownerDocument.defaultView??window,y=An(E=>{const j=ai(s.current).includes(CSS.escape(E.animationName));if(E.target===e&&j&&(h("ANIMATION_END"),!a.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",x=v.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},"handleAnimationEnd"),S=An(E=>{E.target===e&&(c.current=ai(s.current))},"handleAnimationStart");return e.addEventListener("animationstart",S),e.addEventListener("animationcancel",y),e.addEventListener("animationend",y),()=>{v.clearTimeout(x),e.removeEventListener("animationstart",S),e.removeEventListener("animationcancel",y),e.removeEventListener("animationend",y)}}else h("ANIMATION_END")},[e,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:b.useCallback(x=>{if(x){const v=getComputedStyle(x);s.current=v,d.current=ai(v)}else s.current=null;i(x)},[])}}An(c0,"usePresence");function id(n,e){if(typeof n=="function")return n(e);n!=null&&(n.current=e)}An(id,"setRef");function u0(...n){const e=b.useRef(n);return e.current=n,b.useCallback(i=>{const s=e.current;let a=!1;const c=s.map(d=>{const f=id(d,i);return!a&&typeof f=="function"&&(a=!0),f});if(a)return()=>{for(let d=0;d<c.length;d++){const f=c[d];typeof f=="function"?f():id(s[d],null)}}},[])}An(u0,"useStableComposedRefs");function ai(n){return n?.animationName||"none"}An(ai,"getAnimationName");function d0(n){let e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=e&&"isReactWarning"in e&&e.isReactWarning;return i?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=e&&"isReactWarning"in e&&e.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}An(d0,"getElementRef");var nR=Object.defineProperty,rR=(n,e)=>nR(n,"name",{value:e,configurable:!0}),iR=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"}),f0=b.forwardRef(rR(function(e,i){return l.jsx(_t.span,{...e,ref:i,style:{...iR,...e.style}})},"VisuallyHidden")),sR=Object.defineProperty,Ce=(n,e)=>sR(n,"name",{value:e,configurable:!0}),p0="ToastProvider",[mf,m0,oR]=t0("Toast"),[h0,DR]=Gs("Toast",[oR]),[aR,Ga]=h0(p0),lR=Ce(n=>{const{__scopeToast:e,label:i="Notification",duration:s=5e3,swipeDirection:a="right",swipeThreshold:c=50,announcerContainer:d,children:f}=n,[p,h]=b.useState(null),[x,v]=b.useState(0),y=b.useRef(!1);return i.trim()||console.error(`Invalid prop \`label\` supplied to \`${p0}\`. Expected non-empty \`string\`.`),l.jsx(mf.Provider,{scope:e,children:l.jsx(aR,{scope:e,label:i,duration:s,swipeDirection:a,swipeThreshold:c,toastCount:x,viewport:p,onViewportChange:h,onToastAdd:b.useCallback(()=>v(S=>S+1),[]),onToastRemove:b.useCallback(()=>v(S=>S-1),[]),isClosePausedRef:y,announcerContainer:d,children:f})})},"ToastProvider"),cR="ToastViewport",uR=["F8"],sd="toast.viewportPause",od="toast.viewportResume",dR=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,hotkey:a=uR,label:c="Notifications ({hotkey})",...d}=e,f=Ga(cR,s),p=m0(s),h=b.useRef(null),x=b.useRef(null),v=b.useRef(null),y=b.useRef(null),S=It
18(i,y,f.onViewportChange),E=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=f.toastCount>0;b.useEffect(()=>{const T=Ce(O=>{a.length!==0&&a.every(_=>O[_]||O.code===_)&&y.current?.focus()},"handleKeyDown");return document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)},[a]),b.useEffect(()=>{const T=h.current,O=y.current;if(N&&T&&O){const k=Ce(()=>{if(!f.isClosePausedRef.current){const W=new CustomEvent(sd);O.dispatchEvent(W),f.isClosePausedRef.current=!0}},"handlePause"),_=Ce(()=>{if(f.isClosePausedRef.current){const W=new CustomEvent(od);O.dispatchEvent(W),f.isClosePausedRef.current=!1}},"handleResume"),D=Ce(W=>{!T.contains(W.relatedTarget)&&_()},"handleFocusOutResume"),B=Ce(()=>{T.contains(document.activeElement)||_()},"handlePointerLeaveResume");return T.addEventListener("focusin",k),T.addEventListener("focusout",D),T.addEventListener("pointermove",k),T.addEventListener("pointerleave",B),window.addEventListener("blur",k),window.addEventListener("focus",_),()=>{T.removeEventListener("focusin",k),T.removeEventListener("focusout",D),T.removeEventListener("pointermove",k),T.removeEventListener("pointerleave",B),window.removeEventListener("blur",k),window.removeEventListener("focus",_)}}},[N,f.isClosePausedRef]);const j=b.useCallback(({tabbingDirection:T})=>{const k=p().map(_=>{const D=_.ref.current,B=[D,...w0(D)];return T==="forwards"?B:B.reverse()});return(T==="forwards"?k.reverse():k).flat()},[p]);return b.useEffect(()=>{const T=y.current;if(T){const O=Ce(k=>{const _=k.altKey||k.ctrlKey||k.metaKey;if(k.key==="Tab"&&!_){const B=document.activeElement,W=k.shiftKey;if(k.target===T&&W){x.current?.focus();return}const ce=j({tabbingDirection:W?"backwards":"forwards"}),ve=ce.findIndex(Y=>Y===B);Ea(ce.slice(ve+1))?k.preventDefault():W?x.current?.focus():v.current?.focus()}},"handleKeyDown");return T.addEventListener("keydown",O),()=>T.removeEventListener("keydown",O)}},[p,j]),l.jsxs(Qk,{ref:h,role:"region","aria-label":c.replace("{hotkey}",E),tabIndex:-1,style:{pointerEvents:N?void 0:"none"},children:[N&&l.jsx(yx,{ref:x,onFocusFromOutsideViewport:()=>{const T=j({tabbingDirection:"forwards"});Ea(T)}}),l.jsx(mf.Slot,{scope:s,children:l.jsx(_t.ol,{tabIndex:-1,...d,ref:S})}),N&&l.jsx(yx,{ref:v,onFocusFromOutsideViewport:()=>{const T=j({tabbingDirection:"backwards"});Ea(T)}})]})},"ToastViewport")),fR="ToastFocusProxy",yx=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,onFocusFromOutsideViewport:a,...c}=e,d=Ga(fR,s);return l.jsx(f0,{tabIndex:0,...c,ref:i,style:{position:"fixed"},onFocus:f=>{const p=f.relatedTarget;!d.viewport?.contains(p)&&a()}})},"ToastFocusProxy")),Ya="Toast",pR="toast.swipeStart",mR="toast.swipeMove",hR="toast.swipeCancel",gR="toast.swipeEnd",xR=b.forwardRef(Ce(function(e,i){const{forceMount:s,open:a,defaultOpen:c,onOpenChange:d,...f}=e,[p,h]=ef({prop:a,defaultProp:c??!0,onChange:d,caller:Ya});return l.jsx(tR,{present:s||p,children:l.jsx(wR,{open:p,...f,ref:i,onClose:()=>h(!1),onPause:ar(e.onPause),onResume:ar(e.onResume),onSwipeStart:dt(e.onSwipeStart,x=>{x.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:dt(e.onSwipeMove,x=>{const{x:v,y}=x.detail.delta;x.currentTarget.setAttribute("data-swipe","move"),x.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${v}px`),x.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${y}px`)}),onSwipeCancel:dt(e.onSwipeCancel,x=>{x.currentTarget.setAttribute("data-swipe","cancel"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),x.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:dt(e.onSwipeEnd,x=>{const{x:v,y}=x.detail.delta;x.currentTarget.setAttribute("data-swipe","end"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),x.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${v}px`),x.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${y}px`),h(!1)})})})},"Toast")),[vR,yR]=h0(Ya,{onClose(){}}),wR=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,type:a="foreground",duration:c,open:d,onClose:f,onEscapeKeyDown:p,onPause:h,onResume:x,onSwipeStart:v,onSwipeMove:y,onSwipeCancel:S,onSwipeEnd:E,...N}=e,j=Ga(Ya,s),T=m0(s),[O,k]=b.useState(null),_=It(i,k),D=b.useRef(null),B=b.useRef(null),W=c||j.duration,K=b.useRef(0),re=b.useRef(W),ce=b.useRef(0),{onToastAdd:ve,onToastRemove:Y}=j,he=ar(()=>{O?.contains(document.activeElement)&&j.viewport?.focus(),f()}),ye=b.useCallback(ie=>
18{!ie||ie===1/0||(window.clearTimeout(ce.current),K.current=new Date().getTime(),ce.current=window.setTimeout(he,ie))},[he]);b.useEffect(()=>{const ie=j.viewport;if(ie){const ee=Ce(()=>{ye(re.current),x?.()},"handleResume"),$=Ce(()=>{const J=new Date().getTime()-K.current;re.current=re.current-J,window.clearTimeout(ce.current),h?.()},"handlePause");return ie.addEventListener(sd,$),ie.addEventListener(od,ee),()=>{ie.removeEventListener(sd,$),ie.removeEventListener(od,ee)}}},[j.viewport,W,h,x,ye]),b.useEffect(()=>{d&&!j.isClosePausedRef.current&&ye(W)},[d,W,j.isClosePausedRef,ye]),b.useEffect(()=>()=>{window.clearTimeout(ce.current)},[]),b.useEffect(()=>(ve(),()=>Y()),[ve,Y]);const Se=b.useMemo(()=>O?hf(O):null,[O]);return j.viewport?l.jsxs(l.Fragment,{children:[Se&&l.jsx(bR,{__scopeToast:s,role:"status","aria-live":a==="foreground"?"assertive":"polite",children:Se}),l.jsx(vR,{scope:s,onClose:he,children:xd.createPortal(l.jsx(mf.ItemSlot,{scope:s,children:l.jsx(Yk,{asChild:!0,onEscapeKeyDown:dt(p,ie=>{T().some($=>$.ref.current?.contains(ie.target))||he()}),children:l.jsx(_t.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":j.swipeDirection,...N,ref:_,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:dt(e.onKeyDown,ie=>{ie.key==="Escape"&&(p?.(ie.nativeEvent),ie.nativeEvent.defaultPrevented||he()
18)}),onPointerDown:dt(e.onPointerDown,ie=>{ie.button===0&&(D.current={x:ie.clientX,y:ie.clientY})}),onPointerMove:dt(e.onPointerMove,ie=>{if(!D.current)return;const ee=ie.clientX-D.current.x,$=ie.clientY-D.current.y,J=!!B.current,G=["left","right"].includes(j.swipeDirection),A=["left","up"].includes(j.swipeDirection)?Math.min:Math.max,F=G?A(0,ee):0,fe=G?0:A(0,$),pe=ie.pointerType==="touch"?10:2,xe={x:F,y:fe},we={originalEvent:ie,delta:xe};J?(B.current=xe,Rs(mR,y,we,{discrete:!1})):wx(xe,j.swipeDirection,pe)?(B.current=xe,Rs(pR,v,we,{discrete:!1}),ie.target.setPointerCapture(ie.pointerId)):(Math.abs(ee)>pe||Math.abs($)>pe)&&(D.current=null)}),onPointerUp:dt(e.onPointerUp,ie=>{const ee=B.current,$=ie.target;if($.hasPointerCapture(ie.pointerId)&&$.releasePointerCapture(ie.pointerId),B.current=null,D.current=null,ee){const J=ie.currentTarget,G={originalEvent:ie,delta:ee};wx(ee,j.swipeDirection,j.swipeThreshold)?Rs(gR,E,G,{discrete:!0}):Rs(hR,S,G,{discrete:!0}),J.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),j.viewport)})]}):null},"ToastImpl")),bR=Ce(n=>{const{__scopeToast:e,children:i,...s}=n,a=Ga(Ya,e),[c,d]=b.useState(!1),[f,p]=b.useState(!1);return v0(()=>d(!0)),b.useEffect(()=>{const h=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(h)},[]),f?null:l.jsx(Zk,{asChild:!0,container:a.announcerContainer||void 0,children:l.jsx(f0,{...s,children:c&&l.jsxs(l.Fragment,{children:[a.label," ",i]})})})},"ToastAnnounce"),jR=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,...a}=e;return l.jsx(_t.div,{...a,ref:i})},"ToastTitle")),SR=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,...a}=e;return l.jsx(_t.div,{...a,ref:i})},"ToastDescription")),NR="ToastAction",ER=b.forwardRef(Ce(function(e,i){const{altText:s,...a}=e;return s.trim()?l.jsx(x0,{altText:s,asChild:!0,children:l.jsx(g0,{...a,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${NR}\`. Expected non-empty \`string\`.`),null)},"ToastAction")),CR="ToastClose",g0=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,...a}=e,c=yR(CR,s);return l.jsx(x0,{asChild:!0,children:l.jsx(_t.button,{type:"button",...a,ref:i,onClick:dt(e.onClick,c.onClose)})})},"ToastClose")),x0=b.forwardRef(Ce(function(e,i){const{__scopeToast:s,altText:a,...c}=e;return l.jsx(_t.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...c,ref:i})},"ToastAnnounceExclude"));function hf(n){const e=[];return Array.from(n.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&e.push(s.textContent),y0(s)){const a=s.ariaHidden||s.hidden||s.style.display==="none",c=s.dataset.radixToastAnnounceExclude==="";if(!a)if(c){const d=s.dataset.radixToastAnnounceAlt;d&&e.push(d)}else e.push(...hf(s))}}),e}Ce(hf,"getAnnounceTextContent");function Rs(n,e,i,{discrete:s}){const a=i.originalEvent.currentTarget,c=new CustomEvent(n,{bubbles:!0,cancelable:!0,detail:i});e&&a.addEventListener(n,e,{once:!0}),s?tf(a,c):a.dispatchEvent(c)}Ce(Rs,"handleAndDispatchCustomEvent");var wx=Ce((n,e,i=0)=>{const s=Math.abs(n.x),a=Math.abs(n.y),c=s>a;return e==="left"||e==="right"?c&&s>i:!c&&a>i},"isDeltaInDirection");function v0(n=()=>{}){const e=ar(n);Ar(()=>{let i=0,s=0;return i=window.requestAnimationFrame(()=>s=window.requestAnimationFrame(e)),()=>{window.cancelAnimationFrame(i),window.cancelAnimationFrame(s)}},[e])}Ce(v0,"useNextFrame");function y0(n){return n.nodeType===n.ELEMENT_NODE}Ce(y0,"isHTMLElement");function w0(n){const e=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:Ce(s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;i.nextNode();)e.push(i.currentNode);return e}Ce(w0,"getTabbableCandidates");function Ea(n){const e=document.activeElement;return n.some(i=>i===e?!0:(i.focus(),document.activeElement!==e))}Ce(Ea,"focusFirst");var TR=lR,b0=dR,j0=xR,S0=jR,N0=SR,E0=ER,C0=g0;const bx=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,jx=zy,PR=(n,e)=>i=>{var s;if(e?.variants==null)return jx(n,i?.class,i?.className);const{variants:a,defaultVariants:c}=e,d=Object.keys(a).map(h=>{const x=i?.[h],v=c?.[h];if(x===null)return null;const y=bx(x)||bx(v);return a[h][y]}),f=i&&Object.entries(i).reduce((h,x)=>{let[v,y]=x;return y===void 0||(h[v]=y),h},{}),p=e==null||(s=e.compoundVariants)===null||s===void 0?void 0:s.reduce((h,x)=>{let{class:v,className:y,...S}=x;return Object.entries(S).every(E=>
18{let[N,j]=E;return Array.isArray(j)?j.includes({...c,...f}[N]):{...c,...f}[N]===j})?[...h,v,y]:h},[]);return jx(n,d,p,i?.class,i?.className)},kR=TR,T0=b.forwardRef(({className:n,...e},i)=>l.jsx(b0,{ref:i,className:or("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]",n),...e}));T0.displayName=b0.displayName;const RR=PR("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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"}}),P0=b.forwardRef(({className:n,variant:e,...i},s)=>l.jsx(j0,{ref:s,className:or(RR({variant:e}),n),...i}));P0.displayName=j0.displayName;const AR=b.forwardRef(({className:n,...e},i)=>l.jsx(E0,{ref:i,className:or("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",n),...e}));AR.displayName=E0.displayName;const k0=b.forwardRef(({className:n,...e},i)=>l.jsx(C0,{ref:i,className:or("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n),"toast-close":"",...e,children:l.jsx(Wx,{className:"h-4 w-4"})}));k0.displayName=C0.displayName;const R0=b.forwardRef(({className:n,...e},i)=>l.jsx(S0,{ref:i,className:or("text-sm font-semibold [&+div]:text-xs",n),...e}));R0.displayName=S0.displayName;const A0=b.forwardRef(({className:n,...e},i)=>l.jsx(N0,{ref:i,className:or("text-sm opacity-90",n),...e}));A0.displayName=N0.displayName;function OR(){const{toasts:n}=uf();return l.jsxs(kR,{children:[n.map(function({id:e,title:i,description:s,action:a,...c}){return l.jsxs(P0,{...c,children:[l.jsxs("div",{className:"grid gap-1",children:[i&&l.jsx(R0,{children:i}),s&&l.jsx(A0,{children:s})]}),a,l.jsx(k0,{})]},e)}),l.jsx(T0,{})]})}function IR(){const{toast:n}=uf();return b.useEffect(()=>{const e=async i=>{if(i.target.tagName!=="FORM"||i.target.dataset.noKloser!==void 0)return;i.preventDefault();const s=i.target,a=s.querySelector('button[type="submit"]');let c="",d=!1;a&&(c=a.textContent,d=a.disabled,a.disabled=!0,a.textContent="Enviando...");try{const f=s.querySelector('[name="name"]')?.value||"",p=s.querySelector('[name="email"]')?.value||"",h=s.querySelector('[name="phone"]')?.value||"",x=s.querySelector('[name="message"]')?.value||"",v=s.dataset.propertyId||"",y=s.dataset.agent||"",E=new FormData(s).get("property_type")||"",N=Et("utm_source")||"",j=[];E&&j.push(E),N&&j.push(N);const T={nombre:f,email:p,telefono:h,mensaje:x,origen:"Horizons Website",property_reference:v,assigned_agent:y,tags:j,meta:{page_url:window.location.href,page_title:document.title,referrer:document.referrer,utm_source:Et("utm_source"),utm_medium:Et("utm_medium"),utm_campaign:Et("utm_campaign"),utm_term:Et("utm_term"),utm_content:Et("utm_content"),language:navigator.language,user_agent:navigator.userAgent}};await Jd(T),s.reset(),n({title:"Solicitud recibida",description:"Gracias. Hemos recibido tu solicitud."})}catch{n({title:"Error",description:"Ha ocurrido un error. Inténtalo de nuevo.",variant:"destructive"})}finally{a&&(a.disabled=d,a.textContent=c)}};return document.addEventListener("submit",e),()=>{document.removeEventListener("submit",e)}},[n]),l.jsxs(lj,{children:[l.jsx(vj,{}),l.jsxs("div",{className:"flex flex-col min-h-screen bg-background relative",children:[l.jsx(JC,{}),l.jsx("main",{className:"flex-grow",children:l.jsxs(V1,{children:[l.jsx(ct,{path:"/",element:l.jsx(YP,{})}),l.jsx(ct,{path:"/el-metodo",element:l.jsx(QP,{})}),l.jsx(ct,{path:"/noelia-mar",element:l.jsx(XP,{})}),l.jsx(ct,{path:"/metodo-noelia-mar",element:l.jsx(Mk,{})}),l.jsx(ct,{path:"/metodo-vecta",element:l.jsx(_1,{to:"/metodo-noelia-mar",replace:!0})}),l.jsx(ct,{path:"/areas-terapeuticas",element:l.jsx(JP,{})}),l.jsx(ct,{path:"/areas-terapeuticas/fisioterapia-avanzada",element:l.jsx(kk,{})}),l.jsx(ct,{path:"/areas-terapeuticas/osteopatia-integrativa",element:l.jsx(Rk,{})}),l.jsx(ct,{path:"/areas-terapeuticas/psiconeuroinmunologia-clinica",element:l.jsx(Ak,{})}),l.jsx(ct,{path:"/areas-terapeuticas/ejercicio-terapeutico",element:l.jsx(Ok,{})}),l.jsx(ct,{path:"/areas-terapeuticas/nutricion",element:l.jsx(Lk,{})}),l.jsx(ct,{path:"/equipo",element:l.jsx(ek,{})}),l.jsx(ct,{path:"/contacto",element:l.jsx(Pk,{})}),l.jsx(ct,{path:"/politica-privacidad",element:l.jsx(_k,{})}),l.jsx(ct,{path:"/aviso-legal",element:l.jsx(Dk,{})})]})}),l.jsx(ZC,{}),l.jsx(eT,{}),l.jsx(dP,{})]}),l.jsx(OR,{})]})}Db.createRoot(document.getElementById("root")).render(l.jsx(IR,{}));
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.