mirador
Version:
An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
82 lines (79 loc) • 2.36 MB
JavaScript
(function(G,ws){typeof exports=="object"&&typeof module<"u"?ws(exports):typeof define=="function"&&define.amd?define(["exports"],ws):(G=typeof globalThis<"u"?globalThis:G||self,ws(G.Mirador={}))})(this,(function(G){"use strict";var G$e=Object.defineProperty;var Y$e=(G,ws,Od)=>ws in G?G$e(G,ws,{enumerable:!0,configurable:!0,writable:!0,value:Od}):G[ws]=Od;var Hn=(G,ws,Od)=>Y$e(G,typeof ws!="symbol"?ws+"":ws,Od);var N3,k3,L3,j3,z3,B3,U3,H3,nD;function ws(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s4(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Q_={exports:{}},SS={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var l4;function _ce(){if(l4)return SS;l4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var s=null;if(o!==void 0&&(s=""+o),i.key!==void 0&&(s=""+i.key),"key"in i){o={};for(var u in i)u!=="key"&&(o[u]=i[u])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:s,ref:i!==void 0?i:null,props:o}}return SS.Fragment=t,SS.jsx=n,SS.jsxs=n,SS}var TS={},J_={exports:{}},An={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var c4;function Cce(){if(c4)return An;c4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.iterator;function y(re){return re===null||typeof re!="object"?null:(re=v&&re[v]||re["@@iterator"],typeof re=="function"?re:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,w={};function C(re,X,pe){this.props=re,this.context=X,this.refs=w,this.updater=pe||T}C.prototype.isReactComponent={},C.prototype.setState=function(re,X){if(typeof re!="object"&&typeof re!="function"&&re!=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,re,X,"setState")},C.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};function O(){}O.prototype=C.prototype;function D(re,X,pe){this.props=re,this.context=X,this.refs=w,this.updater=pe||T}var M=D.prototype=new O;M.constructor=D,x(M,C.prototype),M.isPureReactComponent=!0;var N=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},j=Object.prototype.hasOwnProperty;function U(re,X,pe,ue,_e,be){return pe=be.ref,{$$typeof:e,type:re,key:X,ref:pe!==void 0?pe:null,props:be}}function W(re,X){return U(re.type,X,void 0,void 0,void 0,re.props)}function V(re){return typeof re=="object"&&re!==null&&re.$$typeof===e}function q(re){var X={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(pe){return X[pe]})}var Z=/\/+/g;function B(re,X){return typeof re=="object"&&re!==null&&re.key!=null?q(""+re.key):X.toString(36)}function J(){}function ne(re){switch(re.status){case"fulfilled":return re.value;case"rejected":throw re.reason;default:switch(typeof re.status=="string"?re.then(J,J):(re.status="pending",re.then(function(X){re.status==="pending"&&(re.status="fulfilled",re.value=X)},function(X){re.status==="pending"&&(re.status="rejected",re.reason=X)})),re.status){case"fulfilled":return re.value;case"rejected":throw re.reason}}throw re}function fe(re,X,pe,ue,_e){var be=typeof re;(be==="undefined"||be==="boolean")&&(re=null);var ve=!1;if(re===null)ve=!0;else switch(be){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(re.$$typeof){case e:case t:ve=!0;break;case m:return ve=re._init,fe(ve(re._payload),X,pe,ue,_e)}}if(ve)return _e=_e(re),ve=ue===""?"."+B(re,0):ue,N(_e)?(pe="",ve!=null&&(pe=ve.replace(Z,"$&/")+"/"),fe(_e,X,pe,"",function(Ge){return Ge})):_e!=null&&(V(_e)&&(_e=W(_e,pe+(_e.key==null||re&&re.key===_e.key?"":(""+_e.key).replace(Z,"$&/")+"/")+ve)),X.push(_e)),1;ve=0;var Pe=ue===""?".":ue+":";if(N(re))for(var $e=0;$e<re.length;$e++)ue=re[$e],be=Pe+B(ue,$e),ve+=fe(ue,X,pe,be,_e);else if($e=y(re),typeof $e=="function")for(re=$e.call(re),$e=0;!(ue=re.next()).done;)ue=ue.value,be=Pe+B(ue,$e++),ve+=fe(ue,X,pe,be,_e);else if(be==="object"){if(typeof re.then=="function")return fe(ne(re),X,pe,ue,_e);throw X=String(re),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return ve}function ee(re,X,pe){if(re==null)return re;var ue=[],_e=0;return fe(re,ue,"","",function(be){return X.call(pe,be,_e++)}),ue}function oe(re){if(re._status===-1){var X=re._result;X=X(),X.then(function(pe){(re._status===0||re._status===-1)&&(re._status=1,re._result=pe)},function(pe){(re._status===0||re._status===-1)&&(re._status=2,re._result=pe)}),re._status===-1&&(re._status=0,re._result=X)}if(re._status===1)return re._result.default;throw re._result}var le=typeof reportError=="function"?reportError:function(re){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof re=="object"&&re!==null&&typeof re.message=="string"?String(re.message):String(re),error:re});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",re);return}console.error(re)};function he(){}return An.Children={map:ee,forEach:function(re,X,pe){ee(re,function(){X.apply(this,arguments)},pe)},count:function(re){var X=0;return ee(re,function(){X++}),X},toArray:function(re){return ee(re,function(X){return X})||[]},only:function(re){if(!V(re))throw Error("React.Children.only expected to receive a single React element child.");return re}},An.Component=C,An.Fragment=n,An.Profiler=i,An.PureComponent=D,An.StrictMode=r,An.Suspense=f,An.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,An.__COMPILER_RUNTIME={__proto__:null,c:function(re){return P.H.useMemoCache(re)}},An.cache=function(re){return function(){return re.apply(null,arguments)}},An.cloneElement=function(re,X,pe){if(re==null)throw Error("The argument must be a React element, but you passed "+re+".");var ue=x({},re.props),_e=re.key,be=void 0;if(X!=null)for(ve in X.ref!==void 0&&(be=void 0),X.key!==void 0&&(_e=""+X.key),X)!j.call(X,ve)||ve==="key"||ve==="__self"||ve==="__source"||ve==="ref"&&X.ref===void 0||(ue[ve]=X[ve]);var ve=arguments.length-2;if(ve===1)ue.children=pe;else if(1<ve){for(var Pe=Array(ve),$e=0;$e<ve;$e++)Pe[$e]=arguments[$e+2];ue.children=Pe}return U(re.type,_e,void 0,void 0,be,ue)},An.createContext=function(re){return re={$$typeof:s,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider=re,re.Consumer={$$typeof:o,_context:re},re},An.createElement=function(re,X,pe){var ue,_e={},be=null;if(X!=null)for(ue in X.key!==void 0&&(be=""+X.key),X)j.call(X,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(_e[ue]=X[ue]);var ve=arguments.length-2;if(ve===1)_e.children=pe;else if(1<ve){for(var Pe=Array(ve),$e=0;$e<ve;$e++)Pe[$e]=arguments[$e+2];_e.children=Pe}if(re&&re.defaultProps)for(ue in ve=re.defaultProps,ve)_e[ue]===void 0&&(_e[ue]=ve[ue]);return U(re,be,void 0,void 0,null,_e)},An.createRef=function(){return{current:null}},An.forwardRef=function(re){return{$$typeof:u,render:re}},An.isValidElement=V,An.lazy=function(re){return{$$typeof:m,_payload:{_status:-1,_result:re},_init:oe}},An.memo=function(re,X){return{$$typeof:p,type:re,compare:X===void 0?null:X}},An.startTransition=function(re){var X=P.T,pe={};P.T=pe;try{var ue=re(),_e=P.S;_e!==null&&_e(pe,ue),typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&ue.then(he,le)}catch(be){le(be)}finally{P.T=X}},An.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},An.use=function(re){return P.H.use(re)},An.useActionState=function(re,X,pe){return P.H.useActionState(re,X,pe)},An.useCallback=function(re,X){return P.H.useCallback(re,X)},An.useContext=function(re){return P.H.useContext(re)},An.useDebugValue=function(){},An.useDeferredValue=function(re,X){return P.H.useDeferredValue(re,X)},An.useEffect=function(re,X,pe){var ue=P.H;if(typeof pe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ue.useEffect(re,X)},An.useId=function(){return P.H.useId()},An.useImperativeHandle=function(re,X,pe){return P.H.useImperativeHandle(re,X,pe)},An.useInsertionEffect=function(re,X){return P.H.useInsertionEffect(re,X)},An.useLayoutEffect=function(re,X){return P.H.useLayoutEffect(re,X)},An.useMemo=function(re,X){return P.H.useMemo(re,X)},An.useOptimistic=function(re,X){return P.H.useOptimistic(re,X)},An.useReducer=function(re,X,pe){return P.H.useReducer(re,X,pe)},An.useRef=function(re){return P.H.useRef(re)},An.useState=function(re){return P.H.useState(re)},An.useSyncExternalStore=function(re,X,pe){return P.H.useSyncExternalStore(re,X,pe)},An.useTransition=function(){return P.H.useTransition()},An.version="19.1.1",An}var wS={exports:{}};wS.exports;var u4;function Rce(){return u4||(u4=1,(function(e,t){var n={};/**
* @license React
* react.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/n.NODE_ENV!=="production"&&(function(){function r(ie,xe){Object.defineProperty(s.prototype,ie,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",xe[0],xe[1])}})}function i(ie){return ie===null||typeof ie!="object"?null:(ie=dt&&ie[dt]||ie["@@iterator"],typeof ie=="function"?ie:null)}function o(ie,xe){ie=(ie=ie.constructor)&&(ie.displayName||ie.name)||"ReactClass";var Be=ie+"."+xe;ye[Be]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",xe,ie),ye[Be]=!0)}function s(ie,xe,Be){this.props=ie,this.context=xe,this.refs=Ke,this.updater=Be||pt}function u(){}function f(ie,xe,Be){this.props=ie,this.context=xe,this.refs=Ke,this.updater=Be||pt}function p(ie){return""+ie}function m(ie){try{p(ie);var xe=!1}catch{xe=!0}if(xe){xe=console;var Be=xe.error,Fe=typeof Symbol=="function"&&Symbol.toStringTag&&ie[Symbol.toStringTag]||ie.constructor.name||"Object";return Be.call(xe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Fe),p(ie)}}function v(ie){if(ie==null)return null;if(typeof ie=="function")return ie.$$typeof===Ie?null:ie.displayName||ie.name||null;if(typeof ie=="string")return ie;switch(ie){case X:return"Fragment";case ue:return"Profiler";case pe:return"StrictMode";case Pe:return"Suspense";case $e:return"SuspenseList";case it:return"Activity"}if(typeof ie=="object")switch(typeof ie.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),ie.$$typeof){case re:return"Portal";case be:return(ie.displayName||"Context")+".Provider";case _e:return(ie._context.displayName||"Context")+".Consumer";case ve:var xe=ie.render;return ie=ie.displayName,ie||(ie=xe.displayName||xe.name||"",ie=ie!==""?"ForwardRef("+ie+")":"ForwardRef"),ie;case Ge:return xe=ie.displayName||null,xe!==null?xe:v(ie.type)||"Memo";case He:xe=ie._payload,ie=ie._init;try{return v(ie(xe))}catch{}}return null}function y(ie){if(ie===X)return"<>";if(typeof ie=="object"&&ie!==null&&ie.$$typeof===He)return"<...>";try{var xe=v(ie);return xe?"<"+xe+">":"<...>"}catch{return"<...>"}}function T(){var ie=Ae.A;return ie===null?null:ie.getOwner()}function x(){return Error("react-stack-top-frame")}function w(ie){if(Ue.call(ie,"key")){var xe=Object.getOwnPropertyDescriptor(ie,"key").get;if(xe&&xe.isReactWarning)return!1}return ie.key!==void 0}function C(ie,xe){function Be(){St||(St=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",xe))}Be.isReactWarning=!0,Object.defineProperty(ie,"key",{get:Be,configurable:!0})}function O(){var ie=v(this.type);return tt[ie]||(tt[ie]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),ie=this.props.ref,ie!==void 0?ie:null}function D(ie,xe,Be,Fe,rt,ft,kt,Ct){return Be=ft.ref,ie={$$typeof:he,type:ie,key:xe,props:ft,_owner:rt},(Be!==void 0?Be:null)!==null?Object.defineProperty(ie,"ref",{enumerable:!1,get:O}):Object.defineProperty(ie,"ref",{enumerable:!1,value:null}),ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(ie,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(ie,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:kt}),Object.defineProperty(ie,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ct}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie}function M(ie,xe){return xe=D(ie.type,xe,void 0,void 0,ie._owner,ie.props,ie._debugStack,ie._debugTask),ie._store&&(xe._store.validated=ie._store.validated),xe}function N(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===he}function P(ie){var xe={"=":"=0",":":"=2"};return"$"+ie.replace(/[=:]/g,function(Be){return xe[Be]})}function j(ie,xe){return typeof ie=="object"&&ie!==null&&ie.key!=null?(m(ie.key),P(""+ie.key)):xe.toString(36)}function U(){}function W(ie){switch(ie.status){case"fulfilled":return ie.value;case"rejected":throw ie.reason;default:switch(typeof ie.status=="string"?ie.then(U,U):(ie.status="pending",ie.then(function(xe){ie.status==="pending"&&(ie.status="fulfilled",ie.value=xe)},function(xe){ie.status==="pending"&&(ie.status="rejected",ie.reason=xe)})),ie.status){case"fulfilled":return ie.value;case"rejected":throw ie.reason}}throw ie}function V(ie,xe,Be,Fe,rt){var ft=typeof ie;(ft==="undefined"||ft==="boolean")&&(ie=null);var kt=!1;if(ie===null)kt=!0;else switch(ft){case"bigint":case"string":case"number":kt=!0;break;case"object":switch(ie.$$typeof){case he:case re:kt=!0;break;case He:return kt=ie._init,V(kt(ie._payload),xe,Be,Fe,rt)}}if(kt){kt=ie,rt=rt(kt);var Ct=Fe===""?"."+j(kt,0):Fe;return me(rt)?(Be="",Ct!=null&&(Be=Ct.replace(F,"$&/")+"/"),V(rt,xe,Be,"",function(Pt){return Pt})):rt!=null&&(N(rt)&&(rt.key!=null&&(kt&&kt.key===rt.key||m(rt.key)),Be=M(rt,Be+(rt.key==null||kt&&kt.key===rt.key?"":(""+rt.key).replace(F,"$&/")+"/")+Ct),Fe!==""&&kt!=null&&N(kt)&&kt.key==null&&kt._store&&!kt._store.validated&&(Be._store.validated=2),rt=Be),xe.push(rt)),1}if(kt=0,Ct=Fe===""?".":Fe+":",me(ie))for(var Dt=0;Dt<ie.length;Dt++)Fe=ie[Dt],ft=Ct+j(Fe,Dt),kt+=V(Fe,xe,Be,ft,rt);else if(Dt=i(ie),typeof Dt=="function")for(Dt===ie.entries&&($||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$=!0),ie=Dt.call(ie),Dt=0;!(Fe=ie.next()).done;)Fe=Fe.value,ft=Ct+j(Fe,Dt++),kt+=V(Fe,xe,Be,ft,rt);else if(ft==="object"){if(typeof ie.then=="function")return V(W(ie),xe,Be,Fe,rt);throw xe=String(ie),Error("Objects are not valid as a React child (found: "+(xe==="[object Object]"?"object with keys {"+Object.keys(ie).join(", ")+"}":xe)+"). If you meant to render a collection of children, use an array instead.")}return kt}function q(ie,xe,Be){if(ie==null)return ie;var Fe=[],rt=0;return V(ie,Fe,"","",function(ft){return xe.call(Be,ft,rt++)}),Fe}function Z(ie){if(ie._status===-1){var xe=ie._result;xe=xe(),xe.then(function(Be){(ie._status===0||ie._status===-1)&&(ie._status=1,ie._result=Be)},function(Be){(ie._status===0||ie._status===-1)&&(ie._status=2,ie._result=Be)}),ie._status===-1&&(ie._status=0,ie._result=xe)}if(ie._status===1)return xe=ie._result,xe===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,xe),"default"in xe||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,xe),xe.default;throw ie._result}function B(){var ie=Ae.H;return ie===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),ie}function J(){}function ne(ie){if(Ce===null)try{var xe=("require"+Math.random()).slice(0,7);Ce=(e&&e[xe]).call(e,"timers").setImmediate}catch{Ce=function(Fe){se===!1&&(se=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var rt=new MessageChannel;rt.port1.onmessage=Fe,rt.port2.postMessage(void 0)}}return Ce(ie)}function fe(ie){return 1<ie.length&&typeof AggregateError=="function"?new AggregateError(ie):ie[0]}function ee(ie,xe){xe!==Le-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Le=xe}function oe(ie,xe,Be){var Fe=Ae.actQueue;if(Fe!==null)if(Fe.length!==0)try{le(Fe),ne(function(){return oe(ie,xe,Be)});return}catch(rt){Ae.thrownErrors.push(rt)}else Ae.actQueue=null;0<Ae.thrownErrors.length?(Fe=fe(Ae.thrownErrors),Ae.thrownErrors.length=0,Be(Fe)):xe(ie)}function le(ie){if(!Wt){Wt=!0;var xe=0;try{for(;xe<ie.length;xe++){var Be=ie[xe];do{Ae.didUsePromise=!1;var Fe=Be(!1);if(Fe!==null){if(Ae.didUsePromise){ie[xe]=Be,ie.splice(0,xe);return}Be=Fe}else break}while(!0)}ie.length=0}catch(rt){ie.splice(0,xe+1),Ae.thrownErrors.push(rt)}finally{Wt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var he=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),pe=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),_e=Symbol.for("react.consumer"),be=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),He=Symbol.for("react.lazy"),it=Symbol.for("react.activity"),dt=Symbol.iterator,ye={},pt={isMounted:function(){return!1},enqueueForceUpdate:function(ie){o(ie,"forceUpdate")},enqueueReplaceState:function(ie){o(ie,"replaceState")},enqueueSetState:function(ie){o(ie,"setState")}},Ye=Object.assign,Ke={};Object.freeze(Ke),s.prototype.isReactComponent={},s.prototype.setState=function(ie,xe){if(typeof ie!="object"&&typeof ie!="function"&&ie!=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,ie,xe,"setState")},s.prototype.forceUpdate=function(ie){this.updater.enqueueForceUpdate(this,ie,"forceUpdate")};var z={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},K;for(K in z)z.hasOwnProperty(K)&&r(K,z[K]);u.prototype=s.prototype,z=f.prototype=new u,z.constructor=f,Ye(z,s.prototype),z.isPureReactComponent=!0;var me=Array.isArray,Ie=Symbol.for("react.client.reference"),Ae={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ue=Object.prototype.hasOwnProperty,ze=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(ie){return ie()}};var St,We,tt={},nt=z.react_stack_bottom_frame.bind(z,x)(),wt=ze(y(x)),$=!1,F=/\/+/g,te=typeof reportError=="function"?reportError:function(ie){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var xe=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof ie=="object"&&ie!==null&&typeof ie.message=="string"?String(ie.message):String(ie),error:ie});if(!window.dispatchEvent(xe))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",ie);return}console.error(ie)},se=!1,Ce=null,Le=0,Et=!1,Wt=!1,Rt=typeof queueMicrotask=="function"?function(ie){queueMicrotask(function(){return queueMicrotask(ie)})}:ne;z=Object.freeze({__proto__:null,c:function(ie){return B().useMemoCache(ie)}}),t.Children={map:q,forEach:function(ie,xe,Be){q(ie,function(){xe.apply(this,arguments)},Be)},count:function(ie){var xe=0;return q(ie,function(){xe++}),xe},toArray:function(ie){return q(ie,function(xe){return xe})||[]},only:function(ie){if(!N(ie))throw Error("React.Children.only expected to receive a single React element child.");return ie}},t.Component=s,t.Fragment=X,t.Profiler=ue,t.PureComponent=f,t.StrictMode=pe,t.Suspense=Pe,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ae,t.__COMPILER_RUNTIME=z,t.act=function(ie){var xe=Ae.actQueue,Be=Le;Le++;var Fe=Ae.actQueue=xe!==null?xe:[],rt=!1;try{var ft=ie()}catch(Dt){Ae.thrownErrors.push(Dt)}if(0<Ae.thrownErrors.length)throw ee(xe,Be),ie=fe(Ae.thrownErrors),Ae.thrownErrors.length=0,ie;if(ft!==null&&typeof ft=="object"&&typeof ft.then=="function"){var kt=ft;return Rt(function(){rt||Et||(Et=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Dt,Pt){rt=!0,kt.then(function(kn){if(ee(xe,Be),Be===0){try{le(Fe),ne(function(){return oe(kn,Dt,Pt)})}catch(Lt){Ae.thrownErrors.push(Lt)}if(0<Ae.thrownErrors.length){var Nt=fe(Ae.thrownErrors);Ae.thrownErrors.length=0,Pt(Nt)}}else Dt(kn)},function(kn){ee(xe,Be),0<Ae.thrownErrors.length&&(kn=fe(Ae.thrownErrors),Ae.thrownErrors.length=0),Pt(kn)})}}}var Ct=ft;if(ee(xe,Be),Be===0&&(le(Fe),Fe.length!==0&&Rt(function(){rt||Et||(Et=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ae.actQueue=null),0<Ae.thrownErrors.length)throw ie=fe(Ae.thrownErrors),Ae.thrownErrors.length=0,ie;return{then:function(Dt,Pt){rt=!0,Be===0?(Ae.actQueue=Fe,ne(function(){return oe(Ct,Dt,Pt)})):Dt(Ct)}}},t.cache=function(ie){return function(){return ie.apply(null,arguments)}},t.captureOwnerStack=function(){var ie=Ae.getCurrentStack;return ie===null?null:ie()},t.cloneElement=function(ie,xe,Be){if(ie==null)throw Error("The argument must be a React element, but you passed "+ie+".");var Fe=Ye({},ie.props),rt=ie.key,ft=ie._owner;if(xe!=null){var kt;e:{if(Ue.call(xe,"ref")&&(kt=Object.getOwnPropertyDescriptor(xe,"ref").get)&&kt.isReactWarning){kt=!1;break e}kt=xe.ref!==void 0}kt&&(ft=T()),w(xe)&&(m(xe.key),rt=""+xe.key);for(Ct in xe)!Ue.call(xe,Ct)||Ct==="key"||Ct==="__self"||Ct==="__source"||Ct==="ref"&&xe.ref===void 0||(Fe[Ct]=xe[Ct])}var Ct=arguments.length-2;if(Ct===1)Fe.children=Be;else if(1<Ct){kt=Array(Ct);for(var Dt=0;Dt<Ct;Dt++)kt[Dt]=arguments[Dt+2];Fe.children=kt}for(Fe=D(ie.type,rt,void 0,void 0,ft,Fe,ie._debugStack,ie._debugTask),rt=2;rt<arguments.length;rt++)ft=arguments[rt],N(ft)&&ft._store&&(ft._store.validated=1);return Fe},t.createContext=function(ie){return ie={$$typeof:be,_currentValue:ie,_currentValue2:ie,_threadCount:0,Provider:null,Consumer:null},ie.Provider=ie,ie.Consumer={$$typeof:_e,_context:ie},ie._currentRenderer=null,ie._currentRenderer2=null,ie},t.createElement=function(ie,xe,Be){for(var Fe=2;Fe<arguments.length;Fe++){var rt=arguments[Fe];N(rt)&&rt._store&&(rt._store.validated=1)}if(Fe={},rt=null,xe!=null)for(Dt in We||!("__self"in xe)||"key"in xe||(We=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),w(xe)&&(m(xe.key),rt=""+xe.key),xe)Ue.call(xe,Dt)&&Dt!=="key"&&Dt!=="__self"&&Dt!=="__source"&&(Fe[Dt]=xe[Dt]);var ft=arguments.length-2;if(ft===1)Fe.children=Be;else if(1<ft){for(var kt=Array(ft),Ct=0;Ct<ft;Ct++)kt[Ct]=arguments[Ct+2];Object.freeze&&Object.freeze(kt),Fe.children=kt}if(ie&&ie.defaultProps)for(Dt in ft=ie.defaultProps,ft)Fe[Dt]===void 0&&(Fe[Dt]=ft[Dt]);rt&&C(Fe,typeof ie=="function"?ie.displayName||ie.name||"Unknown":ie);var Dt=1e4>Ae.recentlyCreatedOwnerStacks++;return D(ie,rt,void 0,void 0,T(),Fe,Dt?Error("react-stack-top-frame"):nt,Dt?ze(y(ie)):wt)},t.createRef=function(){var ie={current:null};return Object.seal(ie),ie},t.forwardRef=function(ie){ie!=null&&ie.$$typeof===Ge?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof ie!="function"?console.error("forwardRef requires a render function but was given %s.",ie===null?"null":typeof ie):ie.length!==0&&ie.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",ie.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),ie!=null&&ie.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var xe={$$typeof:ve,render:ie},Be;return Object.defineProperty(xe,"displayName",{enumerable:!1,configurable:!0,get:function(){return Be},set:function(Fe){Be=Fe,ie.name||ie.displayName||(Object.defineProperty(ie,"name",{value:Fe}),ie.displayName=Fe)}}),xe},t.isValidElement=N,t.lazy=function(ie){return{$$typeof:He,_payload:{_status:-1,_result:ie},_init:Z}},t.memo=function(ie,xe){ie==null&&console.error("memo: The first argument must be a component. Instead received: %s",ie===null?"null":typeof ie),xe={$$typeof:Ge,type:ie,compare:xe===void 0?null:xe};var Be;return Object.defineProperty(xe,"displayName",{enumerable:!1,configurable:!0,get:function(){return Be},set:function(Fe){Be=Fe,ie.name||ie.displayName||(Object.defineProperty(ie,"name",{value:Fe}),ie.displayName=Fe)}}),xe},t.startTransition=function(ie){var xe=Ae.T,Be={};Ae.T=Be,Be._updatedFibers=new Set;try{var Fe=ie(),rt=Ae.S;rt!==null&&rt(Be,Fe),typeof Fe=="object"&&Fe!==null&&typeof Fe.then=="function"&&Fe.then(J,te)}catch(ft){te(ft)}finally{xe===null&&Be._updatedFibers&&(ie=Be._updatedFibers.size,Be._updatedFibers.clear(),10<ie&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),Ae.T=xe}},t.unstable_useCacheRefresh=function(){return B().useCacheRefresh()},t.use=function(ie){return B().use(ie)},t.useActionState=function(ie,xe,Be){return B().useActionState(ie,xe,Be)},t.useCallback=function(ie,xe){return B().useCallback(ie,xe)},t.useContext=function(ie){var xe=B();return ie.$$typeof===_e&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),xe.useContext(ie)},t.useDebugValue=function(ie,xe){return B().useDebugValue(ie,xe)},t.useDeferredValue=function(ie,xe){return B().useDeferredValue(ie,xe)},t.useEffect=function(ie,xe,Be){ie==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var Fe=B();if(typeof Be=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Fe.useEffect(ie,xe)},t.useId=function(){return B().useId()},t.useImperativeHandle=function(ie,xe,Be){return B().useImperativeHandle(ie,xe,Be)},t.useInsertionEffect=function(ie,xe){return ie==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),B().useInsertionEffect(ie,xe)},t.useLayoutEffect=function(ie,xe){return ie==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),B().useLayoutEffect(ie,xe)},t.useMemo=function(ie,xe){return B().useMemo(ie,xe)},t.useOptimistic=function(ie,xe){return B().useOptimistic(ie,xe)},t.useReducer=function(ie,xe,Be){return B().useReducer(ie,xe,Be)},t.useRef=function(ie){return B().useRef(ie)},t.useState=function(ie){return B().useState(ie)},t.useSyncExternalStore=function(ie,xe,Be){return B().useSyncExternalStore(ie,xe,Be)},t.useTransition=function(){return B().useTransition()},t.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(wS,wS.exports)),wS.exports}var d4;function gl(){if(d4)return J_.exports;d4=1;var e={};return e.NODE_ENV==="production"?J_.exports=Cce():J_.exports=Rce(),J_.exports}var f4;function Oce(){if(f4)return TS;f4=1;var e={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/return e.NODE_ENV!=="production"&&(function(){function t(X){if(X==null)return null;if(typeof X=="function")return X.$$typeof===Z?null:X.displayName||X.name||null;if(typeof X=="string")return X;switch(X){case C:return"Fragment";case D:return"Profiler";case O:return"StrictMode";case j:return"Suspense";case U:return"SuspenseList";case q:return"Activity"}if(typeof X=="object")switch(typeof X.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case w:return"Portal";case N:return(X.displayName||"Context")+".Provider";case M:return(X._context.displayName||"Context")+".Consumer";case P:var pe=X.render;return X=X.displayName,X||(X=pe.displayName||pe.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case W:return pe=X.displayName||null,pe!==null?pe:t(X.type)||"Memo";case V:pe=X._payload,X=X._init;try{return t(X(pe))}catch{}}return null}function n(X){return""+X}function r(X){try{n(X);var pe=!1}catch{pe=!0}if(pe){pe=console;var ue=pe.error,_e=typeof Symbol=="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object";return ue.call(pe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",_e),n(X)}}function i(X){if(X===C)return"<>";if(typeof X=="object"&&X!==null&&X.$$typeof===V)return"<...>";try{var pe=t(X);return pe?"<"+pe+">":"<...>"}catch{return"<...>"}}function o(){var X=B.A;return X===null?null:X.getOwner()}function s(){return Error("react-stack-top-frame")}function u(X){if(J.call(X,"key")){var pe=Object.getOwnPropertyDescriptor(X,"key").get;if(pe&&pe.isReactWarning)return!1}return X.key!==void 0}function f(X,pe){function ue(){ee||(ee=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pe))}ue.isReactWarning=!0,Object.defineProperty(X,"key",{get:ue,configurable:!0})}function p(){var X=t(this.type);return oe[X]||(oe[X]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),X=this.props.ref,X!==void 0?X:null}function m(X,pe,ue,_e,be,ve,Pe,$e){return ue=ve.ref,X={$$typeof:x,type:X,key:pe,props:ve,_owner:be},(ue!==void 0?ue:null)!==null?Object.defineProperty(X,"ref",{enumerable:!1,get:p}):Object.defineProperty(X,"ref",{enumerable:!1,value:null}),X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(X,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(X,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.defineProperty(X,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$e}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X}function v(X,pe,ue,_e,be,ve,Pe,$e){var Ge=pe.children;if(Ge!==void 0)if(_e)if(ne(Ge)){for(_e=0;_e<Ge.length;_e++)y(Ge[_e]);Object.freeze&&Object.freeze(Ge)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else y(Ge);if(J.call(pe,"key")){Ge=t(X);var He=Object.keys(pe).filter(function(dt){return dt!=="key"});_e=0<He.length?"{key: someKey, "+He.join(": ..., ")+": ...}":"{key: someKey}",re[Ge+_e]||(He=0<He.length?"{"+He.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,_e,Ge,He,Ge),re[Ge+_e]=!0)}if(Ge=null,ue!==void 0&&(r(ue),Ge=""+ue),u(pe)&&(r(pe.key),Ge=""+pe.key),"key"in pe){ue={};for(var it in pe)it!=="key"&&(ue[it]=pe[it])}else ue=pe;return Ge&&f(ue,typeof X=="function"?X.displayName||X.name||"Unknown":X),m(X,Ge,ve,be,o(),ue,Pe,$e)}function y(X){typeof X=="object"&&X!==null&&X.$$typeof===x&&X._store&&(X._store.validated=1)}var T=gl(),x=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),N=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),B=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.prototype.hasOwnProperty,ne=Array.isArray,fe=console.createTask?console.createTask:function(){return null};T={react_stack_bottom_frame:function(X){return X()}};var ee,oe={},le=T.react_stack_bottom_frame.bind(T,s)(),he=fe(i(s)),re={};TS.Fragment=C,TS.jsx=function(X,pe,ue,_e,be){var ve=1e4>B.recentlyCreatedOwnerStacks++;return v(X,pe,ue,!1,_e,be,ve?Error("react-stack-top-frame"):le,ve?fe(i(X)):he)},TS.jsxs=function(X,pe,ue,_e,be){var ve=1e4>B.recentlyCreatedOwnerStacks++;return v(X,pe,ue,!0,_e,be,ve?Error("react-stack-top-frame"):le,ve?fe(i(X)):he)}})(),TS}var p4;function Ace(){if(p4)return Q_.exports;p4=1;var e={};return e.NODE_ENV==="production"?Q_.exports=_ce():Q_.exports=Oce(),Q_.exports}var R=Ace(),eC={exports:{}},ES={},tC={exports:{}},qI={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var h4;function Dce(){return h4||(h4=1,(function(e){function t(ee,oe){var le=ee.length;ee.push(oe);e:for(;0<le;){var he=le-1>>>1,re=ee[he];if(0<i(re,oe))ee[he]=oe,ee[le]=re,le=he;else break e}}function n(ee){return ee.length===0?null:ee[0]}function r(ee){if(ee.length===0)return null;var oe=ee[0],le=ee.pop();if(le!==oe){ee[0]=le;e:for(var he=0,re=ee.length,X=re>>>1;he<X;){var pe=2*(he+1)-1,ue=ee[pe],_e=pe+1,be=ee[_e];if(0>i(ue,le))_e<re&&0>i(be,ue)?(ee[he]=be,ee[_e]=le,he=_e):(ee[he]=ue,ee[pe]=le,he=pe);else if(_e<re&&0>i(be,le))ee[he]=be,ee[_e]=le,he=_e;else break e}}return oe}function i(ee,oe){var le=ee.sortIndex-oe.sortIndex;return le!==0?le:ee.id-oe.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var f=[],p=[],m=1,v=null,y=3,T=!1,x=!1,w=!1,C=!1,O=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function N(ee){for(var oe=n(p);oe!==null;){if(oe.callback===null)r(p);else if(oe.startTime<=ee)r(p),oe.sortIndex=oe.expirationTime,t(f,oe);else break;oe=n(p)}}function P(ee){if(w=!1,N(ee),!x)if(n(f)!==null)x=!0,j||(j=!0,B());else{var oe=n(p);oe!==null&&fe(P,oe.startTime-ee)}}var j=!1,U=-1,W=5,V=-1;function q(){return C?!0:!(e.unstable_now()-V<W)}function Z(){if(C=!1,j){var ee=e.unstable_now();V=ee;var oe=!0;try{e:{x=!1,w&&(w=!1,D(U),U=-1),T=!0;var le=y;try{t:{for(N(ee),v=n(f);v!==null&&!(v.expirationTime>ee&&q());){var he=v.callback;if(typeof he=="function"){v.callback=null,y=v.priorityLevel;var re=he(v.expirationTime<=ee);if(ee=e.unstable_now(),typeof re=="function"){v.callback=re,N(ee),oe=!0;break t}v===n(f)&&r(f),N(ee)}else r(f);v=n(f)}if(v!==null)oe=!0;else{var X=n(p);X!==null&&fe(P,X.startTime-ee),oe=!1}}break e}finally{v=null,y=le,T=!1}oe=void 0}}finally{oe?B():j=!1}}}var B;if(typeof M=="function")B=function(){M(Z)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,ne=J.port2;J.port1.onmessage=Z,B=function(){ne.postMessage(null)}}else B=function(){O(Z,0)};function fe(ee,oe){U=O(function(){ee(e.unstable_now())},oe)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ee){ee.callback=null},e.unstable_forceFrameRate=function(ee){0>ee||125<ee?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<ee?Math.floor(1e3/ee):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(ee){switch(y){case 1:case 2:case 3:var oe=3;break;default:oe=y}var le=y;y=oe;try{return ee()}finally{y=le}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(ee,oe){switch(ee){case 1:case 2:case 3:case 4:case 5:break;default:ee=3}var le=y;y=ee;try{return oe()}finally{y=le}},e.unstable_scheduleCallback=function(ee,oe,le){var he=e.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?he+le:he):le=he,ee){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=le+re,ee={id:m++,callback:oe,priorityLevel:ee,startTime:le,expirationTime:re,sortIndex:-1},le>he?(ee.sortIndex=le,t(p,ee),n(f)===null&&ee===n(p)&&(w?(D(U),U=-1):w=!0,fe(P,le-he))):(ee.sortIndex=re,t(f,ee),x||T||(x=!0,j||(j=!0,B()))),ee},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(ee){var oe=y;return function(){var le=y;y=oe;try{return ee.apply(this,arguments)}finally{y=le}}}})(qI)),qI}var $I={},g4;function Ice(){return g4||(g4=1,(function(e){var t={};/**
* @license React
* scheduler.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/t.NODE_ENV!=="production"&&(function(){function n(){if(j=!1,q){var oe=e.unstable_now();J=oe;var le=!0;try{e:{N=!1,P&&(P=!1,W(Z),Z=-1),M=!0;var he=D;try{t:{for(u(oe),O=i(x);O!==null&&!(O.expirationTime>oe&&p());){var re=O.callback;if(typeof re=="function"){O.callback=null,D=O.priorityLevel;var X=re(O.expirationTime<=oe);if(oe=e.unstable_now(),typeof X=="function"){O.callback=X,u(oe),le=!0;break t}O===i(x)&&o(x),u(oe)}else o(x);O=i(x)}if(O!==null)le=!0;else{var pe=i(w);pe!==null&&m(f,pe.startTime-oe),le=!1}}break e}finally{O=null,D=he,M=!1}le=void 0}}finally{le?ne():q=!1}}}function r(oe,le){var he=oe.length;oe.push(le);e:for(;0<he;){var re=he-1>>>1,X=oe[re];if(0<s(X,le))oe[re]=le,oe[he]=X,he=re;else break e}}function i(oe){return oe.length===0?null:oe[0]}function o(oe){if(oe.length===0)return null;var le=oe[0],he=oe.pop();if(he!==le){oe[0]=he;e:for(var re=0,X=oe.length,pe=X>>>1;re<pe;){var ue=2*(re+1)-1,_e=oe[ue],be=ue+1,ve=oe[be];if(0>s(_e,he))be<X&&0>s(ve,_e)?(oe[re]=ve,oe[be]=he,re=be):(oe[re]=_e,oe[ue]=he,re=ue);else if(be<X&&0>s(ve,he))oe[re]=ve,oe[be]=he,re=be;else break e}}return le}function s(oe,le){var he=oe.sortIndex-le.sortIndex;return he!==0?he:oe.id-le.id}function u(oe){for(var le=i(w);le!==null;){if(le.callback===null)o(w);else if(le.startTime<=oe)o(w),le.sortIndex=le.expirationTime,r(x,le);else break;le=i(w)}}function f(oe){if(P=!1,u(oe),!N)if(i(x)!==null)N=!0,q||(q=!0,ne());else{var le=i(w);le!==null&&m(f,le.startTime-oe)}}function p(){return j?!0:!(e.unstable_now()-J<B)}function m(oe,le){Z=U(function(){oe(e.unstable_now())},le)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;e.unstable_now=function(){return v.now()}}else{var y=Date,T=y.now();e.unstable_now=function(){return y.now()-T}}var x=[],w=[],C=1,O=null,D=3,M=!1,N=!1,P=!1,j=!1,U=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null,q=!1,Z=-1,B=5,J=-1;if(typeof V=="function")var ne=function(){V(n)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,ee=fe.port2;fe.port1.onmessage=n,ne=function(){ee.postMessage(null)}}else ne=function(){U(n,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(oe){oe.callback=null},e.unstable_forceFrameRate=function(oe){0>oe||125<oe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<oe?Math.floor(1e3/oe):5},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_next=function(oe){switch(D){case 1:case 2:case 3:var le=3;break;default:le=D}var he=D;D=le;try{return oe()}finally{D=he}},e.unstable_requestPaint=function(){j=!0},e.unstable_runWithPriority=function(oe,le){switch(oe){case 1:case 2:case 3:case 4:case 5:break;default:oe=3}var he=D;D=oe;try{return le()}finally{D=he}},e.unstable_scheduleCallback=function(oe,le,he){var re=e.unstable_now();switch(typeof he=="object"&&he!==null?(he=he.delay,he=typeof he=="number"&&0<he?re+he:re):he=re,oe){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=he+X,oe={id:C++,callback:le,priorityLevel:oe,startTime:he,expirationTime:X,sortIndex:-1},he>re?(oe.sortIndex=he,r(w,oe),i(x)===null&&oe===i(w)&&(P?(W(Z),Z=-1):P=!0,m(f,he-re))):(oe.sortIndex=X,r(x,oe),N||M||(N=!0,q||(q=!0,ne()))),oe},e.unstable_shouldYield=p,e.unstable_wrapCallback=function(oe){var le=D;return function(){var he=D;D=le;try{return oe.apply(this,arguments)}finally{D=he}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})($I)),$I}var m4;function v4(){if(m4)return tC.exports;m4=1;var e={};return e.NODE_ENV==="production"?tC.exports=Dce():tC.exports=Ice(),tC.exports}var nC={exports:{}},Qo={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var y4;function Mce(){if(y4)return Qo;y4=1;var e=gl();function t(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function o(f,p,m){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:v==null?null:""+v,children:f,containerInfo:p,implementation:m}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(f,p){if(f==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Qo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Qo.createPortal=function(f,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return o(f,p,null,m)},Qo.flushSync=function(f){var p=s.T,m=r.p;try{if(s.T=null,r.p=2,f)return f()}finally{s.T=p,r.p=m,r.d.f()}},Qo.preconnect=function(f,p){typeof f=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(f,p))},Qo.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},Qo.preinit=function(f,p){if(typeof f=="string"&&p&&typeof p.as=="string"){var m=p.as,v=u(m,p.crossOrigin),y=typeof p.integrity=="string"?p.integrity:void 0,T=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?r.d.S(f,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:y,fetchPriority:T}):m==="script"&&r.d.X(f,{crossOrigin:v,integrity:y,fetchPriority:T,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Qo.preinitModule=function(f,p){if(typeof f=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=u(p.as,p.crossOrigin);r.d.M(f,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(f)},Qo.preload=function(f,p){if(typeof f=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,v=u(m,p.crossOrigin);r.d.L(f,m,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Qo.preloadModule=function(f,p){if(typeof f=="string")if(p){var m=u(p.as,p.crossOrigin);r.d.m(f,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(f)},Qo.requestFormReset=function(f){r.d.r(f)},Qo.unstable_batchedUpdates=function(f,p){return f(p)},Qo.useFormState=function(f,p,m){return s.H.useFormState(f,p,m)},Qo.useFormStatus=function(){return s.H.useHostTransitionStatus()},Qo.version="19.1.1",Qo}var Jo={},b4;function Pce(){if(b4)return Jo;b4=1;var e={};/**
* @license React
* react-dom.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/return e.NODE_ENV!=="production"&&(function(){function t(){}function n(y){return""+y}function r(y,T,x){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(w);var C=!1}catch{C=!0}return C&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object"),n(w)),{$$typeof:m,key:w==null?null:""+w,children:y,containerInfo:T,implementation:x}}function i(y,T){if(y==="font")return"";if(typeof T=="string")return T==="use-credentials"?T:""}function o(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":'something with type "'+typeof y+'"'}function s(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?