ape-accessibility 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,276 +1,211 @@
1
- "use strict";var $2=Object.create;var li=Object.defineProperty;var I2=Object.getOwnPropertyDescriptor;var P2=Object.getOwnPropertyNames;var tm=Object.getPrototypeOf,em=Object.prototype.hasOwnProperty;var ue=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),lm=(t,e)=>{for(var l in e)li(t,l,{get:e[l],enumerable:!0})},ts=(t,e,l,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of P2(e))!em.call(t,a)&&a!==l&&li(t,a,{get:()=>e[a],enumerable:!(n=I2(e,a))||n.enumerable});return t};var _=(t,e,l)=>(l=t!=null?$2(tm(t)):{},ts(e||!t||!t.__esModule?li(l,"default",{value:t,enumerable:!0}):l,t)),nm=t=>ts(li({},"__esModule",{value:!0}),t);var ss=ue(I=>{"use strict";function ec(t,e){var l=t.length;t.push(e);t:for(;0<l;){var n=l-1>>>1,a=t[n];if(0<ni(a,e))t[n]=e,t[l]=a,l=n;else break t}}function ce(t){return t.length===0?null:t[0]}function ii(t){if(t.length===0)return null;var e=t[0],l=t.pop();if(l!==e){t[0]=l;t:for(var n=0,a=t.length,i=a>>>1;n<i;){var u=2*(n+1)-1,c=t[u],f=u+1,r=t[f];if(0>ni(c,l))f<a&&0>ni(r,c)?(t[n]=r,t[f]=l,n=f):(t[n]=c,t[u]=l,n=u);else if(f<a&&0>ni(r,l))t[n]=r,t[f]=l,n=f;else break t}}return e}function ni(t,e){var l=t.sortIndex-e.sortIndex;return l!==0?l:t.id-e.id}I.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(es=performance,I.unstable_now=function(){return es.now()}):(Iu=Date,ls=Iu.now(),I.unstable_now=function(){return Iu.now()-ls});var es,Iu,ls,ye=[],Ze=[],am=1,wt=null,bt=3,lc=!1,$n=!1,In=!1,nc=!1,is=typeof setTimeout=="function"?setTimeout:null,us=typeof clearTimeout=="function"?clearTimeout:null,ns=typeof setImmediate<"u"?setImmediate:null;function ai(t){for(var e=ce(Ze);e!==null;){if(e.callback===null)ii(Ze);else if(e.startTime<=t)ii(Ze),e.sortIndex=e.expirationTime,ec(ye,e);else break;e=ce(Ze)}}function ac(t){if(In=!1,ai(t),!$n)if(ce(ye)!==null)$n=!0,Il||(Il=!0,$l());else{var e=ce(Ze);e!==null&&ic(ac,e.startTime-t)}}var Il=!1,Pn=-1,cs=5,fs=-1;function os(){return nc?!0:!(I.unstable_now()-fs<cs)}function Pu(){if(nc=!1,Il){var t=I.unstable_now();fs=t;var e=!0;try{t:{$n=!1,In&&(In=!1,us(Pn),Pn=-1),lc=!0;var l=bt;try{e:{for(ai(t),wt=ce(ye);wt!==null&&!(wt.expirationTime>t&&os());){var n=wt.callback;if(typeof n=="function"){wt.callback=null,bt=wt.priorityLevel;var a=n(wt.expirationTime<=t);if(t=I.unstable_now(),typeof a=="function"){wt.callback=a,ai(t),e=!0;break e}wt===ce(ye)&&ii(ye),ai(t)}else ii(ye);wt=ce(ye)}if(wt!==null)e=!0;else{var i=ce(Ze);i!==null&&ic(ac,i.startTime-t),e=!1}}break t}finally{wt=null,bt=l,lc=!1}e=void 0}}finally{e?$l():Il=!1}}}var $l;typeof ns=="function"?$l=function(){ns(Pu)}:typeof MessageChannel<"u"?(tc=new MessageChannel,as=tc.port2,tc.port1.onmessage=Pu,$l=function(){as.postMessage(null)}):$l=function(){is(Pu,0)};var tc,as;function ic(t,e){Pn=is(function(){t(I.unstable_now())},e)}I.unstable_IdlePriority=5;I.unstable_ImmediatePriority=1;I.unstable_LowPriority=4;I.unstable_NormalPriority=3;I.unstable_Profiling=null;I.unstable_UserBlockingPriority=2;I.unstable_cancelCallback=function(t){t.callback=null};I.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):cs=0<t?Math.floor(1e3/t):5};I.unstable_getCurrentPriorityLevel=function(){return bt};I.unstable_next=function(t){switch(bt){case 1:case 2:case 3:var e=3;break;default:e=bt}var l=bt;bt=e;try{return t()}finally{bt=l}};I.unstable_requestPaint=function(){nc=!0};I.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var l=bt;bt=t;try{return e()}finally{bt=l}};I.unstable_scheduleCallback=function(t,e,l){var n=I.unstable_now();switch(typeof l=="object"&&l!==null?(l=l.delay,l=typeof l=="number"&&0<l?n+l:n):l=n,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return a=l+a,t={id:am++,callback:e,priorityLevel:t,startTime:l,expirationTime:a,sortIndex:-1},l>n?(t.sortIndex=l,ec(Ze,t),ce(ye)===null&&t===ce(Ze)&&(In?(us(Pn),Pn=-1):In=!0,ic(ac,l-n))):(t.sortIndex=a,ec(ye,t),$n||lc||($n=!0,Il||(Il=!0,$l()))),t};I.unstable_shouldYield=os;I.unstable_wrapCallback=function(t){var e=bt;return function(){var l=bt;bt=e;try{return t.apply(this,arguments)}finally{bt=l}}}});var ds=ue((Gv,rs)=>{"use strict";rs.exports=ss()});var Cs=ue(T=>{"use strict";var fc=Symbol.for("react.transitional.element"),im=Symbol.for("react.portal"),um=Symbol.for("react.fragment"),cm=Symbol.for("react.strict_mode"),fm=Symbol.for("react.profiler"),om=Symbol.for("react.consumer"),sm=Symbol.for("react.context"),rm=Symbol.for("react.forward_ref"),dm=Symbol.for("react.suspense"),mm=Symbol.for("react.memo"),hs=Symbol.for("react.lazy"),gm=Symbol.for("react.activity"),ms=Symbol.iterator;function ym(t){return t===null||typeof t!="object"?null:(t=ms&&t[ms]||t["@@iterator"],typeof t=="function"?t:null)}var Ss={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ps=Object.assign,bs={};function tn(t,e,l){this.props=t,this.context=e,this.refs=bs,this.updater=l||Ss}tn.prototype.isReactComponent={};tn.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};tn.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function As(){}As.prototype=tn.prototype;function oc(t,e,l){this.props=t,this.context=e,this.refs=bs,this.updater=l||Ss}var sc=oc.prototype=new As;sc.constructor=oc;ps(sc,tn.prototype);sc.isPureReactComponent=!0;var gs=Array.isArray;function cc(){}var J={H:null,A:null,T:null,S:null},Es=Object.prototype.hasOwnProperty;function rc(t,e,l){var n=l.ref;return{$$typeof:fc,type:t,key:e,ref:n!==void 0?n:null,props:l}}function vm(t,e){return rc(t.type,e,t.props)}function dc(t){return typeof t=="object"&&t!==null&&t.$$typeof===fc}function hm(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return e[l]})}var ys=/\/+/g;function uc(t,e){return typeof t=="object"&&t!==null&&t.key!=null?hm(""+t.key):e.toString(36)}function Sm(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(cc,cc):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function Pl(t,e,l,n,a){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(i){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case fc:case im:u=!0;break;case hs:return u=t._init,Pl(u(t._payload),e,l,n,a)}}if(u)return a=a(t),u=n===""?"."+uc(t,0):n,gs(a)?(l="",u!=null&&(l=u.replace(ys,"$&/")+"/"),Pl(a,e,l,"",function(r){return r})):a!=null&&(dc(a)&&(a=vm(a,l+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(ys,"$&/")+"/")+u)),e.push(a)),1;u=0;var c=n===""?".":n+":";if(gs(t))for(var f=0;f<t.length;f++)n=t[f],i=c+uc(n,f),u+=Pl(n,e,l,i,a);else if(f=ym(t),typeof f=="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,i=c+uc(n,f++),u+=Pl(n,e,l,i,a);else if(i==="object"){if(typeof t.then=="function")return Pl(Sm(t),e,l,n,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function ui(t,e,l){if(t==null)return t;var n=[],a=0;return Pl(t,n,"","",function(i){return e.call(l,i,a++)}),n}function pm(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(l){(t._status===0||t._status===-1)&&(t._status=1,t._result=l)},function(l){(t._status===0||t._status===-1)&&(t._status=2,t._result=l)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var vs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},bm={map:ui,forEach:function(t,e,l){ui(t,function(){e.apply(this,arguments)},l)},count:function(t){var e=0;return ui(t,function(){e++}),e},toArray:function(t){return ui(t,function(e){return e})||[]},only:function(t){if(!dc(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};T.Activity=gm;T.Children=bm;T.Component=tn;T.Fragment=um;T.Profiler=fm;T.PureComponent=oc;T.StrictMode=cm;T.Suspense=dm;T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=J;T.__COMPILER_RUNTIME={__proto__:null,c:function(t){return J.H.useMemoCache(t)}};T.cache=function(t){return function(){return t.apply(null,arguments)}};T.cacheSignal=function(){return null};T.cloneElement=function(t,e,l){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var n=ps({},t.props),a=t.key;if(e!=null)for(i in e.key!==void 0&&(a=""+e.key),e)!Es.call(e,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&e.ref===void 0||(n[i]=e[i]);var i=arguments.length-2;if(i===1)n.children=l;else if(1<i){for(var u=Array(i),c=0;c<i;c++)u[c]=arguments[c+2];n.children=u}return rc(t.type,a,n)};T.createContext=function(t){return t={$$typeof:sm,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:om,_context:t},t};T.createElement=function(t,e,l){var n,a={},i=null;if(e!=null)for(n in e.key!==void 0&&(i=""+e.key),e)Es.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(a[n]=e[n]);var u=arguments.length-2;if(u===1)a.children=l;else if(1<u){for(var c=Array(u),f=0;f<u;f++)c[f]=arguments[f+2];a.children=c}if(t&&t.defaultProps)for(n in u=t.defaultProps,u)a[n]===void 0&&(a[n]=u[n]);return rc(t,i,a)};T.createRef=function(){return{current:null}};T.forwardRef=function(t){return{$$typeof:rm,render:t}};T.isValidElement=dc;T.lazy=function(t){return{$$typeof:hs,_payload:{_status:-1,_result:t},_init:pm}};T.memo=function(t,e){return{$$typeof:mm,type:t,compare:e===void 0?null:e}};T.startTransition=function(t){var e=J.T,l={};J.T=l;try{var n=t(),a=J.S;a!==null&&a(l,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(cc,vs)}catch(i){vs(i)}finally{e!==null&&l.types!==null&&(e.types=l.types),J.T=e}};T.unstable_useCacheRefresh=function(){return J.H.useCacheRefresh()};T.use=function(t){return J.H.use(t)};T.useActionState=function(t,e,l){return J.H.useActionState(t,e,l)};T.useCallback=function(t,e){return J.H.useCallback(t,e)};T.useContext=function(t){return J.H.useContext(t)};T.useDebugValue=function(){};T.useDeferredValue=function(t,e){return J.H.useDeferredValue(t,e)};T.useEffect=function(t,e){return J.H.useEffect(t,e)};T.useEffectEvent=function(t){return J.H.useEffectEvent(t)};T.useId=function(){return J.H.useId()};T.useImperativeHandle=function(t,e,l){return J.H.useImperativeHandle(t,e,l)};T.useInsertionEffect=function(t,e){return J.H.useInsertionEffect(t,e)};T.useLayoutEffect=function(t,e){return J.H.useLayoutEffect(t,e)};T.useMemo=function(t,e){return J.H.useMemo(t,e)};T.useOptimistic=function(t,e){return J.H.useOptimistic(t,e)};T.useReducer=function(t,e,l){return J.H.useReducer(t,e,l)};T.useRef=function(t){return J.H.useRef(t)};T.useState=function(t){return J.H.useState(t)};T.useSyncExternalStore=function(t,e,l){return J.H.useSyncExternalStore(t,e,l)};T.useTransition=function(){return J.H.useTransition()};T.version="19.2.4"});var k=ue((jv,Ms)=>{"use strict";Ms.exports=Cs()});var zs=ue(Et=>{"use strict";var Am=k();function Ts(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Qe(){}var At={d:{f:Qe,r:function(){throw Error(Ts(522))},D:Qe,C:Qe,L:Qe,m:Qe,X:Qe,S:Qe,M:Qe},p:0,findDOMNode:null},Em=Symbol.for("react.portal");function Cm(t,e,l){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Em,key:n==null?null:""+n,children:t,containerInfo:e,implementation:l}}var ta=Am.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ci(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=At;Et.createPortal=function(t,e){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Ts(299));return Cm(t,e,null,l)};Et.flushSync=function(t){var e=ta.T,l=At.p;try{if(ta.T=null,At.p=2,t)return t()}finally{ta.T=e,At.p=l,At.d.f()}};Et.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,At.d.C(t,e))};Et.prefetchDNS=function(t){typeof t=="string"&&At.d.D(t)};Et.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var l=e.as,n=ci(l,e.crossOrigin),a=typeof e.integrity=="string"?e.integrity:void 0,i=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;l==="style"?At.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:n,integrity:a,fetchPriority:i}):l==="script"&&At.d.X(t,{crossOrigin:n,integrity:a,fetchPriority:i,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Et.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var l=ci(e.as,e.crossOrigin);At.d.M(t,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&At.d.M(t)};Et.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var l=e.as,n=ci(l,e.crossOrigin);At.d.L(t,l,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Et.preloadModule=function(t,e){if(typeof t=="string")if(e){var l=ci(e.as,e.crossOrigin);At.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else At.d.m(t)};Et.requestFormReset=function(t){At.d.r(t)};Et.unstable_batchedUpdates=function(t,e){return t(e)};Et.useFormState=function(t,e,l){return ta.H.useFormState(t,e,l)};Et.useFormStatus=function(){return ta.H.useHostTransitionStatus()};Et.version="19.2.4"});var Os=ue((Qv,_s)=>{"use strict";function xs(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xs)}catch(t){console.error(t)}}xs(),_s.exports=zs()});var jd=ue(Du=>{"use strict";var ot=ds(),e1=k(),Mm=Os();function p(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l1(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Xa(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function n1(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function a1(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Ls(t){if(Xa(t)!==t)throw Error(p(188))}function Tm(t){var e=t.alternate;if(!e){if(e=Xa(t),e===null)throw Error(p(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var i=a.alternate;if(i===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===l)return Ls(a),t;if(i===n)return Ls(a),e;i=i.sibling}throw Error(p(188))}if(l.return!==n.return)l=a,n=i;else{for(var u=!1,c=a.child;c;){if(c===l){u=!0,l=a,n=i;break}if(c===n){u=!0,n=a,l=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===l){u=!0,l=i,n=a;break}if(c===n){u=!0,n=i,l=a;break}c=c.sibling}if(!u)throw Error(p(189))}}if(l.alternate!==n)throw Error(p(190))}if(l.tag!==3)throw Error(p(188));return l.stateNode.current===l?t:e}function i1(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=i1(t),e!==null)return e;t=t.sibling}return null}var $=Object.assign,zm=Symbol.for("react.element"),fi=Symbol.for("react.transitional.element"),fa=Symbol.for("react.portal"),cn=Symbol.for("react.fragment"),u1=Symbol.for("react.strict_mode"),Kc=Symbol.for("react.profiler"),c1=Symbol.for("react.consumer"),Ce=Symbol.for("react.context"),Zf=Symbol.for("react.forward_ref"),Jc=Symbol.for("react.suspense"),kc=Symbol.for("react.suspense_list"),Qf=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Wc=Symbol.for("react.activity"),xm=Symbol.for("react.memo_cache_sentinel"),Ns=Symbol.iterator;function ea(t){return t===null||typeof t!="object"?null:(t=Ns&&t[Ns]||t["@@iterator"],typeof t=="function"?t:null)}var _m=Symbol.for("react.client.reference");function Fc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===_m?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cn:return"Fragment";case Kc:return"Profiler";case u1:return"StrictMode";case Jc:return"Suspense";case kc:return"SuspenseList";case Wc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case fa:return"Portal";case Ce:return t.displayName||"Context";case c1:return(t._context.displayName||"Context")+".Consumer";case Zf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Qf:return e=t.displayName||null,e!==null?e:Fc(t.type)||"Memo";case we:e=t._payload,t=t._init;try{return Fc(t(e))}catch{}}return null}var oa=Array.isArray,M=e1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Mm.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xl={pending:!1,data:null,method:null,action:null},$c=[],fn=-1;function de(t){return{current:t}}function dt(t){0>fn||(t.current=$c[fn],$c[fn]=null,fn--)}function K(t,e){fn++,$c[fn]=t.current,t.current=e}var re=de(null),za=de(null),el=de(null),ji=de(null);function Zi(t,e){switch(K(el,e),K(za,t),K(re,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Yr(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Yr(e),t=xd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}dt(re),K(re,t)}function zn(){dt(re),dt(za),dt(el)}function Ic(t){t.memoizedState!==null&&K(ji,t);var e=re.current,l=xd(e,t.type);e!==l&&(K(za,t),K(re,l))}function Qi(t){za.current===t&&(dt(re),dt(za)),ji.current===t&&(dt(ji),qa._currentValue=xl)}var mc,Ds;function Cl(t){if(mc===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);mc=e&&e[1]||"",Ds=-1<l.stack.indexOf(`
2
- at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+mc+t+Ds}var gc=!1;function yc(t,e){if(!t||gc)return"";gc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(v){var g=v}Reflect.construct(t,[],h)}else{try{h.call()}catch(v){g=v}t.call(h.prototype)}}else{try{throw Error()}catch(v){g=v}(h=t())&&typeof h.catch=="function"&&h.catch(function(){})}}catch(v){if(v&&g&&typeof v.stack=="string")return[v.stack,g.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),u=i[0],c=i[1];if(u&&c){var f=u.split(`
4
- `),r=c.split(`
5
- `);for(a=n=0;n<f.length&&!f[n].includes("DetermineComponentFrameRoot");)n++;for(;a<r.length&&!r[a].includes("DetermineComponentFrameRoot");)a++;if(n===f.length||a===r.length)for(n=f.length-1,a=r.length-1;1<=n&&0<=a&&f[n]!==r[a];)a--;for(;1<=n&&0<=a;n--,a--)if(f[n]!==r[a]){if(n!==1||a!==1)do if(n--,a--,0>a||f[n]!==r[a]){var y=`
6
- `+f[n].replace(" at new "," at ");return t.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",t.displayName)),y}while(1<=n&&0<=a);break}}}finally{gc=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Cl(l):""}function Om(t,e){switch(t.tag){case 26:case 27:case 5:return Cl(t.type);case 16:return Cl("Lazy");case 13:return t.child!==e&&e!==null?Cl("Suspense Fallback"):Cl("Suspense");case 19:return Cl("SuspenseList");case 0:case 15:return yc(t.type,!1);case 11:return yc(t.type.render,!1);case 1:return yc(t.type,!0);case 31:return Cl("Activity");default:return""}}function Hs(t){try{var e="",l=null;do e+=Om(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
7
- Error generating stack: `+n.message+`
8
- `+n.stack}}var Pc=Object.prototype.hasOwnProperty,wf=ot.unstable_scheduleCallback,vc=ot.unstable_cancelCallback,Lm=ot.unstable_shouldYield,Nm=ot.unstable_requestPaint,Bt=ot.unstable_now,Dm=ot.unstable_getCurrentPriorityLevel,f1=ot.unstable_ImmediatePriority,o1=ot.unstable_UserBlockingPriority,wi=ot.unstable_NormalPriority,Hm=ot.unstable_LowPriority,s1=ot.unstable_IdlePriority,Um=ot.log,Rm=ot.unstable_setDisableYieldValue,ja=null,qt=null;function Fe(t){if(typeof Um=="function"&&Rm(t),qt&&typeof qt.setStrictMode=="function")try{qt.setStrictMode(ja,t)}catch{}}var Yt=Math.clz32?Math.clz32:Ym,Bm=Math.log,qm=Math.LN2;function Ym(t){return t>>>=0,t===0?32:31-(Bm(t)/qm|0)|0}var oi=256,si=262144,ri=4194304;function Ml(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function vu(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,i=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var c=n&134217727;return c!==0?(n=c&~i,n!==0?a=Ml(n):(u&=c,u!==0?a=Ml(u):l||(l=c&~t,l!==0&&(a=Ml(l))))):(c=n&~i,c!==0?a=Ml(c):u!==0?a=Ml(u):l||(l=n&~t,l!==0&&(a=Ml(l)))),a===0?0:e!==0&&e!==a&&(e&i)===0&&(i=a&-a,l=e&-e,i>=l||i===32&&(l&4194048)!==0)?e:a}function Za(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Gm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 r1(){var t=ri;return ri<<=1,(ri&62914560)===0&&(ri=4194304),t}function hc(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Qa(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Xm(t,e,l,n,a,i){var u=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var c=t.entanglements,f=t.expirationTimes,r=t.hiddenUpdates;for(l=u&~l;0<l;){var y=31-Yt(l),h=1<<y;c[y]=0,f[y]=-1;var g=r[y];if(g!==null)for(r[y]=null,y=0;y<g.length;y++){var v=g[y];v!==null&&(v.lane&=-536870913)}l&=~h}n!==0&&d1(t,n,0),i!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=i&~(u&~e))}function d1(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Yt(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function m1(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-Yt(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function g1(t,e){var l=e&-e;return l=(l&42)!==0?1:Vf(l),(l&(t.suspendedLanes|e))!==0?0:l}function Vf(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Kf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function y1(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:Yd(t.type))}function Us(t,e){var l=X.p;try{return X.p=t,e()}finally{X.p=l}}var gl=Math.random().toString(36).slice(2),yt="__reactFiber$"+gl,Ot="__reactProps$"+gl,qn="__reactContainer$"+gl,tf="__reactEvents$"+gl,jm="__reactListeners$"+gl,Zm="__reactHandles$"+gl,Rs="__reactResources$"+gl,wa="__reactMarker$"+gl;function Jf(t){delete t[yt],delete t[Ot],delete t[tf],delete t[jm],delete t[Zm]}function on(t){var e=t[yt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[qn]||l[yt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Qr(t);t!==null;){if(l=t[yt])return l;t=Qr(t)}return e}t=l,l=t.parentNode}return null}function Yn(t){if(t=t[yt]||t[qn]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function sa(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(p(33))}function pn(t){var e=t[Rs];return e||(e=t[Rs]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function rt(t){t[wa]=!0}var v1=new Set,h1={};function ql(t,e){xn(t,e),xn(t+"Capture",e)}function xn(t,e){for(h1[t]=e,t=0;t<e.length;t++)v1.add(e[t])}var Qm=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]*$"),Bs={},qs={};function wm(t){return Pc.call(qs,t)?!0:Pc.call(Bs,t)?!1:Qm.test(t)?qs[t]=!0:(Bs[t]=!0,!1)}function zi(t,e,l){if(wm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function di(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function ve(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function Kt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function S1(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Vm(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(u){l=""+u,i.call(this,u)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(u){l=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function ef(t){if(!t._valueTracker){var e=S1(t)?"checked":"value";t._valueTracker=Vm(t,e,""+t[e])}}function p1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=S1(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Vi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Km=/[\n"\\]/g;function Wt(t){return t.replace(Km,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function lf(t,e,l,n,a,i,u,c){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Kt(e)):t.value!==""+Kt(e)&&(t.value=""+Kt(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?nf(t,u,Kt(e)):l!=null?nf(t,u,Kt(l)):n!=null&&t.removeAttribute("value"),a==null&&i!=null&&(t.defaultChecked=!!i),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+Kt(c):t.removeAttribute("name")}function b1(t,e,l,n,a,i,u,c){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||e!=null)){ef(t);return}l=l!=null?""+Kt(l):"",e=e!=null?""+Kt(e):l,c||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=c?t.checked:!!n,t.defaultChecked=!!n,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),ef(t)}function nf(t,e,l){e==="number"&&Vi(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function bn(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+Kt(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function A1(t,e,l){if(e!=null&&(e=""+Kt(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Kt(l):""}function E1(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(p(92));if(oa(n)){if(1<n.length)throw Error(p(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=Kt(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),ef(t)}function _n(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Jm=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 Ys(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Jm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function C1(t,e,l){if(e!=null&&typeof e!="object")throw Error(p(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&Ys(t,a,n)}else for(var i in e)e.hasOwnProperty(i)&&Ys(t,i,e[i])}function kf(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var km=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-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"]]),Wm=/^[\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 xi(t){return Wm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Me(){}var af=null;function Wf(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var sn=null,An=null;function Gs(t){var e=Yn(t);if(e&&(t=e.stateNode)){var l=t[Ot]||null;t:switch(t=e.stateNode,e.type){case"input":if(lf(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Wt(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[Ot]||null;if(!a)throw Error(p(90));lf(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&p1(n)}break t;case"textarea":A1(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&bn(t,!!l.multiple,e,!1)}}}var Sc=!1;function M1(t,e,l){if(Sc)return t(e,l);Sc=!0;try{var n=t(e);return n}finally{if(Sc=!1,(sn!==null||An!==null)&&(_u(),sn&&(e=sn,t=An,An=sn=null,Gs(e),t)))for(e=0;e<t.length;e++)Gs(t[e])}}function xa(t,e){var l=t.stateNode;if(l===null)return null;var n=l[Ot]||null;if(n===null)return null;l=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(p(231,e,typeof l));return l}var Oe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uf=!1;if(Oe)try{en={},Object.defineProperty(en,"passive",{get:function(){uf=!0}}),window.addEventListener("test",en,en),window.removeEventListener("test",en,en)}catch{uf=!1}var en,$e=null,Ff=null,_i=null;function T1(){if(_i)return _i;var t,e=Ff,l=e.length,n,a="value"in $e?$e.value:$e.textContent,i=a.length;for(t=0;t<l&&e[t]===a[t];t++);var u=l-t;for(n=1;n<=u&&e[l-n]===a[i-n];n++);return _i=a.slice(t,1<n?1-n:void 0)}function Oi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function mi(){return!0}function Xs(){return!1}function Lt(t){function e(l,n,a,i,u){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(l=t[c],this[c]=l?l(i):i[c]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?mi:Xs,this.isPropagationStopped=Xs,this}return $(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=mi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=mi)},persist:function(){},isPersistent:mi}),e}var Yl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hu=Lt(Yl),Va=$({},Yl,{view:0,detail:0}),Fm=Lt(Va),pc,bc,la,Su=$({},Va,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$f,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==la&&(la&&t.type==="mousemove"?(pc=t.screenX-la.screenX,bc=t.screenY-la.screenY):bc=pc=0,la=t),pc)},movementY:function(t){return"movementY"in t?t.movementY:bc}}),js=Lt(Su),$m=$({},Su,{dataTransfer:0}),Im=Lt($m),Pm=$({},Va,{relatedTarget:0}),Ac=Lt(Pm),tg=$({},Yl,{animationName:0,elapsedTime:0,pseudoElement:0}),eg=Lt(tg),lg=$({},Yl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),ng=Lt(lg),ag=$({},Yl,{data:0}),Zs=Lt(ag),ig={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ug={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"},cg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fg(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=cg[t])?!!e[t]:!1}function $f(){return fg}var og=$({},Va,{key:function(t){if(t.key){var e=ig[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Oi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ug[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$f,charCode:function(t){return t.type==="keypress"?Oi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Oi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sg=Lt(og),rg=$({},Su,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qs=Lt(rg),dg=$({},Va,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$f}),mg=Lt(dg),gg=$({},Yl,{propertyName:0,elapsedTime:0,pseudoElement:0}),yg=Lt(gg),vg=$({},Su,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),hg=Lt(vg),Sg=$({},Yl,{newState:0,oldState:0}),pg=Lt(Sg),bg=[9,13,27,32],If=Oe&&"CompositionEvent"in window,ma=null;Oe&&"documentMode"in document&&(ma=document.documentMode);var Ag=Oe&&"TextEvent"in window&&!ma,z1=Oe&&(!If||ma&&8<ma&&11>=ma),ws=" ",Vs=!1;function x1(t,e){switch(t){case"keyup":return bg.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var rn=!1;function Eg(t,e){switch(t){case"compositionend":return _1(e);case"keypress":return e.which!==32?null:(Vs=!0,ws);case"textInput":return t=e.data,t===ws&&Vs?null:t;default:return null}}function Cg(t,e){if(rn)return t==="compositionend"||!If&&x1(t,e)?(t=T1(),_i=Ff=$e=null,rn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return z1&&e.locale!=="ko"?null:e.data;default:return null}}var Mg={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 Ks(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Mg[t.type]:e==="textarea"}function O1(t,e,l,n){sn?An?An.push(n):An=[n]:sn=n,e=ou(e,"onChange"),0<e.length&&(l=new hu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var ga=null,_a=null;function Tg(t){Md(t,0)}function pu(t){var e=sa(t);if(p1(e))return t}function Js(t,e){if(t==="change")return e}var L1=!1;Oe&&(Oe?(yi="oninput"in document,yi||(Ec=document.createElement("div"),Ec.setAttribute("oninput","return;"),yi=typeof Ec.oninput=="function"),gi=yi):gi=!1,L1=gi&&(!document.documentMode||9<document.documentMode));var gi,yi,Ec;function ks(){ga&&(ga.detachEvent("onpropertychange",N1),_a=ga=null)}function N1(t){if(t.propertyName==="value"&&pu(_a)){var e=[];O1(e,_a,t,Wf(t)),M1(Tg,e)}}function zg(t,e,l){t==="focusin"?(ks(),ga=e,_a=l,ga.attachEvent("onpropertychange",N1)):t==="focusout"&&ks()}function xg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return pu(_a)}function _g(t,e){if(t==="click")return pu(e)}function Og(t,e){if(t==="input"||t==="change")return pu(e)}function Lg(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Xt=typeof Object.is=="function"?Object.is:Lg;function Oa(t,e){if(Xt(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!Pc.call(e,a)||!Xt(t[a],e[a]))return!1}return!0}function Ws(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Fs(t,e){var l=Ws(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ws(l)}}function D1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?D1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function H1(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vi(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Vi(t.document)}return e}function Pf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ng=Oe&&"documentMode"in document&&11>=document.documentMode,dn=null,cf=null,ya=null,ff=!1;function $s(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ff||dn==null||dn!==Vi(n)||(n=dn,"selectionStart"in n&&Pf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ya&&Oa(ya,n)||(ya=n,n=ou(cf,"onSelect"),0<n.length&&(e=new hu("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=dn)))}function El(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var mn={animationend:El("Animation","AnimationEnd"),animationiteration:El("Animation","AnimationIteration"),animationstart:El("Animation","AnimationStart"),transitionrun:El("Transition","TransitionRun"),transitionstart:El("Transition","TransitionStart"),transitioncancel:El("Transition","TransitionCancel"),transitionend:El("Transition","TransitionEnd")},Cc={},U1={};Oe&&(U1=document.createElement("div").style,"AnimationEvent"in window||(delete mn.animationend.animation,delete mn.animationiteration.animation,delete mn.animationstart.animation),"TransitionEvent"in window||delete mn.transitionend.transition);function Gl(t){if(Cc[t])return Cc[t];if(!mn[t])return t;var e=mn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in U1)return Cc[t]=e[l];return t}var R1=Gl("animationend"),B1=Gl("animationiteration"),q1=Gl("animationstart"),Dg=Gl("transitionrun"),Hg=Gl("transitionstart"),Ug=Gl("transitioncancel"),Y1=Gl("transitionend"),G1=new Map,of="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(" ");of.push("scrollEnd");function ne(t,e){G1.set(t,e),ql(e,[t])}var Ki=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Vt=[],gn=0,to=0;function bu(){for(var t=gn,e=to=gn=0;e<t;){var l=Vt[e];Vt[e++]=null;var n=Vt[e];Vt[e++]=null;var a=Vt[e];Vt[e++]=null;var i=Vt[e];if(Vt[e++]=null,n!==null&&a!==null){var u=n.pending;u===null?a.next=a:(a.next=u.next,u.next=a),n.pending=a}i!==0&&X1(l,a,i)}}function Au(t,e,l,n){Vt[gn++]=t,Vt[gn++]=e,Vt[gn++]=l,Vt[gn++]=n,to|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function eo(t,e,l,n){return Au(t,e,l,n),Ji(t)}function Xl(t,e){return Au(t,null,null,e),Ji(t)}function X1(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,i=t.return;i!==null;)i.childLanes|=l,n=i.alternate,n!==null&&(n.childLanes|=l),i.tag===22&&(t=i.stateNode,t===null||t._visibility&1||(a=!0)),t=i,i=i.return;return t.tag===3?(i=t.stateNode,a&&e!==null&&(a=31-Yt(l),t=i.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),i):null}function Ji(t){if(50<Ma)throw Ma=0,Lf=null,Error(p(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var yn={};function Rg(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(t,e,l,n){return new Rg(t,e,l,n)}function lo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ze(t,e){var l=t.alternate;return l===null?(l=Ut(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function j1(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Li(t,e,l,n,a,i){var u=0;if(n=t,typeof t=="function")lo(t)&&(u=1);else if(typeof t=="string")u=Yy(t,l,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Wc:return t=Ut(31,l,e,a),t.elementType=Wc,t.lanes=i,t;case cn:return _l(l.children,a,i,e);case u1:u=8,a|=24;break;case Kc:return t=Ut(12,l,e,a|2),t.elementType=Kc,t.lanes=i,t;case Jc:return t=Ut(13,l,e,a),t.elementType=Jc,t.lanes=i,t;case kc:return t=Ut(19,l,e,a),t.elementType=kc,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ce:u=10;break t;case c1:u=9;break t;case Zf:u=11;break t;case Qf:u=14;break t;case we:u=16,n=null;break t}u=29,l=Error(p(130,t===null?"null":typeof t,"")),n=null}return e=Ut(u,l,e,a),e.elementType=t,e.type=n,e.lanes=i,e}function _l(t,e,l,n){return t=Ut(7,t,n,e),t.lanes=l,t}function Mc(t,e,l){return t=Ut(6,t,null,e),t.lanes=l,t}function Z1(t){var e=Ut(18,null,null,0);return e.stateNode=t,e}function Tc(t,e,l){return e=Ut(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Is=new WeakMap;function Ft(t,e){if(typeof t=="object"&&t!==null){var l=Is.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Hs(e)},Is.set(t,e),e)}return{value:t,source:e,stack:Hs(e)}}var vn=[],hn=0,ki=null,La=0,Jt=[],kt=0,sl=null,fe=1,oe="";function Ae(t,e){vn[hn++]=La,vn[hn++]=ki,ki=t,La=e}function Q1(t,e,l){Jt[kt++]=fe,Jt[kt++]=oe,Jt[kt++]=sl,sl=t;var n=fe;t=oe;var a=32-Yt(n)-1;n&=~(1<<a),l+=1;var i=32-Yt(e)+a;if(30<i){var u=a-a%5;i=(n&(1<<u)-1).toString(32),n>>=u,a-=u,fe=1<<32-Yt(e)+a|l<<a|n,oe=i+t}else fe=1<<i|l<<a|n,oe=t}function no(t){t.return!==null&&(Ae(t,1),Q1(t,1,0))}function ao(t){for(;t===ki;)ki=vn[--hn],vn[hn]=null,La=vn[--hn],vn[hn]=null;for(;t===sl;)sl=Jt[--kt],Jt[kt]=null,oe=Jt[--kt],Jt[kt]=null,fe=Jt[--kt],Jt[kt]=null}function w1(t,e){Jt[kt++]=fe,Jt[kt++]=oe,Jt[kt++]=sl,fe=e.id,oe=e.overflow,sl=t}var vt=null,F=null,B=!1,ll=null,$t=!1,sf=Error(p(519));function rl(t){var e=Error(p(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Na(Ft(e,t)),sf}function Ps(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[yt]=t,e[Ot]=n,l){case"dialog":N("cancel",e),N("close",e);break;case"iframe":case"object":case"embed":N("load",e);break;case"video":case"audio":for(l=0;l<Ra.length;l++)N(Ra[l],e);break;case"source":N("error",e);break;case"img":case"image":case"link":N("error",e),N("load",e);break;case"details":N("toggle",e);break;case"input":N("invalid",e),b1(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":N("invalid",e);break;case"textarea":N("invalid",e),E1(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||zd(e.textContent,l)?(n.popover!=null&&(N("beforetoggle",e),N("toggle",e)),n.onScroll!=null&&N("scroll",e),n.onScrollEnd!=null&&N("scrollend",e),n.onClick!=null&&(e.onclick=Me),e=!0):e=!1,e||rl(t,!0)}function tr(t){for(vt=t.return;vt;)switch(vt.tag){case 5:case 31:case 13:$t=!1;return;case 27:case 3:$t=!0;return;default:vt=vt.return}}function ln(t){if(t!==vt)return!1;if(!B)return tr(t),B=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Rf(t.type,t.memoizedProps)),l=!l),l&&F&&rl(t),tr(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));F=Zr(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));F=Zr(t)}else e===27?(e=F,yl(t.type)?(t=Gf,Gf=null,F=t):F=e):F=vt?Pt(t.stateNode.nextSibling):null;return!0}function Dl(){F=vt=null,B=!1}function zc(){var t=ll;return t!==null&&(xt===null?xt=t:xt.push.apply(xt,t),ll=null),t}function Na(t){ll===null?ll=[t]:ll.push(t)}var rf=de(null),jl=null,Te=null;function Ke(t,e,l){K(rf,e._currentValue),e._currentValue=l}function xe(t){t._currentValue=rf.current,dt(rf)}function df(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function mf(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var i=a.dependencies;if(i!==null){var u=a.child;i=i.firstContext;t:for(;i!==null;){var c=i;i=a;for(var f=0;f<e.length;f++)if(c.context===e[f]){i.lanes|=l,c=i.alternate,c!==null&&(c.lanes|=l),df(i.return,l,t),n||(u=null);break t}i=c.next}}else if(a.tag===18){if(u=a.return,u===null)throw Error(p(341));u.lanes|=l,i=u.alternate,i!==null&&(i.lanes|=l),df(u,l,t),u=null}else u=a.child;if(u!==null)u.return=a;else for(u=a;u!==null;){if(u===t){u=null;break}if(a=u.sibling,a!==null){a.return=u.return,u=a;break}u=u.return}a=u}}function Gn(t,e,l,n){t=null;for(var a=e,i=!1;a!==null;){if(!i){if((a.flags&524288)!==0)i=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var u=a.alternate;if(u===null)throw Error(p(387));if(u=u.memoizedProps,u!==null){var c=a.type;Xt(a.pendingProps.value,u.value)||(t!==null?t.push(c):t=[c])}}else if(a===ji.current){if(u=a.alternate,u===null)throw Error(p(387));u.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(qa):t=[qa])}a=a.return}t!==null&&mf(e,t,l,n),e.flags|=262144}function Wi(t){for(t=t.firstContext;t!==null;){if(!Xt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Hl(t){jl=t,Te=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ht(t){return V1(jl,t)}function vi(t,e){return jl===null&&Hl(t),V1(t,e)}function V1(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Te===null){if(t===null)throw Error(p(308));Te=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Te=Te.next=e;return l}var Bg=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},qg=ot.unstable_scheduleCallback,Yg=ot.unstable_NormalPriority,ut={$$typeof:Ce,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function io(){return{controller:new Bg,data:new Map,refCount:0}}function Ka(t){t.refCount--,t.refCount===0&&qg(Yg,function(){t.controller.abort()})}var va=null,gf=0,On=0,En=null;function Gg(t,e){if(va===null){var l=va=[];gf=0,On=No(),En={status:"pending",value:void 0,then:function(n){l.push(n)}}}return gf++,e.then(er,er),e}function er(){if(--gf===0&&va!==null){En!==null&&(En.status="fulfilled");var t=va;va=null,On=0,En=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Xg(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var lr=M.S;M.S=function(t,e){id=Bt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Gg(t,e),lr!==null&&lr(t,e)};var Ol=de(null);function uo(){var t=Ol.current;return t!==null?t:V.pooledCache}function Ni(t,e){e===null?K(Ol,Ol.current):K(Ol,e.pool)}function K1(){var t=uo();return t===null?null:{parent:ut._currentValue,pool:t}}var Xn=Error(p(460)),co=Error(p(474)),Eu=Error(p(542)),Fi={then:function(){}};function nr(t){return t=t.status,t==="fulfilled"||t==="rejected"}function J1(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Me,Me),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ir(t),t;default:if(typeof e.status=="string")e.then(Me,Me);else{if(t=V,t!==null&&100<t.shellSuspendCounter)throw Error(p(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ir(t),t}throw Ll=e,Xn}}function Tl(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Ll=l,Xn):l}}var Ll=null;function ar(){if(Ll===null)throw Error(p(459));var t=Ll;return Ll=null,t}function ir(t){if(t===Xn||t===Eu)throw Error(p(483))}var Cn=null,Da=0;function hi(t){var e=Da;return Da+=1,Cn===null&&(Cn=[]),J1(Cn,t,e)}function na(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Si(t,e){throw e.$$typeof===zm?Error(p(525)):(t=Object.prototype.toString.call(e),Error(p(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function k1(t){function e(s,o){if(t){var d=s.deletions;d===null?(s.deletions=[o],s.flags|=16):d.push(o)}}function l(s,o){if(!t)return null;for(;o!==null;)e(s,o),o=o.sibling;return null}function n(s){for(var o=new Map;s!==null;)s.key!==null?o.set(s.key,s):o.set(s.index,s),s=s.sibling;return o}function a(s,o){return s=ze(s,o),s.index=0,s.sibling=null,s}function i(s,o,d){return s.index=d,t?(d=s.alternate,d!==null?(d=d.index,d<o?(s.flags|=67108866,o):d):(s.flags|=67108866,o)):(s.flags|=1048576,o)}function u(s){return t&&s.alternate===null&&(s.flags|=67108866),s}function c(s,o,d,S){return o===null||o.tag!==6?(o=Mc(d,s.mode,S),o.return=s,o):(o=a(o,d),o.return=s,o)}function f(s,o,d,S){var b=d.type;return b===cn?y(s,o,d.props.children,S,d.key):o!==null&&(o.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===we&&Tl(b)===o.type)?(o=a(o,d.props),na(o,d),o.return=s,o):(o=Li(d.type,d.key,d.props,null,s.mode,S),na(o,d),o.return=s,o)}function r(s,o,d,S){return o===null||o.tag!==4||o.stateNode.containerInfo!==d.containerInfo||o.stateNode.implementation!==d.implementation?(o=Tc(d,s.mode,S),o.return=s,o):(o=a(o,d.children||[]),o.return=s,o)}function y(s,o,d,S,b){return o===null||o.tag!==7?(o=_l(d,s.mode,S,b),o.return=s,o):(o=a(o,d),o.return=s,o)}function h(s,o,d){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=Mc(""+o,s.mode,d),o.return=s,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case fi:return d=Li(o.type,o.key,o.props,null,s.mode,d),na(d,o),d.return=s,d;case fa:return o=Tc(o,s.mode,d),o.return=s,o;case we:return o=Tl(o),h(s,o,d)}if(oa(o)||ea(o))return o=_l(o,s.mode,d,null),o.return=s,o;if(typeof o.then=="function")return h(s,hi(o),d);if(o.$$typeof===Ce)return h(s,vi(s,o),d);Si(s,o)}return null}function g(s,o,d,S){var b=o!==null?o.key:null;if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return b!==null?null:c(s,o,""+d,S);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case fi:return d.key===b?f(s,o,d,S):null;case fa:return d.key===b?r(s,o,d,S):null;case we:return d=Tl(d),g(s,o,d,S)}if(oa(d)||ea(d))return b!==null?null:y(s,o,d,S,null);if(typeof d.then=="function")return g(s,o,hi(d),S);if(d.$$typeof===Ce)return g(s,o,vi(s,d),S);Si(s,d)}return null}function v(s,o,d,S,b){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return s=s.get(d)||null,c(o,s,""+S,b);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case fi:return s=s.get(S.key===null?d:S.key)||null,f(o,s,S,b);case fa:return s=s.get(S.key===null?d:S.key)||null,r(o,s,S,b);case we:return S=Tl(S),v(s,o,d,S,b)}if(oa(S)||ea(S))return s=s.get(d)||null,y(o,s,S,b,null);if(typeof S.then=="function")return v(s,o,d,hi(S),b);if(S.$$typeof===Ce)return v(s,o,d,vi(o,S),b);Si(o,S)}return null}function A(s,o,d,S){for(var b=null,H=null,E=o,x=o=0,U=null;E!==null&&x<d.length;x++){E.index>x?(U=E,E=null):U=E.sibling;var Y=g(s,E,d[x],S);if(Y===null){E===null&&(E=U);break}t&&E&&Y.alternate===null&&e(s,E),o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y,E=U}if(x===d.length)return l(s,E),B&&Ae(s,x),b;if(E===null){for(;x<d.length;x++)E=h(s,d[x],S),E!==null&&(o=i(E,o,x),H===null?b=E:H.sibling=E,H=E);return B&&Ae(s,x),b}for(E=n(E);x<d.length;x++)U=v(E,s,x,d[x],S),U!==null&&(t&&U.alternate!==null&&E.delete(U.key===null?x:U.key),o=i(U,o,x),H===null?b=U:H.sibling=U,H=U);return t&&E.forEach(function(je){return e(s,je)}),B&&Ae(s,x),b}function C(s,o,d,S){if(d==null)throw Error(p(151));for(var b=null,H=null,E=o,x=o=0,U=null,Y=d.next();E!==null&&!Y.done;x++,Y=d.next()){E.index>x?(U=E,E=null):U=E.sibling;var je=g(s,E,Y.value,S);if(je===null){E===null&&(E=U);break}t&&E&&je.alternate===null&&e(s,E),o=i(je,o,x),H===null?b=je:H.sibling=je,H=je,E=U}if(Y.done)return l(s,E),B&&Ae(s,x),b;if(E===null){for(;!Y.done;x++,Y=d.next())Y=h(s,Y.value,S),Y!==null&&(o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y);return B&&Ae(s,x),b}for(E=n(E);!Y.done;x++,Y=d.next())Y=v(E,s,x,Y.value,S),Y!==null&&(t&&Y.alternate!==null&&E.delete(Y.key===null?x:Y.key),o=i(Y,o,x),H===null?b=Y:H.sibling=Y,H=Y);return t&&E.forEach(function(F2){return e(s,F2)}),B&&Ae(s,x),b}function L(s,o,d,S){if(typeof d=="object"&&d!==null&&d.type===cn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case fi:t:{for(var b=d.key;o!==null;){if(o.key===b){if(b=d.type,b===cn){if(o.tag===7){l(s,o.sibling),S=a(o,d.props.children),S.return=s,s=S;break t}}else if(o.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===we&&Tl(b)===o.type){l(s,o.sibling),S=a(o,d.props),na(S,d),S.return=s,s=S;break t}l(s,o);break}else e(s,o);o=o.sibling}d.type===cn?(S=_l(d.props.children,s.mode,S,d.key),S.return=s,s=S):(S=Li(d.type,d.key,d.props,null,s.mode,S),na(S,d),S.return=s,s=S)}return u(s);case fa:t:{for(b=d.key;o!==null;){if(o.key===b)if(o.tag===4&&o.stateNode.containerInfo===d.containerInfo&&o.stateNode.implementation===d.implementation){l(s,o.sibling),S=a(o,d.children||[]),S.return=s,s=S;break t}else{l(s,o);break}else e(s,o);o=o.sibling}S=Tc(d,s.mode,S),S.return=s,s=S}return u(s);case we:return d=Tl(d),L(s,o,d,S)}if(oa(d))return A(s,o,d,S);if(ea(d)){if(b=ea(d),typeof b!="function")throw Error(p(150));return d=b.call(d),C(s,o,d,S)}if(typeof d.then=="function")return L(s,o,hi(d),S);if(d.$$typeof===Ce)return L(s,o,vi(s,d),S);Si(s,d)}return typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint"?(d=""+d,o!==null&&o.tag===6?(l(s,o.sibling),S=a(o,d),S.return=s,s=S):(l(s,o),S=Mc(d,s.mode,S),S.return=s,s=S),u(s)):l(s,o)}return function(s,o,d,S){try{Da=0;var b=L(s,o,d,S);return Cn=null,b}catch(E){if(E===Xn||E===Eu)throw E;var H=Ut(29,E,null,s.mode);return H.lanes=S,H.return=s,H}}}var Ul=k1(!0),W1=k1(!1),Ve=!1;function fo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yf(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function nl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function al(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(G&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=Ji(t),X1(t,null,l),e}return Au(t,n,e,l),Ji(t)}function ha(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,m1(t,l)}}function xc(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var u={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?a=i=u:i=i.next=u,l=l.next}while(l!==null);i===null?a=i=e:i=i.next=e}else a=i=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var vf=!1;function Sa(){if(vf){var t=En;if(t!==null)throw t}}function pa(t,e,l,n){vf=!1;var a=t.updateQueue;Ve=!1;var i=a.firstBaseUpdate,u=a.lastBaseUpdate,c=a.shared.pending;if(c!==null){a.shared.pending=null;var f=c,r=f.next;f.next=null,u===null?i=r:u.next=r,u=f;var y=t.alternate;y!==null&&(y=y.updateQueue,c=y.lastBaseUpdate,c!==u&&(c===null?y.firstBaseUpdate=r:c.next=r,y.lastBaseUpdate=f))}if(i!==null){var h=a.baseState;u=0,y=r=f=null,c=i;do{var g=c.lane&-536870913,v=g!==c.lane;if(v?(R&g)===g:(n&g)===g){g!==0&&g===On&&(vf=!0),y!==null&&(y=y.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var A=t,C=c;g=e;var L=l;switch(C.tag){case 1:if(A=C.payload,typeof A=="function"){h=A.call(L,h,g);break t}h=A;break t;case 3:A.flags=A.flags&-65537|128;case 0:if(A=C.payload,g=typeof A=="function"?A.call(L,h,g):A,g==null)break t;h=$({},h,g);break t;case 2:Ve=!0}}g=c.callback,g!==null&&(t.flags|=64,v&&(t.flags|=8192),v=a.callbacks,v===null?a.callbacks=[g]:v.push(g))}else v={lane:g,tag:c.tag,payload:c.payload,callback:c.callback,next:null},y===null?(r=y=v,f=h):y=y.next=v,u|=g;if(c=c.next,c===null){if(c=a.shared.pending,c===null)break;v=c,c=v.next,v.next=null,a.lastBaseUpdate=v,a.shared.pending=null}}while(!0);y===null&&(f=h),a.baseState=f,a.firstBaseUpdate=r,a.lastBaseUpdate=y,i===null&&(a.shared.lanes=0),ml|=u,t.lanes=u,t.memoizedState=h}}function F1(t,e){if(typeof t!="function")throw Error(p(191,t));t.call(e)}function $1(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)F1(l[t],e)}var Ln=de(null),$i=de(0);function ur(t,e){t=He,K($i,t),K(Ln,e),He=t|e.baseLanes}function hf(){K($i,He),K(Ln,Ln.current)}function oo(){He=$i.current,dt(Ln),dt($i)}var jt=de(null),It=null;function Je(t){var e=t.alternate;K(lt,lt.current&1),K(jt,t),It===null&&(e===null||Ln.current!==null||e.memoizedState!==null)&&(It=t)}function Sf(t){K(lt,lt.current),K(jt,t),It===null&&(It=t)}function I1(t){t.tag===22?(K(lt,lt.current),K(jt,t),It===null&&(It=t)):ke(t)}function ke(){K(lt,lt.current),K(jt,jt.current)}function Ht(t){dt(jt),It===t&&(It=null),dt(lt)}var lt=de(0);function Ii(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||qf(l)||Yf(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Le=0,z=null,w=null,at=null,Pi=!1,Mn=!1,Rl=!1,tu=0,Ha=0,Tn=null,jg=0;function tt(){throw Error(p(321))}function so(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Xt(t[l],e[l]))return!1;return!0}function ro(t,e,l,n,a,i){return Le=i,z=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,M.H=t===null||t.memoizedState===null?O0:Co,Rl=!1,i=l(n,a),Rl=!1,Mn&&(i=t0(e,l,n,a)),P1(t),i}function P1(t){M.H=Ua;var e=w!==null&&w.next!==null;if(Le=0,at=w=z=null,Pi=!1,Ha=0,Tn=null,e)throw Error(p(300));t===null||ct||(t=t.dependencies,t!==null&&Wi(t)&&(ct=!0))}function t0(t,e,l,n){z=t;var a=0;do{if(Mn&&(Tn=null),Ha=0,Mn=!1,25<=a)throw Error(p(301));if(a+=1,at=w=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}M.H=L0,i=e(l,n)}while(Mn);return i}function Zg(){var t=M.H,e=t.useState()[0];return e=typeof e.then=="function"?Ja(e):e,t=t.useState()[0],(w!==null?w.memoizedState:null)!==t&&(z.flags|=1024),e}function mo(){var t=tu!==0;return tu=0,t}function go(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function yo(t){if(Pi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Pi=!1}Le=0,at=w=z=null,Mn=!1,Ha=tu=0,Tn=null}function Ct(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?z.memoizedState=at=t:at=at.next=t,at}function nt(){if(w===null){var t=z.alternate;t=t!==null?t.memoizedState:null}else t=w.next;var e=at===null?z.memoizedState:at.next;if(e!==null)at=e,w=t;else{if(t===null)throw z.alternate===null?Error(p(467)):Error(p(310));w=t,t={memoizedState:w.memoizedState,baseState:w.baseState,baseQueue:w.baseQueue,queue:w.queue,next:null},at===null?z.memoizedState=at=t:at=at.next=t}return at}function Cu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ja(t){var e=Ha;return Ha+=1,Tn===null&&(Tn=[]),t=J1(Tn,t,e),e=z,(at===null?e.memoizedState:at.next)===null&&(e=e.alternate,M.H=e===null||e.memoizedState===null?O0:Co),t}function Mu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ja(t);if(t.$$typeof===Ce)return ht(t)}throw Error(p(438,String(t)))}function vo(t){var e=null,l=z.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=z.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Cu(),z.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=xm;return e.index++,l}function Ne(t,e){return typeof e=="function"?e(t):e}function Di(t){var e=nt();return ho(e,w,t)}function ho(t,e,l){var n=t.queue;if(n===null)throw Error(p(311));n.lastRenderedReducer=l;var a=t.baseQueue,i=n.pending;if(i!==null){if(a!==null){var u=a.next;a.next=i.next,i.next=u}e.baseQueue=a=i,n.pending=null}if(i=t.baseState,a===null)t.memoizedState=i;else{e=a.next;var c=u=null,f=null,r=e,y=!1;do{var h=r.lane&-536870913;if(h!==r.lane?(R&h)===h:(Le&h)===h){var g=r.revertLane;if(g===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null}),h===On&&(y=!0);else if((Le&g)===g){r=r.next,g===On&&(y=!0);continue}else h={lane:0,revertLane:r.revertLane,gesture:null,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=h,u=i):f=f.next=h,z.lanes|=g,ml|=g;h=r.action,Rl&&l(i,h),i=r.hasEagerState?r.eagerState:l(i,h)}else g={lane:h,revertLane:r.revertLane,gesture:r.gesture,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},f===null?(c=f=g,u=i):f=f.next=g,z.lanes|=h,ml|=h;r=r.next}while(r!==null&&r!==e);if(f===null?u=i:f.next=c,!Xt(i,t.memoizedState)&&(ct=!0,y&&(l=En,l!==null)))throw l;t.memoizedState=i,t.baseState=u,t.baseQueue=f,n.lastRenderedState=i}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function _c(t){var e=nt(),l=e.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,i=e.memoizedState;if(a!==null){l.pending=null;var u=a=a.next;do i=t(i,u.action),u=u.next;while(u!==a);Xt(i,e.memoizedState)||(ct=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),l.lastRenderedState=i}return[i,n]}function e0(t,e,l){var n=z,a=nt(),i=B;if(i){if(l===void 0)throw Error(p(407));l=l()}else l=e();var u=!Xt((w||a).memoizedState,l);if(u&&(a.memoizedState=l,ct=!0),a=a.queue,So(a0.bind(null,n,a,t),[t]),a.getSnapshot!==e||u||at!==null&&at.memoizedState.tag&1){if(n.flags|=2048,Nn(9,{destroy:void 0},n0.bind(null,n,a,l,e),null),V===null)throw Error(p(349));i||(Le&127)!==0||l0(n,e,l)}return l}function l0(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=z.updateQueue,e===null?(e=Cu(),z.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function n0(t,e,l,n){e.value=l,e.getSnapshot=n,i0(e)&&u0(t)}function a0(t,e,l){return l(function(){i0(e)&&u0(t)})}function i0(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Xt(t,l)}catch{return!0}}function u0(t){var e=Xl(t,2);e!==null&&_t(e,t,2)}function pf(t){var e=Ct();if(typeof t=="function"){var l=t;if(t=l(),Rl){Fe(!0);try{l()}finally{Fe(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:t},e}function c0(t,e,l,n){return t.baseState=l,ho(t,w,typeof n=="function"?n:Ne)}function Qg(t,e,l,n,a){if(zu(t))throw Error(p(485));if(t=e.action,t!==null){var i={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){i.listeners.push(u)}};M.T!==null?l(!0):i.isTransition=!1,n(i),l=e.pending,l===null?(i.next=e.pending=i,f0(e,i)):(i.next=l.next,e.pending=l.next=i)}}function f0(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var i=M.T,u={};M.T=u;try{var c=l(a,n),f=M.S;f!==null&&f(u,c),cr(t,e,c)}catch(r){bf(t,e,r)}finally{i!==null&&u.types!==null&&(i.types=u.types),M.T=i}}else try{i=l(a,n),cr(t,e,i)}catch(r){bf(t,e,r)}}function cr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){fr(t,e,n)},function(n){return bf(t,e,n)}):fr(t,e,l)}function fr(t,e,l){e.status="fulfilled",e.value=l,o0(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,f0(t,l)))}function bf(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,o0(e),e=e.next;while(e!==n)}t.action=null}function o0(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function s0(t,e){return e}function or(t,e){if(B){var l=V.formState;if(l!==null){t:{var n=z;if(B){if(F){e:{for(var a=F,i=$t;a.nodeType!==8;){if(!i){a=null;break e}if(a=Pt(a.nextSibling),a===null){a=null;break e}}i=a.data,a=i==="F!"||i==="F"?a:null}if(a){F=Pt(a.nextSibling),n=a.data==="F!";break t}}rl(n)}n=!1}n&&(e=l[0])}}return l=Ct(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s0,lastRenderedState:e},l.queue=n,l=z0.bind(null,z,n),n.dispatch=l,n=pf(!1),i=Eo.bind(null,z,!1,n.queue),n=Ct(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=Qg.bind(null,z,a,i,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function sr(t){var e=nt();return r0(e,w,t)}function r0(t,e,l){if(e=ho(t,e,s0)[0],t=Di(Ne)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ja(e)}catch(u){throw u===Xn?Eu:u}else n=e;e=nt();var a=e.queue,i=a.dispatch;return l!==e.memoizedState&&(z.flags|=2048,Nn(9,{destroy:void 0},wg.bind(null,a,l),null)),[n,i,t]}function wg(t,e){t.action=e}function rr(t){var e=nt(),l=w;if(l!==null)return r0(e,l,t);nt(),e=e.memoizedState,l=nt();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function Nn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=z.updateQueue,e===null&&(e=Cu(),z.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function d0(){return nt().memoizedState}function Hi(t,e,l,n){var a=Ct();z.flags|=t,a.memoizedState=Nn(1|e,{destroy:void 0},l,n===void 0?null:n)}function Tu(t,e,l,n){var a=nt();n=n===void 0?null:n;var i=a.memoizedState.inst;w!==null&&n!==null&&so(n,w.memoizedState.deps)?a.memoizedState=Nn(e,i,l,n):(z.flags|=t,a.memoizedState=Nn(1|e,i,l,n))}function dr(t,e){Hi(8390656,8,t,e)}function So(t,e){Tu(2048,8,t,e)}function Vg(t){z.flags|=4;var e=z.updateQueue;if(e===null)e=Cu(),z.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function m0(t){var e=nt().memoizedState;return Vg({ref:e,nextImpl:t}),function(){if((G&2)!==0)throw Error(p(440));return e.impl.apply(void 0,arguments)}}function g0(t,e){return Tu(4,2,t,e)}function y0(t,e){return Tu(4,4,t,e)}function v0(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function h0(t,e,l){l=l!=null?l.concat([t]):null,Tu(4,4,v0.bind(null,e,t),l)}function po(){}function S0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&so(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function p0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&so(e,n[1]))return n[0];if(n=t(),Rl){Fe(!0);try{t()}finally{Fe(!1)}}return l.memoizedState=[n,e],n}function bo(t,e,l){return l===void 0||(Le&1073741824)!==0&&(R&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=cd(),z.lanes|=t,ml|=t,l)}function b0(t,e,l,n){return Xt(l,e)?l:Ln.current!==null?(t=bo(t,l,n),Xt(t,e)||(ct=!0),t):(Le&42)===0||(Le&1073741824)!==0&&(R&261930)===0?(ct=!0,t.memoizedState=l):(t=cd(),z.lanes|=t,ml|=t,e)}function A0(t,e,l,n,a){var i=X.p;X.p=i!==0&&8>i?i:8;var u=M.T,c={};M.T=c,Eo(t,!1,e,l);try{var f=a(),r=M.S;if(r!==null&&r(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var y=Xg(f,n);ba(t,e,y,Gt(t))}else ba(t,e,n,Gt(t))}catch(h){ba(t,e,{then:function(){},status:"rejected",reason:h},Gt())}finally{X.p=i,u!==null&&c.types!==null&&(u.types=c.types),M.T=u}}function Kg(){}function Af(t,e,l,n){if(t.tag!==5)throw Error(p(476));var a=E0(t).queue;A0(t,a,e,xl,l===null?Kg:function(){return C0(t),l(n)})}function E0(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:xl,baseState:xl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:xl},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ne,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function C0(t){var e=E0(t);e.next===null&&(e=t.alternate.memoizedState),ba(t,e.next.queue,{},Gt())}function Ao(){return ht(qa)}function M0(){return nt().memoizedState}function T0(){return nt().memoizedState}function Jg(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Gt();t=nl(l);var n=al(e,t,l);n!==null&&(_t(n,e,l),ha(n,e,l)),e={cache:io()},t.payload=e;return}e=e.return}}function kg(t,e,l){var n=Gt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},zu(t)?x0(e,l):(l=eo(t,e,l,n),l!==null&&(_t(l,t,n),_0(l,e,n)))}function z0(t,e,l){var n=Gt();ba(t,e,l,n)}function ba(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(zu(t))x0(e,a);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var u=e.lastRenderedState,c=i(u,l);if(a.hasEagerState=!0,a.eagerState=c,Xt(c,u))return Au(t,e,a,0),V===null&&bu(),!1}catch{}if(l=eo(t,e,a,n),l!==null)return _t(l,t,n),_0(l,e,n),!0}return!1}function Eo(t,e,l,n){if(n={lane:2,revertLane:No(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zu(t)){if(e)throw Error(p(479))}else e=eo(t,l,n,2),e!==null&&_t(e,t,2)}function zu(t){var e=t.alternate;return t===z||e!==null&&e===z}function x0(t,e){Mn=Pi=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function _0(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,m1(t,l)}}var Ua={readContext:ht,use:Mu,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useLayoutEffect:tt,useInsertionEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useSyncExternalStore:tt,useId:tt,useHostTransitionStatus:tt,useFormState:tt,useActionState:tt,useOptimistic:tt,useMemoCache:tt,useCacheRefresh:tt};Ua.useEffectEvent=tt;var O0={readContext:ht,use:Mu,useCallback:function(t,e){return Ct().memoizedState=[t,e===void 0?null:e],t},useContext:ht,useEffect:dr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Hi(4194308,4,v0.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Hi(4194308,4,t,e)},useInsertionEffect:function(t,e){Hi(4,2,t,e)},useMemo:function(t,e){var l=Ct();e=e===void 0?null:e;var n=t();if(Rl){Fe(!0);try{t()}finally{Fe(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=Ct();if(l!==void 0){var a=l(e);if(Rl){Fe(!0);try{l(e)}finally{Fe(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=kg.bind(null,z,t),[n.memoizedState,t]},useRef:function(t){var e=Ct();return t={current:t},e.memoizedState=t},useState:function(t){t=pf(t);var e=t.queue,l=z0.bind(null,z,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:po,useDeferredValue:function(t,e){var l=Ct();return bo(l,t,e)},useTransition:function(){var t=pf(!1);return t=A0.bind(null,z,t.queue,!0,!1),Ct().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=z,a=Ct();if(B){if(l===void 0)throw Error(p(407));l=l()}else{if(l=e(),V===null)throw Error(p(349));(R&127)!==0||l0(n,e,l)}a.memoizedState=l;var i={value:l,getSnapshot:e};return a.queue=i,dr(a0.bind(null,n,i,t),[t]),n.flags|=2048,Nn(9,{destroy:void 0},n0.bind(null,n,i,l,e),null),l},useId:function(){var t=Ct(),e=V.identifierPrefix;if(B){var l=oe,n=fe;l=(n&~(1<<32-Yt(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=tu++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=jg++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Ao,useFormState:or,useActionState:or,useOptimistic:function(t){var e=Ct();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Eo.bind(null,z,!0,l),l.dispatch=e,[t,e]},useMemoCache:vo,useCacheRefresh:function(){return Ct().memoizedState=Jg.bind(null,z)},useEffectEvent:function(t){var e=Ct(),l={impl:t};return e.memoizedState=l,function(){if((G&2)!==0)throw Error(p(440));return l.impl.apply(void 0,arguments)}}},Co={readContext:ht,use:Mu,useCallback:S0,useContext:ht,useEffect:So,useImperativeHandle:h0,useInsertionEffect:g0,useLayoutEffect:y0,useMemo:p0,useReducer:Di,useRef:d0,useState:function(){return Di(Ne)},useDebugValue:po,useDeferredValue:function(t,e){var l=nt();return b0(l,w.memoizedState,t,e)},useTransition:function(){var t=Di(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ja(t),e]},useSyncExternalStore:e0,useId:M0,useHostTransitionStatus:Ao,useFormState:sr,useActionState:sr,useOptimistic:function(t,e){var l=nt();return c0(l,w,t,e)},useMemoCache:vo,useCacheRefresh:T0};Co.useEffectEvent=m0;var L0={readContext:ht,use:Mu,useCallback:S0,useContext:ht,useEffect:So,useImperativeHandle:h0,useInsertionEffect:g0,useLayoutEffect:y0,useMemo:p0,useReducer:_c,useRef:d0,useState:function(){return _c(Ne)},useDebugValue:po,useDeferredValue:function(t,e){var l=nt();return w===null?bo(l,t,e):b0(l,w.memoizedState,t,e)},useTransition:function(){var t=_c(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ja(t),e]},useSyncExternalStore:e0,useId:M0,useHostTransitionStatus:Ao,useFormState:rr,useActionState:rr,useOptimistic:function(t,e){var l=nt();return w!==null?c0(l,w,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:vo,useCacheRefresh:T0};L0.useEffectEvent=m0;function Oc(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:$({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Ef={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=Gt(),a=nl(n);a.payload=e,l!=null&&(a.callback=l),e=al(t,a,n),e!==null&&(_t(e,t,n),ha(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=Gt(),a=nl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=al(t,a,n),e!==null&&(_t(e,t,n),ha(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Gt(),n=nl(l);n.tag=2,e!=null&&(n.callback=e),e=al(t,n,l),e!==null&&(_t(e,t,l),ha(e,t,l))}};function mr(t,e,l,n,a,i,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,i,u):e.prototype&&e.prototype.isPureReactComponent?!Oa(l,n)||!Oa(a,i):!0}function gr(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&Ef.enqueueReplaceState(e,e.state,null)}function Bl(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=$({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function N0(t){Ki(t)}function D0(t){console.error(t)}function H0(t){Ki(t)}function eu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function yr(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Cf(t,e,l){return l=nl(l),l.tag=3,l.payload={element:null},l.callback=function(){eu(t,e)},l}function U0(t){return t=nl(t),t.tag=3,t}function R0(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var i=n.value;t.payload=function(){return a(i)},t.callback=function(){yr(e,l,n)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){yr(e,l,n),typeof a!="function"&&(il===null?il=new Set([this]):il.add(this));var c=n.stack;this.componentDidCatch(n.value,{componentStack:c!==null?c:""})})}function Wg(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&Gn(e,l,a,!0),l=jt.current,l!==null){switch(l.tag){case 31:case 13:return It===null?uu():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===Fi?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),Xc(t,n,a)),!1;case 22:return l.flags|=65536,n===Fi?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),Xc(t,n,a)),!1}throw Error(p(435,l.tag))}return Xc(t,n,a),uu(),!1}if(B)return e=jt.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==sf&&(t=Error(p(422),{cause:n}),Na(Ft(t,l)))):(n!==sf&&(e=Error(p(423),{cause:n}),Na(Ft(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=Ft(n,l),a=Cf(t.stateNode,n,a),xc(t,a),et!==4&&(et=2)),!1;var i=Error(p(520),{cause:n});if(i=Ft(i,l),Ca===null?Ca=[i]:Ca.push(i),et!==4&&(et=2),e===null)return!0;n=Ft(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=Cf(l.stateNode,n,t),xc(l,t),!1;case 1:if(e=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(il===null||!il.has(i))))return l.flags|=65536,a&=-a,l.lanes|=a,a=U0(a),R0(a,t,l,n),xc(l,a),!1}l=l.return}while(l!==null);return!1}var Mo=Error(p(461)),ct=!1;function gt(t,e,l,n){e.child=t===null?W1(e,null,l,n):Ul(e,t.child,l,n)}function vr(t,e,l,n,a){l=l.render;var i=e.ref;if("ref"in n){var u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}else u=n;return Hl(e),n=ro(t,e,l,u,i,a),c=mo(),t!==null&&!ct?(go(t,e,a),De(t,e,a)):(B&&c&&no(e),e.flags|=1,gt(t,e,n,a),e.child)}function hr(t,e,l,n,a){if(t===null){var i=l.type;return typeof i=="function"&&!lo(i)&&i.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=i,B0(t,e,i,n,a)):(t=Li(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!To(t,a)){var u=i.memoizedProps;if(l=l.compare,l=l!==null?l:Oa,l(u,n)&&t.ref===e.ref)return De(t,e,a)}return e.flags|=1,t=ze(i,n),t.ref=e.ref,t.return=e,e.child=t}function B0(t,e,l,n,a){if(t!==null){var i=t.memoizedProps;if(Oa(i,n)&&t.ref===e.ref)if(ct=!1,e.pendingProps=n=i,To(t,a))(t.flags&131072)!==0&&(ct=!0);else return e.lanes=t.lanes,De(t,e,a)}return Mf(t,e,l,n,a)}function q0(t,e,l,n){var a=n.children,i=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~i}else n=0,e.child=null;return Sr(t,e,i,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ni(e,i!==null?i.cachePool:null),i!==null?ur(e,i):hf(),I1(e);else return n=e.lanes=536870912,Sr(t,e,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Ni(e,i.cachePool),ur(e,i),ke(e),e.memoizedState=null):(t!==null&&Ni(e,null),hf(),ke(e));return gt(t,e,a,l),e.child}function ra(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Sr(t,e,l,n,a){var i=uo();return i=i===null?null:{parent:ut._currentValue,pool:i},e.memoizedState={baseLanes:l,cachePool:i},t!==null&&Ni(e,null),hf(),I1(e),t!==null&&Gn(t,e,n,!0),e.childLanes=a,null}function Ui(t,e){return e=lu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function pr(t,e,l){return Ul(e,t.child,null,l),t=Ui(e,e.pendingProps),t.flags|=2,Ht(e),e.memoizedState=null,t}function Fg(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(B){if(n.mode==="hidden")return t=Ui(e,n),e.lanes=536870912,ra(null,t);if(Sf(e),(t=F)?(t=Od(t,$t),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:sl!==null?{id:fe,overflow:oe}:null,retryLane:536870912,hydrationErrors:null},l=Z1(t),l.return=e,e.child=l,vt=e,F=null)):t=null,t===null)throw rl(e);return e.lanes=536870912,null}return Ui(e,n)}var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(Sf(e),a)if(e.flags&256)e.flags&=-257,e=pr(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(p(558));else if(ct||Gn(t,e,l,!1),a=(l&t.childLanes)!==0,ct||a){if(n=V,n!==null&&(u=g1(n,l),u!==0&&u!==i.retryLane))throw i.retryLane=u,Xl(t,u),_t(n,t,u),Mo;uu(),e=pr(t,e,l)}else t=i.treeContext,F=Pt(u.nextSibling),vt=e,B=!0,ll=null,$t=!1,t!==null&&w1(e,t),e=Ui(e,n),e.flags|=4096;return e}return t=ze(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ri(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(p(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Mf(t,e,l,n,a){return Hl(e),l=ro(t,e,l,n,void 0,a),n=mo(),t!==null&&!ct?(go(t,e,a),De(t,e,a)):(B&&n&&no(e),e.flags|=1,gt(t,e,l,a),e.child)}function br(t,e,l,n,a,i){return Hl(e),e.updateQueue=null,l=t0(e,n,l,a),P1(t),n=mo(),t!==null&&!ct?(go(t,e,i),De(t,e,i)):(B&&n&&no(e),e.flags|=1,gt(t,e,l,i),e.child)}function Ar(t,e,l,n,a){if(Hl(e),e.stateNode===null){var i=yn,u=l.contextType;typeof u=="object"&&u!==null&&(i=ht(u)),i=new l(n,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Ef,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=n,i.state=e.memoizedState,i.refs={},fo(e),u=l.contextType,i.context=typeof u=="object"&&u!==null?ht(u):yn,i.state=e.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(Oc(e,l,u,n),i.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(u=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),u!==i.state&&Ef.enqueueReplaceState(i,i.state,null),pa(e,n,i,a),Sa(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){i=e.stateNode;var c=e.memoizedProps,f=Bl(l,c);i.props=f;var r=i.context,y=l.contextType;u=yn,typeof y=="object"&&y!==null&&(u=ht(y));var h=l.getDerivedStateFromProps;y=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function",c=e.pendingProps!==c,y||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c||r!==u)&&gr(e,i,n,u),Ve=!1;var g=e.memoizedState;i.state=g,pa(e,n,i,a),Sa(),r=e.memoizedState,c||g!==r||Ve?(typeof h=="function"&&(Oc(e,l,h,n),r=e.memoizedState),(f=Ve||mr(e,l,f,n,g,r,u))?(y||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=r),i.props=n,i.state=r,i.context=u,n=f):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{i=e.stateNode,yf(t,e),u=e.memoizedProps,y=Bl(l,u),i.props=y,h=e.pendingProps,g=i.context,r=l.contextType,f=yn,typeof r=="object"&&r!==null&&(f=ht(r)),c=l.getDerivedStateFromProps,(r=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==h||g!==f)&&gr(e,i,n,f),Ve=!1,g=e.memoizedState,i.state=g,pa(e,n,i,a),Sa();var v=e.memoizedState;u!==h||g!==v||Ve||t!==null&&t.dependencies!==null&&Wi(t.dependencies)?(typeof c=="function"&&(Oc(e,l,c,n),v=e.memoizedState),(y=Ve||mr(e,l,y,n,g,v,f)||t!==null&&t.dependencies!==null&&Wi(t.dependencies))?(r||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,v,f),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,v,f)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=v),i.props=n,i.state=v,i.context=f,n=y):(typeof i.componentDidUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&g===t.memoizedState||(e.flags|=1024),n=!1)}return i=n,Ri(t,e),n=(e.flags&128)!==0,i||n?(i=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&n?(e.child=Ul(e,t.child,null,a),e.child=Ul(e,null,l,a)):gt(t,e,l,a),e.memoizedState=i.state,t=e.child):t=De(t,e,a),t}function Er(t,e,l,n){return Dl(),e.flags|=256,gt(t,e,l,n),e.child}var Lc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Nc(t){return{baseLanes:t,cachePool:K1()}}function Dc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Rt),t}function Y0(t,e,l){var n=e.pendingProps,a=!1,i=(e.flags&128)!==0,u;if((u=i)||(u=t!==null&&t.memoizedState===null?!1:(lt.current&2)!==0),u&&(a=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(B){if(a?Je(e):ke(e),(t=F)?(t=Od(t,$t),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:sl!==null?{id:fe,overflow:oe}:null,retryLane:536870912,hydrationErrors:null},l=Z1(t),l.return=e,e.child=l,vt=e,F=null)):t=null,t===null)throw rl(e);return Yf(t)?e.lanes=32:e.lanes=536870912,null}var c=n.children;return n=n.fallback,a?(ke(e),a=e.mode,c=lu({mode:"hidden",children:c},a),n=_l(n,a,l,null),c.return=e,n.return=e,c.sibling=n,e.child=c,n=e.child,n.memoizedState=Nc(l),n.childLanes=Dc(t,u,l),e.memoizedState=Lc,ra(null,n)):(Je(e),Tf(e,c))}var f=t.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(i)e.flags&256?(Je(e),e.flags&=-257,e=Hc(t,e,l)):e.memoizedState!==null?(ke(e),e.child=t.child,e.flags|=128,e=null):(ke(e),c=n.fallback,a=e.mode,n=lu({mode:"visible",children:n.children},a),c=_l(c,a,l,null),c.flags|=2,n.return=e,c.return=e,n.sibling=c,e.child=n,Ul(e,t.child,null,l),n=e.child,n.memoizedState=Nc(l),n.childLanes=Dc(t,u,l),e.memoizedState=Lc,e=ra(null,n));else if(Je(e),Yf(c)){if(u=c.nextSibling&&c.nextSibling.dataset,u)var r=u.dgst;u=r,n=Error(p(419)),n.stack="",n.digest=u,Na({value:n,source:null,stack:null}),e=Hc(t,e,l)}else if(ct||Gn(t,e,l,!1),u=(l&t.childLanes)!==0,ct||u){if(u=V,u!==null&&(n=g1(u,l),n!==0&&n!==f.retryLane))throw f.retryLane=n,Xl(t,n),_t(u,t,n),Mo;qf(c)||uu(),e=Hc(t,e,l)}else qf(c)?(e.flags|=192,e.child=t.child,e=null):(t=f.treeContext,F=Pt(c.nextSibling),vt=e,B=!0,ll=null,$t=!1,t!==null&&w1(e,t),e=Tf(e,n.children),e.flags|=4096);return e}return a?(ke(e),c=n.fallback,a=e.mode,f=t.child,r=f.sibling,n=ze(f,{mode:"hidden",children:n.children}),n.subtreeFlags=f.subtreeFlags&65011712,r!==null?c=ze(r,c):(c=_l(c,a,l,null),c.flags|=2),c.return=e,n.return=e,n.sibling=c,e.child=n,ra(null,n),n=e.child,c=t.child.memoizedState,c===null?c=Nc(l):(a=c.cachePool,a!==null?(f=ut._currentValue,a=a.parent!==f?{parent:f,pool:f}:a):a=K1(),c={baseLanes:c.baseLanes|l,cachePool:a}),n.memoizedState=c,n.childLanes=Dc(t,u,l),e.memoizedState=Lc,ra(t.child,n)):(Je(e),l=t.child,t=l.sibling,l=ze(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=l,e.memoizedState=null,l)}function Tf(t,e){return e=lu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function lu(t,e){return t=Ut(22,t,null,e),t.lanes=0,t}function Hc(t,e,l){return Ul(e,t.child,null,l),t=Tf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Cr(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),df(t.return,e,l)}function Uc(t,e,l,n,a,i){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:i}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=n,u.tail=l,u.tailMode=a,u.treeForkCount=i)}function G0(t,e,l){var n=e.pendingProps,a=n.revealOrder,i=n.tail;n=n.children;var u=lt.current,c=(u&2)!==0;if(c?(u=u&1|2,e.flags|=128):u&=1,K(lt,u),gt(t,e,n,l),n=B?La:0,!c&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Cr(t,l,e);else if(t.tag===19)Cr(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&Ii(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Uc(e,!1,a,l,i,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&Ii(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Uc(e,!0,l,null,i,n);break;case"together":Uc(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function De(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ml|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Gn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(p(153));if(e.child!==null){for(t=e.child,l=ze(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=ze(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function To(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Wi(t)))}function $g(t,e,l){switch(e.tag){case 3:Zi(e,e.stateNode.containerInfo),Ke(e,ut,t.memoizedState.cache),Dl();break;case 27:case 5:Ic(e);break;case 4:Zi(e,e.stateNode.containerInfo);break;case 10:Ke(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Sf(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(Je(e),e.flags|=128,null):(l&e.child.childLanes)!==0?Y0(t,e,l):(Je(e),t=De(t,e,l),t!==null?t.sibling:null);Je(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(Gn(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return G0(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),K(lt,lt.current),n)break;return null;case 22:return e.lanes=0,q0(t,e,l,e.pendingProps);case 24:Ke(e,ut,t.memoizedState.cache)}return De(t,e,l)}function X0(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ct=!0;else{if(!To(t,l)&&(e.flags&128)===0)return ct=!1,$g(t,e,l);ct=(t.flags&131072)!==0}else ct=!1,B&&(e.flags&1048576)!==0&&Q1(e,La,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=Tl(e.elementType),e.type=t,typeof t=="function")lo(t)?(n=Bl(t,n),e.tag=1,e=Ar(null,e,t,n,l)):(e.tag=0,e=Mf(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===Zf){e.tag=11,e=vr(null,e,t,n,l);break t}else if(a===Qf){e.tag=14,e=hr(null,e,t,n,l);break t}}throw e=Fc(t)||t,Error(p(306,e,""))}}return e;case 0:return Mf(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Bl(n,e.pendingProps),Ar(t,e,n,a,l);case 3:t:{if(Zi(e,e.stateNode.containerInfo),t===null)throw Error(p(387));n=e.pendingProps;var i=e.memoizedState;a=i.element,yf(t,e),pa(e,n,null,l);var u=e.memoizedState;if(n=u.cache,Ke(e,ut,n),n!==i.cache&&mf(e,[ut],l,!0),Sa(),n=u.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=Er(t,e,n,l);break t}else if(n!==a){a=Ft(Error(p(424)),e),Na(a),e=Er(t,e,n,l);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,F=Pt(t.firstChild),vt=e,B=!0,ll=null,$t=!0,l=W1(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Dl(),n===a){e=De(t,e,l);break t}gt(t,e,n,l)}e=e.child}return e;case 26:return Ri(t,e),t===null?(l=Vr(e.type,null,e.pendingProps,null))?e.memoizedState=l:B||(l=e.type,t=e.pendingProps,n=su(el.current).createElement(l),n[yt]=e,n[Ot]=t,St(n,l,t),rt(n),e.stateNode=n):e.memoizedState=Vr(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ic(e),t===null&&B&&(n=e.stateNode=Ld(e.type,e.pendingProps,el.current),vt=e,$t=!0,a=F,yl(e.type)?(Gf=a,F=Pt(n.firstChild)):F=a),gt(t,e,e.pendingProps.children,l),Ri(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&B&&((a=n=F)&&(n=Ty(n,e.type,e.pendingProps,$t),n!==null?(e.stateNode=n,vt=e,F=Pt(n.firstChild),$t=!1,a=!0):a=!1),a||rl(e)),Ic(e),a=e.type,i=e.pendingProps,u=t!==null?t.memoizedProps:null,n=i.children,Rf(a,i)?n=null:u!==null&&Rf(a,u)&&(e.flags|=32),e.memoizedState!==null&&(a=ro(t,e,Zg,null,null,l),qa._currentValue=a),Ri(t,e),gt(t,e,n,l),e.child;case 6:return t===null&&B&&((t=l=F)&&(l=zy(l,e.pendingProps,$t),l!==null?(e.stateNode=l,vt=e,F=null,t=!0):t=!1),t||rl(e)),null;case 13:return Y0(t,e,l);case 4:return Zi(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Ul(e,null,n,l):gt(t,e,n,l),e.child;case 11:return vr(t,e,e.type,e.pendingProps,l);case 7:return gt(t,e,e.pendingProps,l),e.child;case 8:return gt(t,e,e.pendingProps.children,l),e.child;case 12:return gt(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,Ke(e,e.type,n.value),gt(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,Hl(e),a=ht(a),n=n(a),e.flags|=1,gt(t,e,n,l),e.child;case 14:return hr(t,e,e.type,e.pendingProps,l);case 15:return B0(t,e,e.type,e.pendingProps,l);case 19:return G0(t,e,l);case 31:return Fg(t,e,l);case 22:return q0(t,e,l,e.pendingProps);case 24:return Hl(e),n=ht(ut),t===null?(a=uo(),a===null&&(a=V,i=io(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),e.memoizedState={parent:n,cache:a},fo(e),Ke(e,ut,a)):((t.lanes&l)!==0&&(yf(t,e),pa(e,null,null,l),Sa()),a=t.memoizedState,i=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),Ke(e,ut,n)):(n=i.cache,Ke(e,ut,n),n!==a.cache&&mf(e,[ut],l,!0))),gt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(p(156,e.tag))}function he(t){t.flags|=4}function Rc(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(sd())t.flags|=8192;else throw Ll=Fi,co}else t.flags&=-16777217}function Mr(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Hd(e))if(sd())t.flags|=8192;else throw Ll=Fi,co}function pi(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?r1():536870912,t.lanes|=e,Dn|=e)}function aa(t,e){if(!B)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function W(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function Ig(t,e,l){var n=e.pendingProps;switch(ao(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return W(e),null;case 1:return W(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),xe(ut),zn(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(ln(e)?he(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,zc())),W(e),null;case 26:var a=e.type,i=e.memoizedState;return t===null?(he(e),i!==null?(W(e),Mr(e,i)):(W(e),Rc(e,a,null,n,l))):i?i!==t.memoizedState?(he(e),W(e),Mr(e,i)):(W(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&he(e),W(e),Rc(e,a,t,n,l)),null;case 27:if(Qi(e),l=el.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(!n){if(e.stateNode===null)throw Error(p(166));return W(e),null}t=re.current,ln(e)?Ps(e,t):(t=Ld(a,n,l),e.stateNode=t,he(e))}return W(e),null;case 5:if(Qi(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(!n){if(e.stateNode===null)throw Error(p(166));return W(e),null}if(i=re.current,ln(e))Ps(e,i);else{var u=su(el.current);switch(i){case 1:i=u.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:i=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":i=u.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":i=u.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":i=u.createElement("div"),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?u.createElement("select",{is:n.is}):u.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?u.createElement(a,{is:n.is}):u.createElement(a)}}i[yt]=e,i[Ot]=n;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=i;t:switch(St(i,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&he(e)}}return W(e),Rc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&he(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(p(166));if(t=el.current,ln(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=vt,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[yt]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||zd(t.nodeValue,l)),t||rl(e,!0)}else t=su(t).createTextNode(n),t[yt]=e,e.stateNode=t}return W(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=ln(e),l!==null){if(t===null){if(!n)throw Error(p(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(557));t[yt]=e}else Dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;W(e),t=!1}else l=zc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Ht(e),e):(Ht(e),null);if((e.flags&128)!==0)throw Error(p(558))}return W(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=ln(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(p(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(p(317));a[yt]=e}else Dl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;W(e),a=!1}else a=zc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(Ht(e),e):(Ht(e),null)}return Ht(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),pi(e,e.updateQueue),W(e),null);case 4:return zn(),t===null&&Do(e.stateNode.containerInfo),W(e),null;case 10:return xe(e.type),W(e),null;case 19:if(dt(lt),n=e.memoizedState,n===null)return W(e),null;if(a=(e.flags&128)!==0,i=n.rendering,i===null)if(a)aa(n,!1);else{if(et!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=Ii(t),i!==null){for(e.flags|=128,aa(n,!1),t=i.updateQueue,e.updateQueue=t,pi(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)j1(l,t),l=l.sibling;return K(lt,lt.current&1|2),B&&Ae(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&Bt()>au&&(e.flags|=128,a=!0,aa(n,!1),e.lanes=4194304)}else{if(!a)if(t=Ii(i),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,pi(e,t),aa(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!B)return W(e),null}else 2*Bt()-n.renderingStartTime>au&&l!==536870912&&(e.flags|=128,a=!0,aa(n,!1),e.lanes=4194304);n.isBackwards?(i.sibling=e.child,e.child=i):(t=n.last,t!==null?t.sibling=i:e.child=i,n.last=i)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Bt(),t.sibling=null,l=lt.current,K(lt,a?l&1|2:l&1),B&&Ae(e,n.treeForkCount),t):(W(e),null);case 22:case 23:return Ht(e),oo(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(W(e),e.subtreeFlags&6&&(e.flags|=8192)):W(e),l=e.updateQueue,l!==null&&pi(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&dt(Ol),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),xe(ut),W(e),null;case 25:return null;case 30:return null}throw Error(p(156,e.tag))}function Pg(t,e){switch(ao(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xe(ut),zn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Qi(e),null;case 31:if(e.memoizedState!==null){if(Ht(e),e.alternate===null)throw Error(p(340));Dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ht(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(p(340));Dl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return dt(lt),null;case 4:return zn(),null;case 10:return xe(e.type),null;case 22:case 23:return Ht(e),oo(),t!==null&&dt(Ol),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return xe(ut),null;case 25:return null;default:return null}}function j0(t,e){switch(ao(e),e.tag){case 3:xe(ut),zn();break;case 26:case 27:case 5:Qi(e);break;case 4:zn();break;case 31:e.memoizedState!==null&&Ht(e);break;case 13:Ht(e);break;case 19:dt(lt);break;case 10:xe(e.type);break;case 22:case 23:Ht(e),oo(),t!==null&&dt(Ol);break;case 24:xe(ut)}}function ka(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var i=l.create,u=l.inst;n=i(),u.destroy=n}l=l.next}while(l!==a)}}catch(c){Z(e,e.return,c)}}function dl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&t)===t){var u=n.inst,c=u.destroy;if(c!==void 0){u.destroy=void 0,a=e;var f=l,r=c;try{r()}catch(y){Z(a,f,y)}}}n=n.next}while(n!==i)}}catch(y){Z(e,e.return,y)}}function Z0(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{$1(e,l)}catch(n){Z(t,t.return,n)}}}function Q0(t,e,l){l.props=Bl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){Z(t,e,n)}}function Aa(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){Z(t,e,a)}}function se(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){Z(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){Z(t,e,a)}else l.current=null}function w0(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){Z(t,t.return,a)}}function Bc(t,e,l){try{var n=t.stateNode;py(n,t.type,l,e),n[Ot]=e}catch(a){Z(t,t.return,a)}}function V0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yl(t.type)||t.tag===4}function qc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||V0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&yl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function zf(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Me));else if(n!==4&&(n===27&&yl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(zf(t,e,l),t=t.sibling;t!==null;)zf(t,e,l),t=t.sibling}function nu(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&yl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(nu(t,e,l),t=t.sibling;t!==null;)nu(t,e,l),t=t.sibling}function K0(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);St(e,n,l),e[yt]=t,e[Ot]=l}catch(i){Z(t,t.return,i)}}var Ee=!1,it=!1,Yc=!1,Tr=typeof WeakSet=="function"?WeakSet:Set,st=null;function ty(t,e){if(t=t.containerInfo,Hf=gu,t=H1(t),Pf(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break t}var u=0,c=-1,f=-1,r=0,y=0,h=t,g=null;e:for(;;){for(var v;h!==l||a!==0&&h.nodeType!==3||(c=u+a),h!==i||n!==0&&h.nodeType!==3||(f=u+n),h.nodeType===3&&(u+=h.nodeValue.length),(v=h.firstChild)!==null;)g=h,h=v;for(;;){if(h===t)break e;if(g===l&&++r===a&&(c=u),g===i&&++y===n&&(f=u),(v=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=v}l=c===-1||f===-1?null:{start:c,end:f}}else l=null}l=l||{start:0,end:0}}else l=null;for(Uf={focusedElem:t,selectionRange:l},gu=!1,st=e;st!==null;)if(e=st,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,st=t;else for(;st!==null;){switch(e=st,i=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&i!==null){t=void 0,l=e,a=i.memoizedProps,i=i.memoizedState,n=l.stateNode;try{var A=Bl(l.type,a);t=n.getSnapshotBeforeUpdate(A,i),n.__reactInternalSnapshotBeforeUpdate=t}catch(C){Z(l,l.return,C)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Bf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Bf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(p(163))}if(t=e.sibling,t!==null){t.return=e.return,st=t;break}st=e.return}}function J0(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:pe(t,l),n&4&&ka(5,l);break;case 1:if(pe(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(u){Z(l,l.return,u)}else{var a=Bl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){Z(l,l.return,u)}}n&64&&Z0(l),n&512&&Aa(l,l.return);break;case 3:if(pe(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{$1(t,e)}catch(u){Z(l,l.return,u)}}break;case 27:e===null&&n&4&&K0(l);case 26:case 5:pe(t,l),e===null&&n&4&&w0(l),n&512&&Aa(l,l.return);break;case 12:pe(t,l);break;case 31:pe(t,l),n&4&&F0(t,l);break;case 13:pe(t,l),n&4&&$0(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=oy.bind(null,l),xy(t,l))));break;case 22:if(n=l.memoizedState!==null||Ee,!n){e=e!==null&&e.memoizedState!==null||it,a=Ee;var i=it;Ee=n,(it=e)&&!i?be(t,l,(l.subtreeFlags&8772)!==0):pe(t,l),Ee=a,it=i}break;case 30:break;default:pe(t,l)}}function k0(t){var e=t.alternate;e!==null&&(t.alternate=null,k0(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Jf(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var P=null,zt=!1;function Se(t,e,l){for(l=l.child;l!==null;)W0(t,e,l),l=l.sibling}function W0(t,e,l){if(qt&&typeof qt.onCommitFiberUnmount=="function")try{qt.onCommitFiberUnmount(ja,l)}catch{}switch(l.tag){case 26:it||se(l,e),Se(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:it||se(l,e);var n=P,a=zt;yl(l.type)&&(P=l.stateNode,zt=!1),Se(t,e,l),Ta(l.stateNode),P=n,zt=a;break;case 5:it||se(l,e);case 6:if(n=P,a=zt,P=null,Se(t,e,l),P=n,zt=a,P!==null)if(zt)try{(P.nodeType===9?P.body:P.nodeName==="HTML"?P.ownerDocument.body:P).removeChild(l.stateNode)}catch(i){Z(l,e,i)}else try{P.removeChild(l.stateNode)}catch(i){Z(l,e,i)}break;case 18:P!==null&&(zt?(t=P,Xr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Bn(t)):Xr(P,l.stateNode));break;case 4:n=P,a=zt,P=l.stateNode.containerInfo,zt=!0,Se(t,e,l),P=n,zt=a;break;case 0:case 11:case 14:case 15:dl(2,l,e),it||dl(4,l,e),Se(t,e,l);break;case 1:it||(se(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Q0(l,e,n)),Se(t,e,l);break;case 21:Se(t,e,l);break;case 22:it=(n=it)||l.memoizedState!==null,Se(t,e,l),it=n;break;default:Se(t,e,l)}}function F0(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Bn(t)}catch(l){Z(e,e.return,l)}}}function $0(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Bn(t)}catch(l){Z(e,e.return,l)}}function ey(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Tr),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Tr),e;default:throw Error(p(435,t.tag))}}function bi(t,e){var l=ey(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=sy.bind(null,t,n);n.then(a,a)}})}function Mt(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],i=t,u=e,c=u;t:for(;c!==null;){switch(c.tag){case 27:if(yl(c.type)){P=c.stateNode,zt=!1;break t}break;case 5:P=c.stateNode,zt=!1;break t;case 3:case 4:P=c.stateNode.containerInfo,zt=!0;break t}c=c.return}if(P===null)throw Error(p(160));W0(i,u,a),P=null,zt=!1,i=a.alternate,i!==null&&(i.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)I0(e,t),e=e.sibling}var le=null;function I0(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Mt(e,t),Tt(t),n&4&&(dl(3,t,t.return),ka(3,t),dl(5,t,t.return));break;case 1:Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),n&64&&Ee&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=le;if(Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),n&4){var i=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":i=a.getElementsByTagName("title")[0],(!i||i[wa]||i[yt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=a.createElement(n),a.head.insertBefore(i,a.querySelector("head > title"))),St(i,n,l),i[yt]=t,rt(i),n=i;break t;case"link":var u=Jr("link","href",a).get(n+(l.href||""));if(u){for(var c=0;c<u.length;c++)if(i=u[c],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(c,1);break e}}i=a.createElement(n),St(i,n,l),a.head.appendChild(i);break;case"meta":if(u=Jr("meta","content",a).get(n+(l.content||""))){for(c=0;c<u.length;c++)if(i=u[c],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(c,1);break e}}i=a.createElement(n),St(i,n,l),a.head.appendChild(i);break;default:throw Error(p(468,n))}i[yt]=t,rt(i),n=i}t.stateNode=n}else kr(a,t.type,t.stateNode);else t.stateNode=Kr(a,n,t.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?kr(a,t.type,t.stateNode):Kr(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Bc(t,t.memoizedProps,l.memoizedProps)}break;case 27:Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),l!==null&&n&4&&Bc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Mt(e,t),Tt(t),n&512&&(it||l===null||se(l,l.return)),t.flags&32){a=t.stateNode;try{_n(a,"")}catch(A){Z(t,t.return,A)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,Bc(t,a,l!==null?l.memoizedProps:a)),n&1024&&(Yc=!0);break;case 6:if(Mt(e,t),Tt(t),n&4){if(t.stateNode===null)throw Error(p(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(A){Z(t,t.return,A)}}break;case 3:if(Yi=null,a=le,le=ru(e.containerInfo),Mt(e,t),le=a,Tt(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Bn(e.containerInfo)}catch(A){Z(t,t.return,A)}Yc&&(Yc=!1,P0(t));break;case 4:n=le,le=ru(t.stateNode.containerInfo),Mt(e,t),Tt(t),le=n;break;case 12:Mt(e,t),Tt(t);break;case 31:Mt(e,t),Tt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,bi(t,n)));break;case 13:Mt(e,t),Tt(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(xu=Bt()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,bi(t,n)));break;case 22:a=t.memoizedState!==null;var f=l!==null&&l.memoizedState!==null,r=Ee,y=it;if(Ee=r||a,it=y||f,Mt(e,t),it=y,Ee=r,Tt(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||f||Ee||it||zl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){f=l=e;try{if(i=f.stateNode,a)u=i.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{c=f.stateNode;var h=f.memoizedProps.style,g=h!=null&&h.hasOwnProperty("display")?h.display:null;c.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(A){Z(f,f.return,A)}}}else if(e.tag===6){if(l===null){f=e;try{f.stateNode.nodeValue=a?"":f.memoizedProps}catch(A){Z(f,f.return,A)}}}else if(e.tag===18){if(l===null){f=e;try{var v=f.stateNode;a?jr(v,!0):jr(f.stateNode,!1)}catch(A){Z(f,f.return,A)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,bi(t,l))));break;case 19:Mt(e,t),Tt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,bi(t,n)));break;case 30:break;case 21:break;default:Mt(e,t),Tt(t)}}function Tt(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(V0(n)){l=n;break}n=n.return}if(l==null)throw Error(p(160));switch(l.tag){case 27:var a=l.stateNode,i=qc(t);nu(t,i,a);break;case 5:var u=l.stateNode;l.flags&32&&(_n(u,""),l.flags&=-33);var c=qc(t);nu(t,c,u);break;case 3:case 4:var f=l.stateNode.containerInfo,r=qc(t);zf(t,r,f);break;default:throw Error(p(161))}}catch(y){Z(t,t.return,y)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function P0(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;P0(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function pe(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)J0(t,e.alternate,e),e=e.sibling}function zl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:dl(4,e,e.return),zl(e);break;case 1:se(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Q0(e,e.return,l),zl(e);break;case 27:Ta(e.stateNode);case 26:case 5:se(e,e.return),zl(e);break;case 22:e.memoizedState===null&&zl(e);break;case 30:zl(e);break;default:zl(e)}t=t.sibling}}function be(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,i=e,u=i.flags;switch(i.tag){case 0:case 11:case 15:be(a,i,l),ka(4,i);break;case 1:if(be(a,i,l),n=i,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(r){Z(n,n.return,r)}if(n=i,a=n.updateQueue,a!==null){var c=n.stateNode;try{var f=a.shared.hiddenCallbacks;if(f!==null)for(a.shared.hiddenCallbacks=null,a=0;a<f.length;a++)F1(f[a],c)}catch(r){Z(n,n.return,r)}}l&&u&64&&Z0(i),Aa(i,i.return);break;case 27:K0(i);case 26:case 5:be(a,i,l),l&&n===null&&u&4&&w0(i),Aa(i,i.return);break;case 12:be(a,i,l);break;case 31:be(a,i,l),l&&u&4&&F0(a,i);break;case 13:be(a,i,l),l&&u&4&&$0(a,i);break;case 22:i.memoizedState===null&&be(a,i,l),Aa(i,i.return);break;case 30:break;default:be(a,i,l)}e=e.sibling}}function zo(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Ka(l))}function xo(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ka(t))}function ee(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)td(t,e,l,n),e=e.sibling}function td(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:ee(t,e,l,n),a&2048&&ka(9,e);break;case 1:ee(t,e,l,n);break;case 3:ee(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ka(t)));break;case 12:if(a&2048){ee(t,e,l,n),t=e.stateNode;try{var i=e.memoizedProps,u=i.id,c=i.onPostCommit;typeof c=="function"&&c(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(f){Z(e,e.return,f)}}else ee(t,e,l,n);break;case 31:ee(t,e,l,n);break;case 13:ee(t,e,l,n);break;case 23:break;case 22:i=e.stateNode,u=e.alternate,e.memoizedState!==null?i._visibility&2?ee(t,e,l,n):Ea(t,e):i._visibility&2?ee(t,e,l,n):(i._visibility|=2,an(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&zo(u,e);break;case 24:ee(t,e,l,n),a&2048&&xo(e.alternate,e);break;default:ee(t,e,l,n)}}function an(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var i=t,u=e,c=l,f=n,r=u.flags;switch(u.tag){case 0:case 11:case 15:an(i,u,c,f,a),ka(8,u);break;case 23:break;case 22:var y=u.stateNode;u.memoizedState!==null?y._visibility&2?an(i,u,c,f,a):Ea(i,u):(y._visibility|=2,an(i,u,c,f,a)),a&&r&2048&&zo(u.alternate,u);break;case 24:an(i,u,c,f,a),a&&r&2048&&xo(u.alternate,u);break;default:an(i,u,c,f,a)}e=e.sibling}}function Ea(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:Ea(l,n),a&2048&&zo(n.alternate,n);break;case 24:Ea(l,n),a&2048&&xo(n.alternate,n);break;default:Ea(l,n)}e=e.sibling}}var da=8192;function nn(t,e,l){if(t.subtreeFlags&da)for(t=t.child;t!==null;)ed(t,e,l),t=t.sibling}function ed(t,e,l){switch(t.tag){case 26:nn(t,e,l),t.flags&da&&t.memoizedState!==null&&Gy(l,le,t.memoizedState,t.memoizedProps);break;case 5:nn(t,e,l);break;case 3:case 4:var n=le;le=ru(t.stateNode.containerInfo),nn(t,e,l),le=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=da,da=16777216,nn(t,e,l),da=n):nn(t,e,l));break;default:nn(t,e,l)}}function ld(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function ia(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];st=n,ad(n,t)}ld(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)nd(t),t=t.sibling}function nd(t){switch(t.tag){case 0:case 11:case 15:ia(t),t.flags&2048&&dl(9,t,t.return);break;case 3:ia(t);break;case 12:ia(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Bi(t)):ia(t);break;default:ia(t)}}function Bi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];st=n,ad(n,t)}ld(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:dl(8,e,e.return),Bi(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Bi(e));break;default:Bi(e)}t=t.sibling}}function ad(t,e){for(;st!==null;){var l=st;switch(l.tag){case 0:case 11:case 15:dl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Ka(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,st=n;else t:for(l=t;st!==null;){n=st;var a=n.sibling,i=n.return;if(k0(n),n===l){st=null;break t}if(a!==null){a.return=i,st=a;break t}st=i}}}var ly={getCacheForType:function(t){var e=ht(ut),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return ht(ut).controller.signal}},ny=typeof WeakMap=="function"?WeakMap:Map,G=0,V=null,D=null,R=0,j=0,Dt=null,Ie=!1,jn=!1,_o=!1,He=0,et=0,ml=0,Nl=0,Oo=0,Rt=0,Dn=0,Ca=null,xt=null,xf=!1,xu=0,id=0,au=1/0,iu=null,il=null,ft=0,ul=null,Hn=null,_e=0,_f=0,Of=null,ud=null,Ma=0,Lf=null;function Gt(){return(G&2)!==0&&R!==0?R&-R:M.T!==null?No():y1()}function cd(){if(Rt===0)if((R&536870912)===0||B){var t=si;si<<=1,(si&3932160)===0&&(si=262144),Rt=t}else Rt=536870912;return t=jt.current,t!==null&&(t.flags|=32),Rt}function _t(t,e,l){(t===V&&(j===2||j===9)||t.cancelPendingCommit!==null)&&(Un(t,0),Pe(t,R,Rt,!1)),Qa(t,l),((G&2)===0||t!==V)&&(t===V&&((G&2)===0&&(Nl|=l),et===4&&Pe(t,R,Rt,!1)),me(t))}function fd(t,e,l){if((G&6)!==0)throw Error(p(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Za(t,e),a=n?uy(t,e):Gc(t,e,!0),i=n;do{if(a===0){jn&&!n&&Pe(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!ay(l)){a=Gc(t,e,!1),i=!1;continue}if(a===2){if(i=e,t.errorRecoveryDisabledLanes&i)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var c=t;a=Ca;var f=c.current.memoizedState.isDehydrated;if(f&&(Un(c,u).flags|=256),u=Gc(c,u,!1),u!==2){if(_o&&!f){c.errorRecoveryDisabledLanes|=i,Nl|=i,a=4;break t}i=xt,xt=a,i!==null&&(xt===null?xt=i:xt.push.apply(xt,i))}a=u}if(i=!1,a!==2)continue}}if(a===1){Un(t,0),Pe(t,e,0,!0);break}t:{switch(n=t,i=a,i){case 0:case 1:throw Error(p(345));case 4:if((e&4194048)!==e)break;case 6:Pe(n,e,Rt,!Ie);break t;case 2:xt=null;break;case 3:case 5:break;default:throw Error(p(329))}if((e&62914560)===e&&(a=xu+300-Bt(),10<a)){if(Pe(n,e,Rt,!Ie),vu(n,0,!0)!==0)break t;_e=e,n.timeoutHandle=_d(zr.bind(null,n,l,xt,iu,xf,e,Rt,Nl,Dn,Ie,i,"Throttled",-0,0),a);break t}zr(n,l,xt,iu,xf,e,Rt,Nl,Dn,Ie,i,null,-0,0)}}break}while(!0);me(t)}function zr(t,e,l,n,a,i,u,c,f,r,y,h,g,v){if(t.timeoutHandle=-1,h=e.subtreeFlags,h&8192||(h&16785408)===16785408){h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Me},ed(e,i,h);var A=(i&62914560)===i?xu-Bt():(i&4194048)===i?id-Bt():0;if(A=Xy(h,A),A!==null){_e=i,t.cancelPendingCommit=A(_r.bind(null,t,e,i,l,n,a,u,c,f,y,h,null,g,v)),Pe(t,i,u,!r);return}}_r(t,e,i,l,n,a,u,c,f)}function ay(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],i=a.getSnapshot;a=a.value;try{if(!Xt(i(),a))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Pe(t,e,l,n){e&=~Oo,e&=~Nl,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var i=31-Yt(a),u=1<<i;n[i]=-1,a&=~u}l!==0&&d1(t,l,e)}function _u(){return(G&6)===0?(Wa(0,!1),!1):!0}function Lo(){if(D!==null){if(j===0)var t=D.return;else t=D,Te=jl=null,yo(t),Cn=null,Da=0,t=D;for(;t!==null;)j0(t.alternate,t),t=t.return;D=null}}function Un(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Ey(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),_e=0,Lo(),V=t,D=l=ze(t.current,null),R=e,j=0,Dt=null,Ie=!1,jn=Za(t,e),_o=!1,Dn=Rt=Oo=Nl=ml=et=0,xt=Ca=null,xf=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-Yt(n),i=1<<a;e|=t[a],n&=~i}return He=e,bu(),l}function od(t,e){z=null,M.H=Ua,e===Xn||e===Eu?(e=ar(),j=3):e===co?(e=ar(),j=4):j=e===Mo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Dt=e,D===null&&(et=1,eu(t,Ft(e,t.current)))}function sd(){var t=jt.current;return t===null?!0:(R&4194048)===R?It===null:(R&62914560)===R||(R&536870912)!==0?t===It:!1}function rd(){var t=M.H;return M.H=Ua,t===null?Ua:t}function dd(){var t=M.A;return M.A=ly,t}function uu(){et=4,Ie||(R&4194048)!==R&&jt.current!==null||(jn=!0),(ml&134217727)===0&&(Nl&134217727)===0||V===null||Pe(V,R,Rt,!1)}function Gc(t,e,l){var n=G;G|=2;var a=rd(),i=dd();(V!==t||R!==e)&&(iu=null,Un(t,e)),e=!1;var u=et;t:do try{if(j!==0&&D!==null){var c=D,f=Dt;switch(j){case 8:Lo(),u=6;break t;case 3:case 2:case 9:case 6:jt.current===null&&(e=!0);var r=j;if(j=0,Dt=null,Sn(t,c,f,r),l&&jn){u=0;break t}break;default:r=j,j=0,Dt=null,Sn(t,c,f,r)}}iy(),u=et;break}catch(y){od(t,y)}while(!0);return e&&t.shellSuspendCounter++,Te=jl=null,G=n,M.H=a,M.A=i,D===null&&(V=null,R=0,bu()),u}function iy(){for(;D!==null;)md(D)}function uy(t,e){var l=G;G|=2;var n=rd(),a=dd();V!==t||R!==e?(iu=null,au=Bt()+500,Un(t,e)):jn=Za(t,e);t:do try{if(j!==0&&D!==null){e=D;var i=Dt;e:switch(j){case 1:j=0,Dt=null,Sn(t,e,i,1);break;case 2:case 9:if(nr(i)){j=0,Dt=null,xr(e);break}e=function(){j!==2&&j!==9||V!==t||(j=7),me(t)},i.then(e,e);break t;case 3:j=7;break t;case 4:j=5;break t;case 7:nr(i)?(j=0,Dt=null,xr(e)):(j=0,Dt=null,Sn(t,e,i,7));break;case 5:var u=null;switch(D.tag){case 26:u=D.memoizedState;case 5:case 27:var c=D;if(u?Hd(u):c.stateNode.complete){j=0,Dt=null;var f=c.sibling;if(f!==null)D=f;else{var r=c.return;r!==null?(D=r,Ou(r)):D=null}break e}}j=0,Dt=null,Sn(t,e,i,5);break;case 6:j=0,Dt=null,Sn(t,e,i,6);break;case 8:Lo(),et=6;break t;default:throw Error(p(462))}}cy();break}catch(y){od(t,y)}while(!0);return Te=jl=null,M.H=n,M.A=a,G=l,D!==null?0:(V=null,R=0,bu(),et)}function cy(){for(;D!==null&&!Lm();)md(D)}function md(t){var e=X0(t.alternate,t,He);t.memoizedProps=t.pendingProps,e===null?Ou(t):D=e}function xr(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=br(l,e,e.pendingProps,e.type,void 0,R);break;case 11:e=br(l,e,e.pendingProps,e.type.render,e.ref,R);break;case 5:yo(e);default:j0(l,e),e=D=j1(e,He),e=X0(l,e,He)}t.memoizedProps=t.pendingProps,e===null?Ou(t):D=e}function Sn(t,e,l,n){Te=jl=null,yo(e),Cn=null,Da=0;var a=e.return;try{if(Wg(t,a,e,l,R)){et=1,eu(t,Ft(l,t.current)),D=null;return}}catch(i){if(a!==null)throw D=a,i;et=1,eu(t,Ft(l,t.current)),D=null;return}e.flags&32768?(B||n===1?t=!0:jn||(R&536870912)!==0?t=!1:(Ie=t=!0,(n===2||n===9||n===3||n===6)&&(n=jt.current,n!==null&&n.tag===13&&(n.flags|=16384))),gd(e,t)):Ou(e)}function Ou(t){var e=t;do{if((e.flags&32768)!==0){gd(e,Ie);return}t=e.return;var l=Ig(e.alternate,e,He);if(l!==null){D=l;return}if(e=e.sibling,e!==null){D=e;return}D=e=t}while(e!==null);et===0&&(et=5)}function gd(t,e){do{var l=Pg(t.alternate,t);if(l!==null){l.flags&=32767,D=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){D=t;return}D=t=l}while(t!==null);et=6,D=null}function _r(t,e,l,n,a,i,u,c,f){t.cancelPendingCommit=null;do Lu();while(ft!==0);if((G&6)!==0)throw Error(p(327));if(e!==null){if(e===t.current)throw Error(p(177));if(i=e.lanes|e.childLanes,i|=to,Xm(t,l,i,u,c,f),t===V&&(D=V=null,R=0),Hn=e,ul=t,_e=l,_f=i,Of=a,ud=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ry(wi,function(){return pd(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=M.T,M.T=null,a=X.p,X.p=2,u=G,G|=4;try{ty(t,e,l)}finally{G=u,X.p=a,M.T=n}}ft=1,yd(),vd(),hd()}}function yd(){if(ft===1){ft=0;var t=ul,e=Hn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var n=X.p;X.p=2;var a=G;G|=4;try{I0(e,t);var i=Uf,u=H1(t.containerInfo),c=i.focusedElem,f=i.selectionRange;if(u!==c&&c&&c.ownerDocument&&D1(c.ownerDocument.documentElement,c)){if(f!==null&&Pf(c)){var r=f.start,y=f.end;if(y===void 0&&(y=r),"selectionStart"in c)c.selectionStart=r,c.selectionEnd=Math.min(y,c.value.length);else{var h=c.ownerDocument||document,g=h&&h.defaultView||window;if(g.getSelection){var v=g.getSelection(),A=c.textContent.length,C=Math.min(f.start,A),L=f.end===void 0?C:Math.min(f.end,A);!v.extend&&C>L&&(u=L,L=C,C=u);var s=Fs(c,C),o=Fs(c,L);if(s&&o&&(v.rangeCount!==1||v.anchorNode!==s.node||v.anchorOffset!==s.offset||v.focusNode!==o.node||v.focusOffset!==o.offset)){var d=h.createRange();d.setStart(s.node,s.offset),v.removeAllRanges(),C>L?(v.addRange(d),v.extend(o.node,o.offset)):(d.setEnd(o.node,o.offset),v.addRange(d))}}}}for(h=[],v=c;v=v.parentNode;)v.nodeType===1&&h.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<h.length;c++){var S=h[c];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}gu=!!Hf,Uf=Hf=null}finally{G=a,X.p=n,M.T=l}}t.current=e,ft=2}}function vd(){if(ft===2){ft=0;var t=ul,e=Hn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var n=X.p;X.p=2;var a=G;G|=4;try{J0(t,e.alternate,e)}finally{G=a,X.p=n,M.T=l}}ft=3}}function hd(){if(ft===4||ft===3){ft=0,Nm();var t=ul,e=Hn,l=_e,n=ud;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ft=5:(ft=0,Hn=ul=null,Sd(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(il=null),Kf(l),e=e.stateNode,qt&&typeof qt.onCommitFiberRoot=="function")try{qt.onCommitFiberRoot(ja,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=M.T,a=X.p,X.p=2,M.T=null;try{for(var i=t.onRecoverableError,u=0;u<n.length;u++){var c=n[u];i(c.value,{componentStack:c.stack})}}finally{M.T=e,X.p=a}}(_e&3)!==0&&Lu(),me(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===Lf?Ma++:(Ma=0,Lf=t):Ma=0,Wa(0,!1)}}function Sd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ka(e)))}function Lu(){return yd(),vd(),hd(),pd()}function pd(){if(ft!==5)return!1;var t=ul,e=_f;_f=0;var l=Kf(_e),n=M.T,a=X.p;try{X.p=32>l?32:l,M.T=null,l=Of,Of=null;var i=ul,u=_e;if(ft=0,Hn=ul=null,_e=0,(G&6)!==0)throw Error(p(331));var c=G;if(G|=4,nd(i.current),td(i,i.current,u,l),G=c,Wa(0,!1),qt&&typeof qt.onPostCommitFiberRoot=="function")try{qt.onPostCommitFiberRoot(ja,i)}catch{}return!0}finally{X.p=a,M.T=n,Sd(t,e)}}function Or(t,e,l){e=Ft(l,e),e=Cf(t.stateNode,e,2),t=al(t,e,2),t!==null&&(Qa(t,2),me(t))}function Z(t,e,l){if(t.tag===3)Or(t,t,l);else for(;e!==null;){if(e.tag===3){Or(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(il===null||!il.has(n))){t=Ft(l,t),l=U0(2),n=al(e,l,2),n!==null&&(R0(l,n,e,t),Qa(n,2),me(n));break}}e=e.return}}function Xc(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new ny;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(_o=!0,a.add(l),t=fy.bind(null,t,e,l),e.then(t,t))}function fy(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,V===t&&(R&l)===l&&(et===4||et===3&&(R&62914560)===R&&300>Bt()-xu?(G&2)===0&&Un(t,0):Oo|=l,Dn===R&&(Dn=0)),me(t)}function bd(t,e){e===0&&(e=r1()),t=Xl(t,e),t!==null&&(Qa(t,e),me(t))}function oy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),bd(t,l)}function sy(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(p(314))}n!==null&&n.delete(e),bd(t,l)}function ry(t,e){return wf(t,e)}var cu=null,un=null,Nf=!1,fu=!1,jc=!1,tl=0;function me(t){t!==un&&t.next===null&&(un===null?cu=un=t:un=un.next=t),fu=!0,Nf||(Nf=!0,my())}function Wa(t,e){if(!jc&&fu){jc=!0;do for(var l=!1,n=cu;n!==null;){if(!e)if(t!==0){var a=n.pendingLanes;if(a===0)var i=0;else{var u=n.suspendedLanes,c=n.pingedLanes;i=(1<<31-Yt(42|t)+1)-1,i&=a&~(u&~c),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,Lr(n,i))}else i=R,i=vu(n,n===V?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||Za(n,i)||(l=!0,Lr(n,i));n=n.next}while(l);jc=!1}}function dy(){Ad()}function Ad(){fu=Nf=!1;var t=0;tl!==0&&Ay()&&(t=tl);for(var e=Bt(),l=null,n=cu;n!==null;){var a=n.next,i=Ed(n,e);i===0?(n.next=null,l===null?cu=a:l.next=a,a===null&&(un=l)):(l=n,(t!==0||(i&3)!==0)&&(fu=!0)),n=a}ft!==0&&ft!==5||Wa(t,!1),tl!==0&&(tl=0)}function Ed(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var u=31-Yt(i),c=1<<u,f=a[u];f===-1?((c&l)===0||(c&n)!==0)&&(a[u]=Gm(c,e)):f<=e&&(t.expiredLanes|=c),i&=~c}if(e=V,l=R,l=vu(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(j===2||j===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&vc(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Za(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&vc(n),Kf(l)){case 2:case 8:l=o1;break;case 32:l=wi;break;case 268435456:l=s1;break;default:l=wi}return n=Cd.bind(null,t),l=wf(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&vc(n),t.callbackPriority=2,t.callbackNode=null,2}function Cd(t,e){if(ft!==0&&ft!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Lu()&&t.callbackNode!==l)return null;var n=R;return n=vu(t,t===V?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(fd(t,n,e),Ed(t,Bt()),t.callbackNode!=null&&t.callbackNode===l?Cd.bind(null,t):null)}function Lr(t,e){if(Lu())return null;fd(t,e,!0)}function my(){Cy(function(){(G&6)!==0?wf(f1,dy):Ad()})}function No(){if(tl===0){var t=On;t===0&&(t=oi,oi<<=1,(oi&261888)===0&&(oi=256)),tl=t}return tl}function Nr(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:xi(""+t)}function Dr(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function gy(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var i=Nr((a[Ot]||null).action),u=n.submitter;u&&(e=(e=u[Ot]||null)?Nr(e.formAction):u.getAttribute("formAction"),e!==null&&(i=e,u=null));var c=new hu("action","action",null,n,a);t.push({event:c,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(tl!==0){var f=u?Dr(a,u):new FormData(a);Af(l,{pending:!0,data:f,method:a.method,action:i},null,f)}}else typeof i=="function"&&(c.preventDefault(),f=u?Dr(a,u):new FormData(a),Af(l,{pending:!0,data:f,method:a.method,action:i},i,f))},currentTarget:a}]})}}for(Ai=0;Ai<of.length;Ai++)Ei=of[Ai],Hr=Ei.toLowerCase(),Ur=Ei[0].toUpperCase()+Ei.slice(1),ne(Hr,"on"+Ur);var Ei,Hr,Ur,Ai;ne(R1,"onAnimationEnd");ne(B1,"onAnimationIteration");ne(q1,"onAnimationStart");ne("dblclick","onDoubleClick");ne("focusin","onFocus");ne("focusout","onBlur");ne(Dg,"onTransitionRun");ne(Hg,"onTransitionStart");ne(Ug,"onTransitionCancel");ne(Y1,"onTransitionEnd");xn("onMouseEnter",["mouseout","mouseover"]);xn("onMouseLeave",["mouseout","mouseover"]);xn("onPointerEnter",["pointerout","pointerover"]);xn("onPointerLeave",["pointerout","pointerover"]);ql("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ql("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ql("onBeforeInput",["compositionend","keypress","textInput","paste"]);ql("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ql("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ql("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ra="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(" "),yy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ra));function Md(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var i=void 0;if(e)for(var u=n.length-1;0<=u;u--){var c=n[u],f=c.instance,r=c.currentTarget;if(c=c.listener,f!==i&&a.isPropagationStopped())break t;i=c,a.currentTarget=r;try{i(a)}catch(y){Ki(y)}a.currentTarget=null,i=f}else for(u=0;u<n.length;u++){if(c=n[u],f=c.instance,r=c.currentTarget,c=c.listener,f!==i&&a.isPropagationStopped())break t;i=c,a.currentTarget=r;try{i(a)}catch(y){Ki(y)}a.currentTarget=null,i=f}}}}function N(t,e){var l=e[tf];l===void 0&&(l=e[tf]=new Set);var n=t+"__bubble";l.has(n)||(Td(e,t,2,!1),l.add(n))}function Zc(t,e,l){var n=0;e&&(n|=4),Td(l,t,n,e)}var Ci="_reactListening"+Math.random().toString(36).slice(2);function Do(t){if(!t[Ci]){t[Ci]=!0,v1.forEach(function(l){l!=="selectionchange"&&(yy.has(l)||Zc(l,!1,t),Zc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ci]||(e[Ci]=!0,Zc("selectionchange",!1,e))}}function Td(t,e,l,n){switch(Yd(e)){case 2:var a=Qy;break;case 8:a=wy;break;default:a=Bo}l=a.bind(null,e,l,t),a=void 0,!uf||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function Qc(t,e,l,n,a){var i=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var u=n.tag;if(u===3||u===4){var c=n.stateNode.containerInfo;if(c===a)break;if(u===4)for(u=n.return;u!==null;){var f=u.tag;if((f===3||f===4)&&u.stateNode.containerInfo===a)return;u=u.return}for(;c!==null;){if(u=on(c),u===null)return;if(f=u.tag,f===5||f===6||f===26||f===27){n=i=u;continue t}c=c.parentNode}}n=n.return}M1(function(){var r=i,y=Wf(l),h=[];t:{var g=G1.get(t);if(g!==void 0){var v=hu,A=t;switch(t){case"keypress":if(Oi(l)===0)break t;case"keydown":case"keyup":v=sg;break;case"focusin":A="focus",v=Ac;break;case"focusout":A="blur",v=Ac;break;case"beforeblur":case"afterblur":v=Ac;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=js;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Im;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=mg;break;case R1:case B1:case q1:v=eg;break;case Y1:v=yg;break;case"scroll":case"scrollend":v=Fm;break;case"wheel":v=hg;break;case"copy":case"cut":case"paste":v=ng;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Qs;break;case"toggle":case"beforetoggle":v=pg}var C=(e&4)!==0,L=!C&&(t==="scroll"||t==="scrollend"),s=C?g!==null?g+"Capture":null:g;C=[];for(var o=r,d;o!==null;){var S=o;if(d=S.stateNode,S=S.tag,S!==5&&S!==26&&S!==27||d===null||s===null||(S=xa(o,s),S!=null&&C.push(Ba(o,S,d))),L)break;o=o.return}0<C.length&&(g=new v(g,A,null,l,y),h.push({event:g,listeners:C}))}}if((e&7)===0){t:{if(g=t==="mouseover"||t==="pointerover",v=t==="mouseout"||t==="pointerout",g&&l!==af&&(A=l.relatedTarget||l.fromElement)&&(on(A)||A[qn]))break t;if((v||g)&&(g=y.window===y?y:(g=y.ownerDocument)?g.defaultView||g.parentWindow:window,v?(A=l.relatedTarget||l.toElement,v=r,A=A?on(A):null,A!==null&&(L=Xa(A),C=A.tag,A!==L||C!==5&&C!==27&&C!==6)&&(A=null)):(v=null,A=r),v!==A)){if(C=js,S="onMouseLeave",s="onMouseEnter",o="mouse",(t==="pointerout"||t==="pointerover")&&(C=Qs,S="onPointerLeave",s="onPointerEnter",o="pointer"),L=v==null?g:sa(v),d=A==null?g:sa(A),g=new C(S,o+"leave",v,l,y),g.target=L,g.relatedTarget=d,S=null,on(y)===r&&(C=new C(s,o+"enter",A,l,y),C.target=d,C.relatedTarget=L,S=C),L=S,v&&A)e:{for(C=vy,s=v,o=A,d=0,S=s;S;S=C(S))d++;S=0;for(var b=o;b;b=C(b))S++;for(;0<d-S;)s=C(s),d--;for(;0<S-d;)o=C(o),S--;for(;d--;){if(s===o||o!==null&&s===o.alternate){C=s;break e}s=C(s),o=C(o)}C=null}else C=null;v!==null&&Rr(h,g,v,C,!1),A!==null&&L!==null&&Rr(h,L,A,C,!0)}}t:{if(g=r?sa(r):window,v=g.nodeName&&g.nodeName.toLowerCase(),v==="select"||v==="input"&&g.type==="file")var H=Js;else if(Ks(g))if(L1)H=Og;else{H=xg;var E=zg}else v=g.nodeName,!v||v.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?r&&kf(r.elementType)&&(H=Js):H=_g;if(H&&(H=H(t,r))){O1(h,H,l,y);break t}E&&E(t,g,r),t==="focusout"&&r&&g.type==="number"&&r.memoizedProps.value!=null&&nf(g,"number",g.value)}switch(E=r?sa(r):window,t){case"focusin":(Ks(E)||E.contentEditable==="true")&&(dn=E,cf=r,ya=null);break;case"focusout":ya=cf=dn=null;break;case"mousedown":ff=!0;break;case"contextmenu":case"mouseup":case"dragend":ff=!1,$s(h,l,y);break;case"selectionchange":if(Ng)break;case"keydown":case"keyup":$s(h,l,y)}var x;if(If)t:{switch(t){case"compositionstart":var U="onCompositionStart";break t;case"compositionend":U="onCompositionEnd";break t;case"compositionupdate":U="onCompositionUpdate";break t}U=void 0}else rn?x1(t,l)&&(U="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(U="onCompositionStart");U&&(z1&&l.locale!=="ko"&&(rn||U!=="onCompositionStart"?U==="onCompositionEnd"&&rn&&(x=T1()):($e=y,Ff="value"in $e?$e.value:$e.textContent,rn=!0)),E=ou(r,U),0<E.length&&(U=new Zs(U,t,null,l,y),h.push({event:U,listeners:E}),x?U.data=x:(x=_1(l),x!==null&&(U.data=x)))),(x=Ag?Eg(t,l):Cg(t,l))&&(U=ou(r,"onBeforeInput"),0<U.length&&(E=new Zs("onBeforeInput","beforeinput",null,l,y),h.push({event:E,listeners:U}),E.data=x)),gy(h,t,r,l,y)}Md(h,e)})}function Ba(t,e,l){return{instance:t,listener:e,currentTarget:l}}function ou(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,i=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||i===null||(a=xa(t,l),a!=null&&n.unshift(Ba(t,a,i)),a=xa(t,e),a!=null&&n.push(Ba(t,a,i))),t.tag===3)return n;t=t.return}return[]}function vy(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Rr(t,e,l,n,a){for(var i=e._reactName,u=[];l!==null&&l!==n;){var c=l,f=c.alternate,r=c.stateNode;if(c=c.tag,f!==null&&f===n)break;c!==5&&c!==26&&c!==27||r===null||(f=r,a?(r=xa(l,i),r!=null&&u.unshift(Ba(l,r,f))):a||(r=xa(l,i),r!=null&&u.push(Ba(l,r,f)))),l=l.return}u.length!==0&&t.push({event:e,listeners:u})}var hy=/\r\n?/g,Sy=/\u0000|\uFFFD/g;function Br(t){return(typeof t=="string"?t:""+t).replace(hy,`
9
- `).replace(Sy,"")}function zd(t,e){return e=Br(e),Br(t)===e}function Q(t,e,l,n,a,i){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||_n(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&_n(t,""+n);break;case"className":di(t,"class",n);break;case"tabIndex":di(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":di(t,l,n);break;case"style":C1(t,n,i);break;case"data":if(e!=="object"){di(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=xi(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"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 i=="function"&&(l==="formAction"?(e!=="input"&&Q(t,e,"name",a.name,a,null),Q(t,e,"formEncType",a.formEncType,a,null),Q(t,e,"formMethod",a.formMethod,a,null),Q(t,e,"formTarget",a.formTarget,a,null)):(Q(t,e,"encType",a.encType,a,null),Q(t,e,"method",a.method,a,null),Q(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=xi(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=Me);break;case"onScroll":n!=null&&N("scroll",t);break;case"onScrollEnd":n!=null&&N("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(p(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(p(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}l=xi(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""+n):t.removeAttribute(l);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"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":N("beforetoggle",t),N("toggle",t),zi(t,"popover",n);break;case"xlinkActuate":ve(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":ve(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":ve(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":ve(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":ve(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":ve(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":ve(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":ve(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":ve(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":zi(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=km.get(l)||l,zi(t,l,n))}}function Df(t,e,l,n,a,i){switch(l){case"style":C1(t,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(p(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(p(60));t.innerHTML=l}}break;case"children":typeof n=="string"?_n(t,n):(typeof n=="number"||typeof n=="bigint")&&_n(t,""+n);break;case"onScroll":n!=null&&N("scroll",t);break;case"onScrollEnd":n!=null&&N("scrollend",t);break;case"onClick":n!=null&&(t.onclick=Me);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!h1.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),i=t[Ot]||null,i=i!=null?i[l]:null,typeof i=="function"&&t.removeEventListener(e,i,a),typeof n=="function")){typeof i!="function"&&i!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):zi(t,l,n)}}}function St(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":N("error",t),N("load",t);var n=!1,a=!1,i;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];if(u!=null)switch(i){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(p(137,e));default:Q(t,e,i,u,l,null)}}a&&Q(t,e,"srcSet",l.srcSet,l,null),n&&Q(t,e,"src",l.src,l,null);return;case"input":N("invalid",t);var c=i=u=a=null,f=null,r=null;for(n in l)if(l.hasOwnProperty(n)){var y=l[n];if(y!=null)switch(n){case"name":a=y;break;case"type":u=y;break;case"checked":f=y;break;case"defaultChecked":r=y;break;case"value":i=y;break;case"defaultValue":c=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(p(137,e));break;default:Q(t,e,n,y,l,null)}}b1(t,i,c,f,r,u,a,!1);return;case"select":N("invalid",t),n=u=i=null;for(a in l)if(l.hasOwnProperty(a)&&(c=l[a],c!=null))switch(a){case"value":i=c;break;case"defaultValue":u=c;break;case"multiple":n=c;default:Q(t,e,a,c,l,null)}e=i,l=u,t.multiple=!!n,e!=null?bn(t,!!n,e,!1):l!=null&&bn(t,!!n,l,!0);return;case"textarea":N("invalid",t),i=a=n=null;for(u in l)if(l.hasOwnProperty(u)&&(c=l[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":a=c;break;case"children":i=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(p(91));break;default:Q(t,e,u,c,l,null)}E1(t,n,a,i);return;case"option":for(f in l)l.hasOwnProperty(f)&&(n=l[f],n!=null)&&(f==="selected"?t.selected=n&&typeof n!="function"&&typeof n!="symbol":Q(t,e,f,n,l,null));return;case"dialog":N("beforetoggle",t),N("toggle",t),N("cancel",t),N("close",t);break;case"iframe":case"object":N("load",t);break;case"video":case"audio":for(n=0;n<Ra.length;n++)N(Ra[n],t);break;case"image":N("error",t),N("load",t);break;case"details":N("toggle",t);break;case"embed":case"source":case"link":N("error",t),N("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(r in l)if(l.hasOwnProperty(r)&&(n=l[r],n!=null))switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(p(137,e));default:Q(t,e,r,n,l,null)}return;default:if(kf(e)){for(y in l)l.hasOwnProperty(y)&&(n=l[y],n!==void 0&&Df(t,e,y,n,l,void 0));return}}for(c in l)l.hasOwnProperty(c)&&(n=l[c],n!=null&&Q(t,e,c,n,l,null))}function py(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,i=null,u=null,c=null,f=null,r=null,y=null;for(v in l){var h=l[v];if(l.hasOwnProperty(v)&&h!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":f=h;default:n.hasOwnProperty(v)||Q(t,e,v,null,n,h)}}for(var g in n){var v=n[g];if(h=l[g],n.hasOwnProperty(g)&&(v!=null||h!=null))switch(g){case"type":i=v;break;case"name":a=v;break;case"checked":r=v;break;case"defaultChecked":y=v;break;case"value":u=v;break;case"defaultValue":c=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(p(137,e));break;default:v!==h&&Q(t,e,g,v,n,h)}}lf(t,u,c,f,r,y,i,a);return;case"select":v=u=c=g=null;for(i in l)if(f=l[i],l.hasOwnProperty(i)&&f!=null)switch(i){case"value":break;case"multiple":v=f;default:n.hasOwnProperty(i)||Q(t,e,i,null,n,f)}for(a in n)if(i=n[a],f=l[a],n.hasOwnProperty(a)&&(i!=null||f!=null))switch(a){case"value":g=i;break;case"defaultValue":c=i;break;case"multiple":u=i;default:i!==f&&Q(t,e,a,i,n,f)}e=c,l=u,n=v,g!=null?bn(t,!!l,g,!1):!!n!=!!l&&(e!=null?bn(t,!!l,e,!0):bn(t,!!l,l?[]:"",!1));return;case"textarea":v=g=null;for(c in l)if(a=l[c],l.hasOwnProperty(c)&&a!=null&&!n.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:Q(t,e,c,null,n,a)}for(u in n)if(a=n[u],i=l[u],n.hasOwnProperty(u)&&(a!=null||i!=null))switch(u){case"value":g=a;break;case"defaultValue":v=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(p(91));break;default:a!==i&&Q(t,e,u,a,n,i)}A1(t,g,v);return;case"option":for(var A in l)g=l[A],l.hasOwnProperty(A)&&g!=null&&!n.hasOwnProperty(A)&&(A==="selected"?t.selected=!1:Q(t,e,A,null,n,g));for(f in n)g=n[f],v=l[f],n.hasOwnProperty(f)&&g!==v&&(g!=null||v!=null)&&(f==="selected"?t.selected=g&&typeof g!="function"&&typeof g!="symbol":Q(t,e,f,g,n,v));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 C in l)g=l[C],l.hasOwnProperty(C)&&g!=null&&!n.hasOwnProperty(C)&&Q(t,e,C,null,n,g);for(r in n)if(g=n[r],v=l[r],n.hasOwnProperty(r)&&g!==v&&(g!=null||v!=null))switch(r){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(p(137,e));break;default:Q(t,e,r,g,n,v)}return;default:if(kf(e)){for(var L in l)g=l[L],l.hasOwnProperty(L)&&g!==void 0&&!n.hasOwnProperty(L)&&Df(t,e,L,void 0,n,g);for(y in n)g=n[y],v=l[y],!n.hasOwnProperty(y)||g===v||g===void 0&&v===void 0||Df(t,e,y,g,n,v);return}}for(var s in l)g=l[s],l.hasOwnProperty(s)&&g!=null&&!n.hasOwnProperty(s)&&Q(t,e,s,null,n,g);for(h in n)g=n[h],v=l[h],!n.hasOwnProperty(h)||g===v||g==null&&v==null||Q(t,e,h,g,n,v)}function qr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function by(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],i=a.transferSize,u=a.initiatorType,c=a.duration;if(i&&c&&qr(u)){for(u=0,c=a.responseEnd,n+=1;n<l.length;n++){var f=l[n],r=f.startTime;if(r>c)break;var y=f.transferSize,h=f.initiatorType;y&&qr(h)&&(f=f.responseEnd,u+=y*(f<c?1:(c-r)/(f-r)))}if(--n,e+=8*(i+u)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Hf=null,Uf=null;function su(t){return t.nodeType===9?t:t.ownerDocument}function Yr(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Rf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var wc=null;function Ay(){var t=window.event;return t&&t.type==="popstate"?t===wc?!1:(wc=t,!0):(wc=null,!1)}var _d=typeof setTimeout=="function"?setTimeout:void 0,Ey=typeof clearTimeout=="function"?clearTimeout:void 0,Gr=typeof Promise=="function"?Promise:void 0,Cy=typeof queueMicrotask=="function"?queueMicrotask:typeof Gr<"u"?function(t){return Gr.resolve(null).then(t).catch(My)}:_d;function My(t){setTimeout(function(){throw t})}function yl(t){return t==="head"}function Xr(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),Bn(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")Ta(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Ta(l);for(var i=l.firstChild;i;){var u=i.nextSibling,c=i.nodeName;i[wa]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=u}}else l==="body"&&Ta(t.ownerDocument.body);l=a}while(l);Bn(e)}function jr(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function Bf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Bf(l),Jf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Ty(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[wa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Pt(t.nextSibling),t===null)break}return null}function zy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Pt(t.nextSibling),t===null))return null;return t}function Od(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Pt(t.nextSibling),t===null))return null;return t}function qf(t){return t.data==="$?"||t.data==="$~"}function Yf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function xy(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function Pt(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Gf=null;function Zr(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Pt(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Qr(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function Ld(t,e,l){switch(e=su(l),t){case"html":if(t=e.documentElement,!t)throw Error(p(452));return t;case"head":if(t=e.head,!t)throw Error(p(453));return t;case"body":if(t=e.body,!t)throw Error(p(454));return t;default:throw Error(p(451))}}function Ta(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Jf(t)}var te=new Map,wr=new Set;function ru(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Ue=X.d;X.d={f:_y,r:Oy,D:Ly,C:Ny,L:Dy,m:Hy,X:Ry,S:Uy,M:By};function _y(){var t=Ue.f(),e=_u();return t||e}function Oy(t){var e=Yn(t);e!==null&&e.tag===5&&e.type==="form"?C0(e):Ue.r(t)}var Zn=typeof document>"u"?null:document;function Nd(t,e,l){var n=Zn;if(n&&typeof e=="string"&&e){var a=Wt(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),wr.has(a)||(wr.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),St(e,"link",t),rt(e),n.head.appendChild(e)))}}function Ly(t){Ue.D(t),Nd("dns-prefetch",t,null)}function Ny(t,e){Ue.C(t,e),Nd("preconnect",t,e)}function Dy(t,e,l){Ue.L(t,e,l);var n=Zn;if(n&&t&&e){var a='link[rel="preload"][as="'+Wt(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+Wt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+Wt(l.imageSizes)+'"]')):a+='[href="'+Wt(t)+'"]';var i=a;switch(e){case"style":i=Rn(t);break;case"script":i=Qn(t)}te.has(i)||(t=$({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),te.set(i,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(Fa(i))||e==="script"&&n.querySelector($a(i))||(e=n.createElement("link"),St(e,"link",t),rt(e),n.head.appendChild(e)))}}function Hy(t,e){Ue.m(t,e);var l=Zn;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Wt(n)+'"][href="'+Wt(t)+'"]',i=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Qn(t)}if(!te.has(i)&&(t=$({rel:"modulepreload",href:t},e),te.set(i,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector($a(i)))return}n=l.createElement("link"),St(n,"link",t),rt(n),l.head.appendChild(n)}}}function Uy(t,e,l){Ue.S(t,e,l);var n=Zn;if(n&&t){var a=pn(n).hoistableStyles,i=Rn(t);e=e||"default";var u=a.get(i);if(!u){var c={loading:0,preload:null};if(u=n.querySelector(Fa(i)))c.loading=5;else{t=$({rel:"stylesheet",href:t,"data-precedence":e},l),(l=te.get(i))&&Ho(t,l);var f=u=n.createElement("link");rt(f),St(f,"link",t),f._p=new Promise(function(r,y){f.onload=r,f.onerror=y}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,qi(u,e,n)}u={type:"stylesheet",instance:u,count:1,state:c},a.set(i,u)}}}function Ry(t,e){Ue.X(t,e);var l=Zn;if(l&&t){var n=pn(l).hoistableScripts,a=Qn(t),i=n.get(a);i||(i=l.querySelector($a(a)),i||(t=$({src:t,async:!0},e),(e=te.get(a))&&Uo(t,e),i=l.createElement("script"),rt(i),St(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function By(t,e){Ue.M(t,e);var l=Zn;if(l&&t){var n=pn(l).hoistableScripts,a=Qn(t),i=n.get(a);i||(i=l.querySelector($a(a)),i||(t=$({src:t,async:!0,type:"module"},e),(e=te.get(a))&&Uo(t,e),i=l.createElement("script"),rt(i),St(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(a,i))}}function Vr(t,e,l,n){var a=(a=el.current)?ru(a):null;if(!a)throw Error(p(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Rn(l.href),l=pn(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Rn(l.href);var i=pn(a).hoistableStyles,u=i.get(t);if(u||(a=a.ownerDocument||a,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,u),(i=a.querySelector(Fa(t)))&&!i._p&&(u.instance=i,u.state.loading=5),te.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},te.set(t,l),i||qy(a,t,l,u.state))),e&&n===null)throw Error(p(528,""));return u}if(e&&n!==null)throw Error(p(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qn(l),l=pn(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(p(444,t))}}function Rn(t){return'href="'+Wt(t)+'"'}function Fa(t){return'link[rel="stylesheet"]['+t+"]"}function Dd(t){return $({},t,{"data-precedence":t.precedence,precedence:null})}function qy(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),St(e,"link",l),rt(e),t.head.appendChild(e))}function Qn(t){return'[src="'+Wt(t)+'"]'}function $a(t){return"script[async]"+t}function Kr(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Wt(l.href)+'"]');if(n)return e.instance=n,rt(n),n;var a=$({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),rt(n),St(n,"style",a),qi(n,l.precedence,t),e.instance=n;case"stylesheet":a=Rn(l.href);var i=t.querySelector(Fa(a));if(i)return e.state.loading|=4,e.instance=i,rt(i),i;n=Dd(l),(a=te.get(a))&&Ho(n,a),i=(t.ownerDocument||t).createElement("link"),rt(i);var u=i;return u._p=new Promise(function(c,f){u.onload=c,u.onerror=f}),St(i,"link",n),e.state.loading|=4,qi(i,l.precedence,t),e.instance=i;case"script":return i=Qn(l.src),(a=t.querySelector($a(i)))?(e.instance=a,rt(a),a):(n=l,(a=te.get(i))&&(n=$({},l),Uo(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),rt(a),St(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(p(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,qi(n,l.precedence,t));return e.instance}function qi(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,i=a,u=0;u<n.length;u++){var c=n[u];if(c.dataset.precedence===e)i=c;else if(i!==a)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Ho(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Uo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Yi=null;function Jr(t,e,l){if(Yi===null){var n=new Map,a=Yi=new Map;a.set(l,n)}else a=Yi,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var i=l[a];if(!(i[wa]||i[yt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var u=i.getAttribute(e)||"";u=t+u;var c=n.get(u);c?c.push(i):n.set(u,[i])}}return n}function kr(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Yy(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Hd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Gy(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Rn(n.href),i=e.querySelector(Fa(a));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=du.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=i,rt(i);return}i=e.ownerDocument||e,n=Dd(n),(a=te.get(a))&&Ho(n,a),i=i.createElement("link"),rt(i);var u=i;u._p=new Promise(function(c,f){u.onload=c,u.onerror=f}),St(i,"link",n),l.instance=i}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=du.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Vc=0;function Xy(t,e){return t.stylesheets&&t.count===0&&Gi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&Gi(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&Vc===0&&(Vc=62500*by());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Gi(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>Vc?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function du(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var mu=null;function Gi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,mu=new Map,e.forEach(jy,t),mu=null,du.call(t))}function jy(t,e){if(!(e.state.loading&4)){var l=mu.get(t);if(l)var n=l.get(null);else{l=new Map,mu.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<a.length;i++){var u=a[i];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(l.set(u.dataset.precedence,u),n=u)}n&&l.set(null,n)}a=e.instance,u=a.getAttribute("data-precedence"),i=l.get(u)||n,i===n&&l.set(null,a),l.set(u,a),this.count++,n=du.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),i?i.parentNode.insertBefore(a,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var qa={$$typeof:Ce,Provider:null,Consumer:null,_currentValue:xl,_currentValue2:xl,_threadCount:0};function Zy(t,e,l,n,a,i,u,c,f){this.tag=1,this.containerInfo=t,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=hc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hc(0),this.hiddenUpdates=hc(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=i,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Ud(t,e,l,n,a,i,u,c,f,r,y,h){return t=new Zy(t,e,l,u,f,r,y,h,c),e=1,i===!0&&(e|=24),i=Ut(3,null,null,e),t.current=i,i.stateNode=t,e=io(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:e},fo(i),t}function Rd(t){return t?(t=yn,t):yn}function Bd(t,e,l,n,a,i){a=Rd(a),n.context===null?n.context=a:n.pendingContext=a,n=nl(e),n.payload={element:l},i=i===void 0?null:i,i!==null&&(n.callback=i),l=al(t,n,e),l!==null&&(_t(l,t,e),ha(l,t,e))}function Wr(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Ro(t,e){Wr(t,e),(t=t.alternate)&&Wr(t,e)}function qd(t){if(t.tag===13||t.tag===31){var e=Xl(t,67108864);e!==null&&_t(e,t,67108864),Ro(t,67108864)}}function Fr(t){if(t.tag===13||t.tag===31){var e=Gt();e=Vf(e);var l=Xl(t,e);l!==null&&_t(l,t,e),Ro(t,e)}}var gu=!0;function Qy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=2,Bo(t,e,l,n)}finally{X.p=i,M.T=a}}function wy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=8,Bo(t,e,l,n)}finally{X.p=i,M.T=a}}function Bo(t,e,l,n){if(gu){var a=Xf(n);if(a===null)Qc(t,e,n,yu,l),$r(t,n);else if(Ky(a,t,e,l,n))n.stopPropagation();else if($r(t,n),e&4&&-1<Vy.indexOf(t)){for(;a!==null;){var i=Yn(a);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var u=Ml(i.pendingLanes);if(u!==0){var c=i;for(c.pendingLanes|=2,c.entangledLanes|=2;u;){var f=1<<31-Yt(u);c.entanglements[1]|=f,u&=~f}me(i),(G&6)===0&&(au=Bt()+500,Wa(0,!1))}}break;case 31:case 13:c=Xl(i,2),c!==null&&_t(c,i,2),_u(),Ro(i,2)}if(i=Xf(n),i===null&&Qc(t,e,n,yu,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else Qc(t,e,n,null,l)}}function Xf(t){return t=Wf(t),qo(t)}var yu=null;function qo(t){if(yu=null,t=on(t),t!==null){var e=Xa(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=n1(e),t!==null)return t;t=null}else if(l===31){if(t=a1(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return yu=t,null}function Yd(t){switch(t){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(Dm()){case f1:return 2;case o1:return 8;case wi:case Hm:return 32;case s1:return 268435456;default:return 32}default:return 32}}var jf=!1,cl=null,fl=null,ol=null,Ya=new Map,Ga=new Map,We=[],Vy="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 $r(t,e){switch(t){case"focusin":case"focusout":cl=null;break;case"dragenter":case"dragleave":fl=null;break;case"mouseover":case"mouseout":ol=null;break;case"pointerover":case"pointerout":Ya.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ga.delete(e.pointerId)}}function ua(t,e,l,n,a,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:i,targetContainers:[a]},e!==null&&(e=Yn(e),e!==null&&qd(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Ky(t,e,l,n,a){switch(e){case"focusin":return cl=ua(cl,t,e,l,n,a),!0;case"dragenter":return fl=ua(fl,t,e,l,n,a),!0;case"mouseover":return ol=ua(ol,t,e,l,n,a),!0;case"pointerover":var i=a.pointerId;return Ya.set(i,ua(Ya.get(i)||null,t,e,l,n,a)),!0;case"gotpointercapture":return i=a.pointerId,Ga.set(i,ua(Ga.get(i)||null,t,e,l,n,a)),!0}return!1}function Gd(t){var e=on(t.target);if(e!==null){var l=Xa(e);if(l!==null){if(e=l.tag,e===13){if(e=n1(l),e!==null){t.blockedOn=e,Us(t.priority,function(){Fr(l)});return}}else if(e===31){if(e=a1(l),e!==null){t.blockedOn=e,Us(t.priority,function(){Fr(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Xi(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Xf(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);af=n,l.target.dispatchEvent(n),af=null}else return e=Yn(l),e!==null&&qd(e),t.blockedOn=l,!1;e.shift()}return!0}function Ir(t,e,l){Xi(t)&&l.delete(e)}function Jy(){jf=!1,cl!==null&&Xi(cl)&&(cl=null),fl!==null&&Xi(fl)&&(fl=null),ol!==null&&Xi(ol)&&(ol=null),Ya.forEach(Ir),Ga.forEach(Ir)}function Mi(t,e){t.blockedOn===e&&(t.blockedOn=null,jf||(jf=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,Jy)))}var Ti=null;function Pr(t){Ti!==t&&(Ti=t,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,function(){Ti===t&&(Ti=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(qo(n||l)===null)continue;break}var i=Yn(l);i!==null&&(t.splice(e,3),e-=3,Af(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Bn(t){function e(f){return Mi(f,t)}cl!==null&&Mi(cl,t),fl!==null&&Mi(fl,t),ol!==null&&Mi(ol,t),Ya.forEach(e),Ga.forEach(e);for(var l=0;l<We.length;l++){var n=We[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<We.length&&(l=We[0],l.blockedOn===null);)Gd(l),l.blockedOn===null&&We.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],i=l[n+1],u=a[Ot]||null;if(typeof i=="function")u||Pr(l);else if(u){var c=null;if(i&&i.hasAttribute("formAction")){if(a=i,u=i[Ot]||null)c=u.formAction;else if(qo(a)!==null)continue}else c=u.action;typeof c=="function"?l[n+1]=c:(l.splice(n,3),n-=3),Pr(l)}}}function Xd(){function t(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(u){return a=u})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function Yo(t){this._internalRoot=t}Nu.prototype.render=Yo.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(p(409));var l=e.current,n=Gt();Bd(l,n,t,e,null,null)};Nu.prototype.unmount=Yo.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Bd(t.current,2,null,t,null,null),_u(),e[qn]=null}};function Nu(t){this._internalRoot=t}Nu.prototype.unstable_scheduleHydration=function(t){if(t){var e=y1();t={blockedOn:null,target:t,priority:e};for(var l=0;l<We.length&&e!==0&&e<We[l].priority;l++);We.splice(l,0,t),l===0&&Gd(t)}};var t1=e1.version;if(t1!=="19.2.4")throw Error(p(527,t1,"19.2.4"));X.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(p(188)):(t=Object.keys(t).join(","),Error(p(268,t)));return t=Tm(e),t=t!==null?i1(t):null,t=t===null?null:t.stateNode,t};var ky={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(ca=__REACT_DEVTOOLS_GLOBAL_HOOK__,!ca.isDisabled&&ca.supportsFiber))try{ja=ca.inject(ky),qt=ca}catch{}var ca;Du.createRoot=function(t,e){if(!l1(t))throw Error(p(299));var l=!1,n="",a=N0,i=D0,u=H0;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError)),e=Ud(t,1,!1,null,null,l,n,null,a,i,u,Xd),t[qn]=e.current,Do(t),new Yo(e)};Du.hydrateRoot=function(t,e,l){if(!l1(t))throw Error(p(299));var n=!1,a="",i=N0,u=D0,c=H0,f=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError),l.formState!==void 0&&(f=l.formState)),e=Ud(t,1,!0,e,l??null,n,a,f,i,u,c,Xd),e.context=Rd(null),l=e.current,n=Gt(),n=Vf(n),a=nl(n),a.callback=null,al(l,a,n),l=n,e.current.lanes=l,Qa(e,l),me(e),t[qn]=e.current,Do(t),new Nu(e)};Du.version="19.2.4"});var wd=ue((Vv,Qd)=>{"use strict";function Zd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zd)}catch(t){console.error(t)}}Zd(),Qd.exports=jd()});var kd=ue(Hu=>{"use strict";var Fy=Symbol.for("react.transitional.element"),$y=Symbol.for("react.fragment");function Jd(t,e,l){var n=null;if(l!==void 0&&(n=""+l),e.key!==void 0&&(n=""+e.key),"key"in e){l={};for(var a in e)a!=="key"&&(l[a]=e[a])}else l=e;return e=l.ref,{$$typeof:Fy,type:t,key:n,ref:e!==void 0?e:null,props:l}}Hu.Fragment=$y;Hu.jsx=Jd;Hu.jsxs=Jd});var pt=ue((Fv,Wd)=>{"use strict";Wd.exports=kd()});var Bv={};lm(Bv,{AccessibilityWidget:()=>W2,accessibility:()=>ei,configure:()=>Io,destroy:()=>Fo,getConfig:()=>$u,getSettings:()=>$o,init:()=>Wo,resetAllSettings:()=>Po});module.exports=nm(Bv);var K2=_(wd(),1);var Fu=_(k(),1);var Fd=_(k(),1);function Vd(t){var e,l,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;e<a;e++)t[e]&&(l=Vd(t[e]))&&(n&&(n+=" "),n+=l)}else for(l in t)t[l]&&(n&&(n+=" "),n+=l);return n}function Wy(){for(var t,e,l=0,n="",a=arguments.length;l<a;l++)(t=arguments[l])&&(e=Vd(t))&&(n&&(n+=" "),n+=e);return n}var Kd=Wy;function ge(...t){return Kd(t)}var vl=_(pt(),1),Go=Fd.default.forwardRef(({children:t,className:e,size:l="lg",leftIcon:n,rightIcon:a,disabled:i,...u},c)=>{let f=!!t,h=!f&&!!n!==!!a,g=l==="sm"?"text-sm px-3 py-2":"text-lg px-5 py-3",v=h?ge("rounded-full",l==="sm"?"w-[40px] h-[40px] p-0":"w-[60px] h-[60px] p-0"):"rounded-[30px] py-2 px-5";return(0,vl.jsxs)("button",{ref:c,className:ge("group cursor-pointer inline-flex items-center justify-center transition-all ease-in-out duration-200 relative overflow-hidden","apea-gradient text-white bg-blue-500 hover:ring-2 hover:ring-yellow-500 hover:font-semibold",g,v,i?"opacity-50 cursor-not-allowed":"active:scale-90",e),disabled:i,...u,children:[n&&(0,vl.jsx)("span",{className:ge(f&&"mr-2"),children:n}),f&&(0,vl.jsxs)("span",{className:"relative inline-flex items-center whitespace-nowrap",children:[(0,vl.jsx)("span",{className:"invisible font-bold","aria-hidden":"true",children:t}),(0,vl.jsx)("span",{className:"absolute inset-0 transition-all duration-200",children:t})]}),a&&(0,vl.jsx)("span",{className:ge(f&&"ml-2"),children:a})]})});Go.displayName="Button";var wn=_(pt(),1);function $d({size:t=24,color:e="currentColor",className:l,...n}){return(0,wn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 26 30",fill:e,className:l,"aria-hidden":"true",focusable:"false",...n,children:[(0,wn.jsx)("mask",{id:"path-1-inside-1_2435_12083",fill:"white",children:(0,wn.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z"})}),(0,wn.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z",strokeWidth:"0.354242",mask:"url(#path-1-inside-1_2435_12083)"})]})}var Qt=_(k(),1);var Id=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],Iy={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Id},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Id}};function Py(t){let{styles:e,selector:l,childrenSelector:n}=t,a="";if(e){let u=Object.keys(e).map(c=>`${c}: ${e[c]} !important;`).join(" ");a+=`${l} { ${u} }`,n&&n.forEach(c=>{a+=`${l} ${c} { ${u} }`})}return a}function tv({css:t,id:e}){let l=document.getElementById(e);l&&l.remove();let n=document.createElement("style");n.id=e,n.textContent=t,document.head.appendChild(n)}function Uu(t){let e=Iy[t],l="ape-accessibility-contrast",n="ape-contrast-active";if(!e){let i=document.getElementById(l);i&&i.remove(),document.documentElement.classList.remove(n);return}let a=Py({...e,selector:`html.${n}`});tv({css:a,id:l}),document.documentElement.classList.add(n)}var Xo="ape-accessibility-settings";function Pd(t,e,l=30){let n=new Date;n.setTime(n.getTime()+l*24*60*60*1e3),document.cookie=`${t}=${e};expires=${n.toUTCString()};path=/`}function ev(t){let e=t+"=",l=document.cookie.split(";");for(let n=0;n<l.length;n++){let a=l[n];for(;a?.charAt(0)===" ";)a=a?.substring(1,a?.length);if(a?.indexOf(e)===0)return a.substring(e.length,a.length)}return null}function lv(t,e){let l=JSON.stringify(e);try{localStorage.setItem(t,l)}catch(n){console.error("Error saving storage data:",n),Pd(t,l)}}function nv(t){let e=null;try{e=localStorage.getItem(t)}catch(l){console.error("Error getting storage data:",l),e=ev(t)}if(!e)return null;try{return JSON.parse(e)}catch(l){return console.error("Error parsing storage data:",l),null}}function av(t){try{localStorage.removeItem(t)}catch(e){Pd(t,"",-1),console.error("Error clearing storage data:",e)}}var jo=class{getSettings(){return nv(Xo)}saveSettings(e){let l={...e,updatedAt:new Date};lv(Xo,l)}clearSettings(){av(Xo)}},Ru=new jo;var ae={fontSize:100,contrast:"normal",language:"es",colorblindMode:"normal",saturationMode:"normal",dyslexiaFont:!1,letterSpacing:0,lineHeight:0,fontWeight:!1,highlightMode:"none",readingGuide:!1,stopAnimations:!1,bigCursor:!1,hideImages:!1,textAlign:"default",ttsActive:!1},Zt={...ae};function iv(){let t=Ru.getSettings();return t&&(Zt={...ae,...t}),Zt}function O(){return{...Zt}}function Zo(t){return Zt={...Zt,...t,updatedAt:new Date},Ru.saveSettings(Zt),t2("update",Zt),Zt}function Vn(){return Zt={...ae},Ru.saveSettings(Zt),t2("reset",Zt),Zt}function q(t,e){return Zo({[t]:e})}function t2(t,e){let l=new CustomEvent("accessibilitySettingsChanged",{detail:{type:t,settings:e,timestamp:new Date}});window.dispatchEvent(l)}function e2(t=Zt){return t.fontSize!==ae.fontSize||t.contrast!==ae.contrast||t.colorblindMode!==ae.colorblindMode||t.saturationMode!==ae.saturationMode||t.dyslexiaFont===!0||(t.letterSpacing??0)>0||(t.lineHeight??0)>0||t.fontWeight===!0||t.highlightMode!==ae.highlightMode||t.readingGuide===!0||t.stopAnimations===!0||t.bigCursor===!0||t.hideImages===!0||t.textAlign!==ae.textAlign||t.ttsActive===!0}typeof window<"u"&&iv();function l2(){let[t,e]=(0,Qt.useState)(()=>O().contrast||"normal");(0,Qt.useEffect)(()=>{Uu(t)},[]),(0,Qt.useEffect)(()=>{let y=h=>{let{settings:g}=h.detail,v=g.contrast||"normal";v!==t&&(e(v),Uu(v))};return window.addEventListener("accessibilitySettingsChanged",y),()=>{window.removeEventListener("accessibilitySettingsChanged",y)}},[t]);let l=(0,Qt.useCallback)(y=>{e(y),Uu(y),q("contrast",y),window.dispatchEvent(new CustomEvent("accessibilityContrastChanged",{detail:{mode:y,isActive:y!=="normal"}}))},[]),n=(0,Qt.useCallback)(()=>{l(t==="normal"?"high":"normal")},[t,l]),a=(0,Qt.useCallback)(y=>{l(y)},[l]),i=(0,Qt.useCallback)(()=>{l(t==="high"?"normal":"high")},[t,l]),u=(0,Qt.useCallback)(()=>{l(t==="dark"?"normal":"dark")},[t,l]),c=(0,Qt.useCallback)(()=>{l(t==="light"?"normal":"light")},[t,l]),f=(0,Qt.useCallback)(()=>{switch(t){case"high":return"Alto contraste";case"dark":return"Contraste oscuro";case"light":return"Contraste claro";default:return"Normal"}},[t]);return{contrastMode:t,isActive:t!=="normal",getContrastDescription:f,setContrastMode:a,updateContrast:l,toggleContrast:n,toggleHighContrast:i,toggleDarkContrast:u,toggleLightContrast:c,isHighContrast:t==="high",isDarkContrast:t==="dark",isLightContrast:t==="light"}}var Nt=_(k(),1);var n2=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],uv="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",a2={};n2.forEach(t=>{a2[t]=!0});function cv(t=1){document.querySelectorAll(uv).forEach(e=>{let l=e;if(Array.prototype.slice.call(l.classList).some(u=>a2[`.${u}`])||n2.some(u=>l.matches(u)))return;let a=Number(l.dataset.apeOrgFontSize)||parseInt(window.getComputedStyle(l).fontSize);l.dataset.apeOrgFontSize||(l.dataset.apeOrgFontSize=String(a));let i=a*t;l.style.fontSize=`${i}px`})}function fv(){document.querySelectorAll("[data-ape-org-font-size]").forEach(t=>{let e=t,l=e.dataset.apeOrgFontSize;l&&(e.style.fontSize=`${l}px`,delete e.dataset.apeOrgFontSize)})}function ov(t){return t/100}function Bu(t){let e=ov(t);t===100?fv():cv(e)}function i2(){let[a,i]=(0,Nt.useState)(()=>O().fontSize||100),[u,c]=(0,Nt.useState)(!1);(0,Nt.useEffect)(()=>{Bu(a)},[]),(0,Nt.useEffect)(()=>{let s=o=>{let{settings:d}=o.detail,S=d.fontSize||100;S!==a&&(i(S),Bu(S))};return window.addEventListener("accessibilitySettingsChanged",s),()=>{window.removeEventListener("accessibilitySettingsChanged",s)}},[a]);let f=(0,Nt.useCallback)(s=>{i(s),Bu(s),q("fontSize",s),window.dispatchEvent(new CustomEvent("accessibilityTextSizeChanged",{detail:{percentage:s,isActive:s!==100}}))},[]),r=(0,Nt.useCallback)(()=>{let s=Math.min(a+5,120);s!==a&&f(s)},[a,f]),y=(0,Nt.useCallback)(()=>{let s=Math.max(a-5,90);s!==a&&f(s)},[a,f]),h=(0,Nt.useCallback)(()=>{f(100)},[f]),g=(0,Nt.useCallback)(s=>{s>=90&&s<=120&&f(s)},[f]),v=(0,Nt.useCallback)(()=>{c(!u)},[u]),A=(0,Nt.useCallback)(()=>a===100?"Normal":a<100?`Reducido ${a}%`:`Aumentado ${a}%`,[a]),C=a<120,L=a>90;return{textSizePercentage:a,increaseTextSize:r,decreaseTextSize:y,resetTextSize:h,canIncrease:C,canDecrease:L,getTextSizeDescription:A,isActive:a!==100,toggleTextSizeOptions:v,setSpecificTextSize:g,isOptionsOpen:u,setIsOptionsOpen:c,MIN_SIZE:90,MAX_SIZE:120,NORMAL_SIZE:100,INCREMENT:5}}var Re=_(k(),1);function u2(){let[t,e]=(0,Re.useState)(()=>O().language||"es");(0,Re.useEffect)(()=>{let u=c=>{let{settings:f}=c.detail,r=f.language||"es";r!==t&&e(r)};return window.addEventListener("accessibilitySettingsChanged",u),()=>{window.removeEventListener("accessibilitySettingsChanged",u)}},[t]);let l=(0,Re.useCallback)(u=>{e(u),q("language",u),window.dispatchEvent(new CustomEvent("accessibilityLanguageChanged",{detail:{mode:u,isActive:u!=="es"}}))},[]),n=(0,Re.useCallback)(()=>{l(t==="es"?"en":"es")},[t,l]),a=(0,Re.useCallback)(u=>{l(u)},[l]),i=(0,Re.useCallback)(()=>t==="en"?"English":"Espa\xF1ol",[t]);return{languageMode:t,isActive:t!=="es",toggleLanguage:n,setSpecificLanguage:a,getLanguageDescription:i,updateLanguage:l,isEnglish:t==="en",isSpanish:t==="es"}}var Zl=_(k(),1);function qu(t){let e=document.documentElement;t==="normal"?e.removeAttribute("data-colorblind-mode"):e.setAttribute("data-colorblind-mode",t)}function c2(){let[t,e]=(0,Zl.useState)(()=>O().colorblindMode??"normal");(0,Zl.useEffect)(()=>{qu(t)},[]),(0,Zl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.colorblindMode??"normal";u!==t&&(e(u),qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Zl.useCallback)(n=>{e(n),qu(n),q("colorblindMode",n),window.dispatchEvent(new CustomEvent("accessibilityColorblindChanged",{detail:{mode:n}}))},[]);return{colorblindMode:t,setColorblindMode:l,isActive:t!=="normal"}}var Ql=_(k(),1);var f2={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},sv=Object.values(f2).filter(Boolean);function Yu(t){let e=document.documentElement;sv.forEach(n=>e.classList.remove(n));let l=f2[t];l&&e.classList.add(l)}function o2(){let[t,e]=(0,Ql.useState)(()=>O().saturationMode??"normal");(0,Ql.useEffect)(()=>{Yu(t)},[]),(0,Ql.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.saturationMode??"normal";u!==t&&(e(u),Yu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Ql.useCallback)(n=>{e(n),Yu(n),q("saturationMode",n),window.dispatchEvent(new CustomEvent("accessibilitySaturationChanged",{detail:{mode:n}}))},[]);return{saturationMode:t,setSaturationMode:l,isActive:t!=="normal"}}var wl=_(k(),1);var s2="accessibility-dyslexia";function Gu(t){let e=document.documentElement;t?e.classList.add(s2):e.classList.remove(s2)}function r2(){let[t,e]=(0,wl.useState)(()=>O().dyslexiaFont??!1);(0,wl.useEffect)(()=>{Gu(t)},[]),(0,wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.dyslexiaFont??!1;u!==t&&(e(u),Gu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,wl.useCallback)(()=>{let n=!t;e(n),Gu(n),q("dyslexiaFont",n),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:n}}))},[t]);return{isActive:t,toggle:l}}var Be=_(k(),1);var d2="accessibility-letter-spacing",m2="accessibility-line-height",g2="accessibility-font-weight";function Kn(t){let e=document.documentElement;e.style.setProperty("--accessibility-letter-spacing",String(t)),t>0?e.classList.add(d2):e.classList.remove(d2)}function Jn(t){let e=document.documentElement;e.style.setProperty("--accessibility-line-height",String(t)),t>0?e.classList.add(m2):e.classList.remove(m2)}function Xu(t){let e=document.documentElement;t?e.classList.add(g2):e.classList.remove(g2)}var y2=3;function v2(){let[t,e]=(0,Be.useState)(()=>O().letterSpacing??0);(0,Be.useEffect)(()=>{Kn(t)},[]),(0,Be.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.letterSpacing??0;f!==t&&(e(f),Kn(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,Be.useCallback)(()=>{let i=Math.min(t+1,y2);e(i),Kn(i),q("letterSpacing",i)},[t]),n=(0,Be.useCallback)(()=>{let i=Math.max(t-1,0);e(i),Kn(i),q("letterSpacing",i)},[t]),a=(0,Be.useCallback)(()=>{e(0),Kn(0),q("letterSpacing",0)},[]);return{level:t,increase:l,decrease:n,reset:a,isActive:t>0,canIncrease:t<y2,canDecrease:t>0}}var qe=_(k(),1);var h2=3;function S2(){let[t,e]=(0,qe.useState)(()=>O().lineHeight??0);(0,qe.useEffect)(()=>{Jn(t)},[]),(0,qe.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.lineHeight??0;f!==t&&(e(f),Jn(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,qe.useCallback)(()=>{let i=Math.min(t+1,h2);e(i),Jn(i),q("lineHeight",i)},[t]),n=(0,qe.useCallback)(()=>{let i=Math.max(t-1,0);e(i),Jn(i),q("lineHeight",i)},[t]),a=(0,qe.useCallback)(()=>{e(0),Jn(0),q("lineHeight",0)},[]);return{level:t,increase:l,decrease:n,reset:a,isActive:t>0,canIncrease:t<h2,canDecrease:t>0}}var Vl=_(k(),1);function p2(){let[t,e]=(0,Vl.useState)(()=>O().fontWeight??!1);(0,Vl.useEffect)(()=>{Xu(t)},[]),(0,Vl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.fontWeight??!1;u!==t&&(e(u),Xu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Vl.useCallback)(()=>{let n=!t;e(n),Xu(n),q("fontWeight",n)},[t]);return{isBold:t,toggle:l,isActive:t}}var Ye=_(k(),1);function ju(t){let e=document.documentElement;t==="none"?e.removeAttribute("data-highlight"):e.setAttribute("data-highlight",t)}function b2(){let[t,e]=(0,Ye.useState)(()=>O().highlightMode??"none");(0,Ye.useEffect)(()=>{ju(t)},[]),(0,Ye.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.highlightMode??"none";f!==t&&(e(f),ju(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,Ye.useCallback)(i=>{e(i),ju(i),q("highlightMode",i)},[]),n=(0,Ye.useCallback)(()=>{l(t==="titles"?"none":t==="links"?"both":t==="both"?"links":"titles")},[t,l]),a=(0,Ye.useCallback)(()=>{l(t==="links"?"none":t==="titles"?"both":t==="both"?"titles":"links")},[t,l]);return{highlightMode:t,setHighlightMode:l,toggleTitles:n,toggleLinks:a,isTitlesActive:t==="titles"||t==="both",isLinksActive:t==="links"||t==="both",isActive:t!=="none"}}var Kl=_(k(),1);var A2="accessibility-stop-animations",E2="accessibility-big-cursor";function Zu(t){t?rv():dv()}function Qu(t){let e=document.documentElement;t?e.classList.add(A2):e.classList.remove(A2)}function wu(t){let e=document.documentElement;t?e.classList.add(E2):e.classList.remove(E2)}var C2=`
1
+ "use strict";var Xt=Object.create;var de=Object.defineProperty;var Kt=Object.getOwnPropertyDescriptor;var Yt=Object.getOwnPropertyNames;var qt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Qt=(e,t)=>{for(var n in t)de(e,n,{get:t[n],enumerable:!0})},Ze=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Yt(t))!Jt.call(e,s)&&s!==n&&de(e,s,{get:()=>t[s],enumerable:!(o=Kt(t,s))||o.enumerable});return e};var je=(e,t,n)=>(n=e!=null?Xt(qt(e)):{},Ze(t||!e||!e.__esModule?de(n,"default",{value:e,enumerable:!0}):n,e)),ei=e=>Ze(de({},"__esModule",{value:!0}),e);var Fi={};Qt(Fi,{AccessibilityWidget:()=>Ut,accessibility:()=>le,configure:()=>Ge,destroy:()=>Be,getConfig:()=>ke,getSettings:()=>Ve,init:()=>De,resetAllSettings:()=>$e});module.exports=ei(Fi);var $t=require("react-dom/client");var Me=require("react");var Xe=je(require("react"),1);var Ue=je(require("clsx"),1);function E(...e){return(0,Ue.default)(e)}var H=require("react/jsx-runtime"),Ne=Xe.default.forwardRef(({children:e,className:t,size:n="lg",leftIcon:o,rightIcon:s,disabled:r,...a},c)=>{let l=!!e,L=!l&&!!o!==!!s,w=n==="sm"?"text-sm px-3 py-2":"text-lg px-5 py-3",S=L?E("rounded-full",n==="sm"?"w-[40px] h-[40px] p-0":"w-[60px] h-[60px] p-0"):"rounded-[30px] py-2 px-5";return(0,H.jsxs)("button",{ref:c,className:E("group cursor-pointer inline-flex items-center justify-center transition-all ease-in-out duration-200 relative overflow-hidden","apea-gradient text-white bg-blue-500 hover:ring-2 hover:ring-yellow-500 hover:font-semibold",w,S,r?"opacity-50 cursor-not-allowed":"active:scale-90",t),disabled:r,...a,children:[o&&(0,H.jsx)("span",{className:E(l&&"mr-2"),children:o}),l&&(0,H.jsxs)("span",{className:"relative inline-flex items-center whitespace-nowrap",children:[(0,H.jsx)("span",{className:"invisible font-bold","aria-hidden":"true",children:e}),(0,H.jsx)("span",{className:"absolute inset-0 transition-all duration-200",children:e})]}),s&&(0,H.jsx)("span",{className:E(l&&"ml-2"),children:s})]})});Ne.displayName="Button";var Q=require("react/jsx-runtime");function Ke({size:e=24,color:t="currentColor",className:n,...o}){return(0,Q.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 26 30",fill:t,className:n,"aria-hidden":"true",focusable:"false",...o,children:[(0,Q.jsx)("mask",{id:"path-1-inside-1_2435_12083",fill:"white",children:(0,Q.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z"})}),(0,Q.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4917 0.0390191C10.9891 0.276653 9.83951 1.43644 9.61036 2.94578C9.45194 3.98907 9.82094 5.09148 10.5813 5.84664C11.935 7.19114 14.0664 7.19114 15.4201 5.84664C16.7606 4.51534 16.7599 2.35948 15.4184 1.00802C14.6598 0.24369 13.5405 -0.126872 12.4917 0.0390191ZM12.706 1.73821C12.3594 1.80312 12.0529 1.96654 11.7962 2.22334C11.5927 2.42688 11.4709 2.62091 11.3736 2.8966L11.3042 3.09318V3.42818V3.76317L11.3736 3.95975C11.4709 4.23544 11.5927 4.42947 11.7962 4.63302C11.9997 4.83659 12.1937 4.95842 12.4693 5.05578L12.6658 5.12519H13.0007H13.3356L13.5321 5.05578C13.8077 4.95842 14.0017 4.83659 14.2052 4.63302C14.4087 4.42947 14.5305 4.23544 14.6278 3.95975L14.6972 3.76317V3.42818V3.09318L14.6278 2.8966C14.5305 2.62091 14.4087 2.42688 14.2052 2.22334C13.8866 1.90463 13.5251 1.74475 13.0811 1.72625C12.9411 1.72041 12.7723 1.7258 12.706 1.73821ZM2.25726 6.41702C2.03505 6.46277 1.77857 6.56493 1.57407 6.68923C0.660849 7.24423 0.26669 8.37245 0.639978 9.36291C0.842577 9.90052 1.26101 10.3605 1.76161 10.5958C1.86476 10.6442 3.47127 11.225 5.3316 11.8863L8.71405 13.0887V15.9233V18.7579L7.62872 23.1003C7.0318 25.4885 6.53337 27.5356 6.5211 27.6494C6.40938 28.6853 7.0643 29.6429 8.08672 29.9387L8.29878 30L8.64707 29.998C9.06199 29.9955 9.23847 29.9553 9.5888 29.7832C10.0024 29.58 10.368 29.2187 10.5625 28.821C10.6057 28.7326 11.169 27.0715 11.8142 25.1297C12.4594 23.188 12.9933 21.5993 13.0007 21.5993C13.0081 21.5993 13.542 23.188 14.1872 25.1297C14.8324 27.0715 15.3957 28.7326 15.439 28.821C15.6334 29.2187 15.999 29.58 16.4126 29.7832C16.763 29.9553 16.9394 29.9955 17.3544 29.998L17.7026 30L17.9147 29.9387C18.9371 29.6429 19.5921 28.6853 19.4803 27.6494C19.4681 27.5356 18.9696 25.4885 18.3727 23.1003L17.2874 18.7579V15.9233V13.0887L20.6698 11.8863C22.5302 11.225 24.1367 10.6442 24.2398 10.5958C25.1725 10.1573 25.6811 9.08532 25.4407 8.06454C25.3872 7.83741 25.2031 7.44981 25.0524 7.24699C24.8326 6.95136 24.4552 6.66642 24.0925 6.5224C23.7068 6.36927 23.1663 6.33116 22.7663 6.4289C22.6484 6.45768 21.1414 6.95206 19.4174 7.5275L16.283 8.57374H13.0007H9.71847L6.58398 7.5275C4.86001 6.95206 3.35304 6.45768 3.23515 6.4289L3.02082 6.37653L2.72611 6.37886C2.56402 6.38015 2.35304 6.39733 2.25726 6.41702ZM2.50479 8.13564C2.30015 8.23654 2.17455 8.4846 2.2258 8.68659C2.25602 8.80572 2.34248 8.94165 2.42955 9.00696C2.46227 9.03151 4.27547 9.68767 6.45889 10.4651L10.4287 11.8786V15.4254V18.9723L9.33026 23.3672C8.7261 25.7844 8.2318 27.8136 8.2318 27.8766C8.2318 28.0357 8.30837 28.1644 8.44648 28.2374C8.63659 28.338 8.82523 28.3031 8.96045 28.1424L9.03019 28.0595L10.6277 23.2679L12.2253 18.4763L12.3139 18.3555C12.4162 18.2158 12.5635 18.1109 12.7427 18.05C13.0769 17.9365 13.4748 18.0652 13.6876 18.3555L13.7761 18.4763L15.3737 23.2679L16.9712 28.0595L17.041 28.1424C17.1762 28.3031 17.3648 28.338 17.5549 28.2374C17.6931 28.1644 17.7696 28.0357 17.7696 27.8766C17.7696 27.8136 17.2753 25.7844 16.6712 23.3672L15.5727 18.9723V15.4254V11.8785L19.5518 10.4618L23.531 9.04509L23.6127 8.96515C23.732 8.84849 23.781 8.73869 23.7817 8.58604C23.7826 8.42537 23.7211 8.30671 23.5763 8.18967L23.4754 8.10809L23.3218 8.09826L23.1681 8.08842L19.8729 9.18869L16.5776 10.2889H13.0007H9.42379L6.12865 9.19013L2.83352 8.09134L2.71285 8.09196C2.64646 8.09228 2.55285 8.11195 2.50479 8.13564Z",strokeWidth:"0.354242",mask:"url(#path-1-inside-1_2435_12083)"})]})}var v=require("react");var Ye=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],ti={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Ye},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Ye}};function ii(e){let{styles:t,selector:n,childrenSelector:o}=e,s="";if(t){let a=Object.keys(t).map(c=>`${c}: ${t[c]} !important;`).join(" ");s+=`${n} { ${a} }`,o&&o.forEach(c=>{s+=`${n} ${c} { ${a} }`})}return s}function ni({css:e,id:t}){let n=document.getElementById(t);n&&n.remove();let o=document.createElement("style");o.id=t,o.textContent=e,document.head.appendChild(o)}function ue(e){let t=ti[e],n="ape-accessibility-contrast",o="ape-contrast-active";if(!t){let r=document.getElementById(n);r&&r.remove(),document.documentElement.classList.remove(o);return}let s=ii({...t,selector:`html.${o}`});ni({css:s,id:n}),document.documentElement.classList.add(o)}var Te="ape-accessibility-settings";function qe(e,t,n=30){let o=new Date;o.setTime(o.getTime()+n*24*60*60*1e3),document.cookie=`${e}=${t};expires=${o.toUTCString()};path=/`}function oi(e){let t=e+"=",n=document.cookie.split(";");for(let o=0;o<n.length;o++){let s=n[o];for(;s?.charAt(0)===" ";)s=s?.substring(1,s?.length);if(s?.indexOf(t)===0)return s.substring(t.length,s.length)}return null}function si(e,t){let n=JSON.stringify(t);try{localStorage.setItem(e,n)}catch(o){console.error("Error saving storage data:",o),qe(e,n)}}function ri(e){let t=null;try{t=localStorage.getItem(e)}catch(n){console.error("Error getting storage data:",n),t=oi(e)}if(!t)return null;try{return JSON.parse(t)}catch(n){return console.error("Error parsing storage data:",n),null}}function ai(e){try{localStorage.removeItem(e)}catch(t){qe(e,"",-1),console.error("Error clearing storage data:",t)}}var Re=class{getSettings(){return ri(Te)}saveSettings(t){let n={...t,updatedAt:new Date};si(Te,n)}clearSettings(){ai(Te)}},ge=new Re;var x={fontSize:100,contrast:"normal",language:"es",colorblindMode:"normal",saturationMode:"normal",dyslexiaFont:!1,letterSpacing:0,lineHeight:0,fontWeight:!1,highlightMode:"none",readingGuide:!1,stopAnimations:!1,bigCursor:!1,hideImages:!1,textAlign:"default",ttsActive:!1},y={...x};function ci(){let e=ge.getSettings();return e&&(y={...x,...e}),y}function d(){return{...y}}function Pe(e){return y={...y,...e,updatedAt:new Date},ge.saveSettings(y),Je("update",y),y}function ee(){return y={...x},ge.saveSettings(y),Je("reset",y),y}function u(e,t){return Pe({[e]:t})}function Je(e,t){let n=new CustomEvent("accessibilitySettingsChanged",{detail:{type:e,settings:t,timestamp:new Date}});window.dispatchEvent(n)}function Qe(e=y){return e.fontSize!==x.fontSize||e.contrast!==x.contrast||e.colorblindMode!==x.colorblindMode||e.saturationMode!==x.saturationMode||e.dyslexiaFont===!0||(e.letterSpacing??0)>0||(e.lineHeight??0)>0||e.fontWeight===!0||e.highlightMode!==x.highlightMode||e.readingGuide===!0||e.stopAnimations===!0||e.bigCursor===!0||e.hideImages===!0||e.textAlign!==x.textAlign||e.ttsActive===!0}typeof window<"u"&&ci();function et(){let[e,t]=(0,v.useState)(()=>d().contrast||"normal");(0,v.useEffect)(()=>{ue(e)},[]),(0,v.useEffect)(()=>{let g=L=>{let{settings:w}=L.detail,S=w.contrast||"normal";S!==e&&(t(S),ue(S))};return window.addEventListener("accessibilitySettingsChanged",g),()=>{window.removeEventListener("accessibilitySettingsChanged",g)}},[e]);let n=(0,v.useCallback)(g=>{t(g),ue(g),u("contrast",g),window.dispatchEvent(new CustomEvent("accessibilityContrastChanged",{detail:{mode:g,isActive:g!=="normal"}}))},[]),o=(0,v.useCallback)(()=>{n(e==="normal"?"high":"normal")},[e,n]),s=(0,v.useCallback)(g=>{n(g)},[n]),r=(0,v.useCallback)(()=>{n(e==="high"?"normal":"high")},[e,n]),a=(0,v.useCallback)(()=>{n(e==="dark"?"normal":"dark")},[e,n]),c=(0,v.useCallback)(()=>{n(e==="light"?"normal":"light")},[e,n]),l=(0,v.useCallback)(()=>{switch(e){case"high":return"Alto contraste";case"dark":return"Contraste oscuro";case"light":return"Contraste claro";default:return"Normal"}},[e]);return{contrastMode:e,isActive:e!=="normal",getContrastDescription:l,setContrastMode:s,updateContrast:n,toggleContrast:o,toggleHighContrast:r,toggleDarkContrast:a,toggleLightContrast:c,isHighContrast:e==="high",isDarkContrast:e==="dark",isLightContrast:e==="light"}}var b=require("react");var tt=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],li="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",it={};tt.forEach(e=>{it[e]=!0});function di(e=1){document.querySelectorAll(li).forEach(t=>{let n=t;if(Array.prototype.slice.call(n.classList).some(a=>it[`.${a}`])||tt.some(a=>n.matches(a)))return;let s=Number(n.dataset.apeOrgFontSize)||parseInt(window.getComputedStyle(n).fontSize);n.dataset.apeOrgFontSize||(n.dataset.apeOrgFontSize=String(s));let r=s*e;n.style.fontSize=`${r}px`})}function ui(){document.querySelectorAll("[data-ape-org-font-size]").forEach(e=>{let t=e,n=t.dataset.apeOrgFontSize;n&&(t.style.fontSize=`${n}px`,delete t.dataset.apeOrgFontSize)})}function gi(e){return e/100}function pe(e){let t=gi(e);e===100?ui():di(t)}function nt(){let[s,r]=(0,b.useState)(()=>d().fontSize||100),[a,c]=(0,b.useState)(!1);(0,b.useEffect)(()=>{pe(s)},[]),(0,b.useEffect)(()=>{let p=B=>{let{settings:C}=B.detail,J=C.fontSize||100;J!==s&&(r(J),pe(J))};return window.addEventListener("accessibilitySettingsChanged",p),()=>{window.removeEventListener("accessibilitySettingsChanged",p)}},[s]);let l=(0,b.useCallback)(p=>{r(p),pe(p),u("fontSize",p),window.dispatchEvent(new CustomEvent("accessibilityTextSizeChanged",{detail:{percentage:p,isActive:p!==100}}))},[]),m=(0,b.useCallback)(()=>{let p=Math.min(s+5,120);p!==s&&l(p)},[s,l]),g=(0,b.useCallback)(()=>{let p=Math.max(s-5,90);p!==s&&l(p)},[s,l]),L=(0,b.useCallback)(()=>{l(100)},[l]),w=(0,b.useCallback)(p=>{p>=90&&p<=120&&l(p)},[l]),S=(0,b.useCallback)(()=>{c(!a)},[a]),P=(0,b.useCallback)(()=>s===100?"Normal":s<100?`Reducido ${s}%`:`Aumentado ${s}%`,[s]),q=s<120,_=s>90;return{textSizePercentage:s,increaseTextSize:m,decreaseTextSize:g,resetTextSize:L,canIncrease:q,canDecrease:_,getTextSizeDescription:P,isActive:s!==100,toggleTextSizeOptions:S,setSpecificTextSize:w,isOptionsOpen:a,setIsOptionsOpen:c,MIN_SIZE:90,MAX_SIZE:120,NORMAL_SIZE:100,INCREMENT:5}}var M=require("react");function ot(){let[e,t]=(0,M.useState)(()=>d().language||"es");(0,M.useEffect)(()=>{let a=c=>{let{settings:l}=c.detail,m=l.language||"es";m!==e&&t(m)};return window.addEventListener("accessibilitySettingsChanged",a),()=>{window.removeEventListener("accessibilitySettingsChanged",a)}},[e]);let n=(0,M.useCallback)(a=>{t(a),u("language",a),window.dispatchEvent(new CustomEvent("accessibilityLanguageChanged",{detail:{mode:a,isActive:a!=="es"}}))},[]),o=(0,M.useCallback)(()=>{n(e==="es"?"en":"es")},[e,n]),s=(0,M.useCallback)(a=>{n(a)},[n]),r=(0,M.useCallback)(()=>e==="en"?"English":"Espa\xF1ol",[e]);return{languageMode:e,isActive:e!=="es",toggleLanguage:o,setSpecificLanguage:s,getLanguageDescription:r,updateLanguage:n,isEnglish:e==="en",isSpanish:e==="es"}}var V=require("react");function fe(e){let t=document.documentElement;e==="normal"?t.removeAttribute("data-colorblind-mode"):t.setAttribute("data-colorblind-mode",e)}function st(){let[e,t]=(0,V.useState)(()=>d().colorblindMode??"normal");(0,V.useEffect)(()=>{fe(e)},[]),(0,V.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.colorblindMode??"normal";a!==e&&(t(a),fe(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,V.useCallback)(o=>{t(o),fe(o),u("colorblindMode",o),window.dispatchEvent(new CustomEvent("accessibilityColorblindChanged",{detail:{mode:o}}))},[]);return{colorblindMode:e,setColorblindMode:n,isActive:e!=="normal"}}var G=require("react");var rt={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},pi=Object.values(rt).filter(Boolean);function me(e){let t=document.documentElement;pi.forEach(o=>t.classList.remove(o));let n=rt[e];n&&t.classList.add(n)}function at(){let[e,t]=(0,G.useState)(()=>d().saturationMode??"normal");(0,G.useEffect)(()=>{me(e)},[]),(0,G.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.saturationMode??"normal";a!==e&&(t(a),me(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,G.useCallback)(o=>{t(o),me(o),u("saturationMode",o),window.dispatchEvent(new CustomEvent("accessibilitySaturationChanged",{detail:{mode:o}}))},[]);return{saturationMode:e,setSaturationMode:n,isActive:e!=="normal"}}var $=require("react");var ct="accessibility-dyslexia";function he(e){let t=document.documentElement;e?t.classList.add(ct):t.classList.remove(ct)}function lt(){let[e,t]=(0,$.useState)(()=>d().dyslexiaFont??!1);(0,$.useEffect)(()=>{he(e)},[]),(0,$.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.dyslexiaFont??!1;a!==e&&(t(a),he(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,$.useCallback)(()=>{let o=!e;t(o),he(o),u("dyslexiaFont",o),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:o}}))},[e]);return{isActive:e,toggle:n}}var k=require("react");var dt="accessibility-letter-spacing",ut="accessibility-line-height",gt="accessibility-font-weight";function te(e){let t=document.documentElement;t.style.setProperty("--accessibility-letter-spacing",String(e)),e>0?t.classList.add(dt):t.classList.remove(dt)}function ie(e){let t=document.documentElement;t.style.setProperty("--accessibility-line-height",String(e)),e>0?t.classList.add(ut):t.classList.remove(ut)}function be(e){let t=document.documentElement;e?t.classList.add(gt):t.classList.remove(gt)}var pt=3;function ft(){let[e,t]=(0,k.useState)(()=>d().letterSpacing??0);(0,k.useEffect)(()=>{te(e)},[]),(0,k.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.letterSpacing??0;l!==e&&(t(l),te(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,k.useCallback)(()=>{let r=Math.min(e+1,pt);t(r),te(r),u("letterSpacing",r)},[e]),o=(0,k.useCallback)(()=>{let r=Math.max(e-1,0);t(r),te(r),u("letterSpacing",r)},[e]),s=(0,k.useCallback)(()=>{t(0),te(0),u("letterSpacing",0)},[]);return{level:e,increase:n,decrease:o,reset:s,isActive:e>0,canIncrease:e<pt,canDecrease:e>0}}var I=require("react");var mt=3;function ht(){let[e,t]=(0,I.useState)(()=>d().lineHeight??0);(0,I.useEffect)(()=>{ie(e)},[]),(0,I.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.lineHeight??0;l!==e&&(t(l),ie(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,I.useCallback)(()=>{let r=Math.min(e+1,mt);t(r),ie(r),u("lineHeight",r)},[e]),o=(0,I.useCallback)(()=>{let r=Math.max(e-1,0);t(r),ie(r),u("lineHeight",r)},[e]),s=(0,I.useCallback)(()=>{t(0),ie(0),u("lineHeight",0)},[]);return{level:e,increase:n,decrease:o,reset:s,isActive:e>0,canIncrease:e<mt,canDecrease:e>0}}var Z=require("react");function bt(){let[e,t]=(0,Z.useState)(()=>d().fontWeight??!1);(0,Z.useEffect)(()=>{be(e)},[]),(0,Z.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.fontWeight??!1;a!==e&&(t(a),be(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,Z.useCallback)(()=>{let o=!e;t(o),be(o),u("fontWeight",o)},[e]);return{isBold:e,toggle:n,isActive:e}}var N=require("react");function ye(e){let t=document.documentElement;e==="none"?t.removeAttribute("data-highlight"):t.setAttribute("data-highlight",e)}function yt(){let[e,t]=(0,N.useState)(()=>d().highlightMode??"none");(0,N.useEffect)(()=>{ye(e)},[]),(0,N.useEffect)(()=>{let r=a=>{let{settings:c}=a.detail,l=c.highlightMode??"none";l!==e&&(t(l),ye(l))};return window.addEventListener("accessibilitySettingsChanged",r),()=>window.removeEventListener("accessibilitySettingsChanged",r)},[e]);let n=(0,N.useCallback)(r=>{t(r),ye(r),u("highlightMode",r)},[]),o=(0,N.useCallback)(()=>{n(e==="titles"?"none":e==="links"?"both":e==="both"?"links":"titles")},[e,n]),s=(0,N.useCallback)(()=>{n(e==="links"?"none":e==="titles"?"both":e==="both"?"titles":"links")},[e,n]);return{highlightMode:e,setHighlightMode:n,toggleTitles:o,toggleLinks:s,isTitlesActive:e==="titles"||e==="both",isLinksActive:e==="links"||e==="both",isActive:e!=="none"}}var j=require("react");var vt="accessibility-stop-animations",St="accessibility-big-cursor";function ve(e){e?fi():mi()}function Se(e){let t=document.documentElement;e?t.classList.add(vt):t.classList.remove(vt)}function Ce(e){let t=document.documentElement;e?t.classList.add(St):t.classList.remove(St)}var Ct=`
10
2
  position: fixed;
11
3
  left: 0;
12
4
  right: 0;
13
5
  background: rgba(0, 0, 0, 0.65);
14
6
  pointer-events: none;
15
7
  z-index: 9998;
16
- `,Ge=null,hl=null;function rv(){Ge||(Ge=document.createElement("div"),Ge.id="ape-reading-guide-top",Ge.style.cssText=C2+"top: 0;",hl=document.createElement("div"),hl.id="ape-reading-guide-bottom",hl.style.cssText=C2+"bottom: 0;",document.body.appendChild(Ge),document.body.appendChild(hl),T2(window.innerHeight/2),document.addEventListener("mousemove",M2))}function dv(){document.removeEventListener("mousemove",M2),Ge?.remove(),hl?.remove(),Ge=null,hl=null}function M2(t){T2(t.clientY)}function T2(t){let l=Math.max(0,t-40),n=t+40;Ge&&(Ge.style.height=`${l}px`),hl&&(hl.style.top=`${n}px`)}function z2(){let[t,e]=(0,Kl.useState)(()=>O().stopAnimations??!1);(0,Kl.useEffect)(()=>{Qu(t)},[]),(0,Kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.stopAnimations??!1;u!==t&&(e(u),Qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Kl.useCallback)(()=>{let n=!t;e(n),Qu(n),q("stopAnimations",n)},[t]);return{isActive:t,toggle:l}}var Jl=_(k(),1);function x2(){let[t,e]=(0,Jl.useState)(()=>O().bigCursor??!1);(0,Jl.useEffect)(()=>{wu(t)},[]),(0,Jl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.bigCursor??!1;u!==t&&(e(u),wu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Jl.useCallback)(()=>{let n=!t;e(n),wu(n),q("bigCursor",n)},[t]);return{isActive:t,toggle:l}}var kl=_(k(),1);function _2(){let[t,e]=(0,kl.useState)(()=>O().readingGuide??!1);(0,kl.useEffect)(()=>{Zu(t)},[]),(0,kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.readingGuide??!1;u!==t&&(e(u),Zu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,kl.useCallback)(()=>{let n=!t;e(n),Zu(n),q("readingGuide",n)},[t]);return{isActive:t,toggle:l}}var Wl=_(k(),1);var O2="accessibility-hide-images";function Vu(t){let e=document.documentElement;t?e.classList.add(O2):e.classList.remove(O2)}function L2(){let[t,e]=(0,Wl.useState)(()=>O().hideImages??!1);(0,Wl.useEffect)(()=>{Vu(t)},[]),(0,Wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.hideImages??!1;u!==t&&(e(u),Vu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Wl.useCallback)(()=>{let n=!t;e(n),Vu(n),q("hideImages",n)},[t]);return{isActive:t,toggle:l}}var Sl=_(k(),1);function Ia(t){let e=document.documentElement;t==="default"?e.removeAttribute("data-text-align"):e.setAttribute("data-text-align",t)}var Qo=["default","left","center","right"];function N2(){let[t,e]=(0,Sl.useState)(()=>O().textAlign??"default");(0,Sl.useEffect)(()=>{Ia(t)},[]),(0,Sl.useEffect)(()=>{let a=i=>{let{settings:u}=i.detail,c=u.textAlign??"default";c!==t&&(e(c),Ia(c))};return window.addEventListener("accessibilitySettingsChanged",a),()=>window.removeEventListener("accessibilitySettingsChanged",a)},[t]);let l=(0,Sl.useCallback)(()=>{let a=Qo.indexOf(t),i=Qo[(a+1)%Qo.length]??"default";e(i),Ia(i),q("textAlign",i)},[t]),n=(0,Sl.useCallback)(a=>{e(a),Ia(a),q("textAlign",a)},[]);return{mode:t,cycle:l,setMode:n,isActive:t!=="default",label:t==="default"?"Por defecto":t==="left"?"Izquierda":t==="center"?"Centrado":"Derecha"}}var pl=_(k(),1);var kn=null;function Ku(){return typeof window<"u"&&"speechSynthesis"in window}function D2(t="es"){if(!Ku())return;Pa();let l=(document.querySelector("main")??document.body).innerText;l.trim()&&(kn=new SpeechSynthesisUtterance(l),kn.lang=t==="es"?"es-ES":"en-US",kn.rate=1,window.speechSynthesis.speak(kn))}function Pa(){Ku()&&(window.speechSynthesis.cancel(),kn=null)}function H2(){return kn}function U2(){let[t,e]=(0,pl.useState)(!1),[l]=(0,pl.useState)(()=>Ku());(0,pl.useEffect)(()=>()=>{Pa()},[]),(0,pl.useEffect)(()=>{let a=()=>{Pa(),e(!1)};return window.addEventListener("accessibilityReset",a),()=>window.removeEventListener("accessibilityReset",a)},[]);let n=(0,pl.useCallback)(()=>{if(t)Pa(),e(!1);else{let a=O().language??"es";D2(a),e(!0);let i=H2();i&&(i.onend=()=>e(!1),i.onerror=()=>e(!1))}},[t]);return{isReading:t,isSupported:l,toggle:n}}var Fl=_(k(),1);var R2={visionImpaired:{contrast:"high",fontSize:120,highlightMode:"both",bigCursor:!0},cognitive:{dyslexiaFont:!0,lineHeight:2,letterSpacing:1,stopAnimations:!0},motorImpaired:{bigCursor:!0,stopAnimations:!0,fontSize:110},seniorFriendly:{fontSize:120,lineHeight:2,contrast:"high",bigCursor:!0}},wo={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function Vo(t){for(let[e,l]of Object.entries(R2))if(Object.entries(l).every(([a,i])=>t[a]===i))return e;return"none"}function B2(t){return t==="none"?{...ae}:R2[t]}function q2(){let[t,e]=(0,Fl.useState)(()=>Vo(O()));(0,Fl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail;e(Vo(i))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[]),(0,Fl.useEffect)(()=>{let n=()=>e("none");return window.addEventListener("accessibilityReset",n),()=>window.removeEventListener("accessibilityReset",n)},[]);let l=(0,Fl.useCallback)(n=>{if(n===t){Vn(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}));return}let a=B2(n);Zo(a)},[t]);return{activeProfile:t,applyProfile:l}}var bl=_(k(),1);var mv=["H1","H2","H3","H4","H5","H6"],gv=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function Y2(){let t=[],e=new Set;return document.querySelectorAll(gv.join(",")).forEach(a=>{if(e.has(a))return;e.add(a);let i=a.getAttribute("role")||a.tagName.toLowerCase(),u=a.getAttribute("aria-label")||i;t.push({tag:i,text:u,level:0,element:a})}),document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(a=>{let i=a.tagName;if(!mv.includes(i))return;let u=parseInt(i.charAt(1),10),c=(a.textContent??"").trim().slice(0,80);c&&t.push({tag:i.toLowerCase(),text:c,level:u,element:a})}),t}function G2(t){t.scrollIntoView({behavior:"smooth",block:"center"}),t.focus({preventScroll:!0})}function X2(){let[t,e]=(0,bl.useState)(!1),[l,n]=(0,bl.useState)([]),a=(0,bl.useCallback)(()=>{n(Y2()),e(!0)},[]),i=(0,bl.useCallback)(()=>{e(!1)},[]),u=(0,bl.useCallback)(()=>{t?i():a()},[t,a,i]),c=(0,bl.useCallback)(f=>{G2(f.element)},[]);return{isOpen:t,structure:l,toggle:u,open:a,close:i,navigateTo:c}}function Ju(){let t=l2(),e=i2(),l=u2(),n=c2(),a=o2(),i=r2(),u=v2(),c=S2(),f=p2(),r=b2(),y=z2(),h=x2(),g=_2(),v=L2(),A=N2(),C=U2(),L=q2(),s=X2(),o=O(),d=e2(o);return{contrast:t,textSize:e,language:l,colorblind:n,saturation:a,dyslexia:i,letterSpacing:u,lineHeight:c,fontWeight:f,highlight:r,animations:y,cursor:h,readingGuide:g,hideImages:v,textAlign:A,tts:C,profiles:L,pageStructure:s,hasActiveFeatures:d,resetAllFeatures:()=>{Vn(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))},currentSettings:o}}var Q2=_(k(),1);var Wu=_(pt(),1);function ku({title:t,children:e}){return(0,Wu.jsxs)("section",{className:"px-4 py-3",children:[(0,Wu.jsx)("h3",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wider mb-3",children:t}),e]})}var ti=_(pt(),1);function mt({icon:t,label:e,isActive:l,onClick:n,disabled:a=!1,className:i}){return(0,ti.jsxs)("button",{type:"button",onClick:a?void 0:n,disabled:a,"aria-pressed":l,"aria-label":e,className:ge("flex flex-col items-center justify-center gap-1.5 rounded-3xl p-3 shadow-lg text-center cursor-pointer transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-1 focus:bg-blue-50",l?"ring-2 ring-green-500 bg-green-50 text-blue-900":"border-gray-200 bg-white text-gray-700 hover:ring-2 hover:ring-blue-300 hover:bg-blue-50",a&&"cursor-not-allowed opacity-40",i),children:[(0,ti.jsx)("span",{className:ge("h-6 w-6",l?"text-blue-700":"text-gray-500"),children:t}),(0,ti.jsx)("span",{className:"text-base font-medium leading-tight",children:e})]})}var Wn=_(pt(),1);function j2({percentage:t,onIncrease:e,onDecrease:l,onReset:n,canIncrease:a,canDecrease:i}){return(0,Wn.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Wn.jsx)("button",{type:"button",onClick:l,disabled:!i,"aria-label":"Reducir tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"\u2212"}),(0,Wn.jsxs)("button",{type:"button",onClick:n,"aria-label":"Restablecer tama\xF1o de texto",className:"flex-1 rounded-lg border border-gray-200 bg-white py-2 text-center text-sm font-semibold text-blue-900 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:[t,"%"]}),(0,Wn.jsx)("button",{type:"button",onClick:e,disabled:!a,"aria-label":"Aumentar tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"+"})]})}var m=_(pt(),1);function w2({onClose:t}){let[e,l]=(0,Q2.useState)(!1),{contrast:n,textSize:a,saturation:i,dyslexia:u,letterSpacing:c,lineHeight:f,fontWeight:r,highlight:y,animations:h,cursor:g,readingGuide:v,colorblind:A,hideImages:C,textAlign:L,tts:s,profiles:o,pageStructure:d,resetAllFeatures:S}=Ju();return(0,m.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Men\xFA de Accesibilidad",className:"flex flex-col h-full overflow-hidden",style:{backgroundColor:"var(--apea-color-panel-bg, #f9fafb)"},children:[(0,m.jsxs)("div",{className:"flex items-center justify-between apea-gradient px-4 py-3 shrink-0",children:[(0,m.jsx)("h2",{className:"text-sm font-bold text-white tracking-wide",children:"Men\xFA de Accesibilidad"}),(0,m.jsx)("div",{className:"flex items-center gap-2",children:(0,m.jsx)("button",{type:"button",onClick:t,"aria-label":"Cerrar men\xFA de accesibilidad",className:"flex h-8 w-8 items-center justify-center rounded-full border border-white/30 text-white cursor-pointer transition hover:bg-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white",children:(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,className:"h-4 w-4","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M18 6 6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),(0,m.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[(0,m.jsxs)("section",{className:"px-4 py-3",children:[(0,m.jsxs)("button",{type:"button",onClick:()=>l(b=>!b),"aria-expanded":e,className:"flex w-full items-center justify-between text-xs font-semibold text-blue-700 uppercase tracking-wider cursor-pointer",children:["Perfiles de accesibilidad",(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:`h-4 w-4 transition-transform duration-300 ease-in-out ${e?"rotate-180":""}`,"data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M6 9l6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,m.jsx)("div",{className:`grid transition-[grid-template-rows] duration-300 ease-in-out ${e?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,m.jsx)("div",{className:"overflow-hidden pb-5 px-2 -mx-2",children:(0,m.jsx)("div",{className:`grid grid-cols-2 gap-2 pt-3 transition-opacity duration-300 ease-in-out ${e?"opacity-100":"opacity-0"}`,children:Object.keys(wo).map(b=>(0,m.jsx)(mt,{icon:(0,m.jsx)(Hv,{profile:b}),label:wo[b],isActive:o.activeProfile===b,onClick:()=>o.applyProfile(b)},b))})})})]}),(0,m.jsxs)(ku,{title:"Ajustes de contenido",children:[(0,m.jsxs)("div",{className:"mb-3 rounded-xl border border-gray-200 bg-white p-3",children:[(0,m.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-4 w-4 shrink-0","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 7V4h16v3M9 20h6M12 4v16",strokeLinecap:"round",strokeLinejoin:"round"})}),"Tama\xF1o de fuente"]}),(0,m.jsx)(j2,{percentage:a.textSizePercentage,onIncrease:a.increaseTextSize,onDecrease:a.decreaseTextSize,onReset:a.resetTextSize,canIncrease:a.canIncrease,canDecrease:a.canDecrease})]}),(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(yv,{}),label:"Resaltar t\xEDtulos",isActive:y.isTitlesActive,onClick:y.toggleTitles}),(0,m.jsx)(mt,{icon:(0,m.jsx)(vv,{}),label:"Resaltar enlaces",isActive:y.isLinksActive,onClick:y.toggleLinks}),(0,m.jsx)(mt,{icon:(0,m.jsx)(hv,{}),label:"Fuente dislexia",isActive:u.isActive,onClick:u.toggle}),(0,m.jsx)(Z2,{icon:(0,m.jsx)(Sv,{}),label:"Esp. de letras",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),(0,m.jsx)(Z2,{icon:(0,m.jsx)(pv,{}),label:"Interlineado",level:f.level,onIncrease:f.increase,onDecrease:f.decrease,canIncrease:f.canIncrease,canDecrease:f.canDecrease}),(0,m.jsx)(mt,{icon:(0,m.jsx)(bv,{}),label:"Fuente negrita",isActive:r.isBold,onClick:r.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(_v,{}),label:"Ocultar im\xE1genes",isActive:C.isActive,onClick:C.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Ov,{mode:L.mode}),label:`Alinear: ${L.label}`,isActive:L.isActive,onClick:L.cycle})]})]}),(0,m.jsxs)(ku,{title:"Ajustes de color",children:[(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2 mb-3",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(Av,{}),label:"Alto contraste",isActive:n.isHighContrast,onClick:()=>n.setContrastMode(n.isHighContrast?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Ev,{}),label:"Alta saturaci\xF3n",isActive:i.saturationMode==="high",onClick:()=>i.setSaturationMode(i.saturationMode==="high"?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Cv,{}),label:"Baja saturaci\xF3n",isActive:i.saturationMode==="low",onClick:()=>i.setSaturationMode(i.saturationMode==="low"?"normal":"low")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Mv,{}),label:"Monocromo",isActive:i.saturationMode==="mono",onClick:()=>i.setSaturationMode(i.saturationMode==="mono"?"normal":"mono")})]}),(0,m.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide hidden",children:"Daltonismo"}),(0,m.jsx)("div",{className:"grid grid-cols-2 gap-2 hidden",children:[["protanopia","Protanop\xEDa"],["deuteranopia","Deuteranop\xEDa"],["tritanopia","Tritanop\xEDa"],["achromatopsia","Acromatopsia"]].map(([b,H])=>(0,m.jsx)(mt,{icon:(0,m.jsx)(Dv,{mode:b}),label:H,isActive:A.colorblindMode===b,onClick:()=>A.setColorblindMode(A.colorblindMode===b?"normal":b)},b))})]}),(0,m.jsxs)(ku,{title:"Herramientas",children:[(0,m.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,m.jsx)(mt,{icon:(0,m.jsx)(Tv,{}),label:"Gu\xEDa de lectura",isActive:v.isActive,onClick:v.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(zv,{}),label:"Pausar animaciones",isActive:h.isActive,onClick:h.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(xv,{}),label:"Cursor grande",isActive:g.isActive,onClick:g.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Lv,{}),label:s.isReading?"Detener lectura":"Leer p\xE1gina",isActive:s.isReading,onClick:s.toggle,disabled:!s.isSupported}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Nv,{}),label:"Estructura",isActive:d.isOpen,onClick:d.toggle})]}),d.isOpen&&d.structure.length>0&&(0,m.jsxs)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3 max-h-60 overflow-y-auto",children:[(0,m.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Estructura de la p\xE1gina"}),(0,m.jsx)("ul",{className:"space-y-1",children:d.structure.map((b,H)=>(0,m.jsx)("li",{children:(0,m.jsxs)("button",{type:"button",onClick:()=>d.navigateTo(b),className:"w-full text-left px-2 py-1.5 rounded-lg text-sm hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 transition-colors",style:{paddingLeft:`${(b.level||1)*12}px`},children:[(0,m.jsx)("span",{className:"inline-block mr-2 text-xs font-mono text-blue-600 bg-blue-100 px-1.5 py-0.5 rounded",children:b.tag}),(0,m.jsx)("span",{className:"text-gray-700",children:b.text})]})},`${b.tag}-${H}`))})]}),d.isOpen&&d.structure.length===0&&(0,m.jsx)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3",children:(0,m.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"No se encontraron encabezados"})})]})]}),(0,m.jsx)("section",{className:"px-4 pb-6 pt-2",children:(0,m.jsx)("button",{type:"button",onClick:S,className:"w-full rounded-xl apea-gradient py-3 text-sm font-semibold text-white cursor-pointer transition hover:bg-none hover:bg-green-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",children:"Restablecer configuraci\xF3n"})})]})}function Z2({icon:t,label:e,level:l,onIncrease:n,onDecrease:a,canIncrease:i,canDecrease:u}){let c=l>0;return(0,m.jsxs)("div",{className:`flex flex-col items-center justify-between gap-1 rounded-3xl border p-2 shadow-md/20 text-center transition-all ${c?"border-yellow-500 bg-yellow-50 text-blue-900":"border-gray-200 bg-white text-gray-700"}`,children:[(0,m.jsx)("span",{className:"h-5 w-5 text-gray-500",children:t}),(0,m.jsx)("span",{className:"text-sm font-medium leading-tight",children:e}),(0,m.jsxs)("div",{className:"flex items-center gap-1 w-full justify-center",children:[(0,m.jsx)("button",{type:"button",onClick:a,disabled:!u,"aria-label":`Reducir ${e}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"\u2212"}),(0,m.jsx)("span",{className:"w-4 text-center text-sm font-semibold tabular-nums",children:l}),(0,m.jsx)("button",{type:"button",onClick:n,disabled:!i,"aria-label":`Aumentar ${e}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"+"})]})]})}function yv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 12h8M4 18h12",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M15 14l5 5M20 14l-5 5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function vv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",strokeLinecap:"round",strokeLinejoin:"round"})]})}function hv(){return(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 7l4 10 4-10M20 7v10M17 7h6",strokeLinecap:"round",strokeLinejoin:"round"})})}function Sv(){return(0,m.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"m20.003 16.975-2.027 2.028m.113-3.943 1.914 1.915m-16.006 0 2.027-2.029m-.113 3.944-1.914-1.915m0 0h16.006m-2-5.975L15.16 4.997 12.317 11m.568-1.2h4.547M4.997 4.997 7.84 11l2.843-6.003",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function pv(){return(0,m.jsxs)("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M12.754 4a.75.75 0 0 1 .75-.75H20.5a.75.75 0 0 1 0 1.5h-6.996a.75.75 0 0 1-.75-.75m7.746 9.917h-6.996a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5m-6.996 5.333a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5zm6.996-9.167h-6.996a.75.75 0 0 1 0-1.5H20.5a.75.75 0 0 1 0 1.5",opacity:.4,fill:"#323544"}),(0,m.jsx)("path",{d:"m9.974 16.47-1.722 1.72V5.81l1.722 1.72a.75.75 0 0 0 1.06-1.06l-3.002-3a.75.75 0 0 0-1.06 0l-3.002 3a.75.75 0 0 0 1.06 1.06l1.722-1.72v12.38L5.03 16.47a.75.75 0 0 0-1.06 1.06l3.002 3a.75.75 0 0 0 1.06 0l3.002-3a.75.75 0 0 0-1.06-1.06",fill:"#323544"})]})}function bv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),(0,m.jsx)("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function Av(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("path",{d:"M12 3v18"}),(0,m.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18V3z",fill:"currentColor",stroke:"none"})]})}function Ev(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,m.jsx)("path",{d:"M12 4v16M8 8l8 8M4 12h16",strokeLinecap:"round",strokeOpacity:.4}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})]})}function Cv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"3",strokeDasharray:"2 2"})]})}function Mv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,m.jsx)("path",{d:"M3 12h18M12 5v14"}),(0,m.jsx)("path",{d:"M3 5h9v14H3z",fill:"currentColor",fillOpacity:.15,stroke:"none"})]})}function Tv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}function zv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("rect",{x:"9",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"}),(0,m.jsx)("rect",{x:"13",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"})]})}function xv(){return(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M5 3l14 9-7.5 1.5L9 20l-4-17z"})})}function _v(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,m.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"}),(0,m.jsx)("path",{d:"M21 15l-5-5L5 21",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("path",{d:"M2 2l20 20",strokeLinecap:"round",strokeWidth:2.5})]})}function Ov({mode:t}){return t==="center"?(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M6 6h12M8 10h8M6 14h12M8 18h8",strokeLinecap:"round"})}):t==="right"?(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 6h16M8 10h12M4 14h16M8 18h12",strokeLinecap:"round"})}):(0,m.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,m.jsx)("path",{d:"M4 6h16M4 10h12M4 14h16M4 18h12",strokeLinecap:"round"})})}function Lv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M11 5L6 9H2v6h4l5 4V5z",fill:"currentColor",stroke:"none"}),(0,m.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",strokeLinecap:"round"})]})}function Nv(){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M4 6h16M4 10h12M8 14h12M8 18h8",strokeLinecap:"round"}),(0,m.jsx)("circle",{cx:"4",cy:"14",r:"1",fill:"currentColor",stroke:"none"}),(0,m.jsx)("circle",{cx:"4",cy:"18",r:"1",fill:"currentColor",stroke:"none"})]})}function Dv({mode:t}){return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,m.jsx)("path",{d:"M12 3c-3 4-3 10 0 18",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M12 3c3 4 3 10 0 18",strokeLinecap:"round"}),t==="achromatopsia"?(0,m.jsx)("path",{d:"M3 12h18"}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("path",{d:"M4 8h16",strokeOpacity:.4}),(0,m.jsx)("path",{d:"M4 16h16",strokeOpacity:.4})]})]})}function Hv({profile:t}){switch(t){case"visionImpaired":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,m.jsx)("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]});case"cognitive":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("path",{d:"M12 2a7 7 0 0 1 7 7c0 3-2 5-3 7h-8c-1-2-3-4-3-7a7 7 0 0 1 7-7z"}),(0,m.jsx)("path",{d:"M9 16v2a3 3 0 0 0 6 0v-2"})]});case"motorImpaired":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,m.jsx)("path",{d:"M12 6v6l4 4M12 12l-4 4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,m.jsx)("circle",{cx:"8",cy:"20",r:"2"}),(0,m.jsx)("circle",{cx:"16",cy:"20",r:"2"})]});case"seniorFriendly":return(0,m.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,m.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,m.jsx)("path",{d:"M12 6v8M12 14l-3 6M12 14l3 6M12 10h-2l-3 4M12 10h2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}var ie=_(pt(),1);function Ko({position:t="bottom-left",className:e}={}){let[l,n]=(0,Fu.useState)(!0),{hasActiveFeatures:a}=Ju();(0,Fu.useEffect)(()=>{if(!l)return;let c=f=>{f.key==="Escape"&&n(!1)};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[l]);let i=l||a?"var(--apea-color-fab-active, #FFD54F)":"var(--apea-color-fab-inactive, #F6F6F6)";return(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)("div",{className:ge("fixed z-50 apea-fab",t==="bottom-right"?"bottom-8 right-5":"bottom-8 left-5",e),style:{filter:a?"drop-shadow(0 4px 12px rgba(255, 213, 79, 0.3))":"none"},onClick:()=>n(c=>!c),children:(0,ie.jsx)(Go,{size:"lg","aria-expanded":l,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${a?"Funciones activas":"Sin funciones activas"}`,leftIcon:(0,ie.jsx)($d,{className:"w-full z-50",color:i,stroke:i})})}),(0,ie.jsx)("div",{className:"fixed inset-0 z-40 apea-backdrop",style:{backgroundColor:"var(--apea-color-backdrop, rgba(0, 0, 0, 0.2))"},"data-visible":l?"true":"false",onClick:()=>n(!1),"aria-hidden":"true"}),(0,ie.jsx)("div",{role:"none",className:"fixed inset-y-0 right-0 z-50 w-full max-w-sm shadow-2xl apea-panel","data-open":l?"true":"false",children:(0,ie.jsx)(w2,{onClose:()=>n(!1)})})]})}var ko=_(pt(),1),Uv={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function Jo(t){return{...Uv,...t}}function Rv(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function V2(t,e){t.style.setProperty("--apea-color-primary-500",e.primary500),t.style.setProperty("--apea-color-primary-600",e.primary600),t.style.setProperty("--apea-color-primary-700",e.primary700),t.style.setProperty("--apea-color-panel-bg",e.panelBackground),t.style.setProperty("--apea-color-fab-active",e.fabActive),t.style.setProperty("--apea-color-fab-inactive",e.fabInactive),t.style.setProperty("--apea-color-backdrop",e.backdrop)}function J2(t={}){let e={position:t.position||"bottom-left",zIndex:t.zIndex||9999,containerId:t.containerId||"ape-accessibility-root",theme:Jo(t.theme)},l=Jo(e.theme),n=e.containerId||"ape-accessibility-root";if(document.getElementById(n))return console.warn("[ape-accessibility] Widget already mounted. Call destroy() first."),{destroy:()=>{},updateConfig:()=>{},config:t};let a=document.createElement("style");a.id="ape-accessibility-tools-css",a.textContent=`/* ============================================= */\r
17
- /* Accessibility Feature Styles */\r
18
- /* ============================================= */\r
19
- \r
20
- /* High Contrast Mode */\r
21
- .high-contrast {\r
22
- --color-background: #000000;\r
23
- --color-foreground: #ffffff;\r
24
- }\r
25
- \r
26
- .high-contrast * {\r
27
- border-color: currentColor !important;\r
28
- }\r
29
- \r
30
- .high-contrast button,\r
31
- .high-contrast input,\r
32
- .high-contrast select,\r
33
- .high-contrast textarea {\r
34
- background-color: #000000 !important;\r
35
- color: #ffffff !important;\r
36
- border: 2px solid #ffffff !important;\r
37
- }\r
38
- \r
39
- .high-contrast a {\r
40
- color: #ffff00 !important;\r
41
- text-decoration: underline !important;\r
42
- }\r
43
- \r
44
- /* Text Size Scaling */\r
45
- :root {\r
46
- --accessibility-text-scale: 1;\r
47
- --accessibility-letter-spacing: 0;\r
48
- --accessibility-line-height: 0;\r
49
- }\r
50
- \r
51
- .accessibility-text-scaled * {\r
52
- font-size: calc(1em * var(--accessibility-text-scale)) !important;\r
53
- line-height: calc(1.4 * var(--accessibility-text-scale)) !important;\r
54
- }\r
55
- \r
56
- /* Colorblind Modes */\r
57
- :root[data-colorblind-mode='protanopia'],\r
58
- :root[data-colorblind-mode='deuteranopia'] {\r
59
- --color-blue-500: #0072b2;\r
60
- --color-green-500: #009e73;\r
61
- --color-yellow-500: #e69f00;\r
62
- --color-red-500: #d55e00;\r
63
- }\r
64
- \r
65
- :root[data-colorblind-mode='tritanopia'] {\r
66
- --color-blue-500: #9b2335;\r
67
- --color-yellow-500: #cc79a7;\r
68
- --color-green-500: #009e73;\r
69
- }\r
70
- \r
71
- :root[data-colorblind-mode='achromatopsia'] {\r
72
- filter: grayscale(1);\r
73
- }\r
74
- \r
75
- /* Saturation Modes */\r
76
- .accessibility-saturation-high {\r
77
- filter: saturate(2);\r
78
- }\r
79
- \r
80
- .accessibility-saturation-low {\r
81
- filter: saturate(0.3);\r
82
- }\r
83
- \r
84
- .accessibility-saturation-mono {\r
85
- filter: grayscale(1) contrast(1.2);\r
86
- }\r
87
- \r
88
- /* Dyslexia Font */\r
89
- @font-face {\r
90
- font-family: OpenDyslexic3;\r
91
- src: url('https://website-widgets.pages.dev/fonts/OpenDyslexic3-Regular.woff') format('woff');\r
92
- font-display: swap;\r
93
- }\r
94
- \r
95
- .accessibility-dyslexia,\r
96
- .accessibility-dyslexia * {\r
97
- font-family: OpenDyslexic3, 'Comic Sans MS', Arial, sans-serif !important;\r
98
- }\r
99
- \r
100
- /* Letter Spacing & Line Height */\r
101
- .accessibility-letter-spacing * {\r
102
- letter-spacing: calc(0.1em * var(--accessibility-letter-spacing)) !important;\r
103
- }\r
104
- \r
105
- .accessibility-line-height * {\r
106
- line-height: calc(1.4 + 0.3 * var(--accessibility-line-height)) !important;\r
107
- }\r
108
- \r
109
- .accessibility-font-weight * {\r
110
- font-weight: 700 !important;\r
111
- }\r
112
- \r
113
- /* Highlight Titles & Links */\r
114
- :root[data-highlight='titles'] h1,\r
115
- :root[data-highlight='titles'] h2,\r
116
- :root[data-highlight='titles'] h3,\r
117
- :root[data-highlight='titles'] h4,\r
118
- :root[data-highlight='titles'] h5,\r
119
- :root[data-highlight='titles'] h6,\r
120
- :root[data-highlight='both'] h1,\r
121
- :root[data-highlight='both'] h2,\r
122
- :root[data-highlight='both'] h3,\r
123
- :root[data-highlight='both'] h4,\r
124
- :root[data-highlight='both'] h5,\r
125
- :root[data-highlight='both'] h6 {\r
126
- background-color: rgba(254, 201, 5, 0.2) !important;\r
127
- border-radius: 2px;\r
128
- padding: 0 2px;\r
129
- }\r
130
- \r
131
- :root[data-highlight='links'] a,\r
132
- :root[data-highlight='both'] a {\r
133
- background-color: rgba(0, 93, 202, 0.12) !important;\r
134
- text-decoration: underline !important;\r
135
- }\r
136
- \r
137
- /* Stop Animations */\r
138
- .accessibility-stop-animations *,\r
139
- .accessibility-stop-animations *::before,\r
140
- .accessibility-stop-animations *::after {\r
141
- animation: none !important;\r
142
- transition: none !important;\r
143
- }\r
144
- \r
145
- /* Big Cursor */\r
146
- .accessibility-big-cursor,\r
147
- .accessibility-big-cursor * {\r
148
- cursor:\r
149
- url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 2L6 26L12 20L16 30L19 29L15 19L24 19Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")\r
150
- 6 2,\r
151
- auto !important;\r
152
- }\r
153
- \r
154
- /* Hide Images */\r
155
- .accessibility-hide-images img,\r
156
- .accessibility-hide-images svg:not([data-a11y-icon]),\r
157
- .accessibility-hide-images video,\r
158
- .accessibility-hide-images picture {\r
159
- visibility: hidden !important;\r
160
- }\r
161
- \r
162
- /* Text Alignment */\r
163
- :root[data-text-align='left'] * {\r
164
- text-align: left !important;\r
165
- }\r
166
- \r
167
- :root[data-text-align='center'] * {\r
168
- text-align: center !important;\r
169
- }\r
170
- \r
171
- :root[data-text-align='right'] * {\r
172
- text-align: right !important;\r
173
- }\r
174
- `,document.head.appendChild(a);let i=document.createElement("div");i.id=n,i.setAttribute("data-a11y-icon",""),i.style.position="fixed",i.style.zIndex=String(e.zIndex||9999),i.style.top="0",i.style.left="0",i.style.width="0",i.style.height="0",i.style.overflow="visible",V2(i,l),document.body.appendChild(i);let u=i.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
175
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-500:#fec905;--color-green-50:oklch(98.2% .018 155.826);--color-green-500:#0a0;--color-blue-50:#eef5ff;--color-blue-100:#cfe5ff;--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#7cb8ff;--color-blue-500:#005dca;--color-blue-600:#004faf;--color-blue-700:#003b8a;--color-blue-900:#002e64;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--radius-lg:.5rem;--radius-xl:.75rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.right-0{right:calc(var(--spacing) * 0)}.right-5{right:calc(var(--spacing) * 5)}.bottom-8{bottom:calc(var(--spacing) * 8)}.left-5{left:calc(var(--spacing) * 5)}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-\\[40px\\]{height:40px}.h-\\[60px\\]{height:60px}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing) * 60)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-full{width:100%}.max-w-sm{max-width:var(--container-sm)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.rotate-180{rotate:180deg}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[30px\\]{border-radius:30px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-200{border-color:var(--color-gray-200)}.border-white\\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\\/30{border-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md\\/20{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-green-500{--tw-ring-color:var(--color-green-500)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-green-500:hover{background-color:var(--color-green-500)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:bg-none:hover{background-image:none}.hover\\:font-semibold:hover{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.hover\\:ring-2:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)}.hover\\:ring-yellow-500:hover{--tw-ring-color:var(--color-yellow-500)}}.focus\\:bg-blue-50:focus{background-color:var(--color-blue-50)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-white:focus-visible{--tw-ring-color:var(--color-white)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
176
- /* Widget animation styles */\r
177
- \r
178
- /* FAB button */\r
179
- .apea-fab {\r
180
- transition: transform 0.15s ease, filter 0.2s ease;\r
181
- }\r
182
- .apea-fab:hover {\r
183
- transform: scale(1.05);\r
184
- }\r
185
- .apea-fab:active {\r
186
- transform: scale(0.95);\r
187
- }\r
188
- \r
189
- /* Backdrop */\r
190
- .apea-backdrop {\r
191
- opacity: 0;\r
192
- transition: opacity 0.25s ease;\r
193
- pointer-events: none;\r
194
- }\r
195
- .apea-backdrop[data-visible='true'] {\r
196
- opacity: 1;\r
197
- pointer-events: auto;\r
198
- }\r
199
- \r
200
- /* Slide-in panel */\r
201
- .apea-panel {\r
202
- transform: translateX(100%);\r
203
- transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);\r
204
- }\r
205
- .apea-panel[data-open='true'] {\r
206
- transform: translateX(0);\r
207
- }\r
208
- \r
209
- /* Blue gradient for FAB button */\r
210
- .apea-gradient {\r
211
- background-image: linear-gradient(\r
212
- 135deg,\r
213
- var(--apea-color-primary-500, var(--color-blue-500)) 0%,\r
214
- var(--apea-color-primary-600, var(--color-blue-600)) 50%,\r
215
- var(--apea-color-primary-700, var(--color-blue-700)) 80%\r
216
- );\r
217
- }\r
218
- `,u.appendChild(c);let f=document.createElement("div");u.appendChild(f);let r=(0,K2.createRoot)(f);return r.render((0,ko.jsx)(Ko,{position:e.position})),{updateConfig(y){e=Rv(e,y),l=Jo(e.theme),i.style.zIndex=String(e.zIndex||9999),V2(i,l),r&&r.render((0,ko.jsx)(Ko,{position:e.position}))},destroy(){r&&(r.unmount(),r=null),i.remove(),a.remove()},get config(){return e}}}var Xe=null,Al={};function k2(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function Wo(t={}){return Xe?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),Xe):(Al=k2(Al,t),Xe=J2(Al),Xe)}function Fo(){Xe&&(Xe.destroy(),Xe=null)}function $o(){return O()}function Io(t={}){return Al=k2(Al,t),Xe&&Xe.updateConfig(Al),$u()}function $u(){return{...Al,theme:{...Al.theme??{}}}}function Po(){Vn(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var ei={init:Wo,destroy:Fo,getSettings:$o,resetAllSettings:Po,configure:Io,getConfig:$u};var Fn=_(k(),1);function W2({config:t={}}){let e=(0,Fn.useRef)(null),l=(0,Fn.useRef)(!1);return(0,Fn.useEffect)(()=>(l.current=!1,e.current=ei.init(t),()=>{l.current=!0,e.current?.destroy(),e.current=null}),[]),(0,Fn.useEffect)(()=>{l.current||ei.configure(t)},[t]),null}0&&(module.exports={AccessibilityWidget,accessibility,configure,destroy,getConfig,getSettings,init,resetAllSettings});
219
- /*! Bundled license information:
8
+ `,T=null,W=null;function fi(){T||(T=document.createElement("div"),T.id="ape-reading-guide-top",T.style.cssText=Ct+"top: 0;",W=document.createElement("div"),W.id="ape-reading-guide-bottom",W.style.cssText=Ct+"bottom: 0;",document.body.appendChild(T),document.body.appendChild(W),At(window.innerHeight/2),document.addEventListener("mousemove",xt))}function mi(){document.removeEventListener("mousemove",xt),T?.remove(),W?.remove(),T=null,W=null}function xt(e){At(e.clientY)}function At(e){let n=Math.max(0,e-40),o=e+40;T&&(T.style.height=`${n}px`),W&&(W.style.top=`${o}px`)}function Lt(){let[e,t]=(0,j.useState)(()=>d().stopAnimations??!1);(0,j.useEffect)(()=>{Se(e)},[]),(0,j.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.stopAnimations??!1;a!==e&&(t(a),Se(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,j.useCallback)(()=>{let o=!e;t(o),Se(o),u("stopAnimations",o)},[e]);return{isActive:e,toggle:n}}var U=require("react");function wt(){let[e,t]=(0,U.useState)(()=>d().bigCursor??!1);(0,U.useEffect)(()=>{Ce(e)},[]),(0,U.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.bigCursor??!1;a!==e&&(t(a),Ce(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,U.useCallback)(()=>{let o=!e;t(o),Ce(o),u("bigCursor",o)},[e]);return{isActive:e,toggle:n}}var X=require("react");function Et(){let[e,t]=(0,X.useState)(()=>d().readingGuide??!1);(0,X.useEffect)(()=>{ve(e)},[]),(0,X.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.readingGuide??!1;a!==e&&(t(a),ve(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,X.useCallback)(()=>{let o=!e;t(o),ve(o),u("readingGuide",o)},[e]);return{isActive:e,toggle:n}}var K=require("react");var Mt="accessibility-hide-images";function xe(e){let t=document.documentElement;e?t.classList.add(Mt):t.classList.remove(Mt)}function kt(){let[e,t]=(0,K.useState)(()=>d().hideImages??!1);(0,K.useEffect)(()=>{xe(e)},[]),(0,K.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail,a=r.hideImages??!1;a!==e&&(t(a),xe(a))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=(0,K.useCallback)(()=>{let o=!e;t(o),xe(o),u("hideImages",o)},[e]);return{isActive:e,toggle:n}}var O=require("react");function re(e){let t=document.documentElement;e==="default"?t.removeAttribute("data-text-align"):t.setAttribute("data-text-align",e)}var _e=["default","left","center","right"];function It(){let[e,t]=(0,O.useState)(()=>d().textAlign??"default");(0,O.useEffect)(()=>{re(e)},[]),(0,O.useEffect)(()=>{let s=r=>{let{settings:a}=r.detail,c=a.textAlign??"default";c!==e&&(t(c),re(c))};return window.addEventListener("accessibilitySettingsChanged",s),()=>window.removeEventListener("accessibilitySettingsChanged",s)},[e]);let n=(0,O.useCallback)(()=>{let s=_e.indexOf(e),r=_e[(s+1)%_e.length]??"default";t(r),re(r),u("textAlign",r)},[e]),o=(0,O.useCallback)(s=>{t(s),re(s),u("textAlign",s)},[]);return{mode:e,cycle:n,setMode:o,isActive:e!=="default",label:e==="default"?"Por defecto":e==="left"?"Izquierda":e==="center"?"Centrado":"Derecha"}}var z=require("react");var ne=null;function Ae(){return typeof window<"u"&&"speechSynthesis"in window}function Nt(e="es"){if(!Ae())return;ae();let n=(document.querySelector("main")??document.body).innerText;n.trim()&&(ne=new SpeechSynthesisUtterance(n),ne.lang=e==="es"?"es-ES":"en-US",ne.rate=1,window.speechSynthesis.speak(ne))}function ae(){Ae()&&(window.speechSynthesis.cancel(),ne=null)}function Tt(){return ne}function Rt(){let[e,t]=(0,z.useState)(!1),[n]=(0,z.useState)(()=>Ae());(0,z.useEffect)(()=>()=>{ae()},[]),(0,z.useEffect)(()=>{let s=()=>{ae(),t(!1)};return window.addEventListener("accessibilityReset",s),()=>window.removeEventListener("accessibilityReset",s)},[]);let o=(0,z.useCallback)(()=>{if(e)ae(),t(!1);else{let s=d().language??"es";Nt(s),t(!0);let r=Tt();r&&(r.onend=()=>t(!1),r.onerror=()=>t(!1))}},[e]);return{isReading:e,isSupported:n,toggle:o}}var Y=require("react");var Pt={visionImpaired:{contrast:"high",fontSize:120,highlightMode:"both",bigCursor:!0},cognitive:{dyslexiaFont:!0,lineHeight:2,letterSpacing:1,stopAnimations:!0},motorImpaired:{bigCursor:!0,stopAnimations:!0,fontSize:110},seniorFriendly:{fontSize:120,lineHeight:2,contrast:"high",bigCursor:!0}},He={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function We(e){for(let[t,n]of Object.entries(Pt))if(Object.entries(n).every(([s,r])=>e[s]===r))return t;return"none"}function _t(e){return e==="none"?{...x}:Pt[e]}function Ht(){let[e,t]=(0,Y.useState)(()=>We(d()));(0,Y.useEffect)(()=>{let o=s=>{let{settings:r}=s.detail;t(We(r))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[]),(0,Y.useEffect)(()=>{let o=()=>t("none");return window.addEventListener("accessibilityReset",o),()=>window.removeEventListener("accessibilityReset",o)},[]);let n=(0,Y.useCallback)(o=>{if(o===e){ee(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}));return}let s=_t(o);Pe(s)},[e]);return{activeProfile:e,applyProfile:n}}var F=require("react");var hi=["H1","H2","H3","H4","H5","H6"],bi=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function Wt(){let e=[],t=new Set;return document.querySelectorAll(bi.join(",")).forEach(s=>{if(t.has(s))return;t.add(s);let r=s.getAttribute("role")||s.tagName.toLowerCase(),a=s.getAttribute("aria-label")||r;e.push({tag:r,text:a,level:0,element:s})}),document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(s=>{let r=s.tagName;if(!hi.includes(r))return;let a=parseInt(r.charAt(1),10),c=(s.textContent??"").trim().slice(0,80);c&&e.push({tag:r.toLowerCase(),text:c,level:a,element:s})}),e}function Ot(e){e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus({preventScroll:!0})}function zt(){let[e,t]=(0,F.useState)(!1),[n,o]=(0,F.useState)([]),s=(0,F.useCallback)(()=>{o(Wt()),t(!0)},[]),r=(0,F.useCallback)(()=>{t(!1)},[]),a=(0,F.useCallback)(()=>{e?r():s()},[e,s,r]),c=(0,F.useCallback)(l=>{Ot(l.element)},[]);return{isOpen:e,structure:n,toggle:a,open:s,close:r,navigateTo:c}}function Le(){let e=et(),t=nt(),n=ot(),o=st(),s=at(),r=lt(),a=ft(),c=ht(),l=bt(),m=yt(),g=Lt(),L=wt(),w=Et(),S=kt(),P=It(),q=Rt(),_=Ht(),p=zt(),B=d(),C=Qe(B);return{contrast:e,textSize:t,language:n,colorblind:o,saturation:s,dyslexia:r,letterSpacing:a,lineHeight:c,fontWeight:l,highlight:m,animations:g,cursor:L,readingGuide:w,hideImages:S,textAlign:P,tts:q,profiles:_,pageStructure:p,hasActiveFeatures:C,resetAllFeatures:()=>{ee(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))},currentSettings:B}}var Bt=require("react");var Ee=require("react/jsx-runtime");function we({title:e,children:t}){return(0,Ee.jsxs)("section",{className:"px-4 py-3",children:[(0,Ee.jsx)("h3",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wider mb-3",children:e}),t]})}var ce=require("react/jsx-runtime");function h({icon:e,label:t,isActive:n,onClick:o,disabled:s=!1,className:r}){return(0,ce.jsxs)("button",{type:"button",onClick:s?void 0:o,disabled:s,"aria-pressed":n,"aria-label":t,className:E("flex flex-col items-center justify-center gap-1.5 rounded-3xl p-3 shadow-lg text-center cursor-pointer transition-all","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-1 focus:bg-blue-50",n?"ring-2 ring-green-500 bg-green-50 text-blue-900":"border-gray-200 bg-white text-gray-700 hover:ring-2 hover:ring-blue-300 hover:bg-blue-50",s&&"cursor-not-allowed opacity-40",r),children:[(0,ce.jsx)("span",{className:E("h-6 w-6",n?"text-blue-700":"text-gray-500"),children:e}),(0,ce.jsx)("span",{className:"text-base font-medium leading-tight",children:t})]})}var oe=require("react/jsx-runtime");function Ft({percentage:e,onIncrease:t,onDecrease:n,onReset:o,canIncrease:s,canDecrease:r}){return(0,oe.jsxs)("div",{className:"flex items-center gap-2",children:[(0,oe.jsx)("button",{type:"button",onClick:n,disabled:!r,"aria-label":"Reducir tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"\u2212"}),(0,oe.jsxs)("button",{type:"button",onClick:o,"aria-label":"Restablecer tama\xF1o de texto",className:"flex-1 rounded-lg border border-gray-200 bg-white py-2 text-center text-sm font-semibold text-blue-900 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:[e,"%"]}),(0,oe.jsx)("button",{type:"button",onClick:t,disabled:!s,"aria-label":"Aumentar tama\xF1o de texto",className:"flex h-9 w-9 items-center justify-center rounded-lg border border-gray-200 bg-white text-lg font-bold text-blue-700 cursor-pointer transition hover:border-blue-400 hover:bg-blue-50 disabled:cursor-not-allowed disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",children:"+"})]})}var i=require("react/jsx-runtime");function Vt({onClose:e}){let[t,n]=(0,Bt.useState)(!1),{contrast:o,textSize:s,saturation:r,dyslexia:a,letterSpacing:c,lineHeight:l,fontWeight:m,highlight:g,animations:L,cursor:w,readingGuide:S,colorblind:P,hideImages:q,textAlign:_,tts:p,profiles:B,pageStructure:C,resetAllFeatures:J}=Le();return(0,i.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Men\xFA de Accesibilidad",className:"flex flex-col h-full overflow-hidden",style:{backgroundColor:"var(--apea-color-panel-bg, #f9fafb)"},children:[(0,i.jsxs)("div",{className:"flex items-center justify-between apea-gradient px-4 py-3 shrink-0",children:[(0,i.jsx)("h2",{className:"text-sm font-bold text-white tracking-wide",children:"Men\xFA de Accesibilidad"}),(0,i.jsx)("div",{className:"flex items-center gap-2",children:(0,i.jsx)("button",{type:"button",onClick:e,"aria-label":"Cerrar men\xFA de accesibilidad",className:"flex h-8 w-8 items-center justify-center rounded-full border border-white/30 text-white cursor-pointer transition hover:bg-white/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white",children:(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,className:"h-4 w-4","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M18 6 6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),(0,i.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[(0,i.jsxs)("section",{className:"px-4 py-3",children:[(0,i.jsxs)("button",{type:"button",onClick:()=>n(f=>!f),"aria-expanded":t,className:"flex w-full items-center justify-between text-xs font-semibold text-blue-700 uppercase tracking-wider cursor-pointer",children:["Perfiles de accesibilidad",(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:`h-4 w-4 transition-transform duration-300 ease-in-out ${t?"rotate-180":""}`,"data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M6 9l6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,i.jsx)("div",{className:`grid transition-[grid-template-rows] duration-300 ease-in-out ${t?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:(0,i.jsx)("div",{className:"overflow-hidden pb-5 px-2 -mx-2",children:(0,i.jsx)("div",{className:`grid grid-cols-2 gap-2 pt-3 transition-opacity duration-300 ease-in-out ${t?"opacity-100":"opacity-0"}`,children:Object.keys(He).map(f=>(0,i.jsx)(h,{icon:(0,i.jsx)(Wi,{profile:f}),label:He[f],isActive:B.activeProfile===f,onClick:()=>B.applyProfile(f)},f))})})})]}),(0,i.jsxs)(we,{title:"Ajustes de contenido",children:[(0,i.jsxs)("div",{className:"mb-3 rounded-xl border border-gray-200 bg-white p-3",children:[(0,i.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-gray-700",children:[(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-4 w-4 shrink-0","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 7V4h16v3M9 20h6M12 4v16",strokeLinecap:"round",strokeLinejoin:"round"})}),"Tama\xF1o de fuente"]}),(0,i.jsx)(Ft,{percentage:s.textSizePercentage,onIncrease:s.increaseTextSize,onDecrease:s.decreaseTextSize,onReset:s.resetTextSize,canIncrease:s.canIncrease,canDecrease:s.canDecrease})]}),(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(yi,{}),label:"Resaltar t\xEDtulos",isActive:g.isTitlesActive,onClick:g.toggleTitles}),(0,i.jsx)(h,{icon:(0,i.jsx)(vi,{}),label:"Resaltar enlaces",isActive:g.isLinksActive,onClick:g.toggleLinks}),(0,i.jsx)(h,{icon:(0,i.jsx)(Si,{}),label:"Fuente dislexia",isActive:a.isActive,onClick:a.toggle}),(0,i.jsx)(Dt,{icon:(0,i.jsx)(Ci,{}),label:"Esp. de letras",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),(0,i.jsx)(Dt,{icon:(0,i.jsx)(xi,{}),label:"Interlineado",level:l.level,onIncrease:l.increase,onDecrease:l.decrease,canIncrease:l.canIncrease,canDecrease:l.canDecrease}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ai,{}),label:"Fuente negrita",isActive:m.isBold,onClick:m.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ti,{}),label:"Ocultar im\xE1genes",isActive:q.isActive,onClick:q.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ri,{mode:_.mode}),label:`Alinear: ${_.label}`,isActive:_.isActive,onClick:_.cycle})]})]}),(0,i.jsxs)(we,{title:"Ajustes de color",children:[(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2 mb-3",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(Li,{}),label:"Alto contraste",isActive:o.isHighContrast,onClick:()=>o.setContrastMode(o.isHighContrast?"normal":"high")}),(0,i.jsx)(h,{icon:(0,i.jsx)(wi,{}),label:"Alta saturaci\xF3n",isActive:r.saturationMode==="high",onClick:()=>r.setSaturationMode(r.saturationMode==="high"?"normal":"high")}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ei,{}),label:"Baja saturaci\xF3n",isActive:r.saturationMode==="low",onClick:()=>r.setSaturationMode(r.saturationMode==="low"?"normal":"low")}),(0,i.jsx)(h,{icon:(0,i.jsx)(Mi,{}),label:"Monocromo",isActive:r.saturationMode==="mono",onClick:()=>r.setSaturationMode(r.saturationMode==="mono"?"normal":"mono")})]}),(0,i.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide hidden",children:"Daltonismo"}),(0,i.jsx)("div",{className:"grid grid-cols-2 gap-2 hidden",children:[["protanopia","Protanop\xEDa"],["deuteranopia","Deuteranop\xEDa"],["tritanopia","Tritanop\xEDa"],["achromatopsia","Acromatopsia"]].map(([f,Ie])=>(0,i.jsx)(h,{icon:(0,i.jsx)(Hi,{mode:f}),label:Ie,isActive:P.colorblindMode===f,onClick:()=>P.setColorblindMode(P.colorblindMode===f?"normal":f)},f))})]}),(0,i.jsxs)(we,{title:"Herramientas",children:[(0,i.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,i.jsx)(h,{icon:(0,i.jsx)(ki,{}),label:"Gu\xEDa de lectura",isActive:S.isActive,onClick:S.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ii,{}),label:"Pausar animaciones",isActive:L.isActive,onClick:L.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Ni,{}),label:"Cursor grande",isActive:w.isActive,onClick:w.toggle}),(0,i.jsx)(h,{icon:(0,i.jsx)(Pi,{}),label:p.isReading?"Detener lectura":"Leer p\xE1gina",isActive:p.isReading,onClick:p.toggle,disabled:!p.isSupported}),(0,i.jsx)(h,{icon:(0,i.jsx)(_i,{}),label:"Estructura",isActive:C.isOpen,onClick:C.toggle})]}),C.isOpen&&C.structure.length>0&&(0,i.jsxs)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3 max-h-60 overflow-y-auto",children:[(0,i.jsx)("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Estructura de la p\xE1gina"}),(0,i.jsx)("ul",{className:"space-y-1",children:C.structure.map((f,Ie)=>(0,i.jsx)("li",{children:(0,i.jsxs)("button",{type:"button",onClick:()=>C.navigateTo(f),className:"w-full text-left px-2 py-1.5 rounded-lg text-sm hover:bg-blue-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 transition-colors",style:{paddingLeft:`${(f.level||1)*12}px`},children:[(0,i.jsx)("span",{className:"inline-block mr-2 text-xs font-mono text-blue-600 bg-blue-100 px-1.5 py-0.5 rounded",children:f.tag}),(0,i.jsx)("span",{className:"text-gray-700",children:f.text})]})},`${f.tag}-${Ie}`))})]}),C.isOpen&&C.structure.length===0&&(0,i.jsx)("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3",children:(0,i.jsx)("p",{className:"text-sm text-gray-500 text-center",children:"No se encontraron encabezados"})})]})]}),(0,i.jsx)("section",{className:"px-4 pb-6 pt-2",children:(0,i.jsx)("button",{type:"button",onClick:J,className:"w-full rounded-xl apea-gradient py-3 text-sm font-semibold text-white cursor-pointer transition hover:bg-none hover:bg-green-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",children:"Restablecer configuraci\xF3n"})})]})}function Dt({icon:e,label:t,level:n,onIncrease:o,onDecrease:s,canIncrease:r,canDecrease:a}){let c=n>0;return(0,i.jsxs)("div",{className:`flex flex-col items-center justify-between gap-1 rounded-3xl border p-2 shadow-md/20 text-center transition-all ${c?"border-yellow-500 bg-yellow-50 text-blue-900":"border-gray-200 bg-white text-gray-700"}`,children:[(0,i.jsx)("span",{className:"h-5 w-5 text-gray-500",children:e}),(0,i.jsx)("span",{className:"text-sm font-medium leading-tight",children:t}),(0,i.jsxs)("div",{className:"flex items-center gap-1 w-full justify-center",children:[(0,i.jsx)("button",{type:"button",onClick:s,disabled:!a,"aria-label":`Reducir ${t}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"\u2212"}),(0,i.jsx)("span",{className:"w-4 text-center text-sm font-semibold tabular-nums",children:n}),(0,i.jsx)("button",{type:"button",onClick:o,disabled:!r,"aria-label":`Aumentar ${t}`,className:"flex h-5 w-5 items-center justify-center rounded text-xs font-bold text-blue-700 cursor-pointer hover:bg-blue-100 disabled:opacity-30 focus-visible:outline-none",children:"+"})]})]})}function yi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 12h8M4 18h12",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M15 14l5 5M20 14l-5 5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function vi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Si(){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 7l4 10 4-10M20 7v10M17 7h6",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ci(){return(0,i.jsx)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"m20.003 16.975-2.027 2.028m.113-3.943 1.914 1.915m-16.006 0 2.027-2.029m-.113 3.944-1.914-1.915m0 0h16.006m-2-5.975L15.16 4.997 12.317 11m.568-1.2h4.547M4.997 4.997 7.84 11l2.843-6.003",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})}function xi(){return(0,i.jsxs)("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M12.754 4a.75.75 0 0 1 .75-.75H20.5a.75.75 0 0 1 0 1.5h-6.996a.75.75 0 0 1-.75-.75m7.746 9.917h-6.996a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5m-6.996 5.333a.75.75 0 0 0 0 1.5H20.5a.75.75 0 0 0 0-1.5zm6.996-9.167h-6.996a.75.75 0 0 1 0-1.5H20.5a.75.75 0 0 1 0 1.5",opacity:.4,fill:"#323544"}),(0,i.jsx)("path",{d:"m9.974 16.47-1.722 1.72V5.81l1.722 1.72a.75.75 0 0 0 1.06-1.06l-3.002-3a.75.75 0 0 0-1.06 0l-3.002 3a.75.75 0 0 0 1.06 1.06l1.722-1.72v12.38L5.03 16.47a.75.75 0 0 0-1.06 1.06l3.002 3a.75.75 0 0 0 1.06 0l3.002-3a.75.75 0 0 0-1.06-1.06",fill:"#323544"})]})}function Ai(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),(0,i.jsx)("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function Li(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("path",{d:"M12 3v18"}),(0,i.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18V3z",fill:"currentColor",stroke:"none"})]})}function wi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,i.jsx)("path",{d:"M12 4v16M8 8l8 8M4 12h16",strokeLinecap:"round",strokeOpacity:.4}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})]})}function Ei(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3",strokeDasharray:"2 2"})]})}function Mi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),(0,i.jsx)("path",{d:"M3 12h18M12 5v14"}),(0,i.jsx)("path",{d:"M3 5h9v14H3z",fill:"currentColor",fillOpacity:.15,stroke:"none"})]})}function ki(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}function Ii(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("rect",{x:"9",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"}),(0,i.jsx)("rect",{x:"13",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"})]})}function Ni(){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M5 3l14 9-7.5 1.5L9 20l-4-17z"})})}function Ti(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,i.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"}),(0,i.jsx)("path",{d:"M21 15l-5-5L5 21",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2 2l20 20",strokeLinecap:"round",strokeWidth:2.5})]})}function Ri({mode:e}){return e==="center"?(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M6 6h12M8 10h8M6 14h12M8 18h8",strokeLinecap:"round"})}):e==="right"?(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 6h16M8 10h12M4 14h16M8 18h12",strokeLinecap:"round"})}):(0,i.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:(0,i.jsx)("path",{d:"M4 6h16M4 10h12M4 14h16M4 18h12",strokeLinecap:"round"})})}function Pi(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M11 5L6 9H2v6h4l5 4V5z",fill:"currentColor",stroke:"none"}),(0,i.jsx)("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",strokeLinecap:"round"})]})}function _i(){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M4 6h16M4 10h12M8 14h12M8 18h8",strokeLinecap:"round"}),(0,i.jsx)("circle",{cx:"4",cy:"14",r:"1",fill:"currentColor",stroke:"none"}),(0,i.jsx)("circle",{cx:"4",cy:"18",r:"1",fill:"currentColor",stroke:"none"})]})}function Hi({mode:e}){return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,i.jsx)("path",{d:"M12 3c-3 4-3 10 0 18",strokeLinecap:"round"}),(0,i.jsx)("path",{d:"M12 3c3 4 3 10 0 18",strokeLinecap:"round"}),e==="achromatopsia"?(0,i.jsx)("path",{d:"M3 12h18"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M4 8h16",strokeOpacity:.4}),(0,i.jsx)("path",{d:"M4 16h16",strokeOpacity:.4})]})]})}function Wi({profile:e}){switch(e){case"visionImpaired":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]});case"cognitive":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("path",{d:"M12 2a7 7 0 0 1 7 7c0 3-2 5-3 7h-8c-1-2-3-4-3-7a7 7 0 0 1 7-7z"}),(0,i.jsx)("path",{d:"M9 16v2a3 3 0 0 0 6 0v-2"})]});case"motorImpaired":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12 6v6l4 4M12 12l-4 4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("circle",{cx:"8",cy:"20",r:"2"}),(0,i.jsx)("circle",{cx:"16",cy:"20",r:"2"})]});case"seniorFriendly":return(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[(0,i.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),(0,i.jsx)("path",{d:"M12 6v8M12 14l-3 6M12 14l3 6M12 10h-2l-3 4M12 10h2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}var A=require("react/jsx-runtime");function Oe({position:e="bottom-left",className:t}={}){let[n,o]=(0,Me.useState)(!0),{hasActiveFeatures:s}=Le();(0,Me.useEffect)(()=>{if(!n)return;let c=l=>{l.key==="Escape"&&o(!1)};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[n]);let r=n||s?"var(--apea-color-fab-active, #FFD54F)":"var(--apea-color-fab-inactive, #F6F6F6)";return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:E("fixed z-50 apea-fab",e==="bottom-right"?"bottom-8 right-5":"bottom-8 left-5",t),style:{filter:s?"drop-shadow(0 4px 12px rgba(255, 213, 79, 0.3))":"none"},onClick:()=>o(c=>!c),children:(0,A.jsx)(Ne,{size:"lg","aria-expanded":n,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${s?"Funciones activas":"Sin funciones activas"}`,leftIcon:(0,A.jsx)(Ke,{className:"w-full z-50",color:r,stroke:r})})}),(0,A.jsx)("div",{className:"fixed inset-0 z-40 apea-backdrop",style:{backgroundColor:"var(--apea-color-backdrop, rgba(0, 0, 0, 0.2))"},"data-visible":n?"true":"false",onClick:()=>o(!1),"aria-hidden":"true"}),(0,A.jsx)("div",{role:"none",className:"fixed inset-y-0 right-0 z-50 w-full max-w-sm shadow-2xl apea-panel","data-open":n?"true":"false",children:(0,A.jsx)(Vt,{onClose:()=>o(!1)})})]})}var Fe=require("react/jsx-runtime"),Oi={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function ze(e){return{...Oi,...e}}function zi(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function Gt(e,t){e.style.setProperty("--apea-color-primary-500",t.primary500),e.style.setProperty("--apea-color-primary-600",t.primary600),e.style.setProperty("--apea-color-primary-700",t.primary700),e.style.setProperty("--apea-color-panel-bg",t.panelBackground),e.style.setProperty("--apea-color-fab-active",t.fabActive),e.style.setProperty("--apea-color-fab-inactive",t.fabInactive),e.style.setProperty("--apea-color-backdrop",t.backdrop)}function Zt(e={}){let t={position:e.position||"bottom-left",zIndex:e.zIndex||9999,containerId:e.containerId||"ape-accessibility-root",theme:ze(e.theme)},n=ze(t.theme),o=t.containerId||"ape-accessibility-root";if(document.getElementById(o))return console.warn("[ape-accessibility] Widget already mounted. Call destroy() first."),{destroy:()=>{},updateConfig:()=>{},config:e};let s=document.createElement("style");s.id="ape-accessibility-tools-css",s.textContent=`/* ============================================= */
9
+ /* Accessibility Feature Styles */
10
+ /* ============================================= */
11
+
12
+ /* High Contrast Mode */
13
+ .high-contrast {
14
+ --color-background: #000000;
15
+ --color-foreground: #ffffff;
16
+ }
17
+
18
+ .high-contrast * {
19
+ border-color: currentColor !important;
20
+ }
21
+
22
+ .high-contrast button,
23
+ .high-contrast input,
24
+ .high-contrast select,
25
+ .high-contrast textarea {
26
+ background-color: #000000 !important;
27
+ color: #ffffff !important;
28
+ border: 2px solid #ffffff !important;
29
+ }
30
+
31
+ .high-contrast a {
32
+ color: #ffff00 !important;
33
+ text-decoration: underline !important;
34
+ }
35
+
36
+ /* Text Size Scaling */
37
+ :root {
38
+ --accessibility-text-scale: 1;
39
+ --accessibility-letter-spacing: 0;
40
+ --accessibility-line-height: 0;
41
+ }
42
+
43
+ .accessibility-text-scaled * {
44
+ font-size: calc(1em * var(--accessibility-text-scale)) !important;
45
+ line-height: calc(1.4 * var(--accessibility-text-scale)) !important;
46
+ }
47
+
48
+ /* Colorblind Modes */
49
+ :root[data-colorblind-mode='protanopia'],
50
+ :root[data-colorblind-mode='deuteranopia'] {
51
+ --color-blue-500: #0072b2;
52
+ --color-green-500: #009e73;
53
+ --color-yellow-500: #e69f00;
54
+ --color-red-500: #d55e00;
55
+ }
56
+
57
+ :root[data-colorblind-mode='tritanopia'] {
58
+ --color-blue-500: #9b2335;
59
+ --color-yellow-500: #cc79a7;
60
+ --color-green-500: #009e73;
61
+ }
62
+
63
+ :root[data-colorblind-mode='achromatopsia'] {
64
+ filter: grayscale(1);
65
+ }
66
+
67
+ /* Saturation Modes */
68
+ .accessibility-saturation-high {
69
+ filter: saturate(2);
70
+ }
71
+
72
+ .accessibility-saturation-low {
73
+ filter: saturate(0.3);
74
+ }
75
+
76
+ .accessibility-saturation-mono {
77
+ filter: grayscale(1) contrast(1.2);
78
+ }
79
+
80
+ /* Dyslexia Font */
81
+ @font-face {
82
+ font-family: OpenDyslexic3;
83
+ src: url('https://website-widgets.pages.dev/fonts/OpenDyslexic3-Regular.woff') format('woff');
84
+ font-display: swap;
85
+ }
220
86
 
221
- scheduler/cjs/scheduler.production.js:
222
- (**
223
- * @license React
224
- * scheduler.production.js
225
- *
226
- * Copyright (c) Meta Platforms, Inc. and affiliates.
227
- *
228
- * This source code is licensed under the MIT license found in the
229
- * LICENSE file in the root directory of this source tree.
230
- *)
87
+ .accessibility-dyslexia,
88
+ .accessibility-dyslexia * {
89
+ font-family: OpenDyslexic3, 'Comic Sans MS', Arial, sans-serif !important;
90
+ }
231
91
 
232
- react/cjs/react.production.js:
233
- (**
234
- * @license React
235
- * react.production.js
236
- *
237
- * Copyright (c) Meta Platforms, Inc. and affiliates.
238
- *
239
- * This source code is licensed under the MIT license found in the
240
- * LICENSE file in the root directory of this source tree.
241
- *)
92
+ /* Letter Spacing & Line Height */
93
+ .accessibility-letter-spacing * {
94
+ letter-spacing: calc(0.1em * var(--accessibility-letter-spacing)) !important;
95
+ }
242
96
 
243
- react-dom/cjs/react-dom.production.js:
244
- (**
245
- * @license React
246
- * react-dom.production.js
247
- *
248
- * Copyright (c) Meta Platforms, Inc. and affiliates.
249
- *
250
- * This source code is licensed under the MIT license found in the
251
- * LICENSE file in the root directory of this source tree.
252
- *)
97
+ .accessibility-line-height * {
98
+ line-height: calc(1.4 + 0.3 * var(--accessibility-line-height)) !important;
99
+ }
100
+
101
+ .accessibility-font-weight * {
102
+ font-weight: 700 !important;
103
+ }
104
+
105
+ /* Highlight Titles & Links */
106
+ :root[data-highlight='titles'] h1,
107
+ :root[data-highlight='titles'] h2,
108
+ :root[data-highlight='titles'] h3,
109
+ :root[data-highlight='titles'] h4,
110
+ :root[data-highlight='titles'] h5,
111
+ :root[data-highlight='titles'] h6,
112
+ :root[data-highlight='both'] h1,
113
+ :root[data-highlight='both'] h2,
114
+ :root[data-highlight='both'] h3,
115
+ :root[data-highlight='both'] h4,
116
+ :root[data-highlight='both'] h5,
117
+ :root[data-highlight='both'] h6 {
118
+ background-color: rgba(254, 201, 5, 0.2) !important;
119
+ border-radius: 2px;
120
+ padding: 0 2px;
121
+ }
122
+
123
+ :root[data-highlight='links'] a,
124
+ :root[data-highlight='both'] a {
125
+ background-color: rgba(0, 93, 202, 0.12) !important;
126
+ text-decoration: underline !important;
127
+ }
128
+
129
+ /* Stop Animations */
130
+ .accessibility-stop-animations *,
131
+ .accessibility-stop-animations *::before,
132
+ .accessibility-stop-animations *::after {
133
+ animation: none !important;
134
+ transition: none !important;
135
+ }
136
+
137
+ /* Big Cursor */
138
+ .accessibility-big-cursor,
139
+ .accessibility-big-cursor * {
140
+ cursor:
141
+ url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M6 2L6 26L12 20L16 30L19 29L15 19L24 19Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
142
+ 6 2,
143
+ auto !important;
144
+ }
145
+
146
+ /* Hide Images */
147
+ .accessibility-hide-images img,
148
+ .accessibility-hide-images svg:not([data-a11y-icon]),
149
+ .accessibility-hide-images video,
150
+ .accessibility-hide-images picture {
151
+ visibility: hidden !important;
152
+ }
153
+
154
+ /* Text Alignment */
155
+ :root[data-text-align='left'] * {
156
+ text-align: left !important;
157
+ }
158
+
159
+ :root[data-text-align='center'] * {
160
+ text-align: center !important;
161
+ }
162
+
163
+ :root[data-text-align='right'] * {
164
+ text-align: right !important;
165
+ }
166
+ `,document.head.appendChild(s);let r=document.createElement("div");r.id=o,r.setAttribute("data-a11y-icon",""),r.style.position="fixed",r.style.zIndex=String(t.zIndex||9999),r.style.top="0",r.style.left="0",r.style.width="0",r.style.height="0",r.style.overflow="visible",Gt(r,n),document.body.appendChild(r);let a=r.attachShadow({mode:"open"}),c=document.createElement("style");c.textContent=`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
167
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-500:#fec905;--color-green-50:oklch(98.2% .018 155.826);--color-green-500:#0a0;--color-blue-50:#eef5ff;--color-blue-100:#cfe5ff;--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#7cb8ff;--color-blue-500:#005dca;--color-blue-600:#004faf;--color-blue-700:#003b8a;--color-blue-900:#002e64;--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--leading-tight:1.25;--radius-lg:.5rem;--radius-xl:.75rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.right-0{right:calc(var(--spacing) * 0)}.right-5{right:calc(var(--spacing) * 5)}.bottom-8{bottom:calc(var(--spacing) * 8)}.left-5{left:calc(var(--spacing) * 5)}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing) * -2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-\\[40px\\]{height:40px}.h-\\[60px\\]{height:60px}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing) * 60)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-\\[40px\\]{width:40px}.w-\\[60px\\]{width:60px}.w-full{width:100%}.max-w-sm{max-width:var(--container-sm)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.rotate-180{rotate:180deg}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[30px\\]{border-radius:30px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-200{border-color:var(--color-gray-200)}.border-white\\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\\/30{border-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.border-yellow-500{border-color:var(--color-yellow-500)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-green-50{background-color:var(--color-green-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-50{background-color:var(--color-yellow-50)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-md\\/20{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-green-500{--tw-ring-color:var(--color-green-500)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media (hover:hover){.hover\\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-green-500:hover{background-color:var(--color-green-500)}.hover\\:bg-white\\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/20:hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.hover\\:bg-none:hover{background-image:none}.hover\\:font-semibold:hover{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.hover\\:ring-2:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:ring-blue-300:hover{--tw-ring-color:var(--color-blue-300)}.hover\\:ring-yellow-500:hover{--tw-ring-color:var(--color-yellow-500)}}.focus\\:bg-blue-50:focus{background-color:var(--color-blue-50)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-blue-500:focus-visible{--tw-ring-color:var(--color-blue-500)}.focus-visible\\:ring-white:focus-visible{--tw-ring-color:var(--color-white)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}
168
+ /* Widget animation styles */
169
+
170
+ /* FAB button */
171
+ .apea-fab {
172
+ transition: transform 0.15s ease, filter 0.2s ease;
173
+ }
174
+ .apea-fab:hover {
175
+ transform: scale(1.05);
176
+ }
177
+ .apea-fab:active {
178
+ transform: scale(0.95);
179
+ }
180
+
181
+ /* Backdrop */
182
+ .apea-backdrop {
183
+ opacity: 0;
184
+ transition: opacity 0.25s ease;
185
+ pointer-events: none;
186
+ }
187
+ .apea-backdrop[data-visible='true'] {
188
+ opacity: 1;
189
+ pointer-events: auto;
190
+ }
253
191
 
254
- react-dom/cjs/react-dom-client.production.js:
255
- (**
256
- * @license React
257
- * react-dom-client.production.js
258
- *
259
- * Copyright (c) Meta Platforms, Inc. and affiliates.
260
- *
261
- * This source code is licensed under the MIT license found in the
262
- * LICENSE file in the root directory of this source tree.
263
- *)
192
+ /* Slide-in panel */
193
+ .apea-panel {
194
+ transform: translateX(100%);
195
+ transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
196
+ }
197
+ .apea-panel[data-open='true'] {
198
+ transform: translateX(0);
199
+ }
264
200
 
265
- react/cjs/react-jsx-runtime.production.js:
266
- (**
267
- * @license React
268
- * react-jsx-runtime.production.js
269
- *
270
- * Copyright (c) Meta Platforms, Inc. and affiliates.
271
- *
272
- * This source code is licensed under the MIT license found in the
273
- * LICENSE file in the root directory of this source tree.
274
- *)
275
- */
201
+ /* Blue gradient for FAB button */
202
+ .apea-gradient {
203
+ background-image: linear-gradient(
204
+ 135deg,
205
+ var(--apea-color-primary-500, var(--color-blue-500)) 0%,
206
+ var(--apea-color-primary-600, var(--color-blue-600)) 50%,
207
+ var(--apea-color-primary-700, var(--color-blue-700)) 80%
208
+ );
209
+ }
210
+ `,a.appendChild(c);let l=document.createElement("div");a.appendChild(l);let m=(0,$t.createRoot)(l);return m.render((0,Fe.jsx)(Oe,{position:t.position})),{updateConfig(g){t=zi(t,g),n=ze(t.theme),r.style.zIndex=String(t.zIndex||9999),Gt(r,n),m&&m.render((0,Fe.jsx)(Oe,{position:t.position}))},destroy(){m&&(m.unmount(),m=null),r.remove(),s.remove()},get config(){return t}}}var R=null,D={};function jt(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function De(e={}){return R?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),R):(D=jt(D,e),R=Zt(D),R)}function Be(){R&&(R.destroy(),R=null)}function Ve(){return d()}function Ge(e={}){return D=jt(D,e),R&&R.updateConfig(D),ke()}function ke(){return{...D,theme:{...D.theme??{}}}}function $e(){ee(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var le={init:De,destroy:Be,getSettings:Ve,resetAllSettings:$e,configure:Ge,getConfig:ke};var se=require("react");function Ut({config:e={}}){let t=(0,se.useRef)(null),n=(0,se.useRef)(!1);return(0,se.useEffect)(()=>(n.current=!1,t.current=le.init(e),()=>{n.current=!0,t.current?.destroy(),t.current=null}),[]),(0,se.useEffect)(()=>{n.current||le.configure(e)},[e]),null}0&&(module.exports={AccessibilityWidget,accessibility,configure,destroy,getConfig,getSettings,init,resetAllSettings});
276
211
  //# sourceMappingURL=index.cjs.map