PageSourceSearch

https://endometriosi.netlify.app/assets/index-o2IAFwAu.js

js endometriosi.netlify.app collected 2026-10-03 10:42:03 UTC 634,039 bytes, 1,334 lines download raw bytes

vendor: 4,579 bytes, line 1
1(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))r(d);new MutationObserver(d=>{for(const f of d)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&r(m)}).observe(document,{childList:!0,subtree:!0});function o(d){const f={};return d.integrity&&(f.integrity=d.integrity),d.referrerPolicy&&(f.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?f.credentials="include":d.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(d){if(d.ep)return;d.ep=!0;const f=o(d);fetch(d.href,f)}})();var hu={exports:{}},Al={};var $p;function g1(){if($p)return Al;$p=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function o(r,d,f){var m=null;if(f!==void 0&&(m=""+f),d.key!==void 0&&(m=""+d.key),"key"in d){f={};for(var p in d)p!=="key"&&(f[p]=d[p])}else f=d;return d=f.ref,{$$typeof:a,type:r,key:m,ref:d!==void 0?d:null,props:f}}return Al.Fragment=l,Al.jsx=o,Al.jsxs=o,Al}var Wp;function x1(){return Wp||(Wp=1,hu.exports=g1()),hu.exports}var n=x1(),pu={exports:{}},le={};var Jp;function v1(){if(Jp)return le;Jp=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),j=Symbol.iterator;function E(N){return N===null||typeof N!="object"?null:(N=j&&N[j]||N["@@iterator"],typeof N=="function"?N:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,B={};function V(N,G,I){this.props=N,this.context=G,this.refs=B,this.updater=I||k}V.prototype.isReactComponent={},V.prototype.setState=function(N,G){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,G,"setState")},V.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function U(){}U.prototype=V.prototype;function M(N,G,I){this.props=N,this.context=G,this.refs=B,this.updater=I||k}var F=M.prototype=new U;F.constructor=M,L(F,V.prototype),F.isPureReactComponent=!0;var P=Array.isArray;function ae(){}var Z={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function xe(N,G,I){var $=I.ref;return{$$typeof:a,type:N,key:G,ref:$!==void 0?$:null,props:I}}function Re(N,G){return xe(N.type,G,N.props)}function tt(N){return typeof N=="object"&&N!==null&&N.$$typeof===a}function it(N){var G={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(I){return G[I]})}var oi=/\/+/g;function kt(N,G){return typeof N=="object"&&N!==null&&N.key!=null?it(""+N.key):G.toString(36)}function pt(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(ae,ae):(N.status="pending",N.then(function(G){N.status==="pending"&&(N.status="fulfilled",N.value=G)},function(G){N.status==="pending"&&(N.status="rejected",N.reason=G)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function _(N,G,I,$,se){var ce=typeof N;(ce==="undefined"||ce==="boolean")&&(N=null);var we=!1;if(N===null)we=!0;else switch(ce){case"bigint":case"string":case"number":we=!0;break;case"object":switch(N.$$typeof){case a:case l:we=!0;break;case v:return we=N._init,_(we(N._payload),G,I,$,se)}}if(we)return se=se(N),we=$===""?"."+kt(N,0):$,P(se)?(I="",we!=null&&(I=we.replace(oi,"$&/")+"/"),_(se,G,I,"",function(On){return On})):se!=null&&(tt(se)&&(se=Re(se,I+(se.key==null||N&&N.key===se.key?"":(""+se.key).replace(oi,"$&/")+"/")+we)),G.push(se)),1;we=0;var dt=$===""?".":$+":";if(P(N))for(var Ye=0;Ye<N.length;Ye++)$=N[Ye],ce=dt+kt($,Ye),we+=_($,G,I,ce,se);else if(Ye=E(N),typeof Ye=="function")for(N=Ye.call(N),Ye=0;!($=N.next()).done;)$=$.value,ce=dt+kt($,Ye++),we+=_($,G,I,ce,se);else if(ce==="object"){if(typeof N.then=="function")return _(pt(N),G,I,$,se);throw G=String(N),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return we}
vendor: 15,509 bytes, line 1
1function Y(N,G,I){if(N==null)return N;var $=[],se=0;return _(N,$,"","",function(ce){return G.call(I,ce,se++)}),$}function W(N){if(N._status===-1){var G=N._result;G=G(),G.then(function(I){(N._status===0||N._status===-1)&&(N._status=1,N._result=I)},function(I){(N._status===0||N._status===-1)&&(N._status=2,N._result=I)}),N._status===-1&&(N._status=0,N._result=G)}if(N._status===1)return N._result.default;throw N._result}var fe=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},ge={map:Y,forEach:function(N,G,I){Y(N,function(){G.apply(this,arguments)},I)},count:function(N){var G=0;return Y(N,function(){G++}),G},toArray:function(N){return Y(N,function(G){return G})||[]},only:function(N){if(!tt(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return le.Activity=b,le.Children=ge,le.Component=V,le.Fragment=o,le.Profiler=d,le.PureComponent=M,le.StrictMode=r,le.Suspense=g,le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,le.__COMPILER_RUNTIME={__proto__:null,c:function(N){return Z.H.useMemoCache(N)}},le.cache=function(N){return function(){return N.apply(null,arguments)}},le.cacheSignal=function(){return null},le.cloneElement=function(N,G,I){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var $=L({},N.props),se=N.key;if(G!=null)for(ce in G.key!==void 0&&(se=""+G.key),G)!ee.call(G,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&G.ref===void 0||($[ce]=G[ce]);var ce=arguments.length-2;if(ce===1)$.children=I;else if(1<ce){for(var we=Array(ce),dt=0;dt<ce;dt++)we[dt]=arguments[dt+2];$.children=we}return xe(N.type,se,$)},le.createContext=function(N){return N={$$typeof:m,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:f,_context:N},N},le.createElement=function(N,G,I){var $,se={},ce=null;if(G!=null)for($ in G.key!==void 0&&(ce=""+G.key),G)ee.call(G,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(se[$]=G[$]);var we=arguments.length-2;if(we===1)se.children=I;else if(1<we){for(var dt=Array(we),Ye=0;Ye<we;Ye++)dt[Ye]=arguments[Ye+2];se.children=dt}if(N&&N.defaultProps)for($ in we=N.defaultProps,we)se[$]===void 0&&(se[$]=we[$]);return xe(N,ce,se)},le.createRef=function(){return{current:null}},le.forwardRef=function(N){return{$$typeof:p,render:N}},le.isValidElement=tt,le.lazy=function(N){return{$$typeof:v,_payload:{_status:-1,_result:N},_init:W}},le.memo=function(N,G){return{$$typeof:x,type:N,compare:G===void 0?null:G}},le.startTransition=function(N){var G=Z.T,I={};Z.T=I;try{var $=N(),se=Z.S;se!==null&&se(I,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(ae,fe)}catch(ce){fe(ce)}finally{G!==null&&I.types!==null&&(G.types=I.types),Z.T=G}},le.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},le.use=function(N){return Z.H.use(N)},le.useActionState=function(N,G,I){return Z.H.useActionState(N,G,I)},le.useCallback=function(N,G){return Z.H.useCallback(N,G)},le.useContext=function(N){return Z.H.useContext(N)},le.useDebugValue=function(){},le.useDeferredValue=function(N,G){return Z.H.useDeferredValue(N,G)},le.useEffect=function(N,G){return Z.H.useEffect(N,G)},le.useEffectEvent=function(N){return Z.H.useEffectEvent(N)},le.useId=function(){return Z.H.useId()},le.useImperativeHandle=function(N,G,I){return Z.H.useImperativeHandle(N,G,I)},le.useInsertionEffect=function(N,G){return Z.H.useInsertionEffect(N,G)},le.useLayoutEffect=function(N,G){return Z.H.useLayoutEffect(N,G)},le.useMemo=function(N,G){return Z.H.useMemo(N,G)},le.useOptimistic=function(N,G){return Z.H.useOptimistic(N,G)},le.useReducer=function(N,G,I){return Z.H.useReducer(N,G,I)},le.useRef=function(N){return Z.H.useRef(N)},le.useState=function(N){return Z.H.useState(N)},le.useSyncExternalStore=function(N,G,I){return Z.H.useSyncExternalStore(N,G,I)},le.useTransition=function(){return Z.H.useTransition()},le.version="19.2.3",le}var eg;function md(){return eg||(eg=1,pu.exports=v1()),pu.exports}var w=md(),gu={exports:{}},Cl={},xu={exports:{}},vu={};var tg;function y1(){return tg||(tg=1,(function(a){function l(_,Y){var W=_.length;_.push(Y);e:for(;0<W;){var fe=W-1>>>1,ge=_[fe];if(0<d(ge,Y))_[fe]=Y,_[W]=ge,W=fe;else break e}}function o(_){return _.length===0?null:_[0]}function r(_){if(_.length===0)return null;var Y=_[0],W=_.pop();if(W!==Y){_[0]=W;e:for(var fe=0,ge=_.length,N=ge>>>1;fe<N;){var G=2*(fe+1)-1,I=_[G],$=G+1,se=_[$];if(0>d(I,W))$<ge&&0>d(se,I)?(_[fe]=se,_[$]=W,fe=$):(_[fe]=I,_[G]=W,fe=G);else if($<ge&&0>d(se,W))_[fe]=se,_[$]=W,fe=$;else break e}}return Y}function d(_,Y){var W=_.sortIndex-Y.sortIndex;return W!==0?W:_.id-Y.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var m=Date,p=m.now();a.unstable_now=function(){return m.now()-p}}var g=[],x=[],v=1,b=null,j=3,E=!1,k=!1,L=!1,B=!1,V=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function F(_){for(var Y=o(x);Y!==null;){if(Y.callback===null)r(x);else if(Y.startTime<=_)r(x),Y.sortIndex=Y.expirationTime,l(g,Y);else break;Y=o(x)}}function P(_){if(L=!1,F(_),!k)if(o(g)!==null)k=!0,ae||(ae=!0,it());else{var Y=o(x);Y!==null&&pt(P,Y.startTime-_)}}var ae=!1,Z=-1,ee=5,xe=-1;function Re(){return B?!0:!(a.unstable_now()-xe<ee)}function tt(){if(B=!1,ae){var _=a.unstable_now();xe=_;var Y=!0;try{e:{k=!1,L&&(L=!1,U(Z),Z=-1),E=!0;var W=j;try{t:{for(F(_),b=o(g);b!==null&&!(b.expirationTime>_&&Re());){var fe=b.callback;if(typeof fe=="function"){b.callback=null,j=b.priorityLevel;var ge=fe(b.expirationTime<=_);if(_=a.unstable_now(),typeof ge=="function"){b.callback=ge,F(_),Y=!0;break t}b===o(g)&&r(g),F(_)}else r(g);b=o(g)}if(b!==null)Y=!0;else{var N=o(x);N!==null&&pt(P,N.startTime-_),Y=!1}}break e}finally{b=null,j=W,E=!1}Y=void 0}}finally{Y?it():ae=!1}}}var it;if(typeof M=="function")it=function(){M(tt)};else if(typeof MessageChannel<"u"){var oi=new MessageChannel,kt=oi.port2;oi.port1.onmessage=tt,it=function(){kt.postMessage(null)}}else it=function(){V(tt,0)};function pt(_,Y){Z=V(function(){_(a.unstable_now())},Y)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(_){_.callback=null},a.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"):ee=0<_?Math.floor(1e3/_):5},a.unstable_getCurrentPriorityLevel=function(){return j},a.unstable_next=function(_){switch(j){case 1:case 2:case 3:var Y=3;break;default:Y=j}var W=j;j=Y;try{return _()}finally{j=W}},a.unstable_requestPaint=function(){B=!0},a.unstable_runWithPriority=function(_,Y){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var W=j;j=_;try{return Y()}finally{j=W}},a.unstable_scheduleCallback=function(_,Y,W){var fe=a.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?fe+W:fe):W=fe,_){case 1:var ge=-1;break;case 2:ge=250;break;case 5:ge=1073741823;break;case 4:ge=1e4;break;default:ge=5e3}return ge=W+ge,_={id:v++,callback:Y,priorityLevel:_,startTime:W,expirationTime:ge,sortIndex:-1},W>fe?(_.sortIndex=W,l(x,_),o(g)===null&&_===o(x)&&(L?(U(Z),Z=-1):L=!0,pt(P,W-fe))):(_.sortIndex=ge,l(g,_),k||E||(k=!0,ae||(ae=!0,it()))),_},a.unstable_shouldYield=Re,a.unstable_wrapCallback=function(_){var Y=j;return function(){var W=j;j=Y;try{return _.apply(this,arguments)}finally{j=W}}}})(vu)),vu}var ig;function b1(){return ig||(ig=1,xu.exports=y1()),xu.exports}var yu={exports:{}},ct={};var ag;function j1(){if(ag)return ct;ag=1;var a=md();function l(g){var x="https://react.dev/errors/"+g;if(1<arguments.length){x+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)x+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+x+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(l(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},d=Symbol.for("react.portal");function f(g,x,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:b==null?null:""+b,children:g,containerInfo:x,implementation:v}}var m=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,x){if(g==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}return ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ct.createPortal=function(g,x){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error(l(299));return f(g,x,null,v)},ct.flushSync=function(g){var x=m.T,v=r.p;try{if(m.T=null,r.p=2,g)return g()}finally{m.T=x,r.p=v,r.d.f()}},ct.preconnect=function(g,x){typeof g=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,r.d.C(g,x))},ct.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},ct.preinit=function(g,x){if(typeof g=="string"&&x&&typeof x.as=="string"){var v=x.as,b=p(v,x.crossOrigin),j=typeof x.integrity=="string"?x.integrity:void 0,E=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;v==="style"?r.d.S(g,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:b,integrity:j,fetchPriority:E}):v==="script"&&r.d.X(g,{crossOrigin:b,integrity:j,fetchPriority:E,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},ct.preinitModule=function(g,x){if(typeof g=="string")if(typeof x=="object"&&x!==null){if(x.as==null||x.as==="script"){var v=p(x.as,x.crossOrigin);r.d.M(g,{crossOrigin:v,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})}}else x==null&&r.d.M(g)},ct.preload=function(g,x){if(typeof g=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){var v=x.as,b=p(v,x.crossOrigin);r.d.L(g,v,{crossOrigin:b,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},ct.preloadModule=function(g,x){if(typeof g=="string")if(x){var v=p(x.as,x.crossOrigin);r.d.m(g,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:v,integrity:typeof x.integrity=="string"?x.integrity:void 0})}else r.d.m(g)},ct.requestFormReset=function(g){r.d.r(g)},ct.unstable_batchedUpdates=function(g,x){return g(x)},ct.useFormState=function(g,x,v){return m.H.useFormState(g,x,v)},ct.useFormStatus=function(){return m.H.useHostTransitionStatus()},ct.version="19.2.3",ct}var ng;function S1(){if(ng)return yu.exports;ng=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),yu.exports=j1(),yu.exports}var lg;function w1(){if(lg)return Cl;lg=1;var a=b1(),l=md(),o=S1();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(r(188))}function x(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var i=e,s=t;;){var c=i.return;if(c===null)break;var u=c.alternate;if(u===null){if(s=c.return,s!==null){i=s;continue}break}if(c.child===u.child){for(u=c.child;u;){if(u===i)return g(c),e;if(u===s)return g(c),t;u=u.sibling}throw Error(r(188))}if(i.return!==s.return)i=c,s=u;else{for(var h=!1,y=c.child;y;){if(y===i){h=!0,i=c,s=u;break}if(y===s){h=!0,s=c,i=u;break}y=y.sibling}if(!h){for(y=u.child;y;){if(y===i){h=!0,i=u,s=c;break}if(y===s){h=!0,s=u,i=c;break}y=y.sibling}if(!h)throw Error(r(189))}}if(i.alternate!==s)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,j=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),M=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),xe=Symbol.for("react.activity"),Re=Symbol.for("react.memo_cache_sentinel"),tt=Symbol.iterator;function it(e){return e===null||typeof e!="object"?null:(e=tt&&e[tt]||e["@@iterator"],typeof e=="function"?e:null)}var oi=Symbol.for("react.client.reference");function kt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===oi?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case L:return"Fragment";case V:return"Profiler";case B:return"StrictMode";case P:return"Suspense";case ae:return"SuspenseList";case xe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case k:return"Portal";case M:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case F:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return t=e.displayName||null,t!==null?t:kt(e.type)||"Memo";case ee:t=e._payload,e=e._init;try{return kt(e(t))}catch{}}return null}var pt=Array.isArray,_=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},fe=[],ge=-1;function N(e){return{current:e}}function G(e){0>ge||(e.current=fe[ge],fe[ge]=null,ge--)}function I(e,t){ge++,fe[ge]=e.current,e.current=t}var $=N(null),se=N(null),ce=N(null),we=N(null);function dt(e,t){switch(I(ce,t),I(se,e),I($,null),t.nodeType){case 9:case 11:e=(e
vendor: 11,836 bytes, lines 1-8
1=t.documentElement)&&(e=e.namespaceURI)?bp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=bp(t),e=jp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G($),I($,e)}function Ye(){G($),G(se),G(ce)}function On(e){e.memoizedState!==null&&I(we,e);var t=$.current,i=jp(t,e.type);t!==i&&(I(se,e),I($,i))}function ns(e){se.current===e&&(G($),G(se)),we.current===e&&(G(we),zl._currentValue=W)}var Zo,Kd;function ra(e){if(Zo===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);Zo=t&&t[1]||"",Kd=-1<i.stack.indexOf(`
2    at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
3`+Zo+e+Kd}var $o=!1;function Wo(e,t){if(!e||$o)return"";$o=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(R){var D=R}Reflect.construct(e,[],q)}else{try{q.call()}catch(R){D=R}e.call(q.prototype)}}else{try{throw Error()}catch(R){D=R}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(R){if(R&&D&&typeof R.stack=="string")return[R.stack,D.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=s.DetermineComponentFrameRoot(),h=u[0],y=u[1];if(h&&y){var S=h.split(`
4`),C=y.split(`
5`);for(c=s=0;s<S.length&&!S[s].includes("DetermineComponentFrameRoot");)s++;for(;c<C.length&&!C[c].includes("DetermineComponentFrameRoot");)c++;if(s===S.length||c===C.length)for(s=S.length-1,c=C.length-1;1<=s&&0<=c&&S[s]!==C[c];)c--;for(;1<=s&&0<=c;s--,c--)if(S[s]!==C[c]){if(s!==1||c!==1)do if(s--,c--,0>c||S[s]!==C[c]){var O=`
6`+S[s].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),O}while(1<=s&&0<=c);break}}}finally{$o=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?ra(i):""}function Iv(e,t){switch(e.tag){case 26:case 27:case 5:return ra(e.type);case 16:return ra("Lazy");case 13:return e.child!==t&&t!==null?ra("Suspense Fallback"):ra("Suspense");case 19:return ra("SuspenseList");case 0:case 15:return Wo(e.type,!1);case 11:return Wo(e.type.render,!1);case 1:return Wo(e.type,!0);case 31:return ra("Activity");default:return""}}function Zd(e){try{var t="",i=null;do t+=Iv(e,i),i=e,e=e.return;while(e);return t}catch(s){return`
7Error generating stack: `+s.message+`
8`+s.stack}}var Jo=Object.prototype.hasOwnProperty,er=a.unstable_scheduleCallback,tr=a.unstable_cancelCallback,Qv=a.unstable_shouldYield,Kv=a.unstable_requestPaint,wt=a.unstable_now,Zv=a.unstable_getCurrentPriorityLevel,$d=a.unstable_ImmediatePriority,Wd=a.unstable_UserBlockingPriority,ls=a.unstable_NormalPriority,$v=a.unstable_LowPriority,Jd=a.unstable_IdlePriority,Wv=a.log,Jv=a.unstable_setDisableYieldValue,Bn=null,zt=null;function Mi(e){if(typeof Wv=="function"&&Jv(e),zt&&typeof zt.setStrictMode=="function")try{zt.setStrictMode(Bn,e)}catch{}}var Nt=Math.clz32?Math.clz32:iy,ey=Math.log,ty=Math.LN2;function iy(e){return e>>>=0,e===0?32:31-(ey(e)/ty|0)|0}var ss=256,os=262144,rs=4194304;function ca(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function cs(e,t,i){var s=e.pendingLanes;if(s===0)return 0;var c=0,u=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var y=s&134217727;return y!==0?(s=y&~u,s!==0?c=ca(s):(h&=y,h!==0?c=ca(h):i||(i=y&~e,i!==0&&(c=ca(i))))):(y=s&~u,y!==0?c=ca(y):h!==0?c=ca(h):i||(i=s&~e,i!==0&&(c=ca(i)))),c===0?0:t!==0&&t!==c&&(t&u)===0&&(u=c&-c,i=t&-t,u>=i||u===32&&(i&4194048)!==0)?t:c}function _n(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ay(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ef(){var e=rs;return rs<<=1,(rs&62914560)===0&&(rs=4194304),e}function ir(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function Vn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ny(e,t,i,s,c,u){var h=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var y=e.entanglements,S=e.expirationTimes,C=e.hiddenUpdates;for(i=h&~i;0<i;){var O=31-Nt(i),q=1<<O;y[O]=0,S[O]=-1;var D=C[O];if(D!==null)for(C[O]=null,O=0;O<D.length;O++){var R=D[O];R!==null&&(R.lane&=-536870913)}i&=~q}s!==0&&tf(e,s,0),u!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=u&~(h&~t))}function tf(e,t,i){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-Nt(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|i&261930}function af(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var s=31-Nt(i),c=1<<s;c&t|e[s]&t&&(e[s]|=t),i&=~c}}function nf(e,t){var i=t&-t;return i=(i&42)!==0?1:ar(i),(i&(e.suspendedLanes|t))!==0?0:i}function ar(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function nr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function lf(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Fp(e.type))}function sf(e,t){var i=Y.p;try{return Y.p=e,t()}finally{Y.p=i}}var Ri=Math.random().toString(36).slice(2),at="__reactFiber$"+Ri,gt="__reactProps$"+Ri,La="__reactContainer$"+Ri,lr="__reactEvents$"+Ri,ly="__reactListeners$"+Ri,sy="__reactHandles$"+Ri,of="__reactResources$"+Ri,Un="__reactMarker$"+Ri;function sr(e){delete e[at],delete e[gt],delete e[lr],delete e[ly],delete e[sy]}function Oa(e){var t=e[at];if(t)return t;for(var i=e.parentNode;i;){if(t=i[La]||i[at]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Ap(e);e!==null;){if(i=e[at])return i;e=Ap(e)}return t}e=i,i=e.parentNode}return null}function Ba(e){if(e=e[at]||e[La]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Hn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function _a(e){var t=e[of];return t||(t=e[of]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Un]=!0}var rf=new Set,cf={};function ua(e,t){Va(e,t),Va(e+"Capture",t)}function Va(e,t){for(cf[e]=t,e=0;e<t.length;e++)rf.add(t[e])}var oy=RegExp("^[: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]*$"),uf={},df={};function ry(e){return Jo.call(df,e)?!0:Jo.call(uf,e)?!1:oy.test(e)?df[e]=!0:(uf[e]=!0,!1)}function us(e,t,i){if(ry(t))if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+i)}}function ds(e,t,i){if(i===null)e.removeAttribute(t);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+i)}}function ri(e,t,i,s){if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(t,i,""+s)}}function Lt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ff(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cy(e,t,i){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var c=s.get,u=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(h){i=""+h,u.call(this,h)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(h){i=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function or(e){if(!e._valueTracker){var t=ff(e)?"checked":"value";e._valueTracker=cy(e,t,""+e[t])}}function mf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),s="";return e&&(s=ff(e)?e.checked?"true":"false":e.value),e=s,e!==i?(t.setValue(e),!0):!1}function fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var uy=/[\n"\\]/g;function Ot(e){return e.replace(uy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function rr(e,t,i,s,c,u,h,y){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Lt(t)):e.value!==""+Lt(t)&&(e.value=""+Lt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?cr(e,h,Lt(t)):i!=null?cr(e,h,Lt(i)):s!=null&&e.removeAttribute("value"),c==null&&u!=null&&(e.defaultChecked=!!u),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.name=""+Lt(y):e.removeAttribute("name")}function hf(e,t,i,s,c,u,h,y){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||i!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){or(e);return}i=i!=null?""+Lt(i):"",t=t!=null?""+Lt(t):i,y||t===e.value||(e.value=t),e.defaultValue=t}s=s??c,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=y?e.checked:!!s,e.defaultChecked=!!s,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),or(e)}function cr(e,t,i){t==="number"&&fs(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function Ua(e,t,i,s){if(e=e.options,t){t={};for(var c=0;c<i.length;c++)t["$"+i[c]]=!0;for(i=0;i<e.length;i++)c=t.hasOwnProperty("$"+e[i].value),e[i].selected!==c&&(e[i].selected=c),c&&s&&(e[i].defaultSelected=!0)}else{for(i=""+Lt(i),t=null,c=0;c<e.length;c++){if(e[c].value===i){e[c].selected=!0,s&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function pf(e,t,i){if(t!=null&&(t=""+Lt(t),t!==e.value&&(e.value=t),i==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=i!=null?""+Lt(i):""}function gf(e,t,i,s){if(t==null){if(s!=null){if(i!=null)throw Error(r(92));
vendor: 4,340 bytes, line 8
8if(pt(s)){if(1<s.length)throw Error(r(93));s=s[0]}i=s}i==null&&(i=""),t=i}i=Lt(t),e.defaultValue=i,s=e.textContent,s===i&&s!==""&&s!==null&&(e.value=s),or(e)}function Ha(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var dy=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xf(e,t,i){var s=t.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,i):typeof i!="number"||i===0||dy.has(t)?t==="float"?e.cssFloat=i:e[t]=(""+i).trim():e[t]=i+"px"}function vf(e,t,i){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var c in t)s=t[c],t.hasOwnProperty(c)&&i[c]!==s&&xf(e,c,s)}else for(var u in t)t.hasOwnProperty(u)&&xf(e,u,t[u])}function ur(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fy=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
8-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),my=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ms(e){return my.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ci(){}var dr=null;function fr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qa=null,Ga=null;function yf(e){var t=Ba(e);if(t&&(e=t.stateNode)){var i=e[gt]||null;e:switch(e=t.stateNode,t.type){case"input":if(rr(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Ot(""+t)+'"][type="radio"]'),t=0;t<i.length;t++){var s=i[t];if(s!==e&&s.form===e.form){var c=s[gt]||null;if(!c)throw Error(r(90));rr(s,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<i.length;t++)s=i[t],s.form===e.form&&mf(s)}break e;case"textarea":pf(e,i.value,i.defaultValue);break e;case"select":t=i.value,t!=null&&Ua(e,!!i.multiple,t,!1)}}}var mr=!1;function bf(e,t,i){if(mr)return e(t,i);mr=!0;try{var s=e(t);return s}finally{if(mr=!1,(qa!==null||Ga!==null)&&(eo(),qa&&(t=qa,e=Ga,Ga=qa=null,yf(t),e)))for(t=0;t<e.length;t++)yf(e[t])}}function qn(e,t){var i=e.stateNode;if(i===null)return null;var s=i[gt]||null;if(s===null)return null;i=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(r(231,t,typeof i));return i}var ui=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hr=!1;if(ui)try{var Gn={};Object.defineProperty(Gn,"passive",{get:function(){hr=!0}}),window.addEventListener("test",Gn,Gn),window.removeEventListener("test",Gn,Gn)}catch{hr=!1}var ki=null,pr=null,hs=null;function jf(){if(hs)return hs;var e,t=pr,i=t.length,s,c="value"in ki?ki.value:ki.textContent,u=c.length;for(e=0;e<i&&t[e]===c[e];e++);var h=i-e;for(s=1;s<=h&&t[i-s]===c[u-s];s++);return hs=c.slice(e,1<s?1-s:void 0)}function ps(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function gs(){return!0}function Sf(){return!1}function xt(e){function t(i,s,c,u,h){this._reactName=i,this._targetInst=c,this.type=s,this.nativeEvent=u,this.target=h,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(i=e[y],this[y]=i?i(u):u[y]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?gs:Sf,this.isPropagationStopped=Sf,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=gs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=gs)},persist:function(){},isPersistent:gs}),t}var da={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=xt(da),Yn=b({},da,{view:0,detail:0}),hy=xt(Yn),gr,xr,Fn,vs=b({},Yn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fn&&(Fn&&e.type==="mousemove"?(gr=e.screenX-Fn.screenX,xr=e.screenY-Fn.screenY):xr=gr=0,Fn=e),gr)},movementY:function(e){return"movementY"in e?e.movementY:xr}}),wf=xt(vs),py=b({},vs,{dataTransfer:0}),gy=xt(py),xy=b({},Yn,{relatedTarget:0}),vr=xt(xy),vy=b({},da,{animationName:0,elapsedTime:0,pseudoElement:0}),yy=xt(vy),by=b({},da,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),jy=xt(by),Sy=b({},da,{data:0}),zf=xt(Sy),wy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zy={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"},Ny={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ty(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ny[e])?!!t[e]:!1}function yr(){return Ty}var Ey=b({},Yn,{key:function(e){if(e.key){var t=wy[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 5,186 bytes, line 8
8return e.type==="keypress"?(e=ps(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yr,charCode:function(e){return e.type==="keypress"?ps(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ps(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ay=xt(Ey),Cy=b({},vs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nf=xt(Cy),Dy=b({},Yn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yr}),My=xt(Dy),Ry=b({},da,{propertyName:0,elapsedTime:0,pseudoElement:0}),ky=xt(Ry),Ly=b({},vs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Oy=xt(Ly),By=b({},da,{newState:0,oldState:0}),_y=xt(By),Vy=[9,13,27,32],br=ui&&"CompositionEvent"in window,Pn=null;ui&&"documentMode"in document&&(Pn=document.documentMode);var Uy=ui&&"TextEvent"in window&&!Pn,Tf=ui&&(!br||Pn&&8<Pn&&11>=Pn),Ef=" ",Af=!1;function Cf(e,t){switch(e){case"keyup":return Vy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ya=!1;function Hy(e,t){switch(e){case"compositionend":return Df(t);case"keypress":return t.which!==32?null:(Af=!0,Ef);case"textInput":return e=t.data,e===Ef&&Af?null:e;default:return null}}function qy(e,t){if(Ya)return e==="compositionend"||!br&&Cf(e,t)?(e=jf(),hs=pr=ki=null,Ya=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tf&&t.locale!=="ko"?null:t.data;default:return null}}var Gy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Mf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gy[e.type]:t==="textarea"}function Rf(e,t,i,s){qa?Ga?Ga.push(s):Ga=[s]:qa=s,t=oo(t,"onChange"),0<t.length&&(i=new xs("onChange","change",null,i,s),e.push({event:i,listeners:t}))}var Xn=null,In=null;function Yy(e){hp(e,0)}function ys(e){var t=Hn(e);if(mf(t))return e}function kf(e,t){if(e==="change")return t}var Lf=!1;if(ui){var jr;if(ui){var Sr="oninput"in document;if(!Sr){var Of=document.createElement("div");Of.setAttribute("oninput","return;"),Sr=typeof Of.oninput=="function"}jr=Sr}else jr=!1;Lf=jr&&(!document.documentMode||9<document.documentMode)}function Bf(){Xn&&(Xn.detachEvent("onpropertychange",_f),In=Xn=null)}function _f(e){if(e.propertyName==="value"&&ys(In)){var t=[];Rf(t,In,e,fr(e)),bf(Yy,t)}}function Fy(e,t,i){e==="focusin"?(Bf(),Xn=t,In=i,Xn.attachEvent("onpropertychange",_f)):e==="focusout"&&Bf()}function Py(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ys(In)}function Xy(e,t){if(e==="click")return ys(t)}function Iy(e,t){if(e==="input"||e==="change")return ys(t)}function Qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tt=typeof Object.is=="function"?Object.is:Qy;function Qn(e,t){if(Tt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var c=i[s];if(!Jo.call(t,c)||!Tt(e[c],t[c]))return!1}return!0}function Vf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Uf(e,t){var i=Vf(e);e=0;for(var s;i;){if(i.nodeType===3){if(s=e+i.textContent.length,e<=t&&s>=t)return{node:i,offset:t-e};e=s}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Vf(i)}}function Hf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=fs(e.document);t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=fs(e.document)}return t}function wr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ky=ui&&"documentMode"in document&&11>=document.documentMode,Fa=null,zr=null,Kn=null,Nr=!1;function Gf(e,t,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Nr||Fa==null||Fa!==fs(s)||(s=Fa,"selectionStart"in s&&wr(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focu
vendor: 10,406 bytes, line 8
8sNode:s.focusNode,focusOffset:s.focusOffset}),Kn&&Qn(Kn,s)||(Kn=s,s=oo(zr,"onSelect"),0<s.length&&(t=new xs("onSelect","select",null,t,i),e.push({event:t,listeners:s}),t.target=Fa)))}function fa(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Pa={animationend:fa("Animation","AnimationEnd"),animationiteration:fa("Animation","AnimationIteration"),animationstart:fa("Animation","AnimationStart"),transitionrun:fa("Transition","TransitionRun"),transitionstart:fa("Transition","TransitionStart"),transitioncancel:fa("Transition","TransitionCancel"),transitionend:fa("Transition","TransitionEnd")},Tr={},Yf={};ui&&(Yf=document.createElement("div").style,"AnimationEvent"in window||(delete Pa.animationend.animation,delete Pa.animationiteration.animation,delete Pa.animationstart.animation),"TransitionEvent"in window||delete Pa.transitionend.transition);function ma(e){if(Tr[e])return Tr[e];if(!Pa[e])return e;var t=Pa[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in Yf)return Tr[e]=t[i];return e}var Ff=ma("animationend"),Pf=ma("animationiteration"),Xf=ma("animationstart"),Zy=ma("transitionrun"),$y=ma("transitionstart"),Wy=ma("transitioncancel"),If=ma("transitionend"),Qf=new Map,Er="abort auxClick beforeToggle 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(" ");Er.push("scrollEnd");function Kt(e,t){Qf.set(e,t),ua(t,[e])}var bs=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Bt=[],Xa=0,Ar=0;function js(){for(var e=Xa,t=Ar=Xa=0;t<e;){var i=Bt[t];Bt[t++]=null;var s=Bt[t];Bt[t++]=null;var c=Bt[t];Bt[t++]=null;var u=Bt[t];if(Bt[t++]=null,s!==null&&c!==null){var h=s.pending;h===null?c.next=c:(c.next=h.next,h.next=c),s.pending=c}u!==0&&Kf(i,c,u)}}function Ss(e,t,i,s){Bt[Xa++]=e,Bt[Xa++]=t,Bt[Xa++]=i,Bt[Xa++]=s,Ar|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Cr(e,t,i,s){return Ss(e,t,i,s),ws(e)}function ha(e,t){return Ss(e,null,null,t),ws(e)}function Kf(e,t,i){e.lanes|=i;var s=e.alternate;s!==null&&(s.lanes|=i);for(var c=!1,u=e.return;u!==null;)u.childLanes|=i,s=u.alternate,s!==null&&(s.childLanes|=i),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(c=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,c&&t!==null&&(c=31-Nt(i),e=u.hiddenUpdates,s=e[c],s===null?e[c]=[t]:s.push(t),t.lane=i|536870912),u):null}function ws(e){if(50<xl)throw xl=0,Vc=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ia={};function Jy(e,t,i,s){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,i,s){return new Jy(e,t,i,s)}function Dr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function di(e,t){var i=e.alternate;return i===null?(i=Et(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Zf(e,t){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,t=i.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zs(e,t,i,s,c,u){var h=0;if(s=e,typeof e=="function")Dr(e)&&(h=1);else if(typeof e=="string")h=n1(e,i,$.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xe:return e=Et(31,i,t,c),e.elementType=xe,e.lanes=u,e;case L:return pa(i.children,c,u,t);case B:h=8,c|=24;break;case V:return e=Et(12,i,t,c|2),e.elementType=V,e.lanes=u,e;case P:return e=Et(13,i,t,c),e.elementType=P,e.lanes=u,e;case ae:return e=Et(19,i,t,c),e.elementType=ae,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M:h=10;break e;case U:h=9;break e;case F:h=11;break e;case Z:h=14;break e;case ee:h=16,s=null;break e}h=29,i=Error(r(130,e===null?"null":typeof e,"")),s=null}return t=Et(h,i,t,c),t.elementType=e,t.type=s,t.lanes=u,t}function pa(e,t,i,s){return e=Et(7,e,s,t),e.lanes=i,e}function Mr(e,t,i){return e=Et(6,e,null,t),e.lanes=i,e}function $f(e){var t=Et(18,null,null,0);return t.stateNode=e,t}function Rr(e,t,i){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wf=new WeakMap;function _t(e,t){if(typeof e=="object"&&e!==null){var i=Wf.get(e);return i!==void 0?i:(t={value:e,source:t,stack:Zd(t)},Wf.set(e,t),t)}return{value:e,source:t,stack:Zd(t)}}var Qa=[],Ka=0,Ns=null,Zn=0,Vt=[],Ut=0,Li=null,ti=1,ii="";function fi(e,t){Qa[Ka++]=Zn,Qa[Ka++]=Ns,Ns=e,Zn=t}function Jf(e,t,i){Vt[Ut++]=ti,Vt[Ut++]=ii,Vt[Ut++]=Li,Li=e;var s=ti;e=ii;var c=32-Nt(s)-1;s&=~(1<<c),i+=1;var u=32-Nt(t)+c;if(30<u){var h=c-c%5;u=(s&(1<<h)-1).toString(32),s>>=h,c-=h,ti=1<<32-Nt(t)+c|i<<c|s,ii=u+e}else ti=1<<u|i<<c|s,ii=e}function kr(e){e.return!==null&&(fi(e,1),Jf(e,1,0))}function Lr(e){for(;e===Ns;)Ns=Qa[--Ka],Qa[Ka]=null,Zn=Qa[--Ka],Qa[Ka]=null;for(;e===Li;)Li=Vt[--Ut],Vt[Ut]=null,ii=Vt[--Ut],Vt[Ut]=null,ti=Vt[--Ut],Vt[Ut]=null}function em(e,t){Vt[Ut++]=ti,Vt[Ut++]=ii,Vt[Ut++]=Li,ti=t.id,ii=t.overflow,Li=e}var nt=null,ke=null,pe=!1,Oi=null,Ht=!1,Or=Error(r(519));function Bi(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $n(_t(t,e)),Or}function tm(e){var t=e.stateNode,i=e.type,s=e.memoizedProps;switch(t[at]=e,t[gt]=s,i){case"dialog":de("cancel",t),de("close",t);break;case"iframe":case"object":case"embed":de("load",t);break;case"video":case"audio":for(i=0;i<yl.length;i++)de(yl[i],t);break;case"source":de("error",t);break;case"img":case"image":case"link":de("error",t),de("load",t);break;case"details":de("toggle",t);break;case"input":de("invalid",t),hf(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":de("invalid",t);break;case"textarea":de("invalid",t),gf(t,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||t.textContent===""+i||s.suppressHydrationWarning===!0||vp(t.textContent,i)?(s.popover!=null&&(de("beforetoggle",t),de("toggle",t)),s.onScroll!=null&&de("scroll",t),s.onScrollEnd!=null&&de("scrollend",t),s.onClick!=null&&(t.onclick=ci),t=!0):t=!1,t||Bi(e,!0)}function im(e){for(nt=e.return;nt;)switch(nt.tag){case 5:case 31:case 13:Ht=!1;return;case 27:case 3:Ht=!0;return;default:nt=nt.return}}function Za(e){if(e!==nt)return!1;if(!pe)return im(e),pe=!0,!1;var t=e.tag,i;if((i=t!==3&&t!==27)&&((i=t===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||Jc(e.type,e.memoizedProps)),i=!i),i&&ke&&Bi(e),im(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));ke=Ep(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));ke=Ep(e)}else t===27?(t=ke,Zi(e.type)?(e=nu,nu=null,ke=e):ke=t):ke=nt?Gt(e.stateNode.nextSibling):null;return!0}function ga(){ke=nt=null,pe=!1}function Br(){var e=Oi;return e!==null&&(jt===null?jt=e:jt.push.apply(jt,e),Oi=null),e}function $n(e){Oi===null?Oi=[e]:Oi.push(e)}var _r=N(null),xa=null,mi=null;function _i(e,t,i){I(_r,t._currentValue),t._currentValue=i}function hi(e){e._currentValue=_r.current,G(_r)}function Vr(e,t,i){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===i)break;e=e.return}}function Ur(e,t,i,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var u=c.dependencies;if(u!==null){var h=c.child;u=u.firstContext;e:for(;u!==null;){var y=u;u=c;for(var S=0;S<t.length;S++)if(y.context===t[S]){u.lanes|=i,y=u.alternate,y!==null&&(y.lanes|=i),Vr(u.return,i,e),s||(h=null);break e}u=y.next}}else if(c.tag===18){if(h=c.return,h===null)throw Error(r(341));h.lanes|=i,u=h.alternate,u!==null&&(u.lanes|=i),Vr(h,i,e),h=null}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===e){h=null;break}if(c=h.sibling,c!==null){c.return=h.return,h=c;break}h=h.return}c=h}}function $a(e,t,i,s){e=null;for(var c=t,u=!1;c!==null;){if(!u){if((c.flags&524288)!==0)u=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var h=c.alternate;if(h===null)throw Error(r(387));if(h=h.memoizedProps,h!==null){var y=c.type;Tt(c.pendingProps.value,h.value)||(e!==null?e.push(y):e=[y])}}else if(c===we.current){if(h=c.alternate,h===null)throw Error(r(387));h.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(zl):e=[zl])}c=c.return}e!==null&&Ur(t,e,i,s),t.flags|=262144}function Ts(e){for(e=e.firstContext;e!==null;){if(!Tt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 11,715 bytes, line 8
8function va(e){xa=e,mi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function lt(e){return am(xa,e)}function Es(e,t){return xa===null&&va(e),am(e,t)}function am(e,t){var i=t._currentValue;if(t={context:t,memoizedValue:i,next:null},mi===null){if(e===null)throw Error(r(308));mi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else mi=mi.next=t;return i}var eb=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(i,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(i){return i()})}},tb=a.unstable_scheduleCallback,ib=a.unstable_NormalPriority,Xe={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hr(){return{controller:new eb,data:new Map,refCount:0}}function Wn(e){e.refCount--,e.refCount===0&&tb(ib,function(){e.controller.abort()})}var Jn=null,qr=0,Wa=0,Ja=null;function ab(e,t){if(Jn===null){var i=Jn=[];qr=0,Wa=Fc(),Ja={status:"pending",value:void 0,then:function(s){i.push(s)}}}return qr++,t.then(nm,nm),t}function nm(){if(--qr===0&&Jn!==null){Ja!==null&&(Ja.status="fulfilled");var e=Jn;Jn=null,Wa=0,Ja=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function nb(e,t){var i=[],s={status:"pending",value:null,reason:null,then:function(c){i.push(c)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var c=0;c<i.length;c++)(0,i[c])(t)},function(c){for(s.status="rejected",s.reason=c,c=0;c<i.length;c++)(0,i[c])(void 0)}),s}var lm=_.S;_.S=function(e,t){Gh=wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&ab(e,t),lm!==null&&lm(e,t)};var ya=N(null);function Gr(){var e=ya.current;return e!==null?e:De.pooledCache}function As(e,t){t===null?I(ya,ya.current):I(ya,t.pool)}function sm(){var e=Gr();return e===null?null:{parent:Xe._currentValue,pool:e}}var en=Error(r(460)),Yr=Error(r(474)),Cs=Error(r(542)),Ds={then:function(){}};function om(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rm(e,t,i){switch(i=e[i],i===void 0?e.push(t):i!==t&&(t.then(ci,ci),t=i),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,um(e),e;default:if(typeof t.status=="string")t.then(ci,ci);else{if(e=De,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=s}},function(s){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,um(e),e}throw ja=t,en}}function ba(e){try{var t=e._init;return t(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(ja=i,en):i}}var ja=null;function cm(){if(ja===null)throw Error(r(459));var e=ja;return ja=null,e}function um(e){if(e===en||e===Cs)throw Error(r(483))}var tn=null,el=0;function Ms(e){var t=el;return el+=1,tn===null&&(tn=[]),rm(tn,e,t)}function tl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Rs(e,t){throw t.$$typeof===j?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function dm(e){function t(T,z){if(e){var A=T.deletions;A===null?(T.deletions=[z],T.flags|=16):A.push(z)}}function i(T,z){if(!e)return null;for(;z!==null;)t(T,z),z=z.sibling;return null}function s(T){for(var z=new Map;T!==null;)T.key!==null?z.set(T.key,T):z.set(T.index,T),T=T.sibling;return z}function c(T,z){return T=di(T,z),T.index=0,T.sibling=null,T}function u(T,z,A){return T.index=A,e?(A=T.alternate,A!==null?(A=A.index,A<z?(T.flags|=67108866,z):A):(T.flags|=67108866,z)):(T.flags|=1048576,z)}function h(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function y(T,z,A,H){return z===null||z.tag!==6?(z=Mr(A,T.mode,H),z.return=T,z):(z=c(z,A),z.return=T,z)}function S(T,z,A,H){var ie=A.type;return ie===L?O(T,z,A.props.children,H,A.key):z!==null&&(z.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===ee&&ba(ie)===z.type)?(z=c(z,A.props),tl(z,A),z.return=T,z):(z=zs(A.type,A.key,A.props,null,T.mode,H),tl(z,A),z.return=T,z)}function C(T,z,A,H){return z===null||z.tag!==4||z.stateNode.containerInfo!==A.containerInfo||z.stateNode.implementation!==A.implementation?(z=Rr(A,T.mode,H),z.return=T,z):(z=c(z,A.children||[]),z.return=T,z)}function O(T,z,A,H,ie){return z===null||z.tag!==7?(z=pa(A,T.mode,H,ie),z.return=T,z):(z=c(z,A),z.return=T,z)}function q(T,z,A){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=Mr(""+z,T.mode,A),z.return=T,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case E:return A=zs(z.type,z.key,z.props,null,T.mode,A),tl(A,z),A.return=T,A;case k:return z=Rr(z,T.mode,A),z.return=T,z;case ee:return z=ba(z),q(T,z,A)}if(pt(z)||it(z))return z=pa(z,T.mode,A,null),z.return=T,z;if(typeof z.then=="function")return q(T,Ms(z),A);if(z.$$typeof===M)return q(T,Es(T,z),A);Rs(T,z)}return null}function D(T,z,A,H){var ie=z!==null?z.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return ie!==null?null:y(T,z,""+A,H);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case E:return A.key===ie?S(T,z,A,H):null;case k:return A.key===ie?C(T,z,A,H):null;case ee:return A=ba(A),D(T,z,A,H)}if(pt(A)||it(A))return ie!==null?null:O(T,z,A,H,null);if(typeof A.then=="function")return D(T,z,Ms(A),H);if(A.$$typeof===M)return D(T,z,Es(T,A),H);Rs(T,A)}return null}function R(T,z,A,H,ie){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return T=T.get(A)||null,y(z,T,""+H,ie);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case E:return T=T.get(H.key===null?A:H.key)||null,S(z,T,H,ie);case k:return T=T.get(H.key===null?A:H.key)||null,C(z,T,H,ie);case ee:return H=ba(H),R(T,z,A,H,ie)}if(pt(H)||it(H))return T=T.get(A)||null,O(z,T,H,ie,null);if(typeof H.then=="function")return R(T,z,A,Ms(H),ie);if(H.$$typeof===M)return R(T,z,A,Es(z,H),ie);Rs(z,H)}return null}function Q(T,z,A,H){for(var ie=null,ve=null,J=z,re=z=0,he=null;J!==null&&re<A.length;re++){J.index>re?(he=J,J=null):he=J.sibling;var ye=D(T,J,A[re],H);if(ye===null){J===null&&(J=he);break}e&&J&&ye.alternate===null&&t(T,J),z=u(ye,z,re),ve===null?ie=ye:ve.sibling=ye,ve=ye,J=he}if(re===A.length)return i(T,J),pe&&fi(T,re),ie;if(J===null){for(;re<A.length;re++)J=q(T,A[re],H),J!==null&&(z=u(J,z,re),ve===null?ie=J:ve.sibling=J,ve=J);return pe&&fi(T,re),ie}for(J=s(J);re<A.length;re++)he=R(J,T,re,A[re],H),he!==null&&(e&&he.alternate!==null&&J.delete(he.key===null?re:he.key),z=u(he,z,re),ve===null?ie=he:ve.sibling=he,ve=he);return e&&J.forEach(function(ta){return t(T,ta)}),pe&&fi(T,re),ie}function ne(T,z,A,H){if(A==null)throw Error(r(151));for(var ie=null,ve=null,J=z,re=z=0,he=null,ye=A.next();J!==null&&!ye.done;re++,ye=A.next()){J.index>re?(he=J,J=null):he=J.sibling;var ta=D(T,J,ye.value,H);if(ta===null){J===null&&(J=he);break}e&&J&&ta.alternate===null&&t(T,J),z=u(ta,z,re),ve===null?ie=ta:ve.sibling=ta,ve=ta,J=he}if(ye.done)return i(T,J),pe&&fi(T,re),ie;if(J===null){for(;!ye.done;re++,ye=A.next())ye=q(T,ye.value,H),ye!==null&&(z=u(ye,z,re),ve===null?ie=ye:ve.sibling=ye,ve=ye);return pe&&fi(T,re),ie}for(J=s(J);!ye.done;re++,ye=A.next())ye=R(J,T,re,ye.value,H),ye!==null&&(e&&ye.alternate!==null&&J.delete(ye.key===null?re:ye.key),z=u(ye,z,re),ve===null?ie=ye:ve.sibling=ye,ve=ye);return e&&J.forEach(function(p1){return t(T,p1)}),pe&&fi(T,re),ie}function Ce(T,z,A,H){if(typeof A=="object"&&A!==null&&A.type===L&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case E:e:{for(var ie=A.key;z!==null;){if(z.key===ie){if(ie=A.type,ie===L){if(z.tag===7){i(T,z.sibling),H=c(z,A.props.children),H.return=T,T=H;break e}}else if(z.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===ee&&ba(ie)===z.type){i(T,z.sibling),H=c(z,A.props),tl(H,A),H.return=T,T=H;break e}i(T,z);break}else t(T,z);z=z.sibling}A.type===L?(H=pa(A.props.children,T.mode,H,A.key),H.return=T,T=H):(H=zs(A.type,A.key,A.props,null,T.mode,H),tl(H,A),H.return=T,T=H)}return h(T);case k:e:{for(ie=A.key;z!==null;){if(z.key===ie)if(z.tag===4&&z.stateNode.containerInfo===A.containerInfo&&z.stateNode.implementation===A.implementation){i(T,z.sibling),H=c(z,A.children||[]),H.return=T,T=H;break e}else{i(T,z);break}else t(T,z);z=z.sibling}H=Rr(A,T.mode,H),H.return=T,T=H}return h(T);case ee:return A=ba(A),Ce(T,z,A,H)}if(pt(A))return Q(T,z,A,H);if(it(A)){if(ie=it(A),typeof ie!="function")throw Error(r(150));return A=ie.call(A),ne(T,z,A,H)}if(typeof A.then=="function")return Ce(T,z,Ms(A),H);if(A.$$typeof===M)return Ce(T,z,Es(T,A),H);Rs(T,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,z!==null&&z.tag===6?(i(T,z.sibling),H=c(z,A),H.return=T,T=H):(i(T,z),H=Mr(A,T.mode,H),H.return=T,T=H),h(T)):i(T,z)}return function(T,z,A,H){try{el=0;var ie=Ce(T,z,A,H);return tn=null,ie}catch(J){if(J===en||J===Cs)throw J;var ve=Et(29,J,null,T.mode);return ve.lanes=H,ve.return=T,ve}}}var Sa=dm(!0),fm=dm(!1),Vi=!1;function Fr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ui(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Hi(e,t,i){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(je&2)!==0){var c=s.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),s.pending=t,t=ws(e),Kf(e,null,i),t}return Ss(e,s,t,i),ws(e)}function il(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,i|=s,t.lanes=i,af(e,i)}}function Xr(e,t){var i=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var c=null,u=null;if(i=i.firstBaseUpdate,i!==null){do{var h={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};u===null?c=u=h:u=u.next=h,i=i.next}while(i!==null);u===null?c=u=t:u=u.next=t}else c=u=t;i={baseState:s.baseState,firstBaseUpdate:c,lastBaseUpdate:u,shared:s.shared,callbacks:s.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}var Ir=!1;function al(){if(Ir){var e=Ja;if(e!==null)throw e}}function nl(e,t,i,s){Ir=!1;var c=e.updateQueue;Vi=!1;var u=c.firstBaseUpdate,h=c.lastBaseUpdate,y=c.shared.pending;if(y!==null){c.shared.pending=null;var S=y,C=S.next;S.next=null,h===null?u=C:h.next=C,h=S;var O=e.alternate;O!==null&&(O=O.updateQueue,y=O.lastBaseUpdate,y!==h&&(y===null?O.firstBaseUpdate=C:y.next=C,O.lastBaseUpdate=S))}if(u!==null){var q=c.baseState;h=0,O=C=S=null,y=u;do{var D=y.lane&-536870913,R=D!==y.lane;if(R?(me&D)===D:(s&D)===D){D!==0&&D===Wa&&(Ir=!0),O!==null&&(O=O.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var Q=e,ne=y;D=t;var Ce=i;switch(ne.tag){case 1:if(Q=ne.payload,typeof Q=="function"){q=Q.call(Ce,q,D);break e}q=Q;break e;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=ne.payload,D=typeof Q=="function"?Q.call(Ce,q,D):Q,D==null)break e;q=b({},q,D);break e;case 2:Vi=!0}}D=y.callback,D!==null&&(e.flags|=64,R&&(e.flags|=8192),R=c.callbacks,R===null?c.callbacks=[D]:R.push(D))}else R={lane:D,tag:y.tag,payload:y.payload,callback:y.callback,next:null},O===null?(C=O=R,S=q):O=O.next=R,h|=D;if(y=y.next,y===null){if(y=c.shared.pending,y===null)break;R=y,y=R.next,R.next=null,c.lastBaseUpdate=R,c.shared.pending=null}}while(!0);O===null&&(S=q),c.baseState=S,c.firstBaseUpdate=C,c.lastBaseUpdate=O,u===null&&(c.shared.lanes=0),Pi|=h,e.lanes=h,e.memoizedState=q}}function mm(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function hm(e,t){var i=e.callbacks;
vendor: 7,379 bytes, line 8
8if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)mm(i[e],t)}var an=N(null),ks=N(0);function pm(e,t){e=wi,I(ks,e),I(an,t),wi=e|t.baseLanes}function Qr(){I(ks,wi),I(an,an.current)}function Kr(){wi=ks.current,G(an),G(ks)}var At=N(null),qt=null;function qi(e){var t=e.alternate;I(Fe,Fe.current&1),I(At,e),qt===null&&(t===null||an.current!==null||t.memoizedState!==null)&&(qt=e)}function Zr(e){I(Fe,Fe.current),I(At,e),qt===null&&(qt=e)}function gm(e){e.tag===22?(I(Fe,Fe.current),I(At,e),qt===null&&(qt=e)):Gi()}function Gi(){I(Fe,Fe.current),I(At,At.current)}function Ct(e){G(At),qt===e&&(qt=null),G(Fe)}var Fe=N(0);function Ls(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||iu(i)||au(i)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pi=0,oe=null,Ee=null,Ie=null,Os=!1,nn=!1,wa=!1,Bs=0,ll=0,ln=null,lb=0;function He(){throw Error(r(321))}function $r(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!Tt(e[i],t[i]))return!1;return!0}function Wr(e,t,i,s,c,u){return pi=u,oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=e===null||e.memoizedState===null?Jm:mc,wa=!1,u=i(s,c),wa=!1,nn&&(u=vm(t,i,s,c)),xm(e),u}function xm(e){_.H=rl;var t=Ee!==null&&Ee.next!==null;if(pi=0,Ie=Ee=oe=null,Os=!1,ll=0,ln=null,t)throw Error(r(300));e===null||Qe||(e=e.dependencies,e!==null&&Ts(e)&&(Qe=!0))}function vm(e,t,i,s){oe=e;var c=0;do{if(nn&&(ln=null),ll=0,nn=!1,25<=c)throw Error(r(301));if(c+=1,Ie=Ee=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}_.H=eh,u=t(i,s)}while(nn);return u}function sb(){var e=_.H,t=e.useState()[0];return t=typeof t.then=="function"?sl(t):t,e=e.useState()[0],(Ee!==null?Ee.memoizedState:null)!==e&&(oe.flags|=1024),t}function Jr(){var e=Bs!==0;return Bs=0,e}function ec(e,t,i){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i}function tc(e){if(Os){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Os=!1}pi=0,Ie=Ee=oe=null,nn=!1,ll=Bs=0,ln=null}function ft(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ie===null?oe.memoizedState=Ie=e:Ie=Ie.next=e,Ie}function Pe(){if(Ee===null){var e=oe.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=Ie===null?oe.memoizedState:Ie.next;if(t!==null)Ie=t,Ee=e;else{if(e===null)throw oe.alternate===null?Error(r(467)):Error(r(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},Ie===null?oe.memoizedState=Ie=e:Ie=Ie.next=e}return Ie}function _s(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sl(e){var t=ll;return ll+=1,ln===null&&(ln=[]),e=rm(ln,e,t),t=oe,(Ie===null?t.memoizedState:Ie.next)===null&&(t=t.alternate,_.H=t===null||t.memoizedState===null?Jm:mc),e}function Vs(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return sl(e);if(e.$$typeof===M)return lt(e)}throw Error(r(438,String(e)))}function ic(e){var t=null,i=oe.updateQueue;if(i!==null&&(t=i.memoCache),t==null){var s=oe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),i===null&&(i=_s(),oe.updateQueue=i),i.memoCache=t,i=t.data[t.index],i===void 0)for(i=t.data[t.index]=Array(e),s=0;s<e;s++)i[s]=Re;return t.index++,i}function gi(e,t){return typeof t=="function"?t(e):t}function Us(e){var t=Pe();return ac(t,Ee,e)}function ac(e,t,i){var s=e.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=i;var c=e.baseQueue,u=s.pending;if(u!==null){if(c!==null){var h=c.next;c.next=u.next,u.next=h}t.baseQueue=c=u,s.pending=null}if(u=e.baseState,c===null)e.memoizedState=u;else{t=c.next;var y=h=null,S=null,C=t,O=!1;do{var q=C.lane&-536870913;if(q!==C.lane?(me&q)===q:(pi&q)===q){var D=C.revertLane;if(D===0)S!==null&&(S=S.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),q===Wa&&(O=!0);else if((pi&D)===D){C=C.next,D===Wa&&(O=!0);continue}else q={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},S===null?(y=S=q,h=u):S=S.next=q,oe.lanes|=D,Pi|=D;q=C.action,wa&&i(u,q),u=C.hasEagerState?C.eagerState:i(u,q)}else D={lane:q,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},S===null?(y=S=D,h=u):S=S.next=D,oe.lanes|=q,Pi|=q;C=C.next}while(C!==null&&C!==t);if(S===null?h=u:S.next=y,!Tt(u,e.memoizedState)&&(Qe=!0,O&&(i=Ja,i!==null)))throw i;e.memoizedState=u,e.baseState=h,e.baseQueue=S,s.lastRenderedState=u}return c===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function nc(e){var t=Pe(),i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var s=i.dispatch,c=i.pending,u=t.memoizedState;if(c!==null){i.pending=null;var h=c=c.next;do u=e(u,h.action),h=h.next;while(h!==c);Tt(u,t.memoizedState)||(Qe=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),i.lastRenderedState=u}return[u,s]}function ym(e,t,i){var s=oe,c=Pe(),u=pe;if(u){if(i===void 0)throw Error(r(407));i=i()}else i=t();var h=!Tt((Ee||c).memoizedState,i);if(h&&(c.memoizedState=i,Qe=!0),c=c.queue,oc(Sm.bind(null,s,c,e),[e]),c.getSnapshot!==t||h||Ie!==null&&Ie.memoizedState.tag&1){if(s.flags|=2048,sn(9,{destroy:void 0},jm.bind(null,s,c,i,t),null),De===null)throw Error(r(349));u||(pi&127)!==0||bm(s,t,i)}return i}function bm(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=oe.updateQueue,t===null?(t=_s(),oe.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function jm(e,t,i,s){t.value=i,t.getSnapshot=s,wm(t)&&zm(e)}function Sm(e,t,i){return i(function(){wm(t)&&zm(e)})}function wm(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Tt(e,i)}catch{return!0}}function zm(e){var t=ha(e,2);t!==null&&St(t,e,2)}function lc(e){var t=ft();if(typeof e=="function"){var i=e;if(e=i(),wa){Mi(!0);try{i()}finally{Mi(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gi,lastRenderedState:e},t}function Nm(e,t,i,s){return e.baseState=i,ac(e,Ee,typeof s=="function"?s:gi)}function ob(e,t,i,s,c){if(Gs(e))throw Error(r(485));if(e=t.action,e!==null){var u={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){u.listeners.push(h)}};_.T!==null?i(!0):u.isTransition=!1,s(u),i=t.pending,i===null?(u.next=t.pending=u,Tm(t,u)):(u.next=i.next,t.pending=i.next=u)}}function Tm(e,t){var i=t.action,s=t.payload,c=e.state;if(t.isTransition){var u=_.T,h={};_.T=h;try{var y=i(c,s),S=_.S;S!==null&&S(h,y),Em(e,t,y)}catch(C){sc(e,t,C)}finally{u!==null&&h.types!==null&&(u.types=h.types),_.T=u}}else try{u=i(c,s),Em(e,t,u)}catch(C){sc(e,t,C)}}function Em(e,t,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){Am(e,t,s
vendor: 4,736 bytes, line 8
8)},function(s){return sc(e,t,s)}):Am(e,t,i)}function Am(e,t,i){t.status="fulfilled",t.value=i,Cm(t),e.state=i,t=e.pending,t!==null&&(i=t.next,i===t?e.pending=null:(i=i.next,t.next=i,Tm(e,i)))}function sc(e,t,i){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=i,Cm(t),t=t.next;while(t!==s)}e.action=null}function Cm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Dm(e,t){return t}function Mm(e,t){if(pe){var i=De.formState;if(i!==null){e:{var s=oe;if(pe){if(ke){t:{for(var c=ke,u=Ht;c.nodeType!==8;){if(!u){c=null;break t}if(c=Gt(c.nextSibling),c===null){c=null;break t}}u=c.data,c=u==="F!"||u==="F"?c:null}if(c){ke=Gt(c.nextSibling),s=c.data==="F!";break e}}Bi(s)}s=!1}s&&(t=i[0])}}return i=ft(),i.memoizedState=i.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dm,lastRenderedState:t},i.queue=s,i=Zm.bind(null,oe,s),s.dispatch=i,s=lc(!1),u=fc.bind(null,oe,!1,s.queue),s=ft(),c={state:t,dispatch:null,action:e,pending:null},s.queue=c,i=ob.bind(null,oe,c,u,i),c.dispatch=i,s.memoizedState=e,[t,i,!1]}function Rm(e){var t=Pe();return km(t,Ee,e)}function km(e,t,i){if(t=ac(e,t,Dm)[0],e=Us(gi)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=sl(t)}catch(h){throw h===en?Cs:h}else s=t;t=Pe();var c=t.queue,u=c.dispatch;return i!==t.memoizedState&&(oe.flags|=2048,sn(9,{destroy:void 0},rb.bind(null,c,i),null)),[s,u,e]}function rb(e,t){e.action=t}function Lm(e){var t=Pe(),i=Ee;if(i!==null)return km(t,i,e);Pe(),t=t.memoizedState,i=Pe();var s=i.queue.dispatch;return i.memoizedState=e,[t,s,!1]}function sn(e,t,i,s){return e={tag:e,create:i,deps:s,inst:t,next:null},t=oe.updateQueue,t===null&&(t=_s(),oe.updateQueue=t),i=t.lastEffect,i===null?t.lastEffect=e.next=e:(s=i.next,i.next=e,e.next=s,t.lastEffect=e),e}function Om(){return Pe().memoizedState}function Hs(e,t,i,s){var c=ft();oe.flags|=e,c.memoizedState=sn(1|t,{destroy:void 0},i,s===void 0?null:s)}function qs(e,t,i,s){var c=Pe();s=s===void 0?null:s;var u=c.memoizedState.inst;Ee!==null&&s!==null&&$r(s,Ee.memoizedState.deps)?c.memoizedState=sn(t,u,i,s):(oe.flags|=e,c.memoizedState=sn(1|t,u,i,s))}function Bm(e,t){Hs(8390656,8,e,t)}function oc(e,t){qs(2048,8,e,t)}function cb(e){oe.flags|=4;var t=oe.updateQueue;if(t===null)t=_s(),oe.updateQueue=t,t.events=[e];else{var i=t.events;i===null?t.events=[e]:i.push(e)}}function _m(e){var t=Pe().memoizedState;return cb({ref:t,nextImpl:e}),function(){if((je&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Vm(e,t){return qs(4,2,e,t)}function Um(e,t){return qs(4,4,e,t)}function Hm(e,t){if(typeof t=="function"){e=e();var i=t(e);return function(){typeof i=="function"?i():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qm(e,t,i){i=i!=null?i.concat([e]):null,qs(4,4,Hm.bind(null,t,e),i)}function rc(){}function Gm(e,t){var i=Pe();t=t===void 0?null:t;var s=i.memoizedState;return t!==null&&$r(t,s[1])?s[0]:(i.memoizedState=[e,t],e)}function Ym(e,t){var i=Pe();t=t===void 0?null:t;var s=i.memoizedState;if(t!==null&&$r(t,s[1]))return s[0];if(s=e(),wa){Mi(!0);try{e()}finally{Mi(!1)}}return i.memoizedState=[s,t],s}function cc(e,t,i){return i===void 0||(pi&1073741824)!==0&&(me&261930)===0?e.memoizedState=t:(e.memoizedState=i,e=Fh(),oe.lanes|=e,Pi|=e,i)}function Fm(e,t,i,s){return Tt(i,t)?i:an.current!==null?(e=cc(e,i,s),Tt(e,t)||(Qe=!0),e):(pi&42)===0||(pi&1073741824)!==0&&(me&261930)===0?(Qe=!0,e.memoizedState=i):(e=Fh(),oe.lanes|=e,Pi|=e,t)}function Pm(e,t,i,s,c){var u=Y.p;Y.p=u!==0&&8>u?u:8;var h=_.T,y={};_.T=y,fc(e,!1,t,i);try{var S=c(),C=_.S;if(C!==null&&C(y,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var O=nb(S,s);ol(e,t,O,Rt(e))}else ol(e,t,s,Rt(e))}catch(q){ol(e,t,{then:function(){},status:"rejected",reason:q},Rt())}finally{Y.p=u,h!==null&&y.types!==null&&(h.types=y.types),_.T=h}}function ub(){}function uc(e,t,i,s){if(e.tag!==5)throw Error(r(476));var c=Xm(e).queue;Pm(e,c,t,W,i===null?ub:function(){return Im(e),i(s)})}function Xm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gi,lastRenderedState:W},next:null};var i={};return t.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gi,lastRenderedState:i},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Im(e){var t=Xm(e);t.next===null&&(t=e.alternate.memoizedState),ol(e,t.next.queue,{},Rt())}function dc(){return lt(zl)}function Qm(){return Pe().memoizedState}function Km(){return Pe().memoizedState}function db(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var i=Rt();e=Ui(i);
vendor: 4,966 bytes, line 8
8var s=Hi(t,e,i);s!==null&&(St(s,t,i),il(s,t,i)),t={cache:Hr()},e.payload=t;return}t=t.return}}function fb(e,t,i){var s=Rt();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Gs(e)?$m(t,i):(i=Cr(e,t,i,s),i!==null&&(St(i,e,s),Wm(i,t,s)))}function Zm(e,t,i){var s=Rt();ol(e,t,i,s)}function ol(e,t,i,s){var c={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))$m(t,c);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var h=t.lastRenderedState,y=u(h,i);if(c.hasEagerState=!0,c.eagerState=y,Tt(y,h))return Ss(e,t,c,0),De===null&&js(),!1}catch{}if(i=Cr(e,t,c,s),i!==null)return St(i,e,s),Wm(i,t,s),!0}return!1}function fc(e,t,i,s){if(s={lane:2,revertLane:Fc(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Gs(e)){if(t)throw Error(r(479))}else t=Cr(e,i,s,2),t!==null&&St(t,e,2)}function Gs(e){var t=e.alternate;return e===oe||t!==null&&t===oe}function $m(e,t){nn=Os=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Wm(e,t,i){if((i&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,i|=s,t.lanes=i,af(e,i)}}var rl={readContext:lt,use:Vs,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He};rl.useEffectEvent=He;var Jm={readContext:lt,use:Vs,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Bm,useImperativeHandle:function(e,t,i){i=i!=null?i.concat([e]):null,Hs(4194308,4,Hm.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Hs(4194308,4,e,t)},useInsertionEffect:function(e,t){Hs(4,2,e,t)},useMemo:function(e,t){var i=ft();t=t===void 0?null:t;var s=e();if(wa){Mi(!0);try{e()}finally{Mi(!1)}}return i.memoizedState=[s,t],s},useReducer:function(e,t,i){var s=ft();if(i!==void 0){var c=i(t);if(wa){Mi(!0);try{i(t)}finally{Mi(!1)}}}else c=t;return s.memoizedState=s.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},s.queue=e,e=e.dispatch=fb.bind(null,oe,e),[s.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:function(e){e=lc(e);var t=e.queue,i=Zm.bind(null,oe,t);return t.dispatch=i,[e.memoizedState,i]},useDebugValue:rc,useDeferredValue:function(e,t){var i=ft();return cc(i,e,t)},useTransition:function(){var e=lc(!1);return e=Pm.bind(null,oe,e.queue,!0,!1),ft().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,i){var s=oe,c=ft();if(pe){if(i===void 0)throw Error(r(407));i=i()}else{if(i=t(),De===null)throw Error(r(349));(me&127)!==0||bm(s,t,i)}c.memoizedState=i;var u={value:i,getSnapshot:t};return c.queue=u,Bm(Sm.bind(null,s,u,e),[e]),s.flags|=2048,sn(9,{destroy:void 0},jm.bind(null,s,u,i,t),null),i},useId:function(){var e=ft(),t=De.identifierPrefix;if(pe){var i=ii,s=ti;i=(s&~(1<<32-Nt(s)-1)).toString(32)+i,t="_"+t+"R_"+i,i=Bs++,0<i&&(t+="H"+i.toString(32)),t+="_"}else i=lb++,t="_"+t+"r_"+i.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:dc,useFormState:Mm,useActionState:Mm,useOptimistic:function(e){var t=ft();t.memoizedState=t.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=i,t=fc.bind(null,oe,!0,i),i.dispatch=t,[e,t]},useMemoCache:ic,useCacheRefresh:function(){return ft().memoizedState=db.bind(null,oe)},useEffectEvent:function(e){var t=ft(),i={impl:e};return t.memoizedState=i,function(){if((je&2)!==0)throw Error(r(440));return i.impl.apply(void 0,arguments)}}},mc={readContext:lt,use:Vs,useCallback:Gm,useContext:lt,useEffect:oc,useImperativeHandle:qm,useInsertionEffect:Vm,useLayoutEffect:Um,useMemo:Ym,useReducer:Us,useRef:Om,useState:function(){return Us(gi)},useDebugValue:rc,useDeferredValue:function(e,t){var i=Pe();return Fm(i,Ee.memoizedState,e,t)},useTransition:function(){var e=Us(gi)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:sl(e),t]},useSyncExternalStore:ym,useId:Qm,useHostTransitionStatus:dc,useFormState:Rm,useActionState:Rm,useOptimistic:function(e,t){var i=Pe();return Nm(i,Ee,e,t)},useMemoCache:ic,useCacheRefresh:Km};mc.useEffectEvent=_m;var eh={readContext:lt,use:Vs,useCallback:Gm,useContext:lt,useEffect:oc,useImperativeHandle:qm,useInsertionEffect:Vm,useLayoutEffect:Um,useMemo:Ym,useReducer:nc,useRef:Om,useState:function(){return nc(gi)},useDebugValue:rc,useDeferredValue:function(e,t){var i=Pe();return Ee===null?cc(i,e,t):Fm(i,Ee.memoizedState,e,t)},useTransition:function(){var e=nc(gi)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:sl(e),t]},useSyncExternalStore:ym,useId:Qm,useHostTransitionStatus:dc,useFormState:Lm,useActionState:Lm,useOptimistic:function(e,t){var i=Pe();
vendor: 5,215 bytes, line 8
8return Ee!==null?Nm(i,Ee,e,t):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:ic,useCacheRefresh:Km};eh.useEffectEvent=_m;function hc(e,t,i,s){t=e.memoizedState,i=i(s,t),i=i==null?t:b({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var pc={enqueueSetState:function(e,t,i){e=e._reactInternals;var s=Rt(),c=Ui(s);c.payload=t,i!=null&&(c.callback=i),t=Hi(e,c,s),t!==null&&(St(t,e,s),il(t,e,s))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var s=Rt(),c=Ui(s);c.tag=1,c.payload=t,i!=null&&(c.callback=i),t=Hi(e,c,s),t!==null&&(St(t,e,s),il(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=Rt(),s=Ui(i);s.tag=2,t!=null&&(s.callback=t),t=Hi(e,s,i),t!==null&&(St(t,e,i),il(t,e,i))}};function th(e,t,i,s,c,u,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,u,h):t.prototype&&t.prototype.isPureReactComponent?!Qn(i,s)||!Qn(c,u):!0}function ih(e,t,i,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,s),t.state!==e&&pc.enqueueReplaceState(t,t.state,null)}function za(e,t){var i=t;if("ref"in t){i={};for(var s in t)s!=="ref"&&(i[s]=t[s])}if(e=e.defaultProps){i===t&&(i=b({},i));for(var c in e)i[c]===void 0&&(i[c]=e[c])}return i}function ah(e){bs(e)}function nh(e){console.error(e)}function lh(e){bs(e)}function Ys(e,t){try{var i=e.onUncaughtError;i(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function sh(e,t,i){try{var s=e.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function gc(e,t,i){return i=Ui(i),i.tag=3,i.payload={element:null},i.callback=function(){Ys(e,t)},i}function oh(e){return e=Ui(e),e.tag=3,e}function rh(e,t,i,s){var c=i.type.getDerivedStateFromError;if(typeof c=="function"){var u=s.value;e.payload=function(){return c(u)},e.callback=function(){sh(t,i,s)}}var h=i.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){sh(t,i,s),typeof c!="function"&&(Xi===null?Xi=new Set([this]):Xi.add(this));var y=s.stack;this.componentDidCatch(s.value,{componentStack:y!==null?y:""})})}function mb(e,t,i,s,c){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=i.alternate,t!==null&&$a(t,i,c,!0),i=At.current,i!==null){switch(i.tag){case 31:case 13:return qt===null?to():i.alternate===null&&qe===0&&(qe=3),i.flags&=-257,i.flags|=65536,i.lanes=c,s===Ds?i.flags|=16384:(t=i.updateQueue,t===null?i.updateQueue=new Set([s]):t.add(s),qc(e,s,c)),!1;case 22:return i.flags|=65536,s===Ds?i.flags|=16384:(t=i.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=t):(i=t.retryQueue,i===null?t.retryQueue=new Set([s]):i.add(s)),qc(e,s,c)),!1}throw Error(r(435,i.tag))}return qc(e,s,c),to(),!1}if(pe)return t=At.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,s!==Or&&(e=Error(r(422),{cause:s}),$n(_t(e,i)))):(s!==Or&&(t=Error(r(423),{cause:s}),$n(_t(t,i))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,s=_t(s,i),c=gc(e.stateNode,s,c),Xr(e,c),qe!==4&&(qe=2)),!1;var u=Error(r(520),{cause:s});if(u=_t(u,i),gl===null?gl=[u]:gl.push(u),qe!==4&&(qe=2),t===null)return!0;s=_t(s,i),i=t;do{switch(i.tag){case 3:return i.flags|=65536,e=c&-c,i.lanes|=e,e=gc(i.stateNode,s,e),Xr(i,e),!1;case 1:if(t=i.type,u=i.stateNode,(i.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Xi===null||!Xi.has(u))))return i.flags|=65536,c&=-c,i.lanes|=c,c=oh(c),rh(c,e,i,s),Xr(i,c),!1}i=i.return}while(i!==null);return!1}var xc=Error(r(461)),Qe=!1;function st(e,t,i,s){t.child=e===null?fm(t,null,i,s):Sa(t,e.child,i,s)}function ch(e,t,i,s,c){i=i.render;var u=t.ref;if("ref"in s){var h={};for(var y in s)y!=="ref"&&(h[y]=s[y])}else h=s;return va(t),s=Wr(e,t,i,h,u,c),y=Jr(),e!==null&&!Qe?(ec(e,t,c),xi(e,t,c)):(pe&&y&&kr(t),t.flags|=1,st(e,t,s,c),t.child)}function uh(e,t,i,s,c){if(e===null){var u=i.type;return typeof u=="function"&&!Dr(u)&&u.defaultProps===void 0&&i.compare===null?(t.tag=15,t.type=u,dh(e,t,u,s,c)):(e=zs(i.type,null,s,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Nc(e,c)){var h=u.memoizedProps;if(i=i.compare,i=i!==null?i:Qn,i(h,s)&&e.ref===t.ref)return xi(e,t,c)}return t.flags|=1,e=di(u,s),e.ref=t.ref,e.return=t,t.child=e}function dh(e,t,i,s,c){if(e!==null){var u=e.memoizedProps;if(Qn(u,s)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=s=u,Nc(e,c))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,xi(e,t,c)}return vc(e,t,i,s,c)}function fh(e,t,i,s){var c=s.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|i:i,e!==null){for(s=t.child=e.child,c=0;s!==null;)c=c|s.lanes|s.childLanes,s=s.sibling;s=c&~u}else s=0,t.child=null;return mh(e,t,u,i,s)}if((i&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&As(t,u!==null?u.cachePool:null),u!==null?pm(t,u):Qr(),gm(t);
vendor: 6,954 bytes, line 8
8else return s=t.lanes=536870912,mh(e,t,u!==null?u.baseLanes|i:i,i,s)}else u!==null?(As(t,u.cachePool),pm(t,u),Gi(),t.memoizedState=null):(e!==null&&As(t,null),Qr(),Gi());return st(e,t,c,i),t.child}function cl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mh(e,t,i,s,c){var u=Gr();return u=u===null?null:{parent:Xe._currentValue,pool:u},t.memoizedState={baseLanes:i,cachePool:u},e!==null&&As(t,null),Qr(),gm(t),e!==null&&$a(e,t,s,!0),t.childLanes=c,null}function Fs(e,t){return t=Xs({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function hh(e,t,i){return Sa(t,e.child,null,i),e=Fs(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function hb(e,t,i){var s=t.pendingProps,c=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(s.mode==="hidden")return e=Fs(t,s),t.lanes=536870912,cl(null,e);if(Zr(t),(e=ke)?(e=Tp(e,Ht),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li!==null?{id:ti,overflow:ii}:null,retryLane:536870912,hydrationErrors:null},i=$f(e),i.return=t,t.child=i,nt=t,ke=null)):e=null,e===null)throw Bi(t);return t.lanes=536870912,null}return Fs(t,s)}var u=e.memoizedState;if(u!==null){var h=u.dehydrated;if(Zr(t),c)if(t.flags&256)t.flags&=-257,t=hh(e,t,i);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Qe||$a(e,t,i,!1),c=(i&e.childLanes)!==0,Qe||c){if(s=De,s!==null&&(h=nf(s,i),h!==0&&h!==u.retryLane))throw u.retryLane=h,ha(e,h),St(s,e,h),xc;to(),t=hh(e,t,i)}else e=u.treeContext,ke=Gt(h.nextSibling),nt=t,pe=!0,Oi=null,Ht=!1,e!==null&&em(t,e),t=Fs(t,s),t.flags|=4096;return t}return e=di(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ps(e,t){var i=t.ref;if(i===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(r(284));(e===null||e.ref!==i)&&(t.flags|=4194816)}}function vc(e,t,i,s,c){return va(t),i=Wr(e,t,i,s,void 0,c),s=Jr(),e!==null&&!Qe?(ec(e,t,c),xi(e,t,c)):(pe&&s&&kr(t),t.flags|=1,st(e,t,i,c),t.child)}function ph(e,t,i,s,c,u){return va(t),t.updateQueue=null,i=vm(t,s,i,c),xm(e),s=Jr(),e!==null&&!Qe?(ec(e,t,u),xi(e,t,u)):(pe&&s&&kr(t),t.flags|=1,st(e,t,i,u),t.child)}function gh(e,t,i,s,c){if(va(t),t.stateNode===null){var u=Ia,h=i.contextType;typeof h=="object"&&h!==null&&(u=lt(h)),u=new i(s,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=pc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=s,u.state=t.memoizedState,u.refs={},Fr(t),h=i.contextType,u.context=typeof h=="object"&&h!==null?lt(h):Ia,u.state=t.memoizedState,h=i.getDerivedStateFromProps,typeof h=="function"&&(hc(t,i,h,s),u.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(h=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),h!==u.state&&pc.enqueueReplaceState(u,u.state,null),nl(t,s,u,c),al(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){u=t.stateNode;var y=t.memoizedProps,S=za(i,y);u.props=S;var C=u.context,O=i.contextType;h=Ia,typeof O=="object"&&O!==null&&(h=lt(O));var q=i.getDerivedStateFromProps;O=typeof q=="function"||typeof u.getSnapshotBeforeUpdate=="function",y=t.pendingProps!==y,O||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y||C!==h)&&ih(t,u,s,h),Vi=!1;var D=t.memoizedState;u.state=D,nl(t,s,u,c),al(),C=t.memoizedState,y||D!==C||Vi?(typeof q=="function"&&(hc(t,i,q,s),C=t.memoizedState),(S=Vi||th(t,i,S,s,D,C,h))?(O||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=C),u.props=s,u.state=C,u.context=h,s=S):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{u=t.stateNode,Pr(e,t),h=t.memoizedProps,O=za(i,h),u.props=O,q=t.pendingProps,D=u.context,C=i.contextType,S=Ia,typeof C=="object"&&C!==null&&(S=lt(C)),y=i.getDerivedStateFromProps,(C=typeof y=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h!==q||D!==S)&&ih(t,u,s,S),Vi=!1,D=t.memoizedState,u.state=D,nl(t,s,u,c),al();var R=t.memoizedState;h!==q||D!==R||Vi||e!==null&&e.dependencies!==null&&Ts(e.dependencies)?(typeof y=="function"&&(hc(t,i,y,s),R=t.memoizedState),(O=Vi||th(t,i,O,s,D,R,S)||e!==null&&e.dependencies!==null&&Ts(e.dependencies))?(C||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(s,R,S),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(s,R,S)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=R),u.props=s,u.state=R,u.context=S,s=O):(typeof u.componentDidUpdate!="function"||h===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),s=!1)}return u=s,Ps(e,t),s=(t.flags&128)!==0,u||s?(u=t.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&s?(t.child=Sa(t,e.child,null,c),t.child=Sa(t,null,i,c)):st(e,t,i,c),t.memoizedState=u.state,e=t.child):e=xi(e,t,c),e}function xh(e,t,i,s){return ga(),t.flags|=256,st(e,t,i,s),t.child}var yc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bc(e){return{baseLanes:e,cachePool:sm()}}function jc(e,t,i){return e=e!==null?e.childLanes&~i:0,t&&(e|=Mt),e}function vh(e,t,i){var s=t.pendingProps,c=!1,u=(t.flags&128)!==0,h;if((h=u)||(h=e!==null&&e.memoizedState===null?!1:(Fe.current&2)!==0),h&&(c=!0,t.flags&=-129),h=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(c?qi(t):Gi(),(e=ke)?(e=Tp(e,Ht),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Li!==null?{id:ti,overflow:ii}:null,retryLane:536870912,hydrationErrors:null},i=$f(e),i.return=t,t.child=i,nt=t,ke=null)):e=null,e===null)throw Bi(t);return au(e)?t.lanes=32:t.lanes=536870912,null}var y=s.children;
vendor: 10,015 bytes, line 8
8return s=s.fallback,c?(Gi(),c=t.mode,y=Xs({mode:"hidden",children:y},c),s=pa(s,c,i,null),y.return=t,s.return=t,y.sibling=s,t.child=y,s=t.child,s.memoizedState=bc(i),s.childLanes=jc(e,h,i),t.memoizedState=yc,cl(null,s)):(qi(t),Sc(t,y))}var S=e.memoizedState;if(S!==null&&(y=S.dehydrated,y!==null)){if(u)t.flags&256?(qi(t),t.flags&=-257,t=wc(e,t,i)):t.memoizedState!==null?(Gi(),t.child=e.child,t.flags|=128,t=null):(Gi(),y=s.fallback,c=t.mode,s=Xs({mode:"visible",children:s.children},c),y=pa(y,c,i,null),y.flags|=2,s.return=t,y.return=t,s.sibling=y,t.child=s,Sa(t,e.child,null,i),s=t.child,s.memoizedState=bc(i),s.childLanes=jc(e,h,i),t.memoizedState=yc,t=cl(null,s));else if(qi(t),au(y)){if(h=y.nextSibling&&y.nextSibling.dataset,h)var C=h.dgst;h=C,s=Error(r(419)),s.stack="",s.digest=h,$n({value:s,source:null,stack:null}),t=wc(e,t,i)}else if(Qe||$a(e,t,i,!1),h=(i&e.childLanes)!==0,Qe||h){if(h=De,h!==null&&(s=nf(h,i),s!==0&&s!==S.retryLane))throw S.retryLane=s,ha(e,s),St(h,e,s),xc;iu(y)||to(),t=wc(e,t,i)}else iu(y)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,ke=Gt(y.nextSibling),nt=t,pe=!0,Oi=null,Ht=!1,e!==null&&em(t,e),t=Sc(t,s.children),t.flags|=4096);return t}return c?(Gi(),y=s.fallback,c=t.mode,S=e.child,C=S.sibling,s=di(S,{mode:"hidden",children:s.children}),s.subtreeFlags=S.subtreeFlags&65011712,C!==null?y=di(C,y):(y=pa(y,c,i,null),y.flags|=2),y.return=t,s.return=t,s.sibling=y,t.child=s,cl(null,s),s=t.child,y=e.child.memoizedState,y===null?y=bc(i):(c=y.cachePool,c!==null?(S=Xe._currentValue,c=c.parent!==S?{parent:S,pool:S}:c):c=sm(),y={baseLanes:y.baseLanes|i,cachePool:c}),s.memoizedState=y,s.childLanes=jc(e,h,i),t.memoizedState=yc,cl(e.child,s)):(qi(t),i=e.child,e=i.sibling,i=di(i,{mode:"visible",children:s.children}),i.return=t,i.sibling=null,e!==null&&(h=t.deletions,h===null?(t.deletions=[e],t.flags|=16):h.push(e)),t.child=i,t.memoizedState=null,i)}function Sc(e,t){return t=Xs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Xs(e,t){return e=Et(22,e,null,t),e.lanes=0,e}function wc(e,t,i){return Sa(t,e.child,null,i),e=Sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function yh(e,t,i){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Vr(e.return,t,i)}function zc(e,t,i,s,c,u){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:c,treeForkCount:u}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=s,h.tail=i,h.tailMode=c,h.treeForkCount=u)}function bh(e,t,i){var s=t.pendingProps,c=s.revealOrder,u=s.tail;s=s.children;var h=Fe.current,y=(h&2)!==0;if(y?(h=h&1|2,t.flags|=128):h&=1,I(Fe,h),st(e,t,s,i),s=pe?Zn:0,!y&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yh(e,i,t);else if(e.tag===19)yh(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(c){case"forwards":for(i=t.child,c=null;i!==null;)e=i.alternate,e!==null&&Ls(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=t.child,t.child=null):(c=i.sibling,i.sibling=null),zc(t,!1,c,i,u,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&Ls(e)===null){t.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}zc(t,!0,i,null,u,s);break;case"together":zc(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function xi(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Pi|=t.lanes,(i&t.childLanes)===0)if(e!==null){if($a(e,t,i,!1),(i&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,i=di(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=di(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function Nc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ts(e)))}function pb(e,t,i){switch(t.tag){case 3:dt(t,t.stateNode.containerInfo),_i(t,Xe,e.memoizedState.cache),ga();break;case 27:case 5:On(t);break;case 4:dt(t,t.stateNode.containerInfo);break;case 10:_i(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Zr(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(qi(t),t.flags|=128,null):(i&t.child.childLanes)!==0?vh(e,t,i):(qi(t),e=xi(e,t,i),e!==null?e.sibling:null);qi(t);break;case 19:var c=(e.flags&128)!==0;if(s=(i&t.childLanes)!==0,s||($a(e,t,i,!1),s=(i&t.childLanes)!==0),c){if(s)return bh(e,t,i);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),I(Fe,Fe.current),s)break;return null;case 22:return t.lanes=0,fh(e,t,i,t.pendingProps);case 24:_i(t,Xe,e.memoizedState.cache)}return xi(e,t,i)}function jh(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!Nc(e,i)&&(t.flags&128)===0)return Qe=!1,pb(e,t,i);Qe=(e.flags&131072)!==0}else Qe=!1,pe&&(t.flags&1048576)!==0&&Jf(t,Zn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=ba(t.elementType),t.type=e,typeof e=="function")Dr(e)?(s=za(e,s),t.tag=1,t=gh(null,t,e,s,i)):(t.tag=0,t=vc(null,t,e,s,i));else{if(e!=null){var c=e.$$typeof;if(c===F){t.tag=11,t=ch(null,t,e,s,i);break e}else if(c===Z){t.tag=14,t=uh(null,t,e,s,i);break e}}throw t=kt(e)||e,Error(r(306,t,""))}}return t;case 0:return vc(e,t,t.type,t.pendingProps,i);case 1:return s=t.type,c=za(s,t.pendingProps),gh(e,t,s,c,i);case 3:e:{if(dt(t,t.stateNode.containerInfo),e===null)throw Error(r(387));s=t.pendingProps;var u=t.memoizedState;c=u.element,Pr(e,t),nl(t,s,null,i);var h=t.memoizedState;if(s=h.cache,_i(t,Xe,s),s!==u.cache&&Ur(t,[Xe],i,!0),al(),s=h.element,u.isDehydrated)if(u={element:s,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=xh(e,t,s,i);break e}else if(s!==c){c=_t(Error(r(424)),t),$n(c),t=xh(e,t,s,i);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ke=Gt(e.firstChild),nt=t,pe=!0,Oi=null,Ht=!0,i=fm(t,null,s,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(ga(),s===c){t=xi(e,t,i);break e}st(e,t,s,i)}t=t.child}return t;case 26:return Ps(e,t),e===null?(i=Rp(t.type,null,t.pendingProps,null))?t.memoizedState=i:pe||(i=t.type,e=t.pendingProps,s=ro(ce.current).createElement(i),s[at]=t,s[gt]=e,ot(s,i,e),Je(s),t.stateNode=s):t.memoizedState=Rp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return On(t),e===null&&pe&&(s=t.stateNode=Cp(t.type,t.pendingProps,ce.current),nt=t,Ht=!0,c=ke,Zi(t.type)?(nu=c,ke=Gt(s.firstChild)):ke=c),st(e,t,t.pendingProps.children,i),Ps(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((c=s=ke)&&(s=Pb(s,t.type,t.pendingProps,Ht),s!==null?(t.stateNode=s,nt=t,ke=Gt(s.firstChild),Ht=!1,c=!0):c=!1),c||Bi(t)),On(t),c=t.type,u=t.pendingProps,h=e!==null?e.memoizedProps:null,s=u.children,Jc(c,u)?s=null:h!==null&&Jc(c,h)&&(t.flags|=32),t.memoizedState!==null&&(c=Wr(e,t,sb,null,null,i),zl._currentValue=c),Ps(e,t),st(e,t,s,i),t.child;case 6:return e===null&&pe&&((e=i=ke)&&(i=Xb(i,t.pendingProps,Ht),i!==null?(t.stateNode=i,nt=t,ke=null,e=!0):e=!1),e||Bi(t)),null;case 13:return vh(e,t,i);case 4:return dt(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Sa(t,null,s,i):st(e,t,s,i),t.child;case 11:return ch(e,t,t.type,t.pendingProps,i);case 7:return st(e,t,t.pendingProps,i),t.child;case 8:return st(e,t,t.pendingProps.children,i),t.child;case 12:return st(e,t,t.pendingProps.children,i),t.child;case 10:return s=t.pendingProps,_i(t,t.type,s.value),st(e,t,s.children,i),t.child;case 9:return c=t.type._context,s=t.pendingProps.children,va(t),c=lt(c),s=s(c),t.flags|=1,st(e,t,s,i),t.child;case 14:return uh(e,t,t.type,t.pendingProps,i);case 15:return dh(e,t,t.type,t.pendingProps,i);case 19:return bh(e,t,i);case 31:return hb(e,t,i);case 22:return fh(e,t,i,t.pendingProps);case 24:return va(t),s=lt(Xe),e===null?(c=Gr(),c===null&&(c=De,u=Hr(),c.pooledCache=u,u.refCount++,u!==null&&(c.pooledCacheLanes|=i),c=u),t.memoizedState={parent:s,cache:c},Fr(t),_i(t,Xe,c)):((e.lanes&i)!==0&&(Pr(e,t),nl(t,null,null,i),al()),c=e.memoizedState,u=t.memoizedState,c.parent!==s?(c={parent:s,cache:s},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),_i(t,Xe,s)):(s=u.cache,_i(t,Xe,s),s!==c.cache&&Ur(t,[Xe],i,!0))),st(e,t,t.pendingProps.children,i),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function vi(e){e.flags|=4}function Tc(e,t,i,s,c){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(c&335544128)===c)if(e.stateNode.complete)e.flags|=8192;else if(Qh())e.flags|=8192;else throw ja=Ds,Yr}else e.flags&=-16777217}function Sh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!_p(t))if(Qh())e.flags|=8192;else throw ja=Ds,Yr}function Is(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ef():536870912,e.lanes|=t,un|=t)}function ul(e,t){if(!pe)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Le(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,s=0;if(t)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags&65011712,s|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,s|=c.subtreeFlags,s|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=s,e.childLanes=i,t}function gb(e,t,i){var s=t.pendingProps;switch(Lr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Le(t),null;case 3:return i=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),hi(Xe),Ye(
vendor: 5,837 bytes, line 8
8),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Za(t)?vi(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Br())),Le(t),null;case 26:var c=t.type,u=t.memoizedState;return e===null?(vi(t),u!==null?(Le(t),Sh(t,u)):(Le(t),Tc(t,c,null,s,i))):u?u!==e.memoizedState?(vi(t),Le(t),Sh(t,u)):(Le(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&vi(t),Le(t),Tc(t,c,e,s,i)),null;case 27:if(ns(t),i=ce.current,c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&vi(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Le(t),null}e=$.current,Za(t)?tm(t):(e=Cp(c,s,i),t.stateNode=e,vi(t))}return Le(t),null;case 5:if(ns(t),c=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&vi(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Le(t),null}if(u=$.current,Za(t))tm(t);else{var h=ro(ce.current);switch(u){case 1:u=h.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:u=h.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":u=h.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":u=h.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":u=h.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?u.multiple=!0:s.size&&(u.size=s.size);break;default:u=typeof s.is=="string"?h.createElement(c,{is:s.is}):h.createElement(c)}}u[at]=t,u[gt]=s;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)u.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=u;e:switch(ot(u,c,s),c){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&vi(t)}}return Le(t),Tc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,i),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&vi(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(r(166));if(e=ce.current,Za(t)){if(e=t.stateNode,i=t.memoizedProps,s=null,c=nt,c!==null)switch(c.tag){case 27:case 5:s=c.memoizedProps}e[at]=t,e=!!(e.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||vp(e.nodeValue,i)),e||Bi(t,!0)}else e=ro(e).createTextNode(s),e[at]=t,t.stateNode=e}return Le(t),null;case 31:if(i=t.memoizedState,e===null||e.memoizedState!==null){if(s=Za(t),i!==null){if(e===null){if(!s)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[at]=t}else ga(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),e=!1}else i=Br(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Le(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Za(t),s!==null&&s.dehydrated!==null){if(e===null){if(!c)throw Error(r(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(r(317));c[at]=t}else ga(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Le(t),c=!1}else c=Br(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&128)!==0?(t.lanes=i,t):(i=s!==null,e=e!==null&&e.memoizedState!==null,i&&(s=t.child,c=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(c=s.alternate.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==c&&(s.flags|=2048)),i!==e&&i&&(t.child.flags|=8192),Is(t,t.updateQueue),Le(t),null);case 4:return Ye(),e===null&&Qc(t.stateNode.containerInfo),Le(t),null;case 10:return hi(t.type),Le(t),null;case 19:if(G(Fe),s=t.memoizedState,s===null)return Le(t),null;if(c=(t.flags&128)!==0,u=s.rendering,u===null)if(c)ul(s,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Ls(e),u!==null){for(t.flags|=128,ul(s,!1),e=u.updateQueue,t.updateQueue=e,Is(t,e),t.subtreeFlags=0,e=i,i=t.child;i!==null;)Zf(i,e),i=i.sibling;return I(Fe,Fe.current&1|2),pe&&fi(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&wt()>Ws&&(t.flags|=128,c=!0,ul(s,!1),t.lanes=4194304)}else{if(!c)if(e=Ls(u),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,Is(t,e),ul(s,!0),s.tail===null&&s.tailMode==="hidden"&&!u.alternate&&!pe)return Le(t),null}else 2*wt()-s.renderingStartTime>Ws&&i!==536870912&&(t.flags|=128,c=!0,ul(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(e=s.last,e!==null?e.sibling=u:t.child=u,s.last=u)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=wt(),e.sibling=null,i=Fe.current,I(Fe,c?i&1|2:i&1),pe&&fi(t,s.treeForkCount),e):(Le(t),null);case 22:case 23:return Ct(t),Kr(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(i&536870912)!==0&&(t.flags&128)===0&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),i=t.updateQueue,i!==null&&Is(t,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==i&&(t.flags|=2048),e!==null&&G(ya),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),hi(Xe),Le(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function xb(e,t){switch(Lr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 21,371 bytes, line 8
8case 3:return hi(Xe),Ye(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ns(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(r(340));ga()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));ga()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(Fe),null;case 4:return Ye(),null;case 10:return hi(t.type),null;case 22:case 23:return Ct(t),Kr(),e!==null&&G(ya),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return hi(Xe),null;case 25:return null;default:return null}}function wh(e,t){switch(Lr(t),t.tag){case 3:hi(Xe),Ye();break;case 26:case 27:case 5:ns(t);break;case 4:Ye();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:G(Fe);break;case 10:hi(t.type);break;case 22:case 23:Ct(t),Kr(),e!==null&&G(ya);break;case 24:hi(Xe)}}function dl(e,t){try{var i=t.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var c=s.next;i=c;do{if((i.tag&e)===e){s=void 0;var u=i.create,h=i.inst;s=u(),h.destroy=s}i=i.next}while(i!==c)}}catch(y){Te(t,t.return,y)}}function Yi(e,t,i){try{var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var u=c.next;s=u;do{if((s.tag&e)===e){var h=s.inst,y=h.destroy;if(y!==void 0){h.destroy=void 0,c=t;var S=i,C=y;try{C()}catch(O){Te(c,S,O)}}}s=s.next}while(s!==u)}}catch(O){Te(t,t.return,O)}}function zh(e){var t=e.updateQueue;if(t!==null){var i=e.stateNode;try{hm(t,i)}catch(s){Te(e,e.return,s)}}}function Nh(e,t,i){i.props=za(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(s){Te(e,t,s)}}function fl(e,t){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof i=="function"?e.refCleanup=i(s):i.current=s}}catch(c){Te(e,t,c)}}function ai(e,t){var i=e.ref,s=e.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(c){Te(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(c){Te(e,t,c)}else i.current=null}function Th(e){var t=e.type,i=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break e;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(c){Te(e,e.return,c)}}function Ec(e,t,i){try{var s=e.stateNode;Ub(s,e.type,i,t),s[gt]=t}catch(c){Te(e,e.return,c)}}function Eh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zi(e.type)||e.tag===4}function Ac(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Eh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Zi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Cc(e,t,i){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,t):(t=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,t.appendChild(e),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=ci));else if(s!==4&&(s===27&&Zi(e.type)&&(i=e.stateNode,t=null),e=e.child,e!==null))for(Cc(e,t,i),e=e.sibling;e!==null;)Cc(e,t,i),e=e.sibling}function Qs(e,t,i){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(s!==4&&(s===27&&Zi(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Qs(e,t,i),e=e.sibling;e!==null;)Qs(e,t,i),e=e.sibling}function Ah(e){var t=e.stateNode,i=e.memoizedProps;try{for(var s=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);ot(t,s,i),t[at]=e,t[gt]=i}catch(u){Te(e,e.return,u)}}var yi=!1,Ke=!1,Dc=!1,Ch=typeof WeakSet=="function"?WeakSet:Set,et=null;function vb(e,t){if(e=e.containerInfo,$c=go,e=qf(e),wr(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var c=s.anchorOffset,u=s.focusNode;s=s.focusOffset;try{i.nodeType,u.nodeType}catch{i=null;break e}var h=0,y=-1,S=-1,C=0,O=0,q=e,D=null;t:for(;;){for(var R;q!==i||c!==0&&q.nodeType!==3||(y=h+c),q!==u||s!==0&&q.nodeType!==3||(S=h+s),q.nodeType===3&&(h+=q.nodeValue.length),(R=q.firstChild)!==null;)D=q,q=R;for(;;){if(q===e)break t;if(D===i&&++C===c&&(y=h),D===u&&++O===s&&(S=h),(R=q.nextSibling)!==null)break;q=D,D=q.parentNode}q=R}i=y===-1||S===-1?null:{start:y,end:S}}else i=null}i=i||{start:0,end:0}}else i=null;for(Wc={focusedElem:e,selectionRange:i},go=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){switch(t=et,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)c=e[i],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,i=t,c=u.memoizedProps,u=u.memoizedState,s=i.stateNode;try{var Q=za(i.type,c);e=s.getSnapshotBeforeUpdate(Q,u),s.__reactInternalSnapshotBeforeUpdate=e}catch(ne){Te(i,i.return,ne)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,i=e.nodeType,i===9)tu(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":tu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}}function Dh(e,t,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:ji(e,i),s&4&&dl(5,i);break;case 1:if(ji(e,i),s&4)if(e=i.stateNode,t===null)try{e.componentDidMount()}catch(h){Te(i,i.return,h)}else{var c=za(i.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(c,t,e.__reactInternalSnapshotBeforeUpdate)}catch(h){Te(i,i.return,h)}}s&64&&zh(i),s&512&&fl(i,i.return);break;case 3:if(ji(e,i),s&64&&(e=i.updateQueue,e!==null)){if(t=null,i.child!==null)switch(i.child.tag){case 27:case 5:t=i.child.stateNode;break;case 1:t=i.child.stateNode}try{hm(e,t)}catch(h){Te(i,i.return,h)}}break;case 27:t===null&&s&4&&Ah(i);case 26:case 5:ji(e,i),t===null&&s&4&&Th(i),s&512&&fl(i,i.return);break;case 12:ji(e,i);break;case 31:ji(e,i),s&4&&kh(e,i);break;case 13:ji(e,i),s&4&&Lh(e,i),s&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=Eb.bind(null,i),Ib(e,i))));break;case 22:if(s=i.memoizedState!==null||yi,!s){t=t!==null&&t.memoizedState!==null||Ke,c=yi;var u=Ke;yi=s,(Ke=t)&&!u?Si(e,i,(i.subtreeFlags&8772)!==0):ji(e,i),yi=c,Ke=u}break;case 30:break;default:ji(e,i)}}function Mh(e){var t=e.alternate;t!==null&&(e.alternate=null,Mh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&sr(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Be=null,vt=!1;function bi(e,t,i){for(i=i.child;i!==null;)Rh(e,t,i),i=i.sibling}function Rh(e,t,i){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(Bn,i)}catch{}switch(i.tag){case 26:Ke||ai(i,t),bi(e,t,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:Ke||ai(i,t);var s=Be,c=vt;Zi(i.type)&&(Be=i.stateNode,vt=!1),bi(e,t,i),jl(i.stateNode),Be=s,vt=c;break;case 5:Ke||ai(i,t);case 6:if(s=Be,c=vt,Be=null,bi(e,t,i),Be=s,vt=c,Be!==null)if(vt)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(i.stateNode)}catch(u){Te(i,t,u)}else try{Be.removeChild(i.stateNode)}catch(u){Te(i,t,u)}break;case 18:Be!==null&&(vt?(e=Be,zp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),vn(e)):zp(Be,i.stateNode));break;case 4:s=Be,c=vt,Be=i.stateNode.containerInfo,vt=!0,bi(e,t,i),Be=s,vt=c;break;case 0:case 11:case 14:case 15:Yi(2,i,t),Ke||Yi(4,i,t),bi(e,t,i);break;case 1:Ke||(ai(i,t),s=i.stateNode,typeof s.componentWillUnmount=="function"&&Nh(i,t,s)),bi(e,t,i);break;case 21:bi(e,t,i);break;case 22:Ke=(s=Ke)||i.memoizedState!==null,bi(e,t,i),Ke=s;break;default:bi(e,t,i)}}function kh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{vn(e)}catch(i){Te(t,t.return,i)}}}function Lh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{vn(e)}catch(i){Te(t,t.return,i)}}function yb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ch),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ch),t;default:throw Error(r(435,e.tag))}}function Ks(e,t){var i=yb(e);t.forEach(function(s){if(!i.has(s)){i.add(s);var c=Ab.bind(null,e,s);s.then(c,c)}})}function yt(e,t){var i=t.deletions;if(i!==null)for(var s=0;s<i.length;s++){var c=i[s],u=e,h=t,y=h;e:for(;y!==null;){switch(y.tag){case 27:if(Zi(y.type)){Be=y.stateNode,vt=!1;break e}break;case 5:Be=y.stateNode,vt=!1;break e;case 3:case 4:Be=y.stateNode.containerInfo,vt=!0;break e}y=y.return}if(Be===null)throw Error(r(160));Rh(u,h,c),Be=null,vt=!1,u=c.alternate,u!==null&&(u.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Oh(t,e),t=t.sibling}var Zt=null;function Oh(e,t){var i=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yt(t,e),bt(e),s&4&&(Yi(3,e,e.return),dl(3,e),Yi(5,e,e.return));break;case 1:yt(t,e),bt(e),s&512&&(Ke||i===null||ai(i,i.return)),s&64&&yi&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var c=Zt;if(yt(t,e),bt(e),s&512&&(Ke||i===null||ai(i,i.return)),s&4){var u=i!==null?i.memoizedState:null;if(s=e.memoizedState,i===null)if(s===null)if(e.stateNode===null){e:{s=e.type,i=e.memoizedProps,c=c.ownerDocument||c;t:switch(s){case"title":u=c.getElementsByTagName("title")[0],(!u||u[Un]||u[at]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=c.createElement(s),c.head.insertBefore(u,c.querySelector("head > title"))),ot(u,s,i),u[at]=e,Je(u),s=u;break e;case"link":var h=Op("link","href",c).get(s+(i.href||""));if(h){for(var y=0;y<h.length;y++)if(u=h[y],u.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&u.getAttribute("rel")===(i.rel==null?null:i.rel)&&u.getAttribute("title")===(i.title==null?null:i.title)&&u.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){h.splice(y,1);break t}}u=c.createElement(s),ot(u,s,i),c.head.appendChild(u);break;case"meta":if(h=Op("meta","content",c).get(s+(i.content||""))){for(y=0;y<h.length;y++)if(u=h[y],u.getAttribute("content")===(i.content==null?null:""+i.content)&&u.getAttribute("name")===(i.name==null?null:i.name)&&u.getAttribute("property")===(i.property==null?null:i.property)&&u.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&u.getAttribute("charset")===(i.charSet==null?null:i.charSet)){h.splice(y,1);break t}}u=c.createElement(s),ot(u,s,i),c.head.appendChild(u);break;default:throw Error(r(468,s))}u[at]=e,Je(u),s=u}e.stateNode=s}else Bp(c,e.type,e.stateNode);else e.stateNode=Lp(c,s,e.memoizedProps);else u!==s?(u===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):u.count--,s===null?Bp(c,e.type,e.stateNode):Lp(c,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Ec(e,e.memoizedProps,i.memoizedProps)}break;case 27:yt(t,e),bt(e),s&512&&(Ke||i===null||ai(i,i.return)),i!==null&&s&4&&Ec(e,e.memoizedProps,i.memoizedProps);break;case 5:if(yt(t,e),bt(e),s&512&&(Ke||i===null||ai(i,i.return)),e.flags&32){c=e.stateNode;try{Ha(c,"")}catch(Q){Te(e,e.return,Q)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,Ec(e,c,i!==null?i.memoizedProps:c)),s&1024&&(Dc=!0);break;case 6:if(yt(t,e),bt(e),s&4){if(e.stateNode===null)throw Error(r(162));s=e.memoizedProps,i=e.stateNode;try{i.nodeValue=s}catch(Q){Te(e,e.return,Q)}}break;case 3:if(fo=null,c=Zt,Zt=co(t.containerInfo),yt(t,e),Zt=c,bt(e),s&4&&i!==null&&i.memoizedState.isDehydrated)try{vn(t.containerInfo)}catch(Q){Te(e,e.return,Q)}Dc&&(Dc=!1,Bh(e));break;case 4:s=Zt,Zt=co(e.stateNode.containerInfo),yt(t,e),bt(e),Zt=s;break;case 12:yt(t,e),bt(e);break;case 31:yt(t,e),bt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ks(e,s)));break;case 13:yt(t,e),bt(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&($s=wt()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ks(e,s)));break;case 22:c=e.memoizedState!==null;var S=i!==null&&i.memoizedState!==null,C=yi,O=Ke;if(yi=C||c,Ke=O||S,yt(t,e),Ke=O,yi=C,bt(e),s&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|1,c&&(i===null||S||yi||Ke||Na(e)),i=null,t=e;;){if(t.tag===5||t.tag===26){if(i===null){S=i=t;try{if(u=S.stateNode,c)h=u.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{y=S.stateNode;var q=S.memoizedProps.style,D=q!=null&&q.hasOwnProperty("display")?q.display:null;y.style.display=D==null||typeof D=="boolean"?"":(""+D).trim()}}catch(Q){Te(S,S.return,Q)}}}else if(t.tag===6){if(i===null){S=t;try{S.stateNode.nodeValue=c?"":S.memoizedProps}catch(Q){Te(S,S.return,Q)}}}else if(t.tag===18){if(i===null){S=t;try{var R=S.stateNode;c?Np(R,!0):Np(S.stateNode,!1)}catch(Q){Te(S,S.return,Q)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;i===t&&(i=null),t=t.return}i===t&&(i=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Ks(e,i))));break;case 19:yt(t,e),bt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ks(e,s)));break;case 30:break;case 21:break;default:yt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{for(var i,s=e.return;s!==null;){if(Eh(s)){i=s;break}s=s.return}if(i==null)throw Error(r(160));switch(i.tag){case 27:var c=i.stateNode,u=Ac(e);Qs(e,u,c);break;case 5:var h=i.stateNode;i.flags&32&&(Ha(h,""),i.flags&=-33);var y=Ac(e);Qs(e,y,h);break;case 3:case 4:var S=i.stateNode.containerInfo,C=Ac(e);Cc(e,C,S);break;default:throw Error(r(161))}}catch(O){Te(e,e.return,O)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Bh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Bh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ji(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Dh(e,t.alternate,t),t=t.sibling}function Na(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Yi(4,t,t.return),Na(t);break;case 1:ai(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&Nh(t,t.return,i),Na(t);break;case 27:jl(t.stateNode);case 26:case 5:ai(t,t.return),Na(t);break;case 22:t.memoizedState===null&&Na(t);break;case 30:Na(t);break;default:Na(t)}e=e.sibling}}function Si(e,t,i){for(i=i&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,c=e,u=t,h=u.flags;switch(u.tag){case 0:case 11:case 15:Si(c,u,i),dl(4,u);break;case 1:if(Si(c,u,i),s=u,c=s.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(C){Te(s,s.return,C)}if(s=u,c=s.updateQueue,c!==null){var y=s.stateNode;try{var S=c.shared.hiddenCallbacks;if(S!==null)for(c.shared.hiddenCallbacks=null,c=0;c<S.length;c++)mm(S[c],y)}catch(C){Te(s,s.return,C)}}i&&h&64&&zh(u),fl(u,u.return);break;case 27:Ah(u);case 26:case 5:Si(c,u,i),i&&s===null&&h&4&&Th(u),fl(u,u.return);break;case 12:Si(c,u,i);break;case 31:Si(c,u,i),i&&h&4&&kh(c,u);break;case 13:Si(c,u,i),i&&h&4&&Lh(c,u);break;case 22:u.memoizedState===null&&Si(c,u,i),fl(u,u.return);break;case 30:break;default:Si(c,u,i)}t=t.sibling}}function Mc(e,t){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Wn(i))}function Rc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wn(e))}function $t(e,t,i,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_h(e,t,i,s),t=t.sibling}function _h(e,t,i,s){var c=t.flags;switch(t.tag){case 0:case 11:case 15:$t(e,t,i,s),c&2048&&dl(9,t);break;case 1:$t(e,t,i,s);break;case 3:$t(e,t,i,s),c&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Wn(e)));break;case 12:if(c&2048){$t(e,t,i,s),e=t.stateNode;try{var u=t.memoizedProps,h=u.id,y=u.onPostCommit;typeof y=="function"&&y(h,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(S){Te(t,t.return,S)}}else $t(e,t,i,s);break;case 31:$t(e,t,i,s);break;case 13:$t(e,t,i,s);break;case 23:break;case 22:u=t.stateNode,h=t.alternate,t.memoizedState!==null?u._visibility&2?$t(e,t,i,s):ml(e,t):u._visibility&2?$t(e,t,i,s):(u._visibility|=2,on(e,t,i,s,(t.subtreeFlags&10256)!==0||!1)),c&2048&&Mc(h,t);break;case 24:$t(e,t,i,s),c&2048&&Rc(t.alternate,t);break;default:$t(e,t,i,s)}}function on(e,t,i,s,c){for(c=c&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,h=t,y=i,S=s,C=h.flags;switch(h.tag){case 0:case 11:case 15:on(u,h,y,S,c),dl(8,h);break;case 23:break;case 22:var O=h.stateNode;h.memoizedState!==null?O._visibility&2?on(u,h,y,S,c):ml(u,h):(O._visibility|=2,on(u,h,y,S,c)),c&&C&2048&&Mc(h.alternate,h);break;case 24:on(u,h,y,S,c),c&&C&2048&&Rc(h.alternate,h);break;default:on(u,h,y,S,c)}t=t.sibling}}function ml(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var i=e,s=t,c=s.flags;switch(s.tag){case 22:ml(i,s),c&2048&&Mc(s.alternate,s);break;case 24:ml(i,s),c&2048&&Rc(s.alternate,s);break;default:ml(i,s)}t=t.sibling}}var hl=8192;function rn(e,t,i){if(e.subtreeFlags&hl)for(e=e.child;e!==null;)Vh(e,t,i),e=e.sibling}function Vh(e,t,i){switch(e.tag){case 26:rn(e,t,i),e.flags&hl&&e.memoizedState!==null&&l1(i,Zt,e.memoizedState,e.memoizedProps);break;case 5:rn(e,t,i);break;case 3:case 4:var s=Zt;Zt=co(e.stateNode.containerInfo),rn(e,t,i),Zt=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=hl,hl=16777216,rn(e,t,i),hl=s):rn(e,t,i));break;default:rn(e,t,i)}}function Uh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function pl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var s=t[i];et=s,qh(s,e)}Uh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Hh(e),e=e.sibling}function Hh(e){switch(e.tag){case 0:case 11:case 15:pl(e),e.flags&2048&&Yi(9,e,e.return);break;case 3:pl(e);break;case 12:pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Zs(e)):pl(e);break;default:pl(e)}}function Zs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var i=0;i<t.length;i++){var s=t[i];et=s,qh(s,e)}Uh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Yi(8,t,t.return),Zs(t);break;case 22:i=t.stateNode,i._visibility&2&&(i._visibility&=-3,Zs(t));break;default:Zs(t)}e=e.sibling}}function qh(e,t){for(;et!==null;){var i=et;switch(i.tag){case 0:case 11:case 15:Yi(8,i,t);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Wn(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,et=s;else e:for(i=e;et!==null;){s=et;var c=s.sibling,u=s.return;if(Mh(s),s===i){et=null;break e}if(c!==null){c.return=u,et=c;break e}et=u}}}var bb={getCacheForType:function(e){var t=lt(Xe),i=t.data.get(e);return i===void 0&&(i=e(),t.data.set(e,i)),i},cacheSignal:function(){return lt(Xe).controller.signal}},jb=typeof WeakMap=="function"?WeakMap:Map,je=0,De=null,ue=null,me=0,Ne=0,Dt=null,Fi=!1,cn=!1,kc=!1,wi=0,qe=0,Pi=0,Ta=0,Lc=0,Mt=0,un=0,gl=null,jt=null,Oc=!1,$s=0,Gh=0,Ws=1/0,Js=null,Xi=null,$e=0,Ii=null,dn=null,zi=0,Bc=0,_c=null,Yh=null,xl=0,Vc=null;function Rt(){return(je&2)!==0&&me!==0?me&-me:_.T!==null?Fc():lf()}function Fh(){if(Mt===0)if((me&536870912)===0||pe){var e=os;os<<=1,(os&3932160)===0&&(os=262144),Mt=e}else Mt=536870912;return e=At.current,e!==null&&(e.flags|=32),Mt}function St(e,t,i){(e===De&&(Ne===2||Ne===9)||e.cancelPendingCommit!==null)&&(fn(e,0),Qi(e,me,Mt,!1)),Vn(e,i),((je&2)===0||e!==De)&&(e===De&&((je&2)===0&&(Ta|=i),qe===4&&Qi(e,me,Mt,!1)),ni(e))}function Ph(e,t,i){if((je&6)!==0)throw Error(r(327));var s=!i&&(t&127)===0&&(t&e.expiredLanes)===0||_n(e,t),c=s?zb(e,t):Hc(e,t,!0),u=s;do{if(c===0){cn&&!s&&Qi(e,t,0,!1);break}else{if(i=e.current.alternate,u&&!Sb(i)){c=Hc(e,t,!1),u=!1;continue}if(c===2){if(u=t,e.errorRecoveryDisabledLanes&u)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{var y=e;c=gl;var S=y.current.memoizedState.isDehydrated;if(S&&(fn(y,h).flags|=256),h=Hc(y,h,!1),h!==2){if(kc&&!S){y.errorRecoveryDisabledLanes|=u,Ta|=u,c=4;break e}u=jt,jt=c,u!==null&&(jt===null?jt=u:jt.push.apply(jt,u))}c=h}if(u=!1,c!==2)continue}}if(c===1){fn(e,0),Qi(e,t,0,!0);break}e:{switch(s=e,u=c,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Qi(s,t,Mt,!Fi);break e;case 2:jt=null;break;case 3:case 5:break;default:throw Error(r(329))}
vendor: 13,297 bytes, line 8
8if((t&62914560)===t&&(c=$s+300-wt(),10<c)){if(Qi(s,t,Mt,!Fi),cs(s,0,!0)!==0)break e;zi=t,s.timeoutHandle=Sp(Xh.bind(null,s,i,jt,Js,Oc,t,Mt,Ta,un,Fi,u,"Throttled",-0,0),c);break e}Xh(s,i,jt,Js,Oc,t,Mt,Ta,un,Fi,u,null,-0,0)}}break}while(!0);ni(e)}function Xh(e,t,i,s,c,u,h,y,S,C,O,q,D,R){if(e.timeoutHandle=-1,q=t.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ci},Vh(t,u,q);var Q=(u&62914560)===u?$s-wt():(u&4194048)===u?Gh-wt():0;if(Q=s1(q,Q),Q!==null){zi=u,e.cancelPendingCommit=Q(ep.bind(null,e,t,u,i,s,c,h,y,S,O,q,null,D,R)),Qi(e,u,h,!C);return}}ep(e,t,u,i,s,c,h,y,S)}function Sb(e){for(var t=e;;){var i=t.tag;if((i===0||i===11||i===15)&&t.flags&16384&&(i=t.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var c=i[s],u=c.getSnapshot;c=c.value;try{if(!Tt(u(),c))return!1}catch{return!1}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qi(e,t,i,s){t&=~Lc,t&=~Ta,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var c=t;0<c;){var u=31-Nt(c),h=1<<u;s[u]=-1,c&=~h}i!==0&&tf(e,i,t)}function eo(){return(je&6)===0?(vl(0),!1):!0}function Uc(){if(ue!==null){if(Ne===0)var e=ue.return;else e=ue,mi=xa=null,tc(e),tn=null,el=0,e=ue;for(;e!==null;)wh(e.alternate,e),e=e.return;ue=null}}function fn(e,t){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,Gb(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),zi=0,Uc(),De=e,ue=i=di(e.current,null),me=t,Ne=0,Dt=null,Fi=!1,cn=_n(e,t),kc=!1,un=Mt=Lc=Ta=Pi=qe=0,jt=gl=null,Oc=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var c=31-Nt(s),u=1<<c;t|=e[c],s&=~u}return wi=t,js(),i}function Ih(e,t){oe=null,_.H=rl,t===en||t===Cs?(t=cm(),Ne=3):t===Yr?(t=cm(),Ne=4):Ne=t===xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,ue===null&&(qe=1,Ys(e,_t(t,e.current)))}function Qh(){var e=At.current;return e===null?!0:(me&4194048)===me?qt===null:(me&62914560)===me||(me&536870912)!==0?e===qt:!1}function Kh(){var e=_.H;return _.H=rl,e===null?rl:e}function Zh(){var e=_.A;return _.A=bb,e}function to(){qe=4,Fi||(me&4194048)!==me&&At.current!==null||(cn=!0),(Pi&134217727)===0&&(Ta&134217727)===0||De===null||Qi(De,me,Mt,!1)}function Hc(e,t,i){var s=je;je|=2;var c=Kh(),u=Zh();(De!==e||me!==t)&&(Js=null,fn(e,t)),t=!1;var h=qe;e:do try{if(Ne!==0&&ue!==null){var y=ue,S=Dt;switch(Ne){case 8:Uc(),h=6;break e;case 3:case 2:case 9:case 6:At.current===null&&(t=!0);var C=Ne;if(Ne=0,Dt=null,mn(e,y,S,C),i&&cn){h=0;break e}break;default:C=Ne,Ne=0,Dt=null,mn(e,y,S,C)}}wb(),h=qe;break}catch(O){Ih(e,O)}while(!0);return t&&e.shellSuspendCounter++,mi=xa=null,je=s,_.H=c,_.A=u,ue===null&&(De=null,me=0,js()),h}function wb(){for(;ue!==null;)$h(ue)}function zb(e,t){var i=je;je|=2;var s=Kh(),c=Zh();De!==e||me!==t?(Js=null,Ws=wt()+500,fn(e,t)):cn=_n(e,t);e:do try{if(Ne!==0&&ue!==null){t=ue;var u=Dt;t:switch(Ne){case 1:Ne=0,Dt=null,mn(e,t,u,1);break;case 2:case 9:if(om(u)){Ne=0,Dt=null,Wh(t);break}t=function(){Ne!==2&&Ne!==9||De!==e||(Ne=7),ni(e)},u.then(t,t);break e;case 3:Ne=7;break e;case 4:Ne=5;break e;case 7:om(u)?(Ne=0,Dt=null,Wh(t)):(Ne=0,Dt=null,mn(e,t,u,7));break;case 5:var h=null;switch(ue.tag){case 26:h=ue.memoizedState;case 5:case 27:var y=ue;if(h?_p(h):y.stateNode.complete){Ne=0,Dt=null;var S=y.sibling;if(S!==null)ue=S;else{var C=y.return;C!==null?(ue=C,io(C)):ue=null}break t}}Ne=0,Dt=null,mn(e,t,u,5);break;case 6:Ne=0,Dt=null,mn(e,t,u,6);break;case 8:Uc(),qe=6;break e;default:throw Error(r(462))}}Nb();break}catch(O){Ih(e,O)}while(!0);return mi=xa=null,_.H=s,_.A=c,je=i,ue!==null?0:(De=null,me=0,js(),qe)}function Nb(){for(;ue!==null&&!Qv();)$h(ue)}function $h(e){var t=jh(e.alternate,e,wi);e.memoizedProps=e.pendingProps,t===null?io(e):ue=t}function Wh(e){var t=e,i=t.alternate;switch(t.tag){case 15:case 0:t=ph(i,t,t.pendingProps,t.type,void 0,me);break;case 11:t=ph(i,t,t.pendingProps,t.type.render,t.ref,me);break;case 5:tc(t);default:wh(i,t),t=ue=Zf(t,wi),t=jh(i,t,wi)}e.memoizedProps=e.pendingProps,t===null?io(e):ue=t}function mn(e,t,i,s){mi=xa=null,tc(t),tn=null,el=0;var c=t.return;try{if(mb(e,c,t,i,me)){qe=1,Ys(e,_t(i,e.current)),ue=null;return}}catch(u){if(c!==null)throw ue=c,u;qe=1,Ys(e,_t(i,e.current)),ue=null;return}t.flags&32768?(pe||s===1?e=!0:cn||(me&536870912)!==0?e=!1:(Fi=e=!0,(s===2||s===9||s===3||s===6)&&(s=At.current,s!==null&&s.tag===13&&(s.flags|=16384))),Jh(t,e)):io(t)}function io(e){var t=e;do{if((t.flags&32768)!==0){Jh(t,Fi);return}e=t.return;var i=gb(t.alternate,t,wi);if(i!==null){ue=i;return}if(t=t.sibling,t!==null){ue=t;return}ue=t=e}while(t!==null);qe===0&&(qe=5)}function Jh(e,t){do{var i=xb(e.alternate,e);if(i!==null){i.flags&=32767,ue=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!t&&(e=e.sibling,e!==null)){ue=e;return}ue=e=i}while(e!==null);qe=6,ue=null}function ep(e,t,i,s,c,u,h,y,S){e.cancelPendingCommit=null;do ao();while($e!==0);if((je&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(u=t.lanes|t.childLanes,u|=Ar,ny(e,i,u,h,y,S),e===De&&(ue=De=null,me=0),dn=t,Ii=e,zi=i,Bc=u,_c=c,Yh=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Cb(ls,function(){return lp(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=_.T,_.T=null,c=Y.p,Y.p=2,h=je,je|=4;try{vb(e,t,i)}finally{je=h,Y.p=c,_.T=s}}$e=1,tp(),ip(),ap()}}function tp(){if($e===1){$e=0;var e=Ii,t=dn,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=_.T,_.T=null;var s=Y.p;Y.p=2;var c=je;je|=4;try{Oh(t,e);var u=Wc,h=qf(e.containerInfo),y=u.focusedElem,S=u.selectionRange;if(h!==y&&y&&y.ownerDocument&&Hf(y.ownerDocument.documentElement,y)){if(S!==null&&wr(y)){var C=S.start,O=S.end;if(O===void 0&&(O=C),"selectionStart"in y)y.selectionStart=C,y.selectionEnd=Math.min(O,y.value.length);else{var q=y.ownerDocument||document,D=q&&q.defaultView||window;if(D.getSelection){var R=D.getSelection(),Q=y.textContent.length,ne=Math.min(S.start,Q),Ce=S.end===void 0?ne:Math.min(S.end,Q);!R.extend&&ne>Ce&&(h=Ce,Ce=ne,ne=h);var T=Uf(y,ne),z=Uf(y,Ce);if(T&&z&&(R.rangeCount!==1||R.anchorNode!==T.node||R.anchorOffset!==T.offset||R.focusNode!==z.node||R.focusOffset!==z.offset)){var A=q.createRange();A.setStart(T.node,T.offset),R.removeAllRanges(),ne>Ce?(R.addRange(A),R.extend(z.node,z.offset)):(A.setEnd(z.node,z.offset),R.addRange(A))}}}}for(q=[],R=y;R=R.parentNode;)R.nodeType===1&&q.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<q.length;y++){var H=q[y];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}go=!!$c,Wc=$c=null}finally{je=c,Y.p=s,_.T=i}}e.current=t,$e=2}}function ip(){if($e===2){$e=0;var e=Ii,t=dn,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=_.T,_.T=null;var s=Y.p;Y.p=2;var c=je;je|=4;try{Dh(e,t.alternate,t)}finally{je=c,Y.p=s,_.T=i}}$e=3}}function ap(){if($e===4||$e===3){$e=0,Kv();var e=Ii,t=dn,i=zi,s=Yh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?$e=5:($e=0,dn=Ii=null,np(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Xi=null),nr(i),t=t.stateNode,zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(Bn,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=_.T,c=Y.p,Y.p=2,_.T=null;try{for(var u=e.onRecoverableError,h=0;h<s.length;h++){var y=s[h];u(y.value,{componentStack:y.stack})}}finally{_.T=t,Y.p=c}}(zi&3)!==0&&ao(),ni(e),c=e.pendingLanes,(i&261930)!==0&&(c&42)!==0?e===Vc?xl++:(xl=0,Vc=e):xl=0,vl(0)}}function np(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Wn(t)))}function ao(){return tp(),ip(),ap(),lp()}function lp(){if($e!==5)return!1;var e=Ii,t=Bc;Bc=0;var i=nr(zi),s=_.T,c=Y.p;try{Y.p=32>i?32:i,_.T=null,i=_c,_c=null;var u=Ii,h=zi;if($e=0,dn=Ii=null,zi=0,(je&6)!==0)throw Error(r(331));var y=je;if(je|=4,Hh(u.current),_h(u,u.current,h,i),je=y,vl(0,!1),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(Bn,u)}catch{}return!0}finally{Y.p=c,_.T=s,np(e,t)}}function sp(e,t,i){t=_t(i,t),t=gc(e.stateNode,t,2),e=Hi(e,t,2),e!==null&&(Vn(e,2),ni(e))}function Te(e,t,i){if(e.tag===3)sp(e,e,i);else for(;t!==null;){if(t.tag===3){sp(t,e,i);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Xi===null||!Xi.has(s))){e=_t(i,e),i=oh(2),s=Hi(t,i,2),s!==null&&(rh(i,s,t,e),Vn(s,2),ni(s));break}}t=t.return}}function qc(e,t,i){var s=e.pingCache;if(s===null){s=e.pingCache=new jb;var c=new Set;s.set(t,c)}else c=s.get(t),c===void 0&&(c=new Set,s.set(t,c));c.has(i)||(kc=!0,c.add(i),e=Tb.bind(null,e,t,i),t.then(e,e))}function Tb(e,t,i){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,De===e&&(me&i)===i&&(qe===4||qe===3&&(me&62914560)===me&&300>wt()-$s?(je&2)===0&&fn(e,0):Lc|=i,un===me&&(un=0)),ni(e)}function op(e,t){t===0&&(t=ef()),e=ha(e,t),e!==null&&(Vn(e,t),ni(e))}function Eb(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),op(e,i)}function Ab(e,t){var i=0;switch(e.tag){case 31:case 13:var s=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(t),op(e,i)}function Cb(e,t){return er(e,t)}var no=null,hn=null,Gc=!1,lo=!1,Yc=!1,Ki=0;function ni(e){e!==hn&&e.next===null&&(hn===null?no=hn=e:hn=hn.next=e),lo=!0,Gc||(Gc=!0,Mb())}function vl(e,t){if(!Yc&&lo){Yc=!0;do for(var i=!1,s=no;s!==null;){if(e!==0){var c=s.pendingLanes;if(c===0)var u=0;else{var h=s.suspendedLanes,y=s.pingedLanes;u=(1<<31-Nt(42|e)+1)-1,u&=c&~(h&~y),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(i=!0,dp(s,u))}else u=me,u=cs(s,s===De?u:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(u&3)===0||_n(s,u)||(i=!0,dp(s,u));s=s.next}while(i);Yc=!1}}function Db(){rp()}function rp(){lo=Gc=!1;var e=0;Ki!==0&&qb()&&(e=Ki);for(var t=wt(),i=null,s=no;s!==null;){var c=s.next,u=cp(s,t);u===0?(s.next=null,i===null?no=c:i.next=c,c===null&&(hn=i)):(i=s,(e!==0||(u&3)!==0)&&(lo=!0)),s=c}$e!==0&&$e!==5||vl(e),Ki!==0&&(Ki=0)}function cp(e,t){for(var i=e.suspendedLanes,s=e.pingedLanes,c=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var h=31-Nt(u),y=1<<h,S=c[h];S===-1?((y&i)===0||(y&s)!==0)&&(c[h]=ay(y,t)):S<=t&&(e.expiredLanes|=y),u&=~y}if(t=De,i=me,i=cs(e,e===t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,i===0||e===t&&(Ne===2||Ne===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&tr(s),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||_n(e,i)){if(t=i&-i,t===e.callbackPriority)return t;switch(s!==null&&tr(s),nr(i)){case 2:case 8:i=Wd;break;case 32:i=ls;break;case 268435456:i=Jd;break;default:i=ls}return s=up.bind(null,e),i=er(i,s),e.callbackPriority=t,e.callbackNode=i,t}return s!==null&&s!==null&&tr(s),e.callbackPriority=2,e.callbackNode=null,2}function up(e,t){if($e!==0&&$e!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(ao()&&e.callbackNode!==i)return null;var s=me;return s=cs(e,e===De?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(Ph(e,s,t),cp(e,wt()),e.callbackNode!=null&&e.callbackNode===i?up.bind(null,e):null)}function dp(e,t){if(ao())return null;Ph(e,t,!0)}function Mb(){Yb(function(){(je&6)!==0?er($d,Db):rp()})}function Fc(){if(Ki===0){var e=Wa;e===0&&(e=ss,ss<<=1,(ss&261888)===0&&(ss=256)),Ki=e}return Ki}function fp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ms(""+e)}function mp(e,t){var i=t.ownerDocument.createElement("input");return i.name=t.name,i.value=t.value,e.id&&i.setAttribute("form",e.id),t.parentNode.insertBefore(i,t),e=new FormData(e),i.parentNode.removeChild(i),e}function Rb(e,t,i,s,c){if(t==="submit"&&i&&i.stateNode===c){var u=fp((c[gt]||null).action),h=s.submitter;h&&(t=(t=h[gt]||null)?fp(t.formAction):h.getAttribute("formAction"),t!==null&&(u=t,h=null));var y=new xs("action","action",null,s,c);e.push({event:y,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Ki!==0){var S=h?mp(c,h):new FormData(c);uc(i,{pending:!0,data:S,method:c.method,action:u},null,S)}}else typeof u=="function"&&(y.preventDefault(),S=h?mp(c,h):new FormData(c),uc(i,{pending:!0,data:S,method:c.method,action:u},u,S))},currentTarget:c}]})}}for(var Pc=0;Pc<Er.length;Pc++){var Xc=Er[Pc],kb=Xc.toLowerCase(),Lb=Xc[0].toUpperCase()+Xc.slice(1);Kt(kb,"on"+Lb)}Kt(Ff,"onAnimationEnd"),Kt(Pf,"onAnimationIteration"),Kt(Xf,"onAnimationStart"),Kt("dblclick","onDoubleClick"),Kt("focusin","onFocus"),Kt("focusout","onBlur"),Kt(Zy,"onTransitionRun"),Kt($y,"onTransitionStart"),Kt(Wy,"onTransitionCancel"),Kt(If,"onTransitionEnd"),Va("onMouseEnter",["mouseout","mouseover"]),Va("onMouseLeave",["mouseout","mouseover"]),Va("onPointerEnter",["pointerout","pointerover"]),Va("onPointerLeave",["pointerout","pointerover"]),ua("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ua("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),ua("onBeforeInput",["compositionend","keypress","textInput","paste"]),ua("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ua("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ua("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yl="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(" "),Ob=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yl));function hp(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var s=e[i],c=s.event;s=s.listeners;e:{var u=void 0;if(t)for(var h=s.length-1;0<=h;h--){var y=s[h],S=y.instance,C=y.currentTarget;if(y=y.listener,S!==u&&c.isPropagationStopped())break e;u=y,c.currentTarget=C;try{u(c)}catch(O){bs(O)}c.currentTarget=null,u=S}else for(h=0;h<s.length;h++){if(y=s[h],S=y.instance,C=y.currentTarget,y=y.listener,S!==u&&c.isPropagationStopped())break e;u=y,c.currentTarget=C;try{u(c)}catch(O){bs(O)}c.currentTarget=null,u=S}}}}function de(e,t){var i=t[lr];i===void 0&&(i=t[lr]=new Set);var s=e+"__bubble";i.has(s)||(pp(t,e,2,!1),i.add(s))}function Ic(e,t,i){var s=0;t&&(s|=4),pp(i,e,s,t)}var so="_reactListening"+Math.random().toString(36).slice(2);function Qc(e){if(!e[so]){e[so]=!0,rf.forEach(function(i){i!=="selectionchange"&&(Ob.has(i)||Ic(i,!1,e),Ic(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[so]||(t[so]=!0,Ic("selectionchange",!1,t))}}function pp(e,t,i,s){switch(Fp(t)){case 2:var c=c1;break;case 8:c=u1;break;default:c=cu}i=c.bind(null,t,i,e),c=void 0,!hr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),s?c!==void 0?e.addEventListener(t,i,{capture:!0,passive:c}):e.addEventListener(t,i,!0):c!==void 0?e.addEventListener(t,i,{passive:c}):e.addEventListener(t,i,!1)}function Kc(e,t,i,s,c){var u=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var h=s.tag;if(h===3||h===4){var y=s.stateNode.containerInfo;if(y===c)break;if(h===4)for(h=s.return;h!==null;){var S=h.tag;if((S===3||S===4)&&h.stateNode.containerInfo===c)return;h=h.return}for(;y!==null;){if(h=Oa(y),h===null)return;if(S=h.tag,S===5||S===6||S===26||S===27){s=u=h;continue e}y=y.parentNode}}s=s.return}bf(function(){var C=u,O=fr(i),q=[];e:{var D=Qf.get(e);if(D!==void 0){var R=xs,Q=e;switch(e){case"keypress":if(ps(i)===0)break e;case"keydown":case"keyup":R=Ay;break;case"focusin":Q="focus",R=vr;break;case"focusout":Q="blur",R=vr;break;case"beforeblur":case"afterblur":R=vr;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=gy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=My;break;case Ff:case Pf:case Xf:R=yy;break;case If:R=ky;break;case"scroll":case"scrollend":R=hy;break;case"wheel":R=Oy;break;case"copy":case"cut":case"paste":R=jy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=Nf;break;case"toggle":case"beforetoggle":R=_y}var ne=(t&4)!==0,Ce=!ne&&(e==="scroll"||e==="scrollend"),T=ne?D!==null?D+"Capture":null:D;ne=[];for(var z=C,A;z!==null;){var H=z;if(A=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||A===null||T===null||(H=qn(z,T),H!=null&&ne.push(bl(z,H,A))),Ce)break;z=z.return}0<ne.length&&(D=new R(D,Q,null,i,O),q.push({event:D,listeners:ne}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",R=e==="mouseout"||e==="pointerout",D&&i!==dr&&(Q=i.relatedTarget||i.fromElement)&&(Oa(Q)||Q[La]))break e;if((R||D)&&(D=O.window===O?O:(D=O.ownerDocument)?D.defaultView||D.parentWindow:window,R?(Q=i.relatedTarget||i.toElement,R=C,Q=Q?Oa(Q):null,Q!==null&&(Ce=f(Q),ne=Q.tag,Q!==Ce||ne!==5&&ne!==27&&ne!==6)&&(Q=null)):(R=null,Q=C),R!==Q)){if(ne=wf,H="onMouseLeave",T="onMouseEnter",z="mouse",(e==="pointerout"||e==="pointerover")&&(ne=Nf,H="onPointerLeave",T="onPointerEnter",z="pointer"),Ce=R==null?D:
vendor: 5,642 bytes, lines 8-9
8Hn(R),A=Q==null?D:Hn(Q),D=new ne(H,z+"leave",R,i,O),D.target=Ce,D.relatedTarget=A,H=null,Oa(O)===C&&(ne=new ne(T,z+"enter",Q,i,O),ne.target=A,ne.relatedTarget=Ce,H=ne),Ce=H,R&&Q)t:{for(ne=Bb,T=R,z=Q,A=0,H=T;H;H=ne(H))A++;H=0;for(var ie=z;ie;ie=ne(ie))H++;for(;0<A-H;)T=ne(T),A--;for(;0<H-A;)z=ne(z),H--;for(;A--;){if(T===z||z!==null&&T===z.alternate){ne=T;break t}T=ne(T),z=ne(z)}ne=null}else ne=null;R!==null&&gp(q,D,R,ne,!1),Q!==null&&Ce!==null&&gp(q,Ce,Q,ne,!0)}}e:{if(D=C?Hn(C):window,R=D.nodeName&&D.nodeName.toLowerCase(),R==="select"||R==="input"&&D.type==="file")var ve=kf;else if(Mf(D))if(Lf)ve=Iy;else{ve=Py;var J=Fy}else R=D.nodeName,!R||R.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?C&&ur(C.elementType)&&(ve=kf):ve=Xy;if(ve&&(ve=ve(e,C))){Rf(q,ve,i,O);break e}J&&J(e,D,C),e==="focusout"&&C&&D.type==="number"&&C.memoizedProps.value!=null&&cr(D,"number",D.value)}switch(J=C?Hn(C):window,e){case"focusin":(Mf(J)||J.contentEditable==="true")&&(Fa=J,zr=C,Kn=null);break;case"focusout":Kn=zr=Fa=null;break;case"mousedown":Nr=!0;break;case"contextmenu":case"mouseup":case"dragend":Nr=!1,Gf(q,i,O);break;case"selectionchange":if(Ky)break;case"keydown":case"keyup":Gf(q,i,O)}var re;if(br)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Ya?Cf(e,i)&&(he="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(he="onCompositionStart");he&&(Tf&&i.locale!=="ko"&&(Ya||he!=="onCompositionStart"?he==="onCompositionEnd"&&Ya&&(re=jf()):(ki=O,pr="value"in ki?ki.value:ki.textContent,Ya=!0)),J=oo(C,he),0<J.length&&(he=new zf(he,e,null,i,O),q.push({event:he,listeners:J}),re?he.data=re:(re=Df(i),re!==null&&(he.data=re)))),(re=Uy?Hy(e,i):qy(e,i))&&(he=oo(C,"onBeforeInput"),0<he.length&&(J=new zf("onBeforeInput","beforeinput",null,i,O),q.push({event:J,listeners:he}),J.data=re)),Rb(q,e,C,i,O)}hp(q,t)})}function bl(e,t,i){return{instance:e,listener:t,currentTarget:i}}function oo(e,t){for(var i=t+"Capture",s=[];e!==null;){var c=e,u=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||u===null||(c=qn(e,i),c!=null&&s.unshift(bl(e,c,u)),c=qn(e,t),c!=null&&s.push(bl(e,c,u))),e.tag===3)return s;e=e.return}return[]}function Bb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function gp(e,t,i,s,c){for(var u=t._reactName,h=[];i!==null&&i!==s;){var y=i,S=y.alternate,C=y.stateNode;if(y=y.tag,S!==null&&S===s)break;y!==5&&y!==26&&y!==27||C===null||(S=C,c?(C=qn(i,u),C!=null&&h.unshift(bl(i,C,S))):c||(C=qn(i,u),C!=null&&h.push(bl(i,C,S)))),i=i.return}h.length!==0&&e.push({event:t,listeners:h})}var _b=/\r\n?/g,Vb=/\u0000|\uFFFD/g;function xp(e){return(typeof e=="string"?e:""+e).replace(_b,`
9`).replace(Vb,"")}function vp(e,t){return t=xp(t),xp(e)===t}function Ae(e,t,i,s,c,u){switch(i){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||Ha(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&Ha(e,""+s);break;case"className":ds(e,"class",s);break;case"tabIndex":ds(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":ds(e,i,s);break;case"style":vf(e,s,u);break;case"data":if(t!=="object"){ds(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||i!=="href")){e.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(i);break}s=ms(""+s),e.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(i==="formAction"?(t!=="input"&&Ae(e,t,"name",c.name,c,null),Ae(e,t,"formEncType",c.formEncType,c,null),Ae(e,t,"formMethod",c.formMethod,c,null),Ae(e,t,"formTarget",c.formTarget,c,null)):(Ae(e,t,"encType",c.encType,c,null),Ae(e,t,"method",c.method,c,null),Ae(e,t,"target",c.target,c,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(i);break}s=ms(""+s),e.setAttribute(i,s);break;case"onClick":s!=null&&(e.onclick=ci);break;case"onScroll":s!=null&&de("scroll",e);break;case"onScrollEnd":s!=null&&de("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}i=ms(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,""+s):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
9ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":s===!0?e.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(i,s):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(i,s):e.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(i):e.setAttribute(i,s);break;case"popover":de("beforetoggle",e),de("toggle",e),us(e,"popover",s);break;case"xlinkActuate":ri(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ri(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ri(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ri(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ri(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ri(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ri(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ri(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ri(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":us(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=fy.get(i)||i,us(e,i,s))}}function Zc(e,t,i,s,c,u){switch(i){case"style":vf(e,s,u);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(i=s.__html,i!=null){if(c.children!=null)throw Error(r(60));e.innerHTML=i}}break;case"children":typeof s=="string"?Ha(e,s):(typeof s=="number"||typeof s=="bigint")&&Ha(e,""+s);break;case"onScroll":s!=null&&de("scroll",e);break;case"onScrollEnd":s!=null&&de("scrollend",e);break;case"onClick":s!=null&&(e.onclick=ci);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cf.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(c=i.endsWith("Capture"),t=i.slice(2,c?i.length-7:void 0),u=e[gt]||null,u=u!=null?u[i]:null,typeof u=="function"&&e.removeEventListener(t,u,c),typeof s=="function")){typeof u!="function"&&u!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(t,s,c);break e}i in e?e[i]=s:s===!0?e.setAttribute(i,""):us(e,i,s)}}}function ot(e,t,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":de("error",e),de("load",e);var s=!1,c=!1,u;for(u in i)if(i.hasOwnProperty(u)){var h=i[u];if(h!=null)switch(u){case"src":s=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ae(e,t,u,h,i,null)}}c&&Ae(e,t,"srcSet",i.srcSet,i,null),s&&Ae(e,t,"src",i.src,i,null);return;case"input":de("invalid",e);var y=u=h=c=null,S=null,C=null;for(s in i)if(i.hasOwnProperty(s)){var O=i[s];if(O!=null)switch(s){case"name":c=O;break;case"type":h=O;break;case"checked":S=O;break;case"defaultChecked":C=O;break;case"value":u=O;break;case"defaultValue":y=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,t));break;default:Ae(e,t,s,O,i,null)}}hf(e,u,y,S,C,h,c,!1);return;case"select":de("invalid",e),s=h=u=null;for(c in i)if(i.hasOwnProperty(c)&&(y=i[c],y!=null))switch(c){case"value":u=y;break;case"defaultValue":h=y;break;case"multiple":s=y;default:Ae(e,t,c,y,i,null)}t=u,i=h,e.multiple=!!s,t!=null?Ua(e,!!s,t,!1):i!=null&&Ua(e,!!s,i,!0);return;case"textarea":de("invalid",e),u=c=s=null;for(h in i)if(i.hasOwnProperty(h)&&(y=i[h],y!=null))switch(h){case"value":s=y;break;case"defaultValue":c=y;break;case"children":u=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(r(91));break;default:Ae(e,t,h,y,i,null)}gf(e,s,c,u);return;case"option":for(S in i)i.hasOwnProperty(S)&&(s=i[S],s!=null)&&(S==="selected"?e.selected=s&&typeof s!="function"&&typeof s!="symbol":Ae(e,t,S,s,i,null));return;case"dialog":de("beforetoggle",e),de("toggle",e),de("cancel",e),de("close",e);break;case"iframe":case"object":de("load",e);break;case"video":case"audio":for(s=0;s<yl.length;s++)de(yl[s],e);break;case"image":de("error",e),de("load",e);break;case"details":de("toggle",e);break;case"embed":case"source":case"link":de("error",e),de("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(C in i)if(i.hasOwnProperty(C)&&(s=i[C],s!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ae(e,t,C,s,i,null)}return;default:if(ur(t)){for(O in i)i.hasOwnProperty(O)&&(s=i[O],s!==void 0&&Zc(e,t,O,s,i,void 0));return}}for(y in i)i.hasOwnProperty(y)&&(s=i[y],s!=null&&Ae(e,t,y,s,i,null))}function Ub(e,t,i,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,u=null,h=null,y=null,S=null,C=null,O=null;for(R in i){var q=i[R];if(i.hasOwnProperty(R)&&q!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":S=q;default:s.hasOwnProperty(R)||Ae(e,t,R,null,s,q)}}for(var D in s){var R=s[D];if(q=i[D],s.hasOwnProperty(D)&&(R!=null||q!=null))switch(D){case"type":u=R;break;case"name":c=R;break;case"checked":C=R;break;case"defaultChecked":O=R;break;case"value":h=R;break;case"defaultValue":y=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(137,t));break;default:R!==q&&Ae(e,t,D,R,s,q)}}rr(e,h,y,S,C,O,u,c);return;case"select":R=h=y=D=null;for(u in i)if(S=i[u],i.hasOwnProperty(u)&&S!=null)switch(u){case"value":break;case"multiple":R=S;default:s.hasOwnProperty(u)||Ae(e,t,u,null,s,S)}for(c in s)if(u=s[c],S=i[c],s.hasOwnProperty(c)&&(u!=null||S!=null))switch(c){case"value":D=u;break;case"defaultValue":y=u;break;case"multiple":h=u;default:u!==S&&Ae(e,t,c,u,s,S)}t=y,i=h,s=R,D!=null?Ua(e,!!i,D,!1):!!s!=!!i&&(t!=null?Ua(e,!!i,t,!0):Ua(e,!!i,i?[]:"",!1));return;case"textarea":R=D=null;
vendor: 3,729 bytes, line 9
9for(y in i)if(c=i[y],i.hasOwnProperty(y)&&c!=null&&!s.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Ae(e,t,y,null,s,c)}for(h in s)if(c=s[h],u=i[h],s.hasOwnProperty(h)&&(c!=null||u!=null))switch(h){case"value":D=c;break;case"defaultValue":R=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(r(91));break;default:c!==u&&Ae(e,t,h,c,s,u)}pf(e,D,R);return;case"option":for(var Q in i)D=i[Q],i.hasOwnProperty(Q)&&D!=null&&!s.hasOwnProperty(Q)&&(Q==="selected"?e.selected=!1:Ae(e,t,Q,null,s,D));for(S in s)D=s[S],R=i[S],s.hasOwnProperty(S)&&D!==R&&(D!=null||R!=null)&&(S==="selected"?e.selected=D&&typeof D!="function"&&typeof D!="symbol":Ae(e,t,S,D,s,R));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ne in i)D=i[ne],i.hasOwnProperty(ne)&&D!=null&&!s.hasOwnProperty(ne)&&Ae(e,t,ne,null,s,D);for(C in s)if(D=s[C],R=i[C],s.hasOwnProperty(C)&&D!==R&&(D!=null||R!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(r(137,t));break;default:Ae(e,t,C,D,s,R)}return;default:if(ur(t)){for(var Ce in i)D=i[Ce],i.hasOwnProperty(Ce)&&D!==void 0&&!s.hasOwnProperty(Ce)&&Zc(e,t,Ce,void 0,s,D);for(O in s)D=s[O],R=i[O],!s.hasOwnProperty(O)||D===R||D===void 0&&R===void 0||Zc(e,t,O,D,s,R);return}}for(var T in i)D=i[T],i.hasOwnProperty(T)&&D!=null&&!s.hasOwnProperty(T)&&Ae(e,t,T,null,s,D);for(q in s)D=s[q],R=i[q],!s.hasOwnProperty(q)||D===R||D==null&&R==null||Ae(e,t,q,D,s,R)}function yp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Hb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var c=i[s],u=c.transferSize,h=c.initiatorType,y=c.duration;if(u&&y&&yp(h)){for(h=0,y=c.responseEnd,s+=1;s<i.length;s++){var S=i[s],C=S.startTime;if(C>y)break;var O=S.transferSize,q=S.initiatorType;O&&yp(q)&&(S=S.responseEnd,h+=O*(S<y?1:(y-C)/(S-C)))}if(--s,t+=8*(u+h)/(c.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var $c=null,Wc=null;function ro(e){return e.nodeType===9?e:e.ownerDocument}function bp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function jp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Jc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var eu=null;function qb(){var e=window.event;return e&&e.type==="popstate"?e===eu?!1:(eu=e,!0):(eu=null,!1)}var Sp=typeof setTimeout=="function"?setTimeout:void 0,Gb=typeof clearTimeout=="function"?clearTimeout:void 0,wp=typeof Promise=="function"?Promise:void 0,Yb=typeof queueMicrotask=="function"?queueMicrotask:typeof wp<"u"?function(e){return wp.resolve(null).then(e).catch(Fb)}:Sp;function Fb(e){setTimeout(function(){throw e})}function Zi(e){return e==="head"}function zp(e,t){var i=t,s=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===8)if(i=c.data,i==="/$"||i==="/&"){if(s===0){e.removeChild(c),vn(t);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")jl(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,jl(i);for(var u=i.firstChild;u;){var h=u.nextSibling,y=u.nodeName;
vendor: 7,975 bytes, line 9
9u[Un]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&u.rel.toLowerCase()==="stylesheet"||i.removeChild(u),u=h}}else i==="body"&&jl(e.ownerDocument.body);i=c}while(i);vn(t)}function Np(e,t){var i=e;e=0;do{var s=i.nextSibling;if(i.nodeType===1?t?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(t?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=s}while(i)}function tu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var i=t;switch(t=t.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":tu(i),sr(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function Pb(e,t,i,s){for(;e.nodeType===1;){var c=i;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Un])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Gt(e.nextSibling),e===null)break}return null}function Xb(e,t,i){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Gt(e.nextSibling),e===null))return null;return e}function Tp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Gt(e.nextSibling),e===null))return null;return e}function iu(e){return e.data==="$?"||e.data==="$~"}function au(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Ib(e,t){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||i.readyState!=="loading")t();else{var s=function(){t(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Gt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var nu=null;function Ep(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(t===0)return Gt(e.nextSibling);t--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||t++}e=e.nextSibling}return null}function Ap(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(t===0)return e;t--}else i!=="/$"&&i!=="/&"||t++}e=e.previousSibling}return null}function Cp(e,t,i){switch(t=ro(i),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function jl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);sr(e)}var Yt=new Map,Dp=new Set;function co(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ni=Y.d;Y.d={f:Qb,r:Kb,D:Zb,C:$b,L:Wb,m:Jb,X:t1,S:e1,M:i1};function Qb(){var e=Ni.f(),t=eo();return e||t}function Kb(e){var t=Ba(e);t!==null&&t.tag===5&&t.type==="form"?Im(t):Ni.r(e)}var pn=typeof document>"u"?null:document;function Mp(e,t,i){var s=pn;if(s&&typeof t=="string"&&t){var c=Ot(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof i=="string"&&(c+='[crossorigin="'+i+'"]'),Dp.has(c)||(Dp.add(c),e={rel:e,crossOrigin:i,href:t},s.querySelector(c)===null&&(t=s.createElement("link"),ot(t,"link",e),Je(t),s.head.appendChild(t)))}}function Zb(e){Ni.D(e),Mp("dns-prefetch",e,null)}function $b(e,t){Ni.C(e,t),Mp("preconnect",e,t)}function Wb(e,t,i){Ni.L(e,t,i);var s=pn;if(s&&e&&t){var c='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&i&&i.imageSrcSet?(c+='[imagesrcset="'+Ot(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(c+='[imagesizes="'+Ot(i.imageSizes)+'"]')):c+='[href="'+Ot(e)+'"]';var u=c;switch(t){case"style":u=gn(e);break;case"script":u=xn(e)}Yt.has(u)||(e=b({rel:"preload",href:t==="image"&&i&&i.imageSrcSet?void 0:e,as:t},i),Yt.set(u,e),s.querySelector(c)!==null||t==="style"&&s.querySelector(Sl(u))||t==="script"&&s.querySelector(wl(u))||(t=s.createElement("link"),ot(t,"link",e),Je(t),s.head.appendChild(t)))}}function Jb(e,t){Ni.m(e,t);var i=pn;if(i&&e){var s=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+Ot(s)+'"][href="'+Ot(e)+'"]',u=c;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=xn(e)}if(!Yt.has(u)&&(e=b({rel:"modulepreload",href:e},t),Yt.set(u,e),i.querySelector(c)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(wl(u)))return}s=i.createElement("link"),ot(s,"link",e),Je(s),i.head.appendChild(s)}}}function e1(e,t,i){Ni.S(e,t,i);var s=pn;if(s&&e){var c=_a(s).hoistableStyles,u=gn(e);t=t||"default";var h=c.get(u);if(!h){var y={loading:0,preload:null};if(h=s.querySelector(Sl(u)))y.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},i),(i=Yt.get(u))&&lu(e,i);var S=h=s.createElement("link");Je(S),ot(S,"link",e),S._p=new Promise(function(C,O){S.onload=C,S.onerror=O}),S.addEventListener("load",function(){y.loading|=1}),S.addEventListener("error",function(){y.loading|=2}),y.loading|=4,uo(h,t,s)}h={type:"stylesheet",instance:h,count:1,state:y},c.set(u,h)}}}function t1(e,t){Ni.X(e,t);var i=pn;if(i&&e){var s=_a(i).hoistableScripts,c=xn(e),u=s.get(c);u||(u=i.querySelector(wl(c)),u||(e=b({src:e,async:!0},t),(t=Yt.get(c))&&su(e,t),u=i.createElement("script"),Je(u),ot(u,"link",e),i.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},s.set(c,u))}}function i1(e,t){Ni.M(e,t);var i=pn;if(i&&e){var s=_a(i).hoistableScripts,c=xn(e),u=s.get(c);u||(u=i.querySelector(wl(c)),u||(e=b({src:e,async:!0,type:"module"},t),(t=Yt.get(c))&&su(e,t),u=i.createElement("script"),Je(u),ot(u,"link",e),i.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},s.set(c,u))}}function Rp(e,t,i,s){var c=(c=ce.current)?co(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(t=gn(i.href),i=_a(c).hoistableStyles,s=i.get(t),s||(s={type:"style",instance:null,count:0,state:null},i.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=gn(i.href);var u=_a(c).hoistableStyles,h=u.get(e);if(h||(c=c.ownerDocument||c,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,h),(u=c.querySelector(Sl(e)))&&!u._p&&(h.instance=u,h.state.loading=5),Yt.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Yt.set(e,i),u||a1(c,e,i,h.state))),t&&s===null)throw Error(r(528,""));return h}if(t&&s!==null)throw Error(r(529,""));return null;case"script":return t=i.async,i=i.src,typeof i=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?
vendor: 4,581 bytes, line 9
9(t=xn(i),i=_a(c).hoistableScripts,s=i.get(t),s||(s={type:"script",instance:null,count:0,state:null},i.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function gn(e){return'href="'+Ot(e)+'"'}function Sl(e){return'link[rel="stylesheet"]['+e+"]"}function kp(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function a1(e,t,i,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),ot(t,"link",i),Je(t),e.head.appendChild(t))}function xn(e){return'[src="'+Ot(e)+'"]'}function wl(e){return"script[async]"+e}function Lp(e,t,i){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Ot(i.href)+'"]');if(s)return t.instance=s,Je(s),s;var c=b({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),Je(s),ot(s,"style",c),uo(s,i.precedence,e),t.instance=s;case"stylesheet":c=gn(i.href);var u=e.querySelector(Sl(c));if(u)return t.state.loading|=4,t.instance=u,Je(u),u;s=kp(i),(c=Yt.get(c))&&lu(s,c),u=(e.ownerDocument||e).createElement("link"),Je(u);var h=u;return h._p=new Promise(function(y,S){h.onload=y,h.onerror=S}),ot(u,"link",s),t.state.loading|=4,uo(u,i.precedence,e),t.instance=u;case"script":return u=xn(i.src),(c=e.querySelector(wl(u)))?(t.instance=c,Je(c),c):(s=i,(c=Yt.get(u))&&(s=b({},i),su(s,c)),e=e.ownerDocument||e,c=e.createElement("script"),Je(c),ot(c,"link",s),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,uo(s,i.precedence,e));return t.instance}function uo(e,t,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=s.length?s[s.length-1]:null,u=c,h=0;h<s.length;h++){var y=s[h];if(y.dataset.precedence===t)u=y;else if(u!==c)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=i.nodeType===9?i.head:i,t.insertBefore(e,t.firstChild))}function lu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function su(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var fo=null;function Op(e,t,i){if(fo===null){var s=new Map,c=fo=new Map;c.set(i,s)}else c=fo,s=c.get(i),s||(s=new Map,c.set(i,s));if(s.has(e))return s;for(s.set(e,null),i=i.getElementsByTagName(e),c=0;c<i.length;c++){var u=i[c];if(!(u[Un]||u[at]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var h=u.getAttribute(t)||"";h=e+h;var y=s.get(h);y?y.push(u):s.set(h,[u])}}return s}function Bp(e,t,i){e=e.ownerDocument||e,e.head.insertBefore(i,t==="title"?e.querySelector("head > title"):null)}function n1(e,t,i){if(i===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function _p(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function l1(e,t,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var c=gn(s.href),u=t.querySelector(Sl(c));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=mo.bind(e),t.then(e,e)),i.state.loading|=4,i.instance=u,Je(u);return}u=t.ownerDocument||t,s=kp(s),(c=Yt.get(c))&&lu(s,c),u=u.createElement("link"),Je(u);var h=u;h._p=new Promise(function(y,S){h.onload=y,h.onerror=S}),ot(u,"link",s),i.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=mo.bind(e),t.addEventListener("load",i),t.addEventListener("error",i))}}var ou=0;function s1(e,t){return e.stylesheets&&e.count===0&&po(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var s=setTimeout(function(){if(e.stylesheets&&po(e,e.stylesheets),e.unsu
vendor: 10,524 bytes, line 9
9spend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&ou===0&&(ou=62500*Hb());var c=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&po(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>ou?50:800)+t);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(c)}}:null}function mo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)po(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ho=null;function po(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ho=new Map,t.forEach(o1,e),ho=null,mo.call(e))}function o1(e,t){if(!(t.state.loading&4)){var i=ho.get(e);if(i)var s=i.get(null);else{i=new Map,ho.set(e,i);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<c.length;u++){var h=c[u];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(i.set(h.dataset.precedence,h),s=h)}s&&i.set(null,s)}c=t.instance,h=c.getAttribute("data-precedence"),u=i.get(h)||s,u===s&&i.set(null,c),i.set(h,c),this.count++,s=mo.bind(this),c.addEventListener("load",s),c.addEventListener("error",s),u?u.parentNode.insertBefore(c,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=4}}var zl={$$typeof:M,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function r1(e,t,i,s,c,u,h,y,S){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ir(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ir(0),this.hiddenUpdates=ir(null),this.identifierPrefix=s,this.onUncaughtError=c,this.onCaughtError=u,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Vp(e,t,i,s,c,u,h,y,S,C,O,q){return e=new r1(e,t,i,h,S,C,O,q,y),t=1,u===!0&&(t|=24),u=Et(3,null,null,t),e.current=u,u.stateNode=e,t=Hr(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:s,isDehydrated:i,cache:t},Fr(u),e}function Up(e){return e?(e=Ia,e):Ia}function Hp(e,t,i,s,c,u){c=Up(c),s.context===null?s.context=c:s.pendingContext=c,s=Ui(t),s.payload={element:i},u=u===void 0?null:u,u!==null&&(s.callback=u),i=Hi(e,s,t),i!==null&&(St(i,e,t),il(i,e,t))}function qp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function ru(e,t){qp(e,t),(e=e.alternate)&&qp(e,t)}function Gp(e){if(e.tag===13||e.tag===31){var t=ha(e,67108864);t!==null&&St(t,e,67108864),ru(e,67108864)}}function Yp(e){if(e.tag===13||e.tag===31){var t=Rt();t=ar(t);var i=ha(e,t);i!==null&&St(i,e,t),ru(e,t)}}var go=!0;function c1(e,t,i,s){var c=_.T;_.T=null;var u=Y.p;try{Y.p=2,cu(e,t,i,s)}finally{Y.p=u,_.T=c}}function u1(e,t,i,s){var c=_.T;_.T=null;var u=Y.p;try{Y.p=8,cu(e,t,i,s)}finally{Y.p=u,_.T=c}}function cu(e,t,i,s){if(go){var c=uu(s);if(c===null)Kc(e,t,s,xo,i),Pp(e,s);else if(f1(c,e,t,i,s))s.stopPropagation();else if(Pp(e,s),t&4&&-1<d1.indexOf(e)){for(;c!==null;){var u=Ba(c);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var h=ca(u.pendingLanes);if(h!==0){var y=u;for(y.pendingLanes|=2,y.entangledLanes|=2;h;){var S=1<<31-Nt(h);y.entanglements[1]|=S,h&=~S}ni(u),(je&6)===0&&(Ws=wt()+500,vl(0))}}break;case 31:case 13:y=ha(u,2),y!==null&&St(y,u,2),eo(),ru(u,2)}if(u=uu(s),u===null&&Kc(e,t,s,xo,i),u===c)break;c=u}c!==null&&s.stopPropagation()}else Kc(e,t,s,null,i)}}function uu(e){return e=fr(e),du(e)}var xo=null;function du(e){if(xo=null,e=Oa(e),e!==null){var t=f(e);if(t===null)e=null;else{var i=t.tag;if(i===13){if(e=m(t),e!==null)return e;e=null}else if(i===31){if(e=p(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xo=e,null}function Fp(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Zv()){case $d:return 2;case Wd:return 8;case ls:case $v:return 32;case Jd:return 268435456;default:return 32}default:return 32}}var fu=!1,$i=null,Wi=null,Ji=null,Nl=new Map,Tl=new Map,ea=[],d1="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".split(" ");function Pp(e,t){switch(e){case"focusin":case"focusout":$i=null;break;case"dragenter":case"dragleave":Wi=null;break;case"mouseover":case"mouseout":Ji=null;break;case"pointerover":case"pointerout":Nl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tl.delete(t.pointerId)}}function El(e,t,i,s,c,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:i,eventSystemFlags:s,nativeEvent:u,targetContainers:[c]},t!==null&&(t=Ba(t),t!==null&&Gp(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function f1(e,t,i,s,c){switch(t){case"focusin":return $i=El($i,e,t,i,s,c),!0;case"dragenter":return Wi=El(Wi,e,t,i,s,c),!0;case"mouseover":return Ji=El(Ji,e,t,i,s,c),!0;case"pointerover":var u=c.pointerId;return Nl.set(u,El(Nl.get(u)||null,e,t,i,s,c)),!0;case"gotpointercapture":return u=c.pointerId,Tl.set(u,El(Tl.get(u)||null,e,t,i,s,c)),!0}return!1}function Xp(e){var t=Oa(e.target);if(t!==null){var i=f(t);if(i!==null){if(t=i.tag,t===13){if(t=m(i),t!==null){e.blockedOn=t,sf(e.priority,function(){Yp(i)});return}}else if(t===31){if(t=p(i),t!==null){e.blockedOn=t,sf(e.priority,function(){Yp(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=uu(e.nativeEvent);if(i===null){i=e.nativeEvent;var s=new i.constructor(i.type,i);dr=s,i.target.dispatchEvent(s),dr=null}else return t=Ba(i),t!==null&&Gp(t),e.blockedOn=i,!1;t.shift()}return!0}function Ip(e,t,i){vo(e)&&i.delete(t)}function m1(){fu=!1,$i!==null&&vo($i)&&($i=null),Wi!==null&&vo(Wi)&&(Wi=null),Ji!==null&&vo(Ji)&&(Ji=null),Nl.forEach(Ip),Tl.forEach(Ip)}function yo(e,t){e.blockedOn===t&&(e.blockedOn=null,fu||(fu=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,m1)))}var bo=null;function Qp(e){bo!==e&&(bo=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){bo===e&&(bo=null);for(var t=0;t<e.length;t+=3){var i=e[t],s=e[t+1],c=e[t+2];if(typeof s!="function"){if(du(s||i)===null)continue;break}var u=Ba(i);u!==null&&(e.splice(t,3),t-=3,uc(u,{pending:!0,data:c,method:i.method,action:s},s,c))}}))}function vn(e){function t(S){return yo(S,e)}$i!==null&&yo($i,e),Wi!==null&&yo(Wi,e),Ji!==null&&yo(Ji,e),Nl.forEach(t),Tl.forEach(t);for(var i=0;i<ea.length;i++){var s=ea[i];s.blockedOn===e&&(s.blockedOn=null)}for(;0<ea.length&&(i=ea[0],i.blockedOn===null);)Xp(i),i.blockedOn===null&&ea.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var c=i[s],u=i[s+1],h=c[gt]||null;if(typeof u=="function")h||Qp(i);else if(h){var y=null;if(u&&u.hasAttribute("formAction")){if(c=u,h=u[gt]||null)y=h.formAction;else if(du(c)!==null)continue}else y=h.action;typeof y=="function"?i[s+1]=y:(i.splice(s,3),s-=3),Qp(i)}}}function Kp(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(h){return c=h})},focusReset:"manual",scroll:"manual"})}function t(){c!==null&&(c(),c=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,c=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),c!==null&&(c(),c=null)}}}function mu(e){this._internalRoot=e}jo.prototype.render=mu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var i=t.current,s=Rt();Hp(i,s,e,t,null,null)},jo.prototype.unmount=mu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Hp(e.current,2,null,e,null,null),eo(),t[La]=null}};function jo(e){this._internalRoot=e}jo.prototype.unstable_scheduleHydration=function(e){if(e){var t=lf();e={blockedOn:null,target:e,priority:t};for(var i=0;i<ea.length&&t!==0&&t<ea[i].priority;i++);ea.splice(i,0,e),i===0&&Xp(e)}};var Zp=l.version;if(Zp!=="19.2.3")throw Error(r(527,Zp,"19.2.3"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=x(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var h1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.3"};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var So=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!So.isDisabled&&So.supportsFiber)try{Bn=So.inject(h1),zt=So}catch{}}return Cl.createRoot=function(e,t){if(!d(e))throw Error(r(299));var i=!1,s="",c=ah,u=nh,h=lh;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError)),t=Vp(e,1,!1,null,null,i,s,null,c,u,h,Kp),e[La]=t.current,Qc(e),new mu(t)},Cl.hydrateRoot=function(e,t,i){if(!d(e))throw Error(r(299));var s=!1,c="",u=ah,h=nh,y=lh,S=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(u=i.onUncaughtError),i.onCaughtError!==void 0&&(h=i.onCaughtError),i.onRecoverableError!==void 0&&(y=i.onRecoverableError),i.formState!==void 0&&(S=i.formState)),t=Vp(e,1,!0,t,i??null,s,c,S,u,h,y,Kp),t.context=Up(null),i=t.current,s=Rt(),s=ar(s),c=Ui(s),c.callback=null,Hi(i,c,s),i=s,t.current.lanes=i,Vn(t,i),ni(t),e[La]=t.current,Qc(e),new jo(t)},Cl.version="19.2.3",Cl}var sg;function z1(){if(sg)return gu.exports;sg=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),gu.exports=w1(),gu.exports}var N1=z1();var og="popstate";function T1(a={}){function l(r,d){let{pathname:f,search:m,hash:p}=r.location;return Yu("",{pathname:f,search:m,hash:p},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function o(r,d){return typeof d=="string"?d:Fl(d)}return A1(l,o,null,a)}function Ue(a,l){if(a===!1||a===null||typeof a>"u")throw new Error(l)}function ei(a,l){if(!a){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function E1(){return Math.random().toString(36).substring(2,10)}function rg(a,l){return{usr:a.state,key:a.key,idx:l}}function Yu(a,l,o=null,r){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof l=="string"?Dn(l):l,state:o,key:l&&l.key||r||E1()}}function Fl({pathname:a="/",search:l="",hash:o=""}){return l&&l!=="?"&&(a+=l.charAt(0)==="?"?l:"?"+l),o&&o!=="#"&&(a+=o.charAt(0)==="#"?o:"#"+o),a}function Dn(a){let l={};if(a){let o=a.indexOf("#");o>=0&&(l.hash=a.substring(o),a=a.substring(0,o));let r=a.indexOf("?");r>=0&&(l.search=a.substring(r),a=a.substring(0,r)),a&&(l.pathname=a)}return l}function A1(a,l,o,r={}){let{window:d=document.defaultView,v5Compat:f=!1}=r,m=d.history,p="POP",g=null,x=v();x==null&&(x=0,m.replaceState({...m.state,idx:x},""));function v(){return(m.state||{idx:null}).idx}function b(){p="POP";let B=v(),V=B==null?null:B-x;x=B,g&&g({action:p,location:L.location,delta:V})}function j(B,V){p="PUSH";let U=Yu(L.location,B,V);x=v()+1;let M=rg(U,x),F=L.createHref(U);try{m.pushState(M,"",F)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;d.location.assign(F)}f&&g&&g({action:p,location:L.location,delta:1})}function E(B,V){p="REPLACE";let U=Yu(L.location,B,V);x=v();let M=rg(U,x),F=L.createHref(U);m.replaceState(M,"",F),f&&g&&g({action:p,location:L.location,delta:0})}function k(B){return C1(B)}let L={get action(){return p},get location(){return a(d,m)},listen(B){if(g)throw new Error("A history only accepts one active listener");return d.addEventListener(og,b),g=B,()=>{d.removeEventListener(og,b),g=null}},createHref(B){return l(d,B)},createURL:k,encodeLocation(B){let V=k(B);return{pathname:V.pathname,search:V.search,hash:V.hash}},push:j,replace:E,go(B){return m.go(B)}};return L}function C1(a,l=!1){let o="http://localhost";
9typeof window<"u"&&(o=window.location.origin!=="null"?window.location.origin:window.location.href),Ue(o,"No window.location.(origin|href) available to create URL");let r=typeof a=="string"?a:Fl(a);return r=r.replace(/ $/,"%20"),!l&&r.startsWith("//")&&(r=o+r),new URL(r,o)}function k0(a,l,o="/"){return D1(a,l,o,!1)}function D1(a,l,o,r){let d=typeof l=="string"?Dn(l):l,f=Ai(d.pathname||"/",o);if(f==null)return null;let m=L0(a);M1(m);let p=null;for(let g=0;p==null&&g<m.length;++g){let x=G1(f);p=H1(m[g],x,r)}return p}function L0(a,l=[],o=[],r="",d=!1){let f=(m,p,g=d,x)=>{let v={relativePath:x===void 0?m.path||"":x,caseSensitive:m.caseSensitive===!0,childrenIndex:p,route:m};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(r)&&g)return;Ue(v.relativePath.startsWith(r),`Absolute route path "${v.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(r.length)}let b=Ti([r,v.relativePath]),j=o.concat(v);m.children&&m.children.length>0&&(Ue(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),L0(m.children,l,j,b,g)),!(m.path==null&&!m.index)&&l.push({path:b,score:V1(b,m.index),routesMeta:j})};return a.forEach((m,p)=>{if(m.path===""||!m.path?.includes("?"))f(m,p);else for(let g of O0(m.path))f(m,p,!0,g)}),l}function O0(a){let l=a.split("/");if(l.length===0)return[];let[o,...r]=l,d=o.endsWith("?"),f=o.replace(/\?$/,"");if(r.length===0)return d?[f,""]:[f];let m=O0(r.join("/")),p=[];return p.push(...m.map(g=>g===""?f:[f,g].join("/"))),d&&p.push(...m),p.map(g=>a.startsWith("/")&&g===""?"/":g)}function M1(a){a.sort((l,o)=>l.score!==o.score?o.score-l.score:U1(l.routesMeta.map(r=>r.childrenIndex),o.routesMeta.map(r=>r.childrenIndex)))}var R1=/^:[\w-]+$/,k1=3,L1=2,O1=1,B1=10,_1=-2,cg=a=>a==="*";function V1(a,l){let o=a.split("/"),r=o.length;return o.some(cg)&&(r+=_1),l&&(r+=L1),o.filter(d=>!cg(d)).reduce((d,f)=>d+(R1.test(f)?k1:f===""?O1:B1),r)}function U1(a,l){return a.length===l.length&&a.slice(0,-1).every((r,d)=>r===l[d])?a[a.length-1]-l[l.length-1]:0}function H1(a,l,o=!1){let{routesMeta:r}=a,d={},f="/",m=[];for(let p=0;p<r.length;++p){let g=r[p],x=p===r.length-1,v=f==="/"?l:l.slice(f.length)||"/",b=_o({path:g.relativePath,caseSensitive:g.caseSensitive,end:x},v),j=g.route;if(!b&&x&&o&&!r[r.length-1].route.index&&(b=_o({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},v)),!b)return null;
9Object.assign(d,b.params),m.push({params:d,pathname:Ti([f,b.pathname]),pathnameBase:X1(Ti([f,b.pathnameBase])),route:j}),b.pathnameBase!=="/"&&(f=Ti([f,b.pathnameBase]))}return m}function _o(a,l){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[o,r]=q1(a.path,a.caseSensitive,a.end),d=l.match(o);if(!d)return null;let f=d[0],m=f.replace(/(.)\/+$/,"$1"),p=d.slice(1);return{params:r.reduce((x,{paramName:v,isOptional:b},j)=>{if(v==="*"){let k=p[j]||"";m=f.slice(0,f.length-k.length).replace(/(.)\/+$/,"$1")}const E=p[j];return b&&!E?x[v]=void 0:x[v]=(E||"").replace(/%2F/g,"/"),x},{}),pathname:f,pathnameBase:m,pattern:a}}function q1(a,l=!1,o=!0){ei(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let r=[],d="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,p,g)=>(r.push({paramName:p,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return a.endsWith("*")?(r.push({paramName:"*"}),d+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?d+="\\/*$":a!==""&&a!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,l?void 0:"i"),r]}function G1(a){try{return a.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return ei(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),a}}function Ai(a,l){if(l==="/")return a;
9if(!a.toLowerCase().startsWith(l.toLowerCase()))return null;let o=l.endsWith("/")?l.length-1:l.length,r=a.charAt(o);return r&&r!=="/"?null:a.slice(o)||"/"}var B0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Y1=a=>B0.test(a);function F1(a,l="/"){let{pathname:o,search:r="",hash:d=""}=typeof a=="string"?Dn(a):a,f;if(o)if(Y1(o))f=o;else{if(o.includes("//")){let m=o;o=o.replace(/\/\/+/g,"/"),ei(!1,`Pathnames cannot have embedded double slashes - normalizing ${m} -> ${o}`)}o.startsWith("/")?f=ug(o.substring(1),"/"):f=ug(o,l)}else f=l;return{pathname:f,search:I1(r),hash:Q1(d)}}function ug(a,l){let o=l.replace(/\/+$/,"").split("/");return a.split("/").forEach(d=>{d===".."?o.length>1&&o.pop():d!=="."&&o.push(d)}),o.length>1?o.join("/"):"/"}function bu(a,l,o,r){return`Cannot include a '${a}' character in a manually specified \`to.${l}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function P1(a){return a.filter((l,o)=>o===0||l.route.path&&l.route.path.length>0)}function _0(a){let l=P1(a);return l.map((o,r)=>r===l.length-1?o.pathname:o.pathnameBase)}function V0(a,l,o,r=!1){let d;typeof a=="string"?d=Dn(a):(d={...a},Ue(!d.pathname||!d.pathname.includes("?"),bu("?","pathname","search",d)),Ue(!d.pathname||!d.pathname.includes("#"),bu("#","pathname","hash",d)),Ue(!d.search||!d.search.includes("#"),bu("#","search","hash",d)));let f=a===""||d.pathname==="",m=f?"/":d.pathname,p;if(m==null)p=o;else{let b=l.length-1;if(!r&&m.startsWith("..")){let j=m.split("/");for(;j[0]==="..";)j.shift(),b-=1;d.pathname=j.join("/")}p=b>=0?l[b]:"/"}let g=F1(d,p),x=m&&m!=="/"&&m.endsWith("/"),v=(f||m===".")&&o.endsWith("/");return!g.pathname.endsWith("/")&&(x||v)&&(g.pathname+="/"),g}var Ti=a=>a.join("/").replace(/\/\/+/g,"/"),X1=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),I1=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,Q1=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,K1=class{constructor(a,l,o,r=!1){this.status=a,this.statusText=l||"",this.internal=r,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function Z1(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function $1(a){return a.map(l=>l.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var U0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function H0(a,l){let o=a;if(typeof o!="string"||!B0.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let r=o,d=!1;if(U0)try{let f=new URL(window.location.href),m=o.startsWith("//")?new URL(f.protocol+o):new URL(o),p=Ai(m.pathname,l);m.origin===f.origin&&p!=null?o=p+m.search+m.hash:d=!0}catch{ei(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:d,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var q0=["POST","PUT","PATCH","DELETE"];new Set(q0);var W1=["GET",...q0];new Set(W1);var Mn=w.createContext(null);Mn.displayName="DataRouter";var Po=w.createContext(null);Po.displayName="DataRouterState";var J1=w.createContext(!1),G0=w.createContext({isTransitioning:!1});G0.displayName="ViewTransition";var e2=w.createContext(new Map);e2.displayName="Fetchers";var t2=w.createContext(null);t2.displayName="Await";var Qt=w.createContext(null);Qt.displayName="Navigation";var Zl=w.createContext(null);Zl.displayName="Location";var Di=w.createContext({outlet:null,matches:[],isDataRoute:!1});Di.displayName="Route";var hd=w.createContext(null);hd.displayName="RouteError";var Y0="REACT_ROUTER_ERROR",i2="REDIRECT",a2="ROUTE_ERROR_RESPONSE";function n2(a){if(a.startsWith(`${Y0}:${i2}:{`))try{let l=JSON.parse(a.slice(28));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.location=="string"&&typeof l.reloadDocument=="boolean"&&typeof l.replace=="boolean")return l}catch{}}function l2(a){if(a.startsWith(`${Y0}:${a2}:{`))try{let l=JSON.parse(a.slice(40));if(typeof l=="object"&&l&&typeof l.status=="number"&&typeof l.statusText=="string")return new K1(l.status,l.statusText,l.data)}catch{}}function s2(a,{relative:l}={}){Ue($l(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:r}=w.useContext(Qt),{hash:d,pathname:f,search:m}=Jl(a,{relative:l}),p=f;return o!=="/"&&(p=f==="/"?o:Ti([o,f])),r.createHref({pathname:p,search:m,hash:d})}function $l(){return w.useContext(Zl)!=null}function ka(){return Ue($l(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(Zl).location}var F0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function P0(a){w.useContext(Qt).static||w.useLayoutEffect(a)}function Wl(){let{isDataRoute:a}=w.useContext(Di);return a?y2():o2()}function o2(){Ue($l(),"useNavigate() may be used only in the context of a <Router> component.");let a=w.useContext(Mn),{basename:l,navigator:o}=w.useContext(Qt),{matches:r}=w.useContext(Di),{pathname:d}=ka(),f=JSON.stringify(_0(r)),m=w.useRef(!1);return P0(()=>{m.current=!0}),w.useCallback((g,x={})=>
9{if(ei(m.current,F0),!m.current)return;if(typeof g=="number"){o.go(g);return}let v=V0(g,JSON.parse(f),d,x.relative==="path");a==null&&l!=="/"&&(v.pathname=v.pathname==="/"?l:Ti([l,v.pathname])),(x.replace?o.replace:o.push)(v,x.state,x)},[l,o,f,d,a])}w.createContext(null);function Jl(a,{relative:l}={}){let{matches:o}=w.useContext(Di),{pathname:r}=ka(),d=JSON.stringify(_0(o));return w.useMemo(()=>V0(a,JSON.parse(d),r,l==="path"),[a,d,r,l])}function r2(a,l){return X0(a,l)}function X0(a,l,o,r,d){Ue($l(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=w.useContext(Qt),{matches:m}=w.useContext(Di),p=m[m.length-1],g=p?p.params:{},x=p?p.pathname:"/",v=p?p.pathnameBase:"/",b=p&&p.route;{let U=b&&b.path||"";Q0(x,!b||U.endsWith("*")||U.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${U}">) 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.
10
11Please change the parent <Route path="${U}"> to <Route path="${U==="/"?"*":`${U}/*`}">.`)}let j=ka(),E;if(l){let U=typeof l=="string"?Dn(l):l;Ue(v==="/"||U.pathname?.startsWith(v),`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 "${v}" but pathname "${U.pathname}" was given in the \`location\` prop.`),E=U}else E=j;let k=E.pathname||"/",L=k;if(v!=="/"){let U=v.replace(/^\//,"").split("/");L="/"+k.replace(/^\//,"").split("/").slice(U.length).join("/")}let B=k0(a,{pathname:L});ei(b||B!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),ei(B==null||B[B.length-1].route.element!==void 0||B[B.length-1].route.Component!==void 0||B[B.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.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 V=m2(B&&B.map(U=>Object.assign({},U,{params:Object.assign({},g,U.params),pathname:Ti([v,f.encodeLocation?f.encodeLocation(U.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?v:Ti([v,f.encodeLocation?f.encodeLocation(U.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathnameBase])})),m,o,r,d);return l&&V?w.createElement(Zl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...E},navigationType:"POP"}},V):V}function c2(){let a=v2(),l=Z1(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),o=a instanceof Error?a.stack:null,r="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:r},f={padding:"2px 4px",backgroundColor:r},m=null;return console.error("Error handled by React Router default ErrorBoundary:",a),m=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:f},"ErrorBoundary")," or"," ",w.createElement("code",{style:f},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},l),o?w.createElement("pre",{style:d},o):null,m)}var u2=w.createElement(c2,null),I0=class extends w.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,l){return l.location!==a.location||l.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:l.error,location:l.location,revalidation:a.revalidation||l.revalidation}}componentDidCatch(a,l){this.props.onError?this.props.onError(a,l):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const o=l2(a.digest);o&&(a=o)}let l=a!==void 0?w.createElement(Di.Provider,{value:this.props.routeContext},w.createElement(hd.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?w.createElement(d2,{error:a},l):l}};I0.contextType=J1;var ju=new WeakMap;function d2({children:a,error:l}){let{basename:o}=w.useContext(Qt);if(typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){let r=n2(l.digest);if(r){let d=ju.get(l);if(d)throw d;let f=H0(r.location,o);if(U0&&!ju.get(l))if(f.isExternal||r.reloadDocument)window.location.href=f.absoluteURL||f.to;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:r.replace}));throw ju.set(l,m),m}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f.absoluteURL||f.to}`})}}return a}function f2({routeContext:a,match:l,children:o}){let r=w.useContext(Mn);return r&&r.static&&r.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=l.route.id),w.createElement(Di.Provider,{value:a},o)}function m2(a,l=[],o=null,r=null,d=null){if(a==null){if(!o)return null;if(o.errors)a=o.matches;else if(l.length===0&&!o.initialized&&o.matches.length>0)a=o.matches;else return null}let f=a,m=o?.errors;if(m!=null){let v=f.findIndex(b=>b.route.id&&m?.[b.route.id]!==void 0);Ue(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,v+1))}let p=!1,g=-1;if(o)for(let v=0;v<f.length;v++){let b=f[v];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(g=v),b.route.id){let{loaderData:j,errors:E}
11=o,k=b.route.loader&&!j.hasOwnProperty(b.route.id)&&(!E||E[b.route.id]===void 0);if(b.route.lazy||k){p=!0,g>=0?f=f.slice(0,g+1):f=[f[0]];break}}}let x=o&&r?(v,b)=>{r(v,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:$1(o.matches),errorInfo:b})}:void 0;return f.reduceRight((v,b,j)=>{let E,k=!1,L=null,B=null;o&&(E=m&&b.route.id?m[b.route.id]:void 0,L=b.route.errorElement||u2,p&&(g<0&&j===0?(Q0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),k=!0,B=null):g===j&&(k=!0,B=b.route.hydrateFallbackElement||null)));let V=l.concat(f.slice(0,j+1)),U=()=>{let M;return E?M=L:k?M=B:b.route.Component?M=w.createElement(b.route.Component,null):b.route.element?M=b.route.element:M=v,w.createElement(f2,{match:b,routeContext:{outlet:v,matches:V,isDataRoute:o!=null},children:M})};return o&&(b.route.ErrorBoundary||b.route.errorElement||j===0)?w.createElement(I0,{location:o.location,revalidation:o.revalidation,component:L,error:E,children:U(),routeContext:{outlet:null,matches:V,isDataRoute:!0},onError:x}):U()},null)}function pd(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function h2(a){let l=w.useContext(Mn);return Ue(l,pd(a)),l}function p2(a){let l=w.useContext(Po);return Ue(l,pd(a)),l}function g2(a){let l=w.useContext(Di);return Ue(l,pd(a)),l}function gd(a){let l=g2(a),o=l.matches[l.matches.length-1];return Ue(o.route.id,`${a} can only be used on routes that contain a unique "id"`),o.route.id}function x2(){return gd("useRouteId")}function v2(){let a=w.useContext(hd),l=p2("useRouteError"),o=gd("useRouteError");return a!==void 0?a:l.errors?.[o]}function y2(){let{router:a}=h2("useNavigate"),l=gd("useNavigate"),o=w.useRef(!1);return P0(()=>{o.current=!0}),w.useCallback(async(d,f={})=>{ei(o.current,F0),o.current&&(typeof d=="number"?await a.navigate(d):await a.navigate(d,{fromRouteId:l,...f}))},[a,l])}var dg={};function Q0(a,l,o){!l&&!dg[a]&&(dg[a]=!0,ei(!1,o))}w.memo(b2);function b2({routes:a,future:l,state:o,onError:r}){return X0(a,void 0,o,r,l)}function Me(a){Ue(!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 j2({basename:a="/",children:l=null,location:o,navigationType:r="POP",navigator:d,static:f=!1,unstable_useTransitions:m}){Ue(!$l(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=a.replace(/^\/*/,"/"),g=w.useMemo(()=>({basename:p,navigator:d,static:f,unstable_useTransitions:m,future:{}}),[p,d,f,m]);typeof o=="string"&&(o=Dn(o));let{pathname:x="/",search:v="",hash:b="",state:j=null,key:E="default"}=o,k=w.useMemo(()=>{let L=Ai(x,p);return L==null?null:{location:{pathname:L,search:v,hash:b,state:j,key:E},navigationType:r}},[p,x,v,b,j,E,r]);return ei(k!=null,`<Router basename="${p}"> is not able to match the URL "${x}${v}${b}" because it does not start with the basename, so the <Router> won't render anything.`),k==null?null:w.createElement(Qt.Provider,{value:g},w.createElement(Zl.Provider,{children:l,value:k}))}function S2({children:a,location:l}){return r2(Fu(a),l)}function Fu(a,l=[]){let o=[];return w.Children.forEach(a,(r,d)=>{if(!w.isValidElement(r))return;let f=[...l,d];if(r.type===w.Fragment){o.push.apply(o,Fu(r.props.children,f));return}Ue(r.type===Me,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ue(!r.props.index||!r.props.children,"An index route cannot have child routes.");let m={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,
11shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(m.children=Fu(r.props.children,f)),o.push(m)}),o}var Do="get",Mo="application/x-www-form-urlencoded";function Xo(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function w2(a){return Xo(a)&&a.tagName.toLowerCase()==="button"}function z2(a){return Xo(a)&&a.tagName.toLowerCase()==="form"}function N2(a){return Xo(a)&&a.tagName.toLowerCase()==="input"}function T2(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function E2(a,l){return a.button===0&&(!l||l==="_self")&&!T2(a)}var wo=null;function A2(){if(wo===null)try{new FormData(document.createElement("form"),0),wo=!1}catch{wo=!0}return wo}var C2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Su(a){return a!=null&&!C2.has(a)?(ei(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Mo}"`),null):a}function D2(a,l){let o,r,d,f,m;if(z2(a)){let p=a.getAttribute("action");r=p?Ai(p,l):null,o=a.getAttribute("method")||Do,d=Su(a.getAttribute("enctype"))||Mo,f=new FormData(a)}else if(w2(a)||N2(a)&&(a.type==="submit"||a.type==="image")){let p=a.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=a.getAttribute("formaction")||p.getAttribute("action");if(r=g?Ai(g,l):null,o=a.getAttribute("formmethod")||p.getAttribute("method")||Do,d=Su(a.getAttribute("formenctype"))||Su(p.getAttribute("enctype"))||Mo,f=new FormData(p,a),!A2()){let{name:x,type:v,value:b}=a;if(v==="image"){let j=x?`${x}.`:"";f.append(`${j}x`,"0"),f.append(`${j}y`,"0")}else x&&f.append(x,b)}}else{if(Xo(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=Do,r=null,d=Mo,m=a}return f&&d==="text/plain"&&(m=f,f=void 0),{action:r,method:o.toLowerCase(),encType:d,formData:f,body:m}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function xd(a,l){if(a===!1||a===null||typeof a>"u")throw new Error(l)}function M2(a,l,o,r){let d=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return o?d.pathname.endsWith("/")?d.pathname=`${d.pathname}_.${r}`:d.pathname=`${d.pathname}.${r}`:d.pathname==="/"?d.pathname=`_root.${r}`:l&&Ai(d.pathname,l)==="/"?d.pathname=`${l.replace(/\/$/,"")}/_root.${r}`:d.pathname=`${d.pathname.replace(/\/$/,"")}.${r}`,d}async function R2(a,l){if(a.id in l)return l[a.id];try{let o=await import(a.module);return l[a.id]=o,o}catch(o){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function k2(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function L2(a,l,o){let r=await Promise.all(a.map(async d=>{let f=l.routes[d.route.id];if(f){let m=await R2(f,o);return m.links?m.links():[]}return[]}));return V2(r.flat(1).filter(k2).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function fg(a,l,o,r,d,f){let m=(g,x)=>o[x]?g.route.id!==o[x].route.id:!0,p=(g,x)=>o[x].pathname!==g.pathname||o[x].route.path?.endsWith("*")&&o[x].params["*"]!==g.params["*"];return f==="assets"?l.filter((g,x)=>m(g,x)||p(g,x)):f==="data"?l.filter((g,x)=>{let v=r.routes[g.route.id];if(!v||!v.hasLoader)return!1;if(m(g,x)||p(g,x))return!0;if(g.route.shouldRevalidate){let b=g.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:o[0]?.params||{},nextUrl:new URL(a,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function O2(a,l,{includeHydrateFallback:o}={}){return B2(a.map(r=>{let d=l.routes[r.route.id];if(!d)return[];let f=[d.module];return d.clientActionModule&&(f=f.concat(d.clientActionModule)),d.clientLoaderModule&&(f=f.concat(d.clientLoaderModule)),o&&d.hydrateFallbackModule&&(f=f.concat(d.hydrateFallbackModule)),d.imports&&(f=f.concat(d.imports)),f}).flat(1))}
11function B2(a){return[...new Set(a)]}function _2(a){let l={},o=Object.keys(a).sort();for(let r of o)l[r]=a[r];return l}function V2(a,l){let o=new Set;return new Set(l),a.reduce((r,d)=>{let f=JSON.stringify(_2(d));return o.has(f)||(o.add(f),r.push({key:f,link:d})),r},[])}function K0(){let a=w.useContext(Mn);return xd(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function U2(){let a=w.useContext(Po);return xd(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var vd=w.createContext(void 0);vd.displayName="FrameworkContext";function Z0(){let a=w.useContext(vd);return xd(a,"You must render this element inside a <HydratedRouter> element"),a}function H2(a,l){let o=w.useContext(vd),[r,d]=w.useState(!1),[f,m]=w.useState(!1),{onFocus:p,onBlur:g,onMouseEnter:x,onMouseLeave:v,onTouchStart:b}=l,j=w.useRef(null);w.useEffect(()=>{if(a==="render"&&m(!0),a==="viewport"){let L=V=>{V.forEach(U=>{m(U.isIntersecting)})},B=new IntersectionObserver(L,{threshold:.5});return j.current&&B.observe(j.current),()=>{B.disconnect()}}},[a]),w.useEffect(()=>{if(r){let L=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(L)}}},[r]);let E=()=>{d(!0)},k=()=>{d(!1),m(!1)};return o?a!=="intent"?[f,j,{}]:[f,j,{onFocus:Dl(p,E),onBlur:Dl(g,k),onMouseEnter:Dl(x,E),onMouseLeave:Dl(v,k),onTouchStart:Dl(b,E)}]:[!1,j,{}]}function Dl(a,l){return o=>{a&&a(o),o.defaultPrevented||l(o)}}function q2({page:a,...l}){let{router:o}=K0(),r=w.useMemo(()=>k0(o.routes,a,o.basename),[o.routes,a,o.basename]);return r?w.createElement(Y2,{page:a,matches:r,...l}):null}function G2(a){let{manifest:l,routeModules:o}
11=Z0(),[r,d]=w.useState([]);return w.useEffect(()=>{let f=!1;return L2(a,l,o).then(m=>{f||d(m)}),()=>{f=!0}},[a,l,o]),r}function Y2({page:a,matches:l,...o}){let r=ka(),{future:d,manifest:f,routeModules:m}=Z0(),{basename:p}=K0(),{loaderData:g,matches:x}=U2(),v=w.useMemo(()=>fg(a,l,x,f,r,"data"),[a,l,x,f,r]),b=w.useMemo(()=>fg(a,l,x,f,r,"assets"),[a,l,x,f,r]),j=w.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let L=new Set,B=!1;if(l.forEach(U=>{let M=f.routes[U.route.id];!M||!M.hasLoader||(!v.some(F=>F.route.id===U.route.id)&&U.route.id in g&&m[U.route.id]?.shouldRevalidate||M.hasClientLoader?B=!0:L.add(U.route.id))}),L.size===0)return[];let V=M2(a,p,d.unstable_trailingSlashAwareDataRequests,"data");return B&&L.size>0&&V.searchParams.set("_routes",l.filter(U=>L.has(U.route.id)).map(U=>U.route.id).join(",")),[V.pathname+V.search]},[p,d.unstable_trailingSlashAwareDataRequests,g,r,f,v,l,a,m]),E=w.useMemo(()=>O2(b,f),[b,f]),k=G2(b);return w.createElement(w.Fragment,null,j.map(L=>w.createElement("link",{key:L,rel:"prefetch",as:"fetch",href:L,...o})),E.map(L=>w.createElement("link",{key:L,rel:"modulepreload",href:L,...o})),k.map(({key:L,link:B})=>w.createElement("link",{key:L,nonce:o.nonce,...B})))}function F2(...a){return l=>{a.forEach(o=>{typeof o=="function"?o(l):o!=null&&(o.current=l)})}}var P2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{P2&&(window.__reactRouterVersion="7.12.0")}catch{}function X2({basename:a,children:l,unstable_useTransitions:o,window:r}){let d=w.useRef();d.current==null&&(d.current=T1({window:r,v5Compat:!0}));let f=d.current,[m,p]=w.useState({action:f.action,location:f.location}),g=w.useCallback(x=>{o===!1?p(x):w.startTransition(()=>p(x))},[o]);return w.useLayoutEffect(()=>f.listen(g),[f,g]),w.createElement(j2,{basename:a,children:l,location:m.location,navigationType:m.action,navigator:f,unstable_useTransitions:o})}var $0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xt=w.forwardRef(function({onClick:l,discover:o="render",prefetch:r="none",relative:d,reloadDocument:f,replace:m,state:p,target:g,to:x,preventScrollReset:v,viewTransition:b,unstable_defaultShouldRevalidate:j,...E},k){let{basename:L,unstable_useTransitions:B}=w.useContext(Qt),V=typeof x=="string"&&$0.test(x),U=H0(x,L);x=U.to;let M=s2(x,{relative:d}),[F,P,ae]=H2(r,E),Z=Z2(x,{replace:m,state:p,target:g,preventScrollReset:v,relative:d,viewTransition:b,unstable_defaultShouldRevalidate:j,unstable_useTransitions:B});function ee(Re){l&&l(Re),Re.defaultPrevented||Z(Re)}let xe=w.createElement("a",{...E,...ae,href:U.absoluteURL||M,onClick:U.isExternal||f?l:ee,ref:F2(k,P),target:g,"data-discover":!V&&o==="render"?"true":void 0});return F&&!V?w.createElement(w.Fragment,null,xe,w.createElement(q2,{page:M})):xe});Xt.displayName="Link";var I2=w.forwardRef(function({"aria-current":l="page",caseSensitive:o=!1,className:r="",end:d=!1,style:f,to:m,viewTransition:p,children:g,...x},v){let b=Jl(m,{relative:x.relative}),j=ka(),E=w.useContext(Po),{navigator:k,basename:L}=w.useContext(Qt),B=E!=null&&tj(b)&&p===!0,V=k.encodeLocation?k.encodeLocation(b).pathname:b.pathname,U=j.pathname,M=E&&E.navigation&&E.navigation.location?E.navigation.location.pathname:null;o||(U=U.toLowerCase(),M=M?M.toLowerCase():null,V=V.toLowerCase()),M&&L&&(M=Ai(M,L)||M);const F=V!=="/"&&V.endsWith("/")?V.length-1:V.length;let P=U===V||!d&&U.startsWith(V)&&U.charAt(F)==="/",ae=M!=null&&(M===V||!d&&M.startsWith(V)&&M.charAt(V.length)==="/"),Z={isActive:P,isPending:ae,isTransitioning:B},ee=P?l:void 0,xe;typeof r=="function"?xe=r(Z):xe=[r,P?"active":null,ae?"pending":null,B?"transitioning":null].filter(Boolean).join(" ");let Re=typeof f=="function"?f(Z):f;return w.createElement(Xt,{...x,"aria-current":ee,className:xe,ref:v,style:Re,to:m,viewTransition:p},typeof g=="function"?g(Z):g)});I2.displayName="NavLink";var Q2=w.forwardRef(({discover:a="render",fetcherKey:l,navigate:o,reloadDocument:r,replace:d,state:f,method:m=Do,action:p,onSubmit:g,relative:x,preventScrollReset:v,viewTransition:b,unstable_defaultShouldRevalidate:j,...E},k)=>{let{unstable_useTransitions:L}=w.useContext(Qt),B=J2(),V=ej(p,{relative:x}),U=m.toLowerCase()==="get"?"get":"post",M=typeof p=="string"&&$0.test(p),F=P=>{if(g&&g(P),P.defaultPrevented)return;P.preventDefault();let ae=P.nativeEvent.submitter,Z=ae?.getAttribute("formmethod")||m,ee=()=>B(ae||P.currentTarget,{fetcherKey:l,method:Z,navigate:o,replace:d,state:f,relative:x,preventScrollReset:v,viewTransition:b,unstable_defaultShouldRevalidate:j});L&&o!==!1?w.startTransition(()=>ee()):ee()};return w.createElement("form",{ref:k,method:U,action:V,onSubmit:r?g:F,...E,"data-discover":!M&&a==="render"?"true":void 0})});Q2.displayName="Form";function K2(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function W0(a){let l=w.useContext(Mn);return Ue(l,K2(a)),l}function Z2(a,{target:l,replace:o,state:r,preventScrollReset:d,relative:f,viewTransition:m,unstable_defaultShouldRevalidate:p,unstable_useTransitions:g}={}){let x=Wl(),v=ka(),b=Jl(a,{relative:f});return w.useCallback(j=>{if(E2(j,l)){j.preventDefault();let E=o!==void 0?o:Fl(v)===Fl(b),k=()=>x(a,{replace:E,state:r,preventScrollReset:d,relative:f,viewTransition:m,unstable_defaultShouldRevalidate:p});g?w.startTransition(()=>k()):k()}},[v,x,b,o,r,l,a,d,f,m,p,g])}var $2=0,W2=()=>`__${String(++$2)}__`;function J2(){let{router:a}=W0("useSubmit"),{basename:l}=w.useContext(Qt),o=x2(),r=a.fetch,d=a.navigate;return w.useCallback(async(f,m={})=>{let{action:p,method:g,encType:x,formData:v,body:b}=D2(f,l);if(m.navigate===!1){let j=m.fetcherKey||W2();await r(j,o,m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:v,body:b,formMethod:m.method||g,formEncType:m.encType||x,flushSync:m.flushSync})}else await d(m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:v,body:b,formMethod:m.method||g,formEncType:m.encType||x,replace:m.replace,state:m.state,fromRouteId:o,flushSync:m.flushSync,viewTransition:m.viewTransition})},[r,d,l,o])}function ej(a,{relative:l}={}){let{basename:o}=w.useContext(Qt),r=w.useContext(Di);Ue(r,"useFormAction must be used inside a RouteContext");let[d]=r.matches.slice(-1),f={...Jl(a||".",{relative:l})},m=ka();if(a==null){f.search=m.search;let p=new URLSearchParams(f.search),g=p.getAll("index");if(g.some(v=>v==="")){p.delete("index"),g.filter(b=>b).forEach(b=>p.append("index",b));let v=p.toString();f.search=v?`?${v}`:""}}return(!a||a===".")&&d.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(f.pathname=f.pathname==="/"?o:Ti([o,f.pathname])),Fl(f)}function tj(a,{relative:l}={}){let o=w.useContext(G0);Ue(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=W0("useViewTransitionState"),d=Jl(a,{relative:l});if(!o.isTransitioning)return!1;let f=Ai(o.currentLocation.pathname,r)||o.currentLocation.pathname,m=Ai(o.nextLocation.pathname,r)||o.nextLocation.pathname;return _o(d.pathname,m)!=null||_o(d.pathname,f)!=null}const ij=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),aj=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,o,r)=>r?r.toUpperCase():o.toLowerCase()),mg=a=>{const l=aj(a);return l.charAt(0).toUpperCase()+l.slice(1)},J0=(...a)=>a.filter((l,o,r)=>!!l&&l.trim()!==""&&r.indexOf(l)===o).join(" ").trim(),nj=a=>{for(const l in a)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};var lj={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 sj=w.forwardRef(({color:a="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:d="",children:f,iconNode:m,...p},g)=>w.createElement("svg",{ref:g,...lj,width:l,height:l,stroke:a,strokeWidth:r?Number(o)*24/Number(l):o,className:J0("lucide",d),...!f&&!nj(p)&&{"aria-hidden":"true"},...p},[...m.map(([x,v])=>w.createElement(x,v)),...Array.isArray(f)?f:[f]]));const be=(a,l)=>{const o=w.forwardRef(({className:r,...d},f)=>w.createElement(sj,{ref:f,iconNode:l,className:J0(`lucide-${ij(mg(a))}`,`lucide-${a}`,r),...d}));return o.displayName=mg(a),o};const oj=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],rj=be("arrow-left",oj);const cj=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],uj=be("arrow-right",cj);const dj=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],ex=be("arrow-up-right",dj);const fj=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],mj=be("book-open",fj);const hj=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],pj=be("briefcase",hj);const gj=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],xj=be("chart-no-axes-column",gj);const vj=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ul=be("chevron-down",vj);const yj=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],tx=be("chevron-left",yj);const bj=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ix=be("chevron-right",bj);const jj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],hg=be("circle-alert",jj);const Sj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],jn=be("circle-check",Sj);
11const wj=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],zj=be("clipboard-list",wj);const Nj=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],pg=be("clock",Nj);const Tj=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ej=be("download",Tj);const Aj=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],ax=be("facebook",Aj);const Cj=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],nx=be("file-text",Cj);const Dj=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],En=be("heart",Dj);const Mj=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],lx=be("instagram",Mj);const Rj=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],kj=be("mail",Rj);const Lj=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],gg=be("map-pin",Lj);const Oj=[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]],Bj=be("megaphone",Oj);const _j=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Vj=be("menu",_j);const Uj=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],sx=be("microscope",Uj);const Hj=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],qj=be("package",Hj);const Gj=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Yj=be("phone",Gj);const Fj=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Ml=be("shield",Fj);const Pj=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],Xj=be("shopping-cart",Pj);const Ij=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
11],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],An=be("sparkles",Ij);const Qj=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],xg=be("triangle-alert",Qj);const Kj=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],vg=be("users",Kj);const Zj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$j=be("x",Zj);const Wj=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],ox=be("youtube",Wj),Jj=()=>{const[a,l]=w.useState(null),[o,r]=w.useState(!1),[d,f]=w.useState({}),m=Wl(),p=v=>{window.scrollTo({top:0,behavior:"smooth"}),m(v),r(!1)},g=v=>{f(b=>({...b,[v]:!b[v]}))},x=[{name:"Home",to:"/",hasDropdown:!1},{name:"Endometriosi",to:"/endometriosi",hasDropdown:!0,items:[{name:"Fai Autotest",to:"/endometriosi/autotest"}]},{name:"Articoli e Ricerca",to:"/articoli",hasDropdown:!0,items:[{name:"Pubblicazioni scientifiche",to:"/articoli/pubblicazioni"},{name:"I brevetti della fondazione",to:"/articoli/brevetti"},{name:"I nostri progetti",to:"/articoli/progetti"},{name:"Le scoperte innovative",to:"/articoli/scorpete"},{name:"Blog",to:"/blogs"}]},{name:"Alimentazione",to:"/alimentazione",hasDropdown:!1},{name:"Supporto e Volontariato",to:"/Suporto",hasDropdown:!1},{name:"Libri",to:"/libri",hasDropdown:!1},{name:"Contatti",to:"/contatti",hasDropdown:!1},{name:"Altro",hasDropdown:!0,items:[{name:"Tutela contro Malpractice",to:"/tutellaMalpractice"},{name:"Collaborazioni e Partnership",to:"/partnership"},{name:"Centro Italiano Endometriosi",to:"/centroItaliano"},{name:"Centro di Fecondazione",to:"/centroFecondazione"},{name:"POF / PGP",to:"/pof/PGP"}]}];return n.jsx("nav",{className:"sticky top-4 z-50",children:n.jsx("div",{className:"max-w-7xl mx-auto px-4",children:n.jsxs("div",{className:"bg-white/70 backdrop-blur-xl border border-gray-200 rounded-2xl px-8 py-4",children:[n.jsxs("div",{className:"flex items-center justify-between",children:[n.jsx("div",{onClick:()=>p("/"),className:"cursor-pointer text-lg font-medium text-gray-800 tracking-wide hover:opacity-80 transition flex-shrink-0",children:n.jsx("img",{className:"w-20",src:"/img/logoendo2.png",alt:""})}),n.jsx("div",{className:"hidden lg:flex items-center flex-wrap justify-center space-x-6 space-y-2 lg:space-y-0 max-w-full",children:x.map(v=>n.jsx("div",{className:"relative flex-shrink-0",onMouseEnter:()=>v.hasDropdown&&l(v.name),onMouseLeave:()=>l(null),children:v.hasDropdown?n.jsxs(n.Fragment,{children:[v.to?n.jsxs("div",{onClick:()=>v.to&&p(v.to),className:"cursor-pointer flex items-center text-gray-600 hover:text-gray-900 text-sm font-medium transition-colors whitespace-nowrap",children:[v.name,n.jsx(Ul,{className:"ml-1 w-4 h-4 opacity-60"})]}):n.jsxs("button",{className:"flex items-center text-gray-600 hover:text-gray-900 text-sm font-medium transition-colors whitespace-nowrap",children:[v.name,n.jsx(Ul,{className:"ml-1 w-4 h-4 opacity-60"})]}),a===v.name&&n.jsx("div",{className:"absolute top-full left-0 pt-3 z-10",children:n.jsx("div",{className:"w-52 bg-white/90 backdrop-blur-xl rounded-xl border border-gray-200 py-2 shadow-lg",children:v.items.map(b=>n.jsx("div",{onClick:()=>p(b.to),className:"cursor-pointer block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100/70 rounded-md transition",children:b.name},b.to))})})]}):n.jsx("div",{onClick:()=>p(v.to),className:"cursor-pointer flex items-center text-gray-600 hover:text-gray-900 text-sm font-medium transition-colors whitespace-nowrap",children:v.name})},v.name))}),n.jsxs("div",{className:"flex items-center space-x-4 flex-shrink-0",children:[n.jsx("a",{href:"https://dona.endometriosi.it/",className:"bg-[#3d7a1e] hover:bg-gray-800 text-white px-5 py-2 rounded-full text-sm font-medium transition whitespace-nowrap",target:"_blank",children:"DONA ORA"}),n.jsx("button",{onClick:()=>r(!o),className:"lg:hidden text-gray-600 hover:text-gray-900 transition",children:o?n.jsx($j,{className:"w-6 h-6"}):n.jsx(Vj,{className:"w-6 h-6"})})]})]}),o&&n.jsx("div",{className:"lg:hidden mt-4 bg-white/90 backdrop-blur-xl rounded-xl border border-gray-200 py-4 shadow-lg",children:x.map(v=>n.jsx("div",{className:"px-4 py-2",children:v.hasDropdown?n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"flex items-center justify-between w-full",children:[v.to?n.jsx("div",{onClick:()=>p(v.to),className:"cursor-pointer text-gray-600 hover:text-gray-900 text-sm font-medium transition-colors",children:v.name}):n.jsx("span",{className:"text-gray-600 text-sm font-medium",children:v.name}),n.jsx("button",{onClick:()=>g(v.name),className:"p-1 text-gray-600 hover:text-gray-900 transition-colors",children:n.jsx(Ul,{className:`w-4 h-4 opacity-60 transition-transform ${d[v.name]?"rotate-180":""}`})})]}),d[v.name]&&n.jsx("div",{className:"mt-2 ml-4 space-y-1",children:v.items.map(b=>n.jsx("div",{onClick:()=>p(b.to),className:"cursor-pointer block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100/70 rounded-md transition",children:b.name},b.to))})]}):n.jsx("div",{onClick:()=>p(v.to),className:"cursor-pointer block text-gray-600 hover:text-gray-900 text-sm font-medium transition-colors",children:v.name})},v.name))})]})})})};function e5(){const[a,l]=w.useState({name:"",email:"",consent:!1}),o=r=>{r.preventDefault(),a.name&&a.email&&a.consent?(console.log("Form submitted:",a),alert("Grazie per esserti iscritto!")):alert("Si prega di compilare tutti i campi obbligatori e accettare la politica sulla privacy.")};return n.jsx("div",{className:"min-h-screen bg-[#fffcf0] py-16",children:n.jsx("div",{className:"max-w-7xl mx-auto px-6",children:n.jsx("div",{className:"max-w-2xl mx-auto",children:n.jsxs("div",{className:"bg-white/80 backdrop-blur-sm rounded-3xl shadow-xl p-8 md:p-12 border border-rose-100",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-800 mb
11-4",children:"Iscriviti alla newsletter"}),n.jsx("p",{className:"text-gray-600 mb-8",children:"Consigli e indicazioni per vivere in modo sano l'endometriosi."}),n.jsxs("form",{onSubmit:o,className:"space-y-6",children:[n.jsxs("div",{children:[n.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Nome e Cognome*"}),n.jsx("input",{type:"text",required:!0,value:a.name,onChange:r=>l({...a,name:r.target.value}),className:"w-full px-4 py-3 rounded-xl border border-gray-300 focus:border-rose-300 focus:ring focus:ring-rose-200 focus:ring-opacity-50 transition-all",placeholder:"Nome"})]}),n.jsxs("div",{children:[n.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Email*"}),n.jsx("input",{type:"email",required:!0,value:a.email,onChange:r=>l({...a,email:r.target.value}),className:"w-full px-4 py-3 rounded-xl border border-gray-300 focus:border-rose-300 focus:ring focus:ring-rose-200 focus:ring-opacity-50 transition-all",placeholder:"Email"})]}),n.jsxs("div",{className:"flex items-start space-x-3",children:[n.jsx("input",{type:"checkbox",required:!0,checked:a.consent,onChange:r=>l({...a,consent:r.target.checked}),className:"mt-1 w-5 h-5 text-rose-400 border-gray-300 rounded focus:ring-rose-300"}),n.jsx("label",{className:"text-sm text-gray-600",children:"Accetto di ricevere email informative e promozionali e autorizzo il trattamento dei miei dati come da Informativa sulla Privacy.*"})]}),n.jsx("p",{className:"text-xs text-gray-500 italic",children:"Sie können sich jederzeit über den Link in unserem Newsletter abmelden."}),n.jsx("button",{type:"submit",className:"w-full md:w-auto px-8 py-3 bg-gradient-to-r from-rose-400 to-rose-500 hover:from-rose-500 hover:to-rose-600 text-white font-semibold rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-0.5",children:"ISCRIVITI"}),n.jsxs("div",{className:"flex items-start space-x-3 pt-4 border-t border-gray-200",children:[n.jsx("div",{className:"flex-shrink-0 w-12 h-12 bg-blue-50 rounded-full flex items-center justify-center",children:n.jsx("div",{className:"w-8 h-8 border-2 border-blue-400 rounded-full flex items-center justify-center",children:n.jsx("span",{className:"text-blue-500 text-lg",children:"✓"})})}),n.jsxs("p",{className:"text-sm text-gray-600",children:["Utilizziamo Brevo come piattaforma di marketing. Inviando questo modulo, accetti che i dati personali da te forniti vengano trasferiti a Brevo per il trattamento in conformità con"," ",n.jsx("a",{href:"https://www.brevo.com/legal/privacypolicy/",target:"_blank",rel:"noreferrer",className:"text-rose-500 hover:text-rose-600 underline",children:"l'informativa sulla privacy di Brevo"}),"."]})]})]})]})})})})}function t5(){const a=Wl(),l=o=>{window.scrollTo({top:0,behavior:"smooth"}),a(o)};return n.jsxs("footer",{className:"bg-gradient-to-br from-rose-100 via-rose-50 to-amber-50",children:[n.jsx(e5,{}),n.jsx("div",{className:"bg-rose-200/40 backdrop-blur-sm border-t border-rose-100",children:n.jsx("div",{className:"max-w-7xl mx-auto px-6 py-12",children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12",children:[n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-800 mb-4",children:"Endometriosi"}),n.jsxs("ul",{className:"space-y-3",children:[n.jsx("li",{children:n.jsxs(Xt,{to:"/alimentazione",children:["    ",n.jsx("span",{onClick:()=>l("/alimentazione/dieta"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Alimentazione"})]})}),n.jsx("li",{children:n.jsx("span",{onClick:()=>l("/endometriosi"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Sintomi Endometriosi"})}),n.jsx("li",{children:n.jsx("span",{onClick:()=>l("/articoli"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Articoli e Ricerca"})})]})]}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-800 mb-4",children:"Diagnosi Endometriosi"}),n.jsxs("ul",{className:"space-y-3",children:[n.jsx("li",{children:n.jsxs(Xt,{to:"/endometriosi/autotest",children:["  ",n.jsx("span",{onClick:()=>l("/endometriosi/autotest"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Autotest Endometriosi"})]})}),n.jsx("li",{children:n.jsxs(Xt,{to:"/centroItaliano",children:["   ",n.jsx("span",{onClick:()=>l("/centroItaliano"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Centro Italiano Endometriosi"})]})})]})]}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-lg font-bold text-gray-800 mb
11-4",children:"Seguici"}),n.jsx("p",{className:"text-gray-700 mb-4",children:"Rimanete in contatto con noi attraverso i servizi di social media qui di seguito."}),n.jsxs("div",{className:"flex space-x-3",children:[n.jsx("a",{href:"https://www.facebook.com/FondazioneItalianaEndometriosi/",target:"_blank",className:"w-10 h-10 bg-rose-300 hover:bg-rose-400 rounded-full flex items-center justify-center transition-all transform hover:scale-110","aria-label":"Facebook",children:n.jsx(ax,{className:"w-5 h-5 text-white"})}),n.jsx("a",{href:"https://www.instagram.com/endometriosi_fie/",target:"_blank",className:"w-10 h-10 bg-rose-300 hover:bg-rose-400 rounded-full flex items-center justify-center transition-all transform hover:scale-110","aria-label":"Instagram",children:n.jsx(lx,{className:"w-5 h-5 text-white"})}),n.jsx("a",{href:"https://www.youtube.com/channel/UCQgHuBr7x3Mp64iFt-nFunQ",target:"_blank",className:"w-10 h-10 bg-rose-300 hover:bg-rose-400 rounded-full flex items-center justify-center transition-all transform hover:scale-110","aria-label":"YouTube",children:n.jsx(ox,{className:"w-5 h-5 text-white"})})]})]})]})})}),n.jsx("div",{className:"bg-rose-300/30 border-t border-rose-200",children:n.jsx("div",{className:"max-w-7xl mx-auto px-6 py-6",children:n.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0",children:[n.jsxs("p",{className:"text-sm text-gray-700 text-center md:text-left",children:["Copyright © ",n.jsx("span",{className:"font-semibold",children:"Fondazione Italiana Endometriosi"})," - Tutti i diritti riservati. - P.IVA: 02954000100"]}),n.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm",children:[n.jsx("span",{onClick:()=>l("/privacy"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Privacy Policy"}),n.jsx("span",{className:"text-gray-400",children:"•"}),n.jsx("span",{onClick:()=>l("/cookies"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Cookie Policy"}),n.jsx("span",{className:"text-gray-400",children:"•"}),n.jsx("span",{onClick:()=>l("/trasparenza"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Trasparenza"}),n.jsx("span",{className:"text-gray-400",children:"•"}),n.jsx("span",{onClick:()=>l("/blogs"),className:"cursor-pointer text-gray-700 hover:text-rose-500 transition-colors",children:"Blog"})]})]})})})]})}function i5(){const[a,l]=w.useState({}),o=w.useRef(null);return w.useEffect(()=>(o.current=new IntersectionObserver(r=>{r.forEach(d=>{d.isIntersecting&&l(f=>({...f,[d.target.id]:!0}))})},{threshold:.1}),document.querySelectorAll("[data-animate]").forEach(r=>{o.current&&o.current.observe(r)}),()=>o.current?.disconnect()),[]),n.jsxs("div",{className:"bg-[#fffcf0] py-24 px-6 relative overflow-hidden",children:[n.jsx("div",{className:"absolute top-20 left-10 w-64 h-64 bg-[#f3948f]/5 rounded-full blur-3xl animate-pulse",style:{animationDuration:"4s"}}),n.jsx("div",{className:"absolute bottom-20 right-10 w-64 h-64 bg-[#a96b6c]/5 rounded-full blur-3xl animate-pulse",style:{animationDuration:"5s"}}),n.jsxs("div",{className:"max-w-4xl mx-auto relative z-10",children:[n.jsxs("div",{id:"header","data-animate":!0,className:`text-center mb-16 transition-all duration-1000 ${a.header?"opacity-100 translate-y-0":"opacity-0 -translate-y-10"}`,children:[n.jsx("div",{className:"flex justify-center mb-8",children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute inset-0 bg-[#f3948f]/20 blur-2xl rounded-full animate-pulse",style:{animationDuration:"3s"}}),n.jsxs("svg",{width:"80",height:"80",viewBox:"0 0 80 80",className:"relative",children:[n.jsx("circle",{cx:"40",cy:"40",r:"8",f
11ill:"#a96b6c",opacity:"0.3"}),n.jsx("path",{d:"M40 20 Q35 30 40 40 Q45 30 40 20",fill:"#f3948f",opacity:"0.7"}),n.jsx("path",{d:"M60 40 Q50 35 40 40 Q50 45 60 40",fill:"#f3948f",opacity:"0.7"}),n.jsx("path",{d:"M40 60 Q35 50 40 40 Q45 50 40 60",fill:"#f3948f",opacity:"0.7"}),n.jsx("path",{d:"M20 40 Q30 35 40 40 Q30 45 20 40",fill:"#f3948f",opacity:"0.7"}),n.jsx("path",{d:"M52 28 Q47 34 40 40 Q47 37 52 28",fill:"#a96b6c",opacity:"0.6"}),n.jsx("path",{d:"M52 52 Q47 46 40 40 Q47 43 52 52",fill:"#a96b6c",opacity:"0.6"}),n.jsx("path",{d:"M28 52 Q33 46 40 40 Q33 43 28 52",fill:"#a96b6c",opacity:"0.6"}),n.jsx("path",{d:"M28 28 Q33 34 40 40 Q33 37 28 28",fill:"#a96b6c",opacity:"0.6"}),n.jsx("circle",{cx:"40",cy:"40",r:"6",fill:"#fffcf0"}),n.jsx("circle",{cx:"40",cy:"40",r:"3",fill:"#f3948f"})]})]})}),n.jsx("h2",{className:"text-5xl md:text-6xl font-avenir text-[#a96b6c] mb-6 tracking-wide",style:{fontFamily:"Georgia, serif"},children:"Che cos'è l'Endometriosi?"}),n.jsx("div",{className:"w-16 h-0.5 bg-gradient-to-r from-transparent via-[#f3948f] to-transparent mx-auto transition-all duration-1000 delay-300",style:{width:a.header?"4rem":"0"}})]}),n.jsx("div",{id:"definition","data-animate":!0,className:`mb-16 transition-all duration-1000 delay-200 ${a.definition?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsxs("p",{className:"text-xl md:text-2xl text-gray-800 leading-relaxed text-center",children:["L'",n.jsx("span",{className:"font-avenir text-[#a96b6c]",children:"Endometriosi"})," è una malattia ginecologica cronica in cui tessuto endometriale cresce al di fuori dell'utero, solitamente nella pelvi. Colpisce circa"," ",n.jsx("span",{className:"font-avenir text-[#f3948f]",children:"1 donna su 10"})," in età fertile – in Italia si stimano"," ",n.jsx("span",{className:"font-avenir text-[#f3948f]",children:"3 milioni di casi"}),"."]})}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-16",children:[n.jsxs("div",{id:"symptoms","data-animate":!0,className:`bg-white/60 backdrop-blur-sm rounded-2xl p-8 border border-gray-200/50 transition-all duration-1000 delay-300 hover:shadow-xl hover:scale-[1.02] ${a.symptoms?"opacity-100 -translate-x-0":"opacity-0 -translate-x-10"}`,children:[n.jsx("h3",{className:"text-2xl font-semibold font-avenir text-[#a96b6c] mb-6",style:{fontFamily:"Georgia, serif"},children:"Sintomi Comuni"}),n.jsx("ul",{className:"space-y-3 font-avenir text-gray-700",children:["Dolore pelvico cronico (specie durante mestruazioni)","Dolore ai rapporti (dispareunia)","Affaticamento","Disturbi intestinali","Spesso infertilità"].map((r,d)=>n.jsxs("li",{className:`flex items-start gap-3 transition-all duration-500 ${a.symptoms?"opacity-100 translate-x-0":"opacity-0 -translate-x-5"}`,style:{transitionDelay:`${500+d*100}
11ms`},children:[n.jsx("span",{className:"text-[#f3948f] text-lg mt-0.5",children:"•"}),n.jsx("span",{children:r})]},d))})]}),n.jsxs("div",{id:"impact","data-animate":!0,className:`bg-white/60 backdrop-blur-sm rounded-2xl p-8 border border-gray-200/50 transition-all duration-1000 delay-400 hover:shadow-xl hover:scale-[1.02] ${a.impact?"opacity-100 translate-x-0":"opacity-0 translate-x-10"}`,children:[n.jsx("h3",{className:"text-2xl font-semibold font-avenir text-[#a96b6c] mb-6",style:{fontFamily:"Georgia, serif"},children:"Impatto sulla Vita"}),n.jsxs("div",{className:"space-y-4",children:[n.jsxs("p",{className:"text-gray-800 font-avenir leading-relaxed pb-4 border-b border-gray-200",children:["Purtroppo l'endometriosi è una delle ",n.jsx("span",{className:"font-semibold text-[#a96b6c]",children:"prime tre cause di infertilità femminile"}),"."]}),n.jsxs("p",{className:"text-gray-800 font-avenir leading-relaxed",children:["La diagnosi arriva in ritardo (",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:"anche 6-7 anni"})," dopo i primi sintomi), aggravando l'impatto negativo su salute, lavoro e relazioni."]})]})]})]}),n.jsx("div",{id:"stats","data-animate":!0,className:`bg-gradient-to-br from-white/70 to-[#fff8d8]/70 backdrop-blur-sm rounded-2xl p-10 border border-[#f3948f]/20 transition-all duration-1000 delay-500 hover:shadow-2xl hover:scale-[1.01] ${a.stats?"opacity-100 translate-y-0":"opacity-0 translate-y-10"}`,children:n.jsxs("div",{className:"flex items-start gap-6",children:[n.jsx("div",{className:"flex-shrink-0",children:n.jsxs("div",{className:"relative w-16 h-16",children:[n.jsx("div",{className:"absolute inset-0 bg-[#f3948f]/20 rounded-full animate-pulse",style:{animationDuration:"2s"}}),n.jsx("div",{className:"relative w-16 h-16 bg-gradient-to-br from-[#f3948f]/30 to-[#a96b6c]/30 rounded-full flex items-center justify-center",children:n.jsx(An,{className:"w-8 h-8 text-[#a96b6c]"})})]})}),n.jsxs("div",{className:"space-y-4",children:[n.jsx("h3",{className:"text-2xl font-avenir font-semibold text-[#a96b6c] ",style:{fontFamily:"Georgia, serif"},children:"Lo sapevi?"}),n.jsxs("p",{className:"text-lg font-avenir text-gray-800 leading-relaxed",children:[n.jsx("span",{className:"font-bold font-avenir text-[#f3948f] text-xl",children:"Circa il 30-40%"})," delle donne con endometriosi ha difficoltà a concepire."]}),n.jsx("p",{className:"text-gray-700 font-avenir leading-relaxed",children:"La condizione può persistere (raramente) anche dopo la menopausa, specialmente se si assumono ormoni sostitutivi."})]})]})})]})]})}function a5(){return n.jsxs("div",{className:"relative bg-gradient-to-br from-[#fffcf0] via-[#fff8d8] to-[#fffcf0] overflow-hidden",children:[n.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[n.jsx("div",{className:"absolute w-96 h-96 rounded-full bg-[#f3948f] opacity-10 -top-24 -left-24 animate-float"}),n.jsx("div",{className:"absolute w-72 h-72 rounded-full bg-[#a96b6c] opacity-10 -bottom-20 -right-20 animate-float-delayed"}),n.jsx("div",{className:"absolute w-60 h-60 rounded-full bg-green-500 opacity-10 top-1/3 right-[10%] animate-float-delayed-2"})]}),n.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6 py-20 md:py-28",children:n.jsxs("div",{className:"text-center",children:[n.jsx("div",{className:"mb-8 flex justify-center",children:n.jsx("div",{className:"w-16 h-16 animate-pulse-slow",children:n.jsx("img",{src:"/img/logoendo.png",alt:"Logo",className:"w-full h-full object-contain"})})}),n.jsx("h1",{className:"text-4xl md:text-6xl font-avenir  text-[#a96b6c] mb-6 tracking-wide",style:{fontFamily:"Georgia, serif"},children:"Fondazione Italiana Endometriosi"}),n.jsx("div",{className:"w-20 h-0.5 bg-gradient-to-r from-transparent via-[#f3948f] to-transparent mx-auto mb-8"}),n.jsxs("p",{className:"text-lg md:text-xl font-avenir text-gray-700 leading-relaxed max-w-3xl mx-auto mb-6",children:["Punto di riferimento per ",n.jsx("span",{className:"text-[#f3948f] font-medium",children:"ricerca, sostegno e cura"})," dell'endometriosi"]}),n.jsx("p",{className:"text-base md:text-lg text-[#a96b6c] font-avenir font-medium max-w-2xl mx-auto",children:"Insieme possiamo fare la differenza nella vita di milioni di donne nel mondo"}),n.jsxs("div",{className:"mt-12 flex flex-wrap justify-center gap-4",children:[n.jsxs(Xt,{to:"/endometriosi/autotest",className:"group bg-green-500 hover:bg-green-600 text-white font-medium py-4 px-8 rounded-full transition-all duration-300 hover:shadow-lg hover:scale-105 flex items-center gap-2",children:[n.jsx("span",{}),n.jsx("span",{className:"font-avenir",children:"Fai l'autotest"})]}),n.jsxs("button",{className:"group bg-green-500 hover:bg-green-600 text-white font-medium py-4 px-8 rounded-full transition-all duration-300 hover:shadow-lg hover:scale-105 flex items-center gap-2",children:[n.jsx("span",{}),n.jsx("a",{href:"/Dieta-Endometriosi.pdf",download:!0,children:n.jsx("span",{className:"font-avenir",children:"Scarica la dieta"})})]}),n.jsx("a",{href:"https://dona.endometriosi.it/",target:"__blank",children:n.jsxs("button",{className:"group bg-green-500 hover:bg-green-600 text-white font-medium py-4 px-8 rounded-full transition-all duration-300 hover:shadow-lg hover:scale-105 flex items-center gap-2",children:[n.jsx("span",{}),n.jsx("span",{className:"font-avenir",children:"Dona ora"})]})})]})]})}),n.jsx("style",{children:`
12        @keyframes float {
13          0%, 100% {
14            transform: translate(0, 0) scale(1);
15          }
16          33% {
17            transform: translate(30px, -30px) scale(1.05);
18          }
19          66% {
20            transform: translate(-20px, 20px) scale(0.95);
21          }
22        }
23
24        @keyframes pulse-slow {
25          0%, 100% {
26            opacity: 1;
27            transform: scale(1);
28          }
29          50% {
30            opacity: 0.8;
31            transform: scale(1.05);
32          }
33        }
34
35        .animate-float {
36          animation: float 25s infinite ease-in-out;
37        }
38
39        .animate-float-delayed {
40          animation: float 25s infinite ease-in-out 5s;
41        }
42
43        .animate-float-delayed-2 {
44          animation: float 25s infinite ease-in-out 10s;
45        }
46
47        .animate-pulse-slow {
48          animation: pulse-slow 4s infinite ease-in-out;
49        }
50      `})]})}function n5(){const a=[{icon:n.jsx(En,{className:"w-6 h-6"}
50),label:"Scopri l'endometriosi",description:"Informazioni complete sulla malattia",link:"/endometriosi",color:"#f3948f"},{icon:n.jsx(zj,{className:"w-6 h-6"}),label:"Fai l'autotest",description:"Verifica i tuoi sintomi online",link:"/endometriosi/autotest",color:"#a96b6c"},{icon:n.jsx(Ej,{className:"w-6 h-6"}),label:"Scarica la dieta",description:"Linee guida alimentari gratuite",link:"/alimentazione",color:"#6ba96b"}],l=[{icon:n.jsx(sx,{className:"w-5 h-5"}),label:"Progetti di ricerca",link:"/articoli/progetti"},{icon:n.jsx(nx,{className:"w-5 h-5"}),label:"Lasciti testamentari",link:"https://dona.endometriosi.it/"},{icon:n.jsx(An,{className:"w-5 h-5"}),label:"Dona ora",link:"https://dona.endometriosi.it/"}];return n.jsxs("div",{className:"relative bg-white py-24 px-6 overflow-hidden",children:[n.jsxs("div",{className:"absolute inset-0 opacity-30",children:[n.jsx("div",{className:"absolute top-0 left-1/4 w-px h-full bg-gradient-to-b from-transparent via-[#f3948f]/20 to-transparent"}),n.jsx("div",{className:"absolute top-0 right-1/4 w-px h-full bg-gradient-to-b from-transparent via-[#a96b6c]/20 to-transparent"})]}),n.jsxs("div",{className:"max-w-6xl mx-auto relative z-10",children:[n.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 lg:gap-20 items-start mb-20",children:[n.jsxs("div",{className:"space-y-8",children:[n.jsxs("div",{children:[n.jsx("div",{className:"inline-block px-4 py-1 bg-[#f3948f]/10 rounded-full mb-6",children:n.jsx("span",{className:"text-sm font-avenir font-medium text-[#a96b6c]",children:"Dal 2007"})}),n.jsx("h2",{className:"text-4xl md:text-5xl font-avenir font-light text-[#a96b6c] mb-6 leading-tight",style:{fontFamily:"Georgia, serif"},children:"La nostra missione"})]}),n.jsxs("div",{className:"space-y-4 font-avenir text-gray-700 leading-relaxed",children:[n.jsx("p",{className:"text-lg",children:"Aiutare e supportare le donne affette da endometriosi, diffondere informazioni corrette e promuovere la ricerca scientifica."}),n.jsxs("p",{className:"text-lg font-avenir",children:["Vogliamo colmare il ",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:"gender gap sanitario"})," e garantire cure efficaci e su misura."]})]}),n.jsx("blockquote",{className:"border-l-4 border-[#f3948f] pl-6 py-2",children:n.jsx("p",{className:"text-xl text-[#a96b6c] italic font-avenir font-medium",children:`"Rifiutiamo di accettare l'ineguaglianza e promuoviamo il cambiamento"`})}),n.jsx("div",{className:"pt-6 space-y-3",children:l.map((o,r)=>n.jsxs("a",{href:o.link,className:"group flex items-center gap-3 font-avenir text-gray-600 hover:text-[#a96b6c] transition-colors duration-200",children:[n.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-100 group-hover:bg-[#f3948f]/10 flex items-center justify-center transition-colors duration-200",children:o.icon}),n.jsx("span",{className:"font-medium",children:o.label}),n.jsx("span",{className:"opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:"→"})]},r))})]}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"mb-8",children:[n.jsx("h3",{className:"text-2xl font-avenir font-semibold text-gray-800 mb-2",children:"Inizia qui"}),n.jsx("p",{className:"text-gray-600 font-avenir",children:"Le azioni più importanti che puoi intraprendere"})]}),a.map((o,r)=>
50n.jsxs("a",{href:o.link,className:"group font-avenir block bg-gradient-to-br from-[#fffcf0] to-white border-2 border-gray-100 hover:border-white rounded-2xl p-8 transition-all duration-300 hover:shadow-2xl hover:-translate-y-1",style:{animation:`slideInRight 0.6s ease-out ${r*.15}s both`},children:[n.jsxs("div",{className:"flex items-start gap-5",children:[n.jsx("div",{className:"flex-shrink-0 w-14 h-14 rounded-xl flex items-center justify-center shadow-lg group-hover:scale-110 transition-transform duration-300",style:{backgroundColor:o.color},children:n.jsx("div",{className:"text-white font-avenir",children:o.icon})}),n.jsxs("div",{className:"flex-1",children:[n.jsx("h4",{className:"text-xl font-semibold text-gray-800 mb-2 group-hover:text-[#a96b6c] transition-colors duration-300",children:o.label}),n.jsx("p",{className:"text-gray-600 mb-3 font-avenir",children:o.description}),n.jsxs("div",{className:"inline-flex font-avenir items-center gap-2 text-sm font-medium group-hover:gap-3 transition-all duration-300",style:{color:o.color},children:[n.jsx("span",{className:"font-avenir",children:"Scopri di più"}),n.jsx("span",{children:"→"})]})]})]}),n.jsx("div",{className:"absolute bottom-0 right-0 w-32 h-32 rounded-tl-full opacity-0 group-hover:opacity-10 transition-opacity duration-300",style:{backgroundColor:o.color}})]},r))]})]}),n.jsxs("div",{className:"text-center pt-12 border-t border-gray-200",children:[n.jsx("p",{className:"text-gray-600 mb-6 font-avenir",children:"Ogni contributo ci aiuta a fare la differenza"}),n.jsxs("a",{href:"https://dona.endometriosi.it/",target:"__blank",children:["  ",n.jsx("button",{className:"bg-[#a96b6c] font-avenir hover:bg-[#8a5556] text-white font-medium px-8 py-4 rounded-full transition-all duration-300 hover:shadow-lg hover:scale-105",children:"DONA ORA"})]})]})]}),n.jsx("style",{children:`
51        @keyframes slideInRight {
52          from {
53            opacity: 0;
54            transform: translateX(30px);
55          }
56          to {
57            opacity: 1;
58            transform: translateX(0);
59          }
60        }
61      `})]})}function l5(){const[a,l]=w.useState(0),o=[{title:"Ricerca Scientifica",description:"Scopri i nostri progetti innovativi (es. studio sul genoma, test diagnostici non invasivi) e come stanno rivoluzionando la comprensione dell'endometriosi.",cta:"Aiutaci nella Ricerca",highlight:"ARTICOLI E RICERCA",emoji:"",color:"#f3948f",bgImage:"https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1200&q=80",to:"https://dona.endometriosi.it/"},{title:"Supporto e Community",description:'Unisciti alla nostra community di donne affette da endometriosi, volontarie e ambassador. Condividiamo esperienze, consigli e campagne di sensibilizzazione come "Io Valgo di Più" per dare voce alle pazienti.',cta:"Fai la differenza anche tu!",highlight:"SUPPORTO E VOLONTARIATO",emoji:"",color:"#a96b6c",bgImage:"https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1200&q=80",to:"https://community.endometriosi.it/"},{title:"Alimentazione",description:"L'alimentazione è uno strumento concreto per ridurre infiammazione e sintomi dell'endometriosi. Scopri la dieta anti-infiammatoria sviluppata dalla Fondazione e le linee guida per migliorare la qualità della vita, giorno dopo giorno.",cta:"Scopri la Dieta",highlight:"ALIMENTAZIONE",emoji:"",color:"#6ba96b",bgImage:"https://images.unsplash.com/photo-1490645935967-10de6ba17061?w=1200&q=80",to:"/alimentazione"}],r=()=>{l(f=>(f+1)%o.length)},d=()=>{l(f=>(f-1+o.length)%o.length)};return w.useEffect(()=>{const f=setInterval(r,5e3);return()=>clearInterval(f)},[]),n.jsx("div",{className:"min-h-screen bg-gradient-to-br from-[#fffcf0] to-[#fff8d8] py-16 px-6",children:n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsx("h2",{className:"text-5xl text-[#a96b6c] mb-4",style:{fontFamily:"Georgia, serif"},children:"Attività principali"}),n.jsx("div",{className:"w-32 h-1 bg-gradient-to-r from-[#f3948f] to-[#6ba96b] mx-auto mb-3 rounded-full"})]}),n.jsxs("div",{className:"relative h-[500px] rounded-3xl overflow-hidden shadow-2xl",children:[o.map((f,m)=>n.jsxs("div",{className:`absolute inset-0 transition-all duration-1000 ${m===a?"opacity-100 scale-100 pointer-events-auto":"opacity-0 scale-105 pointer-events-none"}`,children:[n.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${f.bgImage})`}}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/50 to-black/30"}),n.jsxs("div",{className:"relative h-full flex flex-col items-center justify-center text-center p-12 z-10",children:[n.jsx("h3",{className:"text-5xl text-white mb-6 drop-shadow-lg",style:{fontFamily:"Georgia, serif"},children:f.title}),n.jsx("p",{className:"text-xl text-white/95 leading-relaxed mb-10 max-w-3xl drop-shadow-md",children:f.description}),f.cta&&n.jsx("a",{href:f.to,target:"_blank",rel:"noopener noreferrer",className:"px-8 py-4 rounded-xl text-white transition-all duration-300 hover:shadow-2xl hover:-translate-y-1 hover:scale-105",style:{backgroundColor:f.color},children:f.cta})]})]},m)),n.jsx("button",{onClick:d,className:"absolute left-6 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white p-4 rounded-full shadow-xl transition-all duration-300 hover:scale-110 z-20",children:n.jsx(tx,{className:"w-7 h-7 text-[#a96b6c]"})}),n.jsx("button",{onClick:r,className:"absolute right-6 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white p-4 rounded-full shadow-xl transition-all duration-300 hover:scale-110 z-20",children:n.jsx(ix,{className:"w-7 h-7 text-[#a96b6c]"})}),n.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex gap-3 z-20",children:o.map((f,m)=>n.jsx("button",{onClick:()=>l(m),className:`h-3 rounded-full transition-all duration-300 ${m===a?"bg-white w-10 shadow-lg":"bg-white/50 w-3 hover:bg-white/75"}`},m))}),n.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-1 bg-white/20 z-20",children:n.jsx("div",{className:"h-full bg-white transition-all duration-300",style:{width:`${(a+1)/o.length*100}%`}})})]})]})})}function s5(){return n.jsxs("div",{children:[n.jsx(a5,{}),n.jsx(l5,{}),n.jsx(i5,{}),n.jsx(n5,{})]})}function o5(){return n.jsxs("div",{className:"flex flex-col items-center justify-center min-h-screen p-8",children:[n.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404 - Page Not Found"}),n.jsx("p",{className:"text-gray-700",children:"Oops! The page you are looking for does not exist."})]})}function r5(){return n.jsx("div",{className:"min-h-screen bg-gradient-to-br from-rose-50 via-amber-50 to-rose-100",children:n.jsx("div",{className:"max-w-4xl mx-auto px-6 py-16",children:n.jsxs("div",{className:"bg-white/90 backdrop-blur-sm rounded-3xl shadow-xl p-8 md:p-12 border border-rose-100",children:[n.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-800 mb
61-8",children:"COOKIE POLICY"}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Cosa sono i cookie"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I cookies sono file di testo, contenenti piccoli quantitativi di informazioni, che vengono memorizzati sul computer o dispositivo mobile dell'utente che visita un sito web."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Ad ogni successiva visita, i cookies vengono inviati nuovamente al sito web che li ha originati (cookies di prime parti), o ad un altro sito web (cookie di terze parti) e permettono al sito di riconoscere l'utente (naturalmente in forma anonima)."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I cookie possono essere installati i direttamente dal proprietario e/o responsabile del sito web (cookie di prima parte) oppure dai responsabili estranei al sito web visitato dall'utente (cookie di terza parte) in questo secondo caso le informazioni relative alla privacy devono ricercarsi direttamente nei siti di terza parte."}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"L'uso di cookies da parte di Fondazione Endometriosi avviene nel pieno rispetto di quanto previsto dalla normativa vigente in materia, regolamento europeo n. 679/16 (GDPR), che consente l'uso di queste tecnologie per determinati scopi legittimi, come la memorizzazione tecnica per il tempo strettamente necessario a trasmettere una comunicazione o a fornire uno specifico servizio richiesto dall'Utente."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Tipologia di cookie utilizzati"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Ai sensi di quanto previsto dal regolamento europeo n. 679/16 (GDPR), dei D.Lgs. 69/2012 e 70/2012, informiamo che questo sito utilizza cookie tecnici e statistici."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I cookies tecnici si dividono in cookies di navigazione e cookies di sessione."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Essi sono strettamente necessari a garantire la normale navigazione dei siti. I cookies di sessione si cancellano automaticamente alla fine di ogni navigazione con la chiusura del browser, i cookies di navigazione hanno una vita più lunga."}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Sia i cookies di sessione, sia quelli di navigazione sono necessari per navigare all'interno dei siti stessi poiché consentono funzioni essenziali quali per esempio autenticazione, validazione, gestione di una sessione di navigazione."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mt-4",children:"Per tale tipologia di cookies, infatti, ai sensi dell'art. 122 del codice privacy e del Provvedimento del Garante dell'8 maggio 2014, per i quali compare il banner al momento dell'apertura del sito web, non è richiesto alcun consenso da parte dell'interessato poiché trattasi, come detto, di cookie necessari alla navigazione sul sito, per consentire di spostarsi in tutto il sito ed utilizzare le sue caratteristiche e funzioni."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Cookies non tecnici"}),n.jsxs("p",{className:"text-gray-700 leading-relaxed mb-4",children:[n.jsx("strong",{children:"Cookies analitici o analytics:"})," questi cookies vengono utilizzati per analizzare statisticamente gli accessi/le visite al sito, e perseguono esclusivamente scopi statistici e non anche di profilazione o di marketing. Essi raccolgono informazioni in forma aggregata, senza la possibilità di risalire alla identificazione del singolo utente."]}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Questa tipologia di cookies (c.d. opt out) possono sempre essere disattivati seguendo le procedure fornite dal browser utilizzato."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb
61-4",children:"Cookies di profilazione di terze parti"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:`Ti informiamo che sui nostri siti vengono installati "Cookies di Terze Parti analitici, di profilazione". Per questi, fermo restando la possibilità di disabilitarli attraverso le impostazioni del browser, ti forniamo il link all'informativa estesa e ai moduli di consenso delle terze parti che installano questi cookies.`})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Cookie analitici di terze parti"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Cookie tecnici generati da:"}),n.jsxs("div",{className:"bg-rose-50 rounded-xl p-6 mb-6",children:[n.jsx("p",{className:"text-gray-800 font-semibold mb-2",children:"Facebook"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-3",children:"Attraverso i siti di Fondazione Endometriosi, Facebook, qualora presti il relativo consenso, potrà trattare i suoi dati personali per consentirle un'esperienza di navigazione arricchita da funzionalità e servizi di social network"}),n.jsx("a",{href:"https://www.facebook.com/policies/cookies/",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"https://www.facebook.com/policies/cookies/"})]}),n.jsxs("div",{className:"bg-rose-50 rounded-xl p-6 mb-6",children:[n.jsx("p",{className:"text-gray-800 font-semibold mb-2",children:"Google Analytics informativa:"}),n.jsx("a",{href:"https://support.google.com/analytics/answer/2763052?hl=it",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"https://support.google.com/analytics/answer/2763052?hl=it"})]}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Per i trattamenti di dati personali che, previo tuo consenso, società terze note a Fondazione Endometriosi potrebbero porre in essere attraverso i cookie, clicchi sui link che seguono per la prestazione o non prestazione del consenso seguendo le relative indicazioni, dopo aver letto le diverse informative:"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Le funzioni pubblicitarie di Google Analytics, le funzioni pubblicitarie implementate sono: i rapporti sui dati demografici e sugli interessi di Google Analytics."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"L'attivazione di queste funzioni pubblicitarie consente a Google Analytics di raccogliere i dati sul traffico tramite i cookie per la pubblicità di Google e gli identificatori anonimi, oltre ai dati raccolti tramite un'implementazione standard di Google Analytics."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I siti raccolgono e utilizzano i dati provenienti dalla pubblicità basata sugli interessi di Google o i dati sul pubblico di terze parti (ad es. età, sesso e interessi) di Google Analytics e le funzioni di Google Analytics implementate in base alla pubblicità display (ad es. remarketing, rapporti sui dati demografici e sugli interessi di Google Analytics) solo a fini statistici e di analisi del pubblico."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I dati sono raccolti ed aggregati in forma anonima mediante software proprietari o di terze parti (es. Google Analytics)."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"I siti e fornitori terzi, tra cui Google, utilizzano sia cookie proprietari (come il cookie di Google Analytics) sia cookie di terze parti (come il cookie di DoubleClick) per informare, ottimizzare e pubblicare annunci sulla base delle precedenti visite degli utenti."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"È possibile disattivare Google Analytics per la pubblicità display e personalizzare gli annunci della Rete Display di Google nei seguenti modi:"}),n.jsxs("p",{className:"text-gray-700 leading-relaxed",children:["Utilizzando le Impostazioni annunci:"," ",n.jsx("a",{href:"https://www.google.it/settings/ads",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline",children:"https://www.google.it/settings/ads"})]})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb
61-4",children:"Come puoi gestire i cookie?"}),n.jsxs("p",{className:"text-gray-700 leading-relaxed",children:["È possibile gestire/eliminare i cookie come si desidera. Per i dettagli, vedere"," ",n.jsx("a",{href:"http://aboutcookies.org",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline",children:"aboutcookies.org"})]})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Rimozione dei cookie dal dispositivo"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Puoi eliminare tutti i cookie che sono già sul tuo dispositivo cancellando la cronologia di navigazione del tuo browser. Ciò rimuoverà tutti i cookie da tutti i siti web che hai visitato."}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Tenere presente però che potresti anche perdere alcune informazioni salvate (ad esempio i dettagli di accesso salvati, le preferenze del sito)."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Gestione dei cookie specifici del sito"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Per un controllo più dettagliato sui cookie specifici del sito, controlla le impostazioni sulla privacy e sui cookie nel tuo browser preferito"}),n.jsxs("ul",{className:"space-y-3",children:[n.jsxs("li",{className:"text-gray-700",children:[n.jsx("strong",{children:"Google Chrome"})," –"," ",n.jsx("a",{href:"https://support.google.com/chrome/answer/95647?hl=it&p=cpn_cookies",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"https://support.google.com/chrome/answer/95647?hl=it&p=cpn_cookies"})]}),n.jsxs("li",{className:"text-gray-700",children:[n.jsx("strong",{children:"Mozilla Firefox"})," –"," ",n.jsx("a",{href:"https://support.mozilla.org/it/kb/protezione-antitracciamento-avanzata-firefox-desktop",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"https://support.mozilla.org/it/kb/protezione-antitracciamento-avanzata-firefox-desktop"})]}),n.jsxs("li",{className:"text-gray-700",children:[n.jsx("strong",{children:"Apple Safari"})," –"," ",n.jsx("a",{href:"http://support.apple.com/kb/PH17191?viewlocale=it_IT&locale=it_IT",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"http://support.apple.com/kb/PH17191?viewlocale=it_IT&locale=it_IT"})]}),n.jsxs("li",{className:"text-gray-700",children:[n.jsx("strong",{children:"Microsoft Windows Explorer"})," –"," ",n.jsx("a",{href:"https://support.microsoft.com/it-it/windows?ui=it-IT&rs=it-IT&ad=IT",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline break-all",children:"https://support.microsoft.com/it-it/windows"})]})]})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Blocco dei cookie"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Puoi impostare la maggior parte dei browser moderni per evitare che vengano inseriti cookie sul tuo dispositivo, ma potrebbe essere necessario regolare manualmente alcune preferenze ogni volta che visiti un sito / pagina. E alcuni servizi e funzionalità potrebbero non funzionare affatto correttamente (ad esempio l'accesso al profilo)."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Gestione dei cookie di analisi"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Puoi gestire le tue preferenze relative ai cookie di Europa Analytics sulla pagina Europa Analytics dedicata."})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Diritti dell'interessato"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"In attuazione del principio di trasparenza e c
61orrettezza dei trattamenti, l'utente del sito può richiedere tutte le informazioni riguardanti il trattamento dei suoi dati personali nonché esercitare i diritti riconosciuti dal GDPR e specificati negli articoli 15 – 23."}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"In particolare, potrà richiedere:"}),n.jsxs("ul",{className:"space-y-2 ml-6",children:[n.jsxs("li",{className:"text-gray-700 leading-relaxed",children:[n.jsx("strong",{children:"Diritto di accesso:"})," l'accesso ai suoi dati personali;"]}),n.jsxs("li",{className:"text-gray-700 leading-relaxed",children:[n.jsx("strong",{children:"Diritto alla rettifica o cancellazione:"})," rettifica o cancellazione dei dati;"]}),n.jsxs("li",{className:"text-gray-700 leading-relaxed",children:[n.jsx("strong",{children:"Opposizione al loro trattamento"})," nei casi previsti dall'articolo 20 del Regolamento;"]}),n.jsxs("li",{className:"text-gray-700 leading-relaxed",children:[n.jsx("strong",{children:"Diritto alla portabilità:"})," limitazione del trattamento nei casi previsti dall'art. 18 del Regolamento, nonché di ottenere in un formato strutturato, di uso comune e leggibile da dispositivo automatico, i dati che la riguardano, nei casi previsti dall'art. 20 del Regolamento."]})]})]}),n.jsxs("section",{className:"mb-10",children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"Maggiori informazioni e reclamo"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Il titolare del trattamento può essere contattato ai seguenti indirizzi:"}),n.jsxs("div",{className:"bg-rose-50 rounded-xl p-6 mb-6",children:[n.jsx("p",{className:"text-gray-700 leading-relaxed mb-2",children:"Via Felice Giordano, 8, 00197, Roma"}),n.jsxs("p",{className:"text-gray-700 leading-relaxed",children:["Indirizzo e-mail:"," ",n.jsx("a",{href:"mailto:[email protected]",className:"text-rose-500 hover:text-rose-600 underline",children:"[email protected]"})]})]}),n.jsxs("p",{className:"text-gray-700 leading-relaxed",children:["Se l'interessato ritiene che il trattamento dei dati personali da parte di Fondazione Endometriosi non sia conforme al GDPR o alla presente informativa, può contattare il titolare del trattamento o presentare reclamo all'Autorità Garante per la Protezione dei Dati Personali raggiungibile al seguente indirizzo web:"," ",n.jsx("a",{href:"https://www.garanteprivacy.it",target:"_blank",rel:"noopener noreferrer",className:"text-rose-500 hover:text-rose-600 underline",children:"https://www.garanteprivacy.it"}),"."]})]})]})})})}function c5(){return n.jsxs("div",{className:"min-h-screen bg-gray-50",children:[n.jsx("div",{className:"bg-gradient-to-r from-green-600 to-green-700 text-white py-16",children:n.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[n.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Privacy Policy"}),n.jsx("p",{className:"text-green-100 text-lg",children:"Informativa sulla tutela dei dati personali"})]})}),n.jsx("div",{className:"max-w-4xl mx-auto px-6 py-12",children:n.jsxs("div",{className:"bg-white rounded-lg shadow-md p-8 space-y-8",children:[n.jsxs("section",{children:[n.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-4",children:"INFORMATIVA SULLA TUTELA DEI DATI PERSONALI E CONSENSO AL TRATTAMENTO DEI MEDESIMI (D. LGS. 196/2003)"}),n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"DATI PERSONALI"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:'La Fondazione Italiana Endometriosi – ONLUS non tratterà alcuna Vostra informazione personale (per esempio il Vostro nome, indirizzo, numero telefonico o indirizzo e-mail ("dati personali") attraverso il proprio sito Internet che non sia stata da Voi fornita volontariamente. Se non volete che Fondazione Italiana Endometriosi – ONLUS tratti i Vostri dati personali, siete pregati di non inviarli.'})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"TUTELA DELLA PRIVACY"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Ai sensi e per gli effetti della Legge 30 Giugno 2003 N.196, la quale tutela la riservatezza dei dati personali, Vi informiamo che i dati personali forniti alla Fondazione Italiana Endometriosi – ONLUS attraverso questo sito verranno utilizzati esclusivamente per gli scopi di volta in volta esplicitati e per tenervi aggiornati, se lo vorrete, sulle novità, promozioni, concorsi e sulle nostre attività in genere. Avrete comunque la facoltà di richiedere la cancellazione o la correzione dei dati in nostro possesso. Confermiamo, inoltre, che tali dati non vengono comunicati a terzi né vengono diffusi. Tali dati verranno utilizzati a fini statistici in forma anonima e aggregata."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"DIRITTI DELL'INTERESSATO"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Informiamo altresì che responsabile del trattamento dei dati personali è Fondazione Italiana Endometriosi – ONLUS con sede in Via Aurelia, 559 – 00165 Roma. Ogni Interessato può esercitare tutti i diritti previsti dalla legge n.196/2003, che gli consente di chiedere conferma dell'esistenza dei suoi dati, la loro visione, aggiornamento, integrazione o cancellazione."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"ESTRATTO DELL'ARTICOLO 7 LEGGE 196/2003"}),n.jsxs("div",{className:"space-y-4 text-gray-700",children:[n.jsxs("p",{children:[n.jsx("strong",{children:"1."})," L'interessato ha diritto di ottenere la conferma dell'esistenza o meno di dati personali che lo riguardano, anche se non ancora registrati, e la loro comunicazione in forma intelligibile."]}),n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2",children:[n.jsx("strong",{children:"2."})," L'interessato ha diritto di ottenere l'indicazione:"]}),n.jsxs("ul",{className:"list-disc pl-8 space-y-1",children:[n.jsx("li",{children:"Dell'origine dei dati personali."}),n.jsx("li",{children:"Delle finalità e modalità del trattamento."}),n.jsx("li",{children:"Della logica applicata in caso di trattamento effettuato con l'ausilio di strumenti elettronici."}),n.jsx("li",{children:"Degli estremi identificativi del titolare, dei responsabili e del rappresentante designato ai sensi dell'articolo 5, comma 2."}),n.jsx("li",{children:"Dei soggetti o delle categorie di soggetti ai quali i dati personali possono essere comunicati o che possono venirne a conoscenza in qualità di rappresentante designato nel territorio dello Stato, di responsabili o incaricati."})]})]}),n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2",children:[n.jsx("strong",{children:"3."})," L'interessato ha diritto di ottenere:"]}),n.jsxs("ul",{className:"list-disc pl-8 space-y-1",children:[n.jsx("li",{children:"L'aggiornamento, la rettificazione ovvero, quando vi ha interesse, l'integrazione dei dati."}),n.jsx("li",{children:"La cancellazione, la trasformazione in forma anonima o il blocco dei dati trattati in violazione di legge, compresi quelli di cui non è necessaria la conservazione in relazione agli scopi per i quali i dati sono stati raccolti o successivamente trattati."}),n.jsx("li",{children:"L'attestazione che le operazioni di cui alle lettere a) e b) sono state portate a conoscenza, anche per quanto riguarda il loro contenuto, di coloro ai quali i dati sono stati comunicati o diffusi, eccettuato il caso in cui tale adempimento si rivela impossibile o comporta un impiego di mezzi manifestamente sproporzionato rispetto al diritto tutelato."})]})]}),n.jsxs("div",{children:[n.jsxs("p",{className:"mb-2",children:[n.jsx("strong",{children:"4."})," L'interessato ha diritto di opporsi, in tutto o in parte:"]}),n.jsxs("ul",{className:"list-disc pl-8 space-y-1",children:[n.jsx("li",{children:"Per motivi legittimi al trattamento dei dati personali che lo riguardano, ancorché pertinenti allo scopo della raccolta."}),n.jsx("li",{children:"Al trattamento di dati personali che lo riguardano a fini di invio di materiale pubblicitario o di vendita diretta o per il compimento di ricerche di mercato o di comunicazione commerciale."})]})]})]})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"COMUNICAZIONI VIA E-MAIL"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Fondazione Italiana Endometriosi – ONLUS non desidera inviare comunicazioni via e-mail ai propri Clienti senza il loro specifico consenso."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"COOKIES"}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:`Al fine di rendere i propri servizi il più possibile efficienti e semplici da utilizzare, questo Sito fa uso di cookies. Pertanto, quando si visita il Sito, viene inserita una quantità minima di informazioni nel dispositivo dell'Utente, come piccoli file di testo chiamati "cookie", che vengono salvati nella directory del browser Web dell'Utente. Esistono diversi tipi di cookie, ma sostanzialmente lo scopo principale di un cookie è quello di far funzionare più efficacemente il Sito e di abilitarne determinate funzionalità.`}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-3",children:"I cookie sono utilizzati per migliorare la navigazione globale dell'Utente. In particolare:"}),n.jsxs("ul",{className:"list-disc pl-6 space-y-1 text-gray-700 mb-4",children:[n.jsx("li",{children:"Consentono di navigare in modo efficie
61nte da una pagina all'altra del sito Web."}),n.jsx("li",{children:"Memorizzano il nome utente e le preferenze inserite."}),n.jsx("li",{children:"Consentono di evitare di inserire le stesse informazioni (come nome utente e password) più volte durante la visita."}),n.jsx("li",{children:"Misurano l'utilizzo dei servizi da parte degli Utenti, per ottimizzare l'esperienza di navigazione e i servizi stessi."})]}),n.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Esistono vari tipi di cookie. Qui di seguito sono riportati i tipi cookie che possono essere utilizzati nel Sito con una descrizione della finalità legata all'uso."}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs("div",{className:"border-l-4 border-green-500 pl-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-2",children:"Cookie tecnici"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"I cookie di questo tipo sono necessari per il corretto funzionamento di alcune aree del sito. I cookie di questa categoria comprendono sia cookie persistenti che cookie di sessione. In assenza di tali cookie, il sito o alcune porzioni di esso potrebbero non funzionare correttamente. Pertanto, vengono sempre utilizzati, indipendentemente dalle preferenze dall'utente. I cookie di questa categoria vengono sempre inviati dal nostro dominio."})]}),n.jsxs("div",{className:"border-l-4 border-green-500 pl-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-2",children:"Cookie analitici"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"I cookie di questo tipo vengono utilizzati per raccogliere informazioni sull'utilizzo del sito. Il Titolare usa tali informazioni per analisi statistiche, per migliorare il sito e semplificarne l'utilizzo, oltre che per monitorarne il corretto funzionamento. Questo tipo di cookie raccoglie informazioni in forma anonima sull'attività degli utenti nel sito e sul modo in cui sono arrivati al Sito e alle pagine visitate. I cookie di questa categoria vengono inviati dal Sito stesso o da domini di terze parti."})]}),n.jsxs("div",{className:"border-l-4 border-green-500 pl-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-2",children:"Cookie di rilevamento di terze parti"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"I cookie di questo tipo vengono utilizzati per raccogliere informazioni sull'utilizzo del sito Web da parte dei visitatori, le parole chiave usate per raggiungere il sito, i siti Web visitati e le origini del traffico da cui provengono i visitatori per le campagne di marketing. Il titolare può utilizzare tali informazioni per compilare rapporti e migliorare il Sito. I cookie raccolgono informazioni in forma anonima. I cookie di questo tipo vengono inviati dal Sito stesso o da domini di terze parti."})]}),n.jsxs("div",{className:"border-l-4 border-green-500 pl-4",children:[n.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-2",children:"Cookie per l'integrazione di funzionalità di terze parti"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"I cookie di questo tipo vengono utilizzati per integrare funzionalità di terze parti nel Sito (ad esempio, moduli per i commenti o icone di social network che consentono ai visitatori di condividere il contenuto del sito). I cookie di questa categoria possono essere inviati dai domini dei siti partner o che comunque offrono le funzionalità presenti nel sito."})]})]}),n.jsx("p",{className:"text-gray-700 leading-relaxed mt-4",children:"Il Titolare non è tenuto a richiedere il consenso dell'utente per i cookie tecnici, poiché questi sono strettamente necessari per la fornitura del servizio. Per le altre tipologie di cookie il consenso può essere espresso dall'Utente, conformemente alla normativa vigente, mediante specifiche configurazioni del browser e di programmi informatici o di dispositivi che siano di facile e chiara utilizzabilità per l'Utente. Il Titolare ricorda all'Utente che è possibile modificare le preferenze relative ai cookie in qualsiasi momento. È anche possibile disabilitare in qualsiasi momento i cookie dal browser, ma questa operazione potrebbe impedire all'Utente di utilizzare alcune parti del Sito."})]}),n.jsxs("section",{children:[n.jsx("h3",{className:"text-xl font-semibold text-green-700 mb-3",children:"Siti Web di terze parti"}),n.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Il sito di contiene collegamenti ad altri siti Web che dispongono di una propria informativa sulla privacy. Queste informative sulla privacy possono essere diverse da quella adottata dal Titolare, che quindi non risponde per Siti di terze parti. Ai sensi dell'art. 122 secondo comma del D.lgs. 196/2003 il consenso all'utilizzo di tali cookie è espresso dall'interessato mediante il settaggio individuale che ha scelto liberamente per il browser utilizzato per la navigazione nel sito, ferma restando la facoltà dell'utente di comunicare in ogni momento al Titolare del trattamento la propria volontà in merito ad dati gestiti per il tramite dei cookie che il browser stesso abbia accettato."})]})]})}),n.jsx("div",{className:"bg-gray-100 py-8",children:n.jsx("div",{className:"max-w-4xl mx-auto px-6 text-center",children:n.jsxs("p",{className:"text-gray-600 text-sm",children:["Fondazione Italiana Endometriosi - ONLUS",n.jsx("br",{}),"Via Aurelia, 559 - 00165 Roma",n.jsx("br",{}),"P.IVA: 0945400100"]})})})]})}const X={rose:"#f3948f",roseDark:"#a96b6c",green:"#7ab87a",cream:"#fffcf0",text:"#4a3f3f",textLight:"#8a7a7a"};function Aa(a=0){const[l,o]=w.useState(!1);return w.useEffect(()=>{const r=setTimeout(()=>
61o(!0),a);return()=>clearTimeout(r)},[a]),l}function yn({children:a,className:l}){return n.jsxs("div",{className:l,style:{display:"flex",alignItems:"center",gap:10,marginBottom:12},children:[n.jsx("div",{style:{width:28,height:2,background:`linear-gradient(90deg, ${X.rose}, transparent)`}}),n.jsx("span",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.22em",textTransform:"uppercase",color:X.roseDark,fontFamily:"'DM Sans', sans-serif"},children:a})]})}function Rl({children:a,gradient:l,style:o}){return n.jsxs("div",{style:{borderRadius:22,overflow:"hidden",background:"rgba(255,255,255,0.72)",backdropFilter:"blur(14px)",border:"1px solid rgba(169,107,108,0.1)",boxShadow:"0 4px 24px rgba(0,0,0,0.05)",...o},children:[n.jsx("div",{style:{height:2.5,background:l||`linear-gradient(90deg, transparent 3%, ${X.rose} 25%, ${X.roseDark} 75%, transparent 97%)`}}),a]})}function u5(){const[a,l]=w.useState(!1),o=Aa(360);return n.jsxs("a",{href:"tel:3318427701",onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),style:{display:"flex",alignItems:"center",gap:14,padding:"14px 20px",borderRadius:14,background:a?"rgba(255,255,255,0.95)":"rgba(255,255,255,0.72)",border:`1px solid ${a?X.green+"60":"rgba(169,107,108,0.1)"}`,boxShadow:a?`0 6px 28px ${X.green}20`:"0 2px 10px rgba(0,0,0,0.04)",textDecoration:"none",backdropFilter:"blur(10px)",transform:o?a?"translateY(-2px)":"translateY(0)":"translateY(12px)",opacity:o?1:0,transition:"all 0.5s cubic-bezier(0.16,1,0.3,1)"}
61,children:[n.jsx("div",{style:{width:42,height:42,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:`${X.green}12`,border:`1.5px solid ${X.green}35`,flexShrink:0},children:n.jsx(Yj,{style:{width:18,height:18,color:X.green}})}),n.jsxs("div",{children:[n.jsx("div",{style:{fontSize:9,fontWeight:700,letterSpacing:"0.2em",textTransform:"uppercase",color:X.roseDark,fontFamily:"'DM Sans', sans-serif",marginBottom:2},children:"Telefono Help Line"}),n.jsx("div",{style:{fontSize:16,fontWeight:600,color:X.text,fontFamily:"'DM Sans', sans-serif"},children:"331 8427701"})]}),n.jsx("div",{style:{marginLeft:"auto",opacity:a?1:0,transform:a?"translate(0,0)":"translate(-3px,3px)",transition:"all 0.3s ease",flexShrink:0},children:n.jsx(ex,{style:{width:16,height:16,color:X.green}})})]})}function d5({label:a,address:l,isLast:o}){const[r,d]=w.useState(!1);return n.jsxs("a",{href:`mailto:${l}`,onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"11px 0",borderBottom:o?"none":"1px solid rgba(169,107,108,0.08)",textDecoration:"none"},children:[n.jsx("span",{style:{fontSize:13,color:X.textLight,fontFamily:"'DM Sans', sans-serif",fontWeight:500},children:a}),n.jsx("span",{style:{fontSize:13,fontWeight:600,color:r?X.rose:X.text,fontFamily:"'DM Sans', sans-serif",transition:"color 0.25s"},children:l})]})}function f5(){const a=Aa(0),l=Aa(220),o=Aa(400),r=Aa(560),d=Aa(720),f=Aa(880),m=p=>({opacity:p?1:0,transform:p?"translateY(0)":"translateY(16px)",transition:"all 0.7s cubic-bezier(0.16,1,0.3,1)"});return n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:X.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",position:"relative",overflow:"hidden"},children:[n.jsxs("svg",{style:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0},children:[n.jsxs("defs",{children:[n.jsx("filter",{id:"b1",children:n.jsx("feGaussianBlur",{stdDeviation:"55"})}),n.jsx("filter",{id:"b2",children:n.jsx("feGaussianBlur",{stdDeviation:"70"})}),n.jsx("filter",{id:"b3",children:n.jsx("feGaussianBlur",{stdDeviation:"45"})})]}),n.jsx("ellipse",{cx:"8%",cy:"10%",rx:"210",ry:"170",fill:X.green,opacity:"0.08",filter:"url(#b1)"}),n.jsx("ellipse",{cx:"90%",cy:"25%",rx:"190",ry:"230",fill:X.rose,opacity:"0.06",filter:"url(#b2)"}),n.jsx("ellipse",{cx:"48%",cy:"80%",rx:"250",ry:"170",fill:X.roseDark,opacity:"0.05",filter:"url(#b3)"}),n.jsx("ellipse",{cx:"15%",cy:"65%",rx:"150",ry:"110",fill:X.green,opacity:"0.04",filter:"url(#b1)"})]}),n.jsxs("div",{style:{position:"relative",zIndex:1,maxWidth:960,margin:"0 auto",padding:"44px 12px 44px"},children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:34,...m(a)},children:[n.jsx(En,{style:{width:18,height:18,color:X.rose,margin:"0 auto 12px"},fill:X.rose}),n.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:10,marginBottom:16},children:[n.jsx("div",{style:{height:1,width:42,background:`linear-gradient(90deg, transparent, ${X.roseDark})`}}),n.jsx("div",{style:{width:6,height:6,borderRadius:"50%",backgroundColor:X.rose}}),n.jsx("div",{style:{height:1,width:42,background:`linear-gradient(270deg, transparent, ${X.roseDark})`}})]}),n.jsx("h1",{className:"font-avenir",style:{fontSize:33,fontWeight:300,color:X.roseDark,letterSpacing:"0.06em",lineHeight:1.3,marginBottom:2},children:"Fondazione Italiana"}),n.jsx("h1",{className:"font-avenir",style:{fontSize:33,fontWeight:700,color:X.roseDark,letterSpacing:"0.04em",lineHeight:1.3},children:"Endometriosi"}),n.jsx("p",{className:"font-avenir",style:{fontSize:14,color:X.textLight,fontFamily:"'DM Sans', sans-serif",marginTop:16,maxWidth:560,margin:"16px auto 0",lineHeight:1.65},children:"Siamo a tua disposizione per informazioni, aiuto e suggerimenti. Contattaci attraverso uno dei seguenti canali."})]}),n.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:14,marginBottom:14},children:[n.jsx("div",{style:{...m(l)},children:n.jsx(Rl,{gradient:`linear-gradient(90deg, transparent 3%, ${X.green} 25%, ${X.rose} 75%, transparent 97%)`,style:{height:"100%"},children:n.jsxs("div",{className:"font-avenir",style:{padding:"24px 24px 22px",display:"flex",flexDirection:"column",height:"100%"},children:[n.jsx(yn,{children:"Help Line Endometriosi"}),n.jsx(u5,{}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12,marginTop:16,paddingTop:16,borderTop:"1px solid rgba(122,184,122,0.18)"},children:[n.jsx("div",{style:{width:36,height:36,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:`${X.green}12`,border:`1.5px solid ${X.green}35`,flexShrink:0},children:n.jsx(pg,{style:{width:16,height:16,color:X.green}})}),n.jsx("span",{style:{flex:1,fontSize:12,color:X.textLight,fontFamily:"'DM Sans', sans-serif"},children:"Lunedì – Venerdì"}),n.jsx("div",{style:{borderRadius:20,padding:"5px 15px",background:`linear-gradient(135deg, ${X.green}15, ${X.green}08)`,border:`1px solid ${X.green}30`},children:n.jsx("span",{style:{fontSize:13,fontWeight:700,color:X.green,fontFamily:"'DM Sans', sans-serif"},children:"10:00 – 18:00"})})]}),n.jsx("p",{className:"font-avenir",style:{fontSize:12,color:X.textLight,fontFamily:"'DM Sans', sans-serif",marginTop:14,lineHeight:1.65,paddingLeft:48,flex:1}
61,children:"Risponde il nostro staff (volontarie formate e personale medico) per indirizzarti verso i servizi adeguati o per un primo supporto."})]})})}),n.jsx("div",{style:{...m(o)},children:n.jsx(Rl,{style:{height:"100%"},children:n.jsxs("div",{style:{padding:"24px 24px 22px",display:"flex",flexDirection:"column",height:"100%"},children:[n.jsx(yn,{children:"Email Generali"}),[{label:"Informazioni generali",address:"[email protected]"},{label:"Supporto associazione",address:"[email protected]"},{label:"Donazioni & fundraising",address:"[email protected]"},{label:"Ufficio Stampa",address:"[email protected]",isLast:!0}].map(({label:p,address:g,isLast:x})=>n.jsx("div",{onClick:()=>window.location.href=`mailto:${g}`,style:{cursor:"pointer"},className:"font-avenir",children:n.jsx(d5,{label:p,address:g,isLast:x})},p)),n.jsx("div",{style:{marginTop:"auto",paddingTop:14},children:n.jsxs("div",{style:{padding:"10px 14px",borderRadius:10,background:`${X.rose}08`,border:`1px solid ${X.rose}20`,display:"flex",alignItems:"center",gap:8},children:[n.jsx(pg,{style:{width:13,height:13,color:X.rose,flexShrink:0}}),n.jsx("span",{className:"font-avenir",style:{fontSize:11.5,color:X.roseDark,fontFamily:"'DM Sans', sans-serif",fontWeight:500},children:"Risposta entro 2 giorni lavorativi."})]})})]})})})]}),n.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:14,marginBottom:14,...m(r)},children:[n.jsx(Rl,{gradient:`linear-gradient(90deg, transparent 5%, ${X.roseDark} 40%, ${X.roseDark} 60%, transparent 95%)`,children:n.jsxs("div",{style:{padding:"22px 22px 20px"},children:[n.jsx(yn,{children:"Sede Legale & Amministrativa"}),n.jsxs("div",{style:{display:"flex",gap:12,alignItems:"flex-start"},children:[n.jsx("div",{style:{width:38,height:38,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${X.roseDark}, ${X.rose})`},children:n.jsx(gg,{style:{width:17,height:17,color:"#fff"}})}),n.jsxs("div",{children:[n.jsx("p",{style:{fontSize:13.5,fontWeight:600,color:X.text,fontFamily:"'DM Sans', sans-serif",lineHeight:1.5},children:"Fondazione Italiana Endometriosi"}),n.jsxs("p",{style:{fontSize:12.5,color:X.textLight,fontFamily:"'DM Sans', sans-serif",marginTop:5,lineHeight:1.6},children:["Via degli Olmetti 46",n.jsx("br",{}),"00060 Formello (RM), Italia"]}),n.jsx("div",{style:{marginTop:10,padding:"5px 10px",borderRadius:8,background:`${X.roseDark}08`,border:`1px solid ${X.roseDark}18`,display:"inline-block"},children:n.jsx("span",{className:"font-avenir",style:{fontSize:10.5,color:X.roseDark,fontFamily:"'DM Sans', sans-serif",fontWeight:500},children:"Non aperta al pubblico senza appuntamento"})})]})]})]})}),n.jsx(Rl,{gradient:`linear-gradient(90deg, transparent 3%, ${X.green} 30%, ${X.rose} 70%, transparent 97%)`,children:n.jsxs("div",{style:{padding:"22px 22px 20px"},children:[n.jsx(yn,{children:"Centro Italiano Endometriosi"}),n.jsxs("div",{style:{display:"flex",gap:12,alignItems:"flex-start"},children:[n.jsx("div",{style:{width:38,height:38,borderRadius:"50%",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${X.green}, ${X.rose})`},children:n.jsx(gg,{style:{width:17,height:17,color:"#fff"}})}),n.jsxs("div",{style:{minWidth:0},children:[n.jsx("p",{className:"font-avenir",style:{fontSize:11,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.12em",color:X.green,fontFamily:"'DM Sans', sans-serif",marginBottom:3},children:"Poliambulatorio"}),n.jsxs("p",{className:"font-avenir",style:{fontSize:12.5,color:X.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.55},children:["Via A. Bertoloni 34, 00197 Roma",n.jsx("br",{}),n.jsx("span",{style:{fontStyle:"italic",fontSize:11.5},children:"c/o Clinica XX – zona Parioli"})]}),n.jsx("p",{className:"font-avenir",style:{fontSize:11,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.12em",color:X.rose,fontFamily:"'DM Sans', sans-serif",marginTop:11,marginBottom:3},children:"Chirurgia & Ricoveri"}),n.jsxs("p",{className:"font-avenir",style:{fontSize:12.5,color:X.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.55},children:["Via Aurelia 559, 00165 Roma",n.jsx("br",{}),n.jsx("span",{style:{fontStyle:"italic",fontSize:11.5},children:"c/o Casa di Cura YY – zona Aurelio"})]}),n.jsxs("div",{style:{marginTop:12,paddingTop:10,borderTop:"1px solid rgba(122,184,122,0.2)",display:"flex",flexDirection:"column",gap:3},children:[n.jsx("a",{href:"mailto:[email protected]",style:{fontSize:12,color:X.rose,fontFamily:"'DM Sans', sans-serif",fontWeight:600,textDecoration:"none"},children:"[email protected]"}),n.jsx("span",{style:{fontSize:11,color:X.textLight,fontFamily:"'DM Sans', sans-serif"},children:"Telefono: 331 8427701 (interno 2)"})]})]})]})]})})]}),n.jsx("div",{style:{marginBottom:16,...m(d)},children:n.jsx(Rl,{gradient:`linear-gradient(90deg, transparent 3%, ${X.rose} 20%, ${X.green} 50%, ${X.rose} 80%, transparent 97%)`,children:n.jsxs("div",{style:{padding:"24px 24px 22px"},children:[n.jsx(yn,{children:"Seguici"}),n.jsx("div",{style:{display:"flex",gap:10,marginBottom:14,flexWrap:"wrap"},children:[{Icon:ax,label:"Facebook",col:X.roseDark,link:"https://www.facebook.com/FondazioneItalianaEndometriosi/"},{Icon:lx,label:"Instagram",col:X.rose,link:"https://www.instagram.com/endometriosi_fie/"},{Icon:ox,label:"YouTube",col:X.green,link:"https://www.youtube.com/channel/UC
61QgHuBr7x3Mp64iFt-nFunQ"}].map(({Icon:p,label:g,col:x,link:v})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"8px 14px",borderRadius:10,background:`${x}0a`,border:`1px solid ${x}25`,cursor:"pointer"},children:[n.jsxs("a",{href:v,target:"__blank",children:[" ",n.jsx(p,{style:{width:15,height:15,color:x}}),n.jsx("span",{style:{fontSize:12,fontWeight:600,color:x,fontFamily:"'DM Sans', sans-serif"},children:g})]})," "]},g))}),n.jsx("p",{className:"font-avenir",style:{fontSize:12,color:X.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.65,marginBottom:18},children:"La community virtuale è attiva e risponde ai messaggi privati."}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:18},children:[n.jsx("div",{style:{flex:1,height:1,background:`linear-gradient(90deg, ${X.roseDark}25, transparent)`}}),n.jsx("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:X.green}}),n.jsx("div",{style:{flex:1,height:1,background:`linear-gradient(270deg, ${X.roseDark}25, transparent)`}})]}),n.jsx(yn,{children:"Newsletter"}),n.jsx("p",{className:"font-avenir",style:{fontSize:12,color:X.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.65},children:"Iscriviti lasciando il tuo indirizzo email (trovi il form in fondo ad ogni pagina). Ti invieremo periodicamente notizie su progressi della ricerca, eventi e consigli pratici."})]})})}),n.jsx("div",{style:{...m(f)},children:n.jsxs("div",{style:{borderRadius:22,background:`linear-gradient(145deg, ${X.rose}f5, ${X.roseDark}ee)`,boxShadow:`0 8px 36px ${X.rose}35`,padding:"36px 28px",textAlign:"center"},children:[n.jsx(En,{style:{width:22,height:22,color:"rgba(255,255,255,0.45)",margin:"0 auto 18px"},fill:"rgba(255,255,255,0.45)"}),n.jsx("p",{style:{fontSize:20,fontWeight:300,color:"#fff",letterSpacing:"0.02em",lineHeight:1.5,marginBottom:6},children:"Hai dubbi? Domande specifiche?"}),n.jsxs("p",{style:{fontSize:20,fontWeight:700,color:"#fff",letterSpacing:"0.02em",lineHeight:1.5,marginBottom:18},children:["Scrivici senza esitazione.",n.jsx("br",{}),"Siamo qui per questo."]}),n.jsx("div",{style:{width:38,height:1.5,background:"rgba(255,255,255,0.35)",margin:"0 auto 18px",borderRadius:1}}),n.jsx("p",{className:"font-avenir",style:{fontSize:12.5,color:"rgba(255,255,255,0.78)",fontFamily:"'DM Sans', sans-serif",lineHeight:1.8,maxWidth:580,margin:"0 auto"},children:"Il confronto con le persone è fondamentale per migliorare i servizi offerti e capire le reali esigenze di chi convive con l'endometriosi. Insieme possiamo trovare soluzioni e far sentire ogni donna ascoltata, compresa e supportata."}),n.jsx("p",{className:"font-avenir",style:{fontSize:13,fontWeight:600,color:"#fff",fontFamily:"'DM Sans', sans-serif",marginTop:22,letterSpacing:"0.04em"},children:"La Fondazione Italiana Endometriosi è la tua Fondazione."})]})})]})]})}const rx=w.createContext({});function m5(a){const l=w.useRef(null);return l.current===null&&(l.current=a()),l.current}const cx=typeof window<"u",h5=cx?w.useLayoutEffect:w.useEffect,yd=w.createContext(null);function bd(a,l){a.indexOf(l)===-1&&a.push(l)}function jd(a,l){const o=a.indexOf(l);o>-1&&a.splice(o,1)}const si=(a,l,o)=>o>l?l:o<a?a:o;let Sd=()=>{};const Ci={},ux=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function dx(a){return typeof a=="object"&&a!==null}const fx=a=>/^0[^.\s]+$/u.test(a);function wd(a){let l;return()=>(l===void 0&&(l=a()),l)}const It=a=>a,p5=(a,l)=>o=>l(a(o)),es=(...a)=>a.reduce(p5),Pl=(a,l,o)=>{const r=l-a;return r===0?1:(o-a)/r};class zd{constructor(){this.subscriptions=[]}add(l){return bd(this.subscriptions,l),()=>jd(this.subscriptions,l)}notify(l,o,r){const d=this.subscriptions.length;if(d)if(d===1)this.subscriptions[0](l,o,r);else for(let f=0;f<d;f++){const m=this.subscriptions[f];m&&m(l,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ei=a=>a*1e3,Pt=a=>a/1e3;function mx(a,l){return l?a*(1e3/l):0}const hx=(a,l,o)=>(((1-3*o+3*l)*a+(3*o-6*l))*a+3*l)*a,g5=1e-7,x5=12;function v5(a,l,o,r,d){let f,m,p=0;do m=l+(o-l)/2,f=hx(m,r,d)-a,f>0?o=m:l=m;
vendor: 91,392 bytes, line 61
61while(Math.abs(f)>g5&&++p<x5);return m}function ts(a,l,o,r){if(a===l&&o===r)return It;const d=f=>v5(f,0,1,a,o);return f=>f===0||f===1?f:hx(d(f),l,r)}const px=a=>l=>l<=.5?a(2*l)/2:(2-a(2*(1-l)))/2,gx=a=>l=>1-a(1-l),xx=ts(.33,1.53,.69,.99),Nd=gx(xx),vx=px(Nd),yx=a=>(a*=2)<1?.5*Nd(a):.5*(2-Math.pow(2,-10*(a-1))),Td=a=>1-Math.sin(Math.acos(a)),bx=gx(Td),jx=px(Td),y5=ts(.42,0,1,1),b5=ts(0,0,.58,1),Sx=ts(.42,0,.58,1),j5=a=>Array.isArray(a)&&typeof a[0]!="number",wx=a=>Array.isArray(a)&&typeof a[0]=="number",S5={linear:It,easeIn:y5,easeInOut:Sx,easeOut:b5,circIn:Td,circInOut:jx,circOut:bx,backIn:Nd,backInOut:vx,backOut:xx,anticipate:yx},w5=a=>typeof a=="string",yg=a=>{if(wx(a)){Sd(a.length===4);const[l,o,r,d]=a;return ts(l,o,r,d)}else if(w5(a))return S5[a];return a},zo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function z5(a,l){let o=new Set,r=new Set,d=!1,f=!1;const m=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function g(v){m.has(v)&&(x.schedule(v),a()),v(p)}const x={schedule:(v,b=!1,j=!1)=>{const k=j&&d?o:r;return b&&m.add(v),k.has(v)||k.add(v),v},cancel:v=>{r.delete(v),m.delete(v)},process:v=>{if(p=v,d){f=!0;return}d=!0,[o,r]=[r,o],o.forEach(g),o.clear(),d=!1,f&&(f=!1,x.process(v))}};return x}const N5=40;function zx(a,l){let o=!1,r=!0;const d={delta:0,timestamp:0,isProcessing:!1},f=()=>o=!0,m=zo.reduce((M,F)=>(M[F]=z5(f),M),{}),{setup:p,read:g,resolveKeyframes:x,preUpdate:v,update:b,preRender:j,render:E,postRender:k}=m,L=()=>{const M=Ci.useManualTiming?d.timestamp:performance.now();o=!1,Ci.useManualTiming||(d.delta=r?1e3/60:Math.max(Math.min(M-d.timestamp,N5),1)),d.timestamp=M,d.isProcessing=!0,p.process(d),g.process(d),x.process(d),v.process(d),b.process(d),j.process(d),E.process(d),k.process(d),d.isProcessing=!1,o&&l&&(r=!1,a(L))},B=()=>{o=!0,r=!0,d.isProcessing||a(L)};return{schedule:zo.reduce((M,F)=>{const P=m[F];return M[F]=(ae,Z=!1,ee=!1)=>(o||B(),P.schedule(ae,Z,ee)),M},{}),cancel:M=>{for(let F=0;F<zo.length;F++)m[zo[F]].cancel(M)},state:d,steps:m}}const{schedule:Oe,cancel:la,state:rt,steps:wu}=zx(typeof requestAnimationFrame<"u"?requestAnimationFrame:It,!0);let Ro;function T5(){Ro=void 0}const mt={now:()=>(Ro===void 0&&mt.set(rt.isProcessing||Ci.useManualTiming?rt.timestamp:performance.now()),Ro),set:a=>{Ro=a,queueMicrotask(T5)}},Nx=a=>l=>typeof l=="string"&&l.startsWith(a),Tx=Nx("--"),E5=Nx("var(--"),Ed=a=>E5(a)?A5.test(a.split("/*")[0].trim()):!1,A5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function bg(a){return typeof a!="string"?!1:a.split("/*")[0].includes("var(--")}const Rn={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},Xl={...Rn,transform:a=>si(0,1,a)},No={...Rn,default:1},Hl=a=>Math.round(a*1e5)/1e5,Ad=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function C5(a){return a==null}const D5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cd=(a,l)=>o=>!!(typeof o=="string"&&D5.test(o)&&o.startsWith(a)||l&&!C5(o)&&Object.prototype.hasOwnProperty.call(o,l)),Ex=(a,l,o)=>r=>{if(typeof r!="string")return r;const[d,f,m,p]=r.match(Ad);return{[a]:parseFloat(d),[l]:parseFloat(f),[o]:parseFloat(m),alpha:p!==void 0?parseFloat(p):1}},M5=a=>si(0,255,a),zu={...Rn,transform:a=>Math.round(M5(a))},Da={test:Cd("rgb","red"),parse:Ex("red","green","blue"),transform:({red:a,green:l,blue:o,alpha:r=1})=>"rgba("+zu.transform(a)+", "+zu.transform(l)+", "+zu.transform(o)+", "+Hl(Xl.transform(r))+")"};function R5(a){let l="",o="",r="",d="";return a.length>5?(l=a.substring(1,3),o=a.substring(3,5),r=a.substring(5,7),d=a.substring(7,9)):(l=a.substring(1,2),o=a.substring(2,3),r=a.substring(3,4),d=a.substring(4,5),l+=l,o+=o,r+=r,d+=d),{red:parseInt(l,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:d?parseInt(d,16)/255:1}}const Pu={test:Cd("#"),parse:R5,transform:Da.transform},is=a=>({test:l=>typeof l=="string"&&l.endsWith(a)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${a}`}),ia=is("deg"),li=is("%"),K=is("px"),k5=is("vh"),L5=is("vw"),jg={...li,parse:a=>li.parse(a)/100,transform:a=>li.transform(a*100)},Sn={test:Cd("hsl","hue"),parse:Ex("hue","saturation","lightness"),transform:({hue:a,saturation:l,lightness:o,alpha:r=1})=>"hsla("+Math.round(a)+", "+li.transform(Hl(l))+", "+li.transform(Hl(o))+", "+Hl(Xl.transform(r))+")"},Ze={test:a=>Da.test(a)||Pu.test(a)||Sn.test(a),parse:a=>Da.test(a)?Da.parse(a):Sn.test(a)?Sn.parse(a):Pu.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?Da.transform(a):Sn.transform(a),getAnimatableNone:a=>{const l=Ze.parse(a);return l.alpha=0,Ze.transform(l)}},O5=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function B5(a){return isNaN(a)&&typeof a=="string"&&(a.match(Ad)?.length||0)+(a.match(O5)?.length||0)>0}const Ax="number",Cx="color",_5="var",V5="var(",Sg="${}",U5=/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 Il(a){const l=a.toString(),o=[],r={color:[],number:[],var:[]},d=[];let f=0;const p=l.replace(U5,g=>(Ze.test(g)?(r.color.push(f),d.push(Cx),o.push(Ze.parse(g))):g.startsWith(V5)?(r.var.push(f),d.push(_5),o.push(g)):(r.number.push(f),d.push(Ax),o.push(parseFloat(g))),++f,Sg)).split(Sg);return{values:o,split:p,indexes:r,types:d}}function Dx(a){return Il(a).values}function Mx(a){const{split:l,types:o}=Il(a),r=l.length;return d=>{let f="";for(let m=0;m<r;m++)if(f+=l[m],d[m]!==void 0){const p=o[m];p===Ax?f+=Hl(d[m]):p===Cx?f+=Ze.transform(d[m]):f+=d[m]}return f}}const H5=a=>typeof a=="number"?0:Ze.test(a)?Ze.getAnimatableNone(a):a;function q5(a){const l=Dx(a);return Mx(a)(l.map(H5))}const sa={test:B5,parse:Dx,createTransformer:Mx,getAnimatableNone:q5};function Nu(a,l,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?a+(l-a)*6*o:o<1/2?l:o<2/3?a+(l-a)*(2/3-o)*6:a}function G5({hue:a,saturation:l,lightness:o,alpha:r}){a/=360,l/=100,o/=100;let d=0,f=0,m=0;if(!l)d=f=m=o;else{const p=o<.5?o*(1+l):o+l-o*l,g=2*o-p;d=Nu(g,p,a+1/3),f=Nu(g,p,a),m=Nu(g,p,a-1/3)}return{red:Math.round(d*255),green:Math.round(f*255),blue:Math.round(m*255),alpha:r}}function Vo(a,l){return o=>o>0?l:a}const Ve=(a,l,o)=>a+(l-a)*o,Tu=(a,l,o)=>{const r=a*a,d=o*(l*l-r)+r;return d<0?0:Math.sqrt(d)},Y5=[Pu,Da,Sn],F5=a=>Y5.find(l=>l.test(a));function wg(a){const l=F5(a);if(!l)return!1;let o=l.parse(a);return l===Sn&&(o=G5(o)),o}const zg=(a,l)=>{const o=wg(a),r=wg(l);if(!o||!r)return Vo(a,l);const d={...o};return f=>(d.red=Tu(o.red,r.red,f),d.green=Tu(o.green,r.green,f),d.blue=Tu(o.blue,r.blue,f),d.alpha=Ve(o.alpha,r.alpha,f),Da.transform(d))},Xu=new Set(["none","hidden"]);function P5(a,l){return Xu.has(a)?o=>o<=0?a:l:o=>o>=1?l:a}function X5(a,l){return o=>Ve(a,l,o)}function Dd(a){return typeof a=="number"?X5:typeof a=="string"?Ed(a)?Vo:Ze.test(a)?zg:K5:Array.isArray(a)?Rx:typeof a=="object"?Ze.test(a)?zg:I5:Vo}function Rx(a,l){const o=[...a],r=o.length,d=a.map((f,m)=>Dd(f)(f,l[m]));return f=>{for(let m=0;m<r;m++)o[m]=d[m](f);return o}}function I5(a,l){const o={...a,...l},r={};for(const d in o)a[d]!==void 0&&l[d]!==void 0&&(r[d]=Dd(a[d])(a[d],l[d]));return d=>{for(const f in r)o[f]=r[f](d);return o}}function Q5(a,l){const o=[],r={color:0,var:0,number:0};for(let d=0;d<l.values.length;d++){const f=l.types[d],m=a.indexes[f][r[f]],p=a.values[m]??0;o[d]=p,r[f]++}return o}const K5=(a,l)=>{const o=sa.createTransformer(l),r=Il(a),d=Il(l);return r.indexes.var.length===d.indexes.var.length&&r.indexes.color.length===d.indexes.color.length&&r.indexes.number.length>=d.indexes.number.length?Xu.has(a)&&!d.values.length||Xu.has(l)&&!r.values.length?P5(a,l):es(Rx(Q5(r,d),d.values),o):Vo(a,l)};function kx(a,l,o){return typeof a=="number"&&typeof l=="number"&&typeof o=="number"?Ve(a,l,o):Dd(a)(a,l)}const Z5=a=>{const l=({timestamp:o})=>a(o);return{start:(o=!0)=>Oe.update(l,o),stop:()=>la(l),now:()=>rt.isProcessing?rt.timestamp:mt.now()}},Lx=(a,l,o=10)=>{let r="";const d=Math.max(Math.round(l/o),2);for(let f=0;f<d;f++)r+=Math.round(a(f/(d-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Uo=2e4;function Md(a){let l=0;const o=50;let r=a.next(l);for(;!r.done&&l<Uo;)l+=o,r=a.next(l);return l>=Uo?1/0:l}function $5(a,l=100,o){const r=o({...a,keyframes:[0,l]}),d=Math.min(Md(r),Uo);return{type:"keyframes",ease:f=>r.next(d*f).value/l,duration:Pt(d)}}const W5=5;function Ox(a,l,o){const r=Math.max(l-W5,0);return mx(o-a(r),l-r)}const Ge={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},Eu=.001;function J5({duration:a=Ge.duration,bounce:l=Ge.bounce,velocity:o=Ge.velocity,mass:r=Ge.mass}){let d,f,m=1-l;m=si(Ge.minDamping,Ge.maxDamping,m),a=si(Ge.minDuration,Ge.maxDuration,Pt(a)),m<1?(d=x=>{const v=x*m,b=v*a,j=v-o,E=Iu(x,m),k=Math.exp(-b);return Eu-j/E*k},f=x=>{const b=x*m*a,j=b*o+o,E=Math.pow(m,2)*Math.pow(x,2)*a,k=Math.exp(-b),L=Iu(Math.pow(x,2),m);return(-d(x)+Eu>0?-1:1)*((j-E)*k)/L}):(d=x=>{const v=Math.exp(-x*a),b=(x-o)*a+1;return-Eu+v*b},f=x=>{const v=Math.exp(-x*a),b=(o-x)*(a*a);return v*b});const p=5/a,g=t4(d,f,p);if(a=Ei(a),isNaN(g))return{stiffness:Ge.stiffness,damping:Ge.damping,duration:a};{const x=Math.pow(g,2)*r;return{stiffness:x,damping:m*2*Math.sqrt(r*x),duration:a}}}const e4=12;function t4(a,l,o){let r=o;for(let d=1;d<e4;d++)r=r-a(r)/l(r);return r}function Iu(a,l){return a*Math.sqrt(1-l*l)}const i4=["duration","bounce"],a4=["stiffness","damping","mass"];function Ng(a,l){return l.some(o=>a[o]!==void 0)}function n4(a){let l={velocity:Ge.velocity,stiffness:Ge.stiffness,damping:Ge.damping,mass:Ge.mass,isResolvedFromDuration:!1,...a};if(!Ng(a,a4)&&Ng(a,i4))if(a.visualDuration){const o=a.visualDuration,r=2*Math.PI/(o*1.2),d=r*r,f=2*si(.05,1,1-(a.bounce||0))*Math.sqrt(d);l={...l,mass:Ge.mass,stiffness:d,damping:f}}else{const o=J5(a);l={...l,...o,mass:Ge.mass},l.isResolvedFromDuration=!0}return l}function Ho(a=Ge.visualDuration,l=Ge.bounce){const o=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:l}:a;let{restSpeed:r,restDelta:d}=o;const f=o.keyframes[0],m=o.keyframes[o.keyframes.length-1],p={done:!1,value:f},{stiffness:g,damping:x,mass:v,duration:b,velocity:j,isResolvedFromDuration:E}=n4({...o,velocity:-Pt(o.velocity||0)}),k=j||0,L=x/(2*Math.sqrt(g*v)),B=m-f,V=Pt(Math.sqrt(g/v)),U=Math.abs(B)<5;r||(r=U?Ge.restSpeed.granular:Ge.restSpeed.default),d||(d=U?Ge.restDelta.granular:Ge.restDelta.default);let M;if(L<1){const P=Iu(V,L);M=ae=>{const Z=Math.exp(-L*V*ae);return m-Z*((k+L*V*B)/P*Math.sin(P*ae)+B*Math.cos(P*ae))}}else if(L===1)M=P=>m-Math.exp(-V*P)*(B+(k+V*B)*P);else{const P=V*Math.sqrt(L*L-1);M=ae=>{const Z=Math.exp(-L*V*ae),ee=Math.min(P*ae,300);return m-Z*((k+L*V*B)*Math.sinh(ee)+P*B*Math.cosh(ee))/P}}const F={calculatedDuration:E&&b||null,next:P=>{const ae=M(P);if(E)p.done=P>=b;else{let Z=P===0?k:0;L<1&&(Z=P===0?Ei(k):Ox(M,P,ae));const ee=Math.abs(Z)<=r,xe=Math.abs(m-ae)<=d;p.done=ee&&xe}return p.value=p.done?m:ae,p},toString:()=>{const P=Math.min(Md(F),Uo),ae=Lx(Z=>F.next(P*Z).value,P,30);return P+"ms "+ae},toTransition:()=>{}};return F}Ho.applyToOptions=a=>{const l=$5(a,100,Ho);return a.ease=l.ease,a.duration=Ei(l.duration),a.type="keyframes",a};function Qu({keyframes:a,velocity:l=0,power:o=.8,timeConstant:r=325,bounceDamping:d=10,bounceStiffness:f=500,modifyTarget:m,min:p,max:g,restDelta:x=.5,restSpeed:v}){const b=a[0],j={done:!1,value:b},E=ee=>p!==void 0&&ee<p||g!==void 0&&ee>g,k=ee=>p===void 0?g:g===void 0||Math.abs(p-ee)<Math.abs(g-ee)?p:g;let L=o*l;const B=b+L,V=m===void 0?B:m(B);V!==B&&(L=V-b);const U=ee=>-L*Math.exp(-ee/r),M=ee=>V+U(ee),F=ee=>{const xe=U(ee),Re=M(ee);j.done=Math.abs(xe)<=x,j.value=j.done?V:Re};let P,ae;const Z=ee=>{E(j.value)&&(P=ee,ae=Ho({keyframes:[j.value,k(j.value)],velocity:Ox(M,ee,j.value),damping:d,stiffness:f,restDelta:x,restSpeed:v}))};return Z(0),{calculatedDuration:null,next:ee=>{let xe=!1;return!ae&&P===void 0&&(xe=!0,F(ee),Z(ee)),P!==void 0&&ee>=P?ae.next(ee-P):(!xe&&F(ee),j)}}}function l4(a,l,o){const r=[],d=o||Ci.mix||kx,f=a.length-1;for(let m=0;m<f;m++){let p=d(a[m],a[m+1]);if(l){const g=Array.isArray(l)?l[m]||It:l;p=es(g,p)}r.push(p)}return r}function s4(a,l,{clamp:o=!0,ease:r,mixer:d}={}){const f=a.length;if(Sd(f===l.length),f===1)return()=>l[0];if(f===2&&l[0]===l[1])return()=>l[1];const m=a[0]===a[1];a[0]>a[f-1]&&(a=[...a].reverse(),l=[...l].reverse());const p=l4(l,r,d),g=p.length,x=v=>{if(m&&v<a[0])return l[0];let b=0;if(g>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const j=Pl(a[b],a[b+1],v);return p[b](j)};return o?v=>x(si(a[0],a[f-1],v)):x}function o4(a,l){const o=a[a.length-1];for(let r=1;r<=l;r++){const d=Pl(0,l,r);a.push(Ve(o,1,d))}}function r4(a){const l=[0];return o4(l,a.length-1),l}function c4(a,l){return a.map(o=>o*l)}function u4(a,l){return a.map(()=>l||Sx).splice(0,a.length-1)}function ql({duration:a=300,keyframes:l,times:o,ease:r="easeInOut"}){const d=j5(r)?r.map(yg):yg(r),f={done:!1,value:l[0]},m=c4(o&&o.length===l.length?o:r4(l),a),p=s4(m,l,{ease:Array.isArray(d)?d:u4(l,d)});return{calculatedDuration:a,next:g=>(f.value=p(g),f.done=g>=a,f)}}const d4=a=>a!==null;function Rd(a,{repeat:l,repeatType:o="loop"},r,d=1){const f=a.filter(d4),p=d<0||l&&o!=="loop"&&l%2===1?0:f.length-1;return!p||r===void 0?f[p]:r}const f4={decay:Qu,inertia:Qu,tween:ql,keyframes:ql,spring:Ho};function Bx(a){typeof a.type=="string"&&(a.type=f4[a.type])}class kd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,o){return this.finished.then(l,o)}}const m4=a=>a/100;class Ld extends kd{constructor(l){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:o}=this.options;o&&o.updatedAt!==mt.now()&&this.tick(mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;Bx(l);const{type:o=ql,repeat:r=0,repeatDelay:d=0,repeatType:f,velocity:m=0}=l;let{keyframes:p}=l;const g=o||ql;g!==ql&&typeof p[0]!="number"&&(this.mixKeyframes=es(m4,kx(p[0],p[1])),p=[0,100]);const x=g({...l,keyframes:p});f==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...p].reverse(),velocity:-m})),x.calculatedDuration===null&&(x.calculatedDuration=Md(x));const{calculatedDuration:v}=x;this.calculatedDuration=v,this.resolvedDuration=v+d,this.totalDuration=this.resolvedDuration*(r+1)-d,this.generator=x}updateTime(l){const o=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(l,o=!1){const{generator:r,totalDuration:d,mixKeyframes:f,mirroredGenerator:m,resolvedDuration:p,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:x=0,keyframes:v,repeat:b,repeatType:j,repeatDelay:E,type:k,onUpdate:L,finalKeyframe:B}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-d/this.speed,this.startTime)),o?this.currentTime=l:this.updateTime(l);const V=this.currentTime-x*(this.playbackSpeed>=0?1:-1),U=this.playbackSpeed>=0?V<0:V>d;this.currentTime=Math.max(V,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=d);let M=this.currentTime,F=r;if(b){const ee=Math.min(this.currentTime,d)/p;let xe=Math.floor(ee),Re=ee%1;!Re&&ee>=1&&(Re=1),Re===1&&xe--,xe=Math.min(xe,b+1),xe%2&&(j==="reverse"?(Re=1-Re,E&&(Re-=E/p)):j==="mirror"&&(F=m)),M=si(0,1,Re)*p}const P=U?{done:!1,value:v[0]}:F.next(M);f&&(P.value=f(P.value));let{done:ae}=P;!U&&g!==null&&(ae=this.playbackSpeed>=0?this.currentTime>=d:this.currentTime<=0);const Z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ae);return Z&&k!==Qu&&(P.value=Rd(v,this.options,B,this.speed)),L&&L(P.value),Z&&this.finish(),P}then(l,o){return this.finished.then(l,o)}get duration(){return Pt(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Pt(l)}get time(){return Pt(this.currentTime)}set time(l){l=Ei(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(l){this.updateTime(mt.now());const o=this.playbackSpeed!==l;this.playbackSpeed=l,o&&(this.time=Pt(this.currentTime))}play(){if(this.isStopped)return;const{driver:l=Z5,startTime:o}=this.options;this.driver||(this.driver=l(d=>this.tick(d))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=o??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(mt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),l.observe(this)}}function h4(a){for(let l=1;l<a.length;l++)a[l]??(a[l]=a[l-1])}const Ma=a=>a*180/Math.PI,Ku=a=>{const l=Ma(Math.atan2(a[1],a[0]));return Zu(l)},p4={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:Ku,rotateZ:Ku,skewX:a=>Ma(Math.atan(a[1])),skewY:a=>Ma(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},Zu=a=>(a=a%360,a<0&&(a+=360),a),Tg=Ku,Eg=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),Ag=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),g4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Eg,scaleY:Ag,scale:a=>(Eg(a)+Ag(a))/2,rotateX:a=>Zu(Ma(Math.atan2(a[6],a[5]))),rotateY:a=>Zu(Ma(Math.atan2(-a[2],a[0]))),rotateZ:Tg,rotate:Tg,skewX:a=>Ma(Math.atan(a[4])),skewY:a=>Ma(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function $u(a){return a.includes("scale")?1:0}function Wu(a,l){if(!a||a==="none")return $u(l);const o=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,d;if(o)r=g4,d=o;else{const p=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=p4,d=p}if(!d)return $u(l);const f=r[l],m=d[1].split(",").map(v4);return typeof f=="function"?f(m):m[f]}const x4=(a,l)=>{const{transform:o="none"}=getComputedStyle(a);return Wu(o,l)};function v4(a){return parseFloat(a.trim())}const kn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ln=new Set(kn),Cg=a=>a===Rn||a===K,y4=new Set(["x","y","z"]),b4=kn.filter(a=>!y4.has(a));function j4(a){const l=[];return b4.forEach(o=>{const r=a.getValue(o);r!==void 0&&(l.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),l}const na={width:({x:a},{paddingLeft:l="0",paddingRight:o="0"})=>a.max-a.min-parseFloat(l)-parseFloat(o),height:({y:a},{paddingTop:l="0",paddingBottom:o="0"})=>a.max-a.min-parseFloat(l)-parseFloat(o),top:(a,{top:l})=>parseFloat(l),left:(a,{left:l})=>parseFloat(l),bottom:({y:a},{top:l})=>parseFloat(l)+(a.max-a.min),right:({x:a},{left:l})=>parseFloat(l)+(a.max-a.min),x:(a,{transform:l})=>Wu(l,"x"),y:(a,{transform:l})=>Wu(l,"y")};na.translateX=na.x;na.translateY=na.y;const Ra=new Set;let Ju=!1,ed=!1,td=!1;function _x(){if(ed){const a=Array.from(Ra).filter(r=>r.needsMeasurement),l=new Set(a.map(r=>r.element)),o=new Map;l.forEach(r=>{const d=j4(r);d.length&&(o.set(r,d),r.render())}),a.forEach(r=>r.measureInitialState()),l.forEach(r=>{r.render();const d=o.get(r);d&&d.forEach(([f,m])=>{r.getValue(f)?.set(m)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}ed=!1,Ju=!1,Ra.forEach(a=>a.complete(td)),Ra.clear()}function Vx(){Ra.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(ed=!0)})}function S4(){td=!0,Vx(),_x(),td=!1}class Od{constructor(l,o,r,d,f,m=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=o,this.name=r,this.motionValue=d,this.element=f,this.isAsync=m}scheduleResolve(){this.state="scheduled",this.isAsync?(Ra.add(this),Ju||(Ju=!0,Oe.read(Vx),Oe.resolveKeyframes(_x))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:o,element:r,motionValue:d}=this;if(l[0]===null){const f=d?.get(),m=l[l.length-1];if(f!==void 0)l[0]=f;else if(r&&o){const p=r.readValue(o,m);p!=null&&(l[0]=p)}l[0]===void 0&&(l[0]=m),d&&f===void 0&&d.set(l[0])}h4(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),Ra.delete(this)}cancel(){this.state==="scheduled"&&(Ra.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const w4=a=>a.startsWith("--");function z4(a,l,o){w4(l)?a.style.setProperty(l,o):a.style[l]=o}const N4=wd(()=>window.ScrollTimeline!==void 0),T4={};function E4(a,l){const o=wd(a);return()=>T4[l]??o()}const Ux=E4(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Bl=([a,l,o,r])=>`cubic-bezier(${a}, ${l}, ${o}, ${r})`,Dg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Bl([0,.65,.55,1]),circOut:Bl([.55,0,1,.45]),backIn:Bl([.31,.01,.66,-.59]),backOut:Bl([.33,1.53,.69,.99])};function Hx(a,l){if(a)return typeof a=="function"?Ux()?Lx(a,l):"ease-out":wx(a)?Bl(a):Array.isArray(a)?a.map(o=>Hx(o,l)||Dg.easeOut):Dg[a]}function A4(a,l,o,{delay:r=0,duration:d=300,repeat:f=0,repeatType:m="loop",ease:p="easeOut",times:g}={},x=void 0){const v={[l]:o};g&&(v.offset=g);const b=Hx(p,d);Array.isArray(b)&&(v.easing=b);const j={delay:r,duration:d,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:f+1,direction:m==="reverse"?"alternate":"normal"};return x&&(j.pseudoElement=x),a.animate(v,j)}function qx(a){return typeof a=="function"&&"applyToOptions"in a}function C4({type:a,...l}){return qx(a)&&Ux()?a.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class D4 extends kd{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:o,name:r,keyframes:d,pseudoElement:f,allowFlatten:m=!1,finalKeyframe:p,onComplete:g}=l;this.isPseudoElement=!!f,this.allowFlatten=m,this.options=l,Sd(typeof l.type!="string");const x=C4(l);this.animation=A4(o,r,d,x,f),x.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const v=Rd(d,this.options,p,this.speed);this.updateMotionValue?this.updateMotionValue(v):z4(o,r,v),this.animation.cancel()}g?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const l=this.animation.effect?.getComputedTiming?.().duration||0;return Pt(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+Pt(l)}get time(){return Pt(Number(this.animation.currentTime)||0)}set time(l){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ei(l)}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,l&&N4()?(this.animation.timeline=l,It):o(this)}}const Gx={anticipate:yx,backInOut:vx,circInOut:jx};function M4(a){return a in Gx}function R4(a){typeof a.ease=="string"&&M4(a.ease)&&(a.ease=Gx[a.ease])}const Au=10;class k4 extends D4{constructor(l){R4(l),Bx(l),super(l),l.startTime!==void 0&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:o,onUpdate:r,onComplete:d,element:f,...m}=this.options;if(!o)return;if(l!==void 0){o.set(l);return}const p=new Ld({...m,autoplay:!1}),g=Math.max(Au,mt.now()-this.startTime),x=si(0,Au,g-Au);o.setWithVelocity(p.sample(Math.max(0,g-x)).value,p.sample(g).value,x),p.stop()}}const Mg=(a,l)=>l==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(sa.test(a)||a==="0")&&!a.startsWith("url("));function L4(a){const l=a[0];if(a.length===1)return!0;for(let o=0;o<a.length;o++)if(a[o]!==l)return!0}function O4(a,l,o,r){const d=a[0];if(d===null)return!1;if(l==="display"||l==="visibility")return!0;const f=a[a.length-1],m=Mg(d,l),p=Mg(f,l);return!m||!p?!1:L4(a)||(o==="spring"||qx(o))&&r}function id(a){a.duration=0,a.type="keyframes"}const B4=new Set(["opacity","clipPath","filter","transform"]),_4=wd(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function V4(a){const{motionValue:l,name:o,repeatDelay:r,repeatType:d,damping:f,type:m}=a;if(!(l?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:x}=l.owner.getProps();return _4()&&o&&B4.has(o)&&(o!=="transform"||!x)&&!g&&!r&&d!=="mirror"&&f!==0&&m!=="inertia"}const U4=40;class H4 extends kd{constructor({autoplay:l=!0,delay:o=0,type:r="keyframes",repeat:d=0,repeatDelay:f=0,repeatType:m="loop",keyframes:p,name:g,motionValue:x,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=mt.now();const j={autoplay:l,delay:o,type:r,repeat:d,repeatDelay:f,repeatType:m,name:g,motionValue:x,element:v,...b},E=v?.KeyframeResolver||Od;this.keyframeResolver=new E(p,(k,L,B)=>this.onKeyframesResolved(k,L,j,!B),g,x,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(l,o,r,d){this.keyframeResolver=void 0;const{name:f,type:m,velocity:p,delay:g,isHandoff:x,onUpdate:v}=r;this.resolvedAt=mt.now(),O4(l,f,m,p)||((Ci.instantAnimations||!g)&&v?.(Rd(l,r,o)),l[0]=l[l.length-1],id(r),r.repeat=0);const j={startTime:d?this.resolvedAt?this.resolvedAt-this.createdAt>U4?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...r,keyframes:l},E=!x&&V4(j),k=j.motionValue?.owner?.current,L=E?new k4({...j,element:k}):new Ld(j);L.finished.then(()=>{this.notifyFinished()}).catch(It),this.pendingTimeline&&(this.stopTimeline=L.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=L}get finished(){return this._animation?this.animation.finished:this._finished}then(l,o){return this.finished.finally(l).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),S4()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Yx(a,l,o,r=0,d=1){const f=Array.from(a).sort((x,v)=>x.sortNodePosition(v)).indexOf(l),m=a.size,p=(m-1)*r;return typeof o=="function"?o(f,m):d===1?f*r:p-f*r}const q4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function G4(a){const l=q4.exec(a);if(!l)return[,];const[,o,r,d]=l;return[`--${o??r}`,d]}function Fx(a,l,o=1){const[r,d]=G4(a);if(!r)return;const f=window.getComputedStyle(l).getPropertyValue(r);if(f){const m=f.trim();return ux(m)?parseFloat(m):m}return Ed(d)?Fx(d,l,o+1):d}const Y4={type:"spring",stiffness:500,damping:25,restSpeed:10},F4=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),P4={type:"keyframes",duration:.8},X4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},I4=(a,{keyframes:l})=>l.length>2?P4:Ln.has(a)?a.startsWith("scale")?F4(l[1]):Y4:X4,Q4=a=>a!==null;function K4(a,{repeat:l,repeatType:o="loop"},r){const d=a.filter(Q4),f=l&&o!=="loop"&&l%2===1?0:d.length-1;return d[f]}function Bd(a,l){return a?.[l]??a?.default??a}function Z4({when:a,delay:l,delayChildren:o,staggerChildren:r,staggerDirection:d,repeat:f,repeatType:m,repeatDelay:p,from:g,elapsed:x,...v}){return!!Object.keys(v).length}const _d=(a,l,o,r={},d,f)=>m=>{const p=Bd(r,a)||{},g=p.delay||r.delay||0;let{elapsed:x=0}=r;x=x-Ei(g);const v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:l.getVelocity(),...p,delay:-x,onUpdate:j=>{l.set(j),p.onUpdate&&p.onUpdate(j)},onComplete:()=>{m(),p.onComplete&&p.onComplete()},name:a,motionValue:l,element:f?void 0:d};Z4(p)||Object.assign(v,I4(a,v)),v.duration&&(v.duration=Ei(v.duration)),v.repeatDelay&&(v.repeatDelay=Ei(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(id(v),v.delay===0&&(b=!0)),(Ci.instantAnimations||Ci.skipAnimations)&&(b=!0,id(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,b&&!f&&l.get()!==void 0){const j=K4(v.keyframes,p);if(j!==void 0){Oe.update(()=>{v.onUpdate(j),v.onComplete()});return}}return p.isSync?new Ld(v):new H4(v)};function Rg(a){const l=[{},{}];return a?.values.forEach((o,r)=>{l[0][r]=o.get(),l[1][r]=o.getVelocity()}),l}function Vd(a,l,o,r){if(typeof l=="function"){const[d,f]=Rg(r);l=l(o!==void 0?o:a.custom,d,f)}if(typeof l=="string"&&(l=a.variants&&a.variants[l]),typeof l=="function"){const[d,f]=Rg(r);l=l(o!==void 0?o:a.custom,d,f)}return l}function Tn(a,l,o){const r=a.getProps();return Vd(r,l,o!==void 0?o:r.custom,a)}const Px=new Set(["width","height","top","left","right","bottom",...kn]),kg=30,$4=a=>!isNaN(parseFloat(a));class W4{constructor(l,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const d=mt.now();if(this.updatedAt!==d&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=o.owner}setCurrent(l){this.current=l,this.updatedAt=mt.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=$4(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,o){this.events[l]||(this.events[l]=new zd);const r=this.events[l].add(o);return l==="change"?()=>{r(),Oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,o){this.passiveEffect=l,this.stopPassiveEffect=o}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,o,r){this.set(o),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-r}jump(l,o=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>kg)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,kg);return mx(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(l){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=l(o),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Cn(a,l){return new W4(a,l)}const ad=a=>Array.isArray(a);function J4(a,l,o){a.hasValue(l)?a.getValue(l).set(o):a.addValue(l,Cn(o))}function e3(a){return ad(a)?a[a.length-1]||0:a}function t3(a,l){const o=Tn(a,l);let{transitionEnd:r={},transition:d={},...f}=o||{};f={...f,...r};for(const m in f){const p=e3(f[m]);J4(a,m,p)}}const ut=a=>!!(a&&a.getVelocity);function i3(a){return!!(ut(a)&&a.add)}function nd(a,l){const o=a.getValue("willChange");if(i3(o))return o.add(l);if(!o&&Ci.WillChange){const r=new Ci.WillChange("auto");a.addValue("willChange",r),r.add(l)}}function Ud(a){return a.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const a3="framerAppearId",Xx="data-"+Ud(a3);function Ix(a){return a.props[Xx]}function n3({protectedKeys:a,needsAnimating:l},o){const r=a.hasOwnProperty(o)&&l[o]!==!0;return l[o]=!1,r}function Qx(a,l,{delay:o=0,transitionOverride:r,type:d}={}){let{transition:f=a.getDefaultTransition(),transitionEnd:m,...p}=l;r&&(f=r);const g=[],x=d&&a.animationState&&a.animationState.getState()[d];for(const v in p){const b=a.getValue(v,a.latestValues[v]??null),j=p[v];if(j===void 0||x&&n3(x,v))continue;const E={delay:o,...Bd(f||{},v)},k=b.get();if(k!==void 0&&!b.isAnimating&&!Array.isArray(j)&&j===k&&!E.velocity)continue;let L=!1;if(window.MotionHandoffAnimation){const V=Ix(a);if(V){const U=window.MotionHandoffAnimation(V,v,Oe);U!==null&&(E.startTime=U,L=!0)}}nd(a,v),b.start(_d(v,b,j,a.shouldReduceMotion&&Px.has(v)?{type:!1}:E,a,L));const B=b.animation;B&&g.push(B)}return m&&Promise.all(g).then(()=>{Oe.update(()=>{m&&t3(a,m)})}),g}function ld(a,l,o={}){const r=Tn(a,l,o.type==="exit"?a.presenceContext?.custom:void 0);let{transition:d=a.getDefaultTransition()||{}}=r||{};o.transitionOverride&&(d=o.transitionOverride);const f=r?()=>Promise.all(Qx(a,r,o)):()=>Promise.resolve(),m=a.variantChildren&&a.variantChildren.size?(g=0)=>{const{delayChildren:x=0,staggerChildren:v,staggerDirection:b}=d;return l3(a,l,g,x,v,b,o)}:()=>Promise.resolve(),{when:p}=d;if(p){const[g,x]=p==="beforeChildren"?[f,m]:[m,f];return g().then(()=>x())}else return Promise.all([f(),m(o.delay)])}function l3(a,l,o=0,r=0,d=0,f=1,m){const p=[];for(const g of a.variantChildren)g.notify("AnimationStart",l),p.push(ld(g,l,{...m,delay:o+(typeof r=="function"?0:r)+Yx(a.variantChildren,g,r,d,f)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(p)}function s3(a,l,o={}){a.notify("AnimationStart",l);let r;if(Array.isArray(l)){const d=l.map(f=>ld(a,f,o));r=Promise.all(d)}else if(typeof l=="string")r=ld(a,l,o);else{const d=typeof l=="function"?Tn(a,l,o.custom):l;r=Promise.all(Qx(a,d,o))}return r.then(()=>{a.notify("AnimationComplete",l)})}const o3={test:a=>a==="auto",parse:a=>a},Kx=a=>l=>l.test(a),Zx=[Rn,K,li,ia,L5,k5,o3],Lg=a=>Zx.find(Kx(a));function r3(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||fx(a):!0}const c3=new Set(["brightness","contrast","saturate","opacity"]);function u3(a){const[l,o]=a.slice(0,-1).split("(");if(l==="drop-shadow")return a;const[r]=o.match(Ad)||[];if(!r)return a;const d=o.replace(r,"");let f=c3.has(l)?1:0;return r!==o&&(f*=100),l+"("+f+d+")"}const d3=/\b([a-z-]*)\(.*?\)/gu,sd={...sa,getAnimatableNone:a=>{const l=a.match(d3);return l?l.map(u3).join(" "):a}},Og={...Rn,transform:Math.round},f3={rotate:ia,rotateX:ia,rotateY:ia,rotateZ:ia,scale:No,scaleX:No,scaleY:No,scaleZ:No,skew:ia,skewX:ia,skewY:ia,distance:K,translateX:K,translateY:K,translateZ:K,x:K,y:K,z:K,perspective:K,transformPerspective:K,opacity:Xl,originX:jg,originY:jg,originZ:K},Hd={borderWidth:K,borderTopWidth:K,borderRightWidth:K,borderBottomWidth:K,borderLeftWidth:K,borderRadius:K,borderTopLeftRadius:K,borderTopRightRadius:K,borderBottomRightRadius:K,borderBottomLeftRadius:K,width:K,maxWidth:K,height:K,maxHeight:K,top:K,right:K,bottom:K,left:K,inset:K,insetBlock:K,insetBlockStart:K,insetBlockEnd:K,insetInline:K,insetInlineStart:K,insetInlineEnd:K,padding:K,paddingTop:K,paddingRight:K,paddingBottom:K,paddingLeft:K,paddingBlock:K,paddingBlockStart:K,paddingBlockEnd:K,paddingInline:K,paddingInlineStart:K,paddingInlineEnd:K,margin:K,marginTop:K,marginRight:K,marginBottom:K,marginLeft:K,marginBlock:K,marginBlockStart:K,marginBlockEnd:K,marginInline:K,marginInlineStart:K,marginInlineEnd:K,fontSize:K,backgroundPositionX:K,backgroundPositionY:K,...f3,zIndex:Og,fillOpacity:Xl,strokeOpacity:Xl,numOctaves:Og},m3={...Hd,color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,filter:sd,WebkitFilter:sd},$x=a=>m3[a];function Wx(a,l){let o=$x(a);return o!==sd&&(o=sa),o.getAnimatableNone?o.getAnimatableNone(l):void 0}const h3=new Set(["auto","none","0"]);function p3(a,l,o){let r=0,d;for(;r<a.length&&!d;){const f=a[r];typeof f=="string"&&!h3.has(f)&&Il(f).values.length&&(d=a[r]),r++}if(d&&o)for(const f of l)a[f]=Wx(o,d)}class g3 extends Od{constructor(l,o,r,d,f){super(l,o,r,d,f,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:o,name:r}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<l.length;v++){let b=l[v];if(typeof b=="string"&&(b=b.trim(),Ed(b))){const j=Fx(b,o.current);j!==void 0&&(l[v]=j),v===l.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!Px.has(r)||l.length!==2)return;const[d,f]=l,m=Lg(d),p=Lg(f),g=bg(d),x=bg(f);if(g!==x&&na[r]){this.needsMeasurement=!0;return}if(m!==p)if(Cg(m)&&Cg(p))for(let v=0;v<l.length;v++){const b=l[v];typeof b=="string"&&(l[v]=parseFloat(b))}else na[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:o}=this,r=[];for(let d=0;d<l.length;d++)(l[d]===null||r3(l[d]))&&r.push(d);r.length&&p3(l,r,o)}measureInitialState(){const{element:l,unresolvedKeyframes:o,name:r}=this;if(!l||!l.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=na[r](l.measureViewportBox(),window.getComputedStyle(l.current)),o[0]=this.measuredOrigin;const d=o[o.length-1];d!==void 0&&l.getValue(r,d).jump(d,!1)}measureEndState(){const{element:l,name:o,unresolvedKeyframes:r}=this;if(!l||!l.current)return;const d=l.getValue(o);d&&d.jump(this.measuredOrigin,!1);const f=r.length-1,m=r[f];r[f]=na[o](l.measureViewportBox(),window.getComputedStyle(l.current)),m!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=m),this.removedTransforms?.length&&this.removedTransforms.forEach(([p,g])=>{l.getValue(p).set(g)}),this.resolveNoneKeyframes()}}function x3(a,l,o){if(a==null)return[];if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const d=o?.[a]??r.querySelectorAll(a);return d?Array.from(d):[]}return Array.from(a).filter(r=>r!=null)}const Jx=(a,l)=>l&&typeof a=="number"?l.transform(a):a;function v3(a){return dx(a)&&"offsetHeight"in a}const{schedule:qd}=zx(queueMicrotask,!1),Jt={x:!1,y:!1};function ev(){return Jt.x||Jt.y}function y3(a){return a==="x"||a==="y"?Jt[a]?null:(Jt[a]=!0,()=>{Jt[a]=!1}):Jt.x||Jt.y?null:(Jt.x=Jt.y=!0,()=>{Jt.x=Jt.y=!1})}function tv(a,l){const o=x3(a),r=new AbortController,d={passive:!0,...l,signal:r.signal};return[o,d,()=>r.abort()]}function Bg(a){return!(a.pointerType==="touch"||ev())}function b3(a,l,o={}){const[r,d,f]=tv(a,o),m=p=>{if(!Bg(p))return;const{target:g}=p,x=l(g,p);if(typeof x!="function"||!g)return;const v=b=>{Bg(b)&&(x(b),g.removeEventListener("pointerleave",v))};g.addEventListener("pointerleave",v,d)};return r.forEach(p=>{p.addEventListener("pointerenter",m,d)}),f}const iv=(a,l)=>l?a===l?!0:iv(a,l.parentElement):!1,Gd=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,j3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function av(a){return j3.has(a.tagName)||a.isContentEditable===!0}const ko=new WeakSet;function _g(a){return l=>{l.key==="Enter"&&a(l)}}function Cu(a,l){a.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const S3=(a,l)=>{const o=a.currentTarget;if(!o)return;const r=_g(()=>{if(ko.has(o))return;Cu(o,"down");const d=_g(()=>{Cu(o,"up")}),f=()=>Cu(o,"cancel");o.addEventListener("keyup",d,l),o.addEventListener("blur",f,l)});o.addEventListener("keydown",r,l),o.addEventListener("blur",()=>o.removeEventListener("keydown",r),l)};function Vg(a){return Gd(a)&&!ev()}function w3(a,l,o={}){const[r,d,f]=tv(a,o),m=p=>{const g=p.currentTarget;if(!Vg(p))return;ko.add(g);const x=l(g,p),v=(E,k)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",j),ko.has(g)&&ko.delete(g),Vg(E)&&typeof x=="function"&&x(E,{success:k})},b=E=>{v(E,g===window||g===document||o.useGlobalTarget||iv(g,E.target))},j=E=>{v(E,!1)};window.addEventListener("pointerup",b,d),window.addEventListener("pointercancel",j,d)};return r.forEach(p=>{(o.useGlobalTarget?window:p).addEventListener("pointerdown",m,d),v3(p)&&(p.addEventListener("focus",x=>S3(x,d)),!av(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),f}function nv(a){return dx(a)&&"ownerSVGElement"in a}function z3(a){return nv(a)&&a.tagName==="svg"}const N3=[...Zx,Ze,sa],T3=a=>N3.find(Kx(a)),Ug=()=>({translate:0,scale:1,origin:0,originPoint:0}),wn=()=>({x:Ug(),y:Ug()}),Hg=()=>({min:0,max:0}),We=()=>({x:Hg(),y:Hg()}),od={current:null},lv={current:!1},E3=typeof window<"u";function A3(){if(lv.current=!0,!!E3)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),l=()=>od.current=a.matches;a.addEventListener("change",l),l()}else od.current=!1}const C3=new WeakMap;function Io(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function Ql(a){return typeof a=="string"||Array.isArray(a)}const Yd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Fd=["initial",...Yd];function Qo(a){return Io(a.animate)||Fd.some(l=>Ql(a[l]))}function sv(a){return!!(Qo(a)||a.variants)}function D3(a,l,o){for(const r in l){const d=l[r],f=o[r];if(ut(d))a.addValue(r,d);else if(ut(f))a.addValue(r,Cn(d,{owner:a}));else if(f!==d)if(a.hasValue(r)){const m=a.getValue(r);m.liveStyle===!0?m.jump(d):m.hasAnimated||m.set(d)}else{const m=a.getStaticValue(r);a.addValue(r,Cn(m!==void 0?m:d,{owner:a}))}}for(const r in o)l[r]===void 0&&a.removeValue(r);return l}const qg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let qo={};function ov(a){qo=a}function M3(){return qo}class R3{scrapeMotionValuesFromProps(l,o,r){return{}}constructor({parent:l,props:o,presenceContext:r,reducedMotionConfig:d,blockInitialAnimation:f,visualState:m},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Od,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 j=mt.now();this.renderScheduledAt<j&&(this.renderScheduledAt=j,Oe.render(this.render,!1,!0))};const{latestValues:g,renderState:x}=m;this.latestValues=g,this.baseTarget={...g},this.initialValues=o.initial?{...g}:{},this.renderState=x,this.parent=l,this.props=o,this.presenceContext=r,this.depth=l?l.depth+1:0,this.reducedMotionConfig=d,this.options=p,this.blockInitialAnimation=!!f,this.isControllingVariants=Qo(o),this.isVariantNode=sv(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(o,{},this);for(const j in b){const E=b[j];g[j]!==void 0&&ut(E)&&E.set(g[j])}}mount(l){this.current=l,C3.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,r)=>this.bindToMotionValue(r,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(lv.current||A3(),this.shouldReduceMotion=od.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),la(this.notifyUpdate),la(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const o=this.features[l];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,o){this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)();const r=Ln.has(l);r&&this.onBindTransform&&this.onBindTransform();const d=o.on("change",m=>{this.latestValues[l]=m,this.props.onUpdate&&Oe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,l,o)),this.valueSubscriptions.set(l,()=>{d(),f&&f(),o.owner&&o.stop()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in qo){const o=qo[l];if(!o)continue;const{isEnabled:r,Feature:d}=o;if(!this.features[l]&&d&&r(this.props)&&(this.features[l]=new d(this)),this.features[l]){const f=this.features[l];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):We()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,o){this.latestValues[l]=o}update(l,o){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let r=0;r<qg.length;r++){const d=qg[r];this.propEventSubscriptions[d]&&(this.propEventSubscriptions[d](),delete this.propEventSubscriptions[d]);const f="on"+d,m=l[f];m&&(this.propEventSubscriptions[d]=this.on(d,m))}this.prevMotionValues=D3(this,this.scrapeMotionValuesFromProps(l,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(l){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(l),()=>o.variantChildren.delete(l)}addValue(l,o){const r=this.values.get(l);o!==r&&(r&&this.removeValue(l),this.bindToMotionValue(l,o),this.values.set(l,o),this.latestValues[l]=o.get())}removeValue(l){this.values.delete(l);const o=this.valueSubscriptions.get(l);o&&(o(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,o){if(this.props.values&&this.props.values[l])return this.props.values[l];let r=this.values.get(l);return r===void 0&&o!==void 0&&(r=Cn(o===null?void 0:o,{owner:this}),this.addValue(l,r)),r}readValue(l,o){let r=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return r!=null&&(typeof r=="string"&&(ux(r)||fx(r))?r=parseFloat(r):!T3(r)&&sa.test(o)&&(r=Wx(l,o)),this.setBaseTarget(l,ut(r)?r.get():r)),ut(r)?r.get():r}setBaseTarget(l,o){this.baseTarget[l]=o}getBaseTarget(l){const{initial:o}=this.props;let r;if(typeof o=="string"||typeof o=="object"){const f=Vd(this.props,o,this.presenceContext?.custom);f&&(r=f[l])}if(o&&r!==void 0)return r;const d=this.getBaseTargetFromProps(this.props,l);return d!==void 0&&!ut(d)?d:this.initialValues[l]!==void 0&&r===void 0?void 0:this.baseTarget[l]}on(l,o){return this.events[l]||(this.events[l]=new zd),this.events[l].add(o)}notify(l,...o){this.events[l]&&this.events[l].notify(...o)}scheduleRenderMicrotask(){qd.render(this.render)}}class rv extends R3{constructor(){super(...arguments),this.KeyframeResolver=g3}sortInstanceNodePosition(l,o){return l.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(l,o){const r=l.style;return r?r[o]:void 0}removeValueFromRenderState(l,{vars:o,style:r}){delete o[l],delete r[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;ut(l)&&(this.childSubscription=l.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class oa{constructor(l){this.isMounted=!1,this.node=l}update(){}}function cv({top:a,left:l,right:o,bottom:r}){return{x:{min:l,max:o},y:{min:a,max:r}}}function k3({x:a,y:l}){return{top:l.min,right:a.max,bottom:l.max,left:a.min}}function L3(a,l){if(!l)return a;const o=l({x:a.left,y:a.top}),r=l({x:a.right,y:a.bottom});return{top:o.y,left:o.x,bottom:r.y,right:r.x}}function Du(a){return a===void 0||a===1}function rd({scale:a,scaleX:l,scaleY:o}){return!Du(a)||!Du(l)||!Du(o)}function Ca(a){return rd(a)||uv(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function uv(a){return Gg(a.x)||Gg(a.y)}function Gg(a){return a&&a!=="0%"}function Go(a,l,o){const r=a-o,d=l*r;return o+d}function Yg(a,l,o,r,d){return d!==void 0&&(a=Go(a,d,r)),Go(a,o,r)+l}function cd(a,l=0,o=1,r,d){a.min=Yg(a.min,l,o,r,d),a.max=Yg(a.max,l,o,r,d)}function dv(a,{x:l,y:o}){cd(a.x,l.translate,l.scale,l.originPoint),cd(a.y,o.translate,o.scale,o.originPoint)}const Fg=.999999999999,Pg=1.0000000000001;function O3(a,l,o,r=!1){const d=o.length;if(!d)return;l.x=l.y=1;let f,m;for(let p=0;p<d;p++){f=o[p],m=f.projectionDelta;const{visualElement:g}=f.options;g&&g.props.style&&g.props.style.display==="contents"||(r&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Nn(a,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),m&&(l.x*=m.x.scale,l.y*=m.y.scale,dv(a,m)),r&&Ca(f.latestValues)&&Nn(a,f.latestValues))}l.x<Pg&&l.x>Fg&&(l.x=1),l.y<Pg&&l.y>Fg&&(l.y=1)}function zn(a,l){a.min=a.min+l,a.max=a.max+l}function Xg(a,l,o,r,d=.5){const f=Ve(a.min,a.max,d);cd(a,l,o,f,r)}function Nn(a,l){Xg(a.x,l.x,l.scaleX,l.scale,l.originX),Xg(a.y,l.y,l.scaleY,l.scale,l.originY)}function fv(a,l){return cv(L3(a.getBoundingClientRect(),l))}function B3(a,l,o){const r=fv(a,o),{scroll:d}=l;return d&&(zn(r.x,d.offset.x),zn(r.y,d.offset.y)),r}const _3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V3=kn.length;function U3(a,l,o){let r="",d=!0;for(let f=0;f<V3;f++){const m=kn[f],p=a[m];if(p===void 0)continue;let g=!0;if(typeof p=="number")g=p===(m.startsWith("scale")?1:0);else{const x=parseFloat(p);g=m.startsWith("scale")?x===1:x===0}if(!g||o){const x=Jx(p,Hd[m]);if(!g){d=!1;const v=_3[m]||m;r+=`${v}(${x}) `}o&&(l[m]=x)}}return r=r.trim(),o?r=o(l,d?"":r):d&&(r="none"),r}function Pd(a,l,o){const{style:r,vars:d,transformOrigin:f}=a;let m=!1,p=!1;for(const g in l){const x=l[g];if(Ln.has(g)){m=!0;continue}else if(Tx(g)){d[g]=x;continue}else{const v=Jx(x,Hd[g]);g.startsWith("origin")?(p=!0,f[g]=v):r[g]=v}}if(l.transform||(m||o?r.transform=U3(l,a.transform,o):r.transform&&(r.transform="none")),p){const{originX:g="50%",originY:x="50%",originZ:v=0}=f;r.transformOrigin=`${g} ${x} ${v}`}}function mv(a,{style:l,vars:o},r,d){const f=a.style;let m;for(m in l)f[m]=l[m];d?.applyProjectionStyles(f,r);for(m in o)f.setProperty(m,o[m])}function Ig(a,l){return l.max===l.min?0:a/(l.max-l.min)*100}const kl={correct:(a,l)=>{if(!l.target)return a;if(typeof a=="string")if(K.test(a))a=parseFloat(a);else return a;const o=Ig(a,l.target.x),r=Ig(a,l.target.y);return`${o}% ${r}%`}},H3={correct:(a,{treeScale:l,projectionDelta:o})=>{const r=a,d=sa.parse(a);if(d.length>5)return r;const f=sa.createTransformer(a),m=typeof d[0]!="number"?1:0,p=o.x.scale*l.x,g=o.y.scale*l.y;d[0+m]/=p,d[1+m]/=g;const x=Ve(p,g,.5);return typeof d[2+m]=="number"&&(d[2+m]/=x),typeof d[3+m]=="number"&&(d[3+m]/=x),f(d)}},ud={borderRadius:{...kl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:kl,borderTopRightRadius:kl,borderBottomLeftRadius:kl,borderBottomRightRadius:kl,boxShadow:H3};function hv(a,{layout:l,layoutId:o}){return Ln.has(a)||a.startsWith("origin")||(l||o!==void 0)&&(!!ud[a]||a==="opacity")}function Xd(a,l,o){const r=a.style,d=l?.style,f={};if(!r)return f;for(const m in r)(ut(r[m])||d&&ut(d[m])||hv(m,a)||o?.getValue(m)?.liveStyle!==void 0)&&(f[m]=r[m]);return f}function q3(a){return window.getComputedStyle(a)}class G3 extends rv{constructor(){super(...arguments),this.type="html",this.renderInstance=mv}readValueFromInstance(l,o){if(Ln.has(o))return this.projection?.isProjecting?$u(o):x4(l,o);{const r=q3(l),d=(Tx(o)?r.getPropertyValue(o):r[o])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(l,{transformPagePoint:o}){return fv(l,o)}build(l,o,r){Pd(l,o,r.transformTemplate)}scrapeMotionValuesFromProps(l,o,r){return Xd(l,o,r)}}const Y3={offset:"stroke-dashoffset",array:"stroke-dasharray"},F3={offset:"strokeDashoffset",array:"strokeDasharray"};function P3(a,l,o=1,r=0,d=!0){a.pathLength=1;const f=d?Y3:F3;a[f.offset]=`${-r}`,a[f.array]=`${l} ${o}`}const X3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function pv(a,{attrX:l,attrY:o,attrScale:r,pathLength:d,pathSpacing:f=1,pathOffset:m=0,...p},g,x,v){if(Pd(a,p,x),g){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:j}=a;b.transform&&(j.transform=b.transform,delete b.transform),(j.transform||b.transformOrigin)&&(j.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),j.transform&&(j.transformBox=v?.transformBox??"fill-box",delete b.transformBox);for(const E of X3)b[E]!==void 0&&(j[E]=b[E],delete b[E]);l!==void 0&&(b.x=l),o!==void 0&&(b.y=o),r!==void 0&&(b.scale=r),d!==void 0&&P3(b,d,f,m,!1)}const gv=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"]),xv=a=>typeof a=="string"&&a.toLowerCase()==="svg";function I3(a,l,o,r){mv(a,l,void 0,r);for(const d in l.attrs)a.setAttribute(gv.has(d)?d:Ud(d),l.attrs[d])}function vv(a,l,o){const r=Xd(a,l,o);for(const d in a)if(ut(a[d])||ut(l[d])){const f=kn.indexOf(d)!==-1?"attr"+d.charAt(0).toUpperCase()+d.substring(1):d;r[f]=a[d]}return r}class Q3 extends rv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=We}getBaseTargetFromProps(l,o){return l[o]}readValueFromInstance(l,o){if(Ln.has(o)){const r=$x(o);return r&&r.default||0}return o=gv.has(o)?o:Ud(o),l.getAttribute(o)}scrapeMotionValuesFromProps(l,o,r){return vv(l,o,r)}build(l,o,r){pv(l,o,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(l,o,r,d){I3(l,o,r,d)}mount(l){this.isSVGTag=xv(l.tagName),super.mount(l)}}const K3=Fd.length;function yv(a){if(!a)return;if(!a.isControllingVariants){const o=a.parent?yv(a.parent)||{}:{};return a.props.initial!==void 0&&(o.initial=a.props.initial),o}const l={};for(let o=0;o<K3;o++){const r=Fd[o],d=a.props[r];(Ql(d)||d===!1)&&(l[r]=d)}return l}function bv(a,l){if(!Array.isArray(l))return!1;const o=l.length;if(o!==a.length)return!1;for(let r=0;r<o;r++)if(l[r]!==a[r])return!1;return!0}const Z3=[...Yd].reverse(),$3=Yd.length;function W3(a){return l=>Promise.all(l.map(({animation:o,options:r})=>s3(a,o,r)))}function J3(a){let l=W3(a),o=Qg(),r=!0;const d=g=>(x,v)=>{const b=Tn(a,v,g==="exit"?a.presenceContext?.custom:void 0);if(b){const{transition:j,transitionEnd:E,...k}=b;x={...x,...k,...E}}return x};function f(g){l=g(a)}function m(g){const{props:x}=a,v=yv(a.parent)||{},b=[],j=new Set;let E={},k=1/0;for(let B=0;B<$3;B++){const V=Z3[B],U=o[V],M=x[V]!==void 0?x[V]:v[V],F=Ql(M),P=V===g?U.isActive:null;P===!1&&(k=B);let ae=M===v[V]&&M!==x[V]&&F;if(ae&&r&&a.manuallyAnimateOnMount&&(ae=!1),U.protectedKeys={...E},!U.isActive&&P===null||!M&&!U.prevProp||Io(M)||typeof M=="boolean")continue;const Z=e6(U.prevProp,M);let ee=Z||V===g&&U.isActive&&!ae&&F||B>k&&F,xe=!1;const Re=Array.isArray(M)?M:[M];let tt=Re.reduce(d(V),{});P===!1&&(tt={});const{prevResolvedValues:it={}}=U,oi={...it,...tt},kt=Y=>{ee=!0,j.has(Y)&&(xe=!0,j.delete(Y)),U.needsAnimating[Y]=!0;const W=a.getValue(Y);W&&(W.liveStyle=!1)};for(const Y in oi){const W=tt[Y],fe=it[Y];if(E.hasOwnProperty(Y))continue;let ge=!1;ad(W)&&ad(fe)?ge=!bv(W,fe):ge=W!==fe,ge?W!=null?kt(Y):j.add(Y):W!==void 0&&j.has(Y)?kt(Y):U.protectedKeys[Y]=!0}U.prevProp=M,U.prevResolvedValues=tt,U.isActive&&(E={...E,...tt}),r&&a.blockInitialAnimation&&(ee=!1);const pt=ae&&Z;ee&&(!pt||xe)&&b.push(...Re.map(Y=>{const W={type:V};if(typeof Y=="string"&&r&&!pt&&a.manuallyAnimateOnMount&&a.parent){const{parent:fe}=a,ge=Tn(fe,Y);if(fe.enteringChildren&&ge){const{delayChildren:N}=ge.transition||{};W.delay=Yx(fe.enteringChildren,a,N)}}return{animation:Y,options:W}}))}if(j.size){const B={};if(typeof x.initial!="boolean"){const V=Tn(a,Array.isArray(x.initial)?x.initial[0]:x.initial);V&&V.transition&&(B.transition=V.transition)}j.forEach(V=>{const U=a.getBaseTarget(V),M=a.getValue(V);M&&(M.liveStyle=!0),B[V]=U??null}),b.push({animation:B})}let L=!!b.length;return r&&(x.initial===!1||x.initial===x.animate)&&!a.manuallyAnimateOnMount&&(L=!1),r=!1,L?l(b):Promise.resolve()}function p(g,x){if(o[g].isActive===x)return Promise.resolve();a.variantChildren?.forEach(b=>b.animationState?.setActive(g,x)),o[g].isActive=x;const v=m(g);for(const b in o)o[b].protectedKeys={};return v}return{animateChanges:m,setActive:p,setAnimateFunction:f,getState:()=>o,reset:()=>{o=Qg()}}}function e6(a,l){return typeof l=="string"?l!==a:Array.isArray(l)?!bv(l,a):!1}function Ea(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Qg(){return{animate:Ea(!0),whileInView:Ea(),whileHover:Ea(),whileTap:Ea(),whileDrag:Ea(),whileFocus:Ea(),exit:Ea()}}function Kg(a,l){a.min=l.min,a.max=l.max}function Wt(a,l){Kg(a.x,l.x),Kg(a.y,l.y)}function Zg(a,l){a.translate=l.translate,a.scale=l.scale,a.originPoint=l.originPoint,a.origin=l.origin}const jv=1e-4,t6=1-jv,i6=1+jv,Sv=.01,a6=0-Sv,n6=0+Sv;function ht(a){return a.max-a.min}function l6(a,l,o){return Math.abs(a-l)<=o}function $g(a,l,o,r=.5){a.origin=r,a.originPoint=Ve(l.min,l.max,a.origin),a.scale=ht(o)/ht(l),a.translate=Ve(o.min,o.max,a.origin)-a.originPoint,(a.scale>=t6&&a.scale<=i6||isNaN(a.scale))&&(a.scale=1),(a.translate>=a6&&a.translate<=n6||isNaN(a.translate))&&(a.translate=0)}function Gl(a,l,o,r){$g(a.x,l.x,o.x,r?r.originX:void 0),$g(a.y,l.y,o.y,r?r.originY:void 0)}function Wg(a,l,o){a.min=o.min+l.min,a.max=a.min+ht(l)}function s6(a,l,o){Wg(a.x,l.x,o.x),Wg(a.y,l.y,o.y)}function Jg(a,l,o){a.min=l.min-o.min,a.max=a.min+ht(l)}function Yo(a,l,o){Jg(a.x,l.x,o.x),Jg(a.y,l.y,o.y)}function e0(a,l,o,r,d){return a-=l,a=Go(a,1/o,r),d!==void 0&&(a=Go(a,1/d,r)),a}function o6(a,l=0,o=1,r=.5,d,f=a,m=a){if(li.test(l)&&(l=parseFloat(l),l=Ve(m.min,m.max,l/100)-m.min),typeof l!="number")return;let p=Ve(f.min,f.max,r);a===f&&(p-=l),a.min=e0(a.min,l,o,p,d),a.max=e0(a.max,l,o,p,d)}function t0(a,l,[o,r,d],f,m){o6(a,l[o],l[r],l[d],l.scale,f,m)}const r6=["x","scaleX","originX"],c6=["y","scaleY","originY"];function i0(a,l,o,r){t0(a.x,l,r6,o?o.x:void 0,r?r.x:void 0),t0(a.y,l,c6,o?o.y:void 0,r?r.y:void 0)}function a0(a){return a.translate===0&&a.scale===1}function wv(a){return a0(a.x)&&a0(a.y)}function n0(a,l){return a.min===l.min&&a.max===l.max}function u6(a,l){return n0(a.x,l.x)&&n0(a.y,l.y)}function l0(a,l){return Math.round(a.min)===Math.round(l.min)&&Math.round(a.max)===Math.round(l.max)}function zv(a,l){return l0(a.x,l.x)&&l0(a.y,l.y)}function s0(a){return ht(a.x)/ht(a.y)}function o0(a,l){return a.translate===l.translate&&a.scale===l.scale&&a.originPoint===l.originPoint}function Ft(a){return[a("x"),a("y")]}function d6(a,l,o){let r="";const d=a.x.translate/l.x,f=a.y.translate/l.y,m=o?.z||0;if((d||f||m)&&(r=`translate3d(${d}px, ${f}px, ${m}px) `),(l.x!==1||l.y!==1)&&(r+=`scale(${1/l.x}, ${1/l.y}) `),o){const{transformPerspective:x,rotate:v,rotateX:b,rotateY:j,skewX:E,skewY:k}=o;x&&(r=`perspective(${x}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),j&&(r+=`rotateY(${j}deg) `),E&&(r+=`skewX(${E}deg) `),k&&(r+=`skewY(${k}deg) `)}const p=a.x.scale*l.x,g=a.y.scale*l.y;return(p!==1||g!==1)&&(r+=`scale(${p}, ${g})`),r||"none"}const Nv=["TopLeft","TopRight","BottomLeft","BottomRight"],f6=Nv.length,r0=a=>typeof a=="string"?parseFloat(a):a,c0=a=>typeof a=="number"||K.test(a);function m6(a,l,o,r,d,f){d?(a.opacity=Ve(0,o.opacity??1,h6(r)),a.opacityExit=Ve(l.opacity??1,0,p6(r))):f&&(a.opacity=Ve(l.opacity??1,o.opacity??1,r));for(let m=0;m<f6;m++){const p=`border${Nv[m]}Radius`;let g=u0(l,p),x=u0(o,p);if(g===void 0&&x===void 0)continue;g||(g=0),x||(x=0),g===0||x===0||c0(g)===c0(x)?(a[p]=Math.max(Ve(r0(g),r0(x),r),0),(li.test(x)||li.test(g))&&(a[p]+="%")):a[p]=x}(l.rotate||o.rotate)&&(a.rotate=Ve(l.rotate||0,o.rotate||0,r))}function u0(a,l){return a[l]!==void 0?a[l]:a.borderRadius}const h6=Tv(0,.5,bx),p6=Tv(.5,.95,It);function Tv(a,l,o){return r=>r<a?0:r>l?1:o(Pl(a,l,r))}function g6(a,l,o){const r=ut(a)?a:Cn(a);return r.start(_d("",r,l,o)),r.animation}function Kl(a,l,o,r={passive:!0}){return a.addEventListener(l,o,r),()=>a.removeEventListener(l,o)}const x6=(a,l)=>a.depth-l.depth;class v6{constructor(){this.children=[],this.isDirty=!1}add(l){bd(this.children,l),this.isDirty=!0}remove(l){jd(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(x6),this.isDirty=!1,this.children.forEach(l)}}function y6(a,l){const o=mt.now(),r=({timestamp:d})=>{const f=d-o;f>=l&&(la(r),a(f-l))};return Oe.setup(r,!0),()=>la(r)}function Lo(a){return ut(a)?a.get():a}class b6{constructor(){this.members=[]}add(l){bd(this.members,l),l.scheduleRender()}remove(l){if(jd(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(l){const o=this.members.findIndex(d=>l===d);if(o===0)return!1;let r;for(let d=o;d>=0;d--){const f=this.members[d];if(f.isPresent!==!1){r=f;break}}return r?(this.promote(r),!0):!1}promote(l,o){const r=this.lead;if(l!==r&&(this.prevLead=r,this.lead=l,l.show(),r)){r.instance&&r.scheduleRender(),l.scheduleRender();const d=r.options.layoutDependency,f=l.options.layoutDependency;d!==void 0&&f!==void 0&&d===f||(l.resumeFrom=r,o&&(l.resumeFrom.preserveOpacity=!0),r.snapshot&&(l.snapshot=r.snapshot,l.snapshot.latestValues=r.animationValues||r.latestValues),l.root&&l.root.isUpdating&&(l.isLayoutDirty=!0));const{crossfade:p}=l.options;p===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(l=>{const{options:o,resumingFrom:r}=l;o.onExitComplete&&o.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(l=>{l.instance&&l.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Oo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Mu=["","X","Y","Z"],j6=1e3;let S6=0;function Ru(a,l,o,r){const{latestValues:d}=l;d[a]&&(o[a]=d[a],l.setStaticValue(a,0),r&&(r[a]=0))}function Ev(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:l}=a.options;if(!l)return;const o=Ix(l);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:d,layoutId:f}=a.options;window.MotionCancelOptimisedAnimation(o,"transform",Oe,!(d||f))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&Ev(r)}function Av({attachResizeListener:a,defaultParent:l,measureScroll:o,checkIsScrollRoot:r,resetTransform:d}){return class{constructor(m={},p=l?.()){this.id=S6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(N6),this.nodes.forEach(C6),this.nodes.forEach(D6),this.nodes.forEach(T6)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=m,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new v6)}addEventListener(m,p){return this.eventHandlers.has(m)||this.eventHandlers.set(m,new zd),this.eventHandlers.get(m).add(p)}notifyListeners(m,...p){const g=this.eventHandlers.get(m);g&&g.notify(...p)}hasListeners(m){return this.eventHandlers.has(m)}mount(m){if(this.instance)return;this.isSVG=nv(m)&&!z3(m),this.instance=m;const{layoutId:p,layout:g,visualElement:x}=this.options;if(x&&!x.current&&x.mount(m),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||p)&&(this.isLayoutDirty=!0),a){let v,b=0;const j=()=>this.root.updateBlockedByResize=!1;Oe.read(()=>{b=window.innerWidth}),a(m,()=>{const E=window.innerWidth;E!==b&&(b=E,this.root.updateBlockedByResize=!0,v&&v(),v=y6(j,250),Oo.hasAnimatedSinceResize&&(Oo.hasAnimatedSinceResize=!1,this.nodes.forEach(m0)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&x&&(p||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:j,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const k=this.options.transition||x.getDefaultTransition()||O6,{onLayoutAnimationStart:L,onLayoutAnimationComplete:B}=x.getProps(),V=!this.targetLayout||!zv(this.targetLayout,E),U=!b&&j;if(this.options.layoutRoot||this.resumeFrom||U||b&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const M={...Bd(k,"layout"),onPlay:L,onComplete:B};(x.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M),this.setAnimationOrigin(v,U)}else b||m0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const m=this.getStack();m&&m.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),la(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(M6),this.animationId++)}getTransformTemplate(){const{visualElement:m}=this.options;return m&&m.getProps().transformTemplate}willUpdate(m=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ev(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:p,layout:g}=this.options;if(p===void 0&&!g)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),m&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(d0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(f0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(A6),this.nodes.forEach(w6),this.nodes.forEach(z6)):this.nodes.forEach(f0),this.clearAllSnapshots();const p=mt.now();rt.delta=si(0,1e3/60,p-rt.timestamp),rt.timestamp=p,rt.isProcessing=!0,wu.update.process(rt),wu.preRender.process(rt),wu.render.process(rt),rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,qd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(E6),this.sharedNodes.forEach(R6)}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(),this.snapshot&&!ht(this.snapshot.measuredBox.x)&&!ht(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g<this.path.length;g++)this.path[g].updateScroll();const m=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=We(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,m?m.layoutBox:void 0)}updateScroll(m="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===m&&(p=!1),p&&this.instance){const g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:m,isRoot:g,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!d)return;const m=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!wv(this.projectionDelta),g=this.getTransformTemplate(),x=g?g(this.latestValues,""):void 0,v=x!==this.prevTransformTemplateValue;m&&this.instance&&(p||Ca(this.latestValues)||v)&&(d(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(m=!0){const p=this.measurePageBox();let g=this.removeElementScroll(p);return m&&(g=this.removeTransform(g)),B6(g),{animationId:this.root.animationId,measuredBox:p,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:m}=this.options;if(!m)return We();const p=m.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(_6))){const{scroll:x}=this.root;x&&(zn(p.x,x.offset.x),zn(p.y,x.offset.y))}return p}removeElementScroll(m){const p=We();if(Wt(p,m),this.scroll?.wasRoot)return p;for(let g=0;g<this.path.length;g++){const x=this.path[g],{scroll:v,options:b}=x;x!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Wt(p,m),zn(p.x,v.offset.x),zn(p.y,v.offset.y))}return p}applyTransform(m,p=!1){const g=We();Wt(g,m);for(let x=0;x<this.path.length;x++){const v=this.path[x];!p&&v.options.layoutScroll&&v.scroll&&v!==v.root&&Nn(g,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),Ca(v.latestValues)&&Nn(g,v.latestValues)}return Ca(this.latestValues)&&Nn(g,this.latestValues),g}removeTransform(m){const p=We();Wt(p,m);for(let g=0;g<this.path.length;g++){const x=this.path[g];if(!x.instance||!Ca(x.latestValues))continue;rd(x.latestValues)&&x.updateSnapshot();const v=We(),b=x.measurePageBox();Wt(v,b),i0(p,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,v)}return Ca(this.latestValues)&&i0(p,this.latestValues),p}setTargetDelta(m){this.targetDelta=m,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(m){this.options={...this.options,...m,crossfade:m.crossfade!==void 0?m.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(m=!1){const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==p;if(!(m||g&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!this.layout||!(v||b))return;this.resolvedRelativeTargetAt=rt.timestamp;const j=this.getClosestProjectingParent();j&&this.linkedParentVersion!==j.layoutVersion&&!j.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(j&&j.layout?this.createRelativeTarget(j,this.layout.layoutBox,j.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=We(),this.targetWithTransforms=We()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s6(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wt(this.target,this.layout.layoutBox),dv(this.target,this.targetDelta)):Wt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,j&&!!j.resumingFrom==!!this.resumingFrom&&!j.options.layoutScroll&&j.target&&this.animationProgress!==1?this.createRelativeTarget(j,this.target,j.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||rd(this.parent.latestValues)||uv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(m,p,g){this.relativeParent=m,this.linkedParentVersion=m.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=We(),this.relativeTargetOrigin=We(),Yo(this.relativeTargetOrigin,p,g),Wt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const m=this.getLead(),p=!!this.resumingFrom||this!==m;let g=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(g=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===rt.timestamp&&(g=!1),g)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;Wt(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,j=this.treeScale.y;O3(this.layoutCorrected,this.treeScale,this.path,p),m.layout&&!m.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(m.target=m.layout.layoutBox,m.targetWithTransforms=We());const{target:E}=m;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zg(this.prevProjectionDelta.x,this.projectionDelta.x),Zg(this.prevProjectionDelta.y,this.projectionDelta.y)),Gl(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==j||!o0(this.projectionDelta.x,this.prevProjectionDelta.x)||!o0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(m=!0){if(this.options.visualElement?.scheduleRender(),m){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=wn(),this.projectionDelta=wn(),this.projectionDeltaWithTransform=wn()}setAnimationOrigin(m,p=!1){const g=this.snapshot,x=g?g.latestValues:{},v={...this.latestValues},b=wn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const j=We(),E=g?g.source:void 0,k=this.layout?this.layout.source:void 0,L=E!==k,B=this.getStack(),V=!B||B.members.length<=1,U=!!(L&&!V&&this.options.crossfade===!0&&!this.path.some(L6));this.animationProgress=0;let M;this.mixTargetDelta=F=>{const P=F/1e3;h0(b.x,m.x,P),h0(b.y,m.y,P),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yo(j,this.layout.layoutBox,this.relativeParent.layout.layoutBox),k6(this.relativeTarget,this.relativeTargetOrigin,j,P),M&&u6(this.relativeTarget,M)&&(this.isProjectionDirty=!1),M||(M=We()),Wt(M,this.relativeTarget)),L&&(this.animationValues=v,m6(v,x,this.latestValues,P,U,V)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(m){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(la(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.update(()=>{Oo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cn(0)),this.currentAnimation=g6(this.motionValue,[0,1e3],{...m,velocity:0,isSync:!0,onUpdate:p=>{this.mixTargetDelta(p),m.onUpdate&&m.onUpdate(p)},onStop:()=>{},onComplete:()=>{m.onComplete&&m.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 m=this.getStack();m&&m.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(j6),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const m=this.getLead();let{targetWithTransforms:p,target:g,layout:x,latestValues:v}=m;if(!(!p||!g||!x)){if(this!==m&&this.layout&&x&&Cv(this.options.animationType,this.layout.layoutBox,x.layoutBox)){g=this.target||We();const b=ht(this.layout.layoutBox.x);g.x.min=m.target.x.min,g.x.max=g.x.min+b;const j=ht(this.layout.layoutBox.y);g.y.min=m.target.y.min,g.y.max=g.y.min+j}Wt(p,g),Nn(p,v),Gl(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(m,p){this.sharedNodes.has(m)||this.sharedNodes.set(m,new b6),this.sharedNodes.get(m).add(p);const x=p.options.initialPromotionConfig;p.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(p):void 0})}isLead(){const m=this.getStack();return m?m.lead===this:!0}getLead(){const{layoutId:m}=this.options;return m?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:m}=this.options;return m?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:m}=this.options;if(m)return this.root.sharedNodes.get(m)}promote({needsReset:m,transition:p,preserveFollowOpacity:g}={}){const x=this.getStack();x&&x.promote(this,g),m&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const m=this.getStack();return m?m.relegate(this):!1}resetSkewAndRotation(){const{visualElement:m}=this.options;if(!m)return;let p=!1;const{latestValues:g}=m;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(p=!0),!p)return;const x={};g.z&&Ru("z",m,x,this.animationValues);for(let v=0;v<Mu.length;v++)Ru(`rotate${Mu[v]}`,m,x,this.animationValues),Ru(`skew${Mu[v]}`,m,x,this.animationValues);m.render();for(const v in x)m.setStaticValue(v,x[v]),this.animationValues&&(this.animationValues[v]=x[v]);m.scheduleRender()}applyProjectionStyles(m,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){m.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,m.visibility="",m.opacity="",m.pointerEvents=Lo(p?.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none";return}const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=Lo(p?.pointerEvents)||""),this.hasProjected&&!Ca(this.latestValues)&&(m.transform=g?g({},""):"none",this.hasProjected=!1);return}m.visibility="";const v=x.animationValues||x.latestValues;this.applyTransformsToTarget();let b=d6(this.projectionDeltaWithTransform,this.treeScale,v);g&&(b=g(v,b)),m.transform=b;const{x:j,y:E}=this.projectionDelta;m.transformOrigin=`${j.origin*100}% ${E.origin*100}% 0`,x.animationValues?m.opacity=x===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:m.opacity=x===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const k in ud){if(v[k]===void 0)continue;const{correct:L,applyTo:B,isCSSVariable:V}=ud[k],U=b==="none"?v[k]:L(v[k],x);if(B){const M=B.length;for(let F=0;F<M;F++)m[B[F]]=U}else V?this.options.visualElement.renderState.vars[k]=U:m[k]=U}this.options.layoutId&&(m.pointerEvents=x===this?Lo(p?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(m=>m.currentAnimation?.stop()),this.root.nodes.forEach(d0),this.root.sharedNodes.clear()}}}function w6(a){a.updateLayout()}function z6(a){const l=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&l&&a.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:r}=a.layout,{animationType:d}=a.options,f=l.source!==a.layout.source;d==="size"?Ft(v=>{const b=f?l.measuredBox[v]:l.layoutBox[v],j=ht(b);b.min=o[v].min,b.max=b.min+j}):Cv(d,l.layoutBox,o)&&Ft(v=>{const b=f?l.measuredBox[v]:l.layoutBox[v],j=ht(o[v]);b.max=b.min+j,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[v].max=a.relativeTarget[v].min+j)});const m=wn();Gl(m,o,l.layoutBox);const p=wn();f?Gl(p,a.applyTransform(r,!0),l.measuredBox):Gl(p,o,l.layoutBox);const g=!wv(m);let x=!1;if(!a.resumeFrom){const v=a.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:j}=v;if(b&&j){const E=We();Yo(E,l.layoutBox,b.layoutBox);const k=We();Yo(k,o,j.layoutBox),zv(E,k)||(x=!0),v.options.layoutRoot&&(a.relativeTarget=k,a.relativeTargetOrigin=E,a.relativeParent=v)}}}a.notifyListeners("didUpdate",{layout:o,snapshot:l,delta:p,layoutDelta:m,hasLayoutChanged:g,hasRelativeLayoutChanged:x})}else if(a.isLead()){const{onExitComplete:o}=a.options;o&&o()}a.options.transition=void 0}function N6(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function T6(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function E6(a){a.clearSnapshot()}function d0(a){a.clearMeasurements()}function f0(a){a.isLayoutDirty=!1}function A6(a){const{visualElement:l}=a.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),a.resetTransform()}function m0(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function C6(a){a.resolveTargetDelta()}function D6(a){a.calcProjection()}function M6(a){a.resetSkewAndRotation()}function R6(a){a.removeLeadSnapshot()}function h0(a,l,o){a.translate=Ve(l.translate,0,o),a.scale=Ve(l.scale,1,o),a.origin=l.origin,a.originPoint=l.originPoint}function p0(a,l,o,r){a.min=Ve(l.min,o.min,r),a.max=Ve(l.max,o.max,r)}function k6(a,l,o,r){p0(a.x,l.x,o.x,r),p0(a.y,l.y,o.y,r)}function L6(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const O6={duration:.45,ease:[.4,0,.1,1]},g0=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),x0=g0("applewebkit/")&&!g0("chrome/")?Math.round:It;function v0(a){a.min=x0(a.min),a.max=x0(a.max)}function B6(a){v0(a.x),v0(a.y)}function Cv(a,l,o){return a==="position"||a==="preserve-aspect"&&!l6(s0(l),s0(o),.2)}function _6(a){return a!==a.root&&a.scroll?.wasRoot}const V6=Av({attachResizeListener:(a,l)=>Kl(a,"resize",l),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ku={current:void 0},Dv=Av({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!ku.current){const a=new V6({});a.mount(window),a.setOptions({layoutScroll:!0}),ku.current=a}return ku.current},resetTransform:(a,l)=>{a.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),Mv=w.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function U6(a=!0){const l=w.useContext(yd);if(l===null)return[!0,null];const{isPresent:o,onExitComplete:r,register:d}=l,f=w.useId();w.useEffect(()=>{if(a)return d(f)},[a]);const m=w.useCallback(()=>a&&r&&r(f),[f,r,a]);return!o&&r?[!1,m]:[!0]}const Rv=w.createContext({strict:!1}),y0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let b0=!1;function H6(){if(b0)return;const a={};for(const l in y0)a[l]={isEnabled:o=>y0[l].some(r=>!!o[r])};ov(a),b0=!0}function kv(){return H6(),M3()}function q6(a){const l=kv();for(const o in a)l[o]={...l[o],...a[o]};ov(l)}const G6=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 Fo(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||G6.has(a)}let Lv=a=>!Fo(a);function Y6(a){typeof a=="function"&&(Lv=l=>l.startsWith("on")?!Fo(l):a(l))}try{Y6(require("@emotion/is-prop-valid").default)}catch{}function F6(a,l,o){const r={};for(const d in a)d==="values"&&typeof a.values=="object"||(Lv(d)||o===!0&&Fo(d)||!l&&!Fo(d)||a.draggable&&d.startsWith("onDrag"))&&(r[d]=a[d]);return r}const Ko=w.createContext({});function P6(a,l){if(Qo(a)){const{initial:o,animate:r}=a;return{initial:o===!1||Ql(o)?o:void 0,animate:Ql(r)?r:void 0}}return a.inherit!==!1?l:{}}function X6(a){const{initial:l,animate:o}=P6(a,w.useContext(Ko));return w.useMemo(()=>({initial:l,animate:o}),[j0(l),j0(o)])}function j0(a){return Array.isArray(a)?a.join(" "):a}const Id=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ov(a,l,o){for(const r in l)!ut(l[r])&&!hv(r,o)&&(a[r]=l[r])}function I6({transformTemplate:a},l){return w.useMemo(()=>{const o=Id();return Pd(o,l,a),Object.assign({},o.vars,o.style)},[l])}function Q6(a,l){const o=a.style||{},r={};return Ov(r,o,a),Object.assign(r,I6(a,l)),r}function K6(a,l){const o={},r=Q6(a,l);return a.drag&&a.dragListener!==!1&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(o.tabIndex=0),o.style=r,o}const Bv=()=>({...Id(),attrs:{}});function Z6(a,l,o,r){const d=w.useMemo(()=>{const f=Bv();return pv(f,l,xv(r),a.transformTemplate,a.style),{...f.attrs,style:{...f.style}}},[l]);if(a.style){const f={};Ov(f,a.style,a),d.style={...f,...d.style}}return d}const $6=["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 Qd(a){return typeof a!="string"||a.includes("-")?!1:!!($6.indexOf(a)>-1||/[A-Z]/u.test(a))}function W6(a,l,o,{latestValues:r},d,f=!1,m){const g=(m??Qd(a)?Z6:K6)(l,r,d,a),x=F6(l,typeof a=="str
61ing",f),v=a!==w.Fragment?{...x,...g,ref:o}:{},{children:b}=l,j=w.useMemo(()=>ut(b)?b.get():b,[b]);return w.createElement(a,{...v,children:j})}function J6({scrapeMotionValuesFromProps:a,createRenderState:l},o,r,d){return{latestValues:eS(o,r,d,a),renderState:l()}}function eS(a,l,o,r){const d={},f=r(a,{});for(const j in f)d[j]=Lo(f[j]);let{initial:m,animate:p}=a;const g=Qo(a),x=sv(a);l&&x&&!g&&a.inherit!==!1&&(m===void 0&&(m=l.initial),p===void 0&&(p=l.animate));let v=o?o.initial===!1:!1;v=v||m===!1;const b=v?p:m;if(b&&typeof b!="boolean"&&!Io(b)){const j=Array.isArray(b)?b:[b];for(let E=0;E<j.length;E++){const k=Vd(a,j[E]);if(k){const{transitionEnd:L,transition:B,...V}=k;for(const U in V){let M=V[U];if(Array.isArray(M)){const F=v?M.length-1:0;M=M[F]}M!==null&&(d[U]=M)}for(const U in L)d[U]=L[U]}}}return d}const _v=a=>(l,o)=>{const r=w.useContext(Ko),d=w.useContext(yd),f=()=>J6(a,l,r,d);return o?f():m5(f)},tS=_v({scrapeMotionValuesFromProps:Xd,createRenderState:Id}),iS=_v({scrapeMotionValuesFromProps:vv,createRenderState:Bv}),aS=Symbol.for("motionComponentSymbol");function nS(a,l,o){const r=w.useRef(o);w.useInsertionEffect(()=>{r.current=o});const d=w.useRef(null);return w.useCallback(f=>{f&&a.onMount?.(f),l&&(f?l.mount(f):l.unmount());const m=r.current;if(typeof m=="function")if(f){const p=m(f);typeof p=="function"&&(d.current=p)}else d.current?(d.current(),d.current=null):m(f);else m&&(m.current=f)},[l])}const Vv=w.createContext({});function _l(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function lS(a,l,o,r,d,f){const{visualElement:m}=w.useContext(Ko),p=w.useContext(Rv),g=w.useContext(yd),x=w.useContext(Mv).reducedMotion,v=w.useRef(null),b=w.useRef(!1);r=r||p.renderer,!v.current&&r&&(v.current=r(a,{visualState:l,parent:m,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:x,isSVG:f}),b.current&&v.current&&(v.current.manuallyAnimateOnMount=!0));const j=v.current,E=w.useContext(Vv);j&&!j.projection&&d&&(j.type==="html"||j.type==="svg")&&sS(v.current,o,d,E);const k=w.useRef(!1);w.useInsertionEffect(()=>{j&&k.current&&j.update(o,g)});const L=o[Xx],B=w.useRef(!!L&&!window.MotionHandoffIsComplete?.(L)&&window.MotionHasOptimisedAnimation?.(L));return h5(()=>{b.current=!0,j&&(k.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),j.scheduleRenderMicrotask(),B.current&&j.animationState&&j.animationState.animateChanges())}),w.useEffect(()=>{j&&(!B.current&&j.animationState&&j.animationState.animateChanges(),B.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(L)}),B.current=!1),j.enteringChildren=void 0)}),j}function sS(a,l,o,r){const{layoutId:d,layout:f,drag:m,dragConstraints:p,layoutScroll:g,layoutRoot:x,layoutCrossfade:v}=l;a.projection=new o(a.latestValues,l["data-framer-portal-id"]?void 0:Uv(a.parent)),a.projection.setOptions({layoutId:d,layout:f,alwaysMeasureLayout:!!m||p&&_l(p),visualElement:a,animationType:typeof f=="string"?f:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:g,layoutRoot:x})}function Uv(a){if(a)return a.options.allowProjection!==!1?a.projection:Uv(a.parent)}function Lu(a,{forwardMotionProps:l=!1,type:o}={},r,d){r&&q6(r);const f=o?o==="svg":Qd(a),m=f?iS:tS;function p(x,v){let b;const j={...w.useContext(Mv),...x,layoutId:oS(x)},{isStatic:E}=j,k=X6(x),L=m(x,E);if(!E&&cx){rS();const B=cS(j);b=B.MeasureLayout,k.visualElement=lS(a,L,j,d,B.ProjectionNode,f)}return n.jsxs(Ko.Provider,{value:k,children:[b&&k.visualElement?n.jsx(b,{visualElement:k.visualElement,...j}):null,W6(a,x,nS(L,k.visualElement,v),L,E,l,f)]})}p.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const g=w.forwardRef(p);return g[aS]=a,g}function oS({layoutId:a}){const l=w.useContext(rx).id;return l&&a!==void 0?l+"-"+a:a}function rS(a,l){w.useContext(Rv).strict}function cS(a){const l=kv(),{drag:o,layout:r}=l;if(!o&&!r)return{};const d={...o,...r};return{MeasureLayout:o?.isEnabled(a)||r?.isEnabled(a)?d.MeasureLayout:void 0,ProjectionNode:d.ProjectionNode}}function uS(a,l){if(typeof Proxy>"u")return Lu;const o=new Map,r=(f,m)=>Lu(f,m,a,l),d=(f,m)=>r(f,m);return new Proxy(d,{get:(f,m)=>m==="create"?r:(o.has(m)||o.set(m,Lu(m,void 0,a,l)),o.get(m))})}const dS=(a,l)=>l.isSVG??Qd(a)?new Q3(l):new G3(l,{allowProjection:a!==w.Fragment});class fS extends oa{constructor(l){super(l),l.animationState||(l.animationState=J3(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();Io(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:o}=this.node.prevProps||{};l!==o&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let mS=0;class hS extends oa{constructor(){super(...arguments),this.id=mS++}update(){if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:o}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===r)return;const d=this.node.animationState.setActive("exit",!l);o&&!l&&d.then(()=>{o(this.id)})}mount(){const{register:l,onExitComplete:o}=this.node.presenceContext||{};
vendor: 17,638 bytes, line 61
61o&&o(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const pS={animation:{Feature:fS},exit:{Feature:hS}};function as(a){return{point:{x:a.pageX,y:a.pageY}}}const gS=a=>l=>Gd(l)&&a(l,as(l));function Yl(a,l,o,r){return Kl(a,l,gS(o),r)}const Hv=({current:a})=>a?a.ownerDocument.defaultView:null,S0=(a,l)=>Math.abs(a-l);function xS(a,l){const o=S0(a.x,l.x),r=S0(a.y,l.y);return Math.sqrt(o**2+r**2)}const w0=new Set(["auto","scroll"]);class qv{constructor(l,o,{transformPagePoint:r,contextWindow:d=window,dragSnapToOrigin:f=!1,distanceThreshold:m=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=E=>{this.handleScroll(E.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=Bu(this.lastMoveEventInfo,this.history),k=this.startEvent!==null,L=xS(E.offset,{x:0,y:0})>=this.distanceThreshold;if(!k&&!L)return;const{point:B}=E,{timestamp:V}=rt;this.history.push({...B,timestamp:V});const{onStart:U,onMove:M}=this.handlers;k||(U&&U(this.lastMoveEvent,E),this.startEvent=this.lastMoveEvent),M&&M(this.lastMoveEvent,E)},this.handlePointerMove=(E,k)=>{this.lastMoveEvent=E,this.lastMoveEventInfo=Ou(k,this.transformPagePoint),Oe.update(this.updatePoint,!0)},this.handlePointerUp=(E,k)=>{this.end();const{onEnd:L,onSessionEnd:B,resumeAnimation:V}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&V&&V(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=Bu(E.type==="pointercancel"?this.lastMoveEventInfo:Ou(k,this.transformPagePoint),this.history);this.startEvent&&L&&L(E,U),B&&B(E,U)},!Gd(l))return;this.dragSnapToOrigin=f,this.handlers=o,this.transformPagePoint=r,this.distanceThreshold=m,this.contextWindow=d||window;const g=as(l),x=Ou(g,this.transformPagePoint),{point:v}=x,{timestamp:b}=rt;this.history=[{...v,timestamp:b}];const{onSessionStart:j}=o;j&&j(l,Bu(x,this.history)),this.removeListeners=es(Yl(this.contextWindow,"pointermove",this.handlePointerMove),Yl(this.contextWindow,"pointerup",this.handlePointerUp),Yl(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(l){let o=l.parentElement;for(;o;){const r=getComputedStyle(o);(w0.has(r.overflowX)||w0.has(r.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(l){const o=this.scrollPositions.get(l);if(!o)return;const r=l===window,d=r?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},f={x:d.x-o.x,y:d.y-o.y};f.x===0&&f.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(l,d),Oe.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),la(this.updatePoint)}}function Ou(a,l){return l?{point:l(a.point)}:a}function z0(a,l){return{x:a.x-l.x,y:a.y-l.y}}function Bu({point:a},l){return{point:a,delta:z0(a,Gv(l)),offset:z0(a,vS(l)),velocity:yS(l,.1)}}function vS(a){return a[0]}function Gv(a){return a[a.length-1]}function yS(a,l){if(a.length<2)return{x:0,y:0};let o=a.length-1,r=null;const d=Gv(a);for(;o>=0&&(r=a[o],!(d.timestamp-r.timestamp>Ei(l)));)o--;if(!r)return{x:0,y:0};const f=Pt(d.timestamp-r.timestamp);if(f===0)return{x:0,y:0};const m={x:(d.x-r.x)/f,y:(d.y-r.y)/f};return m.x===1/0&&(m.x=0),m.y===1/0&&(m.y=0),m}function bS(a,{min:l,max:o},r){return l!==void 0&&a<l?a=r?Ve(l,a,r.min):Math.max(a,l):o!==void 0&&a>o&&(a=r?Ve(o,a,r.max):Math.min(a,o)),a}function N0(a,l,o){return{min:l!==void 0?a.min+l:void 0,max:o!==void 0?a.max+o-(a.max-a.min):void 0}}function jS(a,{top:l,left:o,bottom:r,right:d}){return{x:N0(a.x,o,d),y:N0(a.y,l,r)}}function T0(a,l){let o=l.min-a.min,r=l.max-a.max;return l.max-l.min<a.max-a.min&&([o,r]=[r,o]),{min:o,max:r}}function SS(a,l){return{x:T0(a.x,l.x),y:T0(a.y,l.y)}}function wS(a,l){let o=.5;const r=ht(a),d=ht(l);return d>r?o=Pl(l.min,l.max-r,a.min):r>d&&(o=Pl(a.min,a.max-d,l.min)),si(0,1,o)}function zS(a,l){const o={};return l.min!==void 0&&(o.min=l.min-a.min),l.max!==void 0&&(o.max=l.max-a.min),o}const dd=.35;function NS(a=dd){return a===!1?a=0:a===!0&&(a=dd),{x:E0(a,"left","right"),y:E0(a,"top","bottom")}}function E0(a,l,o){return{min:A0(a,l),max:A0(a,o)}}function A0(a,l){return typeof a=="number"?a:a[l]||0}const TS=new WeakMap;class ES{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=We(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:o=!1,distanceThreshold:r}={}){const{presenceContext:d}=this.visualElement;if(d&&d.isPresent===!1)return;const f=b=>{o?(this.stopAnimation(),this.snapToCursor(as(b).point)):this.pauseAnimation()},m=(b,j)=>{this.stopAnimation();const{drag:E,dragPropagation:k,onDragStart:L}=this.getProps();if(E&&!k&&(this.openDragLock&&this.openDragLock(),this.openDragLock=y3(E),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=j,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ft(V=>{let U=this.getAxisMotionValue(V).get()||0;if(li.test(U)){const{projection:M}=this.visualElement;if(M&&M.layout){const F=M.layout.layoutBox[V];F&&(U=ht(F)*(parseFloat(U)/100))}}this.originPoint[V]=U}),L&&Oe.postRender(()=>L(b,j)),nd(this.visualElement,"transform");const{animationState:B}=this.visualElement;B&&B.setActive("whileDrag",!0)},p=(b,j)=>{this.latestPointerEvent=b,this.latestPanInfo=j;const{dragPropagation:E,dragDirectionLock:k,onDirectionLock:L,onDrag:B}=this.getProps();if(!E&&!this.openDragLock)return;const{offset:V}=j;if(k&&this.currentDirection===null){this.currentDirection=AS(V),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",j.point,V),this.updateAxis("y",j.point,V),this.visualElement.render(),B&&B(b,j)},g=(b,j)=>{this.latestPointerEvent=b,this.latestPanInfo=j,this.stop(b,j),this.latestPointerEvent=null,this.latestPanInfo=null},x=()=>Ft(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new qv(l,{onSessionStart:f,onStart:m,onMove:p,onSessionEnd:g,resumeAnimation:x},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:Hv(this.visualElement),element:this.visualElement.current})}stop(l,o){const r=l||this.latestPointerEvent,d=o||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!d||!r)return;const{velocity:m}=d;this.startAnimation(m);const{onDragEnd:p}=this.getProps();p&&Oe.postRender(()=>p(r,d))}cancel(){this.isDragging=!1;const{projection:l,animationState:o}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(l,o,r){const{drag:d}=this.getProps();if(!r||!To(l,d,this.currentDirection))return;const f=this.getAxisMotionValue(l);let m=this.originPoint[l]+r[l];this.constraints&&this.constraints[l]&&(m=bS(m,this.constraints[l],this.elastic[l])),f.set(m)}resolveConstraints(){const{dragConstraints:l,dragElastic:o}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,d=this.constraints;l&&_l(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&r?this.constraints=jS(r.layoutBox,l):this.constraints=!1,this.elastic=NS(o),d!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Ft(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=zS(r.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:o}=this.getProps();if(!l||!_l(l))return!1;const r=l.current,{projection:d}=this.visualElement;if(!d||!d.layout)return!1;const f=B3(r,d.root,this.visualElement.getTransformPagePoint());let m=SS(d.layout.layoutBox,f);if(o){const p=o(k3(m));this.hasMutatedConstraints=!!p,p&&(m=cv(p))}return m}startAnimation(l){const{drag:o,dragMomentum:r,dragElastic:d,dragTransition:f,dragSnapToOrigin:m,onDragTransitionEnd:p}=this.getProps(),g=this.constraints||{},x=Ft(v=>{if(!To(v,o,this.currentDirection))return;let b=g&&g[v]||{};m&&(b={min:0,max:0});const j=d?200:1e6,E=d?40:1e7,k={type:"inertia",velocity:r?l[v]:0,bounceStiffness:j,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...f,...b};return this.startAxisValueAnimation(v,k)});return Promise.all(x).then(p)}startAxisValueAnimation(l,o){const r=this.getAxisMotionValue(l);return nd(this.visualElement,l),r.start(_d(l,r,0,o,this.visualElement,!1))}stopAnimation(){Ft(l=>this.getAxisMotionValue(l).stop())}pauseAnimation(){Ft(l=>this.getAxisMotionValue(l).animation?.pause())}getAnimationState(l){return this.getAxisMotionValue(l).animation?.state}getAxisMotionValue(l){const o=`_drag${l.toUpperCase()}`,r=this.visualElement.getProps(),d=r[o];return d||this.visualElement.getValue(l,(r.initial?r.initial[l]:void 0)||0)}snapToCursor(l){Ft(o=>{const{drag:r}=this.getProps();if(!To(o,r,this.currentDirection))return;const{projection:d}=this.visualElement,f=this.getAxisMotionValue(o);if(d&&d.layout){const{min:m,max:p}=d.layout.layoutBox[o],g=f.get()||0;f.set(l[o]-Ve(m,p,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:o}=this.getProps(),{projection:r}=this.visualElement;if(!_l(o)||!r||!this.constraints)return;this.stopAnimation();const d={x:0,y:0};Ft(m=>{const p=this.getAxisMotionValue(m);if(p&&this.constraints!==!1){const g=p.get();d[m]=wS({min:g,max:g},this.constraints[m])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Ft(m=>{if(!To(m,l,null))return;const p=this.getAxisMotionValue(m),{min:g,max:x}=this.constraints[m];p.set(Ve(g,x,d[m]))})}addListeners(){if(!this.visualElement.current)return;TS.set(this.visualElement,this);const l=this.visualElement.current,o=Yl(l,"pointerdown",g=>{const{drag:x,dragListener:v=!0}=this.getProps(),b=g.target,j=b!==l&&av(b);x&&v&&!j&&this.start(g)}),r=()=>{const{dragConstraints:g}=this.getProps();_l(g)&&g.current&&(this.constraints=this.resolveRefConstraints())},{projection:d}=this.visualElement,f=d.addEventListener("measure",r);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),Oe.read(r);const m=Kl(window,"resize",()=>this.scalePositionWithinConstraints()),p=d.addEventListener("didUpdate",(({delta:g,hasLayoutChanged:x})=>{this.isDragging&&x&&(Ft(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=g[v].translate,b.set(b.get()+g[v].translate))}),this.visualElement.render())}));return()=>{m(),o(),f(),p&&p()}}getProps(){const l=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:r=!1,dragPropagation:d=!1,dragConstraints:f=!1,dragElastic:m=dd,dragMomentum:p=!0}=l;return{...l,drag:o,dragDirectionLock:r,dragPropagation:d,dragConstraints:f,dragElastic:m,dragMomentum:p}}}function To(a,l,o){return(l===!0||l===a)&&(o===null||o===a)}function AS(a,l=10){let o=null;return Math.abs(a.y)>l?o="y":Math.abs(a.x)>l&&(o="x"),o}class CS extends oa{constructor(l){super(l),this.removeGroupControls=It,this.removeListeners=It,this.controls=new ES(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||It}update(){const{dragControls:l}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};l!==o&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const C0=a=>(l,o)=>{a&&Oe.postRender(()=>a(l,o))};class DS extends oa{constructor(){super(...arguments),this.removePointerDownListener=It}onPointerDown(l){this.session=new qv(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Hv(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:o,onPan:r,onPanEnd:d}=this.node.getProps();return{onSessionStart:C0(l),onStart:C0(o),onMove:r,onEnd:(f,m)=>{delete this.session,d&&Oe.postRender(()=>d(f,m))}}}mount(){this.removePointerDownListener=Yl(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let _u=!1;class MS extends w.Component{componentDidMount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:r,layoutId:d}=this.props,{projection:f}=l;f&&(o.group&&o.group.add(f),r&&r.register&&d&&r.register(f),_u&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Oo.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:o,visualElement:r,drag:d,isPresent:f}=this.props,{projection:m}=r;return m&&(m.isPresent=f,l.layoutDependency!==o&&m.setOptions({...m.options,layoutDependency:o}),_u=!0,d||l.layoutDependency!==o||o===void 0||l.isPresent!==f?m.willUpdate():this.safeToRemove(),l.isPresent!==f&&(f?m.promote():m.relegate()||Oe.postRender(()=>{const p=m.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:l}=this.props.visualElement;l&&(l.root.didUpdate(),qd.postRender(()=>{!l.currentAnimation&&l.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:r}=this.props,{projection:d}=l;_u=!0,d&&(d.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(d),r&&r.deregister&&r.deregister(d))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function Yv(a){const[l,o]=U6(),r=w.useContext(rx);return n.jsx(MS,{...a,layoutGroup:r,switchLayoutGroup:w.useContext(Vv),isPresent:l,safeToRemove:o})}const RS={pan:{Feature:DS},drag:{Feature:CS,ProjectionNode:Dv,MeasureLayout:Yv}};function D0(a,l,o){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",o==="Start");const d="onHover"+o,f=r[d];f&&Oe.postRender(()=>f(l,as(l)))}class kS extends oa{mount(){const{current:l}=this.node;l&&(this.unmount=b3(l,(o,r)=>(D0(this.node,r,"Start"),d=>D0(this.node,d,"End"))))}unmount(){}}class LS extends oa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=es(Kl(this.node.current,"focus",()=>this.onFocus()),Kl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function M0(a,l,o){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",o==="Start");const d="onTap"+(o==="End"?"":o),f=r[d];f&&Oe.postRender(()=>f(l,as(l)))}class OS extends oa{mount(){const{current:l}=this.node;l&&(this.unmount=w3(l,(o,r)=>(M0(this.node,r,"Start"),(d,{success:f})=>M0(this.node,d,f?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const fd=new WeakMap,Vu=new WeakMap,BS=a=>{const l=fd.get(a.target);l&&l(a)},_S=a=>{a.forEach(BS)};function VS({root:a,...l}){const o=a||document;Vu.has(o)||Vu.set(o,{});const r=Vu.get(o),d=JSON.stringify(l);return r[d]||(r[d]=new IntersectionObserver(_S,{root:a,...l})),r[d]}function US(a,l,o){const r=VS(l);return fd.set(a,o),r.observe(a),()=>{fd.delete(a),r.unobserve(a)}}const HS={some:0,all:1};class qS extends oa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:l={}}=this.node.getProps(),{root:o,margin:r,amount:d="some",once:f}=l,m={root:o?o.current:void 0,rootMargin:r,threshold:typeof d=="number"?d:HS[d]},p=g=>{const{isIntersecting:x}=g;if(this.isInView===x||(this.isInView=x,f&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),j=x?v:b;j&&j(g)};return US(this.node.current,m,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:o}=this.node;["amount","margin","root"].some(GS(l,o))&&this.startObserver()}unmount(){}}
61function GS({viewport:a={}},{viewport:l={}}={}){return o=>a[o]!==l[o]}const YS={inView:{Feature:qS},tap:{Feature:OS},focus:{Feature:LS},hover:{Feature:kS}},FS={layout:{ProjectionNode:Dv,MeasureLayout:Yv}},PS={...pS,...YS,...RS,...FS},_e=uS(PS,dS),Eo={hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},XS={hidden:{opacity:0,x:50},visible:{opacity:1,x:0}},Fv=()=>n.jsx("div",{className:"relative min-h-screen bg-gradient-to-br from-[#e8f5ed] via-[#fffcf0] to-[#fef5f0]",children:n.jsxs("div",{className:"max-w-6xl mx-auto px-6 sm:px-10 py-20",children:[n.jsxs(_e.div,{variants:Eo,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4},transition:{duration:.8},className:"mb-12 max-w-3xl",children:[n.jsx("h1",{className:"text-4xl md:text-6xl text-[#a47575] font-avenir mb-6",children:"DIAGNOSI PRECOCE"}),n.jsx("div",{className:"w-24 h-1 bg-gradient-to-r from-[#e8f5ed] to-[#d0ebe0] mb-8"})]}),n.jsx(_e.div,{variants:Eo,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.8,delay:.1},className:"bg-white/80 backdrop-blur rounded-3xl p-10 shadow-lg border border-[#e8f5ed] mb-16",children:n.jsxs("p",{className:"text-lg md:text-xl leading-relaxed text-neutral-900 font-avenir",children:["Attualmente l’unica diagnosi di certezza è",n.jsx("span",{className:"text-[#f3948f]",children:" chirurgica "}),"(tramite laparoscopia con biopsia). Tuttavia, esami meno invasivi possono far sospettare la malattia: ecografie transvaginali e",n.jsx("span",{className:"text-[#f3948f]",children:" Risonanza Magnetica "}),"(soprattutto se eseguite da specialisti di endometriosi) individuano spesso endometriomi ovarici e lesioni profonde.",n.jsx("br",{}),n.jsx("br",{}),"La Fondazione sta lavorando a",n.jsx("span",{className:"text-[#f3948f]",children:" test diagnostici non invasivi "}),"– come uno specifico mezzo di contrasto per risonanza e un test salivare – per individuare con precisione i focolai evitando interventi inutili.",n.jsx("br",{}),n.jsx("br",{}),"Nel dubbio, è fondamentale rivolgersi a",n.jsx("span",{className:"text-[#f3948f]",children:" centri specializzati "}),"il prima possibile: un ritardo diagnostico medio di circa",n.jsx("span",{className:"text-[#f3948f]",children:" 7 anni "}),"è purtroppo comune e provoca sofferenze evitabili."]})}),n.jsxs("div",{className:"grid md:grid-cols-5 gap-8 items-center",children:[n.jsx(_e.div,{variants:Eo,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.8,delay:.15},className:"md:col-span-3",children:n.jsx("div",{className:"rounded-3xl p-8 bg-white/80 backdrop-blur shadow-lg border border-[#e8f5ed] mb-6",children:n.jsxs("p",{className:"text-lg md:text-xl text-neutral-900 font-avenir",children:[n.jsx("span",{className:"text-[#f3948f] font-avenir",children:"Autotest Endometriosi:"})," ","abbiamo sviluppato un semplice questionario di autovalutazione per aiutarti a capire se i tuoi sintomi potrebbero essere ricondotti all’endometriosi."]})})}),n.jsxs(_e.div,{variants:XS,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4},transition:{duration:.9},className:"md:col-span-2 relative rounded-3xl overflow-hidden shadow-lg border border-[#e8f5ed]",children:[n.jsx("img",{src:"/img/Endometriosi.it_Centro_Italiano.webp",className:"w-full h-56 object-cover rounded-2xl"}),n.jsxs("a",{href:"https://form.typeform.com/to/AvkXF7jo?typeform-source=www.endometriosi.it",children:["  ",n.jsx("button",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 px-6 py-3 rounded-full bg-[#6fc794] text-white font-avenir shadow-md hover:bg-[#5cb882] transition",children:"Fai l’autotest online"})," "]})]}),n.jsx(_e.div,{variants:Eo,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.7,delay:.2},className:"md:col-span-5 mt-4 rounded-xl p-4 bg-white/70 border border-[#f0dada] shadow-sm",children:n.jsx("p",{className:"text-sm md:text-base text-[#a94442] font-avenir text-center",children:"Attenzione: l’autotest non sostituisce una valutazione medica, ma può aiutarti a decidere se approfondire con uno specialista."})})]})]})}),Uu={hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},IS={hidden:{opacity:0}
61,visible:{opacity:1}},Pv=()=>n.jsxs("div",{className:"relative min-h-screen bg-[#fffcf0] overflow-hidden",children:[n.jsxs("div",{className:"absolute inset-0 opacity-40 pointer-events-none",children:[n.jsx("div",{className:"absolute top-20 left-10 w-96 h-96 bg-[#f3948f]/5 rounded-full blur-3xl"}),n.jsx("div",{className:"absolute bottom-20 right-10 w-80 h-80 bg-[#7ab87a]/5 rounded-full blur-3xl"})]}),n.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 sm:px-10 py-20 md:py-28",children:[n.jsxs(_e.div,{variants:IS,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4},transition:{duration:.6},className:"text-center mb-16",children:[n.jsx("p",{className:"text-sm uppercase tracking-wider text-gray-500 font-avenir mb-2",children:"Riconoscere i Segnali"}),n.jsx("h1",{className:"text-5xl md:text-7xl text-[#a47575] font-avenir tracking-tight mb-4",children:"Sintomi e Segnali d'Allarme"}),n.jsxs("div",{className:"flex items-center justify-center gap-3 mt-6",children:[n.jsx("div",{className:"w-16 h-px bg-gradient-to-r from-transparent to-[#a47575]"}),n.jsx("div",{className:"w-3 h-3 rounded-full bg-[#a47575]"}),n.jsx("div",{className:"w-16 h-px bg-gradient-to-l from-transparent to-[#a47575]"})]})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center mb-16",children:[n.jsx(_e.div,{variants:Uu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.4},transition:{duration:.8,delay:.2},className:"relative",children:n.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl h-[500px] lg:h-[600px]",children:[n.jsx("img",{src:"/img/sintomi.webp",alt:"Sintomi dell'endometriosi",className:"absolute inset-0 w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"}),n.jsx("div",{className:"absolute bottom-8 left-8 bg-white/95 backdrop-blur-sm rounded-2xl p-6 shadow-xl max-w-xs",children:n.jsxs("div",{className:"flex items-start gap-3",children:[n.jsx(hg,{className:"w-6 h-6 text-[#f3948f] flex-shrink-0 mt-1"}),n.jsxs("div",{children:[n.jsx("p",{className:"text-sm font-semibold text-gray-800 font-avenir mb-1",children:"Segnale Chiave"}),n.jsx("p",{className:"text-xs text-gray-600 font-avenir",children:"Il dolore è il sintomo principale ma non l'unico"})]})]})})]})}),n.jsxs(_e.div,{variants:Uu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.8,delay:.3},className:"space-y-8",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"text-3xl md:text-4xl text-[#a47575] font-avenir mb-6",children:"Il Dolore Come Sintomo Principale"}),n.jsxs("p",{className:"text-lg md:text-xl text-gray-700 leading-relaxed font-avenir",children:["Il sintomo principale è il"," ",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:"dolore, spesso debilitante"}),". Si presenta come dismenorrea (mestruazioni molto dolorose), dolore pelvico cronico anche fuori dal ciclo, dolore durante i rapporti sessuali (dispareunia), dolore alla defecazione o minzione, e stanchezza cronica (fatigue)."]})]}),n.jsx("div",{className:"h-px bg-gradient-to-r from-[#a47575]/20 via-[#a47575]/40 to-transparent"}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-2xl md:text-3xl text-[#a47575] font-avenir mb-4",children:"Altri Segnali da Non Ignorare"}),n.jsxs("p",{className:"text-lg md:text-xl text-gray-700 leading-relaxed font-avenir",children:["Possono comparire anche"," ",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:"infertilità o difficoltà a concepire"}),", a volte unico campanello d'allarme. L'intensità dei sintomi non sempre corrisponde all'estensione della malattia, il che rende l'endometriosi subdola: alcune lesioni piccole causano dolori fortissimi, mentre forme avanzate possono essere quasi asintomatiche."]})]})]})]}),n.jsx(_e.div,{variants:Uu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.7,delay:.4},className:"relative",children:n.jsx("div",{className:"bg-gradient-to-br from-[#f0f9f4] to-white rounded-3xl p-8 md:p-10 shadow-xl border-2 border-[#7ab87a]/20",children:n.jsxs("div",{className:"flex gap-6 items-start",children:[n.jsx("div",{className:"flex-shrink-0 w-14 h-14 bg-[#7ab87a]/10 rounded-2xl flex items-center justify-center",children:n.jsx(hg,{className:"w-7 h-7 text-[#7ab87a]"})}),n.jsxs("div",{children:[n.jsx("h4",{className:"text-2xl font-semibold text-[#7ab87a] font-avenir mb-3",children:"Nota Importante"}),n.jsxs("p",{className:"text-lg text-gray-700 leading-relaxed font-avenir",children:["L'assenza di dolore intenso non esclude la presenza della malattia. Per questo la ",n.jsx("span",{className:"font-semibold text-[#7ab87a]",children:"diagnosi precoce è fondamentale"}),". Se riconosci alcuni di questi sintomi, consulta un medico specialista."]})]})]})})})]})]}),Se={rose:"#f3948f",roseDark:"#a96b6c",green:"#7ab87a",cream:"#fffcf0",text:"#4a3f3f",textLight:"#8a7a7a"},QS="linear-gradient(to top, rgba(15,15,20,0.82) 0%, rgba(15,15,20,0.35) 50%, rgba(15,15,20,0.08) 100%)",aa=[{gradient:"linear-gradient(135deg, #2d6a4f 0%, #40916c 40%, #74c69d 80%, #b7e4c7 100%)",overlay:"linear-gradient(to top, rgba(30,60,40,0.85) 0%, rgba(30,60,40,0.3) 55%, transparent 100%)"},{gradient:"linear-gradient(145deg, #6b705c 0%, #a5a58d 35%, #c9c5a1 70%, #e8e4c9 100%)",overlay:"linear-gradient(to top, rgba(50,50,40,0.88) 0%, rgba(50,50,40,0.25) 55%, transparent 100%)"},{gradient:"linear-gradient(160deg, #e07a5f 0%, #f2cc8f 45%, #ddbea9 75%, #f4f1de 100%)",overlay:"linear-gradient(to top, rgba(80,40,25,0.85) 0%, rgba(80,40,25,0.2) 55%, transparent 100%)"},{gradient:"linear-gradient(150deg, #457b9d 0%, #a8dadc 40%, #e9c46a 85%, #f4a261 100%)",overlay:"linear-gradient(to top, rgba(25,50,70,0.87) 0%, rgba(25,50,70,0.22) 55%, transparent 100%)"},{gradient:"linear-gradient(140deg, #3d405b 0%, #81b29a 45%, #f2cc8f 80%, #e9c46a 100%)",overlay:"linear-gradient(to top, rgba(35,35,55,0.88) 0%, rgba(35,35,55,0.25) 55%, transparent 100%)"},{gradient:"linear-gradient(155deg, #b5838d 0%, #6d597a 40%, #355070 75%, #1d3557 100%)",overlay:"linear-gradient(to top, rgba(20,30,50,0.87) 0%, rgba(20,30,50,0.2) 55%, transparent 100%)"},{gradient:"linear-gradient(130deg, #d4a373 0%, #ccd5ae 40%, #e9ecd3 70%, #fefae0 100%)",overlay:"linear-gradient(to top, rgba(60,40,20,0.86) 0%, rgba(60,40,20,0.22) 55%, transparent 100%)"},{gradient:"linear-gradient(148deg, #264653 0%, #2a9d8f 40%, #e9c46a 75%, #f4a261 100%)",overlay:"linear-gradient(to top, rgba(20,45,40,0.87) 0%, rgba(20,45,40,0.2) 55%, transparent 100%)"}];function KS(a,l){const o=a.publishedBy.role==="admin"?"Amministrazione":a.publishedBy.username||"Articolo",r=a.content.length>120?a.content.slice(0,117)+"…":a.content,d=aa[l%aa.length];
61return{id:a._id,tag:o,title:a.title,desc:r,imageUrl:a.image?.url||null,gradient:d.gradient,overlay:d.overlay,createdAt:a.createdAt}}const ZS=void 0;function $S(a){return{Amministrazione:Se.rose,Ricerca:Se.green,Sensibilizzazione:Se.rose,Nutrizione:Se.roseDark,Innovazione:Se.green,CSR:Se.rose,Intervento:Se.roseDark,Comunità:Se.rose}[a]||Se.roseDark}function WS(){const[a,l]=w.useState(typeof window<"u"?window.innerWidth:1024);return w.useEffect(()=>{const o=()=>l(window.innerWidth);return window.addEventListener("resize",o),o(),()=>window.removeEventListener("resize",o)},[]),a}function Hu({active:a,max:l,prev:o,next:r}){return n.jsxs("div",{style:{display:"flex",gap:10},children:[n.jsx("button",{onClick:o,disabled:a===0,style:{width:44,height:44,borderRadius:10,border:"none",cursor:a===0?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",background:a===0?"rgba(74,63,63,0.06)":Se.text,transition:"all 0.25s ease"},children:n.jsx(rj,{style:{width:18,height:18,color:a===0?Se.textLight:"#fff"}})}),n.jsx("button",{onClick:r,disabled:a===l,style:{width:44,height:44,borderRadius:10,border:"none",cursor:a===l?"default":"pointer",display:"flex",alignItems:"center",justifyContent:"center",background:a===l?"rgba(74,63,63,0.06)":Se.text,transition:"all 0.25s ease"},children:n.jsx(uj,{style:{width:18,height:18,color:a===l?Se.textLight:"#fff"}})})]})}function qu({item:a,isActive:l,onClick:o,cardW:r,cardH:d}){const f=$S(a.tag);return n.jsxs("div",{onClick:o,style:{minWidth:r,width:r,height:d,borderRadius:18,overflow:"hidden",position:"relative",cursor:"pointer",flexShrink:0,border:l?`2px solid ${Se.rose}60`:"2px solid transparent",boxShadow:l?"0 8px 32px rgba(169,107,108,0.2)":"0 4px 18px rgba(0,0,0,0.08)",transform:l?"scale(1.02)":"scale(1)",transition:"all 0.4s cubic-bezier(0.16,1,0.3,1)"},children:[a.imageUrl?n.jsxs(n.Fragment,{children:[n.jsx("div",{style:{position:"absolute",inset:0,backgroundImage:`url(${a.imageUrl})`,backgroundSize:"cover",backgroundPosition:"center"}}),n.jsx("div",{style:{position:"absolute",inset:0,background:QS}})]}):n.jsxs(n.Fragment,{children:[n.jsx("div",{style:{position:"absolute",inset:0,background:a.gradient}}),n.jsx("div",{style:{position:"absolute",inset:0,background:a.overlay}})]}),n.jsx("div",{style:{position:"absolute",top:14,left:14,zIndex:2,padding:"5px 12px",borderRadius:18,background:"rgba(255,255,255,0.88)",backdropFilter:"blur(8px)"},children:n.jsx("span",{style:{fontSize:11,fontWeight:600,color:f,fontFamily:"'DM Sans', sans-serif",letterSpacing:"0.04em"},children:a.tag})}),n.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,padding:"20px 18px 18px",zIndex:2},children:[n.jsx("h3",{style:{fontSize:r<300?17:20,fontWeight:700,color:"#fff",fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1.25,marginBottom:5,whiteSpace:"pre-line"},children:a.title}),n.jsx("p",{style:{fontSize:11,color:"rgba(255,255,255,0.8)",fontFamily:"'DM Sans', sans-serif",lineHeight:1.5,margin:0},children:a.desc})]})]})}function JS({cardW:a,cardH:l}){return n.jsxs("div",{style:{minWidth:a,width:a,height:l,borderRadius:18,background:"linear-gradient(135deg, #e8e0d5 0%, #f0ebe3 50%, #e8e0d5 100%)",flexShrink:0,overflow:"hidden",position:"relative"},children:[n.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%)",backgroundSize:"200% 100%",animation:"shimmer 1.5s infinite linear"}}),n.jsx("div",{style:{position:"absolute",top:14,left:14,width:72,height:24,borderRadius:18,background:"rgba(255,255,255,0.6)"}}),n.jsx("div",{style:{position:"absolute",bottom:42,left:18,right:18,height:14,borderRadius:6,background:"rgba(255,255,255,0.5)"}}),n.jsx("div",{style:{position:"absolute",bottom:24,left:18,width:"60%",height:10,borderRadius:6,background:"rgba(255,255,255,0.4)"}})]})}function ew(){return n.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"60px 24px",gap:12},children:[n.jsx("div",{style:{width:48,height:48,borderRadius:"50%",background:"rgba(74,63,63,0.06)",display:"flex",alignItems:"center",justifyContent:"center"},children:n.jsx("span",{style:{fontSize:22},children:"📝"})}),n.jsx("p",{style:{fontSize:15,fontWeight:600,color:Se.text,fontFamily:"'Cormorant Garamond', Georgia, serif",margin:0},children:"Nessun articolo ancora pubblicato"}),n.jsx("p",{style:{fontSize:12,color:Se.textLight,fontFamily:"'DM Sans', sans-serif",margin:0,textAlign:"center",maxWidth:260,lineHeight:1.5},children:"Gli articoli appariranno qui non appena vengono pubblicati."})]})}
61const tw=[{id:"static-1",tag:"Ricerca",title:"Endometriosi e papilloma virus",desc:"Si approfondisce la possibile correlazione tra infezione da HPV e infiammazione endometriosica",imageUrl:"https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800&h=600&fit=crop",gradient:aa[0].gradient,overlay:aa[0].overlay,createdAt:new Date().toISOString()},{id:"static-2",tag:"Terapie",title:"Ormoni ed Endometriosi",desc:"Spiega il ruolo dell'estradiolo (estrogeno) nel 'nutrire' l'endometriosi e perché terapie ormonali possono alleviare i sintomi",imageUrl:"https://images.unsplash.com/photo-1579154204601-01588f351e67?w=800&h=600&fit=crop",gradient:aa[2].gradient,overlay:aa[2].overlay,createdAt:new Date().toISOString()},{id:"static-3",tag:"Fertilità",title:"Endometriosi ed ovulazione",desc:"Analizza come la presenza di endometriosi può interferire con l'ovulazione e la fertilità",imageUrl:"https://images.unsplash.com/photo-1559757175-5700dde675bc?w=800&h=600&fit=crop",gradient:aa[4].gradient,overlay:aa[4].overlay,createdAt:new Date().toISOString()}];function iw(){const[a,l]=w.useState([]),[o,r]=w.useState(0),[d,f]=w.useState(!0),m=w.useRef(null),p=WS(),g=async()=>{f(!0);try{const M=await fetch(`${ZS}/blog`);if(!M.ok)throw new Error(`HTTP ${M.status}`);const F=await M.json();if(!F.success)throw new Error("API returned success: false");l(F.blogs.map((P,ae)=>KS(P,ae))),r(0)}catch{l(tw)}finally{f(!1)}};w.useEffect(()=>{g()},[]);const x=p<640,v=p>=640&&p<1024,b=x?12:16,j=x?Math.min(p-48,300):v?280:340,E=x?260:v?290:340,k=j+b;w.useEffect(()=>{const M=m.current;M&&M.scrollTo({left:o*k,behavior:"smooth"})},[o,k]);const L=()=>r(M=>Math.max(0,M-1)),B=()=>r(M=>Math.min(a.length-1,M+1)),V=({titleSize:M,padBottom:F})=>n.jsxs("div",{style:{marginBottom:F},children:[n.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:16},children:n.jsx("div",{style:{display:"inline-flex",padding:"5px 14px",borderRadius:20,border:"1px solid rgba(74,63,63,0.18)"},children:n.jsx("span",{style:{fontSize:11.5,color:Se.text,fontFamily:"'DM Sans', sans-serif",fontWeight:500},children:"Articoli Informativi e News"})})}),n.jsx("h1",{className:"text-[#a96b6c]",style:{fontSize:M,fontWeight:700,lineHeight:1.15,letterSpacing:"-0.02em",margin:"0 0 16px",textAlign:"center"},children:"Resta Aggiornato Con Le Nostre Ultime Notizie"})]}),U=()=>n.jsx("div",{style:{display:"flex",gap:b,overflow:"hidden",paddingRight:8},children:[...Array(x?2:v?3:4)].map((M,F)=>n.jsx(JS,{cardW:j,cardH:E},F))});if(d){const M=x?"48px 20px":v?"52px 32px":"60px 48px",F=x?34:42,P=x?320:v?460:480,ae=x?36:48;return n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:Se.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",padding:M,boxSizing:"border-box"},children:[n.jsx("style",{children:"@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }"}),n.jsx(V,{titleSize:F,descMax:P,padBottom:ae}),x||v?n.jsx(U,{}):n.jsxs("div",{style:{width:"100%",maxWidth:1200,margin:"0 auto",display:"flex",gap:48,alignItems:"stretch"},children:[n.jsxs("div",{style:{width:220,flexShrink:0},children:[n.jsx("div",{style:{width:60,height:52,borderRadius:8,background:"rgba(74,63,63,0.06)"}}),n.jsx("div",{style:{marginTop:12,width:180,height:12,borderRadius:6,background:"rgba(74,63,63,0.06)"}}),n.jsx("div",{style:{marginTop:6,width:140,height:12,borderRadius:6,background:"rgba(74,63,63,0.06)"}})]}),n.jsx("div",{style:{flex:1,minWidth:0},children:n.jsx(U,{})})]})]})}if(a.length===0){const M=x?"48px 20px":v?"52px 32px":"60px 48px";return n.jsx("div",{style:{minHeight:"100vh",backgroundColor:Se.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",padding:M,boxSizing:"border-box"},children:n.jsx(ew,{})})}return x?n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:Se.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",padding:"48px 20px",boxSizing:"border-box"},children:[n.jsx(V,{titleSize:34,descMax:320,padBottom:36}),n.jsxs("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",marginBottom:20},children:[n.jsxs("div",{children:[n.jsx("span",{style:{fontSize:46,fontWeight:700,color:Se.text,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:String(o+1).padStart(2,"0")}),n.jsxs("span",{style:{fontSize:24,fontWeight:400,color:Se.textLight,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:["/",String(a.length).padStart(2,"0")]})]}),n.jsx(Hu,{active:o,max:a.length-1,prev:L,next:B})]}),n.jsx("p",{style:{fontSize:12.5,color:Se.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.6,margin:"0 0 20px",minHeight:40,maxWidth:300},children:a[o].desc}),n.jsx("div",{style:{marginLeft:-20,marginRight:-20,overflow:"hidden"},children:n.jsx("div",{ref:m,style:{display:"flex",gap:b,overflowX:"hidden",scrollSnapType:"x mandatory",paddingLeft:20,paddingRight:20},children:a.map((M,F)=>n.jsx(qu,{item:M,isActive:F===o,onClick:()=>r(F),cardW:j,cardH:E},M.id))})})]}):v?n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:Se.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",padding:"52px 32px",boxSizing:"border-box"},children:[n.jsx(V,{titleSize:42,descMax:460,padBottom:48}),n.jsxs("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",marginBottom:6},children:[n.jsxs("div",{children:[n.jsx("span",{style:{fontSize:48,fontWeight:700,color:Se.text,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:String(o+1).padStart(2,"0")}),n.jsxs("span",{style:{fontSize:26,fontWeight:400,color:Se.textLight,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:["/",String(a.length).padStart(2,"0")]})]}),n.jsx(Hu,{active:o,max:a.length-1,prev:L,next:B})]}),n.jsx("p",{style:{fontSize:13,color:Se.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.6,margin:"0 0 18px",minHeight:42,maxWidth:320},children:a[o].desc}),n.jsx("div",{style:{marginLeft:-32,marginRight:-32,overflow:"hidden"},children:n.jsx("div",{ref:m,style:{display:"flex",gap:b,overflowX:"hidden",scrollSnapType:"x mandatory",paddingLeft:32,paddingRight:32},children:a.map((M,F)=>n.jsx(qu,{item:M,isActive:F===o,onClick:()=>r(F),cardW:j,cardH:E},M.id))})})]}):n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:Se.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",padding:"60px 48px",boxSizing:"border-box"},children:[n.jsx(V,{titleSize:42,descMax:480,padBottom:48}),n.jsxs("div",{style:{width:"100%",maxWidth:1200,margin:"0 auto",display:"flex",gap:48,alignItems:"stretch"},children:[n.jsxs("div",{style:{width:220,flexShrink:0,display:"flex",flexDirection:"column"},children:[n.jsxs("div",{style:{marginBottom:10},children:[n.jsx("span",{style:{fontSize:52,fontWeight:700,color:Se.text,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:String(o+1).padStart(2,"0")}),n.jsxs("span",{style:{fontSize:28,fontWeight:400,color:Se.textLight,fontFamily:"'Cormorant Garamond', Georgia, serif",lineHeight:1},children:["/",String(a.length).padStart(2,"0")]})]}),n.jsx("p",{style:{fontSize:13,color:Se.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.65,margin:"0 0 32px",maxWidth:200,minHeight:52},children:a[o].desc}),n.jsx("div",{style:{marginTop:"auto"},children:n.jsx(Hu,{active:o,max:a.length-1,prev:L,next:B})})]}),n.jsx("div",{style:{flex:1,minWidth:0,overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"flex-end"},children:n.jsx("div",{ref:m,style:{display:"flex",gap:b,overflowX:"hidden",scrollSnapType:"x mandatory",paddingRight:8},children:a.map((M,F)=>n.jsx(qu,{item:M,isActive:F===o,onClick:()=>r(F),cardW:j,cardH:E},M.id))})})]})]})}const Xv=()=>{const a=w.useRef(null),[l,o]=w.useState(.5),r=[{title:"Terapie farmacologiche",bg:"#2d5a3d",text:"Antidolorifici (FANS) per gestire il dolore e terapie ormonali (es. pillola contraccettiva continua, progestinici, analoghi del GnRH) per ridurre l'attività estrogenica che alimenta le lesioni. Questi trattamenti non eliminano la malattia in modo permanente – le lesioni possono ripresentarsi una volta sospesa la terapia – ma possono dare sollievo prolungato e, in certi casi, migliorare la fertilità dopo alcuni mesi di cura.",img:"/img/cura1.jpg",buttonBg:"white",buttonText:"#14532d"},{title:"Chirurgia conservativa",bg:"white",text:"la laparoscopia permette di rimuovere la maggior parte dei focolai e aderenze con tecnica mini-invasiva, preservando utero e ovaie. È indicata soprattutto in caso di endometriosi severa, cisti ovariche grandi (endometriomi) o ostruzioni. Dopo l'intervento, una terapia ormonale di mantenimento aiuta a ritardare o evitare recidive.",img:"/img/cura2.jpg",buttonBg:"#14532d",buttonText:"white"}
61,{title:"Altri approcci",bg:"#dff6e3",text:"fisioterapia pelvica e supporto psicologico sono preziosi alleati per gestire il dolore cronico e l'impatto sulla vita quotidiana. Un approccio multidisciplinare – ginecologo, algologo (terapia del dolore), nutrizionista, psicologo – è ideale per affrontare tutti gli aspetti della malattia.",img:"/img/cura3.jpg",buttonBg:"#14532d",buttonText:"white"}];w.useEffect(()=>{let f=0;const m=()=>{a.current&&(f-=l,f<=-a.current.scrollWidth/2&&(f=0),a.current.style.transform=`translateX(${f}px)`),requestAnimationFrame(m)};requestAnimationFrame(m)},[l]);const d=f=>{o(f==="right"?1.5:-1.5),setTimeout(()=>o(.5),200)};return n.jsx("div",{className:"relative min-h-screen bg-[#f8f9f7] font-avenir",children:n.jsxs("div",{className:"max-w-7xl mx-auto px-6 sm:px-10 py-20",children:[n.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center mb-20",children:[n.jsxs("div",{children:[n.jsx("h1",{className:"text-5xl md:text-6xl text-[#14532d] font-avenir font-bold mb-6 leading-tight",children:"Come Si Cura"}),n.jsx("p",{className:"text-lg text-neutral-700 font-avenir leading-relaxed mb-8",children:"Ad oggi non esiste una cura definitiva per l'endometriosi. Essendo una patologia cronica, l'obiettivo dei trattamenti è tenere sotto controllo i sintomi, migliorare la qualità di vita e preservare la fertilità."})]}),n.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[n.jsx("img",{src:"/img/cura4.jpg",className:"rounded-2xl shadow-lg w-full h-48 object-cover"}),n.jsx("img",{src:"/img/cura5.jpg",className:"rounded-2xl shadow-lg w-full h-48 object-cover mt-8"})]})]}),n.jsxs("div",{className:"relative overflow-hidden",children:[n.jsx("button",{onClick:()=>d("left"),className:"absolute left-2 top-1/2 -translate-y-1/2 z-10 bg-[#14532d] text-white p-3 rounded-full shadow-lg hover:bg-[#1e6b3f] transition",children:"◀"}),n.jsx("button",{onClick:()=>d("right"),className:"absolute right-2 top-1/2 -translate-y-1/2 z-10 bg-[#14532d] text-white p-3 rounded-full shadow-lg hover:bg-[#1e6b3f] transition",children:"▶"}),n.jsx("div",{ref:a,className:"flex gap-4 md:gap-8",style:{width:"max-content"},children:[...r,...r].map((f,m)=>n.jsx("div",{className:"flex-shrink-0 w-[85vw] sm:w-[500px] md:w-[700px]",children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-0 rounded-2xl md:rounded-3xl overflow-hidden shadow-xl min-h-[500px] md:h-[450px]",style:{background:f.bg},children:[n.jsxs("div",{className:"p-6 md:p-10 flex flex-col justify-center h-auto md:h-full",children:[n.jsx("h2",{className:`text-xl sm:text-2xl md:text-3xl font-avenir font-bold mb-3 md:mb-4 ${f.bg==="#2d5a3d"?"text-white":"text-[#14532d]"}`,children:f.title}),n.jsx("p",{className:`text-sm md:text-base leading-relaxed ${f.bg==="#2d5a3d"?"text-gray-200":"text-neutral-700"}`,children:f.text})]}),n.jsx("div",{className:"h-64 md:h-full w-full",children:n.jsx("img",{src:f.img,alt:f.title,className:"w-full h-full object-cover"})})]})},m))})]}),n.jsx("div",{className:"mt-20 bg-gradient-to-r from-[#dff6e3] to-[#b8ebc8] border-l-4 border-[#6fc794] p-4 sm:p-6 md:p-8 rounded-2xl md:rounded-3xl shadow-lg",children:n.jsxs("div",{className:"flex flex-col sm:flex-row items-start gap-4 sm:gap-6",children:[n.jsx("div",{className:"flex-shrink-0 bg-[#14532d] w-10 h-10 sm:w-12 sm:h-12 rounded-full flex items-center justify-center",children:n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 sm:h-6 sm:w-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 10V3L4 14h7v7l9-11h-7z"})})}),n.jsx("div",{children:n.jsx("p",{className:"text-[#14532d] font-avenir text-base sm:text-lg leading-relaxed",children:"Molte donne trovano beneficio abbinando più terapie (ad es. dieta anti-infiammatoria, esercizio fisico moderato, tecniche di rilassamento). È importante costruire con il medico un percorso personalizzato: ogni endometriosi è diversa e richiede un piano su misura."})})]})})]})})},bn={hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},aw={hidden:{opacity:0}
61,visible:{opacity:1}},nw=()=>n.jsxs("div",{className:"relative min-h-screen overflow-hidden bg-gradient-to-br from-[#FFF5EB] via-[#fafcfb] to-[#f5faf7]",children:[n.jsxs("div",{className:"absolute inset-0 opacity-30 pointer-events-none",children:[n.jsx("div",{className:"absolute top-20 right-10 w-96 h-96 bg-[#6fc794]/5 rounded-full blur-3xl"}),n.jsx("div",{className:"absolute bottom-20 left-10 w-80 h-80 bg-[#a47575]/5 rounded-full blur-3xl"})]}),n.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 py-20 md:py-28",children:[n.jsxs(_e.div,{variants:aw,initial:"hidden",animate:"visible",transition:{duration:.6},className:"text-center mb-6",children:[n.jsx("p",{className:"text-sm uppercase tracking-wider text-gray-500 font-avenir mb-2",children:"La Malattia"}),n.jsx("h1",{className:"text-5xl md:text-7xl font-avenir text-[#a47575] tracking-tight",children:"Che Cos'é L'Endometriosi?"})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 mb-16 items-center",children:[n.jsxs(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.2},className:"relative rounded-3xl overflow-hidden shadow-2xl h-[500px] lg:h-[600px]",children:[n.jsx("img",{src:"/img/che.jpg",alt:"Endometriosi",className:"absolute inset-0 w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"})]}),n.jsxs(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.3},className:"space-y-8",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-avenir text-[#a47575] mb-6",children:"Definizione"}),n.jsxs("p",{className:"text-lg md:text-xl leading-relaxed text-gray-700 font-avenir",children:["L'endometriosi è la presenza anomala di tessuto endometriale fuori dall'utero, in sedi come ovaie, tube, peritoneo e altri organi. Questo tessuto ectopico reagisce agli ormoni ciclici causando",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:" infiammazione cronica"}),". La malattia può insorgere fin dall'adolescenza (persino prima del primo ciclo, sebbene raramente) e perdura fino alla menopausa. Non fa distinzioni di razza o ceto sociale, ed è indipendente dalle gravidanze: può colpire donne che non hanno avuto figli ma anche aggravarsi dopo una gravidanza."]})]}),n.jsx("div",{className:"flex gap-3"})]})]}),n.jsxs("div",{className:"grid lg:grid-cols-3 gap-10",children:[n.jsx(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.4},className:"lg:col-span-2",children:n.jsxs("div",{className:"bg-white rounded-3xl p-10 md:p-12 shadow-lg border border-gray-100",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-avenir text-[#a47575] mb-6",children:"Dati e Cause"}),n.jsxs("p",{className:"text-lg md:text-xl leading-relaxed text-gray-700 font-avenir mb-6",children:["Si stima che",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:" il 10% delle donne in età fertile "}),"ne sia affetto a livello mondiale. In Italia parliamo di circa 3 milioni di donne. Molte scoprono la patologia solo quando faticano ad avere figli, poiché l'endometriosi può portare a sterilità."]}),n.jsxs("p",{className:"text-lg md:text-xl leading-relaxed text-gray-700 font-avenir",children:["La comunità scientifica ha ormai confermato che l'origine dell'endometriosi è",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:" congenita "}),"(cioè si sviluppa durante la vita embrionale). Inoltre è stato dimostrato un legame tra esposizione a",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:" inquinanti ambientali "}),"(interferenti endocrini) e alterazioni nell'embrione che favoriscono la comparsa della malattia. Questi dati spiegano perché la patologia",n.jsx("span",{className:"font-semibold text-[#f3948f]",children:" non è causata dalle donne stesse "}),"né dallo stress, ma ha basi biologiche precise."]}),n.jsx("button",{className:"mt-8 inline-flex items-center gap-2 bg-black text-white px-6 py-3 rounded-lg hover:bg-gray-800 transition font-avenir",children:n.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:n.jsx("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})}),n.jsxs("div",{className:"space-y-6",children:[n.jsxs(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.5},className:"relative rounded-3xl overflow-hidden shadow-lg h-64",children:[n.jsx("img",{src:"/img/sintomi.webp",alt:"Awareness",className:"absolute inset-0 w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent"})]}),n.jsxs(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.6},className:"bg-gradient-to-br from-white to-[#fef5f5] rounded-3xl p-8 shadow-lg border-2 border-[#a47575]/10",children:[n.jsx("div",{className:"text-6xl font-bold text-[#a47575] mb-2",children:"10%"}),n.jsx("p",{className:"text-gray-600 font-avenir",children:"delle donne in età fertile nel mondo"})]}),n.jsxs(_e.div,{variants:bn,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.7},className:"bg-gradient-to-br from-white to-[#f0f9f4] rounded-3xl p-8 shadow-lg border-2 border-[#6fc794]/10",children:[n.jsx("div",{className:"text-6xl font-bold text-[#6fc794] mb-2",children:"3M"}),n.jsx("p",{className:"text-gray-600 font-avenir",children:"di donne in Italia"})]})]})]})]})]}),Gu={hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},lw={hidden:{opacity:0}
61,visible:{opacity:1}},sw=()=>n.jsxs("div",{className:"relative min-h-screen bg-[#fffcf0] overflow-hidden",children:[n.jsxs("div",{className:"absolute inset-0 opacity-30 pointer-events-none",children:[n.jsx("div",{className:"absolute top-20 left-10 w-96 h-96 bg-[#6fc794]/5 rounded-full blur-3xl"}),n.jsx("div",{className:"absolute bottom-20 right-10 w-80 h-80 bg-[#a96b6c]/5 rounded-full blur-3xl"})]}),n.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 sm:px-10 py-20 md:py-28",children:[n.jsxs(_e.div,{variants:lw,initial:"hidden",animate:"visible",transition:{duration:.6},className:"text-center mb-16",children:[n.jsx("p",{className:"text-sm uppercase tracking-wider text-gray-500 font-avenir mb-2",children:"Prevenzione e Consapevolezza"}),n.jsx("h1",{className:"text-5xl md:text-7xl text-[#a96b6c] font-avenir tracking-tight mb-4",children:"Giovani Donne e Prevenzione"}),n.jsxs("div",{className:"flex items-center justify-center gap-3 mt-6",children:[n.jsx("div",{className:"w-16 h-px bg-gradient-to-r from-transparent to-[#6fc794]"}),n.jsx("div",{className:"w-3 h-3 rounded-full bg-[#6fc794]"}),n.jsx("div",{className:"w-16 h-px bg-gradient-to-l from-transparent to-[#6fc794]"})]})]}),n.jsx(_e.div,{variants:Gu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.8},className:"mb-16",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center",children:[n.jsxs("div",{className:"space-y-6",children:[n.jsx("div",{className:"inline-block px-4 py-2 bg-[#6fc794]/10 rounded-full",children:n.jsx("p",{className:"text-sm uppercase tracking-wider text-[#6fc794] font-avenir font-semibold",children:"Sensibilizzazione"})}),n.jsx("h2",{className:"text-3xl md:text-4xl text-[#a96b6c] font-avenir",children:"Riconoscere i Segnali Precoci"}),n.jsx("p",{className:"text-lg text-gray-700 leading-relaxed font-avenir",children:`L'endometriosi può comparire già nell'adolescenza, ma spesso i dolori mestruali delle ragazze giovani vengono scambiati per "normali crampi" della pubertà. Il risultato? Diagnosi tardive e anni di sofferenza non necessaria.`}),n.jsx("div",{className:"bg-gradient-to-br from-[#6fc794]/5 to-[#6fc794]/10 rounded-2xl p-6 border-l-4 border-[#6fc794]",children:n.jsxs("p",{className:"text-base text-gray-700 leading-relaxed font-avenir",children:[n.jsx("span",{className:"font-semibold text-[#6fc794]",children:"Importante:"})," Un ciclo mestruale doloroso al punto da limitare scuola o attività non va mai ignorato. Studi indicano che tra le adolescenti con dolori pelvici cronici, dal 25% fino a oltre 70% hanno in realtà un'endometriosi."]})})]}),n.jsxs("div",{className:"relative group",children:[n.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-[#6fc794]/20 to-[#a96b6c]/20 rounded-3xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),n.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl",children:[n.jsx("img",{src:"/img/Endometriosi-e-gravidanza-300x200.jpeg",alt:"Giovani donne e endometriosi",className:"w-full h-[400px] object-cover transform group-hover:scale-105 transition-transform duration-700"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"})]})]})]})}),n.jsx(_e.div,{variants:Gu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.8,delay:.2},className:"mb-16",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 items-center",children:[n.jsxs("div",{className:"relative group order-2 lg:order-1",children:[n.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-[#a96b6c]/20 to-[#6fc794]/20 rounded-3xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),n.jsxs("div",{className:"relative rounded-3xl overflow-hidden shadow-2xl",children:[n.jsx("img",{src:"/img/fie_biblio.webp",alt:"Supporto e intervento precoce",className:"w-full h-[400px] object-cover transform group-hover:scale-105 transition-transform duration-700"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"})]})]}),n.jsxs("div",{className:"space-y-6 order-1 lg:order-2",children:[n.jsx("div",{className:"inline-block px-4 py-2 bg-[#a96b6c]/10 rounded-full",children:n.jsx("p",{className:"text-sm uppercase tracking-wider text-[#a96b6c] font-avenir font-semibold",children:"Intervento Precoce"})}),n.jsx("h2",{className:"text-3xl md:text-4xl text-[#a96b6c] font-avenir",children:"Prevenire i Danni Progressivi"}),n.jsx("p",{className:"text-lg text-gray-700 leading-relaxed font-avenir",children:"Nei casi sospetti, gli specialisti consigliano di non attendere anni: interventi precoci (farmacologici o chirurgici conservativi) possono prevenire danni progressivi e preservare la fertilità futura."}),n.jsx("div",{className:"bg-gradient-to-br from-[#a96b6c]/5 to-[#a96b6c]/10 rounded-2xl p-6 border-l-4 border-[#a96b6c]",children:n.jsxs("p",{className:"text-base text-gray-700 leading-relaxed font-avenir",children:[n.jsx("span",{className:"font-semibold text-[#a96b6c]",children:"Il nostro impegno:"}),' La Fondazione promuove incontri e materiali dedicati alle giovani, affinché nessuna si senta sola ad affrontare questa "nemica invisibile". Informare le ragazze riduce lo stigma e il senso di isolamento.']})})]})]})}
61),n.jsx(_e.div,{variants:Gu,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.7},className:"relative",children:n.jsxs("div",{className:"bg-gradient-to-br from-[#6fc794]/5 to-[#a96b6c]/10 rounded-3xl p-10 md:p-12 text-center shadow-xl border border-[#6fc794]/20",children:[n.jsx("h2",{className:"text-3xl md:text-4xl text-[#a96b6c] font-avenir mb-4",children:"Non Sei Sola"}),n.jsxs("p",{className:"text-lg text-gray-700 font-avenir mb-8 max-w-2xl mx-auto leading-relaxed",children:["Se sei una giovane donna e riconosci questi sintomi, o se sei un genitore preoccupato,",n.jsx("span",{className:"font-semibold text-[#6fc794]",children:" contatta un centro specializzato"}),". La diagnosi precoce fa la differenza."]}),n.jsxs("a",{href:"/contatti",className:"inline-flex items-center gap-3 px-10 py-5 rounded-full bg-[#6fc794] text-white font-avenir text-lg hover:bg-[#5eb683] transition-all duration-300 shadow-xl hover:shadow-2xl hover:scale-105",children:[n.jsx("span",{children:"Contattaci"}),n.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:n.jsx("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]})})]})]}),R0={hidden:{opacity:0,y:40},visible:{opacity:1,y:0}},ow={hidden:{opacity:0},visible:{opacity:1}},rw={hidden:{opacity:0,scale:.8},visible:{opacity:1,scale:1}},cw=()=>{const a=[{title:'Patologia reale, non "psicosomatica"',description:`Il dolore dell'endometriosi non è "nella tua testa". Ha una base organica e può essere estremamente intenso – merita sempre ascolto e terapie adeguate.`},{title:"Incidenza elevata",description:"Colpisce milioni di donne nel mondo (176 milioni stimate). Non sei sola: esistono comunità e associazioni pronte ad aiutarti."},{title:"Cronica ma gestibile",description:"L'endometriosi è una malattia cronica senza cura definitiva ad oggi, ma con le giuste terapie molte donne riescono a tenerla sotto controllo e avere una vita piena."},{title:"Diagnosi da specialisti",description:"Se sospetti di averla, rivolgiti a centri specializzati o ginecologi esperti in endometriosi. Una diagnosi corretta è il primo passo verso terapie efficaci."},{title:"Fertilità da preservare",description:"Non tutte le donne con endometriosi sono infertili, ma circa il 30–40% può avere difficoltà di concepimento. Parlane presto con il medico se desideri una gravidanza."},{title:"Impatto sociale riconosciuto",description:"L'endometriosi è proposta come malattia sociale e molti Paesi discutono leggi di tutela. Informati sui tuoi diritti e sostieni le iniziative di riconoscimento."}];return n.jsxs("div",{className:"relative min-h-screen bg-gradient-to-br from-[#fef5f0] via-white to-[#fef8f5] overflow-hidden",children:[n.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none opacity-30",children:[n.jsx("div",{className:"absolute top-20 left-10 w-72 h-72 bg-[#f3948f] rounded-full mix-blend-multiply filter blur-3xl"}),n.jsx("div",{className:"absolute bottom-20 right-10 w-72 h-72 bg-[#a47575] rounded-full mix-blend-multiply filter blur-3xl"})]}),n.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-10 py-16 md:py-24",children:[n.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-12 items-center mb-16 md:mb-20",children:[n.jsx(_e.div,{variants:ow,initial:"hidden",animate:"visible",transition:{duration:.8},className:"relative order-2 lg:order-1",children:n.jsxs("div",{className:"relative h-[400px] md:h-[500px] lg:h-[600px] rounded-3xl overflow-hidden shadow-2xl",children:[n.jsx("img",{src:"/img/alert.jpg",alt:"Alert Endometriosi",className:"absolute inset-0 w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#a47575]/60 to-transparent"}),n.jsx("div",{className:"absolute bottom-4 left-4 right-4 md:bottom-8 md:left-8 md:right-8",children:n.jsx("div",{className:"bg-white/95 backdrop-blur-sm rounded-2xl p-4 md:p-6 shadow-2xl",children:n.jsxs("div",{className:"flex items-center gap-3 md:gap-4",children:[n.jsx("div",{className:"w-10 h-10 md:w-12 md:h-12 bg-[#f3948f] rounded-full flex items-center justify-center flex-shrink-0",children:n.jsx(xg,{className:"w-5 h-5 md:w-6 md:h-6 text-white"})}),n.jsxs("div",{children:[n.jsx("p",{className:"text-xs md:text-sm font-semibold text-gray-800 font-avenir",children:"176 Milioni"}),n.jsx("p",{className:"text-[10px] md:text-xs text-gray-600 font-avenir",children:"di donne nel mondo affette"})]})]})})})]})}),n.jsxs(_e.div,{variants:R0,initial:"hidden",animate:"visible",transition:{duration:.8,delay:.2},className:"space-y-4 md:space-y-6 order-1 lg:order-2",children:[n.jsx("div",{className:"inline-block px-3 py-1.5 md:px-4 md:py-2 bg-[#f3948f]/10 rounded-full",children:n.jsx("p",{className:"text-xs md:text-sm uppercase tracking-wider text-[#a47575] font-avenir font-semibold",children:"Informazioni Essenziali"})}),n.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-7xl text-[#a47575] font-avenir tracking-tight leading-tight",children:["ALERT",n.jsx("br",{}),n.jsx("span",{className:"text-[#f3948f]",children:"Cosa Devi Ricordare"})]}),n.jsx("p",{className:"text-base md:text-lg lg:text-xl text-gray-700 font-avenir leading-relaxed",children:"Quando si parla di endometriosi è importante conoscere alcune informazioni fondamentali. Questi ALERT aiutano a riconoscere, comprendere e affrontare la malattia con maggiore consapevolezza."}),n.jsxs("div",{className:"flex items-center gap-4 pt-2 md:pt-4",children:[n.jsx("div",{className:"h-0.5 md:h-1 w-16 md:w-20 bg-gradient-to-r from-[#f3948f] to-transparent roun
61ded-full"}),n.jsx("div",{className:"w-2 h-2 md:w-3 md:h-3 rounded-full bg-[#a47575]"})]})]})]}),n.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-6 mb-12 md:mb-16",children:a.map((l,o)=>n.jsxs(_e.div,{variants:rw,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.6,delay:o*.1},className:"group relative bg-white rounded-2xl md:rounded-3xl p-6 md:p-8 shadow-lg hover:shadow-2xl hover:-translate-y-1 transition-all duration-300",children:[n.jsx("div",{className:"w-12 h-12 md:w-14 md:h-14 bg-[#f3948f]/10 rounded-xl md:rounded-2xl flex items-center justify-center mb-4 md:mb-6 group-hover:bg-[#f3948f]/20 transition-colors",children:n.jsx(xg,{className:"w-6 h-6 md:w-7 md:h-7 text-[#f3948f]"})}),n.jsx("h3",{className:"text-lg md:text-xl font-semibold text-[#a47575] mb-2 md:mb-3 font-avenir leading-snug",children:l.title}),n.jsx("p",{className:"text-sm md:text-base text-gray-700 leading-relaxed font-avenir",children:l.description})]},o))}),n.jsx(_e.div,{variants:R0,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.3},transition:{duration:.7},className:"relative",children:n.jsxs("div",{className:"relative rounded-2xl md:rounded-3xl overflow-hidden shadow-2xl bg-gradient-to-r from-[#f3948f] to-[#d9a090] p-8 md:p-12 lg:p-16 text-center",children:[n.jsx("div",{className:"absolute top-0 right-0 w-48 h-48 md:w-64 md:h-64 bg-white/10 rounded-full -translate-y-24 translate-x-24 md:-translate-y-32 md:translate-x-32"}),n.jsx("div",{className:"absolute bottom-0 left-0 w-32 h-32 md:w-48 md:h-48 bg-white/10 rounded-full translate-y-16 -translate-x-16 md:translate-y-24 md:-translate-x-24"}),n.jsxs("div",{className:"relative z-10",children:[n.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl text-white font-avenir mb-4 md:mb-6",children:"Hai Dubbi Specifici?"}),n.jsxs("p",{className:"text-base md:text-lg lg:text-xl text-white/90 font-avenir mb-8 md:mb-10 max-w-2xl mx-auto leading-relaxed",children:["Invia la tua domanda al nostro esperto ginecologo. Il servizio di assistenza continua via email è",n.jsx("span",{className:"font-semibold",children:" gratuito"})," per tutte le iscritte alla nostra associazione."]}),n.jsxs("a",{href:"https://mail.google.com/mail/?view=cm&[email protected]&subject=Chiedi%20all%27esperto%20-%20Endometriosi",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 md:gap-3 px-8 md:px-12 py-4 md:py-6 rounded-full bg-white text-[#a47575] font-avenir text-base md:text-lg font-semibold hover:bg-gray-50 transition-all duration-300 shadow-2xl hover:shadow-3xl hover:scale-105",children:[n.jsx("span",{children:"Chiedi all'Esperto"}),n.jsx("svg",{className:"w-4 h-4 md:w-5 md:h-5",fill:"currentColor",viewBox:"0 0 20 20",children:n.jsx("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),n.jsx("p",{className:"mt-6 md:mt-8 text-xs md:text-sm text-white/80 font-avenir italic",children:"Risponde il Dott. P.G. Signorile, presidente FIE, con oltre 20 anni di esperienza."})]})]})})]})]})};function uw(){return n.jsxs("div",{children:[n.jsx(nw,{}),n.jsx(Pv,{}),n.jsx(Fv,{}),n.jsx(Xv,{}),n.jsx(sw,{}),n.jsx(cw,{})]})}function dw(){const a=Wl(),l=o=>{window.scrollTo({top:0,behavior:"smooth"}),a(o)};return n.jsxs("div",{className:" bg-[#FFF5EB] py-6 md:py-10 px-3 xs:px-4 sm:px-6",children:[n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs("div",{className:"flex flex-col md:flex-row md:justify-between md:items-start mb-8 xs:mb-10 sm:mb-14 md:mb-16",children:[n.jsxs("div",{className:"mb-5 xs:mb-6 md:mb-0",children:[n.jsx("p",{className:"text-[#f3948f] font-avenir text-[10px] xs:text-xs sm:text-sm font-semibold tracking-wider xs:tracking-widest mb-2 xs:mb-3 sm:mb-4 uppercase",children:"Articoli Informativi e News"}),n.jsxs("h1",{className:"text-2xl xs:text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-avenir font-serif text-[#a96b6c] leading-tight",children:["Resta Aggiornato Con",n.jsx("br",{}),n.jsx("span",{className:"font-light font-avenir",children:"Le Nostre Ultime Notizie"})]})]}),n.jsxs("button",{onClick:()=>l("/blogs"),className:"hidden md:flex items-center gap-2 px-6 py-3 bg-[#f3948f] text-white rounded-full font-avenir font-semibold hover:bg-[#f3948f] transition-all duration-300 shadow-lg hover:shadow-xl whitespace-nowrap",children:["Leggi Tutti Gli Articoli",n.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]}),n.jsx("div",{className:"mt-1 xs:mt-14 sm:mt-18 md:mt-20 bg-[#f3948f]  rounded-xl xs:rounded-2xl sm:rounded-3xl p-6 xs:p-8 sm:p-10 md:p-12 text-center shadow-2xl",children:n.jsxs("div",{className:"max-w-3xl mx-auto",children:[n.jsx("h3",{className:"text-xl xs:text-2xl sm:text-3xl md:text-4xl font-avenir text-white mb-2 xs:mb-3 sm:mb-4 leading-tight",children:"Non perdere i nuovi articoli"}),n.jsx("p",{className:"text-white/90 text-sm xs:text-base sm:text-lg mb-5 xs:mb-6 sm:mb-8 font-avenir leading-relaxed",children:`Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle ultime scoperte e consigli pratici per "tenere testa" all'endometriosi`}),n.jsx("div",{className:"flex font-avenir flex-col sm:flex-row gap-3 xs:gap-4 justify-center items-center",children:n.jsx("button",{className:"w-full sm:w-auto px-5 xs:px-6 sm:px-8 py-2.5 xs:py-3 sm:py-4 bg-white text-[#f3948f] rounded-full font-bold hover:bg-[#fffcf0] transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1 text-xs xs:text-sm sm:text-base",children:"📧 Iscriviti alla Newsletter"})})]})})]}),n.jsx("style",{children:`
62        @keyframes fadeInUp {
63          from {
64            opacity: 0;
65            transform: translateY(30px);
66          }
67          to {
68            opacity: 1;
69            transform: translateY(0);
70          }
71        }
72
73        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;700&display=swap');
74
75        .font-serif {
76          font-family: 'Playfair Display', serif;
77        }
78
79        /* Custom xs breakpoint for screens smaller than 375px */
80        @media (min-width: 375px) {
81          .xs:text-xs { font-size: 0.75rem; }
82          .xs:text-sm { font-size: 0.875rem; }
83          .xs:text-base { font-size: 1rem; }
84          .xs:text-lg { font-size: 1.125rem; }
85          .xs:text-xl { font-size: 1.25rem; }
86          .xs:text-2xl { font-size: 1.5rem; }
87          .xs:text-3xl { font-size: 1.875rem; }
88          .xs:px-4 { padding-left: 1rem; padding-right: 1rem; }
89          .xs:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
90          .xs:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
91          .xs:px-8 { padding-left: 2rem; padding-right: 2rem; }
92          .xs:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
93          .xs:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
94          .xs:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
95          .xs:p-5 { padding: 1.25rem; }
96          .xs:p-8 { padding: 2rem; }
97          .xs:mb-3 { margin-bottom: 0.75rem; }
98          .xs:mb-4 { margin-bottom: 1rem; }
99          .xs:mb-6 { margin-bottom: 1.5rem; }
100          .xs:mb-10 { margin-bottom: 2.5rem; }
101          .xs:mb-14 { margin-bottom: 3.5rem; }
102          .xs:mt-10 { margin-top: 2.5rem; }
103          .xs:mt-14 { margin-top: 3.5rem; }
104          .xs:gap-4 { gap: 1rem; }
105          .xs:gap-5 { gap: 1.25rem; }
106          .xs:h-48 { height: 12rem; }
107          .xs:rounded-2xl { border-radius: 1rem; }
108          .xs:w-4 { width: 1rem; }
109          .xs:h-4 { height: 1rem; }
110          .xs:tracking-widest { letter-spacing: 0.1em; }
111        }
112      `})]})}const fw=({})=>n.jsxs("div",{style:Ao.container,children:[n.jsx("p",{style:Ao.paragraph,children:"Oltre a questi, la Fondazione gestisce un Laboratorio di Ricerca Traslazionale in biologia molecolare, focalizzato ad esempio sugli effetti degli endocrine disruptors (inquinanti ambientali) sull'endometrio. Siamo partner in progetti europei e partecipiamo attivamente alla comunità scientifica: i nostri rappresentanti sono invitati a conferenze e tavoli ministeriali (es. Ministero Ambiente in Germania) per condividere lo stato dell'arte sulla patologia."}),n.jsxs("p",{style:Ao.paragraph,children:[n.jsx("strong",{children:"Sostieni un progetto:"})," puoi destinare la tua donazione a un progetto specifico. Ad esempio, Dona per il Progetto Genoma o per il Progetto Nutrizione – indica la preferenza in causale. Con il tuo aiuto possiamo raggiungere traguardi fondamentali più velocemente."]}),n.jsx(Xt,{to:"/articoli/pubblicazioni",style:Ao.button,children:"Pubblicazioni scie
112ntifiche"})]}),Ao={container:{margin:0,padding:"1.5rem",textAlign:"center",backgroundColor:"#fff5eb"},paragraph:{maxWidth:"800px",margin:"0 auto 1rem",lineHeight:1.6,fontSize:"1rem"},button:{padding:"0.75rem 1.5rem",fontSize:"1rem",backgroundColor:"#a96b6c",color:"#fff",border:"none",borderRadius:"6px",cursor:"pointer"}},mw=({title:a,description:l,index:o})=>{const r=["from-[#a96b6c] via-[#f3948f] to-[#22c55e]","from-[#22c55e] via-[#a96b6c] to-[#f3948f]","from-[#f3948f] via-[#22c55e] to-[#a96b6c]"];return n.jsxs("div",{className:"group relative bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-500 transform hover:-translate-y-2 hover:scale-105",style:{animationDelay:`${o*150}ms`},children:[n.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${r[o]} opacity-0 group-hover:opacity-10 rounded-2xl transition-opacity duration-500`}),n.jsx("div",{className:"absolute -top-3 -right-3 w-16 h-16 bg-gradient-to-br from-purple-200 to-pink-200 rounded-full blur-xl opacity-50 group-hover:opacity-100 transition-opacity duration-500"}),n.jsxs("div",{className:"relative z-10",children:[n.jsx("h3",{className:"text-2xl font-bold mb-4 text-gray-900 group-hover:text-transparent group-hover:bg-clip-text group-hover:bg-gradient-to-r group-hover:from-[#f3948f] group-hover:to-pink-600 transition-all duration-300",children:a}),n.jsx("p",{className:"text-gray-600 leading-relaxed",children:l})]}),n.jsx("div",{className:`absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r ${r[o]} transform scale-x-0 group-hover:scale-x-100 transition-transform duration-500 rounded-b-2xl`})]})},hw=()=>{const a=[{icon:"",title:"Ricerca scientifica d'eccellenza",description:"Studiamo cause, diagnosi e terapie dell'endometriosi, con progetti innovativi e collaborazioni internazionali. Abbiamo contribuito a scoperte chiave, come l'origine congenita della malattia e il legame tra endometriosi e riduzione della riserva ovarica (causa di menopausa precoce e infertilità)."},{icon:"",title:"Divulgazione e formazione",description:"Diffondiamo informazioni accurate per colmare il gender gap sanitario che penalizza la salute femminile. Organizziamo convegni, campagne nazionali (es. Giornata Nazionale Endometriosi) e programmi educativi per professionisti e pubblico."},{icon:"",title:"Sostegno alle donne",description:"Offriamo servizi di supporto medico (consulenze specialistiche, Q&A con esperti) e legale (tutela contro malasanità) tramite la nostra rete associativa. Favoriamo la creazione di community di pazienti per condividere esperienze e rompere l'isolamento."}];return n.jsxs("div",{className:"min-h-screen bg-[#FFF5EB] relative overflow-hidden",children:[n.jsx("div",{className:"absolute top-0 left-0 w-96 h-96 bg-[#f3948f] rounded-full mix-blend-multiply filter blur-3xl op
112acity-20 animate-blob"}),n.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-pink-200 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-2000"}),n.jsx("div",{className:"absolute bottom-0 left-1/2 w-96 h-96 bg-[#f3948f] rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-4000"}),n.jsx("section",{className:"relative bg-transparent backdrop-blur-sm sm:mb-0",children:n.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[n.jsxs("div",{className:"relative group",children:[n.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-pink-400 via-pink-400 to-red-400 rounded-3xl blur-2xl opacity-30 group-hover:opacity-50 transition-opacity duration-500"}),n.jsxs("div",{className:"relative aspect-video rounded-3xl overflow-hidden shadow-2xl transform group-hover:scale-105 transition-transform duration-500",children:[n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#f3948f] to-pink-300/20 z-10 group-hover:opacity-0 transition-opacity duration-500"}),n.jsx("img",{src:"/img/sunflower.jpg",alt:"Fondazione Italiana Endometriosi",className:"w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-700"}),n.jsx("div",{className:"absolute top-4 left-4 w-12 h-12 border-t-4 border-l-4 border-white rounded-tl-2xl opacity-50"}),n.jsx("div",{className:"absolute bottom-4 right-4 w-12 h-12 border-b-4 border-r-4 border-white rounded-br-2xl opacity-50"})]})]}),n.jsxs("div",{className:"space-y-6 bg-transparent",children:[n.jsx("div",{className:"inline-block",children:n.jsxs("span",{className:"relative text-[#a47575] font-avenir font-bold text-sm tracking-widest uppercase px-6 py-2 rounded-full shadow-md",children:["La Nostra Missione",n.jsx("div",{className:"absolute -bottom-1 left-0 w-full h-1 rounded-full"})]})}),n.jsx("h1",{className:"text-5xl lg:text-6xl font-black text-transparent bg-clip-text bg-gradient-to-r from-[#a96b6c] via-[#f3948f] to-[#a96b6c] leading-tight animate-fadeIn",children:"Chi siamo e la nostra missione"}),n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute -left-4 top-0 bottom-0 w-1 bg-[#f3948f] rounded-full"}),n.jsxs("p",{className:"text-gray-700 text-lg leading-relaxed pl-6",children:["La Fondazione Italiana Endometriosi (FIE) nasce nel 2007 dall'evoluzione dell'Associazione Italiana Endometriosi Onlus, fondata nel 2001. Da oltre 20 anni combattiamo quella che è stata definita una ",n.jsx("span",{className:"font-bold text-transparent bg-clip-text bg-[#f3948f]",children:'"epidemia silenziosa"'})," a carico delle donne. La nostra missione è migliorare la vita delle pazienti attraverso:"]})]})]})]})})}),n.jsx("section",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 sm:mt-0 py-20 bg-transparent backdrop-blur-sm",children:n.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:a.map((l,o)=>n.jsx(Xt,{to:"/articoli/pubblicazioni",children:n.jsx(mw,{icon:l.icon,title:l.title,description:l.description,index:o},o)}))})}),n.jsx("style",{children:`
113        @keyframes blob {
114          0%, 100% { transform: translate(0, 0) scale(1); }
115          33% { transform: translate(30px, -50px) scale(1.1); }
116          66% { transform: translate(-20px, 20px) scale(0.9); }
117        }
118        .animate-blob {
119          animation: blob 7s infinite;
120        }
121        .animation-delay-2000 {
122          animation-delay: 2s;
123        }
124        .animation-delay-4000 {
125          animation-delay: 4s;
126        }
127        @keyframes fadeIn {
128          from { opacity: 0; transform: translateY(20px); }
129          to { opacity: 1; transform: translateY(0); }
130        }
131        .animate-fadeIn {
132          animation: fadeIn 1s ease-out;
133        }
134      `})]})};function pw(){return n.jsxs("div",{className:"bg-[#f3948f]  flex flex-col items-center justify-center px-6 py-20 text-center",children:[n.jsx("p",{className:"text-[#fff8d8] font-avenir text-xs tracking-[0.3em] uppercase font-light mb-4",children:"Le Nostre Pubblicazioni"}),n.jsxs("h1",{className:"text-[#fff8d8] font-avenir text-5xl md:text-7xl font-light tracking-tight leading-tight mb-8",children:["PUBBLICAZIONI",n.jsx("br",{}),"SCIENTIFICHE"]}),n.jsx("p",{className:"text-white/90 text-base md:text-xl font-avenir font-light max-w-2xl leading-relaxed mb-6",children:"I risultati della nostra ricerca sono pubblicati su prestigiose riviste internazionali. La Fondazione e i suoi membri hanno all'attivo decine di articoli peer-reviewed."}),n.jsxs(Xt,{to:"/articoli/pubblicazioni",className:"inline-flex items-center font-avenir gap-3 px-8 py-4 rounded-full border-2 border-white/60 text-[#fff8d8] text-sm tracking-widest uppercase font-light hover:bg-white/10 transition-all duration-300",children:["Vedi Tutte le Pubblicazioni",n.jsx("svg",{className:"w-4 h-4",fill:"
134currentColor",viewBox:"0 0 20 20",children:n.jsx("path",{fillRule:"evenodd",d:"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]})}const gw=()=>{const[a,l]=w.useState(null);return w.useEffect(()=>{const o=r=>{r.key==="Escape"&&l(null)};return a&&(document.addEventListener("keydown",o),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",o),document.body.style.overflow="unset"}},[a]),n.jsxs(n.Fragment,{children:[n.jsx("style",{children:`
135        @keyframes fadeInUp {
136          from {
137            opacity: 0;
138            transform: translateY(30px);
139          }
140          to {
141            opacity: 1;
142            transform: translateY(0);
143          }
144        }
145        
146        @keyframes modalFadeIn {
147          from {
148            opacity: 0;
149          }
150          to {
151            opacity: 1;
152          }
153        }
154        
155        @keyframes modalSlideIn {
156          from {
157            transform: translateY(50px);
158            opacity: 0;
159          }
160          to {
161            transform: translateY(0);
162            opacity: 1;
163          }
164        }
165        
166        .blog-card-animate-0 {
167          animation: fadeInUp 0.6s ease-out 0s backwards;
168        }
169        .blog-card-animate-1 {
170          animation: fadeInUp 0.6s ease-out 0.1s backwards;
171        }
172        .blog-card-animate-2 {
173          animation: fadeInUp 0.6s ease-out 0.2s backwards;
174        }
175        .blog-card-animate-3 {
176          animation: fadeInUp 0.6s ease-out 0.3s backwards;
177        }
178        
179        .modal-backdrop {
180          animation: modalFadeIn 0.3s ease-out;
181        }
182        
183        .modal-content {
184          animation: modalSlideIn 0.3s ease-out;
185        }
186
187        /* Remove any default margins/padding */
188        #blog-section {
189          margin: 0 !important;
190          border: none !important;
191        }
192      `}),n.jsx("section",{id:"blog-section",className:"relative bg-[#fff5eb] py-16 md:py-24",style:{margin:0,border:"none"},children:n.jsx("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:n.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16",children:[n.jsx("div",{className:"lg:sticky lg:top-24 lg:self-start",children:n.jsxs("div",{className:"mb-8",children:[n.jsx("p",{className:"text-md md:text-l lg:text-xl font-avenir mt-4 mb-6 leading-tight",children:"La Fondazione è riconosciuta come Ente di Ricerca ed è iscritta all'Anagrafe MIUR, sinonimo di affidabilità scientifica. Siamo costantemente impegnati a colmare il divario di risorse: oggi i fondi destinati alla ricerca sull'endometriosi nel mondo sono circa 200 volte inferiori rispetto ad altre malattie croniche come l'Alzheimer. È una disparità che intendiamo ridurre con il vostro aiuto, perché investire nella salute delle donne conviene a tutta la società (fino a 1 trilione di dollari di beneficio economico globale secondo il WEF)."}),n.jsxs(Xt,{to:"/articoli/brevetti",className:"bg-[#a96b6c] text-white font-avenir font-semibold px-8 py-4 rounded-full hover:bg-gray-800 transition-colors inline-flex items-center gap-2 group",children:["I brevetti della Fondazione",n.jsx("svg",{className:"w-5 h-5 transition-transform group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})}),n.jsx("div",{className:"space-y-8",children:n.jsx("img",{src:"/img/sunflower.jpg"})})]})})})]})},xw=()=>(w.useEffect(()=>{const a=()=>{};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),n.jsx("div",{className:"w-full bg-[#f3948f] text-white py-8 md:py-16 lg:py-20",children:n.jsx("div",{className:"w-full max-w-7xl mx-auto px-2 md:px-8",children:n.jsxs("div",{className:"mb-6 md:mb-10 lg:mb-12",children:[n.jsx("h1",{className:"text-2xl sm:text-3xl md:text-5xl text-[#fff8d8] lg:text-6xl font-bold mb-4 md:mb-6 lg:mb-8 leading-tight",children:"Le scoperte più innovative della Fondazione"}),n.jsxs(Xt,{to:"/articoli/scorpete",className:"bg-[#a96b6c] text-white font-semibold px-4 sm:px-6 md:px-8 py-2 sm:py-3 md:py-4 rounded-full hover:bg-[#f3948f] transition-colors inline-flex items-center gap-2 text-xs sm:text-sm md:text-base",children:["SCOPRI DI PIU",n.jsx("svg",{className:"w-3 h-3 sm:w-4 sm:h-4 md:w-5 md:h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 17L17 7M17 7H7M17 7V17"})})]})]})})}));function vw(){return n.jsxs("div",{children:[n.jsx(hw,{}),n.jsx(xw,{}),n.jsx(gw,{}),n.jsx(fw,{}),n.jsx(pw,{}),n.jsx(dw,{})]})}function yw(){return n.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-[#fff8d8] via-[#fffcf0] to-white",children:[n.jsx("div",{className:"container mx-auto px-6 py-12",children:n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center min-h-[600px]",children:[n.jsxs("div",{className:"relative h-[500px] lg:h-[600px] rounded-3xl overflow-hidden shadow-2xl",children:[n.jsx("img",{src:"https://images.unsplash.com/photo-1631815588090-d4bfec5b1ccb?w=1200&h=800&fit=crop",alt:"Centro Italiano Endometriosi",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#a96b6c]/40 to-transparent"})]}),n.jsxs("div",{className:"space-y-8",children:[n.jsxs("div",{children:[n.jsx("p",{className:"text-[#f3948f] font-avenir text-sm font-bold tracking-widest mb-4 uppercase",children:"Centro di Eccellenza"}),n.jsxs("h1",{className:"text-4xl md:text-5xl font-avenir lg:text-6xl font-serif text-[#a96b6c] leading-tight mb-6",children:["Centro Italiano Endometriosi"," ",n.jsx("span",{className:"font-light",children:"Per La Tua Salute"})]}),n.jsx("p",{className:"text-lg font-avenir text-[#a96b6c]/80 leading-relaxed mb-4",children:"Il Centro Italiano Endometriosi è una struttura clinica di riferimento dedicata esclusivamente alla diagnosi, cura e follow-up dell'endometriosi, con un approccio multidisciplinare centrato sulla persona."}),n.jsx("p",{className:"text-lg text-[#a96b6c]/80 font-avenir leading-relaxed",children:"Il Centro nasce dall'esperienza clinica e scientifica maturata dalla Fondazione Italiana Endometriosi e integra ginecologia specialistica, chirurgia mini-invasiva, diagnostica avanzata e presa in carico personalizzata."})]}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-4",children:[n.jsxs("button",{className:"inline-flex font-avenir items-center justify-center gap-2 px-8 py-4 bg-[#a96b6c] text-white rounded-full font-semibold hover:bg-[#f3948f] transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1",children:["📅 Prenota una visita specialistica",n.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]}),n.jsx("button",{className:"inline-flex items-center font-avenir justify-center gap-2 px-8 py-4 bg-transparent border-2 border-[#a96b6c] text-[#a96b6c] rounded-full font-semibold hover:bg-[#a96b6c] hover:text-white transition-all duration-300",children:"🔍 Scopri il percorso"})]}),n.jsx("div",{className:"pt-6 border-t border-[#a96b6c]/20",children:n.jsx("p",{className:"text-[#a96b6c]/70 font-avenir leading-relaxed",children:"Ogni paziente viene seguita lungo tutto il percorso: dalla valutazione iniziale, alla definizione del piano terapeutico, fino al monitoraggio nel tempo, con particolare attenzione alla qualità di vita, al dolore cronico e alla preservazione della fertilità."})})]})]})}),n.jsx("style",{children:`
193        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;700&display=swap');
194
195        .font-serif {
196          font-family: 'Playfair Display', serif;
197        }
198      `})]})}function bw(){return n.jsxs("div",{className:"min-h-screen bg-white py-20 px-6",children:[n.jsx("div",{className:"max-w-6xl mx-auto",children:n.jsxs("div",{className:"relative",children:[n.jsx("div",{className:"absolute -top-10 -right-10 w-72 h-72 bg-gradient-to-br from-[#f3948f]/20 to-[#a96b6c]/20 rounded-full blur-3xl -z-10"}),n.jsx("div",{className:"absolute -bottom-10 -left-10 w-96 h-96 bg-gradient-to-tr from-[#fff8d8]/40 to-[#fffcf0]/40 rounded-full blur-3xl -z-10"}),n.jsxs("div",{className:"bg-gradient-to-br from-white to-[#fffcf0]/30 rounded-3xl shadow-2xl overflow-hidden border border-[#f3948f]/10",children:[n.jsxs("div",{className:"relative h-80 overflow-hidden",children:[n.jsx("img",{src:"https://images.unsplash.com/photo-1584515933487-779824d29309?w=1200&h=600&fit=crop",alt:"Centro di Fecondazione",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#a96b6c] via-[#a96b6c]/60 to-transparent"}),n.jsx("div",{className:"absolute bottom-8 left-8 right-8",children:n.jsxs("div",{className:"inline-block bg-white/95 backdrop-blur-md px-6 py-3 rounded-2xl shadow-xl",children:[n.jsx("p",{className:"text-[#f3948f] text-xs font-avenir font-bold tracking-widest uppercase mb-1",children:"Percorsi di Supporto Specializzato"}),n.jsx("h1",{className:"text-3xl font-avenir  md:text-4xl font-serif text-[#a96b6c] font-bold",children:"Centro di Fecondazione"})]})})]}),n.jsxs("div",{className:"p-8 md:p-12",children:[n.jsxs("div",{className:"mb-10",children:[n.jsx("p",{className:"text-xl text-[#a96b6c] leading-relaxed font-avenir  mb-6",children:"Il Centro di Fecondazione è dedicato alle donne con endometriosi che desiderano una gravidanza e necessitano di un supporto altamente specializzato."}),n.jsx("p",{className:"text-lg font-avenir  text-[#a96b6c]/80 leading-relaxed",children:"L'endometriosi può compromettere la fertilità attraverso diversi meccanism
198i (infiammazione cronica, riduzione della riserva ovarica, alterazioni anatomiche), per questo è fondamentale un approccio integrato tra ginecologi, esperti di fertilità e ricercatori."})]}),n.jsxs("div",{className:"bg-gradient-to-br from-[#fff8d8] to-[#fffcf0] rounded-2xl p-8 mb-10 border-l-4 border-[#f3948f]",children:[n.jsx("h3",{className:"text-xl font-serif font-avenir  text-[#a96b6c] mb-3 font-semibold",children:"Percorsi Personalizzati PMA"}),n.jsx("p",{className:"text-[#a96b6c]/80 font-avenir  leading-relaxed",children:"Il Centro offre percorsi personalizzati di procreazione medicalmente assistita (PMA), valutando attentamente quando intervenire e quale strategia adottare, sempre nel rispetto della storia clinica e dei desideri della paziente."})]}),n.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[n.jsxs("div",{className:"group relative bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-300 border-2 border-[#f3948f]/20 hover:border-[#f3948f] cursor-pointer overflow-hidden",children:[n.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-gradient-to-br from-[#f3948f]/10 to-transparent rounded-bl-full -z-10"}),n.jsx("div",{className:"text-4xl mb-4"}),n.jsx("h3",{className:"text-xl font-avenir  font-serif text-[#a96b6c] mb-3 font-semibold group-hover:text-[#f3948f] transition-colors",children:"Richiedi una consulenza sulla fertilità"}),n.jsx("p",{className:"text-[#a96b6c]/70 font-avenir  text-sm mb-4",children:"Prenota un appuntamento con i nostri specialisti"}),n.jsxs("div",{className:"flex items-center font-avenir  text-[#f3948f] font-semibold text-sm group-hover:gap-2 transition-all",children:[n.jsx("span",{children:"Prenota ora"}),n.jsx("svg",{className:"w-4 h-4 transform group-hover:translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]}),n.jsxs("div",{className:"group relative bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-300 border-2 border-[#a96b6c]/20 hover:border-[#a96b6c] cursor-pointer overflow-hidden",children:[n.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-gradient-to-br from-[#a96b6c]/10 to-transparent rounded-bl-full -z-10"}),n.jsx("div",{className:"text-4xl mb-4"}),n.jsx("h3",{className:"text-xl font-avenir  font-serif text-[#a96b6c] mb-3 font-semibold group-hover:text-[#f3948f] transition-colors",children:"Valuta il tuo percorso riproduttivo"}),n.jsx("p",{className:"text-[#a96b6c]/70 font-avenir  text-sm mb-4",children:"Scopri le opzioni disponibili per la tua situazione"}),n.jsxs("div",{className:"flex font-avenir  items-center text-[#a96b6c] font-semibold text-sm group-hover:gap-2 transition-all group-hover:text-[#f3948f]",children:[n.jsx("span",{children:"Scopri di più"}),n.jsx("svg",{className:"w-4 h-4 transform group-hover:translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})]}),n.jsx("div",{className:"mt-10 pt-8 border-t border-[#a96b6c]/10",children:n.jsxs("div",{className:"flex flex-wrap items-center gap-6 text-sm text-[#a96b6c]/60",children:[n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx("span",{className:"w-2 h-2 font-avenir  bg-[#f3948f] rounded-full"}),n.jsx("span",{className:"font-avenir ",children:"Approccio integrato multidisciplinare"})]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx("span",{className:"w-2 h-2 bg-[#f3948f] rounded-full"}),n.jsx("span",{className:"font-avenir ",children:"Supporto personalizzato"})]}),n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx("span",{className:"w-2 h-2 bg-[#f3948f] rounded-full"}),n.jsx("span",{className:"font-avenir ",children:"Expertise nella fertilità"})]})]})})]})]})]})}),n.jsx("style",{children:`
199        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;600;700&display=swap');
200
201        .font-serif {
202          font-family: 'Playfair Display', serif;
203        }
204      `})]})}function jw(){const a=[{icon:"🔬",title:"POF - Premature Ovarian Failure",description:"Programmi specifici per le donne con ridotta riserva ovarica o rischio di insufficienza ovarica precoce, basati su monitoraggio clinico, strategie di prevenzione e opzioni di preservazione."},{icon:"🤰",title:"PGP - Programma Gravidanza Protetta",description:"Percorsi dedicati alle donne con endometriosi che affrontano una gravidanza, con follow-up medico mirato, controllo dell'infiammazione e attenzione alle possibili complicanze, per tutelare la salute della madre e del feto."}];return n.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-[#fffcf0] via-white to-[#fff8d8] py-20 px-6",children:[n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsxs("div",{className:"mb-16",children:[n.jsx("p",{className:"text-[#f3948f] font-avenir text-sm font-bold tracking-widest mb-4 uppercase",children:"Programmi Avanzati di Supporto"}),n.jsxs("h1",{className:"text-4xl font-avenir md:text-5xl lg:text-6xl font-serif text-[#a96b6c] leading-tight max-w-4xl",children:["Preservazione della Fertilità e Gravidanza"," ",n.jsx("span",{className:"font-light italic  font-avenir",children:"Protetta"})]})]}),n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[n.jsxs("div",{className:"space-y-8",children:[n.jsx("p",{className:"text-lg font-avenir text-[#a96b6c]/80 leading-relaxed pb-6 border-b border-[#a96b6c]/10",children:"Questa sezione è dedicata ai programmi avanzati di preservazione della fertilità e gravidanza protetta, pensati per donne con endometriosi o a rischio di compromissione ovarica."}),a.map((l,o)=>n.jsxs("div",{className:"group flex gap-6 p-6 bg-white rounded-2xl shadow-md hover:shadow-xl transition-all duration-300 border-l-4 border-[#f3948f] hover:border-[#a96b6c]",style:{animation:`slideInLeft 0.6s ease-out ${o*.2}s both`},children:[n.jsx("div",{className:"flex-shrink-0",children:n.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-[#fff8d8] to-[#fffcf0] rounded-xl flex items-center justify-center text-3xl border-2 border-[#f3948f]/20 group-hover:border-[#f3948f] transition-colors",children:l.icon})}),n.jsxs("div",{children:[n.jsx("h3",{className:"text-xl  font-avenir  text-[#a96b6c] mb-3 font-semibold group-hover:text-[#f3948f] transition-colors",children:l.title}),n.jsx("p",{className:"text-[#a96b6c]/70  font-avenir leading-relaxed",children:l.description})]})]},o)),n.jsx("div",{className:"bg-gradient-to-br from-[#f3948f]/10 to-[#a96b6c]/10 rounded-2xl p-6 border border-[#f3948f]/20",children:n.jsxs("p",{className:"text-[#a96b6c]/90  font-avenir leading-relaxed",children:[n.jsx("strong",{className:"text-[#a96b6c]  font-avenir",children:"Ricerca e pratica clinica:"})," Questi programmi nascono dall'integrazione tra ricerca scientifica e pratica clinica, con l'obiettivo di offrire alle donne scelte consapevoli e tempestive."]})}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-4",children:[n.jsxs("button",{className:"inline-flex  font-avenir items-center justify-center gap-2 px-6 py-4 bg-[#a96b6c] text-white rounded-full font-semibold hover:bg-[#f3948f] transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1",children:["💡 Preservazione della fertilità",n.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]}),n.jsx("button",{className:"inline-flex items-center  font-avenir justify-center gap-2 px-6 py-4 bg-transparent border-2 border-[#a96b6c] text-[#a96b6c] rounded-full font-semibold hover:bg-[#a96b6c] hover:text-white transition-all duration-300",children:"🤰 Programma Gravidanza Protetta"})]})]}),n.jsxs("div",{className:"relative",children:[n.jsxs("div",{className:"relative h-[600px] rounded-3xl overflow-hidden shadow-2xl",children:[n.jsx("img",{src:"https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=800&h=1000&fit=crop",alt:"POF PGP Programs",className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#a96b6c]/40 via-trans
204parent to-transparent"}),n.jsxs("div",{className:"absolute bottom-8 left-8 right-8 bg-white/95 backdrop-blur-md rounded-2xl p-6 shadow-xl",children:[n.jsx("p",{className:"text-sm text-[#f3948f]  font-avenir font-bold mb-2 uppercase tracking-wide",children:"POF / PGP"}),n.jsx("p",{className:"text-[#a96b6c]  font-avenir text-lg",children:"Programmi dedicati alla preservazione della fertilità e alla tutela della gravidanza"})]})]}),n.jsx("div",{className:"absolute -bottom-6 -right-6 w-48 h-48 bg-gradient-to-br from-[#f3948f]/20 to-[#a96b6c]/20 rounded-full blur-3xl -z-10"})]})]})]}),n.jsx("style",{children:`
205        @keyframes slideInLeft {
206          from {
207            opacity: 0;
208            transform: translateX(-30px);
209          }
210          to {
211            opacity: 1;
212            transform: translateX(0);
213          }
214        }
215
216        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;600;700&display=swap');
217
218        .font-serif {
219          font-family: 'Playfair Display', serif;
220        }
221      `})]})}function Sw(){const a=[{number:"01",title:"Valutazione preliminare del caso clinico",description:"Per comprendere se sussistono elementi di malpractice o negligenza medica"},{number:"02",title:"Supporto informativo e orientamento",description:"Sui diritti della paziente"},{number:"03",title:"Affiancamento legale specializzato",description:"In collaborazione con professionisti esperti in responsabilità sanitaria"},{number:"04",title:"Tutela dedicata alle iscritte",description:"Con particolare attenzione alle donne in condizioni di fragilità"}];return n.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-[#fff8d8] via-[#fffcf0] to-white",children:[n.jsxs("div",{className:"relative bg-gradient-to-br from-[#a96b6c] to-[#f3948f] overflow-hidden",children:[n.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/img/against.jpg')"}}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#a96b6c]/85 to-[#f3948f]/85"}),n.jsx("div",{className:"absolute inset-0 opacity-5",children:n.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px)"}})}),n.jsx("div",{className:"relative max-w-7xl mx-auto px-6 py-20 md:py-28",children:n.jsxs("div",{className:"max-w-4xl",children:[n.jsxs("div",{className:"inline-flex items-center gap-2 bg-white/20 backdrop-blur-sm px-4 py-2 rounded-full mb-6",children:[n.jsx("div",{className:"w-2 h-2 bg-white rounded-full animate-pulse"}),n.jsx("span",{className:"text-white font-avenir text-sm font-semibold tracking-wide uppercase",children:"Servizio di Protezione Legale"})]}),n.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-serif text-white leading-tight mb-6",children:["Tutela contro ",n.jsx("span",{className:"italic font-light font-avenir",children:"Malpractice"})]}),n.jsx("p",{className:"text-xl font-avenir text-white/90 leading-relaxed mb-8 max-w-3xl",children:"Un servizio pensato per le donne che ritengono di aver subito errori diagnostici, ritardi, omissioni o trattamenti inadeguati nella gestione dell'endometriosi o della salute riproduttiva."}),n.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[n.jsxs("button",{className:"inline-flex font-avenir items-center justify-center gap-2 px-8 py-4 bg-white text-[#a96b6c] rounded-full font-bold hover:bg-[#fffcf0] transition-all duration-300 shadow-xl hover:shadow-2xl transform hover:-translate-y-1",children:["Richiedi una valutazione",n.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]}),n.jsx("button",{className:"inline-flex font-avenir items-center justify-center gap-2 px-8 py-4 bg-transparent border-2 border-white text-white rounded-full font-bold hover:bg-white/10 transition-all duration-300",children:"Scopri i tuoi diritti"})]})]})})]}),n.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-20",children:[n.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 mb-20",children:[n.jsxs("div",{children:[n.jsx("h2",{className:"text-3xl font-avenir text-[#a96b6c] mb-6 font-semibold",children:"Perché è importante"}),n.jsx("p",{className:"text-lg font-avenir text-[#a96b6c]/80 leading-relaxed mb-4",children:"L'endometriosi è una patologia spesso sottovalutata o diagnosticata tardivamente: questo può portare a danni clinici rilevanti, come peggioramento della malattia, compromissione della fertilità o interventi non appropriati."}),n.jsx("p",{className:"text-lg  font-avenir text-[#a96b6c]/80 leading-relaxed",children:"La Fondazione riconosce il diritto delle pazienti a essere curate correttamente e informate in modo completo."})]}),n.jsxs("div",{className:"bg-gradient-to-br from-[#fff8d8] to-[#fffcf0] rounded-2xl p-8 border-l-4 border-[#f3948f]",children:[n.jsx("h3",{className:"text-2xl font-avenir text-[#a96b6c] mb-4 font-semibold",children:"Il nostro obiettivo"}),n.jsxs("p",{className:"text-[#a96b6c]/80 font-avenir leading-relaxed",children:["Non è il contenzioso fine a sé stesso, ma la ",n.jsx("strong",{className:"text-[#a96b6c]",children:"difesa della dignità, della salute e dei diritti delle pazienti"}),", promuovendo al contempo una medicina più attenta, corretta e consapevole."]})]})]}),n.jsxs("div",{className:"mb-16",children:[n.jsxs("div",{className:"text-center mb-12",children:[n.jsx("h2",{className:"text-3xl md:text-4xl font-avenir text-[#a96b6c] mb-4 font-semibold",children:"Il servizio di tutela prevede"}),n.jsx("div",{className:"w-20 h-1 bg-gradient-to-r  from-[#f3948f] to-[#a96b6c] mx-auto rounded-full"})]}),n.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:a.map((l,o)=>n.jsxs("div",{className:"group relative bg-white rounded-2xl p-8 shadow-md hover:shadow-xl transition-all duration-300 border border-[#a96b6c]/10 hover:border-[#f3948f]",style:{animation:`fadeInUp 0.6s ease-out ${o*.1}s both`},children:[n.jsx("div",{className:"absolute -top-4 -left-4 w-12 h-12 bg-gradient-to-br from-[#f3948f] to-[#a96b6c] rounded-xl flex items-center justify-center text-white font-bold text-lg shadow-lg",children:l.number}),n.jsxs("div",{className:"pt-4",children:[n.jsx("h3",{className:"text-xl font-avenir text-[#a96b6c] mb-3 font-semibold group-hover:text-[#f3948f] transition-colors",children:l.title}),n.jsx("p",{className:"text-[#a96b6c]/70 font-avenir leading-relaxed",children:l.description})]}),n.jsx("div",{className:"absolute bottom-0 right-0 w-20 h-20 bg-gradient-to-tl from-[#f3948f]/5 to-transparent roun
221ded-tl-full"})]},o))})]}),n.jsx("div",{className:"bg-gradient-to-br from-[#f3948f]  to-[#f3948f] rounded-3xl p-12 text-center",children:n.jsx("div",{className:"max-w-4xl mx-auto",children:n.jsxs("div",{className:"grid md:grid-cols-3 gap-8 text-white",children:[n.jsxs("div",{children:[n.jsx("div",{className:"text-4xl mb-3"}),n.jsx("h4",{className:"font-bold text-lg font-avenir mb-2",children:"Riservatezza garantita"}),n.jsx("p",{className:"text-white/80  font-avenir text-sm",children:"Tutti i casi vengono trattati con massima privacy"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-4xl mb-3"}),n.jsx("h4",{className:"font-bold font-avenir text-lg mb-2",children:"Esperti legali"}),n.jsx("p",{className:"text-white/80 font-avenir text-sm",children:"Professionisti specializzati in responsabilità sanitaria"})]}),n.jsxs("div",{children:[n.jsx("div",{className:"text-4xl mb-3"}),n.jsx("h4",{className:"font-bold font-avenir text-lg mb-2",children:"Supporto dedicato"}),n.jsx("p",{className:"text-white/80 font-avenir text-sm",children:"Accompagnamento in ogni fase del percorso"})]})]})})})]}),n.jsx("style",{children:`
222        @keyframes fadeInUp {
223          from {
224            opacity: 0;
225            transform: translateY(20px);
226          }
227          to {
228            opacity: 1;
229            transform: translateY(0);
230          }
231        }
232
233        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;600;700&display=swap');
234
235        .font-serif {
236          font-family: 'Playfair Display', serif;
237        }
238      `})]})}const ww={si:[{emoji:"🥦",name:"Broccoli & Crucifere",desc:"Broccoli, cavoli, verza: aiutano il fegato a smaltire l'eccesso di estrogeni"},{emoji:"🍎",name:"Frutta Fresca",desc:"Ricca di vitamine e fibre, da consumare lontano dai pasti principali"},{emoji:"🌾",name:"Cereali Integrali",desc:"Riso integrale, quinoa, grano saraceno: energia senza picchi glicemici"},{emoji:"🫘",name:"Proteine Magre & Legumi",desc:"Fonte proteica alternativa alla carne rossa, ricca di fibre"},{emoji:"🐟",name:"Pesce Selvatico",desc:"Salmone, pesce azzurro: ricchi di omega-3 antinfiammatori"},{emoji:"🫒",name:"Olio Extravergine d'Oliva",desc:"Condimento principale, fonte di grassi buoni antinfiammatori"}],no:[{emoji:"🍬",name:"Zucchero Bianco & Dolciumi",desc:"Alimentano lo stato infiammatorio cronico"},{emoji:"🍞",name:"Farine Raffinate",desc:"Pane bianco e pasta non integrale causano picchi glicemici"},{emoji:"🍷",name:"Alcol & Caffeina in eccesso",desc:"Peggiorano l'infiammazione e squilibrano gli ormoni"},{emoji:"🥡",name:"Cibi Confezionati & Additivi",desc:"Pieni di conservanti e sostanze chimiche da eliminare"},{emoji:"🍟",name:"Grassi Idrogenati & Fritti",desc:"Aggravano l'infiammazione addominale"},{emoji:"🌱",name:"Soia & Derivati",desc:"Contengono fitoestrogeni simili agli ormoni femminili che potrebbero nutrire la malattia"},{emoji:"🥩",name:"Carne Rossa in grandi quantità",desc:"Preferire proteine alternative o carni bianche da filiere controllate"},{emoji:"🥛",name:"Latticini Non Scremati",desc:"Caseina e lattosio possono aggravare l'infiammazione intestinale"}]},zw=[{icon:"🥣",title:"Idea Snack Sano #1",desc:"Yogurt vegetale con mandorle e mirtilli",tag:"Spuntino"},{icon:"🥕",title:"Idea Snack Sano #2",desc:"Hummus di ceci con carote crude",tag:"Spuntino"},{icon:"🥗",title:"Idea Pasto Veloce",desc:"Insalatona mista (rucola, spinaci, pomodori) con quinoa, avocado e salmone",tag:"Pranzo"}],Nw=[{icon:"🍋",text:"Un bicchiere di acqua tiepida e limone al mattino per disintossicare e ridurre l'infiammazione"},{icon:"🫐",text:"Una macedonia di frutti di bosco come spuntino ideale, lontano dai pasti"},{icon:"🌈",text:"Varia i colori (giallo, rosso, viola, verde) per assicurare un mix completo di nutrienti"},{icon:"⏰",text:"Consuma sempre la frutta lontano dai pasti per evitare fermentazioni e gonfiori"},{icon:"🌿",text:"Preferisci frutta biologica e sbucciata per ridurre l'ingestione di pesticidi"}];function Tw(){const[a,l]=w.useState("si");return n.jsxs("div",{style:{fontFamily:"'Georgia', serif",background:"#f5f2ec",minHeight:"100vh",color:"#2c2c1e",overflowX:"hidden"},children:[n.jsx("style",{children:`
239        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');
240
241        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
242
243        /* ── Layout helpers ── */
244        .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
245        .section-pad { padding: 64px 24px; }
246
247        /* ── Hero ── */
248        .hero { position: relative; overflow: hidden; }
249        .hero-bg {
250          position: absolute; inset: 0;
251          background: radial-gradient(ellipse at 70% 40%, #c8ddb0 0%, #a8c878 35%, #5a8a3a 100%);
252        }
253        .leaf-deco { position: absolute; border-radius: 50% 0 50% 0; background: rgba(255,255,255,0.08); }
254
255        .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
256        @media (max-width: 768px) {
257          .hero-grid { grid-template-columns: 1fr; gap: 32px; }
258          .hero-stats-col { display: none; }
259        }
260
261        /* ── Two-col grids ── */
262        .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
263        @media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
264
265        /* ── Nutrient icon grid ── */
266        .nutrient-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
267        @media (max-width: 480px) { .nutrient-grid { grid-template-columns: 1fr 1fr; } }
268
269        /* ── Food cards grid ── */
270        .food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
271        @media (max-width: 480px) { .food-grid { grid-template-columns: 1fr; } }
272
273        /* ── Snack cards grid ── */
274        .snack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
275        @media (max-width: 768px) { .snack-grid { grid-template-columns: 1fr; } }
276
277        /* ── Stats chips ── */
278        .stats-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
279
280        /* ── Frutta two-col ── */
281        .frutta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
282        @media (max-width: 768px) { .frutta-grid { grid-template-columns: 1fr; gap: 36px; } }
283
284        /* ── Fruit mini-cards ── */
285        .fruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
286
287        /* ── PDF banner ── */
288        .pdf-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
289        @media (max-width: 600px) { .pdf-banner { flex-direction: column; text-align: center; } }
290
291        /* ── CTA buttons row ── */
292        .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
293
294        /* ── Nav ── */
295        .nav-links { display: flex; gap: 28px; }
296        .nav-cta { display: block; }
297        .hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
298        .mobile-menu {
299          display: none; flex-direction: column; gap: 16px;
300          background: rgba(245,242,236,0.98); padding: 20px 24px;
301          border-bottom: 1px solid rgba(0,0,0,0.07);
302        }
303        .mobile-menu.open { display: flex; }
304        @media (max-width: 768px) {
305          .nav-links { display: none; }
306          .nav-cta { display: none; }
307          .hamburger { display: block; }
308        }
309
310        /* ── Shared component styles ── */
311        .food-card {
312          background: white; border-radius: 18px; padding: 20px;
313          display: flex; align-items: flex-start; gap: 14px;
314          transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
315          border: 2px solid transparent;
316        }
317        .food-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
318        .food-card.si:hover { border-color: #6aaa3a; }
319        .food-card.no:hover { border-color: #e05a3a; }
320
321        .tab-btn {
322          padding: 11px 24px; border-radius: 50px; border: none;
323          font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700;
324          cursor: pointer; transition: all 0.25s; letter-spacing: 0.04em;
325        }
326        .tab-btn.active-si { background: #3d7a1e; color: white; box-shadow: 0 8px 20px rgba(61,122,30,0.3); }
327        .tab-btn.active-no { background: #c43b1e; color: white; box-shadow: 0 8px 20px rgba(196,59,30,0.3); }
328        .tab-btn.inactive { background: white; color: #888; border: 1.5px solid #e0e0e0; }
329
330        .snack-card {
331          background: white; border-radius: 22px; padding: 28px 22px;
332          text-align: center; border-bottom: 4px solid #6aaa3a;
333          transition: transform 0.25s; position: relative;
334        }
335        .snack-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
336
337        .tag-pill {
338          display: inline-block; background: rgba(106,170,58,0.12); color: #3d7a1e;
339          border-radius: 20px; padding: 4px 14px; font-size: 12px;
340          font-family: 'Lato', sans-serif; font-weight: 700;
341          letter-spacing: 0.08em; text-transform: uppercase;
342        }
343
344        .cta-btn {
345          display: inline-block; background: #3d7a1e; color: white; border: none;
346          border-radius: 50px; padding: 14px 32px; font-family: 'Lato', sans-serif;
347          font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 0.05em;
348          transition: all 0.25s; box-shadow: 0 8px 24px rgba(61,122,30,0.35);
349          white-space: nowrap;
350        }
351        .cta-btn:hover { background: #2c5a14; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61,122,30,0.45); }
352
353        .stat-chip {
354          background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
355          border-radius: 14px; padding: 14px 20px;
356          border: 1px solid rgba(255,255,255,0.3); text-align: center; min-width: 100px;
357        }
358
359        .warning-box {
360          background: #fffbf0; border: 1.5px solid #f0d060;
361          border-radius: 16px; padding: 18px 22px; display: flex; gap: 12px; align-items: flex-start;
362        }
363
364        .outcome-box {
365          background: linear-gradient(135deg, #e8f5e0, #d4edc0);
366          border-radius: 20px; padding: 24px 28px; border-left: 5px solid #6aaa3a;
367        }
368
369        .recipe-cta-box {
370          background: white; border-radius: 20px; padding: 40px 28px;
371          border: 2px dashed #6aaa3a; text-align: center; transition: transform 0.2s;
372        }
373        .recipe-cta-box:hover { transform: scale(1.01); }
374
375        .feature-pill {
376          background: rgba(255,255,255,0.18); backdrop-filter: blur(12px);
377          border: 1px solid rgba(255,255,255,0.3); border-radius: 14px;
378          padding: 12px 18px; display: flex; align-items: center; gap: 12px;
379        }
380
381        @keyframes floatUp {
382          from { opacity: 0; transform: translateY(24px); }
383          to { opacity: 1; transform: translateY(0); }
384        }
385        .fade-in { animation: floatUp 0.7s ease forwards; }
386        .delay-1 { animation-delay: 0.1s; opacity: 0; }
387        .delay-2 { animation-delay: 0.2s; opacity: 0; }
388        .delay-3 { animation-delay: 0.3s; opacity: 0; }
389        .delay-4 { animation-delay: 0.4s; opacity: 0; }
390
391        /* ── Typography ── */
392        .display { font-family: 'Playfair Display', serif; }
393        .body-font { font-family: 'Lato', sans-serif; }
394
395        /* ── Hover utility ── */
396        .hover-scale { transition: transform 0.2s; }
397        .hover-scale:hover { transform: scale(1.04); }
398      `}),n.jsxs("section",{className:"hero",style:{minHeight:"min(90vh, 560px)",display:"flex",alignItems:"center"},children:[n.jsx("div",{className:"hero-bg"}),n.jsx("div",{className:"leaf-deco",style:{width:280,height:280,top:-70,right:60,transform:"rotate(-20deg)"}}),n.jsx("div",{className:"leaf-deco",style:{width:180,height:180,bottom:-40,right:260,transform:"rotate(15deg)"}}),n.jsx("div",{className:"container",style:{position:"relative",zIndex:2,padding:"60px 24px",width:"100%"},children:n.jsxs("div",{className:"hero-grid",children:[n.jsxs("div",{children:[n.jsx("div",{className:"tag-pill fade-in delay-1",style:{background:"rgba(255,255,255,0.25)",color:"white",marginBottom:18},children:"15 anni di ricerca · Fondazione EndoWellness"}),n.jsxs("h1",{className:"display fade-in delay-2",style:{fontSize:"clamp(32px, 6vw, 58px)",lineHeight:1.15,color:"white",marginBottom:18,fontWeight:700},children:["Dieta Anti-",n.jsx("br",{}),n.jsx("em",{children:"Endometriosi"})]}),n.jsx("p",{className:"body-font fade-in delay-3",style:{fontSize:"clamp(15px, 2vw, 17px)",lineHeight:1.75,color:"rgba(255,255,255,0.92)",marginBottom:32,maxWidth:440},children:"Un regime alimentare studiato per ridurre l'infiammazione e i dolori, ottimizzare la risposta insulinica e modulare gli ormoni — contribuendo a migliorare la qualità di vita ogni giorno."}),n.jsxs("div",{className:"cta-row fade-in delay-4",style:{justifyContent:"flex-start"},children:[n.jsxs("a",{href:"#cibi",children:["    ",n.jsx("button",{className:"cta-btn",children:"Scopri i cibi →"})]}),n.jsxs("a",{href:"/Dieta-Endometriosi.pdf",target:"_blank",children:["  ",n.jsx("button",{style:{background:"rgba(255,255,255,0.18)",color:"white",border:"2px s
398olid rgba(255,255,255,0.5)",borderRadius:50,padding:"14px 24px",fontFamily:"'Lato', sans-serif",fontSize:14,fontWeight:700,cursor:"pointer",backdropFilter:"blur(8px)",letterSpacing:"0.04em"},children:"📥 Guida PDF"})]})]})]}),n.jsxs("div",{className:"hero-stats-col",style:{display:"flex",flexDirection:"column",gap:14},children:[n.jsx("div",{className:"stats-row",children:[{val:"15+",label:"Anni di ricerca"},{val:"↓ Dolori",label:"Drastico calo"},{val:"100%",label:"Naturale"}].map(o=>n.jsxs("div",{className:"stat-chip",children:[n.jsx("div",{className:"display",style:{fontSize:20,fontWeight:700,color:"white"},children:o.val}),n.jsx("div",{className:"body-font",style:{fontSize:10,color:"rgba(255,255,255,0.8)",marginTop:3,letterSpacing:"0.06em",textTransform:"uppercase"},children:o.label})]},o.val))}),[{icon:"🫀",text:"Riduce l'infiammazione cronica addominale"},{icon:"⚖️",text:"Ottimizza la risposta insulinica e ormonale"},{icon:"🌱",text:"Aiuta a eliminare l'eccesso di estrogeni"}].map((o,r)=>n.jsxs("div",{className:"feature-pill",children:[n.jsx("span",{style:{fontSize:20},children:o.icon}),n.jsx("span",{className:"body-font",style:{fontSize:14,color:"white",fontWeight:600},children:o.text})]},r))]})]})})]}),n.jsx("section",{style:{padding:"64px 24px"},children:n.jsx("div",{className:"container",children:n.jsxs("div",{className:"two-col",children:[n.jsxs("div",{children:[n.jsx("div",{className:"tag-pill",style:{marginBottom:18},children:"Principi chiave"}),n.jsxs("h2",{className:"display",style:{fontSize:"clamp(26px, 4vw, 40px)",lineHeight:1.2,color:"#2c4a18",marginBottom:20},children:["Mangiare bene è parte ",n.jsx("em",{children:"integrante della terapia"})]}),n.jsx("p",{className:"body-font",style:{fontSize:15,lineHeight:1.85,color:"#555",marginBottom:16},children:`Privilegiamo cibi freschi e poco lavorati, ricchi di fibre — verdure e cereali integrali — per aiutare l'organismo a eliminare l'eccesso di estrogeni. Varietà ed equilibrio sono importanti: ad ogni pasto verdure di stagione, proteine magre e grassi "buoni".`}),n.jsxs("p",{className:"body-font",style:{fontSize:15,lineHeight:1.85,color:"#555",marginBottom:16},children:["Studi indicano che aumentare gli ",n.jsx("strong",{style:{color:"#2c4a18"},children:"omega-3"})," (da pesce azzurro, salmone, noci, semi di lino) favorisce la produzione di prostaglandine antinfiammatorie ",n.jsx("strong",{style:{color:"#2c4a18"},children:"(PGE1)"})," e riduce l'infiammazione addominale tipica dell'endometriosi."]}),n.jsx("p",{className:"body-font",style:{fontSize:15,lineHeight:1.85,color:"#555",marginBottom:24},children:"Altrettanto fondamentale è ridurre o eliminare i cibi che alimentano lo stato infiammatorio: in primis gli zuccheri raffinati, i carboidrati ad alto indice glicemico, gli additivi chimici e i grassi saturi/trans. Vanno limitati anche latte e derivati e la carne rossa, preferendo proteine alternative o carni bianche da filiere controllate."}),n.jsxs("div",{className:"outcome-box",style:{marginBottom:20},children:[n.jsx("p",{className:"display",style:{fontStyle:"italic",fontSize:16,color:"#2c4a18",lineHeight:1.65,marginBottom:10},children:`"Seguendo queste indicazioni molte pazienti riferiscono un drastico calo dei dolori e un miglioramento globale dei sintomi — tanto che l'alimentazione diventa parte integrante della terapia. L'endometriosi si può contrastare anche a tavola!"`}),n.jsx("p",{className:"body-font",style:{fontSize:12,color:"#5a9a28",fontWeight:700,letterSpacing:"0.05em"},children:"— Fondazione EndoWellness, risultati clinici"})]}),n.jsxs("div",{className:"warning-box",children:[n.jsx("span",{style:{fontSize:22,flexShrink:0},children:"⚠️"}),n.jsxs("div",{children:[n.jsx("div",{className:"body-font",style:{fontWeight:700,fontSize:13,color:"#8a6a00",marginBottom:5},children:"Nota importante"}),n.jsxs("p",{className:"body-font",style:{fontSize:13,color:"#7a5a00",lineHeight:1.65},children:["La nostra dieta anti-infiammatoria è una ",n.jsx("strong",{children:"guida generale"})," per una sana alimentazione consapevole, non un programma personalizzato. Ogni donna è diversa: per un piano alimentare su misura rivolgiti a un ",n.jsx("strong",{children:"nutrizionista esperto"}),", specialmente se hai esigenze particolari. Una dieta mirata non guarisce la malattia, ma ne attenua l'impatto quotidiano."]})]})]})]}),n.jsx("div",{className:"nutrient-grid",children:[{icon:"🥦",color:"#e8f5e0",title:"Crucifere",desc:"Broccoli, cavoli, verza per smaltire estrogeni"},{icon:"🐟",color:"#e0f0f8",title:"Omega-3",desc:"Pesce selvatico e semi di lino — producono PGE1 antinfiammatorie"},{icon:"🌾",color:"#f5f0e0",title:"Cereali Integrali",desc:"Quinoa, riso integrale, grano saraceno"},{icon:"🫐",color:"#ede8f5",title:"Antiossidanti",desc:"Frutti di bosco, agrumi, kiwi — vitamina C e flavonoidi"},{icon:"🥑",color:"#faf0e8",title:"Grassi Buoni",desc:"Avocado e olio EVO come condimento principale"},{icon:"🫘",color:"#f0f5e8",title:"Legumi & Proteine",desc:"Fonte proteica alternativa, ricca di fibre preziose"}].map((o,r)=>
398n.jsxs("div",{className:"hover-scale",style:{background:o.color,borderRadius:18,padding:"18px 14px",textAlign:"center"},children:[n.jsx("div",{style:{fontSize:30,marginBottom:8},children:o.icon}),n.jsx("div",{className:"display",style:{fontSize:13,fontWeight:700,color:"#2c2c1e",marginBottom:5},children:o.title}),n.jsx("div",{className:"body-font",style:{fontSize:12,color:"#666",lineHeight:1.5},children:o.desc})]},r))})]})})}),n.jsx("section",{style:{background:"#f0f5e8",padding:"40px 24px"},children:n.jsx("div",{className:"container",children:n.jsx("div",{style:{background:"white",borderRadius:22,padding:"clamp(24px, 4vw, 40px)",boxShadow:"0 8px 32px rgba(0,0,0,0.07)"},children:n.jsxs("div",{className:"pdf-banner",children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:18,flex:1,minWidth:0},children:[n.jsx("span",{style:{fontSize:"clamp(36px, 6vw, 52px)",flexShrink:0},children:"📋"}),n.jsxs("div",{children:[n.jsx("div",{className:"display",style:{fontSize:"clamp(17px, 3vw, 22px)",fontWeight:700,color:"#2c4a18",marginBottom:6},children:"Scarica la Guida Alimentare Gratuita"}),n.jsxs("p",{className:"body-font",style:{fontSize:"clamp(13px, 2vw, 15px)",color:"#666",lineHeight:1.6},children:["Abbiamo preparato un PDF gratuito con l'elenco dettagliato dei cibi consigliati e di quelli da evitare, completo di suggerimenti per ricette sane e gustose. ",n.jsx("strong",{children:"Portalo sempre con te come promemoria."})]})]})]}),n.jsx("a",{href:"/Dieta-Endometriosi.pdf",target:"_blank",download:!0,children:n.jsx("button",{className:"cta-btn",style:{fontSize:15,padding:"16px 36px"},children:"📥 Scarica PDF"})})]})})})}),n.jsx("section",{id:"cibi",style:{padding:"64px 24px",background:"#fafaf7"},children:n.jsxs("div",{className:"container",children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:40},children:[n.jsx("div",{className:"tag-pill",style:{marginBottom:14},children:"Guida alimentare"}),n.jsx("h2",{className:"display",style:{fontSize:"clamp(26px, 4vw, 40px)",color:"#2c4a18",marginBottom:14},children:"Cibi Sì & Cibi No"}),n.jsx("p",{className:"body-font",style:{fontSize:15,color:"#666",maxWidth:520,margin:"0 auto"},children:`Un estratto degli alimenti amici e nemici dell'endometriosi. Molti cibi "accendono il fuoco" dell'endometriosi aggravandone i sintomi. Per l'elenco completo scarica la guida PDF.`})]}),n.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:10,marginBottom:36,flexWrap:"wrap"},children:[n.jsx("button",{className:`tab-btn ${a==="si"?"active-si":"inactive"}`,onClick:()=>l("si"),children:"✅ Da Preferire"}),n.jsx("button",{className:`tab-btn ${a==="no"?"active-no":"inactive"}`,onClick:()=>l("no"),children:"🚫 Da Limitare / Evitare"})]}),n.jsx("div",{className:"food-grid",children:ww[a].map((o,r)=>n.jsxs("div",{className:`food-card ${a}`,children:[n.jsx("div",{style:{width:50,height:50,borderRadius:13,flexShrink:0,background:a==="si"?"#e8f5e0":"#fce8e4",display:"flex",alignItems:"center",justifyContent:"center",fontSize:24},children:o.emoji}),n.jsxs("div",{children:[n.jsx("div",{className:"display",style:{fontSize:15,fontWeight:700,color:"#2c2c1e",marginBottom:4},children:o.name}),n.jsx("div",{className:"body-font",style:{fontSize:13,color:"#777",lineHeight:1.55},children:o.desc})]})]},`${a}-${r}`))}),n.jsx("p",{className:"body-font",style:{fontSize:13,color:"#bbb",textAlign:"center",marginTop:28,fontStyle:"italic"},children:"Per l'elenco completo consulta la guida PDF gratuita →"})]})}),n.jsx("section",{style:{padding:"64px 24px"},children:n.jsxs("div",{className:"container",children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:40},children:[n.jsx("div",{className:"tag-pill",style:{marginBottom:14},children:"Idee pratiche"}),n.jsxs("h2",{className:"display",style:{fontSize:"clamp(26px, 4vw, 40px)",color:"#2c4a18"},children:["Mangiare Anti-Endo può essere ",n.jsx("em",{children:"gustoso!"})]})]}),n.jsx("div",{className:"snack-grid",children:zw.map((o,r)=>n.jsxs("div",{className:"snack-card",children:[n.jsx("div",{style:{position:"absolute",top:16,right:16,background:"#e8f5e0",color:"#3d7a1e",borderRadius:10,padding:"3px 10px",fontFamily:"'Lato', sans-serif",fontSize:10,fontWeight:700,letterSpacing:"0.06em",textTransform:"uppercase"},children:o.tag}),n.jsx("div",{style:{fontSize:44,marginBottom:14},children:o.icon}),n.jsx("div",{className:"display",style:{fontSize:17,fontWeight:700,color:"#2c4a18",marginBottom:8},children:o.title}),n.jsx("div",{className:"body-font",style:{fontSize:14,color:"#555",lineHeight:1.65},children:o.desc})]},r))}),n.jsxs("div",{className:"recipe-cta-box",children:[n.jsx("span",{style:{fontSize:40,display:"block",marginBottom:12},children:"🍽️"}),n.jsx("div",{className:"display",style:{fontSize:"clamp(18px, 3vw, 22px)",fontWeight:700,color:"#2c4a18",marginBottom:10},children:"Ricette Anti-Infiammatorie Pronte per Te"}),n.jsxs("p",{className:"body-font",style:{fontSize:15,color:"#666",lineHeight:1.75,maxWidth:540,margin:"0 auto 24px"}
398,children:["Esplora sul nostro sito alcune ricette anti-infiammatorie già pronte nella sezione ",n.jsx("strong",{style:{color:"#3d7a1e"},children:'"Ricette"'}),". Dal primo al dolce, troverai spunti per cucinare piatti amici del benessere senza rinunce al gusto."]}),n.jsxs("a",{href:"/Dieta-Endometriosi.pdf",target:"_blank",children:["  ",n.jsx("button",{className:"cta-btn",children:"🍳 Esplora le Ricette →"})]})]})]})}),n.jsx("section",{style:{background:"linear-gradient(135deg, #2c4a18 0%, #3d7a1e 60%, #5a9a28 100%)",padding:"64px 24px"},children:n.jsxs("div",{className:"container",children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:48},children:[n.jsx("div",{style:{display:"inline-block",background:"rgba(255,255,255,0.15)",color:"white",borderRadius:20,padding:"4px 14px",fontFamily:"'Lato', sans-serif",fontSize:11,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",marginBottom:14},children:"Focus: Frutta"}),n.jsx("h2",{className:"display",style:{fontSize:"clamp(26px, 4vw, 40px)",color:"white",marginBottom:14},children:"Frutta & Endometriosi"}),n.jsxs("p",{className:"body-font",style:{fontSize:"clamp(14px, 2vw, 16px)",color:"rgba(255,255,255,0.85)",lineHeight:1.75,maxWidth:640,margin:"0 auto"},children:["La frutta è generalmente benefica, ma con qualche accorgimento. Fornisce antiossidanti che combattono lo stress ossidativo associato all'infiammazione cronica. In particolare ",n.jsx("strong",{style:{color:"white"},children:"frutti di bosco, agrumi e kiwi"})," forniscono vitamina C e flavonoidi utili. Consigliamo ",n.jsx("strong",{style:{color:"white"},children:"2-3 porzioni al giorno"}),", preferibilmente sbucciata e biologica."]})]}),n.jsxs("div",{className:"frutta-grid",children:[n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[n.jsx("h3",{className:"display",style:{fontSize:19,color:"white",marginBottom:6},children:"Consigli pratici quotidiani"}),Nw.map((o,r)=>
398n.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12,background:"rgba(255,255,255,0.1)",borderRadius:13,padding:"13px 16px"},children:[n.jsx("span",{style:{fontSize:20,flexShrink:0},children:o.icon}),n.jsx("span",{className:"body-font",style:{fontSize:14,color:"rgba(255,255,255,0.9)",lineHeight:1.6},children:o.text})]},r)),n.jsxs("div",{style:{background:"rgba(255,220,80,0.15)",borderRadius:13,padding:"13px 16px",border:"1px solid rgba(255,220,80,0.3)",display:"flex",gap:10,alignItems:"flex-start"},children:[n.jsx("span",{style:{fontSize:18,flexShrink:0},children:"⚠️"}),n.jsxs("p",{className:"body-font",style:{fontSize:13,color:"rgba(255,255,255,0.85)",lineHeight:1.6},children:["Attenzione a non eccedere con frutti ad alto indice glicemico: ",n.jsx("strong",{style:{color:"white"},children:"fichi, cachi e uva"})," in grandi quantità possono innalzare troppo la glicemia."]})]})]}),n.jsxs("div",{children:[n.jsx("h3",{className:"display",style:{fontSize:19,color:"white",marginBottom:18},children:"I migliori frutti consigliati"}),n.jsx("div",{className:"fruit-grid",children:[{fruit:"🍋",name:"Agrumi",val:"Vitamina C",extra:"Limone, arancia, pompelmo"},{fruit:"🫐",name:"Mirtilli",val:"Antiossidanti",extra:"Antocianine e flavonoidi"},{fruit:"🥝",name:"Kiwi",val:"Flavonoidi",extra:"Vitamina C e vitamina K"},{fruit:"🍓",name:"Fragole",val:"Vitamina C",extra:"Frutti di bosco in generale"}].map((o,r)=>n.jsxs("div",{style:{background:"rgba(255,255,255,0.12)",backdropFilter:"blur(12px)",border:"1px solid rgba(255,255,255,0.2)",borderRadius:18,padding:"22px 16px",textAlign:"center",transition:"background 0.2s"},onMouseEnter:d=>d.currentTarget.style.background="rgba(255,255,255,0.22)",onMouseLeave:d=>d.currentTarget.style.background="rgba(255,255,255,0.12)",children:[n.jsx("div",{style:{fontSize:36,marginBottom:8},children:o.fruit}),n.jsx("div",{className:"display",style:{fontSize:15,color:"white",fontWeight:700},children:o.name}),n.jsx("div",{className:"body-font",style:{fontSize:11,color:"rgba(255,255,255,0.75)",marginTop:3,fontWeight:700,letterSpacing:"0.05em"},children:o.val}),n.jsx("div",{className:"body-font",style:{fontSize:11,color:"rgba(255,255,255,0.5)",marginTop:3},children:o.extra})]},r))})]})]})]})}),n.jsx("section",{style:{padding:"64px 24px",textAlign:"center"},children:n.jsxs("div",{style:{maxWidth:640,margin:"0 auto"},children:[n.jsx("span",{style:{fontSize:52,display:"block",marginBottom:18},children:"🌿"}),n.jsxs("h2",{className:"display",style:{fontSize:"clamp(26px, 4vw, 38px)",color:"#2c4a18",marginBottom:14},children:["L'endometriosi si può contrastare ",n.jsx("em",{children:"anche a tavola"})]}),n.jsx("p",{className:"body-font",style:{fontSize:15,color:"#666",lineHeight:1.75,marginBottom:32},children:"Una dieta mirata non guarisce la malattia, ma ne attenua l'impatto quotidiano. Scarica la nostra guida PDF gratuita con l'elenco completo dei cibi consigliati, quelli da evitare e ricette anti-infiammatorie pronte all'uso."}),n.jsxs("div",{className:"cta-row",style:{marginBottom:20},children:[n.jsx("a",{href:"/Dieta-Endometriosi.pdf",target:"_blank",download:!0,children:n.jsx("button",{className:"cta-btn",style:{fontSize:15,padding:"16px 40px"},children:"📥 Scarica PDF Gratuito"})}),n.jsx("a",{href:"/Dieta-Endometriosi.pdf",target:"_blank",children:n.jsx("button",{className:"body-font",style:{background:"white",color:"#3d7a1e",border:"2px solid #3d7
398a1e",borderRadius:50,padding:"16px 32px",fontSize:14,fontWeight:700,cursor:"pointer",letterSpacing:"0.04em",transition:"all 0.25s"},onMouseEnter:o=>{o.currentTarget.style.background="#f0f7e8"},onMouseLeave:o=>{o.currentTarget.style.background="white"},children:"🍳 Esplora le Ricette"})})]}),n.jsx("p",{className:"body-font",style:{fontSize:13,color:"#bbb",fontStyle:"italic"},children:"⚠️ Questa guida non sostituisce il parere medico. Per un piano personalizzato rivolgiti a un nutrizionista esperto."})]})})]})}function Ew(){return n.jsx(n.Fragment,{children:n.jsx(Tw,{})})}const ze={cream:"#fffcf0",sand:"#fff8d8",coral:"#f3948f",mauve:"#a96b6c"},Aw=`
399  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');
400
401  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
402
403  .root {
404    font-family: 'Inter', sans-serif;
405    background: #FFF5EB;
406    color: #2d2d2d;
407    min-height: 100vh;
408  }
409
410  /* HERO */
411  .hero {
412    background: linear-gradient(135deg, ${ze.cream} 0%, #ffffff 100%);
413    padding: 120px 48px 100px;
414    border-bottom: 1px solid rgba(169,107,108,0.08);
415  }
416  .hero-inner {
417    max-width: 1100px;
418    margin: 0 auto;
419    display: grid;
420    grid-template-columns: 1.2fr 1fr;
421    gap: 80px;
422    align-items: center;
423  }
424  @media(max-width: 860px){ .hero-inner { grid-template-columns: 1fr; gap: 50px; } }
425  
426  .pill {
427    display: inline-flex;
428    align-items: center;
429    gap: 8px;
430    background: ${ze.sand};
431    color: ${ze.mauve};
432    font-size: 11px;
433    font-weight: 600;
434    letter-spacing: 1px;
435    text-transform: uppercase;
436    padding: 10px 20px;
437    border-radius: 100px;
438    margin-bottom: 32px;
439    border: 1px solid rgba(169,107,108,0.15);
440  }
441  
442  .hero-title {
443    font-family: 'Playfair Display', serif;
444    font-size: clamp(48px, 7vw, 72px);
445    font-weight: 700;
446    color: ${ze.mauve};
447    line-height: 1.1;
448    margin-bottom: 24px;
449  }
450  .hero-title em {
451    font-style: italic;
452    color: ${ze.coral};
453  }
454  
455  .hero-sub {
456    font-size: 17px;
457    font-weight: 400;
458    color: #5a5a5a;
459    line-height: 1.75;
460    margin-bottom: 40px;
461    max-width: 540px;
462  }
463  
464  .hero-actions {
465    display: flex;
466    gap: 16px;
467    flex-wrap: wrap;
468  }
469  
470  .btn-primary {
471    background: ${ze.coral};
472    color: white;
473    border: none;
474    border-radius: 8px;
475    font-family: 'Inter', sans-serif;
476    font-size: 14px;
477    font-weight: 600;
478    padding: 16px 32px;
479    cursor: pointer;
480    transition: all .3s;
481    box-shadow: 0 4px 16px rgba(243,148,143,0.25);
482  }
483  .btn-primary:hover { 
484    background: ${ze.mauve};
485    box-shadow: 0 6px 24px rgba(169,107,108,0.35);
486    transform: translateY(-2px);
487  }
488  
489  .btn-secondary {
490    background: white;
491    color: ${ze.mauve};
492    border: 2px solid ${ze.sand};
493    border-radius: 8px;
494    font-family: 'Inter', sans-serif;
495    font-size: 14px;
496    font-weight: 600;
497    padding: 14px 30px;
498    cursor: pointer;
499    transition: all .3s;
500  }
501  .btn-secondary:hover { 
502    border-color: ${ze.coral};
503    color: ${ze.coral};
504    background: ${ze.cream};
505  }
506
507  .hero-visual {
508    background: ${ze.sand};
509    border-radius: 24px;
510    padding: 40px;
511    border: 1px solid rgba(169,107,108,0.1);
512    position: relative;
513    overflow: hidden;
514  }
515  .hero-visual::before {
516    content: '';
517    position: absolute;
518    top: -50%;
519    right: -50%;
520    width: 200%;
521    height: 200%;
522    background: radial-gradient(circle, rgba(243,148,143,0.1) 0%, transparent 60%);
523    pointer-events: none;
524  }
525  .visual-content {
526    position: relative;
527    z-index: 1;
528  }
529  .visual-stat {
530    margin-bottom: 28px;
531  }
532  .visual-number {
533    font-family: 'Playfair Display', serif;
534    font-size: 52px;
535    font-weight: 700;
536    color: ${ze.mauve};
537    line-height: 1;
538    margin-bottom: 8px;
539  }
540  .visual-label {
541    font-size: 13px;
542    color: #6a6a6a;
543    font-weight: 500;
544  }
545
546  /* SECTION */
547  .section {
548    max-width: 1100px;
549    margin: 0 auto;
550    padding: 100px 48px;
551  }
552  
553  .section-header {
554    text-align: center;
555    max-width: 680px;
556    margin: 0 auto 70px;
557  }
558  
559  .label {
560    font-size: 11px;
561    letter-spacing: 2px;
562    text-transform: uppercase;
563    font-weight: 600;
564    color: ${ze.coral};
565    margin-bottom: 16px;
566    display: block;
567  }
568  
569  .h2 {
570    font-family: 'Playfair Display', serif;
571    font-size: clamp(36px, 5vw, 48px);
572    font-weight: 700;
573    color: ${ze.mauve};
574    line-height: 1.2;
575    margin-bottom: 20px;
576  }
577  .h2 em { 
578    font-style: italic; 
579    color: ${ze.coral}; 
580  }
581  
582  .section-desc {
583    font-size: 16px;
584    font-weight: 400;
585    line-height: 1.8;
586    color: #5a5a5a;
587  }
588
589  /* ROLES */
590  .roles-grid {
591    display: grid;
592    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
593    gap: 24px;
594  }
595  
596  .role-card {
597    background: white;
598    border: 1px solid #e8e8e8;
599    border-radius: 16px;
600    padding: 32px 28px;
601    transition: all .3s;
602    cursor: default;
603  }
604  .role-card:hover {
605    border-color: ${ze.coral};
606    box-shadow: 0 8px 32px rgba(243,148,143,0.12);
607    transform: translateY(-4px);
608  }
609  
610  .role-icon {
611    width: 56px;
612    height: 56px;
613    background: ${ze.sand};
614    border-radius: 12px;
615    display: flex;
616    align-items: center;
617    justify-content: center;
618    font-size: 24px;
619    margin-bottom: 20px;
620  }
621  
622  .role-text {
623    font-size: 15px;
624    color: #2d2d2d;
625    font-weight: 400;
626    line-height: 1.7;
627  }
628
629  /* BENEFITS */
630  .benefits {
631
632    color: black;
633  }
634  
635  .benefits-layout {
636    display: grid;
637    grid-template-columns: 1fr 1fr;
638    gap: 60px;
639    align-items: center;
640  }
641  @media(max-width: 900px) { 
642    .benefits-layout { 
643      grid-template-columns: 1fr; 
644      gap: 40px;
645    } 
646  }
647  
648  .benefits-tabs {
649    display: flex;
650    flex-direction: column;
651    gap: 0;
652    border-top: 1px solid rgba(210, 147, 158, 0.1);
653  }
654  
655  .benefit-tab {
656    background: transparent;
657    border: none;
658    border-bottom: 1px solid rgba(255,255,255,0.1);
659    padding: 32px 24px;
660    text-align: left;
661    cursor: pointer;
662    transition: all .3s;
663    position: relative;
664  }
665  .benefit-tab::before {
666    content: '';
667    position: absolute;
668    left: 0;
669    top: 0;
670    bottom: 0;
671    width: 4px;
672    background: ${ze.coral};
673    opacity: 0;
674    transition: opacity .3s;
675  }
676  .benefit-tab.active {
677    background: rgba(243,148,143,0.05);
678  }
679  .benefit-tab.active::before {
680    opacity: 1;
681  }
682  .benefit-tab:hover {
683    background: rgba(243,148,143,0.08);
684  }
685  
686  .benefit-tab-header {
687    display: flex;
688    align-items: center;
689    gap: 20px;
690    margin-bottom: 12px;
691  }
692  
693  .benefit-icon {
694    font-size: 32px;
695    flex-shrink: 0;
696    color:#a96b6c
697  }
698  
699  .benefit-title {
700    font-family: 'Playfair Display', serif;
701    font-size: 22px;
702    font-weight: 600;
703    color: #a96b6c;
704    margin: 0;
705  }
706  
707  .benefit-desc {
708    font-size: 14px;
709    font-weight: 400;
710    line-height: 1.75;
711    color: rgba(81, 78, 78, 0.7);
712    margin-left: 52px;
713  }
714  
715 .benefits-image {
716  width: 100%;
717  height: 500px;
718  border-radius: 16px;
719  overflow: hidden;
720  background-image: url('/img/benefit.png');
721  background-repeat: no-repeat;     /* prevents repeating */
722  background-size: cover;           /* optional: makes it fill the area */
723  background-position: center;      /* optional: centers the image */
724
725  display: flex;
726  align-items: center;
727  justify-content: center;
728}
729
730  .benefits-image img {
731    width: 100%;
732    height: 100%;
733    object-fit: cover;
734  }
735  .benefits-image-placeholder {
736    color: rgba(255,255,255,0.3);
737    font-size: 48px;
738  }
739
740  /* STORIES */
741  .stories-grid {
742    display: grid;
743    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
744    gap: 28px;
745  }
746  
747  .story-card {
748    background: white;
749    border: 1px solid #e8e8e8;
750    border-radius: 20px;
751    padding: 40px 32px;
752    transition: all .3s;
753    position: relative;
754  }
755  .story-card::before {
756    content: '"';
757    position: absolute;
758    top: 20px;
759    left: 28px;
760    font-family: 'Playfair Display', serif;
761    font-size: 80px;
762    color: ${ze.sand};
763    line-height: 0.5;
764    opacity: 0.8;
765  }
766  .story-card:hover {
767    border-color: ${ze.coral};
768    box-shadow: 0 12px 36px rgba(243,148,143,0.15);
769    transform: translateY(-4px);
770  }
771  
772  .story-text {
773    font-size: 15px;
774    font-weight: 400;
775    font-style: italic;
776    line-height: 1.8;
777    color: #2d2d2d;
778    margin-bottom: 24px;
779    position: relative;
780    z-index: 1;
781  }
782  
783  .story-tag {
784    display: inline-block;
785    font-size: 10px;
786    letter-spacing: 1.5px;
787    text-transform: uppercase;
788    font-weight: 600;
789    color: ${ze.mauve};
790    background: ${ze.sand};
791    padding: 8px 16px;
792    border-radius: 100px;
793    font-style: normal;
794  }
795
796  /* CTA */
797  .cta {
798    background: linear-gradient(135deg, ${ze.coral} 0%, ${ze.mauve} 100%);
799    padding: 100px 48px;
800    text-align: center;
801    position: relative;
802    overflow: hidden;
803  }
804  .cta::before {
805    content: '';
806    position: absolute;
807    top: -30%;
808    left: -10%;
809    width: 500px;
810    height: 500px;
811    border-radius: 50%;
812    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
813  }
814  .cta::after {
815    content: '';
816    position: absolute;
817    bottom: -30%;
818    right: -10%;
819    width: 600px;
820    height: 600px;
821    border-radius: 50%;
822    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
823  }
824  
825  .cta-inner {
826    max-width: 720px;
827    margin: 0 auto;
828    position: relative;
829    z-index: 1;
830  }
831  
832  .cta-icon {
833    font-size: 56px;
834    margin-bottom: 24px;
835    display: block;
836  }
837  
838  .cta-title {
839    font-family: 'Playfair Display', serif;
840    font-size: clamp(36px, 5vw, 52px);
841    font-weight: 700;
842    color: white;
843    line-height: 1.15;
844    margin-bottom: 20px;
845  }
846  .cta-title em { 
847    font-style: italic; 
848    color: ${ze.cream}; 
849  }
850  
851  .cta-desc {
852    font-size: 16px;
853    font-weight: 400;
854    color: rgba(255,255,255,0.9);
855    line-height: 1.8;
856    margin-bottom: 40px;
857  }
858  
859  .cta-btns {
860    display: flex;
861    gap: 16px;
862    justify-content: center;
863    flex-wrap: wrap;
864  }
865  
866  .btn-white {
867    background: white;
868    color: ${ze.mauve};
869    border: none;
870    border-radius: 8px;
871    font-family: 'Inter', sans-serif;
872    font-size: 14px;
873    font-weight: 600;
874    padding: 16px 32px;
875    cursor: pointer;
876    transition: all .3s;
877    text-decoration: none;
878    display: inline-flex;
879    align-items: center;
880    gap: 8px;
881  }
882  .btn-white:hover { 
883    background: ${ze.cream};
884    transform: translateY(-2px);
885    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
886  }
887  
888  .btn-outline-white {
889    background: transparent;
890    color: white;
891    border: 2px solid rgba(255,255,255,0.5);
892    border-radius: 8px;
893    font-family: 'Inter', sans-serif;
894    font-size: 14px;
895    font-weight: 600;
896    padding: 14px 30px;
897    cursor: pointer;
898    transition: all .3s;
899  }
900  .btn-outline-white:hover { 
901    background: rgba(255,255,255,0.15);
902    border-color: white;
903  }
904
905  /* FOOTER */
906  .footer {
907    background: #2d2d2d;
908    padding: 32px 48px;
909    text-align: center;
910  }
911  .footer-text {
912    font-size: 13px;
913    color: rgba(255,255,255,0.6);
914    font-weight: 400;
915  }
916  .footer-text span { 
917    color: ${ze.coral}; 
918    margin: 0 4px;
919  }
920`,Cw=[{icon:"●",title:"Community Dedicata",desc:"Un gruppo riservato dove confrontarti con altre Ambassador, scambiare esperienze e trovare incoraggiamento. Fare rete è la nostra forza."},{icon:"●",title:"Ambassador Kit",desc:"Brochure, locandine, gadget e la nostra maglietta. Più accesso esclusivo a risorse e materiali online sempre aggiornati."},{icon:"●",title:"Campagne Stagionali",desc:"Partecipa a iniziative speciali durante tutto l'anno. Ogni stagione porta nuove opportunità di sensibilizzazione."},{icon:"●",title:"Crescita Personale",desc:"Public speaking, organizzazione eventi, fundraising: costruisci competenze reali e relazioni significative."}],Dw=[{text:"Ho realizzato il sogno di una gravidanza nonostante la malattia. Condividere la mia storia mi ha dato la forza che non sapevo di avere.",tag:"Maternità & Speranza"}
920,{text:"Ho cambiato vita e lavoro per convivere meglio col dolore. Non è stata una sconfitta — è stata la scelta più coraggiosa della mia vita.",tag:"Nuovo Inizio"},{text:"Lotto ogni giorno per il riconoscimento dei miei diritti sul lavoro. Perché quello che sento è reale, e merita rispetto.",tag:"Diritti & Voce"}],Mw=[{icon:"🎤",text:"Organizza eventi di sensibilizzazione nel tuo territorio"},{icon:"📋",text:"Gestisce banchetti informativi nelle piazze e nelle scuole"},{icon:"💛",text:"Raccoglie fondi nella propria comunità con creatività"}];function Rw(){const[a,l]=w.useState(0);return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:Aw}),n.jsxs("div",{className:"root",children:[n.jsx("section",{className:"hero",children:n.jsxs("div",{className:"hero-inner",children:[n.jsxs("div",{children:[n.jsx("div",{className:"pill font-avenir",children:"🌸 Programma Volontarie"}),n.jsxs("h1",{className:"hero-title font-avenir",children:["Diventa",n.jsx("br",{}),n.jsx("em",{children:"Ambassador"})]}),n.jsx("p",{className:"hero-sub font-avenir",children:"Un'Ambasciatrice porta la causa nel cuore della propria comunità. Ogni voce conta. La tua può cambiare qualcosa di reale."}),n.jsx("div",{className:"hero-actions",children:n.jsx("a",{href:"https://www.endometriosi.it/campaign/dona-per-la-ricerca/register/",target:"__blank",children:n.jsx("button",{className:"btn-primary font-avenir",children:"Candidati ora →"})})})]}),n.jsx("div",{className:"hero-visual",children:n.jsxs("div",{className:"visual-content",children:[n.jsxs("div",{className:"visual-stat",children:[n.jsx("div",{className:"visual-number font-avenir",children:"1 su 10"}),n.jsx("div",{className:"visual-label font-avenir",children:"Donne con endometriosi"})]}),n.jsxs("div",{className:"visual-stat",children:[n.jsx("div",{className:"visual-number font-avenir",children:"7 anni"}),n.jsx("div",{className:"visual-label font-avenir",children:"Ritardo medio di diagnosi"})]}),n.jsxs("div",{className:"visual-stat",children:[n.jsx("div",{className:"visual-number font-avenir",children:"∞"}),n.jsx("div",{className:"visual-label font-avenir",children:"Impatto di ogni Ambassador"})]})]})})]})}),n.jsxs("div",{className:"section",children:[n.jsxs("div",{className:"section-header",children:[n.jsx("span",{className:"label font-avenir",children:"Chi è un'Ambassador"}),n.jsxs("h2",{className:"h2 font-avenir",children:["Dare un ",n.jsx("em",{children:"volto e una voce"})," all'endometriosi"]}),n.jsx("p",{className:"section-desc font-avenir",children:"Ogni Ambassador contribuisce secondo le proprie possibilità e il proprio tempo. Non serve essere esperte — serve la voglia di fare la differenza."})]}),n.jsx("div",{className:"roles-grid",children:Mw.map((o,r)=>
920n.jsxs("div",{className:"role-card",children:[n.jsx("div",{className:"role-icon",children:o.icon}),n.jsx("p",{className:"role-text font-avenir",children:o.text})]},r))})]}),n.jsxs("section",{className:"benefits section",children:[n.jsxs("div",{className:"section-header",children:[n.jsx("span",{className:"label font-avenir ",children:"Cosa offriamo"}),n.jsxs("h2",{className:"h2 font-avenir",children:["Non sarai mai ",n.jsx("em",{children:"sola"})]})]}),n.jsxs("div",{className:"benefits-layout",children:[n.jsx("div",{className:"benefits-tabs",children:Cw.map((o,r)=>n.jsxs("button",{className:`benefit-tab ${a===r?"active":""}`,onClick:()=>l(r),children:[n.jsxs("div",{className:"benefit-tab-header",children:[n.jsx("span",{className:"benefit-icon ",children:o.icon}),n.jsx("h3",{className:"benefit-title font-avenir",children:o.title})]}),a===r&&n.jsx("p",{className:"benefit-desc font-avenir",children:o.desc})]},r))}),n.jsx("div",{className:"benefits-image",children:n.jsx("div",{className:"benefits-image-placeholder",children:"🌸"})})]})]}),n.jsxs("section",{className:"section",children:[n.jsxs("div",{className:"section-header sm:mr-8",children:[n.jsx("span",{className:"label font-avenir",children:"Storie di Endo-Fighters"}),n.jsxs("h2",{className:"h2 font-avenir",children:["La ",n.jsx("em",{children:"voce"})," delle pazienti"]}),n.jsx("p",{className:"section-desc font-avenir",children:"Ogni storia rompe il silenzio e aiuta altre donne a riconoscersi e farsi coraggio."})]}),n.jsx("div",{className:"stories-grid",children:Dw.map((o,r)=>
920n.jsxs("div",{className:"story-card",children:[n.jsx("p",{className:"story-text font-avenir",children:o.text}),n.jsx("span",{className:"story-tag",children:o.tag})]},r))})]}),n.jsx("div",{style:{textAlign:"center",padding:"0 48px 80px"},children:n.jsx("a",{href:"https://www.endometriosi.it/campaign/dona-per-la-ricerca/register/",target:"__blank",children:n.jsx("button",{className:"btn-primary font-avenir",children:"Candidati come Ambassador →"})})}),n.jsx("section",{className:"cta",children:n.jsxs("div",{className:"cta-inner",children:[n.jsxs("h2",{className:"cta-title font-avenir",children:["Entra nella nostra ",n.jsx("em",{children:"Community"})]}),n.jsx("p",{className:"cta-desc font-avenir",children:"Uno spazio di supporto, confronto e informazione dedicato a chi convive con l'endometriosi. Rompere l'isolamento, condividere esperienze reali, sentirsi parte di una rete che ascolta e sostiene."}),n.jsxs("div",{className:"cta-btns",children:[n.jsx("a",{href:"https://community.endometriosi.it/",target:"__blank",className:"btn-white font-avenir",children:"Entra nella Community →"}),n.jsx("a",{href:"https://www.endometriosi.it/campaign/dona-per-la-ricerca/register/",target:"__blank",children:n.jsx("button",{className:"btn-outline-white font-avenir",children:"Compila il modulo Ambassador"})})]})]})})]})]})}const kw=()=>{const[a,l]=w.useState(null),o=[{title:"La Dieta Anti-Endometriosi",publisher:"Giunti Editore, 2021",description:"Un libro nato dalla collaborazione tra i nostri specialisti e nutrizionisti, per offrire alle donne uno strumento pratico e scientifico per 'riappropriarsi della propria esistenza' tramite l'alimentazione.",details:"Vengono spiegati in modo chiaro i fondamenti della dieta anti-infiammatoria, con piani alimentari settimanali, ricette e consigli per ridurre i sintomi e migliorare l'energia giorno dopo giorno. Un must per chi vuole agire anche a tavola contro l'endometriosi.",isbn:"978880989***",highlight:!0,coverImage:"/img/book1.jpg",amazonLink:"https://www.amazon.it/dieta-anti-endometriosi-Giulio-Signorile/dp/8844056623/ref=sr_1_1?__mk_it_IT=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=2BCR039KUJXVO&keywords=la+dieta+anti+endometriosi&qid=1700661435&s=books&sprefix=la+dieta+anti+endometirosi%2Cstripbooks%2C169&sr=1-1"},{title:"Tener Testa all'Endometriosi",description:"Un prezioso volumetto in cui l'autrice – affetta da endometriosi – racconta con sincerità e ironia la sua esperienza, offrendo consigli pratici su come 'tenere testa' alla malattia nella vita quotidiana.",details:"Dalla gestione del dolore cronico ai rapporti col partner, dal lavoro alla socialità, questo libro rappresenta un abbraccio virtuale e una guida per le altre donne nella stessa situazione. Include contributi di medici della Fondazione per chiarire i dubbi più comuni.",quote:"Non sei sola e non sei sbagliata",coverImage:"/img/book2.jpg",amazonLink:"https://www.amazon.it/tener-testa-endometriosi"}];return n.jsxs("div",{style:{fontFamily:"'Crimson Pro', 'Libre Baskerville', Georgia, serif",background:"linear-gradient(135deg, #fef9f8 0%, #fdf5f4 50%, #fcf1f0 100%)",minHeight:"100vh",padding:"4rem 2rem",position:"relative",overflow:"hidden"},children:[n.jsx("div",{style:{position:"absolute",top:"-10%",right:"-5%",width:"40%",height:"50%",background:"radial-gradient(circle, rgba(169, 107, 108, 0.08) 0%, transparent 70%)",borderRadius:"50%",filter:"blur(60px)",pointerEvents:"none"}}),n.jsx("div",{style:{position:"absolute",bottom:"-15%",left:"-10%",width:"50%",height:"60%",background:"radial-gradient(circle, rgba(243, 148, 143, 0.06) 0%, transparent 70%)",borderRadius:"50%",filter:"blur(80px)",pointerEvents:"none"}}),n.jsxs("div",{style:{maxWidth:"1200px",margin:"0 auto",position:"relative",zIndex:1},children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:"5rem",animation:"fadeInDown 0.8s ease-out"},children:[n.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:"0.75rem",marginBottom:"1.5rem",padding:"0.5rem 1.5rem",background:"rgba(169, 107, 108, 0.08)",borderRadius:"50px",border:"1px solid rgba(169, 107, 108, 0.15)"},children:[n.jsx(mj,{size:20,color:"#a96b6c"}),n.jsx("span",{style:{fontSize:"0.875rem",fontWeight:"600",color:"#a96b6c",letterSpacing:"0.05em",textTransform:"uppercase"},children:"Biblioteca della Fondazione"})]}),n.jsx("h1",{style:{fontSize:"clamp(2.5rem, 5vw, 4rem)",fontWeight:"700",color:"#a96b6c",marginBottom:"1.5rem",lineHeight:"1.2",letterSpacing:"-0.02em"},children:"Libri"}),n.jsxs("p",{style:{fontSize:"clamp(1.1rem, 2vw, 1.25rem)",lineHeight:"1.8",color:"#5a3a3b",maxWidth:"800px",margin:"0 auto",fontWeight:"400"},children:["La Fondazione Italiana Endometriosi mette a disposizione pubblicazioni e manuali per approfondire vari aspetti della malattia e della sua gestione quotidiana. Crediamo nella divulgazione come forma di ",n.jsx("em",{style:{color:"#a96b6c",fontStyle:"italic"},children:"empowerment"}),": capire meglio cosa succede nel proprio corpo è il primo passo per affrontare l'endometriosi con consapevolezza."]})]}),n.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(min(100%, 500px), 1fr))",gap:"2.5rem",marginBottom:"4rem"},children:o.map((r,d)=>{const f=a===d;return n.jsxs("div",{onClick:()=>l(f?null:d),style:{background:"linear-gradient(135deg, #ffffff 0%, #fefefe 100%)",borderRadius:"24px",padding:"2.5rem",boxShadow:"0 10px 40px rgba(169, 107, 108, 0.12), 0 2px 8px rgba(169, 107, 108, 0.08)",border:"1px solid rgba(169, 107, 108, 0.1)",position:"relative",overflow:"hidden",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",animation:`fadeInUp 0.6s ease-out ${d*.2}s backwards`,cursor:"pointer"},onMouseEnter:m=>{m.currentTarget.style.transform="translateY(-8px)",m.currentTarget.style.boxShadow="0 20px 60px rgba(169, 107, 108, 0.18), 0 4px 12px rgba(169, 107, 108, 0.12)"},onMouseLeave:m=>{m.currentTarget.style.transform="translateY(0)",m.currentTarget.style.boxShadow="0 10px 40px rgba(169, 107, 108, 0.12), 0 2px 8px rgba(169, 107, 108, 0.08)"},children:[n.jsx("div",{style:{position:"absolute",top:"0",right:"0",width:"120px",height:"120px",background:`radial-gradient(circle at top right, ${r.highlight?"#f3948f":"#a96b6c"}, transparent)`,opacity:"0.1",pointerEvents:"none"}}),r.highlight&&n.jsxs("div",{style:{position:"absolute",top:"1.5rem",right:"1.5rem",padding:"0.5rem 1rem",background:"linear-gradient(135deg, #f3948f 0%, #f5a6a1 100%)",borderRadius:"50px",color:"white",fontSize:"0.75rem",fontWeight:"600",letterSpacing:"0.05em",textTransform:"uppercase",display:"flex",alignItems:"center",gap:"0.4rem",boxShadow:"0 4px 12px rgba(243, 148, 143, 0.3)",zIndex:2},children:[n.jsx(An,{size:14}),"Must Have"]}),n.jsx("div",{style:{width:"100%",height:"400px",background:"linear-gradient(135deg, #e8d5d6 0%, #f0e3e4 100%)",borderRadius:"16px",marginBottom:"2rem",overflow:"hidden",boxShadow:"0 10px 30px rgba(169, 107, 108, 0.2)",display:"flex",alignItems:"center",justifyContent:"center",position:"relative",padding:"1rem"},children:n.jsx("img",{src:r.coverImage,alt:`Copertina di ${r.title}`,style:{width:"100%",height:"100%",objectFit:"contain",objectPosition:"center"},onError:m=>{const p=m.currentTarget.parentElement;p&&(m.currentTarget.style.display="none",p.innerHTML=`
921                        <div style="display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; flex-direction: column; gap: 1rem;">
922                          <svg width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="#a96b6c" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
923                            <path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
924                            <path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
925                          </svg>
926                          <span style="color: #a96b6c; font-size: 0.9rem; font-weight: 500;">Copertina del libro</span>
927                        </div>
928                      `)}})}),n.jsxs("h3",{style:{fontSize:"1.75rem",fontWeight:"700",color:"#a96b6c",marginBottom:"0.75rem",lineHeight:"1.3",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem"},children:[n.jsx("span",{children:r.title}),n.jsx(Ul,{size:28,color:"#a96b6c",style:{transition:"transform 0.3s ease",transform:f?"rotate(180deg)":"rotate(0deg)",flexShrink:0}})]}),r.publisher&&n.jsx("p",{style:{fontSize:"0.9rem",color:"#8a6a6b",marginBottom:"1.25rem",fontStyle:"italic"},children:r.publisher}),n.jsx("p",{style:{fontSize:"1.05rem",lineHeight:"1.7",color:"#5a3a3b",marginBottom:f?"1rem":"0"},children:r.description}),n.jsxs("div",{style:{maxHeight:f?"1000px":"0",overflow:"hidden",transition:"max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease",opacity:f?1:0},children:[n.jsx("p",{style:{fontSize:"1rem",lineHeight:"1.7",color:"#6a4a4b",marginBottom:"1.5rem",marginTop:"1rem"},children:r.details}),r.quote&&n.jsx("div",{style:{padding:"1.25rem",background:"linear-gradient(135deg, rgba(169, 107, 108, 0.08) 0%, rgba(243, 148, 143, 0.06) 100%)",borderLeft:"4px solid #f3948f",borderRadius:"8px",marginBottom:"1.5rem"},children:n.jsxs("p",{style:{fontSize:"1.1rem",fontStyle:"italic",color:"#a96b6c",margin:"0",fontWeight:"500",lineHeight:"1.6"},children:['"',r.quote,'"']})}),r.isbn&&n.jsxs("p",{style:{fontSize:"0.85rem",color:"#8a6a6b",marginBottom:"1.5rem"},children:[n.jsx("strong",{children:"ISBN:"})," ",r.isbn]}),n.jsxs("a",{href:r.amazonLink,target:"_blank",rel:"noopener noreferrer",onClick:m=>{m.stopPropagation()},style:{width:"100%",padding:"1rem 2rem",background:"linear-gradient(135deg, #f3948f 0%, #f5a6a1 100%)",border:"none",borderRadius:"12px",color:"white",fontSize:"1.05rem",fontWeight:"600",cursor:"pointer",transition:"all 0.3s ease",boxShadow:"0 6px 20px rgba(243, 148, 143, 0.3)",display:"flex",alignItems:"center",justifyContent:"center",gap:"0.75rem",fontFamily:"inherit",textDecoration:"none"},onMouseEnter:m=>{m.currentTarget.style.transform="translateY(-2px)",m.currentTarget.style.boxShadow="0 8px 28px rgba(243, 148, 143, 0.4)"},onMouseLeave:m=>{m.currentTarget.style.transform="translateY(0)",m.currentTarget.style.boxShadow="0 6px 20px rgba(243, 148, 143, 0.3)"},children:[n.jsx(Xj,{size:20}),"Acquista su Amazon"]})]})]},d)})}),n.jsxs("div",{style:{background:"linear-gradient(135deg, rgba(169, 107, 108, 0.06) 0%, rgba(243, 148, 143, 0.04) 100%)",borderRadius:"24px",padding:"3rem 2.5rem",border:"2px dashed rgba(169, 107, 108, 0.2)",marginBottom:"4rem",animation:"fadeInUp 0.6s ease-out 0.4s backwards"},children:[n.jsxs("h3",{style:{fontSize:"1.75rem",fontWeight:"700",color:"#a96b6c",marginBottom:"1.25rem",display:"flex",alignItems:"center",gap:"0.75rem"},children:[n.jsx(An,{size:24}),"Altre pubblicazioni in arrivo"]}),n.jsxs("p",{style:{fontSize:"1.05rem",lineHeight:"1.8",color:"#5a3a3b",marginBottom:"1rem"},children:["Stiamo lavorando a nuovi materiali informativi, come opuscoli tematici (",n.jsx("strong",{children:'"Endometriosi e fertilità"'}),", ",n.jsx("strong",{children:'"Guida ai diritti delle donne con endometriosi"'}),") e un possibile ",n.jsx("strong",{children:"podcast divulgativo"}),". Rimani sintonizzata!"]}),n.jsx("p",{style:{fontSize:"1rem",lineHeight:"1.8",color:"#6a4a4b",fontStyle:"italic"},children:"Se hai idee o richieste su argomenti da trattare, faccelo sapere tramite il form contatti."})]}),n.jsxs("div",{style:{background:"linear-gradient(135deg, #a96b6c 0%, #b87b7c 100%)",borderRadius:"24px",padding:"3.5rem 3rem",textAlign:"center",boxShadow:"0 20px 60px rgba(169, 107, 108, 0.25)",position:"relative",overflow:"hidden",animation:"fadeInUp 0.6s ease-out 0.6s backwards"},children:[n.jsx("div",{style:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",background:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,opacity:"1",pointerEvents:"none"}}),n.jsxs("div",{style:{position:"relative",zIndex:1},children:[n.jsx(En,{size:48,color:"white",style:{marginBottom:"1.5rem"}}),n.jsx("h2",{style:{fontSize:"clamp(1.75rem, 4vw, 2.5rem)",fontWeight:"700",color:"white",marginBottom:"1.25rem",lineHeight:"1.3"},children:"Acquista ora"}),n.jsx("p",{style:{fontSize:"1.15rem",lineHeight:"1.8",color:"rgba(255, 255, 255, 0.95)",maxWidth:"700px",margin:"0 auto 2.5rem",fontWeight:"400"}
928,children:"Puoi acquistare i libri direttamente dal nostro sito (sezione Shop) o tramite i link forniti. Ogni acquisto contribuisce alla Fondazione: i proventi derivanti dai diritti d'autore di queste pubblicazioni vengono reinvestiti nella ricerca e nelle attività di sensibilizzazione."}),n.jsxs("p",{style:{fontSize:"1.25rem",lineHeight:"1.7",color:"white",fontWeight:"600",marginBottom:"2rem"},children:["Fai un regalo a te stessa o a una persona cara che lotta con l'endometriosi: ",n.jsx("em",{style:{fontStyle:"italic"},children:"regalare conoscenza significa regalare potere"}),"."]}),n.jsxs("div",{style:{display:"flex",gap:"1rem",justifyContent:"center",flexWrap:"wrap"},children:[n.jsx("button",{style:{padding:"1.25rem 3rem",background:"#f3948f",border:"none",borderRadius:"12px",color:"white",fontSize:"1.1rem",fontWeight:"600",cursor:"pointer",transition:"all 0.3s ease",boxShadow:"0 8px 24px rgba(0, 0, 0, 0.15)",fontFamily:"inherit"},onMouseEnter:r=>{r.currentTarget.style.transform="translateY(-3px)",r.currentTarget.style.boxShadow="0 12px 32px rgba(0, 0, 0, 0.2)"},onMouseLeave:r=>{r.currentTarget.style.transform="translateY(0)",r.currentTarget.style.boxShadow="0 8px 24px rgba(0, 0, 0, 0.15)"},children:"Vai allo Shop"}),n.jsx(Xt,{to:"/contatti",children:n.jsx("button",{style:{padding:"1.25rem 3rem",background:"transparent",border:"2px solid white",borderRadius:"12px",color:"white",fontSize:"1.1rem",fontWeight:"600",cursor:"pointer",transition:"all 0.3s ease",fontFamily:"inherit"},onMouseEnter:r=>{r.currentTarget.style.background="rgba(255, 255, 255, 0.15)",r.currentTarget.style.transform="translateY(-3px)"},onMouseLeave:r=>{r.currentTarget.style.background="transparent",r.currentTarget.style.transform="translateY(0)"},children:"Contattaci"})})]})]})]})]}),n.jsx("style",{children:`
929        @import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500;600;700&display=swap');
930        
931        @keyframes fadeInDown {
932          from {
933            opacity: 0;
934            transform: translateY(-30px);
935          }
936          to {
937            opacity: 1;
938            transform: translateY(0);
939          }
940        }
941
942        @keyframes fadeInUp {
943          from {
944            opacity: 0;
945            transform: translateY(30px);
946          }
947          to {
948            opacity: 1;
949            transform: translateY(0);
950          }
951        }
952
953        * {
954          box-sizing: border-box;
955        }
956      `})]})},te={rose:"#f3948f",roseDark:"#a96b6c",green:"#7ab87a",cream:"#fffcf0",text:"#4a3f3f",textLight:"#8a7a7a"};function Vl(a=.15){const l=w.useRef(null),[o,r]=w.useState(!1);return w.useEffect(()=>{const d=l.current;if(!d)return;const f=new IntersectionObserver(([m])=>{m.isIntersecting&&r(!0)},{threshold:a});return f.observe(d),()=>f.disconnect()},[a]),{ref:l,visible:o}}function Co({children:a,accent:l=te.rose}){return n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:10},children:[n.jsx("div",{style:{width:28,height:2,background:`linear-gradient(90deg, ${l}, transparent)`}}),n.jsx("span",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.22em",textTransform:"uppercase",color:l,fontFamily:"'DM Sans', sans-serif"},children:a})]})}function Bo({children:a,gradient:l,style:o={}}){return n.jsxs("div",{style:{borderRadius:22,overflow:"hidden",background:"rgba(255,255,255,0.72)",backdropFilter:"blur(14px)",border:"1px solid rgba(169,107,108,0.1)",boxShadow:"0 4px 24px rgba(0,0,0,0.05)",...o},children:[l&&n.jsx("div",{style:{height:2.5,background:l}}),a]})}function Ll({children:a}){return n.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:10},children:[n.jsx(jn,{style:{width:18,height:18,color:te.green,flexShrink:0,marginTop:1}}),n.jsx("p",{style:{fontSize:13,color:te.text,fontFamily:"'DM Sans', sans-serif",lineHeight:1.6,margin:0},children:a})]})}function Lw({data:a,index:l}){const[o,r]=w.useState(!1),[d,f]=w.useState(!1),{ref:m,visible:p}=Vl(.12),g=a.icon;return n.jsx("div",{ref:m,style:{opacity:p?1:0,transform:p?"translateY(0)":"translateY(22px)",transition:"all 0.6s cubic-bezier(0.16,1,0.3,1)",transitionDelay:`${l*80}ms`},children:n.jsxs(Bo,{gradient:`linear-gradient(90deg, transparent 4%, ${a.accent} 30%, ${a.accent} 70%, transparent 96%)`,style:{border:`1px solid ${o?a.accent+"35":"rgba(169,107,108,0.1)"}`,boxShadow:o?`0 6px 32px ${a.accent}18, 0 2px 8px rgba(0,0,0,0.04)`:"0 4px 24px rgba(0,0,0,0.05)",transition:"all 0.4s cubic-bezier(0.16,1,0.3,1)"},children:[n.jsxs("button",{onClick:()=>r(!o),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:{width:"100%",border:"none",background:"transparent",curs
956or:"pointer",display:"flex",alignItems:"center",gap:16,padding:"20px 22px 18px",textAlign:"left"},children:[n.jsx("div",{style:{width:48,height:48,borderRadius:16,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${a.accent}22, ${a.accent}0e)`,border:`1.5px solid ${a.accent}30`,transition:"all 0.3s ease",boxShadow:d?`0 4px 16px ${a.accent}25`:"none"},children:n.jsx(g,{style:{width:22,height:22,color:a.accent}})}),n.jsxs("div",{style:{flex:1,minWidth:0},children:[n.jsx("p",{style:{fontSize:16,fontWeight:600,color:te.text,fontFamily:"'DM Sans', sans-serif",margin:0,letterSpacing:"0.01em"},children:a.title}),n.jsx("p",{style:{fontSize:12,color:te.textLight,fontFamily:"'DM Sans', sans-serif",margin:"3px 0 0",lineHeight:1.5},children:a.subtitle})]}),n.jsx(Ul,{style:{width:20,height:20,color:a.accent,flexShrink:0,transform:o?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.35s cubic-bezier(0.16,1,0.3,1)"}})]}),n.jsx("div",{style:{overflow:"hidden",maxHeight:o?500:0,opacity:o?1:0,transition:"max-height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease"},children:n.jsxs("div",{style:{padding:"0 22px 20px 22px"},children:[n.jsx("div",{style:{display:"flex",flexDirection:"column",gap:7,marginBottom:18,paddingLeft:2},children:a.items.map((x,v)=>n.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:8},children:[n.jsx("div",{style:{width:5,height:5,borderRadius:"50%",background:a.accent,flexShrink:0,marginTop:7}}),n.jsx("p",{style:{fontSize:12.5,color:te.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.55,margin:0},children:x})]},v))}),n.jsxs("a",{href:`mailto:${a.ctaEmail}`,style:{display:"inline-flex",alignItems:"center",gap:7,fontSize:12.5,fontWeight:600,color:a.accent,fontFamily:"'DM Sans', sans-serif",textDecoration:"none",padding:"8px 14px",borderRadius:10,background:`${a.accent}0a`,border:`1px solid ${a.accent}25`,transition:"all 0.25s ease"},onMouseEnter:x=>{x.currentTarget.style.background=`${a.accent}18`,x.currentTarget.style.borderColor=`${a.accent}45`},onMouseLeave:x=>{x.currentTarget.style.background=`${a.accent}0a`,x.currentTarget.style.borderColor=`${a.accent}25`},children:[a.cta,n.jsx(ex,{style:{width:13,height:13}})]})]})})]})})}const Ow=[{icon:sx,accent:te.green,title:"Partnership di Ricerca",subtitle:"Co-finanziamento di progetti scientifici ad alto impatto",items:["Diagnosi precoce dell'endometriosi","Studi su interferenti endocrini","Nutrizione e endometriosi","Innovazione diagnostica non invasiva"],cta:"Scopri i progetti attivi",ctaEmail:"[email protected]"},{icon:Bj,accent:te.rose,title:"Partnership di Sensibilizzazione",subtitle:"Comunicazione e impatto culturale condiviso",items:["Campagne di awareness","eventi e convegni","Iniziative editoriali e digitali","Progetti educativi"],cta:"Proponi una campagna",ctaEmail:"[email protected]"},{icon:pj,accent:te.roseDark,title:"Partnership Corporate & CSR",subtitle:"Salute femminile nelle strategie di responsabilità aziendale",items:["Supporto alle dipendenti con endometriosi","Progetti interni di sensibilizzazione","Iniziative solidali dedicate","Integrazione in strategie di diversity & inclusion"],cta:"Parliamo di un progetto CSR",ctaEmail:"[email protected]"},{icon:qj,accent:"#8eafc9",title:"Partnership di Prodotto o Servizio",subtitle:"Collaborazioni con aziende nell'innovazione salute femminile",items:["Prodotti per il benessere femminile","Soluzioni digitali o medicali","Servizi innovativi in ambito salute","Valutazione scientifica ed etica garantita"],cta:"Candidati come partner",ctaEmail:"[email protected]"}];function Bw(){const a=Vl(.05),l=Vl(.1),o=Vl(.1),r=Vl(.1);return n.jsxs("div",{style:{minHeight:"100vh",backgroundColor:te.cream,fontFamily:"'Cormorant Garamond', Georgia, serif",position:"relative",overflow:"hidden"},children:[n.jsxs("svg",{style:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:0},children:[n.jsxs("defs",{children:[n.jsx("filter",{id:"pb1",children:n.jsx("feGaussianBlur",{stdDeviation:"60"})}),n.jsx("filter",{id:"pb2",children:n.jsx("feGaussianBlur",{stdDeviation:"80"})}),n.jsx("filter",{id:"pb3",children:n.jsx("feGaussianBlur",{stdDeviation:"50"})})]}),n.jsx("ellipse",{cx:"5%",cy:"8%",rx:"220",ry:"180",fill:te.green,opacity:"0.07",filter:"url
956(#pb1)"}),n.jsx("ellipse",{cx:"92%",cy:"22%",rx:"200",ry:"250",fill:te.rose,opacity:"0.055",filter:"url(#pb2)"}),n.jsx("ellipse",{cx:"50%",cy:"55%",rx:"280",ry:"180",fill:te.roseDark,opacity:"0.04",filter:"url(#pb3)"}),n.jsx("ellipse",{cx:"12%",cy:"75%",rx:"160",ry:"120",fill:te.green,opacity:"0.035",filter:"url(#pb1)"}),n.jsx("ellipse",{cx:"88%",cy:"85%",rx:"190",ry:"150",fill:te.rose,opacity:"0.04",filter:"url(#pb2)"})]}),n.jsxs("div",{style:{position:"relative",zIndex:1,maxWidth:960,margin:"0 auto",padding:"56px 12px 56px"},children:[n.jsxs("div",{ref:a.ref,style:{textAlign:"center",marginBottom:52,opacity:a.visible?1:0,transform:a.visible?"translateY(0)":"translateY(-22px)",transition:"all 0.9s cubic-bezier(0.16,1,0.3,1)"},children:[n.jsx("div",{style:{width:56,height:56,borderRadius:18,margin:"0 auto 18px",display:"flex",alignItems:"center",justifyContent:"center",background:`linear-gradient(135deg, ${te.green}20, ${te.rose}18)`,border:`1.5px solid ${te.green}30`},children:n.jsx(vg,{style:{width:26,height:26,color:te.green}})}),n.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:10,marginBottom:20},children:[n.jsx("div",{style:{height:1,width:44,background:`linear-gradient(90deg, transparent, ${te.roseDark})`}}),n.jsx("div",{style:{width:6,height:6,borderRadius:"50%",backgroundColor:te.rose}}),n.jsx("div",{style:{height:1,width:44,background:`linear-gradient(270deg, transparent, ${te.roseDark})`}})]}),n.jsx("h1",{style:{fontSize:38,fontWeight:300,color:te.roseDark,letterSpacing:"0.06em",lineHeight:1.25,marginBottom:2},children:"Costruiamo"}),n.jsx("h1",{style:{fontSize:38,fontWeight:700,color:te.roseDark,letterSpacing:"0.04em",lineHeight:1.25,marginBottom:22},children:"Partnership"}),n.jsx("p",{style:{fontSize:15,color:te.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.75,maxWidth:620,margin:"0 auto 10px"},children:"La Fondazione Italiana Endometriosi collabora con aziende, istituzioni e realtà innovative che condividono un obiettivo comune: migliorare la salute delle donne, promuovere ricerca scientifica di valore e generare impatto sociale concreto."}),n.jsx("p",{style:{fontSize:14,color:te.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.7,maxWidth:560,margin:"0 auto",fontStyle:"italic"},children:"Ogni collaborazione nasce per creare valore misurabile: per le pazienti, per la ricerca e per i partner coinvolti."})]}),n.jsx("div",{ref:l.ref,style:{marginBottom:48,opacity:l.visible?1:0,transform:l.visible?"translateY(0)":"translateY(18px)",transition:"all 0.7s cubic-bezier(0.16,1,0.3,1)"},children:n.jsx(Bo,{gradient:`linear-gradient(90deg, transparent 3%, ${te.green} 25%, ${te.rose} 75%, transparent 97%)`,children:n.jsxs("div",{style:{padding:"32px 32px 30px",display:"grid",gridTemplateColumns:"1fr 1fr",gap:"32px 40px",alignItems:"start"},children:[n.jsxs("div",{children:[n.jsx(Co,{accent:te.green,children:"Perché collaborare"}),n.jsx("h2",{style:{fontSize:26,fontWeight:700,color:te.roseDark,letterSpacing:"0.03em",lineHeight:1.3,marginBottom:12},children:"Un ente, un obiettivo, un impatto reale"}),n.jsx("p",{style:{fontSize:13,color:te.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.7},children:"Le aziende partner non sono semplici finanziatori, ma attori attivi del cambiamento. Collaborare significa associare il proprio nome a iniziative etiche, credibili e verificabili."})]}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:14},children:[n.jsx(Ll,{children:"Associare il proprio brand a un ente scientifico autorevole e riconosciuto"}),n.jsx(Ll,{children:"Sostenere progetti di ricerca ad alto impatto sociale"}),n.jsx(Ll,{children:"Contribuire attivamente alla riduzione del gender gap sanitario"}),n.jsx(Ll,{children:"Rafforzare la propria brand reputation attraverso iniziative etiche"}),n.jsx(Ll,{children:"Comunicare il proprio impegno in modo trasparente, concreto e verificabile"})]})]})})}),n.jsx("div",{style:{marginBottom:48},children:n.jsx(Bo,{gradient:`linear-gradient(90deg, transparent 4%, ${te.roseDark} 40%, ${te.roseDark} 60%, transparent 96%)`,children:n.jsxs("div",{style:{padding:"28px 32px",textAlign:"center"},children:[n.jsx(Co,{accent:te.roseDark,children:"Le nostre collaborazioni"}),n.jsxs("div",{style:{marginTop:16,padding:"32px 24px",borderRadius:16,background:"rgba(169,107,108,0.04)",border:"1.5px dashed rgba(169,107,108,0.22)",display:"flex",flexDirection:"column",alignItems:"center",gap:10},children:[n.jsx(An,{style:{width:28,height:28,color:te.roseDark,opacity:.5}}),n.jsx("p",{style:{fontSize:13,color:te.textLight,fontFamily:"'DM Sans', sans-serif",margin:0,lineHeight:1.6},children:"Spazio dedicato a loghi partner, card progetto e casi studio."}),n.jsx("p",{style:{fontSize:11.5,color:te.textLight,fontFamily:"'DM Sans', sans-serif",margin:0,opacity:.7,fontStyle:"italic"},children:"Contenuto in arrivo"})]})]})})}),n.jsxs("div",{style:{marginBottom:48},children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:24},children:[n.jsx(Co,{accent:te.rose,children:"Tipologie di partnership"}),n.jsx("h2",{style:{fontSize:24,fontWeight:700,color:te.roseDark,letterSpacing:"0.03em",lineHeight:1.3},children:"Trova la collaborazione giusta"})]}),n.jsx("div",{style:{display:"flex",flexDirection:"column",gap:12},children:Ow.map((d,f)=>n.jsx(Lw,{data:d,index:f},f))})]}),n.jsx("div",{ref:o.ref,style:{marginBottom:48,opacity:o.visible?1:0,transform:o.visible?"translateY(0)":"translateY(18px)",transition:"all 0.7s cubic-bezier(0.16,1,0.3,1)"},children:n.jsx(Bo,{gradient:`linear-gradient(90deg, transparent 3%, ${te.green} 30%, ${te.rose} 70%, transparent 97%)`,children:n.jsxs("div",{style:{padding:"30px 32px 28px"},children:[n.jsxs("div",{style:{textAlign:"center",marginBottom:24},children:[n.jsx(Co,{accent:te.green,children:"Approccio etico e scientifico"}),n.jsx("h2",{style:{fontSize:22,fontWeight:700,color:te.roseDark,letterSpacing:"0.03em",lineHeight:1.3},children:"La salute delle pazienti viene sempre prima"})]}),n.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:14},children:[{icon:Ml,label:"Valutazione scientifica",desc:"Ogni collaborazione è esaminata dal punto di vista scientifico prima dell'avvio."},{icon:En,label:"Allineamento ai valori",desc:"Solo partnership coerenti con la missione della Fondazione vengono attivate."},{icon:jn,label:"Beneficio reale",desc:"L'obiettivo è sempre un beneficio concreto per le donne con endometriosi."},{icon:An,label:"Comunicazione responsabile",desc:"Ogni iniziativa viene comunicata in modo chiaro, trasparente e verificabile."}].map((d,f)=>n.jsxs("div",{style:{padding:"18px 18px",borderRadius:16,background:`${d.icon===Ml||d.icon===jn?te.green:te.rose}08`,border:`1px solid ${d.icon===Ml||d.icon===jn?te.green:te.rose}20`},children:[n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:8}
956,children:[n.jsx("div",{style:{width:34,height:34,borderRadius:10,display:"flex",alignItems:"center",justifyContent:"center",background:`${d.icon===Ml||d.icon===jn?te.green:te.rose}15`},children:n.jsx(d.icon,{style:{width:17,height:17,color:d.icon===Ml||d.icon===jn?te.green:te.rose}})}),n.jsx("p",{style:{fontSize:13,fontWeight:600,color:te.text,fontFamily:"'DM Sans', sans-serif",margin:0},children:d.label})]}),n.jsx("p",{style:{fontSize:11.5,color:te.textLight,fontFamily:"'DM Sans', sans-serif",lineHeight:1.6,margin:0},children:d.desc})]},f))})]})})}),n.jsx("div",{ref:r.ref,style:{opacity:r.visible?1:0,transform:r.visible?"translateY(0)":"translateY(18px)",transition:"all 0.7s cubic-bezier(0.16,1,0.3,1)"},children:n.jsxs("div",{style:{borderRadius:22,background:`linear-gradient(145deg, ${te.rose}f5, ${te.roseDark}ee)`,boxShadow:`0 8px 40px ${te.rose}35`,padding:"42px 32px",textAlign:"center"},children:[n.jsx(En,{style:{width:24,height:24,color:"rgba(255,255,255,0.45)",margin:"0 auto 20px"},fill:"rgba(255,255,255,0.45)"}),n.jsx("p",{style:{fontSize:22,fontWeight:300,color:"#fff",letterSpacing:"0.02em",lineHeight:1.4,marginBottom:4},children:"Costruiamo qualcosa"}),n.jsx("p",{style:{fontSize:22,fontWeight:700,color:"#fff",letterSpacing:"0.02em",lineHeight:1.4,marginBottom:20},children:"insieme."}),n.jsx("div",{style:{width:40,height:1.5,background:"rgba(255,255,255,0.35)",margin:"0 auto 20px",borderRadius:1}}),n.jsx("p",{style:{fontSize:13,color:"rgba(255,255,255,0.8)",fontFamily:"'DM Sans', sans-serif",lineHeight:1.8,maxWidth:520,margin:"0 auto 28px"},children:"Se rappresenti un'azienda, un brand o un'istituzione e desideri sviluppare una partnership ad alto impatto, sostenere la ricerca sull'endometriosi o contribuire attivamente al cambiamento culturale — siamo pronti ad ascoltarti."}),n.jsxs("div",{style:{display:"flex",gap:12,justifyContent:"center",flexWrap:"wrap"},children:[n.jsxs("a",{href:"mailto:[email protected]",style:{display:"inline-flex",alignItems:"center",gap:8,padding:"12px 24px",borderRadius:12,background:"rgba(255,255,255,0.18)",border:"1.5px solid rgba(255,255,255,0.35)",color:"#fff",fontSize:13,fontWeight:600,fontFamily:"'DM Sans', sans-serif",textDecoration:"none",transition:"all 0.25s ease"},onMouseEnter:d=>{d.currentTarget.style.background="rgba(255,255,255,0.28)",d.currentTarget.style.borderColor="rgba(255,255,255,0.55)"},onMouseLeave:d=>{d.currentTarget.style.background="rgba(255,255,255,0.18)",d.currentTarget.style.borderColor="rgba(255,255,255,0.35)"},children:[n.jsx(kj,{style:{width:15,height:15}}),"Contattaci per una partnership"]}),n.jsxs("a",{href:"mailto:[email protected]",style:{display:"inline-flex",alignItems:"center",gap:8,padding:"12px 24px",borderRadius:12,background:"rgba(255,255,255,0.1)",border:"1.5px solid rgba(255,255,255,0.25)",color:"rgba(255,255,255,0.85)",fontSize:13,fontWeight:600,fontFamily:"'DM Sans', sans-serif",textDecoration:"none",transition:"all 0.25s ease"},onMouseEnter:d=>{d.currentTarget.style.background="rgba(255,255,255,0.2)",d.currentTarget.style.borderColor="rgba(255,255,255,0.4)"},onMouseLeave:d=>{d.currentTarget.style.background="rgba(255,255,255,0.1)",d.currentTarget.style.borderColor="rgba(255,255,255,0.25)"},children:[n.jsx(vg,{style:{width:15,height:15}}),"Richiedi un incontro conoscitivo"]})]})]})})]})]})}function _w(){return n.jsx(n.Fragment,{children:n.jsx(Bw,{})})}const Vw=()=>{const[a,l]=w.useState(null),[o,r]=w.useState(!1);w.useEffect(()=>{const g=()=>{r(window.innerWidth<768)};return g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]);const d=[{id:1,title:"Origine congenita dell'endometriosi",image:"/img/diag1.jpg",description:"La Fondazione ha dimostrato che l'endometriosi ha origine embrionale, identificando tessuto endometriosico già nel feto femminile. Questa scoperta ha superato definitivamente la teoria del reflusso mestruale come unica causa della malattia"},{id:2,title:"Ruolo degli inquinanti nello sviluppo congenito",image:"/img/diag2.jpg",description:"La Fondazione ha dimostrato il ruolo degli interferenti endocrini ambientali (endocrine disruptors) nello sviluppo congenito dell'endometriosi, evidenziando come l'esposizione prenatale a sostanze estrogeno-simili possa alterare i processi di organogenesi e adenogenesi uterina, predisponendo alla comparsa della malattia fin dalla vita fetale."},{id:3,title:"Diagnosi non invasiva",image:"/img/diag3.jpg",description:"La Fondazione ha sviluppato nuovi strumenti diagnostici non invasivi, tra cui un mezzo di contrasto specifico per risonanza magnetica e un test biologico in fase di validazione, per ridurre i tempi di diagnosi ed evitare interventi chirurgici inutili."}],f=g=>{o&&l(a===g?null:g)},m=g=>{o||l(g)},p=()=>{o||l(null)};return n.jsx("div",{className:"w-full bg-[#FFF5EB] text-white py-8 md:py-16 lg:py-20",children:n.jsxs("div",{className:"w-full max-w-7xl mx-auto px-2 md:px-8",children:[n.jsx("div",{className:"mb-6 md:mb-10 lg:mb-12",children:n.jsx("h1",{className:"text-2xl sm:text-3xl md:text-5xl text-[#f3948f] lg:text-6xl font-bold mb-4 md:mb-6 lg:mb-8 leading-tight",children:"Le scoperte più innovative della Fondazione"})}),n.jsx("div",{className:"space-y-0",children:d.map(g=>n.jsxs("div",{className:"relative transition-all duration-300",onMouseEnter:()=>m(g.id),onMouseLeave:p,onClick:()=>f(g.id),children:[n.jsx("div",{className:"border-b border-gray-700 py-3 md:py-5 lg:py-6 cursor-pointer",children:n.jsxs("div",{className:"flex items-start justify-between gap-2",children:[n.jsxs("div",{className:"flex items-start gap-2 sm:gap-3 md:gap-6 flex-1 min-w-0 pr-2",children:[n.jsxs("span",{className:"text-[#fff8d8] text-sm sm:text-base md:text-xl lg:text-2xl font-light flex-shrink-0",children:["0",g.id]}),n.jsx("h2",{className:"text-sm sm:text-base text-[#a96b6c]  md:text-2xl lg:text-3xl xl:text-4xl font-semibold transition-colors leading-snug",children:g.title})]}),o&&n.jsx("svg",{className:`w-4 h-4 sm:w-5 sm:h-5 transition-transform duration-300 flex-shrink-0 ${a===g.id?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})}),n.jsx("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${a===g.id?"max-h-[1200px] opacity-100":"max-h-0 opacity-0"}`,children:n.jsxs("div",{className:"py-4 md:py-6 lg:py-8 flex flex-col md:flex-row gap-4 md:gap-8",children:[n.jsx("div",{className:"w-full md:w-2/3",children:n.jsx("img",{src:g.image,alt:g.title,className:"w-full h-48 sm:h-60 md:h-80 object-cover rounded-lg"})}),n.jsx("div",{className:"w-full md:w-1/3 flex items-start md:items-center",children:n.jsx("p",{className:"text-black text-xs sm:text-sm md:text-base lg:text-lg leading-relaxed",children:g.description})})]})})]},g.id))})]})})},Uw=`
957  @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');
958
959  .autotest-root {
960    --cream: #FAF7F2;
961    --charcoal: #1C1C1C;
962    --sage: #6B8F71;
963    --sage-light: #A8C5AD;
964    --sage-dark: #4A6B50;
965    --warm-gray: #8C8580;
966    --border: rgba(107,143,113,0.25);
967    font-family: 'Jost', sans-serif;
968    background: var(--cream);
969    min-height: 100vh;
970    color: var(--charcoal);
971    overflow-x: hidden;
972  }
973
974  .autotest-hero {
975    position: relative;
976    display: grid;
977    grid-template-columns: 1fr 1fr;
978    min-height: 100vh;
979    align-items: stretch;
980  }
981
982  .autotest-left {
983    padding: 80px 64px 80px 80px;
984    display: flex;
985    flex-direction: column;
986    justify-content: center;
987    position: relative;
988  }
989
990  .autotest-left::after {
991    content: '';
992    position: absolute;
993    right: 0;
994    top: 15%;
995    bottom: 15%;
996    width: 1px;
997    background: var(--border);
998  }
999
1000  .autotest-eyebrow {
1001    font-family: 'Jost', sans-serif;
1002    font-weight: 300;
1003    font-size: 11px;
1004    letter-spacing: 0.35em;
1005    text-transform: uppercase;
1006    color: var(--sage);
1007    margin-bottom: 32px;
1008    display: flex;
1009    align-items: center;
1010    gap: 12px;
1011  }
1012
1013  .autotest-eyebrow::before {
1014    content: '';
1015    display: inline-block;
1016    width: 32px;
1017    height: 1px;
1018    background: var(--sage);
1019  }
1020
1021  .autotest-title {
1022    font-family: 'Cormorant Garamond', serif;
1023    font-weight: 300;
1024    font-size: clamp(52px, 6vw, 88px);
1025    line-height: 0.95;
1026    letter-spacing: -0.02em;
1027    color: var(--charcoal);
1028    margin-bottom: 40px;
1029  }
1030
1031  .autotest-title em {
1032    font-style: italic;
1033    color: var(--sage);
1034  }
1035
1036  .autotest-description {
1037    font-family: 'Jost', sans-serif;
1038    font-weight: 300;
1039    font-size: 15px;
1040    line-height: 1.75;
1041    color: var(--warm-gray);
1042    max-width: 380px;
1043    margin-bottom: 52px;
1044  }
1045
1046  .autotest-meta {
1047    display: flex;
1048    gap: 36px;
1049    margin-bottom: 52px;
1050  }
1051
1052  .autotest-meta-item {
1053    display: flex;
1054    flex-direction: column;
1055    gap: 6px;
1056  }
1057
1058  .autotest-meta-label {
1059    font-size: 10px;
1060    letter-spacing: 0.3em;
1061    text-transform: uppercase;
1062    color: var(--warm-gray);
1063    font-weight: 400;
1064  }
1065
1066  .autotest-meta-value {
1067    font-family: 'Cormorant Garamond', serif;
1068    font-size: 28px;
1069    font-weight: 600;
1070    color: var(--sage-dark);
1071    line-height: 1;
1072  }
1073
1074  .autotest-btn {
1075    display: inline-flex;
1076    align-items: center;
1077    gap: 16px;
1078    background: var(--sage-dark);
1079    color: white;
1080    border: none;
1081    padding: 18px 36px;
1082    font-family: 'Jost', sans-serif;
1083    font-size: 12px;
1084    font-weight: 400;
1085    letter-spacing: 0.2em;
1086    text-transform: uppercase;
1087    cursor: pointer;
1088    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
1089    position: relative;
1090    overflow: hidden;
1091    align-self: flex-start;
1092  }
1093
1094  .autotest-btn::before {
1095    content: '';
1096    position: absolute;
1097    inset: 0;
1098    background: var(--sage);
1099    transform: translateX(-100%);
1100    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
1101  }
1102
1103  .autotest-btn:hover::before {
1104    transform: translateX(0);
1105  }
1106
1107  .autotest-btn span, .autotest-btn svg {
1108    position: relative;
1109    z-index: 1;
1110  }
1111
1112  .autotest-btn:hover {
1113    letter-spacing: 0.25em;
1114  }
1115
1116  .autotest-right {
1117    position: relative;
1118    overflow: hidden;
1119    background: #E8EDE9;
1120  }
1121
1122  .autotest-image-wrap {
1123    position: absolute;
1124    inset: 0;
1125    display: flex;
1126    align-items: center;
1127    justify-content: center;
1128  }
1129
1130  .autotest-image-wrap img {
1131    width: 100%;
1132    height: 100%;
1133    object-fit: cover;
1134    object-position: center top;
1135    filter: grayscale(15%) contrast(1.05);
1136    mix-blend-mode: multiply;
1137  }
1138
1139  .autotest-overlay-badge {
1140    position: absolute;
1141    bottom: 48px;
1142    left: 48px;
1143    background: rgba(250,247,242,0.95);
1144    backdrop-filter: blur(8px);
1145    padding: 24px 28px;
1146    border-left: 3px solid var(--sage);
1147    max-width: 260px;
1148  }
1149
1150  .autotest-overlay-badge p {
1151    font-family: 'Cormorant Garamond', serif;
1152    font-style: italic;
1153    font-size: 15px;
1154    line-height: 1.6;
1155    color: var(--charcoal);
1156    margin: 0;
1157  }
1158
1159  .autotest-footer-note {
1160    padding: 32px 80px;
1161    border-top: 1px solid var(--border);
1162    display: flex;
1163    align-items: center;
1164    gap: 16px;
1165    background: white;
1166  }
1167
1168  .autotest-footer-note svg {
1169    flex-shrink: 0;
1170    color: var(--sage);
1171  }
1172
1173  .autotest-footer-note p {
1174    font-size: 13px;
1175    line-height: 1.65;
1176    color: var(--warm-gray);
1177    margin: 0;
1178    font-weight: 300;
1179  }
1180
1181  .autotest-footer-note strong {
1182    color: var(--charcoal);
1183    font-weight: 500;
1184  }
1185
1186  @keyframes fadeSlideUp {
1187    from { opacity: 0; transform: translateY(24px); }
1188    to { opacity: 1; transform: translateY(0); }
1189  }
1190
1191  .animate-1 { animation: fadeSlideUp 0.7s ease both 0.1s; }
1192  .animate-2 { animation: fadeSlideUp 0.7s ease both 0.25s; }
1193  .animate-3 { animation: fadeSlideUp 0.7s ease both 0.4s; }
1194  .animate-4 { animation: fadeSlideUp 0.7s ease both 0.55s; }
1195  .animate-5 { animation: fadeSlideUp 0.7s ease both 0.7s; }
1196  .animate-6 { animation: fadeSlideUp 0.7s ease both 0.85s; }
1197
1198  @media (max-width: 900px) {
1199    .autotest-hero { grid-template-columns: 1fr; }
1200    .autotest-left { padding: 60px 32px; }
1201    .autotest-left::after { display: none; }
1202    .autotest-right { min-height: 380px; }
1203    .autotest-footer-note { padding: 24px 32px; }
1204  }
1205`;function Hw(){const[a,l]=w.useState(!1);return w.useEffect(()=>{l(!0)},[]),n.jsxs("div",{className:"autotest-root",children:[n.jsx("style",{children:Uw}),n.jsxs("section",{className:"autotest-hero",children:[n.jsxs("div",{className:"autotest-left",children:[n.jsx("div",{className:`autotest-eyebrow ${a?"animate-1 font-avenir":""}`,children:"Endometriosi"}),n.jsxs("h1",{className:`autotest-title ${a?"animate-2 font-avenir":""}`,children:["Auto",n.jsx("em",{children:"test"})]}),n.jsx("p",{className:`autotest-description font-avenir ${a?"animate-3":""}`,children:"La consapevolezza è il primo passo per la guarigione. L'autotest endometriosi è utile per poter indirizzare la diagnosi dei tuoi sintomi. Tramite questo test potrai decidere se farti controllare da uno specialista."}),n.jsxs("div",{className:`autotest-meta ${a?"animate-4":""}`,children:[n.jsxs("div",{className:"autotest-meta-item",children:[n.jsx("span",{className:"autotest-meta-label font-avenir",children:"Durata"}),n.jsx("span",{className:"autotest-meta-value font-avenir",children:"1 min"})]}),n.jsxs("div",{className:"autotest-meta-item",children:[n.jsx("span",{className:"autotest-meta-label font-avenir",children:"Domande"}),n.jsx("span",{className:"autotest-meta-value font-avenir",children:"12"})]})]}),n.jsx("a",{href:"https://form.typeform.com/to/AvkXF7jo?typeform-source=www.endometriosi.it",target:"__blank",children:n.jsxs("button",{className:`autotest-btn ${a?"animate-5":""}`,children:[n.jsx("span",{children:"Inizia l'autotest"}),n.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:n.jsx("path",{d:"M3 8h10M9 4l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]}),n.jsxs("div",{className:"autotest-right",children:[n.jsx("div",{className:"autotest-image-wrap",children:n.jsx("img",{src:"https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=800&q=80",alt:"Medico specialista"})}),n.jsx("div",{className:"autotest-overlay-badge",children:n.jsx("p",{className:"font-avenir",children:'"La diagnosi precoce può fare la differenza nel percorso di cura."'})})]})]}),n.jsxs("footer",{className:"autotest-footer-note",children:[n.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[n.jsx("circle",{cx:"10",cy:"10",r:"9",stroke:"currentColor",strokeWidth:"1.5"}),n.jsx("path",{d:"M10 9v5M10 6.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),n.jsxs("p",{className:"font-avenir",children:[n.jsx("strong",{children:"Nota importante:"})," Questo autotest si propone di fare aumentare la tua attenzione verso i possibili sintomi di endometriosi."," ",n.jsx("strong",{children:"Non si sostituisce in alcun modo ai controlli ed alle indicazioni mediche."})]})]})]})}const qw=()=>{const[a,l]=w.useState(0),[o,r]=w.useState(null);w.useEffect(()=>{const p=()=>{const g=document.getElementById("blog-section");if(!g)return;const x=g.getBoundingClientRect(),v=g.offsetHeight,b=window.innerHeight,j=-x.top,E=v-b,k=Math.min(Math.max(j/E,0),1);l(k)};return window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)},[]),w.useEffect(()=>{const p=g=>{g.key==="Escape"&&r(null)};return o&&(document.addEventListener("keydown",p),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",p),document.body.style.overflow="unset"}},[o]);const d=[{id:1,date:"APRIL 20, 2025",title:"Progetto GENOMA",image:"/img/progettogenoma.png",description:"studio quinquennale sulla genetica dell'endometriosi... ",fullContent:`studio quinquennale sulla genetica dell'endometriosi. Analizziamo polimorfismi in geni chiave del metabolismo degli estrogeni, per identificare predisposizioni ereditarie. Obiettivo: individuare ragazze "a rischio" prima che la malattia si manifesti e aprire la strada a terapie mirate su base genetica.`},{id:2,date:"APRIL 26, 2025",title:"Progetto DIAGNOSI PRECOCE (MRI e TEST)",image:"/img/progettodiagnosi.jpg",description:" sviluppo di strumenti diagno
1205stici non invasivi...",fullContent:` sviluppo di strumenti diagnostici non invasivi. In collaborazione con altri enti, abbiamo brevettato un mezzo di contrasto specifico (Gd-AMH) che, iniettato, si lega solo ai focolai endometriosici rendendoli visibili in risonanza magnetica. Stiamo raccogliendo fondi per validarne l'efficacia clinica, così da evitare laparoscopie diagnostiche inutili. Parallelamente, abbiamo sviluppato un test su saliva basato su proteine "spia" dell'endometriosi: puntiamo a ridurre drasticamente il ritardo diagnostico medio di 9 anni.`},{id:3,date:"APRIL 15, 2025",title:"Progetto CLINICO (Database Endometriosi)",image:"/img/progettoclinico.jpg",description:"dal 2010 raccogliamo in un database dedicato parametri clinici di migliaia di pazienti ...",fullContent:" dal 2010 raccogliamo in un database dedicato parametri clinici di migliaia di pazienti (già 320.000+ dati registrati). Vogliamo raggiungere 1 milione di dati per definire con precisione i fenotipi della malattia, migliorare le classificazioni esistenti e prevedere la risposta alle varie terapie. Con questo studio anatomo-clinico, miriamo a personalizzare sempre più le cure: ad esempio, capire quali pazienti beneficiano di un approccio chirurgico vs. farmacologico."},{id:4,date:"APRIL 10, 2025",title:"Progetto NUTRIZIONE",image:"/img/progettonutrizione.jpg",description:"primo programma scientifico di alimentazione per l'endometriosi...",fullContent:"primo programma scientifico di alimentazione per l'endometriosi. In linea con la nostra dieta anti-infiammatoria già elaborata, stiamo conducendo studi per verificare se uno stile alimentare mirato possa abbattere i sintomi al punto da ridurre la necessità di farmaci ormonali e analgesici. È la prima volta che l'alimentazione viene studiata come cura complementare dell'endometriosi e i risultati preliminari sono promettenti."}],f=p=>{r(p)},m=()=>{r(null)};return n.jsxs(n.Fragment,{children:[n.jsx("style",{children:`
1206        @keyframes fadeInUp {
1207          from {
1208            opacity: 0;
1209            transform: translateY(30px);
1210          }
1211          to {
1212            opacity: 1;
1213            transform: translateY(0);
1214          }
1215        }
1216        
1217        @keyframes modalFadeIn {
1218          from {
1219            opacity: 0;
1220          }
1221          to {
1222            opacity: 1;
1223          }
1224        }
1225        
1226        @keyframes modalSlideIn {
1227          from {
1228            transform: translateY(50px);
1229            opacity: 0;
1230          }
1231          to {
1232            transform: translateY(0);
1233            opacity: 1;
1234          }
1235        }
1236        
1237        .blog-card-animate-0 {
1238          animation: fadeInUp 0.6s ease-out 0s backwards;
1239        }
1240        .blog-card-animate-1 {
1241          animation: fadeInUp 0.6s ease-out 0.1s backwards;
1242        }
1243        .blog-card-animate-2 {
1244          animation: fadeInUp 0.6s ease-out 0.2s backwards;
1245        }
1246        .blog-card-animate-3 {
1247          animation: fadeInUp 0.6s ease-out 0.3s backwards;
1248        }
1249        
1250        .modal-backdrop {
1251          animation: modalFadeIn 0.3s ease-out;
1252        }
1253        
1254        .modal-content {
1255          animation: modalSlideIn 0.3s ease-out;
1256        }
1257
1258        /* Remove any default margins/padding */
1259        #blog-section {
1260          margin: 0 !important;
1261          border: none !important;
1262        }
1263      `}),n.jsx("section",{id:"blog-section",className:"relative bg-[#fff5eb] py-16 md:py-24",style:{margin:0,border:"none"},children:n.jsx("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:n.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16",children:[n.jsxs("div",{className:"lg:sticky lg:top-24 lg:self-start",children:[n.jsxs("div",{className:"mb-8",children:[n.jsx("p",{className:"text-md md:text-l lg:text-xl font-avenir mt-4 mb-6 leading-tight",children:"La Fondazione è riconosciuta come Ente di Ricerca ed è iscritta all'Anagrafe MIUR, sinonimo di affidabilità scientifica. Siamo costantemente impegnati a colmare il divario di risorse: oggi i fondi destinati alla ricerca sull'endometriosi nel mondo sono circa 200 volte inferiori rispetto ad altre malattie croniche come l'Alzheimer. È una disparità che intendiamo ridurre con il vostro aiuto, perché investire nella salute delle donne conviene a tutta la società (fino a 1 trilione di dollari di beneficio economico globale secondo il WEF)."}),n.jsxs("button",{className:"bg-[#a96b6c] text-white font-avenir font-semibold px-8 py-4 rounded-full hover:bg-gray-800 transition-colors inline-flex items-center gap-2 group",children:["I brevetti della Fondazione",n.jsx("svg",{className:"w-5 h-5 transition-transform group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]}),n.jsx("div",{className:"hidden lg:block mt-12",children:n.jsx("div",{className:"w-11 h-1 bg-gray-200 rounded-full overflow-hidden",children:n.jsx("div",{className:"h-full bg-[#a96b6c] transition-all duration-300",style:{width:`${a*100}%`}})})})]}),n.jsx("div",{className:"space-y-8",children:d.map((p,g)=>n.jsxs("div",{className:`blog-card-animate-${g} group cursor-pointer bg-white rounded-lg overflow-hidden shadow-md hover:shadow-xl transition-all duration-300`,children:[n.jsxs("div",{className:"relative overflow-hidden aspect-video",children:[n.jsx("img",{src:p.image,alt:p.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}),n.jsxs("div",{className:"p-6 md:p-8",children:[n.jsx("span",{className:"text-sm text-gray-500 font-medium tracking-wide",children:p.description}),n.jsx("h3",{className:"text-xl md:text-2xl font-bold mt-3 mb-4 leading-tight group-hover:text-[#f3948f] transition-colors",children:p.title}),n.jsxs("button",{onClick:()=>f(p),className:"flex items-center text-[#a96b6c] font-semibold group-hover:gap-2 transition-all",children:["Read More",n.jsx("svg",{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})]})]},p.id))})]})})}),o&&n.jsx("div",{className:"modal-backdrop fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:m,children:n.jsxs("div",{className:"modal-content bg-[#fff5eb] rounded-2xl max-w-4xl w-full max-h-[90vh] overflow-hidden shadow-2xl",onClick:p=>p.stopPropagation(),children:[n.jsxs("div",{className:"relative h-64 md:h-80 overflow-hidden",children:[n.jsx("img",{src:o.image,alt:o.title,className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent"}),n.jsx("button",{onClick:m,className:"absolute top-4 right-4 bg-white/90 hover:bg-white text-gray-800 rounded-full p-2 transition-all hover:scale-110",children:n.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),n.jsx("div",{className:"absolute bottom-0 left-0 right-0 p-6 md:p-8",children:n.jsx("h2",{className:"text-2xl md:text-4xl font-bold text-white mt-2 leading-tight",children:o.title})})]}),n.jsx("div",{className:"p-6 md:p-8 overflow-y-auto max-h-[calc(90vh-20rem)]",children:n.jsx("p",{className:"text-gray-700 text-base md:text-lg leading-relaxed whitespace-pre-line",children:o.fullContent})})]})})]})};function Gw(){const a=[{id:1,title:"Endometriosis-Associated Periodontal Disease",description:"Studio che indaga la correlazione tra endometriosi e malattia parodontale - A Large Cohort Perspective Study",image:"https://images.unsplash.com/photo-1565043666747-69f6646db940?w=800&h=600&fit=crop"},{id:2,title:"The role of Adenogenesis Factors in the Pathogenesis of Endometriosis",description:"Ricerca sui fattori di crescita coinvolti nell'impianto dell'endometrio ectopico",image:"https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=800&h=600&fit=crop"},{id:3,title:"Differential Expression of Uterine Adenogenesis Factors",description:"Studio immunoistochimico sulle differenze tessutali tra endometrio sano e endometriosi",image:"https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=800&h=600&fit=crop"},{id:4,title:"Retrospective Analysis on Diagnostic Data in 4,401 patients",description:"Analisi retrospettiva su migliaia di casi di endometriosi, per individuare pattern comuni e migliorare la diagnosi",image:"https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=800&h=600&fit=crop"},{id:5,title:"The Presence of Endometriosis in the Human Fetus",description:"Primo studio a individuare tessuto endometriosico in feti femmine, a conferma dell'origine embrionale della malattia",image:"https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=800&h=600&fit=crop"}];return n.jsxs("div",{className:"bg-[#f3948f] min-h-screen",children:[n.jsxs("div",{className:"sticky top-0 z-10 pt-8 xs:pt-10 sm:pt-12 pb-6 xs:pb-7 sm:pb-8 px-4 xs:px-6 sm:px-8 bg-[#f3948f]",children:[n.jsx("p",{className:"text-[#fff8d8] font-avenir text-[9px] xs:text-[10px] sm:text-xs tracking-[0.2em] xs:tracking-[0.25em] sm:tracking-[0.3em] mb-4 xs:mb-5 sm:mb-6 text-center font-light uppercase",children:"Le Nostre Pubblicazioni"}),n.jsxs("h1",{className:"text-[#fff8d8] font-avenir text-3xl xs:text-4xl sm:text-5xl md:text-6xl lg:text-7xl xl:text-8xl font-light tracking-tight text-center leading-tight",children:["PUBBLICAZIONI",n.jsx("br",{}),"SCIENTIFICHE"]})]}),n.jsx("div",{className:"bg-[#f3948f] px-4 xs:px-5 sm:px-6 py-12 xs:py-16 sm:py-20 md:py-24",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-white font-avenir text-base xs:text-lg sm:text-xl md:text-2xl lg:text-3xl font-light max-w-4xl mx-auto text-center leading-relaxed",children:"I risultati della nostra ricerca sono pubblicati su prestigiose riviste internazionali. La Fondazione e i suoi membri (come il presidente Prof. Pietro G. Signorile) hanno all'attivo decine di articoli peer-reviewed."}),n.jsx("p",{className:"text-[#fff8d8] font-avenir text-sm xs:text-base sm:text-lg mt-6 xs:mt-7 sm:mt-8 text-center font-light tracking-wide",children:"Alcune pubblicazioni recenti:"})]})}),n.jsx("div",{className:"relative pb-16 xs:pb-18 sm:pb-20",children:a.map((l,o)=>n.jsx("div",{className:"sticky px-3 xs:px-4 sm:px-6 md:px-12 lg:px-20 pb-4 xs:pb-5 sm:pb-6",style:{to
1263p:`${80+o*30}px`},children:n.jsx("div",{className:"bg-zinc-950 rounded-2xl xs:rounded-3xl overflow-hidden shadow-[0_10px_40px_rgba(0,0,0,0.3)] xs:shadow-[0_15px_50px_rgba(0,0,0,0.35)] sm:shadow-[0_20px_60px_rgba(0,0,0,0.4)] transition-transform hover:scale-[1.01] duration-300",children:n.jsxs("div",{className:"relative h-[20rem] xs:h-[24rem] sm:h-[28rem] md:h-[32rem] lg:h-[36rem]",children:[n.jsx("img",{src:l.image,alt:l.title,className:"w-full h-full object-cover"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/50 to-transparent"}),n.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4 xs:p-6 sm:p-8 md:p-12",children:[n.jsx("h2",{className:"text-white font-avenir text-xl xs:text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-light mb-2 xs:mb-3 sm:mb-4 tracking-tight leading-tight",children:l.title}),n.jsx("p",{className:"text-gray-200 font-avenir text-xs xs:text-sm sm:text-base md:text-lg max-w-3xl font-light leading-relaxed",children:l.description})]})]})})},l.id))}),n.jsx("div",{className:"bg-[#f3948f] px-4 xs:px-5 sm:px-6 py-12 xs:py-16 sm:py-20 md:py-24",children:n.jsxs("div",{className:"max-w-5xl mx-auto",children:[n.jsx("h2",{className:"text-white/95 font-avenir text-base xs:text-lg sm:text-xl md:text-2xl lg:text-3xl font-light max-w-4xl mx-auto text-center leading-relaxed mb-6 xs:mb-7 sm:mb-8",children:"Sul sito è disponibile l'elenco completo dei nostri lavori, molti dei quali scaricabili integralmente."}),n.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl xs:rounded-2xl p-6 xs:p-7 sm:p-8 md:p-10 max-w-3xl mx-auto border border-white/20",children:[n.jsx("p",{className:"text-white/90 font-avenir text-sm xs:text-base md:text-lg text-center font-light leading-relaxed",children:"Scarica gli articoli in PDF o consulta la bibliografia per approfondire (sezione Pubblicazioni). Condividiamo con orgoglio la conoscenza prodotta, perché più si conosce l'endometriosi, prima si vince la battaglia."}),n.jsx("p",{className:"text-[#fff8d8] font-avenir text-[10px] xs:text-xs sm:text-sm mt-5 xs:mt-6 text-center tracking-wider xs:tracking-widest uppercase font-light",children:"Articoli informativi e news"})]})]})})]})}function Yw(){const a=[{id:1,title:"Endometriosi e papilloma virus",description:"Si approfondisce la possibile correlazione tra infezione da HPV e infiammazione endometriosica",category:"Ricerca",image:"https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800&h=600&fit=crop"},{id:2,title:"Ormoni ed Endometriosi",description:"Spiega il ruolo dell'estradiolo (estrogeno) nel 'nutrire' l'endometriosi e perché terapie ormonali possono alleviare i sintomi",category:"Terapie",image:"https://images.unsplash.com/photo-1579154204601-01588f351e67?w=800&h=600&fit=crop"},{id:3,title:"Endometriosi ed ovulazione",description:"Analizza come la presenza di endometriosi può interferire con l'ovulazione e la fertilità",category:"Fertilità",image:"https://images.unsplash.com/photo-1559757175-5700dde675bc?w=800&h=600&fit=crop"}];return n.jsxs("div",{className:"min-h-screen bg-[#FFF5EB] py-8 xs:py-10 sm:py-16 md:py-20 px-3 xs:px-4 sm:px-6",children:[n.jsxs("div",{className:"max-w-7xl mx-auto",children:[n.jsx("div",{className:"flex flex-col md:flex-row md:justify-between md:items-start mb-8 xs:mb-10 sm:mb-14 md:mb-16",children:n.jsxs("div",{className:"mb-5 xs:mb-6 md:mb-0",children:[n.jsx("p",{className:"text-[#f3948f] font-avenir text-[10px] xs:text-xs sm:text-sm font-semibold tracking-wider xs:tracking-widest mb-2 xs:mb-3 sm:mb-4 uppercase",children:"Articoli Informativi e News"}),n.jsxs("h1",{className:"text-2xl xs:text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-avenir font-serif text-[#a96b6c] leading-tight",children:["Resta Aggiornato Con",n.jsx("br",{}),n.jsx("span",{className:"font-light font-avenir",children:"Le Nostre Ultime Notizie"})]})]})}),n.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 xs:gap-5 sm:gap-7 md:gap-8",children:a.map((l,o)=>n.jsxs("div",{className:"group bg-gradient-to-br from-[#fff8d8] via-[#fffcf0] to-white rounded-xl xs:rounded-2xl overflow-hidden shadow-md hover:shadow-2xl transition-all duration-500 transform hover:-translate-y-2",style:{animation:`fadeInUp 0.6s ease-out ${o*.15}s both`},children:[n.jsxs("div",{className:"relative h-40 xs:h-48 sm:h-56 md:h-64 overflow-hidden",children:[n.jsx("img",{src:l.image,alt:l.title,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"}),n.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"})]}),n.jsxs("div",{className:"p-4 xs:p-5 sm:p-6",children:[n.jsx("h3",{className:"text-lg xs:text-xl sm:text-2xl font-avenir text-[#a96b6c] mb-2 sm:mb-3 group-hover:text-[#f3948f] transition-colors duration-300 leading-snug",children:l.title}),n.jsx("p",{className:"text-xs xs:text-sm sm:text-base text-[#a96b6c]/70 leading-relaxed",children:l.description})]})]},l.id))}),n.jsx("div",{className:"md:hidden mt-8 xs:mt-10 sm:mt-12 text-center",children:n.jsxs("button",{className:"inline-flex font-avenir items-center gap-2 px-5 xs:px-6 sm:px-8 py-2.5 xs:py-3 sm:py-4 bg-[#a96b6c] text-white rounded-full font-semibold hover:bg-[#f3948f] transition-all duration-300 shadow-lg text-xs xs:text-sm sm:text-base",children:["Leggi Tutti Gli Articoli",n.jsx("svg",{className:"w-3.5 xs:w-4 h-3.5 xs:h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:n.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})}),n.jsx("div",{className:"mt-12 xs:mt-14 sm:mt-18 md:mt-20 bg-[#f3948f]  rounded-xl xs:rounded-2xl sm:rounded-3xl p-6 xs:p-8 sm:p-10 md:p-12 text-center shadow-2xl",children:n.jsxs("div",{className:"max-w-3xl mx-auto",children:[n.jsx("h3",{className:"text-xl xs:text-2xl sm:text-3xl md:text-4xl font-avenir text-white mb-2 xs:mb-3 sm:mb-4 leading-tight",children:"Non perdere i nuovi articoli"}),n.jsx("p",{className:"text-white/90 text-sm xs:text-base sm:text-lg mb-5 xs:mb-6 sm:mb-8 font-avenir leading-relaxed",children:`Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle ultime scoperte e consigli pratici per "tenere testa" all'endometriosi`}),n.jsx("div",{className:"flex font-avenir flex-col sm:flex-row gap-3 xs:gap-4 justify-center items-center",children:n.jsx("button",{className:"w-full sm:w-auto px-5 xs:px-6 sm:px-8 py-2.5 xs:py-3 sm:py-4 bg-white text-[#f3948f] rounded-full font-bold hover:bg-[#fffcf0] transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1 text-xs xs:text-sm sm:text-base",children:"📧 Iscriviti alla Newsletter"})})]})})]}),n.jsx("style",{children:`
1264        @keyframes fadeInUp {
1265          from {
1266            opacity: 0;
1267            transform: translateY(30px);
1268          }
1269          to {
1270            opacity: 1;
1271            transform: translateY(0);
1272          }
1273        }
1274
1275        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;700&display=swap');
1276
1277        .font-serif {
1278          font-family: 'Playfair Display', serif;
1279        }
1280
1281        /* Custom xs breakpoint for screens smaller than 375px */
1282        @media (min-width: 375px) {
1283          .xs:text-xs { font-size: 0.75rem; }
1284          .xs:text-sm { font-size: 0.875rem; }
1285          .xs:text-base { font-size: 1rem; }
1286          .xs:text-lg { font-size: 1.125rem; }
1287          .xs:text-xl { font-size: 1.25rem; }
1288          .xs:text-2xl { font-size: 1.5rem; }
1289          .xs:text-3xl { font-size: 1.875rem; }
1290          .xs:px-4 { padding-left: 1rem; padding-right: 1rem; }
1291          .xs:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
1292          .xs:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
1293          .xs:px-8 { padding-left: 2rem; padding-right: 2rem; }
1294          .xs:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
1295          .xs:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
1296          .xs:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
1297          .xs:p-5 { padding: 1.25rem; }
1298          .xs:p-8 { padding: 2rem; }
1299          .xs:mb-3 { margin-bottom: 0.75rem; }
1300          .xs:mb-4 { margin-bottom: 1rem; }
1301          .xs:mb-6 { margin-bottom: 1.5rem; }
1302          .xs:mb-10 { margin-bottom: 2.5rem; }
1303          .xs:mb-14 { margin-bottom: 3.5rem; }
1304          .xs:mt-10 { margin-top: 2.5rem; }
1305          .xs:mt-14 { margin-top: 3.5rem; }
1306          .xs:gap-4 { gap: 1rem; }
1307          .xs:gap-5 { gap: 1.25rem; }
1308          .xs:h-48 { height: 12rem; }
1309          .xs:rounded-2xl { border-radius: 1rem; }
1310          .xs:w-4 { width: 1rem; }
1311          .xs:h-4 { height: 1rem; }
1312          .xs:tracking-widest { letter-spacing: 0.1em; }
1313        }
1314      `})]})}function Fw(){const a=Wl(),l=r=>{window.scrollTo({top:0,behavior:"smooth"}),a(r)},o=[{label:"Bilancio 2024",description:"Consulta il bilancio annuale della fondazione",icon:xj,to:"https://www.endometriosi.it/wp-content/uploads/2025/11/A-STATO-PATRIM.pdf"},{label:"Rendiconto di Spesa",description:"Visualizza il rendiconto dettagliato delle spese",icon:nx,to:"https://www.endometriosi.it/wp-content/uploads/2025/03/2023-COGE.pdf"}];return n.jsx("section",{className:"bg-gradient-to-b from-white to-yellow-50/30 py-20 px-6",children:n.jsxs("div",{className:"max-w-3xl mx-auto",children:[n.jsxs("div",{className:"text-center mb-14",children:[n.jsx("p",{className:"text-xs uppercase tracking-[0.3em] text-green-500 font-medium mb-3",children:"Fondazione Italiana Endometriosi"}),n.jsx("h2",{className:"text-3xl font-light text-gray-700 tracking-wide",children:"Trasparenza"}),n.jsx("div",{className:"mt-4 w-10 h-px bg-green-300 mx-auto"})]}),n.jsx("div",{className:"flex flex-col sm:flex-row gap-6 justify-center",children:o.map(r=>{const d=r.icon;return n.jsxs("div",{onClick:()=>l(r.to),className:"cursor-pointer group flex-1 max-w-xs mx-auto 
1314sm:mx-0 border border-green-100 rounded-2xl px-8 py-10 text-center hover:border-green-300 hover:shadow-lg hover:shadow-green-50 transition-all duration-300 bg-white/60 backdrop-blur-sm",children:[n.jsx("div",{className:"w-12 h-12 rounded-full bg-green-50 flex items-center justify-center mx-auto mb-5 group-hover:bg-green-100 transition-colors",children:n.jsx(d,{className:"w-5 h-5 text-green-400"})}),n.jsx("p",{className:"text-green-600 font-medium tracking-wide text-sm uppercase mb-2",children:r.label}),n.jsx("p",{className:"text-gray-400 text-xs leading-relaxed",children:r.description})]},r.to)})})]})})}const Ol=[{title:"Progetto Genoma",subtitle:"Progetto di studio di coorti di geni coinvolti nell'endometriosi, che dovrebbero portare allo sviluppo di una terapia specifica per la malattia.",year:"2022",image:"/img/progetto1.jpg"},{title:"Progetto RMI",subtitle:`La Fondazione Italiana Endometriosi ha collaborato allo sviluppo del brevetto "LABELED LIGANDS OF ANTI-MULLERIAN HORMONE FOR DIAGNOSIS OF ENDOMETRIOSIS " , costituito dalla somministrazione di un mezzo di contrasto specifico che si deposita nelle cellule dell'endometriosi, da utilizzare per individuare con precisione, attraverso la risonanza magnetica, i focolai di malattia. Donando aiuti la raccolta dei fondi necessari a sviluppare il brevetto (studio su vaste coorti di pazienti e procedure per la validazione del mezzo di contrasto) e rendere possibile una diagnosi precisa, utilissima in fase pre e post intervento, eliminando la Laparoscopia come mezzo diagnostico.`,year:"2023",image:"/img/progetto2.webp"},{title:"Progetto test",subtitle:"La Fondazione Italiana Endometriosi ha collaborato allo sviluppo di un brevetto per il dosaggi
1314o quantitativo di alcune proteine specifiche nella saliva, che variano nei pazienti affetti dall'endometriosi, al fine di poter facilmente eseguire la diagnosi di malattia nelle donne attraverso un test salivare. Donando aiuti alla raccolta dei fondi per sviluppare il brevetto (studio su vaste coorti di pazienti e procedure per la validazione del test) e ridurre drasticamente il ritardo diagnostico medio di ormai 9 anni.",year:"2021",image:"/img/progetto3.webp"},{title:"Progetto clinico",subtitle:"Scopo del progetto è definire il quadro anatomo-clinico di questa patologia nella maniera più dettagliata possibile. Dal 2010 la Fondazione raccoglie con costanza parametri sulle donne affette, inserendole in un database contenente ormai 320.000 parametri, aiutando la ricerca a individuare le migliori strade terapeutiche. Puntiamo a raggiungere il milione di parametri.",year:"2021",image:"/img/progetto7.jpg"},{title:"Progetto nitrizionale",subtitle:`Scopo del progetto è quello di approfondire i corretti canoni della alimentazione e nutrizione per le donne affette, con un vero programma di nutrizione, al fine di poter fornire su base scientifica un percorso di nutrizione appropriata ed a tutela della salute e della malattia di cui soffrono. E' stato già portato a termine un progetto editoriale che ha portato alla pubblicazione nel 2021, con la casa Editrice "GIUNTI EDITORE", di un libro dal titolo "La Dieta Antiendometriosi`,year:"2021",image:"/img/progetto8.jpg"},{title:"rogetto Divulgazione e Comunicazione ",subtitle:'Ha lo scopo di diffondere la conoscenza della malattia in modo capillare sia tra la popolazione in generale che tra le donne affette ed è anche rivolto agli specialisti del settore. Tali azioni hanno il compito di informare e formare sulla malattia in maniera di aumentare la consapevolezza e lo scambio di informazioni il " più corrette possibili" determinando un serrato ed informato confronto tra i pazienti affetti e gli operatori del settore, tra pazienti e pazienti e tra operatori ed operatori.',year:"2021",image:"/img/progetto9.webp"}];function Pw(){const[a,l]=w.useState(0),o=()=>l(d=>(d+1)%Ol.length),r=()=>l(d=>(d-1+Ol.length)%Ol.length);return w.useEffect(()=>{const d=setInterval(o,9e3);return()=>clearInterval(d)},[]),n.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-[#f3948f] via-pink to-[#fff8d8] text-white flex flex-col overflow-hidden",children:[n.jsxs("header",{className:"flex flex-col items-center justify-center py-12 md:py-16 px-6 text-center",children:[n.jsx("h1",{className:"text-4xl text-[#fff8d8] sm:text-5xl md:text-6xl lg:text-7xl font-avenir mb-4 leading-tight",children:"Progetti di Ricerca e Innovazione"}),n.jsx("p",{className:"text-base sm:text-lg md:text-xl text-[#a96b6c] mb-30 max-w-2xl",children:"Avanzare la salute femminile attraverso scienza, tecnologia e ricerca clinica."})]}),n.jsxs("main",{className:"relative w-full flex flex-col items-center justify-center px-2 sm:px-4 md:px-6 min-h-[60vh] md:min-h-[70vh]",children:[Ol.map((d,f)=>n.jsx("div",{className:`absolute inset-0 transition-opacity duration-700 ${f===a?"opacity-100 z-10 pointer-events-auto":"opacity-0 z-0 pointer-events-none"} flex items-center justify-center`,children:n.jsxs("div",{className:`
1315    flex flex-col md:flex-row 
1316    bg-[#a96b6c] 
1317    rounded-2xl md:rounded-3xl 
1318    shadow-2xl 
1319    w-full 
1320    max-w-6xl
1321    
1322    /* FIXED MOBILE SIZE */
1323    h-[520px] sm:h-[560px] md:h-auto
1324    p-5 sm:p-6 md:p-10
1325  `,children:[n.jsx("div",{className:"w-full md:w-1/2 h-[200px] sm:h-[240px] md:h-[300px] flex-shrink-0",children:n.jsx("img",{src:d.image,alt:d.title,className:"w-full h-full object-cover rounded-xl shadow-lg"})}),n.jsxs("div",{className:`
1326      flex flex-col 
1327      md:w-1/2 
1328      mt-4 md:mt-0 md:ml-8
1329      overflow-hidden
1330    `,children:[n.jsx("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-bold mb-3",children:d.title}),n.jsx("div",{className:`
1331        text-sm sm:text-base md:text-lg
1332        overflow-y-auto
1333        pr-2
1334      `,children:d.subtitle})]})]})},f)),n.jsx("button",{onClick:r,className:"absolute left-2 sm:left-4 top-1/2 -translate-y-1/2 bg-white/90 p-2 sm:p-3 md:p-4 roun
1334ded-full shadow-lg hover:scale-110 transition-transform z-20",children:n.jsx(tx,{className:"w-5 h-5 sm:w-6 sm:h-6 text-black"})}),n.jsx("button",{onClick:o,className:"absolute right-2 sm:right-4 top-1/2 -translate-y-1/2 bg-white/90 p-2 sm:p-3 md:p-4 rounded-full shadow-lg hover:scale-110 transition-transform z-20",children:n.jsx(ix,{className:"w-5 h-5 sm:w-6 sm:h-6 text-black"})}),n.jsx("div",{className:"absolute bottom-6 sm:bottom-8 left-1/2 -translate-x-1/2 flex gap-2 sm:gap-3 z-20",children:Ol.map((d,f)=>n.jsx("button",{onClick:()=>l(f),className:`h-2 sm:h-3 rounded-full transition-all duration-300 ${f===a?"bg-white w-8 sm:w-10 shadow-lg":"bg-white/50 w-2 sm:w-3 hover:bg-white/75"}`},f))})]})]})}function Xw(){return n.jsxs(X2,{children:["  ",n.jsxs("div",{className:"flex flex-col min-h-screen",children:[n.jsx(Jj,{}),n.jsx("main",{className:"flex-grow",children:n.jsxs(S2,{children:[n.jsx(Me,{path:"/",element:n.jsx(s5,{})}),n.jsx(Me,{path:"*",element:n.jsx(o5,{})}),n.jsx(Me,{path:"/cookies",element:n.jsx(r5,{})}),n.jsx(Me,{path:"/privacy",element:n.jsx(c5,{})}),n.jsx(Me,{path:"/contatti",element:n.jsx(f5,{})}),n.jsx(Me,{path:"/endometriosi",element:n.jsx(uw,{})}),n.jsx(Me,{path:"/endometriosi/diagnosi",element:n.jsx(Fv,{})}),n.jsx(Me,{path:"/endometriosi/sintomi",element:n.jsx(Pv,{})}),n.jsx(Me,{path:"/partnership",element:n.jsx(_w,{})}),n.jsx(Me,{path:"/Blogs",element:n.jsx(iw,{})}),n.jsx(Me,{path:"/endometriosi/cure",element:n.jsx(Xv,{})}),n.jsx(Me,{path:"/articoli",element:n.jsx(vw,{})}),n.jsx(Me,{path:"/centroItaliano",element:n.jsx(yw,{})}),n.jsx(Me,{path:"/centroFecondazione",element:n.jsx(bw,{})}),n.jsx(Me,{path:"/pof/PGP",element:n.jsx(jw,{})}),n.jsx(Me,{path:"/tutellaMalpractice",element:n.jsx(Sw,{})}),n.jsx(Me,{path:"/Alimentazione",element:n.jsx(Ew,{})}),n.jsx(Me,{path:"/Suporto",element:n.jsx(Rw,{})}),n.jsx(Me,{path:"/libri",element:n.jsx(kw,{})}),n.jsx(Me,{path:"/articoli/scorpete",element:n.jsx(Vw,{})}),n.jsx(Me,{path:"/endometriosi/autotest",element:n.jsx(Hw,{})}),n.jsx(Me,{path:"/articoli/brevetti",element:n.jsx(qw,{})}),n.jsx(Me,{path:"/articoli/pubblicazioni",element:n.jsx(Gw,{})}),n.jsx(Me,{path:"/articoli/informativi",element:n.jsx(Yw,{})}),n.jsx(Me,{path:"/trasparenza",element:n.jsx(Fw,{})}),n.jsx(Me,{path:"/articoli/progetti",element:n.jsx(Pw,{})})]})}),n.jsx(t5,{})]})]})}N1.createRoot(document.getElementById("root")).render(n.jsx(w.StrictMode,{children:n.jsx(Xw,{})}));

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.