ape-accessibility 0.4.0 → 0.6.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/README.md +188 -188
- package/dist/auto.cjs +199 -264
- package/dist/auto.global.js +209 -209
- package/dist/auto.js +199 -264
- package/dist/index.cjs +199 -264
- package/dist/index.global.js +209 -209
- package/dist/index.js +199 -264
- package/package.json +78 -74
package/dist/index.js
CHANGED
|
@@ -1,276 +1,211 @@
|
|
|
1
|
-
var W2=Object.create;var ko=Object.defineProperty;var F2=Object.getOwnPropertyDescriptor;var $2=Object.getOwnPropertyNames;var I2=Object.getPrototypeOf,P2=Object.prototype.hasOwnProperty;var ue=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tm=(t,e,l,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of $2(e))!P2.call(t,a)&&a!==l&&ko(t,a,{get:()=>e[a],enumerable:!(n=F2(e,a))||n.enumerable});return t};var _=(t,e,l)=>(l=t!=null?W2(I2(t)):{},tm(e||!t||!t.__esModule?ko(l,"default",{value:t,enumerable:!0}):l,t));var as=ue(I=>{"use strict";function Pu(t,e){var l=t.length;t.push(e);t:for(;0<l;){var n=l-1>>>1,a=t[n];if(0<ei(a,e))t[n]=e,t[l]=a,l=n;else break t}}function ce(t){return t.length===0?null:t[0]}function ni(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>ei(c,l))f<a&&0>ei(r,c)?(t[n]=r,t[f]=l,n=f):(t[n]=c,t[u]=l,n=u);else if(f<a&&0>ei(r,l))t[n]=r,t[f]=l,n=f;else break t}}return e}function ei(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"?(Wo=performance,I.unstable_now=function(){return Wo.now()}):(Fu=Date,Fo=Fu.now(),I.unstable_now=function(){return Fu.now()-Fo});var Wo,Fu,Fo,ye=[],Ze=[],em=1,wt=null,bt=3,tc=!1,$n=!1,In=!1,ec=!1,Po=typeof setTimeout=="function"?setTimeout:null,ts=typeof clearTimeout=="function"?clearTimeout:null,$o=typeof setImmediate<"u"?setImmediate:null;function li(t){for(var e=ce(Ze);e!==null;){if(e.callback===null)ni(Ze);else if(e.startTime<=t)ni(Ze),e.sortIndex=e.expirationTime,Pu(ye,e);else break;e=ce(Ze)}}function lc(t){if(In=!1,li(t),!$n)if(ce(ye)!==null)$n=!0,Il||(Il=!0,$l());else{var e=ce(Ze);e!==null&&nc(lc,e.startTime-t)}}var Il=!1,Pn=-1,es=5,ls=-1;function ns(){return ec?!0:!(I.unstable_now()-ls<es)}function $u(){if(ec=!1,Il){var t=I.unstable_now();ls=t;var e=!0;try{t:{$n=!1,In&&(In=!1,ts(Pn),Pn=-1),tc=!0;var l=bt;try{e:{for(li(t),wt=ce(ye);wt!==null&&!(wt.expirationTime>t&&ns());){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,li(t),e=!0;break e}wt===ce(ye)&&ni(ye),li(t)}else ni(ye);wt=ce(ye)}if(wt!==null)e=!0;else{var i=ce(Ze);i!==null&&nc(lc,i.startTime-t),e=!1}}break t}finally{wt=null,bt=l,tc=!1}e=void 0}}finally{e?$l():Il=!1}}}var $l;typeof $o=="function"?$l=function(){$o($u)}:typeof MessageChannel<"u"?(Iu=new MessageChannel,Io=Iu.port2,Iu.port1.onmessage=$u,$l=function(){Io.postMessage(null)}):$l=function(){Po($u,0)};var Iu,Io;function nc(t,e){Pn=Po(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"):es=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(){ec=!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:em++,callback:e,priorityLevel:t,startTime:l,expirationTime:a,sortIndex:-1},l>n?(t.sortIndex=l,Pu(Ze,t),ce(ye)===null&&t===ce(Ze)&&(In?(ts(Pn),Pn=-1):In=!0,nc(lc,l-n))):(t.sortIndex=a,Pu(ye,t),$n||tc||($n=!0,Il||(Il=!0,$l()))),t};I.unstable_shouldYield=ns;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 us=ue((Bv,is)=>{"use strict";is.exports=as()});var hs=ue(T=>{"use strict";var uc=Symbol.for("react.transitional.element"),lm=Symbol.for("react.portal"),nm=Symbol.for("react.fragment"),am=Symbol.for("react.strict_mode"),im=Symbol.for("react.profiler"),um=Symbol.for("react.consumer"),cm=Symbol.for("react.context"),fm=Symbol.for("react.forward_ref"),om=Symbol.for("react.suspense"),sm=Symbol.for("react.memo"),rs=Symbol.for("react.lazy"),rm=Symbol.for("react.activity"),cs=Symbol.iterator;function dm(t){return t===null||typeof t!="object"?null:(t=cs&&t[cs]||t["@@iterator"],typeof t=="function"?t:null)}var ds={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ms=Object.assign,gs={};function tn(t,e,l){this.props=t,this.context=e,this.refs=gs,this.updater=l||ds}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 ys(){}ys.prototype=tn.prototype;function cc(t,e,l){this.props=t,this.context=e,this.refs=gs,this.updater=l||ds}var fc=cc.prototype=new ys;fc.constructor=cc;ms(fc,tn.prototype);fc.isPureReactComponent=!0;var fs=Array.isArray;function ic(){}var J={H:null,A:null,T:null,S:null},vs=Object.prototype.hasOwnProperty;function oc(t,e,l){var n=l.ref;return{$$typeof:uc,type:t,key:e,ref:n!==void 0?n:null,props:l}}function mm(t,e){return oc(t.type,e,t.props)}function sc(t){return typeof t=="object"&&t!==null&&t.$$typeof===uc}function gm(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return e[l]})}var os=/\/+/g;function ac(t,e){return typeof t=="object"&&t!==null&&t.key!=null?gm(""+t.key):e.toString(36)}function ym(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ic,ic):(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 uc:case lm:u=!0;break;case rs:return u=t._init,Pl(u(t._payload),e,l,n,a)}}if(u)return a=a(t),u=n===""?"."+ac(t,0):n,fs(a)?(l="",u!=null&&(l=u.replace(os,"$&/")+"/"),Pl(a,e,l,"",function(r){return r})):a!=null&&(sc(a)&&(a=mm(a,l+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(os,"$&/")+"/")+u)),e.push(a)),1;u=0;var c=n===""?".":n+":";if(fs(t))for(var f=0;f<t.length;f++)n=t[f],i=c+ac(n,f),u+=Pl(n,e,l,i,a);else if(f=dm(t),typeof f=="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,i=c+ac(n,f++),u+=Pl(n,e,l,i,a);else if(i==="object"){if(typeof t.then=="function")return Pl(ym(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 ai(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 vm(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 ss=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)},hm={map:ai,forEach:function(t,e,l){ai(t,function(){e.apply(this,arguments)},l)},count:function(t){var e=0;return ai(t,function(){e++}),e},toArray:function(t){return ai(t,function(e){return e})||[]},only:function(t){if(!sc(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};T.Activity=rm;T.Children=hm;T.Component=tn;T.Fragment=nm;T.Profiler=im;T.PureComponent=cc;T.StrictMode=am;T.Suspense=om;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=ms({},t.props),a=t.key;if(e!=null)for(i in e.key!==void 0&&(a=""+e.key),e)!vs.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 oc(t.type,a,n)};T.createContext=function(t){return t={$$typeof:cm,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:um,_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)vs.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 oc(t,i,a)};T.createRef=function(){return{current:null}};T.forwardRef=function(t){return{$$typeof:fm,render:t}};T.isValidElement=sc;T.lazy=function(t){return{$$typeof:rs,_payload:{_status:-1,_result:t},_init:vm}};T.memo=function(t,e){return{$$typeof:sm,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(ic,ss)}catch(i){ss(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((Yv,Ss)=>{"use strict";Ss.exports=hs()});var bs=ue(Et=>{"use strict";var Sm=k();function ps(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(ps(522))},D:Qe,C:Qe,L:Qe,m:Qe,X:Qe,S:Qe,M:Qe},p:0,findDOMNode:null},pm=Symbol.for("react.portal");function bm(t,e,l){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:pm,key:n==null?null:""+n,children:t,containerInfo:e,implementation:l}}var ta=Sm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function ii(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(ps(299));return bm(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=ii(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=ii(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=ii(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=ii(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 Cs=ue((Xv,Es)=>{"use strict";function As(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(As)}catch(t){console.error(t)}}As(),Es.exports=bs()});var Rd=ue(Lu=>{"use strict";var ot=us(),Wr=k(),Am=Cs();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 Fr(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 $r(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 Ir(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 Ms(t){if(Xa(t)!==t)throw Error(p(188))}function Em(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 Ms(a),t;if(i===n)return Ms(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 Pr(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Pr(t),e!==null)return e;t=t.sibling}return null}var $=Object.assign,Cm=Symbol.for("react.element"),ui=Symbol.for("react.transitional.element"),fa=Symbol.for("react.portal"),cn=Symbol.for("react.fragment"),t1=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),e1=Symbol.for("react.consumer"),Ce=Symbol.for("react.context"),Xf=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Kc=Symbol.for("react.suspense_list"),jf=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Jc=Symbol.for("react.activity"),Mm=Symbol.for("react.memo_cache_sentinel"),Ts=Symbol.iterator;function ea(t){return t===null||typeof t!="object"?null:(t=Ts&&t[Ts]||t["@@iterator"],typeof t=="function"?t:null)}var Tm=Symbol.for("react.client.reference");function kc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Tm?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cn:return"Fragment";case wc:return"Profiler";case t1:return"StrictMode";case Vc:return"Suspense";case Kc:return"SuspenseList";case Jc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case fa:return"Portal";case Ce:return t.displayName||"Context";case e1:return(t._context.displayName||"Context")+".Consumer";case Xf:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case jf:return e=t.displayName||null,e!==null?e:kc(t.type)||"Memo";case we:e=t._payload,t=t._init;try{return kc(t(e))}catch{}}return null}var oa=Array.isArray,M=Wr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Am.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xl={pending:!1,data:null,method:null,action:null},Wc=[],fn=-1;function de(t){return{current:t}}function dt(t){0>fn||(t.current=Wc[fn],Wc[fn]=null,fn--)}function K(t,e){fn++,Wc[fn]=t.current,t.current=e}var re=de(null),za=de(null),el=de(null),Gi=de(null);function Xi(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)?Dr(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Dr(e),t=Ad(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 Fc(t){t.memoizedState!==null&&K(Gi,t);var e=re.current,l=Ad(e,t.type);e!==l&&(K(za,t),K(re,l))}function ji(t){za.current===t&&(dt(re),dt(za)),Gi.current===t&&(dt(Gi),qa._currentValue=xl)}var rc,zs;function Cl(t){if(rc===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);rc=e&&e[1]||"",zs=-1<l.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+rc+t+zs}var dc=!1;function mc(t,e){if(!t||dc)return"";dc=!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{dc=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Cl(l):""}function zm(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 mc(t.type,!1);case 11:return mc(t.type.render,!1);case 1:return mc(t.type,!0);case 31:return Cl("Activity");default:return""}}function xs(t){try{var e="",l=null;do e+=zm(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
|
|
7
|
-
Error generating stack: `+n.message+`
|
|
8
|
-
`+n.stack}}var $c=Object.prototype.hasOwnProperty,Zf=ot.unstable_scheduleCallback,gc=ot.unstable_cancelCallback,xm=ot.unstable_shouldYield,_m=ot.unstable_requestPaint,Bt=ot.unstable_now,Om=ot.unstable_getCurrentPriorityLevel,l1=ot.unstable_ImmediatePriority,n1=ot.unstable_UserBlockingPriority,Zi=ot.unstable_NormalPriority,Lm=ot.unstable_LowPriority,a1=ot.unstable_IdlePriority,Nm=ot.log,Dm=ot.unstable_setDisableYieldValue,ja=null,qt=null;function Fe(t){if(typeof Nm=="function"&&Dm(t),qt&&typeof qt.setStrictMode=="function")try{qt.setStrictMode(ja,t)}catch{}}var Yt=Math.clz32?Math.clz32:Rm,Hm=Math.log,Um=Math.LN2;function Rm(t){return t>>>=0,t===0?32:31-(Hm(t)/Um|0)|0}var ci=256,fi=262144,oi=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 gu(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 Bm(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 i1(){var t=oi;return oi<<=1,(oi&62914560)===0&&(oi=4194304),t}function yc(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 qm(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&&u1(t,n,0),i!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=i&~(u&~e))}function u1(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 c1(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 f1(t,e){var l=e&-e;return l=(l&42)!==0?1:Qf(l),(l&(t.suspendedLanes|e))!==0?0:l}function Qf(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 wf(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function o1(){var t=X.p;return t!==0?t:(t=window.event,t===void 0?32:Dd(t.type))}function _s(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,Ic="__reactEvents$"+gl,Ym="__reactListeners$"+gl,Gm="__reactHandles$"+gl,Os="__reactResources$"+gl,wa="__reactMarker$"+gl;function Vf(t){delete t[yt],delete t[Ot],delete t[Ic],delete t[Ym],delete t[Gm]}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[Os];return e||(e=t[Os]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function rt(t){t[wa]=!0}var s1=new Set,r1={};function ql(t,e){xn(t,e),xn(t+"Capture",e)}function xn(t,e){for(r1[t]=e,t=0;t<e.length;t++)s1.add(e[t])}var Xm=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]*$"),Ls={},Ns={};function jm(t){return $c.call(Ns,t)?!0:$c.call(Ls,t)?!1:Xm.test(t)?Ns[t]=!0:(Ls[t]=!0,!1)}function Mi(t,e,l){if(jm(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 si(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 d1(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Zm(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 Pc(t){if(!t._valueTracker){var e=d1(t)?"checked":"value";t._valueTracker=Zm(t,e,""+t[e])}}function m1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=d1(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Qi(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 Qm=/[\n"\\]/g;function Wt(t){return t.replace(Qm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tf(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?ef(t,u,Kt(e)):l!=null?ef(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 g1(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)){Pc(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),Pc(t)}function ef(t,e,l){e==="number"&&Qi(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 y1(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 v1(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),Pc(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 wm=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 Ds(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||wm.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function h1(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&&Ds(t,a,n)}else for(var i in e)e.hasOwnProperty(i)&&Ds(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 Vm=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"]]),Km=/^[\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 Ti(t){return Km.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Me(){}var lf=null;function Jf(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 Hs(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(tf(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));tf(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&&m1(n)}break t;case"textarea":y1(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&bn(t,!!l.multiple,e,!1)}}}var vc=!1;function S1(t,e,l){if(vc)return t(e,l);vc=!0;try{var n=t(e);return n}finally{if(vc=!1,(sn!==null||An!==null)&&(zu(),sn&&(e=sn,t=An,An=sn=null,Hs(e),t)))for(e=0;e<t.length;e++)Hs(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"),nf=!1;if(Oe)try{en={},Object.defineProperty(en,"passive",{get:function(){nf=!0}}),window.addEventListener("test",en,en),window.removeEventListener("test",en,en)}catch{nf=!1}var en,$e=null,kf=null,zi=null;function p1(){if(zi)return zi;var t,e=kf,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 zi=a.slice(t,1<n?1-n:void 0)}function xi(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 ri(){return!0}function Us(){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)?ri:Us,this.isPropagationStopped=Us,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=ri)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ri)},persist:function(){},isPersistent:ri}),e}var Yl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yu=Lt(Yl),Va=$({},Yl,{view:0,detail:0}),Jm=Lt(Va),hc,Sc,la,vu=$({},Va,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,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"?(hc=t.screenX-la.screenX,Sc=t.screenY-la.screenY):Sc=hc=0,la=t),hc)},movementY:function(t){return"movementY"in t?t.movementY:Sc}}),Rs=Lt(vu),km=$({},vu,{dataTransfer:0}),Wm=Lt(km),Fm=$({},Va,{relatedTarget:0}),pc=Lt(Fm),$m=$({},Yl,{animationName:0,elapsedTime:0,pseudoElement:0}),Im=Lt($m),Pm=$({},Yl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),tg=Lt(Pm),eg=$({},Yl,{data:0}),Bs=Lt(eg),lg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ng={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"},ag={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ig(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ag[t])?!!e[t]:!1}function Wf(){return ig}var ug=$({},Va,{key:function(t){if(t.key){var e=lg[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=xi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ng[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(t){return t.type==="keypress"?xi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),cg=Lt(ug),fg=$({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qs=Lt(fg),og=$({},Va,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),sg=Lt(og),rg=$({},Yl,{propertyName:0,elapsedTime:0,pseudoElement:0}),dg=Lt(rg),mg=$({},vu,{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}),gg=Lt(mg),yg=$({},Yl,{newState:0,oldState:0}),vg=Lt(yg),hg=[9,13,27,32],Ff=Oe&&"CompositionEvent"in window,ma=null;Oe&&"documentMode"in document&&(ma=document.documentMode);var Sg=Oe&&"TextEvent"in window&&!ma,b1=Oe&&(!Ff||ma&&8<ma&&11>=ma),Ys=" ",Gs=!1;function A1(t,e){switch(t){case"keyup":return hg.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function E1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var rn=!1;function pg(t,e){switch(t){case"compositionend":return E1(e);case"keypress":return e.which!==32?null:(Gs=!0,Ys);case"textInput":return t=e.data,t===Ys&&Gs?null:t;default:return null}}function bg(t,e){if(rn)return t==="compositionend"||!Ff&&A1(t,e)?(t=p1(),zi=kf=$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 b1&&e.locale!=="ko"?null:e.data;default:return null}}var Ag={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 Xs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Ag[t.type]:e==="textarea"}function C1(t,e,l,n){sn?An?An.push(n):An=[n]:sn=n,e=cu(e,"onChange"),0<e.length&&(l=new yu("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var ga=null,_a=null;function Eg(t){Sd(t,0)}function hu(t){var e=sa(t);if(m1(e))return t}function js(t,e){if(t==="change")return e}var M1=!1;Oe&&(Oe?(mi="oninput"in document,mi||(bc=document.createElement("div"),bc.setAttribute("oninput","return;"),mi=typeof bc.oninput=="function"),di=mi):di=!1,M1=di&&(!document.documentMode||9<document.documentMode));var di,mi,bc;function Zs(){ga&&(ga.detachEvent("onpropertychange",T1),_a=ga=null)}function T1(t){if(t.propertyName==="value"&&hu(_a)){var e=[];C1(e,_a,t,Jf(t)),S1(Eg,e)}}function Cg(t,e,l){t==="focusin"?(Zs(),ga=e,_a=l,ga.attachEvent("onpropertychange",T1)):t==="focusout"&&Zs()}function Mg(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return hu(_a)}function Tg(t,e){if(t==="click")return hu(e)}function zg(t,e){if(t==="input"||t==="change")return hu(e)}function xg(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Xt=typeof Object.is=="function"?Object.is:xg;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(!$c.call(e,a)||!Xt(t[a],e[a]))return!1}return!0}function Qs(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ws(t,e){var l=Qs(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=Qs(l)}}function z1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?z1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function x1(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Qi(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=Qi(t.document)}return e}function $f(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 _g=Oe&&"documentMode"in document&&11>=document.documentMode,dn=null,af=null,ya=null,uf=!1;function Vs(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;uf||dn==null||dn!==Qi(n)||(n=dn,"selectionStart"in n&&$f(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=cu(af,"onSelect"),0<n.length&&(e=new yu("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")},Ac={},_1={};Oe&&(_1=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(Ac[t])return Ac[t];if(!mn[t])return t;var e=mn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in _1)return Ac[t]=e[l];return t}var O1=Gl("animationend"),L1=Gl("animationiteration"),N1=Gl("animationstart"),Og=Gl("transitionrun"),Lg=Gl("transitionstart"),Ng=Gl("transitioncancel"),D1=Gl("transitionend"),H1=new Map,cf="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(" ");cf.push("scrollEnd");function ne(t,e){H1.set(t,e),ql(e,[t])}var wi=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,If=0;function Su(){for(var t=gn,e=If=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&&U1(l,a,i)}}function pu(t,e,l,n){Vt[gn++]=t,Vt[gn++]=e,Vt[gn++]=l,Vt[gn++]=n,If|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function Pf(t,e,l,n){return pu(t,e,l,n),Vi(t)}function Xl(t,e){return pu(t,null,null,e),Vi(t)}function U1(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 Vi(t){if(50<Ma)throw Ma=0,_f=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 Dg(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 Dg(t,e,l,n)}function to(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 R1(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 _i(t,e,l,n,a,i){var u=0;if(n=t,typeof t=="function")to(t)&&(u=1);else if(typeof t=="string")u=Ry(t,l,re.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Jc:return t=Ut(31,l,e,a),t.elementType=Jc,t.lanes=i,t;case cn:return _l(l.children,a,i,e);case t1:u=8,a|=24;break;case wc:return t=Ut(12,l,e,a|2),t.elementType=wc,t.lanes=i,t;case Vc:return t=Ut(13,l,e,a),t.elementType=Vc,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 e1:u=9;break t;case Xf:u=11;break t;case jf: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 Ec(t,e,l){return t=Ut(6,t,null,e),t.lanes=l,t}function B1(t){var e=Ut(18,null,null,0);return e.stateNode=t,e}function Cc(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 Ks=new WeakMap;function Ft(t,e){if(typeof t=="object"&&t!==null){var l=Ks.get(t);return l!==void 0?l:(e={value:t,source:e,stack:xs(e)},Ks.set(t,e),e)}return{value:t,source:e,stack:xs(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 eo(t){t.return!==null&&(Ae(t,1),q1(t,1,0))}function lo(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 Y1(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,ff=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)),ff}function Js(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),g1(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),v1(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||bd(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 ks(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 ks(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")||Hf(t.type,t.memoizedProps)),l=!l),l&&F&&rl(t),ks(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));F=Br(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(p(317));F=Br(t)}else e===27?(e=F,yl(t.type)?(t=qf,qf=null,F=t):F=e):F=vt?Pt(t.stateNode.nextSibling):null;return!0}function Dl(){F=vt=null,B=!1}function Mc(){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 of=de(null),jl=null,Te=null;function Ke(t,e,l){K(of,e._currentValue),e._currentValue=l}function xe(t){t._currentValue=of.current,dt(of)}function sf(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 rf(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),sf(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),sf(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===Gi.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&&rf(e,t,l,n),e.flags|=262144}function Ji(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 G1(jl,t)}function gi(t,e){return jl===null&&Hl(t),G1(t,e)}function G1(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 Hg=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()})}},Ug=ot.unstable_scheduleCallback,Rg=ot.unstable_NormalPriority,ut={$$typeof:Ce,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function no(){return{controller:new Hg,data:new Map,refCount:0}}function Ka(t){t.refCount--,t.refCount===0&&Ug(Rg,function(){t.controller.abort()})}var va=null,df=0,On=0,En=null;function Bg(t,e){if(va===null){var l=va=[];df=0,On=Oo(),En={status:"pending",value:void 0,then:function(n){l.push(n)}}}return df++,e.then(Ws,Ws),e}function Ws(){if(--df===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 qg(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 Fs=M.S;M.S=function(t,e){P0=Bt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Bg(t,e),Fs!==null&&Fs(t,e)};var Ol=de(null);function ao(){var t=Ol.current;return t!==null?t:V.pooledCache}function Oi(t,e){e===null?K(Ol,Ol.current):K(Ol,e.pool)}function X1(){var t=ao();return t===null?null:{parent:ut._currentValue,pool:t}}var Xn=Error(p(460)),io=Error(p(474)),bu=Error(p(542)),ki={then:function(){}};function $s(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,Ps(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,Ps(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 Is(){if(Ll===null)throw Error(p(459));var t=Ll;return Ll=null,t}function Ps(t){if(t===Xn||t===bu)throw Error(p(483))}var Cn=null,Da=0;function yi(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 vi(t,e){throw e.$$typeof===Cm?Error(p(525)):(t=Object.prototype.toString.call(e),Error(p(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Z1(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=Ec(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=_i(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=Cc(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=Ec(""+o,s.mode,d),o.return=s,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case ui:return d=_i(o.type,o.key,o.props,null,s.mode,d),na(d,o),d.return=s,d;case fa:return o=Cc(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,yi(o),d);if(o.$$typeof===Ce)return h(s,gi(s,o),d);vi(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 ui: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,yi(d),S);if(d.$$typeof===Ce)return g(s,o,gi(s,d),S);vi(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 ui: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,yi(S),b);if(S.$$typeof===Ce)return v(s,o,d,gi(o,S),b);vi(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(k2){return e(s,k2)}),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 ui: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=_i(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=Cc(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,yi(d),S);if(d.$$typeof===Ce)return L(s,o,gi(s,d),S);vi(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=Ec(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===bu)throw E;var H=Ut(29,E,null,s.mode);return H.lanes=S,H.return=s,H}}}var Ul=Z1(!0),Q1=Z1(!1),Ve=!1;function uo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mf(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=Vi(t),U1(t,null,l),e}return pu(t,n,e,l),Vi(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,c1(t,l)}}function Tc(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 gf=!1;function Sa(){if(gf){var t=En;if(t!==null)throw t}}function pa(t,e,l,n){gf=!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&&(gf=!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 w1(t,e){if(typeof t!="function")throw Error(p(191,t));t.call(e)}function V1(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)w1(l[t],e)}var Ln=de(null),Wi=de(0);function tr(t,e){t=He,K(Wi,t),K(Ln,e),He=t|e.baseLanes}function yf(){K(Wi,He),K(Ln,Ln.current)}function co(){He=Wi.current,dt(Ln),dt(Wi)}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 vf(t){K(lt,lt.current),K(jt,t),It===null&&(It=t)}function K1(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 Fi(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Rf(l)||Bf(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,$i=!1,Mn=!1,Rl=!1,Ii=0,Ha=0,Tn=null,Yg=0;function tt(){throw Error(p(321))}function fo(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 oo(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?C0:Ao,Rl=!1,i=l(n,a),Rl=!1,Mn&&(i=k1(e,l,n,a)),J1(t),i}function J1(t){M.H=Ua;var e=w!==null&&w.next!==null;if(Le=0,at=w=z=null,$i=!1,Ha=0,Tn=null,e)throw Error(p(300));t===null||ct||(t=t.dependencies,t!==null&&Ji(t)&&(ct=!0))}function k1(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=M0,i=e(l,n)}while(Mn);return i}function Gg(){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 so(){var t=Ii!==0;return Ii=0,t}function ro(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function mo(t){if($i){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}$i=!1}Le=0,at=w=z=null,Mn=!1,Ha=Ii=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 Au(){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?C0:Ao),t}function Eu(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 go(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=Au(),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]=Mm;return e.index++,l}function Ne(t,e){return typeof e=="function"?e(t):e}function Li(t){var e=nt();return yo(e,w,t)}function yo(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 zc(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 W1(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,vo(I1.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},$1.bind(null,n,a,l,e),null),V===null)throw Error(p(349));i||(Le&127)!==0||F1(n,e,l)}return l}function F1(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=z.updateQueue,e===null?(e=Au(),z.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function $1(t,e,l,n){e.value=l,e.getSnapshot=n,P1(e)&&t0(t)}function I1(t,e,l){return l(function(){P1(e)&&t0(t)})}function P1(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Xt(t,l)}catch{return!0}}function t0(t){var e=Xl(t,2);e!==null&&_t(e,t,2)}function hf(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 e0(t,e,l,n){return t.baseState=l,yo(t,w,typeof n=="function"?n:Ne)}function Xg(t,e,l,n,a){if(Mu(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,l0(e,i)):(i.next=l.next,e.pending=l.next=i)}}function l0(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),er(t,e,c)}catch(r){Sf(t,e,r)}finally{i!==null&&u.types!==null&&(i.types=u.types),M.T=i}}else try{i=l(a,n),er(t,e,i)}catch(r){Sf(t,e,r)}}function er(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){lr(t,e,n)},function(n){return Sf(t,e,n)}):lr(t,e,l)}function lr(t,e,l){e.status="fulfilled",e.value=l,n0(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,l0(t,l)))}function Sf(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,n0(e),e=e.next;while(e!==n)}t.action=null}function n0(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function a0(t,e){return e}function nr(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:a0,lastRenderedState:e},l.queue=n,l=b0.bind(null,z,n),n.dispatch=l,n=hf(!1),i=bo.bind(null,z,!1,n.queue),n=Ct(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=Xg.bind(null,z,a,i,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function ar(t){var e=nt();return i0(e,w,t)}function i0(t,e,l){if(e=yo(t,e,a0)[0],t=Li(Ne)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ja(e)}catch(u){throw u===Xn?bu: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},jg.bind(null,a,l),null)),[n,i,t]}function jg(t,e){t.action=e}function ir(t){var e=nt(),l=w;if(l!==null)return i0(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=Au(),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 u0(){return nt().memoizedState}function Ni(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 Cu(t,e,l,n){var a=nt();n=n===void 0?null:n;var i=a.memoizedState.inst;w!==null&&n!==null&&fo(n,w.memoizedState.deps)?a.memoizedState=Nn(e,i,l,n):(z.flags|=t,a.memoizedState=Nn(1|e,i,l,n))}function ur(t,e){Ni(8390656,8,t,e)}function vo(t,e){Cu(2048,8,t,e)}function Zg(t){z.flags|=4;var e=z.updateQueue;if(e===null)e=Au(),z.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function c0(t){var e=nt().memoizedState;return Zg({ref:e,nextImpl:t}),function(){if((G&2)!==0)throw Error(p(440));return e.impl.apply(void 0,arguments)}}function f0(t,e){return Cu(4,2,t,e)}function o0(t,e){return Cu(4,4,t,e)}function s0(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 r0(t,e,l){l=l!=null?l.concat([t]):null,Cu(4,4,s0.bind(null,e,t),l)}function ho(){}function d0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&fo(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function m0(t,e){var l=nt();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&fo(e,n[1]))return n[0];if(n=t(),Rl){Fe(!0);try{t()}finally{Fe(!1)}}return l.memoizedState=[n,e],n}function So(t,e,l){return l===void 0||(Le&1073741824)!==0&&(R&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=ed(),z.lanes|=t,ml|=t,l)}function g0(t,e,l,n){return Xt(l,e)?l:Ln.current!==null?(t=So(t,l,n),Xt(t,e)||(ct=!0),t):(Le&42)===0||(Le&1073741824)!==0&&(R&261930)===0?(ct=!0,t.memoizedState=l):(t=ed(),z.lanes|=t,ml|=t,e)}function y0(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,bo(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=qg(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 Qg(){}function pf(t,e,l,n){if(t.tag!==5)throw Error(p(476));var a=v0(t).queue;y0(t,a,e,xl,l===null?Qg:function(){return h0(t),l(n)})}function v0(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 h0(t){var e=v0(t);e.next===null&&(e=t.alternate.memoizedState),ba(t,e.next.queue,{},Gt())}function po(){return ht(qa)}function S0(){return nt().memoizedState}function p0(){return nt().memoizedState}function wg(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:no()},t.payload=e;return}e=e.return}}function Vg(t,e,l){var n=Gt();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Mu(t)?A0(e,l):(l=Pf(t,e,l,n),l!==null&&(_t(l,t,n),E0(l,e,n)))}function b0(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(Mu(t))A0(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 pu(t,e,a,0),V===null&&Su(),!1}catch{}if(l=Pf(t,e,a,n),l!==null)return _t(l,t,n),E0(l,e,n),!0}return!1}function bo(t,e,l,n){if(n={lane:2,revertLane:Oo(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Mu(t)){if(e)throw Error(p(479))}else e=Pf(t,l,n,2),e!==null&&_t(e,t,2)}function Mu(t){var e=t.alternate;return t===z||e!==null&&e===z}function A0(t,e){Mn=$i=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function E0(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,c1(t,l)}}var Ua={readContext:ht,use:Eu,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 C0={readContext:ht,use:Eu,useCallback:function(t,e){return Ct().memoizedState=[t,e===void 0?null:e],t},useContext:ht,useEffect:ur,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ni(4194308,4,s0.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ni(4194308,4,t,e)},useInsertionEffect:function(t,e){Ni(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=Vg.bind(null,z,t),[n.memoizedState,t]},useRef:function(t){var e=Ct();return t={current:t},e.memoizedState=t},useState:function(t){t=hf(t);var e=t.queue,l=b0.bind(null,z,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:ho,useDeferredValue:function(t,e){var l=Ct();return So(l,t,e)},useTransition:function(){var t=hf(!1);return t=y0.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||F1(n,e,l)}a.memoizedState=l;var i={value:l,getSnapshot:e};return a.queue=i,ur(I1.bind(null,n,i,t),[t]),n.flags|=2048,Nn(9,{destroy:void 0},$1.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=Ii++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Yg++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:po,useFormState:nr,useActionState:nr,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=bo.bind(null,z,!0,l),l.dispatch=e,[t,e]},useMemoCache:go,useCacheRefresh:function(){return Ct().memoizedState=wg.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)}}},Ao={readContext:ht,use:Eu,useCallback:d0,useContext:ht,useEffect:vo,useImperativeHandle:r0,useInsertionEffect:f0,useLayoutEffect:o0,useMemo:m0,useReducer:Li,useRef:u0,useState:function(){return Li(Ne)},useDebugValue:ho,useDeferredValue:function(t,e){var l=nt();return g0(l,w.memoizedState,t,e)},useTransition:function(){var t=Li(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ja(t),e]},useSyncExternalStore:W1,useId:S0,useHostTransitionStatus:po,useFormState:ar,useActionState:ar,useOptimistic:function(t,e){var l=nt();return e0(l,w,t,e)},useMemoCache:go,useCacheRefresh:p0};Ao.useEffectEvent=c0;var M0={readContext:ht,use:Eu,useCallback:d0,useContext:ht,useEffect:vo,useImperativeHandle:r0,useInsertionEffect:f0,useLayoutEffect:o0,useMemo:m0,useReducer:zc,useRef:u0,useState:function(){return zc(Ne)},useDebugValue:ho,useDeferredValue:function(t,e){var l=nt();return w===null?So(l,t,e):g0(l,w.memoizedState,t,e)},useTransition:function(){var t=zc(Ne)[0],e=nt().memoizedState;return[typeof t=="boolean"?t:Ja(t),e]},useSyncExternalStore:W1,useId:S0,useHostTransitionStatus:po,useFormState:ir,useActionState:ir,useOptimistic:function(t,e){var l=nt();return w!==null?e0(l,w,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:go,useCacheRefresh:p0};M0.useEffectEvent=c0;function xc(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 bf={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 cr(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 fr(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&&bf.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 T0(t){wi(t)}function z0(t){console.error(t)}function x0(t){wi(t)}function Pi(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function or(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 Af(t,e,l){return l=nl(l),l.tag=3,l.payload={element:null},l.callback=function(){Pi(t,e)},l}function _0(t){return t=nl(t),t.tag=3,t}function O0(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(){or(e,l,n)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){or(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 Kg(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?au():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===ki?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),Yc(t,n,a)),!1;case 22:return l.flags|=65536,n===ki?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)),Yc(t,n,a)),!1}throw Error(p(435,l.tag))}return Yc(t,n,a),au(),!1}if(B)return e=jt.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==ff&&(t=Error(p(422),{cause:n}),Na(Ft(t,l)))):(n!==ff&&(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=Af(t.stateNode,n,a),Tc(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=Af(l.stateNode,n,t),Tc(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=_0(a),O0(a,t,l,n),Tc(l,a),!1}l=l.return}while(l!==null);return!1}var Eo=Error(p(461)),ct=!1;function gt(t,e,l,n){e.child=t===null?Q1(e,null,l,n):Ul(e,t.child,l,n)}function sr(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=oo(t,e,l,u,i,a),c=so(),t!==null&&!ct?(ro(t,e,a),De(t,e,a)):(B&&c&&eo(e),e.flags|=1,gt(t,e,n,a),e.child)}function rr(t,e,l,n,a){if(t===null){var i=l.type;return typeof i=="function"&&!to(i)&&i.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=i,L0(t,e,i,n,a)):(t=_i(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!Co(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 L0(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,Co(t,a))(t.flags&131072)!==0&&(ct=!0);else return e.lanes=t.lanes,De(t,e,a)}return Ef(t,e,l,n,a)}function N0(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 dr(t,e,i,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Oi(e,i!==null?i.cachePool:null),i!==null?tr(e,i):yf(),K1(e);else return n=e.lanes=536870912,dr(t,e,i!==null?i.baseLanes|l:l,l,n)}else i!==null?(Oi(e,i.cachePool),tr(e,i),ke(e),e.memoizedState=null):(t!==null&&Oi(e,null),yf(),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 dr(t,e,l,n,a){var i=ao();return i=i===null?null:{parent:ut._currentValue,pool:i},e.memoizedState={baseLanes:l,cachePool:i},t!==null&&Oi(e,null),yf(),K1(e),t!==null&&Gn(t,e,n,!0),e.childLanes=a,null}function Di(t,e){return e=tu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function mr(t,e,l){return Ul(e,t.child,null,l),t=Di(e,e.pendingProps),t.flags|=2,Ht(e),e.memoizedState=null,t}function Jg(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=Di(e,n),e.lanes=536870912,ra(null,t);if(vf(e),(t=F)?(t=Cd(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=B1(t),l.return=e,e.child=l,vt=e,F=null)):t=null,t===null)throw rl(e);return e.lanes=536870912,null}return Di(e,n)}var i=t.memoizedState;if(i!==null){var u=i.dehydrated;if(vf(e),a)if(e.flags&256)e.flags&=-257,e=mr(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=f1(n,l),u!==0&&u!==i.retryLane))throw i.retryLane=u,Xl(t,u),_t(n,t,u),Eo;au(),e=mr(t,e,l)}else t=i.treeContext,F=Pt(u.nextSibling),vt=e,B=!0,ll=null,$t=!1,t!==null&&Y1(e,t),e=Di(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 Hi(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 Ef(t,e,l,n,a){return Hl(e),l=oo(t,e,l,n,void 0,a),n=so(),t!==null&&!ct?(ro(t,e,a),De(t,e,a)):(B&&n&&eo(e),e.flags|=1,gt(t,e,l,a),e.child)}function gr(t,e,l,n,a,i){return Hl(e),e.updateQueue=null,l=k1(e,n,l,a),J1(t),n=so(),t!==null&&!ct?(ro(t,e,i),De(t,e,i)):(B&&n&&eo(e),e.flags|=1,gt(t,e,l,i),e.child)}function yr(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=bf,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=n,i.state=e.memoizedState,i.refs={},uo(e),u=l.contextType,i.context=typeof u=="object"&&u!==null?ht(u):yn,i.state=e.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&(xc(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&&bf.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)&&fr(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"&&(xc(e,l,h,n),r=e.memoizedState),(f=Ve||cr(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,mf(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)&&fr(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&&Ji(t.dependencies)?(typeof c=="function"&&(xc(e,l,c,n),v=e.memoizedState),(y=Ve||cr(e,l,y,n,g,v,f)||t!==null&&t.dependencies!==null&&Ji(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,Hi(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 vr(t,e,l,n){return Dl(),e.flags|=256,gt(t,e,l,n),e.child}var _c={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Oc(t){return{baseLanes:t,cachePool:X1()}}function Lc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Rt),t}function D0(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=Cd(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=B1(t),l.return=e,e.child=l,vt=e,F=null)):t=null,t===null)throw rl(e);return Bf(t)?e.lanes=32:e.lanes=536870912,null}var c=n.children;return n=n.fallback,a?(ke(e),a=e.mode,c=tu({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=Oc(l),n.childLanes=Lc(t,u,l),e.memoizedState=_c,ra(null,n)):(Je(e),Cf(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=Nc(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=tu({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=Oc(l),n.childLanes=Lc(t,u,l),e.memoizedState=_c,e=ra(null,n));else if(Je(e),Bf(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=Nc(t,e,l)}else if(ct||Gn(t,e,l,!1),u=(l&t.childLanes)!==0,ct||u){if(u=V,u!==null&&(n=f1(u,l),n!==0&&n!==f.retryLane))throw f.retryLane=n,Xl(t,n),_t(u,t,n),Eo;Rf(c)||au(),e=Nc(t,e,l)}else Rf(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&&Y1(e,t),e=Cf(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=Oc(l):(a=c.cachePool,a!==null?(f=ut._currentValue,a=a.parent!==f?{parent:f,pool:f}:a):a=X1(),c={baseLanes:c.baseLanes|l,cachePool:a}),n.memoizedState=c,n.childLanes=Lc(t,u,l),e.memoizedState=_c,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 Cf(t,e){return e=tu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tu(t,e){return t=Ut(22,t,null,e),t.lanes=0,t}function Nc(t,e,l){return Ul(e,t.child,null,l),t=Cf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function hr(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),sf(t.return,e,l)}function Dc(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 H0(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&&hr(t,l,e);else if(t.tag===19)hr(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&&Fi(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Dc(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&&Fi(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Dc(e,!0,l,null,i,n);break;case"together":Dc(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 Co(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ji(t)))}function kg(t,e,l){switch(e.tag){case 3:Xi(e,e.stateNode.containerInfo),Ke(e,ut,t.memoizedState.cache),Dl();break;case 27:case 5:Fc(e);break;case 4:Xi(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,vf(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?D0(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 H0(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,N0(t,e,l,e.pendingProps);case 24:Ke(e,ut,t.memoizedState.cache)}return De(t,e,l)}function U0(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ct=!0;else{if(!Co(t,l)&&(e.flags&128)===0)return ct=!1,kg(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")to(t)?(n=Bl(t,n),e.tag=1,e=yr(null,e,t,n,l)):(e.tag=0,e=Ef(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===Xf){e.tag=11,e=sr(null,e,t,n,l);break t}else if(a===jf){e.tag=14,e=rr(null,e,t,n,l);break t}}throw e=kc(t)||t,Error(p(306,e,""))}}return e;case 0:return Ef(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Bl(n,e.pendingProps),yr(t,e,n,a,l);case 3:t:{if(Xi(e,e.stateNode.containerInfo),t===null)throw Error(p(387));n=e.pendingProps;var i=e.memoizedState;a=i.element,mf(t,e),pa(e,n,null,l);var u=e.memoizedState;if(n=u.cache,Ke(e,ut,n),n!==i.cache&&rf(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=vr(t,e,n,l);break t}else if(n!==a){a=Ft(Error(p(424)),e),Na(a),e=vr(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=Q1(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 Hi(t,e),t===null?(l=Gr(e.type,null,e.pendingProps,null))?e.memoizedState=l:B||(l=e.type,t=e.pendingProps,n=fu(el.current).createElement(l),n[yt]=e,n[Ot]=t,St(n,l,t),rt(n),e.stateNode=n):e.memoizedState=Gr(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Fc(e),t===null&&B&&(n=e.stateNode=Md(e.type,e.pendingProps,el.current),vt=e,$t=!0,a=F,yl(e.type)?(qf=a,F=Pt(n.firstChild)):F=a),gt(t,e,e.pendingProps.children,l),Hi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&B&&((a=n=F)&&(n=Ey(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)),Fc(e),a=e.type,i=e.pendingProps,u=t!==null?t.memoizedProps:null,n=i.children,Hf(a,i)?n=null:u!==null&&Hf(a,u)&&(e.flags|=32),e.memoizedState!==null&&(a=oo(t,e,Gg,null,null,l),qa._currentValue=a),Hi(t,e),gt(t,e,n,l),e.child;case 6:return t===null&&B&&((t=l=F)&&(l=Cy(l,e.pendingProps,$t),l!==null?(e.stateNode=l,vt=e,F=null,t=!0):t=!1),t||rl(e)),null;case 13:return D0(t,e,l);case 4:return Xi(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 sr(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 rr(t,e,e.type,e.pendingProps,l);case 15:return L0(t,e,e.type,e.pendingProps,l);case 19:return H0(t,e,l);case 31:return Jg(t,e,l);case 22:return N0(t,e,l,e.pendingProps);case 24:return Hl(e),n=ht(ut),t===null?(a=ao(),a===null&&(a=V,i=no(),a.pooledCache=i,i.refCount++,i!==null&&(a.pooledCacheLanes|=l),a=i),e.memoizedState={parent:n,cache:a},uo(e),Ke(e,ut,a)):((t.lanes&l)!==0&&(mf(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&&rf(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 Hc(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(ad())t.flags|=8192;else throw Ll=ki,io}else t.flags&=-16777217}function Sr(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!xd(e))if(ad())t.flags|=8192;else throw Ll=ki,io}function hi(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?i1():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 Wg(t,e,l){var n=e.pendingProps;switch(lo(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,Mc())),W(e),null;case 26:var a=e.type,i=e.memoizedState;return t===null?(he(e),i!==null?(W(e),Sr(e,i)):(W(e),Hc(e,a,null,n,l))):i?i!==t.memoizedState?(he(e),W(e),Sr(e,i)):(W(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&he(e),W(e),Hc(e,a,t,n,l)),null;case 27:if(ji(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)?Js(e,t):(t=Md(a,n,l),e.stateNode=t,he(e))}return W(e),null;case 5:if(ji(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))Js(e,i);else{var u=fu(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),Hc(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||bd(t.nodeValue,l)),t||rl(e,!0)}else t=fu(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=Mc(),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=Mc(),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),hi(e,e.updateQueue),W(e),null);case 4:return zn(),t===null&&Lo(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=Fi(t),i!==null){for(e.flags|=128,aa(n,!1),t=i.updateQueue,e.updateQueue=t,hi(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)R1(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()>lu&&(e.flags|=128,a=!0,aa(n,!1),e.lanes=4194304)}else{if(!a)if(t=Fi(i),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,hi(e,t),aa(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!B)return W(e),null}else 2*Bt()-n.renderingStartTime>lu&&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),co(),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&&hi(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 Fg(t,e){switch(lo(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 ji(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),co(),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 R0(t,e){switch(lo(e),e.tag){case 3:xe(ut),zn();break;case 26:case 27:case 5:ji(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),co(),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 B0(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{V1(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 Y0(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 Uc(t,e,l){try{var n=t.stateNode;vy(n,t.type,l,e),n[Ot]=e}catch(a){Z(t,t.return,a)}}function G0(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&yl(t.type)||t.tag===4}function Rc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||G0(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 Mf(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(Mf(t,e,l),t=t.sibling;t!==null;)Mf(t,e,l),t=t.sibling}function eu(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(eu(t,e,l),t=t.sibling;t!==null;)eu(t,e,l),t=t.sibling}function X0(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,Bc=!1,pr=typeof WeakSet=="function"?WeakSet:Set,st=null;function $g(t,e){if(t=t.containerInfo,Nf=du,t=x1(t),$f(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(Df={focusedElem:t,selectionRange:l},du=!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)Uf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Uf(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&&B0(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{V1(t,e)}catch(u){Z(l,l.return,u)}}break;case 27:e===null&&n&4&&X0(l);case 26:case 5:pe(t,l),e===null&&n&4&&Y0(l),n&512&&Aa(l,l.return);break;case 12:pe(t,l);break;case 31:pe(t,l),n&4&&w0(t,l);break;case 13:pe(t,l),n&4&&V0(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=uy.bind(null,l),My(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 Z0(t){var e=t.alternate;e!==null&&(t.alternate=null,Z0(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Vf(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;)Q0(t,e,l),l=l.sibling}function Q0(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,Ur(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Bn(t)):Ur(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 w0(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 V0(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 Ig(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new pr),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new pr),e;default:throw Error(p(435,t.tag))}}function Si(t,e){var l=Ig(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=cy.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));Q0(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;)K0(e,t),e=e.sibling}var le=null;function K0(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 Zr(a,t.type,t.stateNode);else t.stateNode=Xr(a,n,t.memoizedProps);else i!==n?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,n===null?Zr(a,t.type,t.stateNode):Xr(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&Uc(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&&Uc(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,Uc(t,a,l!==null?l.memoizedProps:a)),n&1024&&(Bc=!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(Bi=null,a=le,le=ou(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)}Bc&&(Bc=!1,J0(t));break;case 4:n=le,le=ou(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,Si(t,n)));break;case 13:Mt(e,t),Tt(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Tu=Bt()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Si(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?Rr(v,!0):Rr(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,Si(t,l))));break;case 19:Mt(e,t),Tt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Si(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(G0(n)){l=n;break}n=n.return}if(l==null)throw Error(p(160));switch(l.tag){case 27:var a=l.stateNode,i=Rc(t);eu(t,i,a);break;case 5:var u=l.stateNode;l.flags&32&&(_n(u,""),l.flags&=-33);var c=Rc(t);eu(t,c,u);break;case 3:case 4:var f=l.stateNode.containerInfo,r=Rc(t);Mf(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 J0(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;J0(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++)w1(f[a],c)}catch(r){Z(n,n.return,r)}}l&&u&64&&B0(i),Aa(i,i.return);break;case 27:X0(i);case 26:case 5:be(a,i,l),l&&n===null&&u&4&&Y0(i),Aa(i,i.return);break;case 12:be(a,i,l);break;case 31:be(a,i,l),l&&u&4&&w0(a,i);break;case 13:be(a,i,l),l&&u&4&&V0(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 Mo(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 To(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;)k0(t,e,l,n),e=e.sibling}function k0(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&&Mo(u,e);break;case 24:ee(t,e,l,n),a&2048&&To(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&&Mo(u.alternate,u);break;case 24:an(i,u,c,f,a),a&&r&2048&&To(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&&Mo(n.alternate,n);break;case 24:Ea(l,n),a&2048&&To(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;)W0(t,e,l),t=t.sibling}function W0(t,e,l){switch(t.tag){case 26:nn(t,e,l),t.flags&da&&t.memoizedState!==null&&By(l,le,t.memoizedState,t.memoizedProps);break;case 5:nn(t,e,l);break;case 3:case 4:var n=le;le=ou(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 F0(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,I0(n,t)}F0(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)$0(t),t=t.sibling}function $0(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,Ui(t)):ia(t);break;default:ia(t)}}function Ui(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,I0(n,t)}F0(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:dl(8,e,e.return),Ui(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Ui(e));break;default:Ui(e)}t=t.sibling}}function I0(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(Z0(n),n===l){st=null;break t}if(a!==null){a.return=i,st=a;break t}st=i}}}var Pg={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}},ty=typeof WeakMap=="function"?WeakMap:Map,G=0,V=null,D=null,R=0,j=0,Dt=null,Ie=!1,jn=!1,zo=!1,He=0,et=0,ml=0,Nl=0,xo=0,Rt=0,Dn=0,Ca=null,xt=null,Tf=!1,Tu=0,P0=0,lu=1/0,nu=null,il=null,ft=0,ul=null,Hn=null,_e=0,zf=0,xf=null,td=null,Ma=0,_f=null;function Gt(){return(G&2)!==0&&R!==0?R&-R:M.T!==null?Oo():o1()}function ed(){if(Rt===0)if((R&536870912)===0||B){var t=fi;fi<<=1,(fi&3932160)===0&&(fi=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 ld(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?ny(t,e):qc(t,e,!0),i=n;do{if(a===0){jn&&!n&&Pe(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!ey(l)){a=qc(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=qc(c,u,!1),u!==2){if(zo&&!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=Tu+300-Bt(),10<a)){if(Pe(n,e,Rt,!Ie),gu(n,0,!0)!==0)break t;_e=e,n.timeoutHandle=Ed(br.bind(null,n,l,xt,nu,Tf,e,Rt,Nl,Dn,Ie,i,"Throttled",-0,0),a);break t}br(n,l,xt,nu,Tf,e,Rt,Nl,Dn,Ie,i,null,-0,0)}}break}while(!0);me(t)}function br(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},W0(e,i,h);var A=(i&62914560)===i?Tu-Bt():(i&4194048)===i?P0-Bt():0;if(A=qy(h,A),A!==null){_e=i,t.cancelPendingCommit=A(Er.bind(null,t,e,i,l,n,a,u,c,f,y,h,null,g,v)),Pe(t,i,u,!r);return}}Er(t,e,i,l,n,a,u,c,f)}function ey(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&=~xo,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&&u1(t,l,e)}function zu(){return(G&6)===0?(Wa(0,!1),!1):!0}function _o(){if(D!==null){if(j===0)var t=D.return;else t=D,Te=jl=null,mo(t),Cn=null,Da=0,t=D;for(;t!==null;)R0(t.alternate,t),t=t.return;D=null}}function Un(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,py(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),_e=0,_o(),V=t,D=l=ze(t.current,null),R=e,j=0,Dt=null,Ie=!1,jn=Za(t,e),zo=!1,Dn=Rt=xo=Nl=ml=et=0,xt=Ca=null,Tf=!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,Su(),l}function nd(t,e){z=null,M.H=Ua,e===Xn||e===bu?(e=Is(),j=3):e===io?(e=Is(),j=4):j=e===Eo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Dt=e,D===null&&(et=1,Pi(t,Ft(e,t.current)))}function ad(){var t=jt.current;return t===null?!0:(R&4194048)===R?It===null:(R&62914560)===R||(R&536870912)!==0?t===It:!1}function id(){var t=M.H;return M.H=Ua,t===null?Ua:t}function ud(){var t=M.A;return M.A=Pg,t}function au(){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 qc(t,e,l){var n=G;G|=2;var a=id(),i=ud();(V!==t||R!==e)&&(nu=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:_o(),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)}}ly(),u=et;break}catch(y){nd(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,Su()),u}function ly(){for(;D!==null;)cd(D)}function ny(t,e){var l=G;G|=2;var n=id(),a=ud();V!==t||R!==e?(nu=null,lu=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($s(i)){j=0,Dt=null,Ar(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:$s(i)?(j=0,Dt=null,Ar(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?xd(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,xu(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:_o(),et=6;break t;default:throw Error(p(462))}}ay();break}catch(y){nd(t,y)}while(!0);return Te=jl=null,M.H=n,M.A=a,G=l,D!==null?0:(V=null,R=0,Su(),et)}function ay(){for(;D!==null&&!xm();)cd(D)}function cd(t){var e=U0(t.alternate,t,He);t.memoizedProps=t.pendingProps,e===null?xu(t):D=e}function Ar(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=gr(l,e,e.pendingProps,e.type,void 0,R);break;case 11:e=gr(l,e,e.pendingProps,e.type.render,e.ref,R);break;case 5:mo(e);default:R0(l,e),e=D=R1(e,He),e=U0(l,e,He)}t.memoizedProps=t.pendingProps,e===null?xu(t):D=e}function Sn(t,e,l,n){Te=jl=null,mo(e),Cn=null,Da=0;var a=e.return;try{if(Kg(t,a,e,l,R)){et=1,Pi(t,Ft(l,t.current)),D=null;return}}catch(i){if(a!==null)throw D=a,i;et=1,Pi(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))),fd(e,t)):xu(e)}function xu(t){var e=t;do{if((e.flags&32768)!==0){fd(e,Ie);return}t=e.return;var l=Wg(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 fd(t,e){do{var l=Fg(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 Er(t,e,l,n,a,i,u,c,f){t.cancelPendingCommit=null;do _u();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|=If,qm(t,l,i,u,c,f),t===V&&(D=V=null,R=0),Hn=e,ul=t,_e=l,zf=i,xf=a,td=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fy(Zi,function(){return md(),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{$g(t,e,l)}finally{G=u,X.p=a,M.T=n}}ft=1,od(),sd(),rd()}}function od(){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{K0(e,t);var i=Df,u=x1(t.containerInfo),c=i.focusedElem,f=i.selectionRange;if(u!==c&&c&&c.ownerDocument&&z1(c.ownerDocument.documentElement,c)){if(f!==null&&$f(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=ws(c,C),o=ws(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}}du=!!Nf,Df=Nf=null}finally{G=a,X.p=n,M.T=l}}t.current=e,ft=2}}function sd(){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 rd(){if(ft===4||ft===3){ft=0,_m();var t=ul,e=Hn,l=_e,n=td;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ft=5:(ft=0,Hn=ul=null,dd(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(il=null),wf(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&&_u(),me(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===_f?Ma++:(Ma=0,_f=t):Ma=0,Wa(0,!1)}}function dd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ka(e)))}function _u(){return od(),sd(),rd(),md()}function md(){if(ft!==5)return!1;var t=ul,e=zf;zf=0;var l=wf(_e),n=M.T,a=X.p;try{X.p=32>l?32:l,M.T=null,l=xf,xf=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,$0(i.current),k0(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,dd(t,e)}}function Cr(t,e,l){e=Ft(l,e),e=Af(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)Cr(t,t,l);else for(;e!==null;){if(e.tag===3){Cr(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=_0(2),n=al(e,l,2),n!==null&&(O0(l,n,e,t),Qa(n,2),me(n));break}}e=e.return}}function Yc(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new ty;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)||(zo=!0,a.add(l),t=iy.bind(null,t,e,l),e.then(t,t))}function iy(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()-Tu?(G&2)===0&&Un(t,0):xo|=l,Dn===R&&(Dn=0)),me(t)}function gd(t,e){e===0&&(e=i1()),t=Xl(t,e),t!==null&&(Qa(t,e),me(t))}function uy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),gd(t,l)}function cy(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),gd(t,l)}function fy(t,e){return Zf(t,e)}var iu=null,un=null,Of=!1,uu=!1,Gc=!1,tl=0;function me(t){t!==un&&t.next===null&&(un===null?iu=un=t:un=un.next=t),uu=!0,Of||(Of=!0,sy())}function Wa(t,e){if(!Gc&&uu){Gc=!0;do for(var l=!1,n=iu;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,Mr(n,i))}else i=R,i=gu(n,n===V?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||Za(n,i)||(l=!0,Mr(n,i));n=n.next}while(l);Gc=!1}}function oy(){yd()}function yd(){uu=Of=!1;var t=0;tl!==0&&Sy()&&(t=tl);for(var e=Bt(),l=null,n=iu;n!==null;){var a=n.next,i=vd(n,e);i===0?(n.next=null,l===null?iu=a:l.next=a,a===null&&(un=l)):(l=n,(t!==0||(i&3)!==0)&&(uu=!0)),n=a}ft!==0&&ft!==5||Wa(t,!1),tl!==0&&(tl=0)}function vd(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]=Bm(c,e)):f<=e&&(t.expiredLanes|=c),i&=~c}if(e=V,l=R,l=gu(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&&gc(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&&gc(n),wf(l)){case 2:case 8:l=n1;break;case 32:l=Zi;break;case 268435456:l=a1;break;default:l=Zi}return n=hd.bind(null,t),l=Zf(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&gc(n),t.callbackPriority=2,t.callbackNode=null,2}function hd(t,e){if(ft!==0&&ft!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(_u()&&t.callbackNode!==l)return null;var n=R;return n=gu(t,t===V?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(ld(t,n,e),vd(t,Bt()),t.callbackNode!=null&&t.callbackNode===l?hd.bind(null,t):null)}function Mr(t,e){if(_u())return null;ld(t,e,!0)}function sy(){by(function(){(G&6)!==0?Zf(l1,oy):yd()})}function Oo(){if(tl===0){var t=On;t===0&&(t=ci,ci<<=1,(ci&261888)===0&&(ci=256)),tl=t}return tl}function Tr(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ti(""+t)}function zr(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 ry(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var i=Tr((a[Ot]||null).action),u=n.submitter;u&&(e=(e=u[Ot]||null)?Tr(e.formAction):u.getAttribute("formAction"),e!==null&&(i=e,u=null));var c=new yu("action","action",null,n,a);t.push({event:c,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(tl!==0){var f=u?zr(a,u):new FormData(a);pf(l,{pending:!0,data:f,method:a.method,action:i},null,f)}}else typeof i=="function"&&(c.preventDefault(),f=u?zr(a,u):new FormData(a),pf(l,{pending:!0,data:f,method:a.method,action:i},i,f))},currentTarget:a}]})}}for(pi=0;pi<cf.length;pi++)bi=cf[pi],xr=bi.toLowerCase(),_r=bi[0].toUpperCase()+bi.slice(1),ne(xr,"on"+_r);var bi,xr,_r,pi;ne(O1,"onAnimationEnd");ne(L1,"onAnimationIteration");ne(N1,"onAnimationStart");ne("dblclick","onDoubleClick");ne("focusin","onFocus");ne("focusout","onBlur");ne(Og,"onTransitionRun");ne(Lg,"onTransitionStart");ne(Ng,"onTransitionCancel");ne(D1,"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(" "),dy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ra));function Sd(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){wi(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){wi(y)}a.currentTarget=null,i=f}}}}function N(t,e){var l=e[Ic];l===void 0&&(l=e[Ic]=new Set);var n=t+"__bubble";l.has(n)||(pd(e,t,2,!1),l.add(n))}function Xc(t,e,l){var n=0;e&&(n|=4),pd(l,t,n,e)}var Ai="_reactListening"+Math.random().toString(36).slice(2);function Lo(t){if(!t[Ai]){t[Ai]=!0,s1.forEach(function(l){l!=="selectionchange"&&(dy.has(l)||Xc(l,!1,t),Xc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Ai]||(e[Ai]=!0,Xc("selectionchange",!1,e))}}function pd(t,e,l,n){switch(Dd(e)){case 2:var a=Xy;break;case 8:a=jy;break;default:a=Uo}l=a.bind(null,e,l,t),a=void 0,!nf||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 jc(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}S1(function(){var r=i,y=Jf(l),h=[];t:{var g=H1.get(t);if(g!==void 0){var v=yu,A=t;switch(t){case"keypress":if(xi(l)===0)break t;case"keydown":case"keyup":v=cg;break;case"focusin":A="focus",v=pc;break;case"focusout":A="blur",v=pc;break;case"beforeblur":case"afterblur":v=pc;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=Rs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Wm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=sg;break;case O1:case L1:case N1:v=Im;break;case D1:v=dg;break;case"scroll":case"scrollend":v=Jm;break;case"wheel":v=gg;break;case"copy":case"cut":case"paste":v=tg;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=vg}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!==lf&&(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=Rs,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=my,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&&Or(h,g,v,C,!1),A!==null&&L!==null&&Or(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(Xs(g))if(M1)H=zg;else{H=Mg;var E=Cg}else v=g.nodeName,!v||v.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?r&&Kf(r.elementType)&&(H=js):H=Tg;if(H&&(H=H(t,r))){C1(h,H,l,y);break t}E&&E(t,g,r),t==="focusout"&&r&&g.type==="number"&&r.memoizedProps.value!=null&&ef(g,"number",g.value)}switch(E=r?sa(r):window,t){case"focusin":(Xs(E)||E.contentEditable==="true")&&(dn=E,af=r,ya=null);break;case"focusout":ya=af=dn=null;break;case"mousedown":uf=!0;break;case"contextmenu":case"mouseup":case"dragend":uf=!1,Vs(h,l,y);break;case"selectionchange":if(_g)break;case"keydown":case"keyup":Vs(h,l,y)}var x;if(Ff)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?A1(t,l)&&(U="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(U="onCompositionStart");U&&(b1&&l.locale!=="ko"&&(rn||U!=="onCompositionStart"?U==="onCompositionEnd"&&rn&&(x=p1()):($e=y,kf="value"in $e?$e.value:$e.textContent,rn=!0)),E=cu(r,U),0<E.length&&(U=new Bs(U,t,null,l,y),h.push({event:U,listeners:E}),x?U.data=x:(x=E1(l),x!==null&&(U.data=x)))),(x=Sg?pg(t,l):bg(t,l))&&(U=cu(r,"onBeforeInput"),0<U.length&&(E=new Bs("onBeforeInput","beforeinput",null,l,y),h.push({event:E,listeners:U}),E.data=x)),ry(h,t,r,l,y)}Sd(h,e)})}function Ba(t,e,l){return{instance:t,listener:e,currentTarget:l}}function cu(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 my(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Or(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 gy=/\r\n?/g,yy=/\u0000|\uFFFD/g;function Lr(t){return(typeof t=="string"?t:""+t).replace(gy,`
|
|
9
|
-
`).replace(yy,"")}function bd(t,e){return e=Lr(e),Lr(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":si(t,"class",n);break;case"tabIndex":si(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":si(t,l,n);break;case"style":h1(t,n,i);break;case"data":if(e!=="object"){si(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=Ti(""+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=Ti(""+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=Ti(""+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),Mi(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":Mi(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=Vm.get(l)||l,Mi(t,l,n))}}function Lf(t,e,l,n,a,i){switch(l){case"style":h1(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(!r1.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,""):Mi(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)}}g1(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)}v1(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&&Lf(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 vy(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)}}tf(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)}y1(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)&&Lf(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||Lf(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 Nr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function hy(){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&&Nr(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&&Nr(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 Nf=null,Df=null;function fu(t){return t.nodeType===9?t:t.ownerDocument}function Dr(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 Ad(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 Hf(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 Zc=null;function Sy(){var t=window.event;return t&&t.type==="popstate"?t===Zc?!1:(Zc=t,!0):(Zc=null,!1)}var Ed=typeof setTimeout=="function"?setTimeout:void 0,py=typeof clearTimeout=="function"?clearTimeout:void 0,Hr=typeof Promise=="function"?Promise:void 0,by=typeof queueMicrotask=="function"?queueMicrotask:typeof Hr<"u"?function(t){return Hr.resolve(null).then(t).catch(Ay)}:Ed;function Ay(t){setTimeout(function(){throw t})}function yl(t){return t==="head"}function Ur(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 Rr(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 Uf(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":Uf(l),Vf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Ey(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 Cy(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 Cd(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 Rf(t){return t.data==="$?"||t.data==="$~"}function Bf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function My(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 qf=null;function Br(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 Md(t,e,l){switch(e=fu(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]);Vf(t)}var te=new Map,Yr=new Set;function ou(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Ue=X.d;X.d={f:Ty,r:zy,D:xy,C:_y,L:Oy,m:Ly,X:Dy,S:Ny,M:Hy};function Ty(){var t=Ue.f(),e=zu();return t||e}function zy(t){var e=Yn(t);e!==null&&e.tag===5&&e.type==="form"?h0(e):Ue.r(t)}var Zn=typeof document>"u"?null:document;function Td(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+'"]'),Yr.has(a)||(Yr.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 xy(t){Ue.D(t),Td("dns-prefetch",t,null)}function _y(t,e){Ue.C(t,e),Td("preconnect",t,e)}function Oy(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 Ly(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 Ny(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))&&No(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,Ri(u,e,n)}u={type:"stylesheet",instance:u,count:1,state:c},a.set(i,u)}}}function Dy(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))&&Do(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 Hy(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))&&Do(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 Gr(t,e,l,n){var a=(a=el.current)?ou(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||Uy(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 zd(t){return $({},t,{"data-precedence":t.precedence,precedence:null})}function Uy(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 Xr(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),Ri(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=zd(l),(a=te.get(a))&&No(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,Ri(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),Do(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,Ri(n,l.precedence,t));return e.instance}function Ri(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 No(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Do(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Bi=null;function jr(t,e,l){if(Bi===null){var n=new Map,a=Bi=new Map;a.set(l,n)}else a=Bi,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 Zr(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Ry(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 xd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function By(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=su.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=i,rt(i);return}i=e.ownerDocument||e,n=zd(n),(a=te.get(a))&&No(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=su.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Qc=0;function qy(t,e){return t.stylesheets&&t.count===0&&qi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&qi(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&Qc===0&&(Qc=62500*hy());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&qi(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>Qc?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function su(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ru=null;function qi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ru=new Map,e.forEach(Yy,t),ru=null,su.call(t))}function Yy(t,e){if(!(e.state.loading&4)){var l=ru.get(t);if(l)var n=l.get(null);else{l=new Map,ru.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=su.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 Gy(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=yc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yc(0),this.hiddenUpdates=yc(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 _d(t,e,l,n,a,i,u,c,f,r,y,h){return t=new Gy(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=no(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:n,isDehydrated:l,cache:e},uo(i),t}function Od(t){return t?(t=yn,t):yn}function Ld(t,e,l,n,a,i){a=Od(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 Qr(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Ho(t,e){Qr(t,e),(t=t.alternate)&&Qr(t,e)}function Nd(t){if(t.tag===13||t.tag===31){var e=Xl(t,67108864);e!==null&&_t(e,t,67108864),Ho(t,67108864)}}function wr(t){if(t.tag===13||t.tag===31){var e=Gt();e=Qf(e);var l=Xl(t,e);l!==null&&_t(l,t,e),Ho(t,e)}}var du=!0;function Xy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=2,Uo(t,e,l,n)}finally{X.p=i,M.T=a}}function jy(t,e,l,n){var a=M.T;M.T=null;var i=X.p;try{X.p=8,Uo(t,e,l,n)}finally{X.p=i,M.T=a}}function Uo(t,e,l,n){if(du){var a=Yf(n);if(a===null)jc(t,e,n,mu,l),Vr(t,n);else if(Qy(a,t,e,l,n))n.stopPropagation();else if(Vr(t,n),e&4&&-1<Zy.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&&(lu=Bt()+500,Wa(0,!1))}}break;case 31:case 13:c=Xl(i,2),c!==null&&_t(c,i,2),zu(),Ho(i,2)}if(i=Yf(n),i===null&&jc(t,e,n,mu,l),i===a)break;a=i}a!==null&&n.stopPropagation()}else jc(t,e,n,null,l)}}function Yf(t){return t=Jf(t),Ro(t)}var mu=null;function Ro(t){if(mu=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=$r(e),t!==null)return t;t=null}else if(l===31){if(t=Ir(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 mu=t,null}function Dd(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(Om()){case l1:return 2;case n1:return 8;case Zi:case Lm:return 32;case a1:return 268435456;default:return 32}default:return 32}}var Gf=!1,cl=null,fl=null,ol=null,Ya=new Map,Ga=new Map,We=[],Zy="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 Vr(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&&Nd(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Qy(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 Hd(t){var e=on(t.target);if(e!==null){var l=Xa(e);if(l!==null){if(e=l.tag,e===13){if(e=$r(l),e!==null){t.blockedOn=e,_s(t.priority,function(){wr(l)});return}}else if(e===31){if(e=Ir(l),e!==null){t.blockedOn=e,_s(t.priority,function(){wr(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 Yi(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Yf(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);lf=n,l.target.dispatchEvent(n),lf=null}else return e=Yn(l),e!==null&&Nd(e),t.blockedOn=l,!1;e.shift()}return!0}function Kr(t,e,l){Yi(t)&&l.delete(e)}function wy(){Gf=!1,cl!==null&&Yi(cl)&&(cl=null),fl!==null&&Yi(fl)&&(fl=null),ol!==null&&Yi(ol)&&(ol=null),Ya.forEach(Kr),Ga.forEach(Kr)}function Ei(t,e){t.blockedOn===e&&(t.blockedOn=null,Gf||(Gf=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,wy)))}var Ci=null;function Jr(t){Ci!==t&&(Ci=t,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,function(){Ci===t&&(Ci=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(Ro(n||l)===null)continue;break}var i=Yn(l);i!==null&&(t.splice(e,3),e-=3,pf(i,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Bn(t){function e(f){return Ei(f,t)}cl!==null&&Ei(cl,t),fl!==null&&Ei(fl,t),ol!==null&&Ei(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);)Hd(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||Jr(l);else if(u){var c=null;if(i&&i.hasAttribute("formAction")){if(a=i,u=i[Ot]||null)c=u.formAction;else if(Ro(a)!==null)continue}else c=u.action;typeof c=="function"?l[n+1]=c:(l.splice(n,3),n-=3),Jr(l)}}}function Ud(){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 Bo(t){this._internalRoot=t}Ou.prototype.render=Bo.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(p(409));var l=e.current,n=Gt();Ld(l,n,t,e,null,null)};Ou.prototype.unmount=Bo.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Ld(t.current,2,null,t,null,null),zu(),e[qn]=null}};function Ou(t){this._internalRoot=t}Ou.prototype.unstable_scheduleHydration=function(t){if(t){var e=o1();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&&Hd(t)}};var kr=Wr.version;if(kr!=="19.2.4")throw Error(p(527,kr,"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=Em(e),t=t!==null?Pr(t):null,t=t===null?null:t.stateNode,t};var Vy={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(Vy),qt=ca}catch{}var ca;Lu.createRoot=function(t,e){if(!Fr(t))throw Error(p(299));var l=!1,n="",a=T0,i=z0,u=x0;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=_d(t,1,!1,null,null,l,n,null,a,i,u,Ud),t[qn]=e.current,Lo(t),new Bo(e)};Lu.hydrateRoot=function(t,e,l){if(!Fr(t))throw Error(p(299));var n=!1,a="",i=T0,u=z0,c=x0,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=_d(t,1,!0,e,l??null,n,a,f,i,u,c,Ud),e.context=Od(null),l=e.current,n=Gt(),n=Qf(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,Lo(t),new Ou(e)};Lu.version="19.2.4"});var Yd=ue((Zv,qd)=>{"use strict";function Bd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bd)}catch(t){console.error(t)}}Bd(),qd.exports=Rd()});var Zd=ue(Nu=>{"use strict";var Jy=Symbol.for("react.transitional.element"),ky=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:Jy,type:t,key:n,ref:e!==void 0?e:null,props:l}}Nu.Fragment=ky;Nu.jsx=jd;Nu.jsxs=jd});var pt=ue((Jv,Qd)=>{"use strict";Qd.exports=Zd()});var X2=_(Yd(),1);var ku=_(k(),1);var wd=_(k(),1);function Gd(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=Gd(t[e]))&&(n&&(n+=" "),n+=l)}else for(l in t)t[l]&&(n&&(n+=" "),n+=l);return n}function Ky(){for(var t,e,l=0,n="",a=arguments.length;l<a;l++)(t=arguments[l])&&(e=Gd(t))&&(n&&(n+=" "),n+=e);return n}var Xd=Ky;function ge(...t){return Xd(t)}var vl=_(pt(),1),qo=wd.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})]})});qo.displayName="Button";var wn=_(pt(),1);function Vd({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 Kd=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],Wy={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Kd},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Kd}};function Fy(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 $y({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 Du(t){let e=Wy[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=Fy({...e,selector:`html.${n}`});$y({css:a,id:l}),document.documentElement.classList.add(n)}var Yo="ape-accessibility-settings";function Jd(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 Iy(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 Py(t,e){let l=JSON.stringify(e);try{localStorage.setItem(t,l)}catch(n){console.error("Error saving storage data:",n),Jd(t,l)}}function tv(t){let e=null;try{e=localStorage.getItem(t)}catch(l){console.error("Error getting storage data:",l),e=Iy(t)}if(!e)return null;try{return JSON.parse(e)}catch(l){return console.error("Error parsing storage data:",l),null}}function ev(t){try{localStorage.removeItem(t)}catch(e){Jd(t,"",-1),console.error("Error clearing storage data:",e)}}var Go=class{getSettings(){return tv(Yo)}saveSettings(e){let l={...e,updatedAt:new Date};Py(Yo,l)}clearSettings(){ev(Yo)}},Hu=new Go;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 lv(){let t=Hu.getSettings();return t&&(Zt={...ae,...t}),Zt}function O(){return{...Zt}}function Xo(t){return Zt={...Zt,...t,updatedAt:new Date},Hu.saveSettings(Zt),kd("update",Zt),Zt}function Vn(){return Zt={...ae},Hu.saveSettings(Zt),kd("reset",Zt),Zt}function q(t,e){return Xo({[t]:e})}function kd(t,e){let l=new CustomEvent("accessibilitySettingsChanged",{detail:{type:t,settings:e,timestamp:new Date}});window.dispatchEvent(l)}function Wd(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"&&lv();function Fd(){let[t,e]=(0,Qt.useState)(()=>O().contrast||"normal");(0,Qt.useEffect)(()=>{Du(t)},[]),(0,Qt.useEffect)(()=>{let y=h=>{let{settings:g}=h.detail,v=g.contrast||"normal";v!==t&&(e(v),Du(v))};return window.addEventListener("accessibilitySettingsChanged",y),()=>{window.removeEventListener("accessibilitySettingsChanged",y)}},[t]);let l=(0,Qt.useCallback)(y=>{e(y),Du(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 $d=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],nv="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",Id={};$d.forEach(t=>{Id[t]=!0});function av(t=1){document.querySelectorAll(nv).forEach(e=>{let l=e;if(Array.prototype.slice.call(l.classList).some(u=>Id[`.${u}`])||$d.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 iv(){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 uv(t){return t/100}function Uu(t){let e=uv(t);t===100?iv():av(e)}function Pd(){let[a,i]=(0,Nt.useState)(()=>O().fontSize||100),[u,c]=(0,Nt.useState)(!1);(0,Nt.useEffect)(()=>{Uu(a)},[]),(0,Nt.useEffect)(()=>{let s=o=>{let{settings:d}=o.detail,S=d.fontSize||100;S!==a&&(i(S),Uu(S))};return window.addEventListener("accessibilitySettingsChanged",s),()=>{window.removeEventListener("accessibilitySettingsChanged",s)}},[a]);let f=(0,Nt.useCallback)(s=>{i(s),Uu(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 t2(){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 Ru(t){let e=document.documentElement;t==="normal"?e.removeAttribute("data-colorblind-mode"):e.setAttribute("data-colorblind-mode",t)}function e2(){let[t,e]=(0,Zl.useState)(()=>O().colorblindMode??"normal");(0,Zl.useEffect)(()=>{Ru(t)},[]),(0,Zl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.colorblindMode??"normal";u!==t&&(e(u),Ru(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Zl.useCallback)(n=>{e(n),Ru(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 l2={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},cv=Object.values(l2).filter(Boolean);function Bu(t){let e=document.documentElement;cv.forEach(n=>e.classList.remove(n));let l=l2[t];l&&e.classList.add(l)}function n2(){let[t,e]=(0,Ql.useState)(()=>O().saturationMode??"normal");(0,Ql.useEffect)(()=>{Bu(t)},[]),(0,Ql.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.saturationMode??"normal";u!==t&&(e(u),Bu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Ql.useCallback)(n=>{e(n),Bu(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 a2="accessibility-dyslexia";function qu(t){let e=document.documentElement;t?e.classList.add(a2):e.classList.remove(a2)}function i2(){let[t,e]=(0,wl.useState)(()=>O().dyslexiaFont??!1);(0,wl.useEffect)(()=>{qu(t)},[]),(0,wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.dyslexiaFont??!1;u!==t&&(e(u),qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,wl.useCallback)(()=>{let n=!t;e(n),qu(n),q("dyslexiaFont",n),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:n}}))},[t]);return{isActive:t,toggle:l}}var Be=_(k(),1);var u2="accessibility-letter-spacing",c2="accessibility-line-height",f2="accessibility-font-weight";function Kn(t){let e=document.documentElement;e.style.setProperty("--accessibility-letter-spacing",String(t)),t>0?e.classList.add(u2):e.classList.remove(u2)}function Jn(t){let e=document.documentElement;e.style.setProperty("--accessibility-line-height",String(t)),t>0?e.classList.add(c2):e.classList.remove(c2)}function Yu(t){let e=document.documentElement;t?e.classList.add(f2):e.classList.remove(f2)}var o2=3;function s2(){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,o2);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<o2,canDecrease:t>0}}var qe=_(k(),1);var r2=3;function d2(){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,r2);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<r2,canDecrease:t>0}}var Vl=_(k(),1);function m2(){let[t,e]=(0,Vl.useState)(()=>O().fontWeight??!1);(0,Vl.useEffect)(()=>{Yu(t)},[]),(0,Vl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.fontWeight??!1;u!==t&&(e(u),Yu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Vl.useCallback)(()=>{let n=!t;e(n),Yu(n),q("fontWeight",n)},[t]);return{isBold:t,toggle:l,isActive:t}}var Ye=_(k(),1);function Gu(t){let e=document.documentElement;t==="none"?e.removeAttribute("data-highlight"):e.setAttribute("data-highlight",t)}function g2(){let[t,e]=(0,Ye.useState)(()=>O().highlightMode??"none");(0,Ye.useEffect)(()=>{Gu(t)},[]),(0,Ye.useEffect)(()=>{let i=u=>{let{settings:c}=u.detail,f=c.highlightMode??"none";f!==t&&(e(f),Gu(f))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[t]);let l=(0,Ye.useCallback)(i=>{e(i),Gu(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 y2="accessibility-stop-animations",v2="accessibility-big-cursor";function Xu(t){t?fv():ov()}function ju(t){let e=document.documentElement;t?e.classList.add(y2):e.classList.remove(y2)}function Zu(t){let e=document.documentElement;t?e.classList.add(v2):e.classList.remove(v2)}var h2=`
|
|
1
|
+
import{createRoot as Zn}from"react-dom/client";import{useState as Bn,useEffect as Vn}from"react";import bi from"react";import hi from"clsx";function O(...e){return hi(e)}import{jsx as K,jsxs as De}from"react/jsx-runtime";var ye=bi.forwardRef(({children:e,className:t,size:n="lg",leftIcon:i,rightIcon:o,disabled:s,...a},l)=>{let c=!!e,v=!c&&!!i!==!!o,y=n==="sm"?"text-sm px-3 py-2":"text-lg px-5 py-3",w=v?O("rounded-full",n==="sm"?"w-[40px] h-[40px] p-0":"w-[60px] h-[60px] p-0"):"rounded-[30px] py-2 px-5";return De("button",{ref:l,className:O("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",y,w,s?"opacity-50 cursor-not-allowed":"active:scale-90",t),disabled:s,...a,children:[i&&K("span",{className:O(c&&"mr-2"),children:i}),c&&De("span",{className:"relative inline-flex items-center whitespace-nowrap",children:[K("span",{className:"invisible font-bold","aria-hidden":"true",children:e}),K("span",{className:"absolute inset-0 transition-all duration-200",children:e})]}),o&&K("span",{className:O(c&&"ml-2"),children:o})]})});ye.displayName="Button";import{jsx as Se,jsxs as vi}from"react/jsx-runtime";function Be({size:e=24,color:t="currentColor",className:n,...i}){return vi("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",...i,children:[Se("mask",{id:"path-1-inside-1_2435_12083",fill:"white",children:Se("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"})}),Se("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)"})]})}import{useState as Mi,useEffect as je,useCallback as F}from"react";var Ve=["p","span","div","h1","h2","h3","h4","h5","h6","a","li","td","th","label","input","textarea","select","button","blockquote","pre","code"],yi={normal:null,high:{styles:{filter:"contrast(125%)"}},dark:{styles:{color:"#FFF",fill:"#FFF","background-color":"#000"},childrenSelector:Ve},light:{styles:{color:"#000",fill:"#000","background-color":"#FFF"},childrenSelector:Ve}};function Si(e){let{styles:t,selector:n,childrenSelector:i}=e,o="";if(t){let a=Object.keys(t).map(l=>`${l}: ${t[l]} !important;`).join(" ");o+=`${n} { ${a} }`,i&&i.forEach(l=>{o+=`${n} ${l} { ${a} }`})}return o}function Ci({css:e,id:t}){let n=document.getElementById(t);n&&n.remove();let i=document.createElement("style");i.id=t,i.textContent=e,document.head.appendChild(i)}function q(e){let t=yi[e],n="ape-accessibility-contrast",i="ape-contrast-active";if(!t){let s=document.getElementById(n);s&&s.remove(),document.documentElement.classList.remove(i);return}let o=Si({...t,selector:`html.${i}`});Ci({css:o,id:n}),document.documentElement.classList.add(i)}var Ce="ape-accessibility-settings";function Ge(e,t,n=30){let i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),document.cookie=`${e}=${t};expires=${i.toUTCString()};path=/`}function xi(e){let t=e+"=",n=document.cookie.split(";");for(let i=0;i<n.length;i++){let o=n[i];for(;o?.charAt(0)===" ";)o=o?.substring(1,o?.length);if(o?.indexOf(t)===0)return o.substring(t.length,o.length)}return null}function wi(e,t){let n=JSON.stringify(t);try{localStorage.setItem(e,n)}catch(i){console.error("Error saving storage data:",i),Ge(e,n)}}function Li(e){let t=null;try{t=localStorage.getItem(e)}catch(n){console.error("Error getting storage data:",n),t=xi(e)}if(!t)return null;try{return JSON.parse(t)}catch(n){return console.error("Error parsing storage data:",n),null}}function Ei(e){try{localStorage.removeItem(e)}catch(t){Ge(e,"",-1),console.error("Error clearing storage data:",t)}}var xe=class{getSettings(){return Li(Ce)}saveSettings(t){let n={...t,updatedAt:new Date};wi(Ce,n)}clearSettings(){Ei(Ce)}},J=new xe;var M={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},A={...M};function Ai(){let e=J.getSettings();return e&&(A={...M,...e}),A}function u(){return{...A}}function we(e){return A={...A,...e,updatedAt:new Date},J.saveSettings(A),$e("update",A),A}function V(){return A={...M},J.saveSettings(A),$e("reset",A),A}function f(e,t){return we({[e]:t})}function $e(e,t){let n=new CustomEvent("accessibilitySettingsChanged",{detail:{type:e,settings:t,timestamp:new Date}});window.dispatchEvent(n)}function Ze(e=A){return e.fontSize!==M.fontSize||e.contrast!==M.contrast||e.colorblindMode!==M.colorblindMode||e.saturationMode!==M.saturationMode||e.dyslexiaFont===!0||(e.letterSpacing??0)>0||(e.lineHeight??0)>0||e.fontWeight===!0||e.highlightMode!==M.highlightMode||e.readingGuide===!0||e.stopAnimations===!0||e.bigCursor===!0||e.hideImages===!0||e.textAlign!==M.textAlign||e.ttsActive===!0}typeof window<"u"&&Ai();function Ue(){let[e,t]=Mi(()=>u().contrast||"normal");je(()=>{q(e)},[]),je(()=>{let d=v=>{let{settings:y}=v.detail,w=y.contrast||"normal";w!==e&&(t(w),q(w))};return window.addEventListener("accessibilitySettingsChanged",d),()=>{window.removeEventListener("accessibilitySettingsChanged",d)}},[e]);let n=F(d=>{t(d),q(d),f("contrast",d),window.dispatchEvent(new CustomEvent("accessibilityContrastChanged",{detail:{mode:d,isActive:d!=="normal"}}))},[]),i=F(()=>{n(e==="normal"?"high":"normal")},[e,n]),o=F(d=>{n(d)},[n]),s=F(()=>{n(e==="high"?"normal":"high")},[e,n]),a=F(()=>{n(e==="dark"?"normal":"dark")},[e,n]),l=F(()=>{n(e==="light"?"normal":"light")},[e,n]),c=F(()=>{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:c,setContrastMode:o,updateContrast:n,toggleContrast:i,toggleHighContrast:s,toggleDarkContrast:a,toggleLightContrast:l,isHighContrast:e==="high",isDarkContrast:e==="dark",isLightContrast:e==="light"}}import{useState as Ke,useEffect as qe,useCallback as z}from"react";var Xe=['i[class*="icon"]','i[class*="fa-"]',".icon",".fa",".material-icons","[data-icon]","svg"],ki="h1,h2,h3,h4,h5,h6,p,a,dl,dt,li,ol,th,td,span,blockquote,.asw-text",Ye={};Xe.forEach(e=>{Ye[e]=!0});function Ii(e=1){document.querySelectorAll(ki).forEach(t=>{let n=t;if(Array.prototype.slice.call(n.classList).some(a=>Ye[`.${a}`])||Xe.some(a=>n.matches(a)))return;let o=Number(n.dataset.apeOrgFontSize)||parseInt(window.getComputedStyle(n).fontSize);n.dataset.apeOrgFontSize||(n.dataset.apeOrgFontSize=String(o));let s=o*e;n.style.fontSize=`${s}px`})}function Ti(){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 Ni(e){return e/100}function Q(e){let t=Ni(e);e===100?Ti():Ii(t)}function Je(){let[o,s]=Ke(()=>u().fontSize||100),[a,l]=Ke(!1);qe(()=>{Q(o)},[]),qe(()=>{let m=T=>{let{settings:x}=T.detail,k=x.fontSize||100;k!==o&&(s(k),Q(k))};return window.addEventListener("accessibilitySettingsChanged",m),()=>{window.removeEventListener("accessibilitySettingsChanged",m)}},[o]);let c=z(m=>{s(m),Q(m),f("fontSize",m),window.dispatchEvent(new CustomEvent("accessibilityTextSizeChanged",{detail:{percentage:m,isActive:m!==100}}))},[]),p=z(()=>{let m=Math.min(o+5,120);m!==o&&c(m)},[o,c]),d=z(()=>{let m=Math.max(o-5,90);m!==o&&c(m)},[o,c]),v=z(()=>{c(100)},[c]),y=z(m=>{m>=90&&m<=120&&c(m)},[c]),w=z(()=>{l(!a)},[a]),b=z(()=>o===100?"Normal":o<100?`Reducido ${o}%`:`Aumentado ${o}%`,[o]),H=o<120,E=o>90;return{textSizePercentage:o,increaseTextSize:p,decreaseTextSize:d,resetTextSize:v,canIncrease:H,canDecrease:E,getTextSizeDescription:b,isActive:o!==100,toggleTextSizeOptions:w,setSpecificTextSize:y,isOptionsOpen:a,setIsOptionsOpen:l,MIN_SIZE:90,MAX_SIZE:120,NORMAL_SIZE:100,INCREMENT:5}}import{useState as Ri,useEffect as Hi,useCallback as ee}from"react";function Qe(){let[e,t]=Ri(()=>u().language||"es");Hi(()=>{let a=l=>{let{settings:c}=l.detail,p=c.language||"es";p!==e&&t(p)};return window.addEventListener("accessibilitySettingsChanged",a),()=>{window.removeEventListener("accessibilitySettingsChanged",a)}},[e]);let n=ee(a=>{t(a),f("language",a),window.dispatchEvent(new CustomEvent("accessibilityLanguageChanged",{detail:{mode:a,isActive:a!=="es"}}))},[]),i=ee(()=>{n(e==="es"?"en":"es")},[e,n]),o=ee(a=>{n(a)},[n]),s=ee(()=>e==="en"?"English":"Espa\xF1ol",[e]);return{languageMode:e,isActive:e!=="es",toggleLanguage:i,setSpecificLanguage:o,getLanguageDescription:s,updateLanguage:n,isEnglish:e==="en",isSpanish:e==="es"}}import{useState as Pi,useEffect as et,useCallback as Oi}from"react";function te(e){let t=document.documentElement;e==="normal"?t.removeAttribute("data-colorblind-mode"):t.setAttribute("data-colorblind-mode",e)}function tt(){let[e,t]=Pi(()=>u().colorblindMode??"normal");et(()=>{te(e)},[]),et(()=>{let i=o=>{let{settings:s}=o.detail,a=s.colorblindMode??"normal";a!==e&&(t(a),te(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=Oi(i=>{t(i),te(i),f("colorblindMode",i),window.dispatchEvent(new CustomEvent("accessibilityColorblindChanged",{detail:{mode:i}}))},[]);return{colorblindMode:e,setColorblindMode:n,isActive:e!=="normal"}}import{useState as Wi,useEffect as nt,useCallback as Fi}from"react";var it={normal:null,high:"accessibility-saturation-high",low:"accessibility-saturation-low",mono:"accessibility-saturation-mono"},_i=Object.values(it).filter(Boolean);function ie(e){let t=document.documentElement;_i.forEach(i=>t.classList.remove(i));let n=it[e];n&&t.classList.add(n)}function ot(){let[e,t]=Wi(()=>u().saturationMode??"normal");nt(()=>{ie(e)},[]),nt(()=>{let i=o=>{let{settings:s}=o.detail,a=s.saturationMode??"normal";a!==e&&(t(a),ie(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=Fi(i=>{t(i),ie(i),f("saturationMode",i),window.dispatchEvent(new CustomEvent("accessibilitySaturationChanged",{detail:{mode:i}}))},[]);return{saturationMode:e,setSaturationMode:n,isActive:e!=="normal"}}import{useState as zi,useEffect as rt,useCallback as Di}from"react";var st="accessibility-dyslexia";function ne(e){let t=document.documentElement;e?t.classList.add(st):t.classList.remove(st)}function at(){let[e,t]=zi(()=>u().dyslexiaFont??!1);rt(()=>{ne(e)},[]),rt(()=>{let i=o=>{let{settings:s}=o.detail,a=s.dyslexiaFont??!1;a!==e&&(t(a),ne(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=Di(()=>{let i=!e;t(i),ne(i),f("dyslexiaFont",i),window.dispatchEvent(new CustomEvent("accessibilityDyslexiaChanged",{detail:{isActive:i}}))},[e]);return{isActive:e,toggle:n}}import{useState as Bi,useEffect as ut,useCallback as Le}from"react";var ct="accessibility-letter-spacing",lt="accessibility-line-height",dt="accessibility-font-weight";function G(e){let t=document.documentElement;t.style.setProperty("--accessibility-letter-spacing",String(e)),e>0?t.classList.add(ct):t.classList.remove(ct)}function $(e){let t=document.documentElement;t.style.setProperty("--accessibility-line-height",String(e)),e>0?t.classList.add(lt):t.classList.remove(lt)}function oe(e){let t=document.documentElement;e?t.classList.add(dt):t.classList.remove(dt)}var gt=3;function ft(){let[e,t]=Bi(()=>u().letterSpacing??0);ut(()=>{G(e)},[]),ut(()=>{let s=a=>{let{settings:l}=a.detail,c=l.letterSpacing??0;c!==e&&(t(c),G(c))};return window.addEventListener("accessibilitySettingsChanged",s),()=>window.removeEventListener("accessibilitySettingsChanged",s)},[e]);let n=Le(()=>{let s=Math.min(e+1,gt);t(s),G(s),f("letterSpacing",s)},[e]),i=Le(()=>{let s=Math.max(e-1,0);t(s),G(s),f("letterSpacing",s)},[e]),o=Le(()=>{t(0),G(0),f("letterSpacing",0)},[]);return{level:e,increase:n,decrease:i,reset:o,isActive:e>0,canIncrease:e<gt,canDecrease:e>0}}import{useState as Vi,useEffect as pt,useCallback as Ee}from"react";var mt=3;function ht(){let[e,t]=Vi(()=>u().lineHeight??0);pt(()=>{$(e)},[]),pt(()=>{let s=a=>{let{settings:l}=a.detail,c=l.lineHeight??0;c!==e&&(t(c),$(c))};return window.addEventListener("accessibilitySettingsChanged",s),()=>window.removeEventListener("accessibilitySettingsChanged",s)},[e]);let n=Ee(()=>{let s=Math.min(e+1,mt);t(s),$(s),f("lineHeight",s)},[e]),i=Ee(()=>{let s=Math.max(e-1,0);t(s),$(s),f("lineHeight",s)},[e]),o=Ee(()=>{t(0),$(0),f("lineHeight",0)},[]);return{level:e,increase:n,decrease:i,reset:o,isActive:e>0,canIncrease:e<mt,canDecrease:e>0}}import{useState as Gi,useEffect as bt,useCallback as $i}from"react";function vt(){let[e,t]=Gi(()=>u().fontWeight??!1);bt(()=>{oe(e)},[]),bt(()=>{let i=o=>{let{settings:s}=o.detail,a=s.fontWeight??!1;a!==e&&(t(a),oe(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=$i(()=>{let i=!e;t(i),oe(i),f("fontWeight",i)},[e]);return{isBold:e,toggle:n,isActive:e}}import{useState as Zi,useEffect as yt,useCallback as Ae}from"react";function se(e){let t=document.documentElement;e==="none"?t.removeAttribute("data-highlight"):t.setAttribute("data-highlight",e)}function St(){let[e,t]=Zi(()=>u().highlightMode??"none");yt(()=>{se(e)},[]),yt(()=>{let s=a=>{let{settings:l}=a.detail,c=l.highlightMode??"none";c!==e&&(t(c),se(c))};return window.addEventListener("accessibilitySettingsChanged",s),()=>window.removeEventListener("accessibilitySettingsChanged",s)},[e]);let n=Ae(s=>{t(s),se(s),f("highlightMode",s)},[]),i=Ae(()=>{n(e==="titles"?"none":e==="links"?"both":e==="both"?"links":"titles")},[e,n]),o=Ae(()=>{n(e==="links"?"none":e==="titles"?"both":e==="both"?"titles":"links")},[e,n]);return{highlightMode:e,setHighlightMode:n,toggleTitles:i,toggleLinks:o,isTitlesActive:e==="titles"||e==="both",isLinksActive:e==="links"||e==="both",isActive:e!=="none"}}import{useState as Xi,useEffect as At,useCallback as Yi}from"react";var Ct="accessibility-stop-animations",xt="accessibility-big-cursor";function re(e){e?ji():Ui()}function ae(e){let t=document.documentElement;e?t.classList.add(Ct):t.classList.remove(Ct)}function ce(e){let t=document.documentElement;e?t.classList.add(xt):t.classList.remove(xt)}var wt=`
|
|
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 fv(){Ge||(Ge=document.createElement("div"),Ge.id="ape-reading-guide-top",Ge.style.cssText=h2+"top: 0;",hl=document.createElement("div"),hl.id="ape-reading-guide-bottom",hl.style.cssText=h2+"bottom: 0;",document.body.appendChild(Ge),document.body.appendChild(hl),p2(window.innerHeight/2),document.addEventListener("mousemove",S2))}function ov(){document.removeEventListener("mousemove",S2),Ge?.remove(),hl?.remove(),Ge=null,hl=null}function S2(t){p2(t.clientY)}function p2(t){let l=Math.max(0,t-40),n=t+40;Ge&&(Ge.style.height=`${l}px`),hl&&(hl.style.top=`${n}px`)}function b2(){let[t,e]=(0,Kl.useState)(()=>O().stopAnimations??!1);(0,Kl.useEffect)(()=>{ju(t)},[]),(0,Kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.stopAnimations??!1;u!==t&&(e(u),ju(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Kl.useCallback)(()=>{let n=!t;e(n),ju(n),q("stopAnimations",n)},[t]);return{isActive:t,toggle:l}}var Jl=_(k(),1);function A2(){let[t,e]=(0,Jl.useState)(()=>O().bigCursor??!1);(0,Jl.useEffect)(()=>{Zu(t)},[]),(0,Jl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.bigCursor??!1;u!==t&&(e(u),Zu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Jl.useCallback)(()=>{let n=!t;e(n),Zu(n),q("bigCursor",n)},[t]);return{isActive:t,toggle:l}}var kl=_(k(),1);function E2(){let[t,e]=(0,kl.useState)(()=>O().readingGuide??!1);(0,kl.useEffect)(()=>{Xu(t)},[]),(0,kl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.readingGuide??!1;u!==t&&(e(u),Xu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,kl.useCallback)(()=>{let n=!t;e(n),Xu(n),q("readingGuide",n)},[t]);return{isActive:t,toggle:l}}var Wl=_(k(),1);var C2="accessibility-hide-images";function Qu(t){let e=document.documentElement;t?e.classList.add(C2):e.classList.remove(C2)}function M2(){let[t,e]=(0,Wl.useState)(()=>O().hideImages??!1);(0,Wl.useEffect)(()=>{Qu(t)},[]),(0,Wl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail,u=i.hideImages??!1;u!==t&&(e(u),Qu(u))};return window.addEventListener("accessibilitySettingsChanged",n),()=>window.removeEventListener("accessibilitySettingsChanged",n)},[t]);let l=(0,Wl.useCallback)(()=>{let n=!t;e(n),Qu(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 jo=["default","left","center","right"];function T2(){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=jo.indexOf(t),i=jo[(a+1)%jo.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 wu(){return typeof window<"u"&&"speechSynthesis"in window}function z2(t="es"){if(!wu())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(){wu()&&(window.speechSynthesis.cancel(),kn=null)}function x2(){return kn}function _2(){let[t,e]=(0,pl.useState)(!1),[l]=(0,pl.useState)(()=>wu());(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";z2(a),e(!0);let i=x2();i&&(i.onend=()=>e(!1),i.onerror=()=>e(!1))}},[t]);return{isReading:t,isSupported:l,toggle:n}}var Fl=_(k(),1);var O2={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}},Zo={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function Qo(t){for(let[e,l]of Object.entries(O2))if(Object.entries(l).every(([a,i])=>t[a]===i))return e;return"none"}function L2(t){return t==="none"?{...ae}:O2[t]}function N2(){let[t,e]=(0,Fl.useState)(()=>Qo(O()));(0,Fl.useEffect)(()=>{let n=a=>{let{settings:i}=a.detail;e(Qo(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=L2(n);Xo(a)},[t]);return{activeProfile:t,applyProfile:l}}var bl=_(k(),1);var sv=["H1","H2","H3","H4","H5","H6"],rv=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function D2(){let t=[],e=new Set;return document.querySelectorAll(rv.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(!sv.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 H2(t){t.scrollIntoView({behavior:"smooth",block:"center"}),t.focus({preventScroll:!0})}function U2(){let[t,e]=(0,bl.useState)(!1),[l,n]=(0,bl.useState)([]),a=(0,bl.useCallback)(()=>{n(D2()),e(!0)},[]),i=(0,bl.useCallback)(()=>{e(!1)},[]),u=(0,bl.useCallback)(()=>{t?i():a()},[t,a,i]),c=(0,bl.useCallback)(f=>{H2(f.element)},[]);return{isOpen:t,structure:l,toggle:u,open:a,close:i,navigateTo:c}}function Vu(){let t=Fd(),e=Pd(),l=t2(),n=e2(),a=n2(),i=i2(),u=s2(),c=d2(),f=m2(),r=g2(),y=b2(),h=A2(),g=E2(),v=M2(),A=T2(),C=_2(),L=N2(),s=U2(),o=O(),d=Wd(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 Ju=_(pt(),1);function Ku({title:t,children:e}){return(0,Ju.jsxs)("section",{className:"px-4 py-3",children:[(0,Ju.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 R2({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 Y2({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}=Vu();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(Zo).map(b=>(0,m.jsx)(mt,{icon:(0,m.jsx)(Lv,{profile:b}),label:Zo[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)(R2,{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)(dv,{}),label:"Resaltar t\xEDtulos",isActive:y.isTitlesActive,onClick:y.toggleTitles}),(0,m.jsx)(mt,{icon:(0,m.jsx)(mv,{}),label:"Resaltar enlaces",isActive:y.isLinksActive,onClick:y.toggleLinks}),(0,m.jsx)(mt,{icon:(0,m.jsx)(gv,{}),label:"Fuente dislexia",isActive:u.isActive,onClick:u.toggle}),(0,m.jsx)(B2,{icon:(0,m.jsx)(yv,{}),label:"Esp. de letras",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),(0,m.jsx)(B2,{icon:(0,m.jsx)(vv,{}),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)(hv,{}),label:"Fuente negrita",isActive:r.isBold,onClick:r.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Tv,{}),label:"Ocultar im\xE1genes",isActive:C.isActive,onClick:C.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(zv,{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)(Sv,{}),label:"Alto contraste",isActive:n.isHighContrast,onClick:()=>n.setContrastMode(n.isHighContrast?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(pv,{}),label:"Alta saturaci\xF3n",isActive:i.saturationMode==="high",onClick:()=>i.setSaturationMode(i.saturationMode==="high"?"normal":"high")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(bv,{}),label:"Baja saturaci\xF3n",isActive:i.saturationMode==="low",onClick:()=>i.setSaturationMode(i.saturationMode==="low"?"normal":"low")}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Av,{}),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)(Ov,{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)(Ev,{}),label:"Gu\xEDa de lectura",isActive:v.isActive,onClick:v.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Cv,{}),label:"Pausar animaciones",isActive:h.isActive,onClick:h.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(Mv,{}),label:"Cursor grande",isActive:g.isActive,onClick:g.toggle}),(0,m.jsx)(mt,{icon:(0,m.jsx)(xv,{}),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)(_v,{}),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 B2({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 dv(){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 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)("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 gv(){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 yv(){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 vv(){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 hv(){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 Sv(){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 pv(){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 bv(){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 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)("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 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)("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),(0,m.jsx)("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}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:"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 Mv(){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 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)("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 zv({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 xv(){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 _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)("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 Ov({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 Lv({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 wo({position:t="bottom-left",className:e}={}){let[l,n]=(0,ku.useState)(!0),{hasActiveFeatures:a}=Vu();(0,ku.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)(qo,{size:"lg","aria-expanded":l,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${a?"Funciones activas":"Sin funciones activas"}`,leftIcon:(0,ie.jsx)(Vd,{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)(Y2,{onClose:()=>n(!1)})})]})}var Ko=_(pt(),1),Nv={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function Vo(t){return{...Nv,...t}}function Dv(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function G2(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:Vo(t.theme)},l=Vo(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
|
|
18
|
-
/* =============================================
|
|
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",G2(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,X2.createRoot)(f);return r.render((0,Ko.jsx)(wo,{position:e.position})),{updateConfig(y){e=Dv(e,y),l=Vo(e.theme),i.style.zIndex=String(e.zIndex||9999),G2(i,l),r&&r.render((0,Ko.jsx)(wo,{position:e.position}))},destroy(){r&&(r.unmount(),r=null),i.remove(),a.remove()},get config(){return e}}}var Xe=null,Al={};function Z2(t,e){return{...t,...e,theme:{...t.theme??{},...e.theme??{}}}}function Q2(t={}){return Xe?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),Xe):(Al=Z2(Al,t),Xe=j2(Al),Xe)}function w2(){Xe&&(Xe.destroy(),Xe=null)}function V2(){return O()}function K2(t={}){return Al=Z2(Al,t),Xe&&Xe.updateConfig(Al),Jo()}function Jo(){return{...Al,theme:{...Al.theme??{}}}}function J2(){Vn(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var Wu={init:Q2,destroy:w2,getSettings:V2,resetAllSettings:J2,configure:K2,getConfig:Jo};var Fn=_(k(),1);function Hv({config:t={}}){let e=(0,Fn.useRef)(null),l=(0,Fn.useRef)(!1);return(0,Fn.useEffect)(()=>(l.current=!1,e.current=Wu.init(t),()=>{l.current=!0,e.current?.destroy(),e.current=null}),[]),(0,Fn.useEffect)(()=>{l.current||Wu.configure(t)},[t]),null}export{Hv as AccessibilityWidget,Wu as accessibility,K2 as configure,w2 as destroy,Jo as getConfig,V2 as getSettings,Q2 as init,J2 as resetAllSettings};
|
|
219
|
-
/*! Bundled license information:
|
|
8
|
+
`,N=null,_=null;function ji(){N||(N=document.createElement("div"),N.id="ape-reading-guide-top",N.style.cssText=wt+"top: 0;",_=document.createElement("div"),_.id="ape-reading-guide-bottom",_.style.cssText=wt+"bottom: 0;",document.body.appendChild(N),document.body.appendChild(_),Et(window.innerHeight/2),document.addEventListener("mousemove",Lt))}function Ui(){document.removeEventListener("mousemove",Lt),N?.remove(),_?.remove(),N=null,_=null}function Lt(e){Et(e.clientY)}function Et(e){let n=Math.max(0,e-40),i=e+40;N&&(N.style.height=`${n}px`),_&&(_.style.top=`${i}px`)}function Mt(){let[e,t]=Xi(()=>u().stopAnimations??!1);At(()=>{ae(e)},[]),At(()=>{let i=o=>{let{settings:s}=o.detail,a=s.stopAnimations??!1;a!==e&&(t(a),ae(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=Yi(()=>{let i=!e;t(i),ae(i),f("stopAnimations",i)},[e]);return{isActive:e,toggle:n}}import{useState as Ki,useEffect as kt,useCallback as qi}from"react";function It(){let[e,t]=Ki(()=>u().bigCursor??!1);kt(()=>{ce(e)},[]),kt(()=>{let i=o=>{let{settings:s}=o.detail,a=s.bigCursor??!1;a!==e&&(t(a),ce(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=qi(()=>{let i=!e;t(i),ce(i),f("bigCursor",i)},[e]);return{isActive:e,toggle:n}}import{useState as Ji,useEffect as Tt,useCallback as Qi}from"react";function Nt(){let[e,t]=Ji(()=>u().readingGuide??!1);Tt(()=>{re(e)},[]),Tt(()=>{let i=o=>{let{settings:s}=o.detail,a=s.readingGuide??!1;a!==e&&(t(a),re(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=Qi(()=>{let i=!e;t(i),re(i),f("readingGuide",i)},[e]);return{isActive:e,toggle:n}}import{useState as en,useEffect as Ht,useCallback as tn}from"react";var Rt="accessibility-hide-images";function le(e){let t=document.documentElement;e?t.classList.add(Rt):t.classList.remove(Rt)}function Pt(){let[e,t]=en(()=>u().hideImages??!1);Ht(()=>{le(e)},[]),Ht(()=>{let i=o=>{let{settings:s}=o.detail,a=s.hideImages??!1;a!==e&&(t(a),le(a))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[e]);let n=tn(()=>{let i=!e;t(i),le(i),f("hideImages",i)},[e]);return{isActive:e,toggle:n}}import{useState as nn,useEffect as Ot,useCallback as _t}from"react";function X(e){let t=document.documentElement;e==="default"?t.removeAttribute("data-text-align"):t.setAttribute("data-text-align",e)}var Me=["default","left","center","right"];function Wt(){let[e,t]=nn(()=>u().textAlign??"default");Ot(()=>{X(e)},[]),Ot(()=>{let o=s=>{let{settings:a}=s.detail,l=a.textAlign??"default";l!==e&&(t(l),X(l))};return window.addEventListener("accessibilitySettingsChanged",o),()=>window.removeEventListener("accessibilitySettingsChanged",o)},[e]);let n=_t(()=>{let o=Me.indexOf(e),s=Me[(o+1)%Me.length]??"default";t(s),X(s),f("textAlign",s)},[e]),i=_t(o=>{t(o),X(o),f("textAlign",o)},[]);return{mode:e,cycle:n,setMode:i,isActive:e!=="default",label:e==="default"?"Por defecto":e==="left"?"Izquierda":e==="center"?"Centrado":"Derecha"}}import{useState as Dt,useEffect as Bt,useCallback as on}from"react";var Z=null;function de(){return typeof window<"u"&&"speechSynthesis"in window}function Ft(e="es"){if(!de())return;Y();let n=(document.querySelector("main")??document.body).innerText;n.trim()&&(Z=new SpeechSynthesisUtterance(n),Z.lang=e==="es"?"es-ES":"en-US",Z.rate=1,window.speechSynthesis.speak(Z))}function Y(){de()&&(window.speechSynthesis.cancel(),Z=null)}function zt(){return Z}function Vt(){let[e,t]=Dt(!1),[n]=Dt(()=>de());Bt(()=>()=>{Y()},[]),Bt(()=>{let o=()=>{Y(),t(!1)};return window.addEventListener("accessibilityReset",o),()=>window.removeEventListener("accessibilityReset",o)},[]);let i=on(()=>{if(e)Y(),t(!1);else{let o=u().language??"es";Ft(o),t(!0);let s=zt();s&&(s.onend=()=>t(!1),s.onerror=()=>t(!1))}},[e]);return{isReading:e,isSupported:n,toggle:i}}import{useState as sn,useEffect as Zt,useCallback as rn}from"react";var Gt={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}},ke={visionImpaired:"Visi\xF3n reducida",cognitive:"Cognitivo",motorImpaired:"Motor",seniorFriendly:"Adulto mayor"};function Ie(e){for(let[t,n]of Object.entries(Gt))if(Object.entries(n).every(([o,s])=>e[o]===s))return t;return"none"}function $t(e){return e==="none"?{...M}:Gt[e]}function jt(){let[e,t]=sn(()=>Ie(u()));Zt(()=>{let i=o=>{let{settings:s}=o.detail;t(Ie(s))};return window.addEventListener("accessibilitySettingsChanged",i),()=>window.removeEventListener("accessibilitySettingsChanged",i)},[]),Zt(()=>{let i=()=>t("none");return window.addEventListener("accessibilityReset",i),()=>window.removeEventListener("accessibilityReset",i)},[]);let n=rn(i=>{if(i===e){V(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}));return}let o=$t(i);we(o)},[e]);return{activeProfile:e,applyProfile:n}}import{useState as Yt,useCallback as ue}from"react";var an=["H1","H2","H3","H4","H5","H6"],cn=["main","nav","aside","footer","header",'[role="banner"]','[role="navigation"]','[role="main"]','[role="complementary"]','[role="contentinfo"]'];function Ut(){let e=[],t=new Set;return document.querySelectorAll(cn.join(",")).forEach(o=>{if(t.has(o))return;t.add(o);let s=o.getAttribute("role")||o.tagName.toLowerCase(),a=o.getAttribute("aria-label")||s;e.push({tag:s,text:a,level:0,element:o})}),document.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(o=>{let s=o.tagName;if(!an.includes(s))return;let a=parseInt(s.charAt(1),10),l=(o.textContent??"").trim().slice(0,80);l&&e.push({tag:s.toLowerCase(),text:l,level:a,element:o})}),e}function Xt(e){e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus({preventScroll:!0})}function Kt(){let[e,t]=Yt(!1),[n,i]=Yt([]),o=ue(()=>{i(Ut()),t(!0)},[]),s=ue(()=>{t(!1)},[]),a=ue(()=>{e?s():o()},[e,o,s]),l=ue(c=>{Xt(c.element)},[]);return{isOpen:e,structure:n,toggle:a,open:o,close:s,navigateTo:l}}function ge(){let e=Ue(),t=Je(),n=Qe(),i=tt(),o=ot(),s=at(),a=ft(),l=ht(),c=vt(),p=St(),d=Mt(),v=It(),y=Nt(),w=Pt(),b=Wt(),H=Vt(),E=jt(),m=Kt(),T=u(),x=Ze(T);return{contrast:e,textSize:t,language:n,colorblind:i,saturation:o,dyslexia:s,letterSpacing:a,lineHeight:l,fontWeight:c,highlight:p,animations:d,cursor:v,readingGuide:y,hideImages:w,textAlign:b,tts:H,profiles:E,pageStructure:m,hasActiveFeatures:x,resetAllFeatures:()=>{V(),window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))},currentSettings:T}}import{useCallback as ln,useEffect as dn,useRef as fe,useState as Te}from"react";var Ne="apea-fab-position",I=60,L=16,un=6;function j(e,t,n){return Math.max(t,Math.min(n,e))}function gn(){try{let e=localStorage.getItem(Ne);if(!e)return null;let t=JSON.parse(e);if(t.vEdge!=="top"&&t.vEdge!=="bottom"||t.hEdge!=="left"&&t.hEdge!=="right"||typeof t.vOffset!="number"||typeof t.hOffset!="number"||isNaN(t.vOffset)||isNaN(t.hOffset))return localStorage.removeItem(Ne),null;let n=typeof window<"u"?window.innerWidth:1e3,i=typeof window<"u"?window.innerHeight:1e3,o=j(t.hOffset,L,Math.max(L,n/2-I/2)),s=j(t.vOffset,L,Math.max(L,i/2-I/2));return o>L&&s>L&&(o<s?o=L:s=L),{vEdge:t.vEdge,hEdge:t.hEdge,hOffset:o,vOffset:s}}catch{return null}}function fn(e){try{localStorage.setItem(Ne,JSON.stringify(e))}catch{}}function pn(e){return gn()??{vEdge:"bottom",hEdge:e==="bottom-right"?"right":"left",vOffset:32,hOffset:20}}function pe(e,t,n){return{x:e.hEdge==="left"?e.hOffset:t-e.hOffset-I,y:e.vEdge==="top"?e.vOffset:n-e.vOffset-I}}function mn(e,t,n,i){let o=e,s=n-e-I,a=t,l=i-t-I,c=Math.min(o,s,a,l),p="left",d="top",v=L,y=L;return c===o||c===s?(p=c===o?"left":"right",v=L,d=a<=l?"top":"bottom",y=j(d==="top"?t:l,L,i/2-I/2)):(d=c===a?"top":"bottom",y=L,p=o<=s?"left":"right",v=j(p==="left"?e:s,L,n/2-I/2)),{hEdge:p,vEdge:d,hOffset:v,vOffset:y}}function hn(e,t,n,i){let o=pe(e,n,i);return{position:"fixed",top:`${o.y}px`,left:`${o.x}px`,cursor:t?"grabbing":"grab",userSelect:"none",touchAction:"none",transition:t?"none":"top 0.25s ease, left 0.25s ease"}}function qt({defaultPosition:e="bottom-left",onTap:t,disabled:n=!1}={}){let[i,o]=Te(()=>pn(e)),[s,a]=Te(!1),[l,c]=Te(()=>({w:typeof window<"u"?window.innerWidth:1e3,h:typeof window<"u"?window.innerHeight:1e3})),p=fe(null),d=fe(t);d.current=t;let v=fe(i);v.current=i;let y=fe(n);y.current=n,dn(()=>{let b=()=>{c({w:window.innerWidth,h:window.innerHeight})};return window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[]);let w=ln((b,H)=>{if(y.current)return;let E=pe(v.current,window.innerWidth,window.innerHeight),m=b-E.x,T=H-E.y,x=E.x,k=E.y,h=0;function D(S,P){let B=j(S-m,0,window.innerWidth-I),be=j(P-T,0,window.innerHeight-I);h+=Math.abs(B-x)+Math.abs(be-k),x=B,k=be;let ve=p.current;ve&&(ve.style.top=`${be}px`,ve.style.left=`${B}px`)}function Oe(){mi();let S=p.current;if(h<un){if(S){let P=pe(v.current,window.innerWidth,window.innerHeight);S.style.transition="top 0.25s ease, left 0.25s ease",S.offsetHeight,S.style.top=`${P.y}px`,S.style.left=`${P.x}px`}a(!1),d.current?.()}else{let P=mn(x,k,window.innerWidth,window.innerHeight);if(fn(P),S){S.style.transition="top 0.25s ease, left 0.25s ease",S.offsetHeight;let B=pe(P,window.innerWidth,window.innerHeight);S.style.top=`${B.y}px`,S.style.left=`${B.x}px`}a(!1),o(P)}}function _e(S){D(S.clientX,S.clientY)}function We(S){S.preventDefault(),D(S.touches[0].clientX,S.touches[0].clientY)}function Fe(){Oe()}function ze(){Oe()}function mi(){window.removeEventListener("mousemove",_e),window.removeEventListener("mouseup",Fe),window.removeEventListener("touchmove",We),window.removeEventListener("touchend",ze)}window.addEventListener("mousemove",_e),window.addEventListener("mouseup",Fe),window.addEventListener("touchmove",We,{passive:!1}),window.addEventListener("touchend",ze),a(!0)},[]);return{fabStyle:hn(i,s,l.w,l.h),isDragging:s,fabRef:p,dragHandlers:{onMouseDown:b=>{b.button!==0||y.current||(b.preventDefault(),w(b.clientX,b.clientY))},onTouchStart:b=>{y.current||w(b.touches[0].clientX,b.touches[0].clientY)}}}}import{useState as Sn}from"react";import{jsx as bn,jsxs as vn}from"react/jsx-runtime";function me({title:e,children:t}){return vn("section",{className:"px-4 py-3",children:[bn("h3",{className:"text-xs font-semibold text-blue-700 uppercase tracking-wider mb-3",children:e}),t]})}import{jsx as Jt,jsxs as yn}from"react/jsx-runtime";function C({icon:e,label:t,isActive:n,onClick:i,disabled:o=!1,className:s}){return yn("button",{type:"button",onClick:o?void 0:i,disabled:o,"aria-pressed":n,"aria-label":t,className:O("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",o&&"cursor-not-allowed opacity-40",s),children:[Jt("span",{className:O("h-6 w-6",n?"text-blue-700":"text-gray-500"),children:e}),Jt("span",{className:"text-base font-medium leading-tight",children:t})]})}import{jsx as Qt,jsxs as ei}from"react/jsx-runtime";function ti({percentage:e,onIncrease:t,onDecrease:n,onReset:i,canIncrease:o,canDecrease:s}){return ei("div",{className:"flex items-center gap-2",children:[Qt("button",{type:"button",onClick:n,disabled:!s,"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"}),ei("button",{type:"button",onClick:i,"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,"%"]}),Qt("button",{type:"button",onClick:t,disabled:!o,"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:"+"})]})}import{Fragment as Dn,jsx as r,jsxs as g}from"react/jsx-runtime";function ni({onClose:e}){let[t,n]=Sn(!1),{contrast:i,textSize:o,saturation:s,dyslexia:a,letterSpacing:l,lineHeight:c,fontWeight:p,highlight:d,animations:v,cursor:y,readingGuide:w,colorblind:b,hideImages:H,textAlign:E,tts:m,profiles:T,pageStructure:x,resetAllFeatures:k}=ge();return g("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:[g("div",{className:"flex items-center justify-between apea-gradient px-4 py-3 shrink-0",children:[r("h2",{className:"text-sm font-bold text-white tracking-wide",children:"Men\xFA de Accesibilidad"}),r("div",{className:"flex items-center gap-2",children:r("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:r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,className:"h-4 w-4","data-a11y-icon":!0,children:r("path",{d:"M18 6 6 18M6 6l12 12",strokeLinecap:"round",strokeLinejoin:"round"})})})})]}),g("div",{className:"flex-1 overflow-y-auto",children:[g("section",{className:"px-4 py-3",children:[g("button",{type:"button",onClick:()=>n(h=>!h),"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",r("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:r("path",{d:"M6 9l6 6 6-6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),r("div",{className:`grid transition-[grid-template-rows] duration-300 ease-in-out ${t?"grid-rows-[1fr]":"grid-rows-[0fr]"}`,children:r("div",{className:"overflow-hidden pb-5 px-2 -mx-2",children:r("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(ke).map(h=>r(C,{icon:r(zn,{profile:h}),label:ke[h],isActive:T.activeProfile===h,onClick:()=>T.applyProfile(h)},h))})})})]}),g(me,{title:"Ajustes de contenido",children:[g("div",{className:"mb-3 rounded-xl border border-gray-200 bg-white p-3",children:[g("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-gray-700",children:[r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-4 w-4 shrink-0","data-a11y-icon":!0,children:r("path",{d:"M4 7V4h16v3M9 20h6M12 4v16",strokeLinecap:"round",strokeLinejoin:"round"})}),"Tama\xF1o de fuente"]}),r(ti,{percentage:o.textSizePercentage,onIncrease:o.increaseTextSize,onDecrease:o.decreaseTextSize,onReset:o.resetTextSize,canIncrease:o.canIncrease,canDecrease:o.canDecrease})]}),g("div",{className:"grid grid-cols-3 gap-2",children:[r(C,{icon:r(Cn,{}),label:"Resaltar t\xEDtulos",isActive:d.isTitlesActive,onClick:d.toggleTitles}),r(C,{icon:r(xn,{}),label:"Resaltar enlaces",isActive:d.isLinksActive,onClick:d.toggleLinks}),r(C,{icon:r(wn,{}),label:"Fuente dislexia",isActive:a.isActive,onClick:a.toggle}),r(ii,{icon:r(Ln,{}),label:"Esp. de letras",level:l.level,onIncrease:l.increase,onDecrease:l.decrease,canIncrease:l.canIncrease,canDecrease:l.canDecrease}),r(ii,{icon:r(En,{}),label:"Interlineado",level:c.level,onIncrease:c.increase,onDecrease:c.decrease,canIncrease:c.canIncrease,canDecrease:c.canDecrease}),r(C,{icon:r(An,{}),label:"Fuente negrita",isActive:p.isBold,onClick:p.toggle}),r(C,{icon:r(Pn,{}),label:"Ocultar im\xE1genes",isActive:H.isActive,onClick:H.toggle}),r(C,{icon:r(On,{mode:E.mode}),label:`Alinear: ${E.label}`,isActive:E.isActive,onClick:E.cycle})]})]}),g(me,{title:"Ajustes de color",children:[g("div",{className:"grid grid-cols-3 gap-2 mb-3",children:[r(C,{icon:r(Mn,{}),label:"Alto contraste",isActive:i.isHighContrast,onClick:()=>i.setContrastMode(i.isHighContrast?"normal":"high")}),r(C,{icon:r(kn,{}),label:"Alta saturaci\xF3n",isActive:s.saturationMode==="high",onClick:()=>s.setSaturationMode(s.saturationMode==="high"?"normal":"high")}),r(C,{icon:r(In,{}),label:"Baja saturaci\xF3n",isActive:s.saturationMode==="low",onClick:()=>s.setSaturationMode(s.saturationMode==="low"?"normal":"low")}),r(C,{icon:r(Tn,{}),label:"Monocromo",isActive:s.saturationMode==="mono",onClick:()=>s.setSaturationMode(s.saturationMode==="mono"?"normal":"mono")})]}),r("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide hidden",children:"Daltonismo"}),r("div",{className:"grid grid-cols-2 gap-2 hidden",children:[["protanopia","Protanop\xEDa"],["deuteranopia","Deuteranop\xEDa"],["tritanopia","Tritanop\xEDa"],["achromatopsia","Acromatopsia"]].map(([h,D])=>r(C,{icon:r(Fn,{mode:h}),label:D,isActive:b.colorblindMode===h,onClick:()=>b.setColorblindMode(b.colorblindMode===h?"normal":h)},h))})]}),g(me,{title:"Herramientas",children:[g("div",{className:"grid grid-cols-3 gap-2",children:[r(C,{icon:r(Nn,{}),label:"Gu\xEDa de lectura",isActive:w.isActive,onClick:w.toggle}),r(C,{icon:r(Rn,{}),label:"Pausar animaciones",isActive:v.isActive,onClick:v.toggle}),r(C,{icon:r(Hn,{}),label:"Cursor grande",isActive:y.isActive,onClick:y.toggle}),r(C,{icon:r(_n,{}),label:m.isReading?"Detener lectura":"Leer p\xE1gina",isActive:m.isReading,onClick:m.toggle,disabled:!m.isSupported}),r(C,{icon:r(Wn,{}),label:"Estructura",isActive:x.isOpen,onClick:x.toggle})]}),x.isOpen&&x.structure.length>0&&g("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3 max-h-60 overflow-y-auto",children:[r("p",{className:"mb-2 text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Estructura de la p\xE1gina"}),r("ul",{className:"space-y-1",children:x.structure.map((h,D)=>r("li",{children:g("button",{type:"button",onClick:()=>x.navigateTo(h),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:`${(h.level||1)*12}px`},children:[r("span",{className:"inline-block mr-2 text-xs font-mono text-blue-600 bg-blue-100 px-1.5 py-0.5 rounded",children:h.tag}),r("span",{className:"text-gray-700",children:h.text})]})},`${h.tag}-${D}`))})]}),x.isOpen&&x.structure.length===0&&r("div",{className:"mt-3 rounded-xl border border-gray-200 bg-white p-3",children:r("p",{className:"text-sm text-gray-500 text-center",children:"No se encontraron encabezados"})})]})]}),r("section",{className:"px-4 pb-6 pt-2",children:r("button",{type:"button",onClick:k,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 ii({icon:e,label:t,level:n,onIncrease:i,onDecrease:o,canIncrease:s,canDecrease:a}){let l=n>0;return g("div",{className:`flex flex-col items-center justify-between gap-1 rounded-3xl border p-2 shadow-md/20 text-center transition-all ${l?"border-yellow-500 bg-yellow-50 text-blue-900":"border-gray-200 bg-white text-gray-700"}`,children:[r("span",{className:"h-5 w-5 text-gray-500",children:e}),r("span",{className:"text-sm font-medium leading-tight",children:t}),g("div",{className:"flex items-center gap-1 w-full justify-center",children:[r("button",{type:"button",onClick:o,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"}),r("span",{className:"w-4 text-center text-sm font-semibold tabular-nums",children:n}),r("button",{type:"button",onClick:i,disabled:!s,"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 Cn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M4 6h16M4 12h8M4 18h12",strokeLinecap:"round"}),r("path",{d:"M15 14l5 5M20 14l-5 5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function xn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("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"}),r("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 wn(){return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:r("path",{d:"M4 7l4 10 4-10M20 7v10M17 7h6",strokeLinecap:"round",strokeLinejoin:"round"})})}function Ln(){return r("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:r("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 En(){return g("svg",{width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-a11y-icon":!0,children:[r("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"}),r("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 An(){return g("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"}),r("path",{d:"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"})]})}function Mn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"12",r:"9"}),r("path",{d:"M12 3v18"}),r("path",{d:"M12 3a9 9 0 0 1 0 18V3z",fill:"currentColor",stroke:"none"})]})}function kn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"12",r:"8"}),r("path",{d:"M12 4v16M8 8l8 8M4 12h16",strokeLinecap:"round",strokeOpacity:.4}),r("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})]})}function In(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"12",r:"8"}),r("circle",{cx:"12",cy:"12",r:"3",strokeDasharray:"2 2"})]})}function Tn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),r("path",{d:"M3 12h18M12 5v14"}),r("path",{d:"M3 5h9v14H3z",fill:"currentColor",fillOpacity:.15,stroke:"none"})]})}function Nn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M4 6h16M4 10h16M4 14h10",strokeLinecap:"round"}),r("path",{d:"M3 18h18",strokeWidth:3,strokeLinecap:"round"})]})}function Rn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"12",r:"9"}),r("rect",{x:"9",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"}),r("rect",{x:"13",y:"9",width:"2",height:"6",fill:"currentColor",stroke:"none"})]})}function Hn(){return r("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-full w-full","data-a11y-icon":!0,children:r("path",{d:"M5 3l14 9-7.5 1.5L9 20l-4-17z"})})}function Pn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),r("circle",{cx:"8.5",cy:"8.5",r:"1.5",fill:"currentColor",stroke:"none"}),r("path",{d:"M21 15l-5-5L5 21",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{d:"M2 2l20 20",strokeLinecap:"round",strokeWidth:2.5})]})}function On({mode:e}){return e==="center"?r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:r("path",{d:"M6 6h12M8 10h8M6 14h12M8 18h8",strokeLinecap:"round"})}):e==="right"?r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:r("path",{d:"M4 6h16M8 10h12M4 14h16M8 18h12",strokeLinecap:"round"})}):r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:r("path",{d:"M4 6h16M4 10h12M4 14h16M4 18h12",strokeLinecap:"round"})})}function _n(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M11 5L6 9H2v6h4l5 4V5z",fill:"currentColor",stroke:"none"}),r("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07",strokeLinecap:"round"}),r("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14",strokeLinecap:"round"})]})}function Wn(){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M4 6h16M4 10h12M8 14h12M8 18h8",strokeLinecap:"round"}),r("circle",{cx:"4",cy:"14",r:"1",fill:"currentColor",stroke:"none"}),r("circle",{cx:"4",cy:"18",r:"1",fill:"currentColor",stroke:"none"})]})}function Fn({mode:e}){return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"12",r:"9"}),r("path",{d:"M12 3c-3 4-3 10 0 18",strokeLinecap:"round"}),r("path",{d:"M12 3c3 4 3 10 0 18",strokeLinecap:"round"}),e==="achromatopsia"?r("path",{d:"M3 12h18"}):g(Dn,{children:[r("path",{d:"M4 8h16",strokeOpacity:.4}),r("path",{d:"M4 16h16",strokeOpacity:.4})]})]})}function zn({profile:e}){switch(e){case"visionImpaired":return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),r("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor"})]});case"cognitive":return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("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"}),r("path",{d:"M9 16v2a3 3 0 0 0 6 0v-2"})]});case"motorImpaired":return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),r("path",{d:"M12 6v6l4 4M12 12l-4 4",strokeLinecap:"round",strokeLinejoin:"round"}),r("circle",{cx:"8",cy:"20",r:"2"}),r("circle",{cx:"16",cy:"20",r:"2"})]});case"seniorFriendly":return g("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,className:"h-full w-full","data-a11y-icon":!0,children:[r("circle",{cx:"12",cy:"4",r:"2",fill:"currentColor"}),r("path",{d:"M12 6v8M12 14l-3 6M12 14l3 6M12 10h-2l-3 4M12 10h2",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return null}}import{Fragment as Gn,jsx as U,jsxs as $n}from"react/jsx-runtime";function Re({position:e="bottom-left",className:t}={}){let[n,i]=Bn(!1),{hasActiveFeatures:o}=ge(),{fabStyle:s,isDragging:a,fabRef:l,dragHandlers:c}=qt({defaultPosition:e,onTap:()=>i(d=>!d),disabled:n});Vn(()=>{if(!n)return;let d=v=>{v.key==="Escape"&&i(!1)};return document.addEventListener("keydown",d),()=>document.removeEventListener("keydown",d)},[n]);let p=n||o?"var(--apea-color-fab-active, #FFD54F)":"var(--apea-color-fab-inactive, #F6F6F6)";return $n(Gn,{children:[U("div",{ref:l,className:t,style:{...s,zIndex:n?30:50,opacity:a?.85:1,filter:o?"drop-shadow(0 4px 12px rgba(255, 213, 79, 0.3))":"none"},role:"button",tabIndex:0,"aria-expanded":n,"aria-haspopup":"dialog","aria-label":`Accesibilidad - ${o?"Funciones activas":"Sin funciones activas"}`,...c,onKeyDown:d=>{n||(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),i(!0))},children:U(ye,{size:"lg","aria-hidden":"true",tabIndex:-1,leftIcon:U(Be,{className:"w-full z-50",color:p,stroke:p})})}),U("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:()=>i(!1),"aria-hidden":"true"}),U("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:U(ni,{onClose:()=>i(!1)})})]})}import{jsx as si}from"react/jsx-runtime";var jn={primary500:"#005dca",primary600:"#004faf",primary700:"#003b8a",panelBackground:"#f9fafb",fabActive:"#ffd54f",fabInactive:"#f6f6f6",backdrop:"rgba(0, 0, 0, 0.2)"};function He(e){return{...jn,...e}}function Un(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function oi(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 ri(e={}){let t={position:e.position||"bottom-left",zIndex:e.zIndex||9999,containerId:e.containerId||"ape-accessibility-root",theme:He(e.theme)},n=He(t.theme),i=t.containerId||"ape-accessibility-root";if(document.getElementById(i))return console.warn("[ape-accessibility] Widget already mounted. Call destroy() first."),{destroy:()=>{},updateConfig:()=>{},config:e};let o=document.createElement("style");o.id="ape-accessibility-tools-css",o.textContent=`/* ============================================= */
|
|
9
|
+
/* Accessibility Feature Styles */
|
|
10
|
+
/* ============================================= */
|
|
220
11
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
-
*)
|
|
12
|
+
/* High Contrast Mode */
|
|
13
|
+
.high-contrast {
|
|
14
|
+
--color-background: #000000;
|
|
15
|
+
--color-foreground: #ffffff;
|
|
16
|
+
}
|
|
231
17
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
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
|
-
*)
|
|
18
|
+
.high-contrast * {
|
|
19
|
+
border-color: currentColor !important;
|
|
20
|
+
}
|
|
242
21
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* LICENSE file in the root directory of this source tree.
|
|
252
|
-
*)
|
|
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
|
+
}
|
|
253
30
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
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
|
-
*)
|
|
31
|
+
.high-contrast a {
|
|
32
|
+
color: #ffff00 !important;
|
|
33
|
+
text-decoration: underline !important;
|
|
34
|
+
}
|
|
264
35
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
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
|
+
}
|
|
86
|
+
|
|
87
|
+
.accessibility-dyslexia,
|
|
88
|
+
.accessibility-dyslexia * {
|
|
89
|
+
font-family: OpenDyslexic3, 'Comic Sans MS', Arial, sans-serif !important;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Letter Spacing & Line Height */
|
|
93
|
+
.accessibility-letter-spacing * {
|
|
94
|
+
letter-spacing: calc(0.1em * var(--accessibility-letter-spacing)) !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
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(o);let s=document.createElement("div");s.id=i,s.setAttribute("data-a11y-icon",""),s.style.position="fixed",s.style.zIndex=String(t.zIndex||9999),s.style.top="0",s.style.left="0",s.style.width="0",s.style.height="0",s.style.overflow="visible",oi(s,n),document.body.appendChild(s);let a=s.attachShadow({mode:"open"}),l=document.createElement("style");l.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}.resize{resize:both}.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
|
+
}
|
|
191
|
+
|
|
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
|
+
}
|
|
200
|
+
|
|
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(l);let c=document.createElement("div");a.appendChild(c);let p=Zn(c);return p.render(si(Re,{position:t.position})),{updateConfig(d){t=Un(t,d),n=He(t.theme),s.style.zIndex=String(t.zIndex||9999),oi(s,n),p&&p.render(si(Re,{position:t.position}))},destroy(){p&&(p.unmount(),p=null),s.remove(),o.remove()},get config(){return t}}}var R=null,W={};function ai(e,t){return{...e,...t,theme:{...e.theme??{},...t.theme??{}}}}function ci(e={}){return R?(console.warn("[ape-accessibility] Already initialized. Call destroy() first."),R):(W=ai(W,e),R=ri(W),R)}function li(){R&&(R.destroy(),R=null)}function di(){return u()}function ui(e={}){return W=ai(W,e),R&&R.updateConfig(W),Pe()}function Pe(){return{...W,theme:{...W.theme??{}}}}function gi(){V(),typeof window<"u"&&window.dispatchEvent(new CustomEvent("accessibilityReset",{detail:{timestamp:Date.now()}}))}var he={init:ci,destroy:li,getSettings:di,resetAllSettings:gi,configure:ui,getConfig:Pe};import{useEffect as fi,useRef as pi}from"react";function Xn({config:e={}}){let t=pi(null),n=pi(!1);return fi(()=>(n.current=!1,t.current=he.init(e),()=>{n.current=!0,t.current?.destroy(),t.current=null}),[]),fi(()=>{n.current||he.configure(e)},[e]),null}export{Xn as AccessibilityWidget,he as accessibility,ui as configure,li as destroy,Pe as getConfig,di as getSettings,ci as init,gi as resetAllSettings};
|
|
276
211
|
//# sourceMappingURL=index.js.map
|